@charset "UTF-8";

:root {
  --primary: #003366;
  --secondary: #e60012;
  --accent: #ff9900;
  --bg-light: #f4f6f9;
  --text-main: #333333;
}
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  color: var(--text-main);
  line-height: 1.8;
  margin: 0;
  padding: 0;
  background-color: #e9ecef;
}
.lp-container {
  max-width: 960px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
  
/* SPのみ表示 */
.sp-only {
  display: inline;
}

/* PC以上では非表示 */
@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

  .keep-together {
    display: inline-block;
  }

  .anchor-link {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    text-underline-offset: 3px;
    transition: opacity 0.2s;
  }
  .anchor-link:hover {
    opacity: 0.8;
    text-decoration-color: #ffffff;
  }

  .note-text {
    display: block;
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    margin-top: 5px;
  }

.site-header {
  background-color: #ffffff;
}

.site-header__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 7px 14px 11px;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 14px 40px 22px;
  }
}

.group-brand {
  display: flex;
  align-items: center; 
  margin-bottom: 6px;
}

.group-brand__logo {
  margin-right: 10px;
}

.group-brand__logo img {
  display: block;
  width: 110px;
  height: auto;
}

.group-brand__text {
  font-size: 10px;
  line-height: 1.2;
  margin-bottom: 3px;
  color: #333;
}

@media (min-width: 768px) {
  .group-brand__text {
    font-size: 12px;
    font-weight: 700;
  }
}

.service-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.service-brand__item img {
  display: block;
  height: 40px;
  max-width: 100%;
  width: auto;
}

/* SP */
@media (max-width: 767px) {
  .service-brand {
    flex-wrap: nowrap;
  }

  .service-brand__item {
    max-width: 48%;
    flex: 0 1 auto;
  }

  .service-brand__item img {
    width: 100%;
    height: auto;
    max-height: 32px;
  }
}

/* PC */
@media (min-width: 768px) {
  .service-brand {
    flex-wrap: nowrap;
  }

  .service-brand__item img {
    height: 40px;
  }
}

  /* FV (ファーストビュー) */
  .hero {
    background: linear-gradient(135deg, var(--primary), #004080);
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
  }
  .hero-badge {
    background-color: var(--accent);
    color: #ffffff;
    display: inline-block;
    padding: 8px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  .hero h1 {
    font-size: 34px;
    margin: 0 0 30px 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }
  .hero h2 {
    font-size: 20px;
    font-weight: normal;
    color: #ffd700;
    margin: 0 0 35px 0;
    line-height: 1.6;
  }

  .hero-info-block {
    background-color: #ffffff;
    color: var(--secondary);
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    line-height: 1.6;
  }
  .hero-info-item {
    display: block;
  }
  
  @media (min-width: 768px) {
    .hero-info-item {
      display: inline-block;
      margin: 0 15px;
    }
  }

  .solution-intro {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
  }
  .solution-intro h2 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
  }
  .solution-intro p {
    color: var(--text-main);
    font-size: 16px;
    max-width: 820px;
    margin: 0 auto 15px auto;
    line-height: 1.8;
    text-align: left; /* スマホでの長文可読性を考慮して左寄せ */
  }
  @media (min-width: 768px) {
    .solution-intro h2 {
      font-size: 24px;
    }
    .solution-intro p {
      font-size: 18px;
      text-align: center; /* PCでは中央揃えで美しく */
    }
  }

  /* 解決策詳細セクション */
  .solution-details {
    background-color: #eef5f9;
    padding: 30px 20px 70px 20px;
  }

  .solution-details h2 {
    text-align: center;
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 50px;
    position: relative;
  }
  .solution-details h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
  }

  .detail-card {
    background: #ffffff;
    margin: 0 auto 30px auto;
    padding: 40px;
    border-radius: 12px;
    border-left: 8px solid var(--accent);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 800px;
  }
  
  .detail-problem-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 15px;
  }
  .detail-badge {
    background-color: var(--primary);
    color: #ffffff;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
  }
  @media (min-width: 768px) {
    .detail-problem-wrapper {
      flex-direction: row;
      align-items: center;
      gap: 12px;
    }
  }

  .detail-solution-catch {
    color: var(--secondary);
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 20px 0;
  }

  .detail-card h3 {
    font-size: 22px;
  }
  
  .detail-card h4 {
    color: var(--primary);
    font-size: 24px;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
  }
  .detail-card p {
    margin: 0 0 15px 0;
  }
  .detail-card p:last-child {
    margin-bottom: 0;
  }
  .detail-card b {
    color: var(--primary);
  }

  .schools-info {
    padding: 50px 20px 70px 20px;
    background-color: #ffffff;
  }
  .schools-info h2 {
    text-align: center;
    color: var(--primary);
    font-size: 28px;
    margin-bottom: -20px;
  }
  .school-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
  }
  .school-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    border-top: 5px solid var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }
  .school-card h3 {
    margin: 0 0 20px 0;
    color: var(--primary);
    font-size: 22px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
  }
  .school-card-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .school-map-wrapper {
    width: 100%;
    overflow: hidden;
    border: 1px solid #ddd;
    background-color: #fff;
  }
  .school-map-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1037 / 594;
    object-fit: cover;
  }
  .school-details p {
    margin: 5px 0;
    font-size: 16px;
    line-height: 1.6;
  }

  .school-btn {
    display: block;
    background-color: var(--secondary);
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 50px;
    margin-top: 24px;
    box-shadow: 0 4px 10px rgba(230, 0, 18, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
  }
  
  .school-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 5px rgba(230, 0, 18, 0.3);
  }
  
  .school-btn-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
  }

  /* PC表示時の教室情報レイアウト */
  @media (min-width: 768px) {
    .school-card-inner {
      flex-direction: row;
      align-items: center;
    }
    .school-map-wrapper {
      flex: 0 0 55%;
    }
    .school-details {
      flex: 1;
    }
  }

  /* モニター概要セクション */
  .monitor-info {
    padding: 50px 20px 70px 20px;
    background-color: #f9f9f9;
  }
  .monitor-info h2 {
    text-align: center;
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 40px;
  }
  dl {
    background: #ffffff;
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }
  dt {
    font-weight: bold;
    color: var(--primary);
    font-size: 18px;
    margin-top: 30px;
    border-bottom: 2px solid #eeeeee;
    padding-bottom: 8px;
  }
  dt:first-child {
    margin-top: 0;
  }
  dd {
    margin: 15px 0 0 0;
    font-size: 16px;
    line-height: 1.7;
  }
  .trust-text {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    color: var(--secondary);
    margin-top: 40px;
  }

.lp-footer {
  padding: 3.2rem 0.8rem;
  background-color: var(--primary);
  text-align: center;
  color: #ffffff;
  font-size: 0.75rem;
  line-height: 1.6;
}

.lp-footer__links a {
  color: inherit;
  text-decoration: underline;
}

.lp-footer__links a:hover {
  text-decoration: none;
}

.lp-footer__separator {
  margin: 0 0.2rem;
}

.lp-footer__group-note {
  margin-top: 0.8rem;
  line-height: 1.6;
}

/* コピーライト */
.lp-footer__copyright {
  margin-top: 1.2rem;
}

@media (min-width: 768px) {
  .lp-footer {
    padding-top: 3.2rem;
  }
}
