* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #001233;
  color: #1a2230;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
}

.part {
  margin: 0;
  background: #ffffff;
}

.part--dark {
  background: #00205c;
}

.comp {
  display: block;
  width: 100%;
  height: auto;
}

/* 施工動画ループエリア（S1下部とシームレスに接続） */
.video-wrap {
  background: #00205c;
  padding: 6px 5.5% 28px;
}

.video-frame {
  position: relative;
  border: 2px solid #00a0df;
  border-radius: 6px;
  overflow: hidden;
  background: #00143a;
}

.loop {
  display: block;
  width: 100%;
  height: auto;
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-height: 44px;
  padding: 8px 16px;
  background: transparent;
  color: #d6f1f7;
  border: 1px solid #00a0df;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.motion-toggle:hover {
  background: rgba(0, 160, 223, 0.16);
}

/* 横浜・大阪トレーニングセンター実写（加工・AI生成なしでそのまま表示） */
.facilities-wrap {
  background: #ffffff;
  padding: 20px 6.5% 36px;
}

.facilities-title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  color: #00205c;
  padding-left: 12px;
  border-left: 3px solid #00a0df;
}

.facilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.facilities figure {
  margin: 0;
}

.facilities img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #f2f6f9;
  border-radius: 4px;
}

.facilities figcaption {
  margin-top: 10px;
  padding-left: 10px;
  border-left: 3px solid #00a0df;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #00205c;
}

/* T: スポーツメンテナンスの将来性（10年時系列年表＋公的根拠） */
.cycle-section {
  background: #ffffff;
  padding: 44px 6.5% 44px;
  border-bottom: 1px solid #d6e2ec;
}

.cycle-section .eyebrow-line {
  width: 48px;
  height: 3px;
  background: #00a0df;
  margin-bottom: 14px;
}

.cycle-eyebrow {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #00a0df;
}

.cycle-section h2 {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.32;
  color: #00205c;
}

.timeline-card {
  background: #f2f6f9;
  border: 1px solid #d6e2ec;
  border-radius: 8px;
  padding: 20px 16px 16px;
  margin-bottom: 22px;
}

.timeline-caption {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #00205c;
  text-align: center;
  letter-spacing: 0.02em;
}

.timeline-svg {
  display: block;
  width: 100%;
  height: auto;
}

.cycle-cards {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.cycle-card {
  display: grid;
  grid-template-columns: 136px 1fr;
  align-items: center;
  gap: 16px;
  background: #00205c;
  border-radius: 8px;
  padding: 18px 20px;
  color: #ffffff;
}

.cycle-num {
  font-size: 30px;
  font-weight: 700;
  color: #f3bd48;
  line-height: 1.1;
  text-align: center;
  padding-right: 16px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.cycle-detail strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.cycle-detail span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #dce8f4;
}

.cycle-body p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.85;
  color: #1a2230;
}

.cycle-body p:last-child {
  margin-bottom: 0;
}

/* T3: どれくらいの収入規模が目指せるのか（静かな白背景エディトリアル） */
.scale-block {
  background: #ffffff;
  padding: 40px 6.5% 44px;
  border-top: 1px solid #d6e2ec;
}

.scale-block .eyebrow-line {
  width: 48px;
  height: 3px;
  background: #00a0df;
  margin-bottom: 14px;
}

.scale-block h2 {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.38;
  color: #00205c;
}

.scale-block p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.85;
  color: #1a2230;
}

.scale-block p:last-child {
  margin-bottom: 0;
}

.scale-callout {
  margin: 22px 0;
  padding: 18px 20px;
  background: #f2f6f9;
  border-left: 4px solid #00205c;
  border-radius: 4px;
}

.scale-callout p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 600;
  color: #00205c;
}

/* 実動作オプトインフォーム（全6箇所共通・静かな余白と高視認ボタン） */
.register {
  background: #f2f6f9;
  padding: 28px 6.5% 32px;
  border-top: 3px solid #00a0df;
  border-bottom: 1px solid #d6e2ec;
}

.register-heading {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 700;
  color: #00205c;
  text-align: center;
}

.optional {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.register label {
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #00205c;
}

.register small {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  background: #e1eaf2;
  color: #4b5d73;
  vertical-align: 1px;
}

.register small.required {
  background: #00a0df;
  color: #ffffff;
}

.register input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1.5px solid #a7a8a9;
  border-radius: 4px;
  background: #ffffff;
  color: #00205c;
  font: inherit;
  font-size: 16px;
}

.register button[type="submit"] {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 13px 16px;
  border: 0;
  border-radius: 6px;
  background: #f3bd48;
  color: #00205c;
  font: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  box-shadow: 0 3px 0 #c99728;
  transition: transform 0.1s ease, background 0.15s ease;
}

.register button[type="submit"]:hover {
  background: #ffd061;
}

.register button[type="submit"]:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #c99728;
}

.register-note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: #46586e;
  text-align: center;
}

/* こんな方におすすめ（静かな罫線リスト） */
.recommend {
  background: #ffffff;
  padding: 44px 6.5% 40px;
  border-top: 1px solid #d6e2ec;
}

.section-label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #00a0df;
}

.section-title {
  margin: 0 0 22px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  color: #00205c;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d6e2ec;
}

.check-list li {
  position: relative;
  padding: 16px 8px 16px 34px;
  border-bottom: 1px solid #d6e2ec;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
  color: #00205c;
  word-break: auto-phrase;
  line-break: strict;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 17px;
  color: #00a0df;
  font-size: 18px;
  font-weight: 700;
}

/* よくあるご質問（HTMLネイティブ・落ち着いた白背景） */
.faq {
  background: #f2f6f9;
  padding: 44px 6.5% 46px;
  border-top: 1px solid #d6e2ec;
}

