/*
 * テンプレート② TOP・共通レイアウト。色・フォント・寸法は theme-02.css のトークンのみ参照。
 * 対応：HERO / ABOUT THE TEAM→選ばれる理由 / Activities→取扱メーカー / Coach Profile→導入シーン / Trial Lesson→見積もり相談
 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font-family: var(--ff-ja); font-size: var(--fs-body); line-height: var(--lh-body); overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

/* ---------- 制作確認用の表示（本番では削除） ---------- */
.demo-strip { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 7px var(--side); background: var(--c-text); color: var(--c-white); font-size: 13px; line-height: 1.5; text-align: center; }
.demo-strip__badge { flex: none; padding: 1px 8px; border-radius: 4px; background: var(--c-white); color: var(--c-text); font-family: var(--ff-en); font-weight: 700; letter-spacing: .05em; font-size: 12px; }

/* ---------- Header（白・高さ130px・固定しない） ---------- */
.site-header { position: relative; z-index: 10; height: var(--header-h); display: flex; align-items: center; gap: 32px; padding: 0 var(--side); background: var(--c-bg); }
.site-header__brand { display: flex; align-items: center; gap: 20px; }
.site-header__logo { height: 44px; width: auto; }
.site-header__tagline { font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--c-blue); line-height: 1.4; }
.site-header__nav { margin-left: auto; }
.site-header__nav ul { display: flex; align-items: center; gap: 36px; }
.site-header__nav a { display: flex; flex-direction: column; gap: 6px; }
.nav-en { font-family: var(--ff-en); font-size: var(--fs-nav-en); font-weight: 700; letter-spacing: .05em; color: var(--c-blue); line-height: 1; }
.nav-ja { font-size: var(--fs-nav-ja); font-weight: 600; letter-spacing: .05em; line-height: 1; }
.site-header__nav a.is-cta { padding: 12px 18px; border-radius: var(--radius); background: var(--c-blue); }
.site-header__nav a.is-cta .nav-en, .site-header__nav a.is-cta .nav-ja { color: var(--c-white); }
.site-header__sp-cta { display: none; }

/* ---------- HERO（全幅写真＋左下に白文字） ---------- */
.hero { position: relative; height: calc(100vh - var(--header-h) - 34px); min-height: 560px; max-height: 780px; overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  /* 左側を薄く暗くして白文字を読みやすく（＋下側のグラデーション） */
  background:
    linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.3) 35%, rgba(0,0,0,0) 65%),
    linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0) 60%);
}
.hero__copy { position: absolute; z-index: 1; left: var(--side); right: var(--side); bottom: 72px; color: var(--c-white); }
.hero__title { font-size: var(--fs-hero); font-weight: 700; line-height: 1.4; letter-spacing: .2em; text-shadow: 0 0 16px rgba(0,0,0,.45); }
.hero__title span, .hero__lead span { display: block; }
.hero__lead { margin-top: 20px; font-size: var(--fs-hero-lead); font-weight: 700; line-height: 1.5; letter-spacing: .05em; text-shadow: 0 0 12px rgba(0,0,0,.55); }
.hero .cta-card { margin-top: 32px; }

/* お知らせ帯 → 取扱メーカー帯 */
.band { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 14px var(--side); background: var(--c-blue-light); color: var(--c-white); }
.band__label { padding: 5px 10px; border-radius: 2px; background: var(--c-white); color: var(--c-blue-light); font-size: 12px; font-weight: 700; letter-spacing: .15em; line-height: 1; }
.band__text { font-size: 16px; font-weight: 600; line-height: 1.6; }

/* ---------- Section ---------- */
.sec { padding: var(--sec-pad) var(--side); background: var(--c-bg); }
.sec--gray { background: var(--c-bg-gray); }
.sec__inner { max-width: 1280px; margin: 0 auto; }
.sec-head__en { font-family: var(--ff-en); font-size: var(--fs-sec-en); font-weight: 700; letter-spacing: .03em; line-height: 1; }
.sec-head__ja { margin-top: 12px; font-size: var(--fs-sec-ja); font-weight: 600; line-height: 1.5; }
.split { display: grid; grid-template-columns: var(--head-col) 1fr; align-items: start; }
.sec-lead { margin-bottom: 40px; }

/* ② 選ばれる理由（ABOUT THE TEAM：左テキスト・右写真） */
.about { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 60px; align-items: start; }
.about__title { margin-top: 48px; font-size: 24px; font-weight: 700; line-height: 1.6; letter-spacing: .03em; }
.about__title span { display: block; }
.about__body { margin-top: 20px; }
.about__list { margin-top: 32px; display: grid; gap: 20px; }
.about-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.about-item__no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-white); border: 2px solid var(--c-line); font-family: var(--ff-en); font-weight: 700; font-size: 15px; color: var(--c-blue); }
.about-item__title { font-size: 18px; font-weight: 700; line-height: 1.6; color: var(--c-blue); }
.about-item__body { margin-top: 2px; }
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ③ 取扱メーカー（Activities：枠線カード） */
.act-list { display: grid; gap: 24px; }
/* PCはカード内を「左：テキスト／右：写真」にして縦幅を短縮（カードの縦並び・枠線・角丸は維持） */
.act-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); grid-template-areas: "head media" "feature media" "meta media";
  grid-template-rows: auto auto 1fr; column-gap: 28px;
  padding: 22px 25px; border: 2px solid var(--c-line); border-radius: var(--radius); background: var(--c-bg);
}
.act-card__head { grid-area: head; }
.act-card__feature { grid-area: feature; }
.act-card__meta { grid-area: meta; align-self: start; }
.act-card__media { grid-area: media; }
.act-card__head { display: flex; align-items: center; gap: 14px; }
.check { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-line); }
.check svg { width: 16px; height: 16px; fill: var(--c-blue); }
.act-card__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-family: var(--ff-en); font-size: var(--fs-card-title); font-weight: 700; line-height: 1.5; letter-spacing: .03em; color: var(--c-blue); }
.act-card__title small { font-family: var(--ff-ja); font-size: 14px; font-weight: 600; color: var(--c-text); letter-spacing: .05em; }
.act-card__feature { margin-top: 12px; }
.act-card__meta { margin-top: 14px; display: grid; gap: 6px; }
.act-card__meta div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding-top: 8px; border-top: 1px solid var(--c-line); }
.act-card__meta dt { font-size: 14px; font-weight: 700; color: var(--c-blue); line-height: 1.8; }
.act-card__meta dd { font-family: var(--ff-en); font-weight: 600; line-height: 1.8; }
.act-card__media img { width: 100%; height: 100%; min-height: 200px; max-height: 240px; object-fit: cover; border-radius: var(--radius); }

/* ④ 導入シーン（Coach Profile：縦長写真＋右テキスト） */
.profile-list { display: grid; gap: 40px; }
.profile { display: grid; grid-template-columns: minmax(0, 433px) minmax(0, 1fr); gap: 30px; align-items: start; }
.profile__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 75%; border-radius: var(--radius); }
.profile__note { margin-top: 8px; font-size: 13px; line-height: 1.5; color: #666; }
.profile__name { font-size: 18px; font-weight: 700; line-height: 1.6; }
.profile__body { margin-top: 12px; }
.profile__points { margin-top: 16px; }
.profile__points li { position: relative; padding-left: 1.1em; line-height: 1.9; }
.profile__points li::before { content: "・"; position: absolute; left: 0; }

/* ⑤ 見積もり相談（Trial Lesson：本文＋枠線カードボタン） */
.estimate__body { font-weight: 600; }
.estimate__body span { display: block; }
#estimate .cta-card { margin-top: 32px; }
.estimate__note { margin-top: 20px; font-weight: 600; }

/* カード型ボタン（テンプレート②「LINEで申し込む」の形） */
.cta-card {
  display: inline-flex; align-items: center; gap: 18px; width: 100%; max-width: 520px;
  padding: 20px 24px; border: 4px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-white); color: var(--c-text); transition: border-color .2s;
}
.cta-card:hover { border-color: var(--c-blue-light); }
.cta-card__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius); background: var(--c-blue); }
.cta-card__icon svg { width: 30px; height: 30px; fill: var(--c-white); }
.cta-card__label { flex: 1; font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: .03em; }
.cta-card__arrow { font-size: 22px; color: var(--c-blue); }
.cta-card--hero { border-color: transparent; }

/* ---------- Footer（青帯） ---------- */
.site-footer { background: var(--c-blue-light); color: var(--c-white); }
.site-footer__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 24px var(--side); font-size: 13px; line-height: 1.7; }
.site-footer__copy { font-family: var(--ff-en); letter-spacing: .05em; }
.pagetop { position: absolute; right: var(--side); top: -80px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c-line); color: var(--c-white); font-size: 26px; }
.sp-cta-bar { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .site-header__tagline { display: none; }
  .site-header__nav ul { gap: 22px; }
  .nav-en { font-size: 16px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .about { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- SP ---------- */
@media (max-width: 767px) {
  .site-header { gap: 12px; }
  .demo-strip { font-size: 11px; gap: 8px; padding: 6px 12px; }
  .demo-strip__badge { font-size: 11px; }
  .site-header__logo { height: 28px; }
  .site-header__nav { display: none; }
  .site-header__sp-cta { display: block; margin-left: auto; padding: 8px 14px; border-radius: 8px; background: var(--c-blue); color: var(--c-white); font-size: 13px; font-weight: 700; line-height: 1.4; }

  .hero { height: 78svh; min-height: 520px; }
  .hero__copy { bottom: 40px; }
  .hero__title { letter-spacing: .04em; }
  .hero__lead span { display: inline; }
  .band { flex-direction: column; gap: 8px; text-align: center; }
  .band__text { font-size: 14px; }

  .sec-head { text-align: center; }
  .about__title { margin-top: 32px; font-size: 20px; }
  .about-item { grid-template-columns: 36px 1fr; gap: 12px; }
  .about-item__no { width: 36px; height: 36px; font-size: 13px; }
  .about-item__title { font-size: 16px; }
  .act-list { gap: 24px; }
  .act-card { padding: 18px; grid-template-columns: 1fr; grid-template-areas: "head" "feature" "meta" "media"; grid-template-rows: auto; }
  .act-card__media { margin-top: 16px; }
  .act-card__media img { height: auto; min-height: 0; max-height: none; aspect-ratio: 16 / 9; }
  .profile { grid-template-columns: 1fr; gap: 16px; }
  .profile__media img { aspect-ratio: 4 / 3; }
  .profile__name { font-size: 17px; }
  .cta-card { max-width: none; padding: 14px 16px; gap: 12px; }
  .cta-card__icon { width: 44px; height: 44px; }
  .cta-card__icon svg { width: 24px; height: 24px; }
  .cta-card__label { font-size: 16px; white-space: nowrap; letter-spacing: 0; }
  .cta-card__arrow { font-size: 18px; }

  .site-footer__inner { padding-bottom: 96px; }
  .pagetop { display: none; }
  .sp-cta-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--c-line); }
  .sp-cta-bar a { display: block; padding: 14px; border-radius: var(--radius); background: var(--c-blue); color: var(--c-white); text-align: center; font-weight: 700; font-size: 16px; line-height: 1.4; }
}