.faq details {
  background: #ffffff;
  border: 1px solid #d6e2ec;
  border-radius: 4px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.faq details:last-of-type {
  margin-bottom: 0;
}

.faq summary {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #00205c;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  word-break: auto-phrase;
  line-break: strict;
}

.faq p {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid #e5edf3;
  font-size: 16px;
  line-height: 1.8;
  color: #22344c;
}

/* Bonaについて＆最終クロージング（箱・左線なし・中央ロゴの洗練ブランド設計） */
.brand-close {
  background: #00205c;
  color: #ffffff;
  padding: 56px 7% 48px;
  border-top: 3px solid #f3bd48;
  text-align: center;
}

.brand-about {
  max-width: 560px;
  margin: 0 auto 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand-about-label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #00a0df;
}

.brand-about h2 {
  margin: 0 0 26px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

.brand-logo {
  display: block;
  height: 48px;
  width: auto;
  margin: 0 auto 24px;
}

.brand-about p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.85;
  color: #dce8f4;
  text-align: center;
  word-break: auto-phrase;
  line-break: strict;
}

.brand-about p:last-child {
  margin-bottom: 0;
}

.close-block {
  max-width: 560px;
  margin: 0 auto;
}

.close-lead {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.8;
  color: #dce8f4;
}

.close-headline {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: #f3bd48;
}

.close-sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #eef4fa;
  word-break: auto-phrase;
  line-break: strict;
}

input:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #00a0df;
  outline-offset: 2px;
}

/* 確認モーダル */
dialog {
  max-width: 90%;
  width: 460px;
  border: 2px solid #00205c;
  border-radius: 6px;
  padding: 24px;
  color: #00205c;
}

dialog h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

dialog p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  white-space: pre-line;
}

dialog button {
  min-height: 44px;
  padding: 10px 24px;
  border: 0;
  border-radius: 4px;
  background: #00205c;
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

dialog::backdrop {
  background: rgba(0, 18, 51, 0.72);
}

h1, h2, h3 {
  text-wrap: balance;
  word-break: auto-phrase;
  line-break: strict;
}

@media (max-width: 600px) {
  .video-wrap {
    padding: 4px 4.5% 24px;
  }

  .facilities-wrap {
    padding: 18px 5.5% 30px;
  }

  .facilities {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cycle-section {
    padding: 36px 5.5% 34px;
  }

  .cycle-eyebrow {
    font-size: 14.5px;
  }

  .cycle-section h2 {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .timeline-card {
    padding: 16px 10px 12px;
  }

  .timeline-caption {
    font-size: 13px;
  }

  .cycle-card {
    grid-template-columns: 108px 1fr;
    gap: 12px;
    padding: 15px 14px;
  }

  .cycle-num {
    font-size: 24px;
    padding-right: 12px;
  }

  .cycle-detail strong {
    font-size: 17px;
  }

  .cycle-detail span {
    font-size: 13px;
  }

  .cycle-body p {
    font-size: 16px;
  }

  .scale-block {
    padding: 34px 5.5% 38px;
  }

  .scale-block h2 {
    font-size: 23px;
  }

  .scale-block p,
  .scale-callout p {
    font-size: 16px;
  }

  .register {
    padding: 24px 5.5% 28px;
  }

  .register-heading {
    font-size: 18px;
  }

  .register button[type="submit"] {
    font-size: 17px;
    min-height: 56px;
  }

  .recommend,
  .faq,
  .brand-close {
    padding: 36px 5.5%;
  }

  .section-title {
    font-size: 23px;
  }

  .check-list li {
    font-size: 15.5px;
  }

  .faq summary {
    font-size: 16px;
  }

  .brand-close {
    padding: 44px 5.5% 40px;
  }

  .brand-about {
    margin-bottom: 34px;
    padding-bottom: 32px;
  }

  .brand-about h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .brand-logo {
    height: 40px;
    margin-bottom: 20px;
  }

  .brand-about p,
  .close-lead,
  .close-sub {
    font-size: 15.5px;
  }

  .close-headline {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Future outlook: two distinct themes */
.future-topic { margin: 28px 0 24px; }
.future-number { display: inline-block; color: #009fca; font-size: 16px; font-weight: 700; border-bottom: 3px solid #f3bd48; padding-bottom: 4px; margin-bottom: 10px; }
.future-topic h3 { margin: 0 0 18px; color: #00205c; font-size: clamp(21px, 3.6vw, 27px); line-height: 1.5; }
.future-topic p { font-size: 17px; line-height: 1.9; margin: 0 0 16px; color: #26384c; }
.future-topic-second { border-top: 1px solid #d6e2ec; padding-top: 30px; margin-top: 32px; }
.future-evidence { background: #eef7fb; border-left: 3px solid #00a0df; padding: 20px; margin: 22px 0; }
.future-evidence strong { display:block; color:#00205c; line-height:1.7; margin-bottom:10px; }
.future-evidence p:last-child { margin-bottom:0; }
.figure-source { margin: 12px 0 0; font-size: 11px; line-height: 1.6; color:#596779; }
.figure-source a { color:inherit; text-decoration:none; }
@media(max-width:600px){.future-topic p{font-size:15px;line-height:1.9}.future-evidence{padding:16px}.figure-source{font-size:10px}}

/* Actual stock photograph, kept separate from generated text comp. */
.amplify-photo-swap { position: relative; }
.amplify-real-photo { position:absolute; left:4.43%; top:17.42%; width:91.14%; height:20.25%; object-fit:cover; object-position:50% 16%; border-radius:10px; display:block; }

