/* =========================================================
   天地武館 津田南支部 — 編集（マガジン）レイアウト
   生成りの紙 × 琉球藍 × LINEグリーン
   ========================================================= */

:root {
  /* 色 */
  --paper:      #F6F1E6;   /* 生成りの紙 */
  --paper-warm: #EFE7D6;   /* やや濃い紙（プレースホルダ枠など） */
  --ink:        #211F1A;   /* 温かみのある黒に近い墨 */
  --ink-soft:   #6A6456;   /* キャプション・補助 */
  --ink-faint:  #A9A192;   /* さらに淡い */
  --indigo:     #1E4A5C;   /* 琉球藍 */
  --indigo-deep:#143341;   /* 濃い藍（反転背景） */
  --indigo-tint:#E4E9E7;   /* 藍のごく淡い面 */
  --line:       #06C755;   /* LINEブランドグリーン */
  --line-dark:  #05a847;
  --hair:       rgba(33, 31, 26, 0.16);
  --hair-strong:rgba(33, 31, 26, 0.34);

  /* 書体 */
  --serif:  "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --latin:  "Cormorant Garamond", Georgia, serif;

  /* レイアウト */
  --col: 480px;        /* 本文カラム最大幅（スマホ最適化） */
  --pad: 24px;         /* 左右の余白 */
  --pad-lg: 32px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-weight: 400;
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* スマホでも紙面に余白の地を残す。本文は中央のカラムに */
.page {
  max-width: 520px;
  margin: 0 auto;
  background: var(--paper);
  position: relative;
  /* 端の薄い罫で「誌面」を感じさせる */
  box-shadow: 0 0 0 1px var(--hair);
}

/* ===== 共通：セクション枠 ===== */
.section { padding: 0 var(--pad); }
.section--lg { padding: 0 var(--pad-lg); }

img, svg { display: block; max-width: 100%; }

/* ===== 見出し・ラベル系 ===== */
.kicker {
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--indigo);
  font-weight: 600;
  margin: 0;
}

.label-jp {
  font-family: var(--gothic);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--ink-soft);
}

/* セクション番号付きの見出しブロック */
.sec-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  padding-top: 52px;
  margin-bottom: 26px;
}
.sec-head .no {
  font-family: var(--latin);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  color: var(--indigo);
  font-feature-settings: "lnum";
}
.sec-head .meta { align-self: center; }
.sec-head .en {
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
}
.sec-head .jp {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-top: 2px;
  color: var(--ink);
}

/* 細い罫 */
.rule { border: none; border-top: 1px solid var(--hair); margin: 0; }
.rule--ink { border-top: 1.5px solid var(--ink); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
.lead {
  font-size: 16.5px;
  line-height: 2.0;
  color: #38352d;
}
.small { font-size: 13px; line-height: 1.8; color: var(--ink-soft); }

/* プレースホルダ（{{ }}）の体裁 */
.ph {
  color: var(--indigo);
  background: var(--indigo-tint);
  padding: 0 .35em;
  border-radius: 2px;
  font-style: normal;
  white-space: nowrap;
}

/* =========================================================
   写真プレースホルダ枠（実写真の差し替え前提）
   ========================================================= */
.photo {
  position: relative;
  background: var(--paper-warm);
  overflow: hidden;
  border: 1px solid var(--hair);
}
.photo::before {
  /* 控えめなクロスハッチで「枠」を意味づけ */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(30,74,92,0.05) 0 1px, transparent 1px 16px);
}
.photo__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}
.photo__tag {
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.photo__icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 46px; height: 46px;
  color: var(--ink-faint);
}
.photo__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
  max-width: 70%;
}
/* キャプション（枠外、誌面のキャプション体裁） */
.caption {
  display: flex;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-top: 9px;
}
.caption::before {
  content: "";
  flex: none;
  width: 18px;
  height: 0;
  border-top: 1px solid var(--ink-soft);
  margin-top: 9px;
}

/* =========================================================
   ヒーロー
   ========================================================= */
.hero { padding: 22px var(--pad) 0; }

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--ink);
}
.masthead__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
}
.masthead__name small {
  display: block;
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 3px;
}
.masthead__issue {
  text-align: right;
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  text-transform: uppercase;
  line-height: 1.5;
}

.hero__kicker {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--indigo); flex: none;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(34px, 11vw, 46px);
  line-height: 1.28;
  letter-spacing: 0.02em;
  margin: 18px 0 0;
}
.hero__title .accent { color: var(--indigo); }
.hero__title .ten {
  /* 圏点風の強調はやめ、素直に */
}

.hero__sub {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 2.0;
  color: #38352d;
  max-width: 30em;
}

.hero__photo {
  margin-top: 26px;
  aspect-ratio: 4 / 5;
}

/* =========================================================
   LINE CTA（繰り返し登場する主要導線）
   ========================================================= */
.cta {
  margin: 22px 0 4px;
}
.cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: var(--line);
  color: #fff;
  text-decoration: none;
  font-family: var(--gothic);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.04em;
  padding: 18px 20px;
  border-radius: 13px;
  box-shadow: 0 8px 20px -8px rgba(6,199,85,0.6);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.cta__btn:active { transform: translateY(1px); }
@media (hover: hover) {
  .cta__btn:hover { background: var(--line-dark); box-shadow: 0 12px 26px -8px rgba(6,199,85,0.7); }
}
.cta__btn svg { width: 24px; height: 24px; flex: none; }
.cta__note {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 11px;
  letter-spacing: 0.04em;
}

/* 藍の細い「ご相談はLINEで」サブ導線 */
.cta-line-min {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--indigo);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1.5px solid var(--indigo);
  padding-bottom: 2px;
}
.cta-line-min svg { width: 17px; height: 17px; }

/* =========================================================
   01 三つの強み
   ========================================================= */
.strengths { padding-bottom: 8px; }
.strength {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--hair);
}
.strength:first-of-type { border-top: 1.5px solid var(--ink); }
.strength__no {
  font-family: var(--latin);
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  color: var(--indigo);
  padding-top: 2px;
}
.strength__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.45;
  margin: 0 0 8px;
}
.strength__body { font-size: 14.5px; line-height: 1.95; color: #3c382f; margin: 0; }

/* =========================================================
   02 師範のことば（藍反転）
   ========================================================= */
.sensei {
  background: var(--indigo-deep);
  color: #EFE7D6;
  margin-top: 56px;
  padding: 0 var(--pad) 48px;
  position: relative;
}
.sensei .sec-head .no,
.sensei .sec-head .jp { color: #fff; }
.sensei .sec-head .en { color: #9fb4bc; }
.sensei .sec-head { border-bottom: none; }

.sensei__photo {
  aspect-ratio: 3 / 4;
  background: #1b3e4d;
  border-color: rgba(255,255,255,0.14);
  margin-bottom: 28px;
}
.sensei__photo::before { background-image:
  repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 16px); }
.sensei__photo .photo__tag,
.sensei__photo .photo__title { color: rgba(239,231,214,0.85); }
.sensei__photo .photo__icon { color: rgba(255,255,255,0.3); }

.pullquote {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 7.5vw, 30px);
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #fff;
  margin: 0 0 26px;
  position: relative;
  padding-top: 14px;
}
.pullquote .mark {
  font-family: var(--latin);
  font-size: 56px;
  line-height: 0;
  color: #5e8593;
  display: block;
  height: 26px;
}
.sensei__body { color: rgba(239,231,214,0.92); font-size: 15px; line-height: 2.05; }
.sensei__sign {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
}
.sensei__sign small {
  display: block; font-family: var(--gothic); font-weight: 400;
  font-size: 12px; color: #9fb4bc; letter-spacing: 0.1em; margin-top: 4px;
}
/* 経歴・系譜 spec */
.spec {
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.spec__row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 13.5px;
  align-items: baseline;
}
.spec__row dt {
  color: #9fb4bc;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 500;
}
.spec__row dd { margin: 0; color: #EFE7D6; line-height: 1.7; }

/* =========================================================
   03 琉球空手という選択
   ========================================================= */
.ryukyu__photo { aspect-ratio: 16 / 10; margin-bottom: 10px; }
.ryukyu__body { font-size: 15px; line-height: 2.05; color: #38352d; }
.ryukyu__points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.ryukyu__points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--hair);
  font-size: 14.5px;
  line-height: 1.7;
  align-items: start;
}
.ryukyu__points li::before {
  content: "礼";
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: var(--indigo);
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  margin-top: 2px;
}
.ryukyu__points li b { font-weight: 700; color: var(--ink); }

/* =========================================================
   04 クラス・日時
   ========================================================= */
.classcard {
  margin-top: 4px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.classcard__row {
  display: grid;
  grid-template-columns: 92px 1fr;
  border-bottom: 1px solid var(--hair);
}
.classcard__row:last-child { border-bottom: none; }
.classcard__row dt {
  background: var(--indigo);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  padding: 18px 14px;
  font-weight: 500;
  display: flex; align-items: center;
}
.classcard__row dd {
  margin: 0;
  padding: 16px 18px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
}
.classcard__row dd .sub {
  display: block;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.bigdays {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.bigdays .day {
  flex: 1;
  text-align: center;
  border: 1.5px solid var(--indigo);
  color: var(--indigo);
  padding: 16px 0 13px;
}
.bigdays .day .kanji {
  font-family: var(--serif); font-weight: 900; font-size: 34px; line-height: 1;
}
.bigdays .day .en {
  font-family: var(--latin); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; display: block; margin-top: 8px; color: var(--ink-soft);
}

/* =========================================================
   05 料金
   ========================================================= */
.fee {
  margin-top: 4px;
}
.fee__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--hair);
}
.fee__row:first-child { border-top: 1.5px solid var(--ink); }
.fee__label { font-family: var(--serif); font-weight: 700; font-size: 17px; }
.fee__label small { display:block; font-family: var(--gothic); font-weight:400; font-size:11.5px; color:var(--ink-soft); letter-spacing:.1em; margin-top:2px;}
.fee__val { font-family: var(--serif); font-weight: 700; font-size: 19px; }
.fee__note {
  margin-top: 18px;
  background: var(--indigo-tint);
  border-left: 3px solid var(--indigo);
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.85;
  color: #2e4a55;
}

/* =========================================================
   06 見学・体験のながれ
   ========================================================= */
.flow { counter-reset: flow; margin-top: 4px; }
.flow__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--hair);
}
.flow__step:first-child { border-top: 1.5px solid var(--ink); }
.flow__num {
  position: relative;
  font-family: var(--latin);
  font-weight: 600;
  font-size: 26px;
  color: var(--indigo);
  line-height: 1;
  width: 30px;
}
.flow__step:not(:last-child) .flow__num::after {
  content: "";
  position: absolute;
  left: 50%; top: 34px; bottom: -24px;
  border-left: 1px dashed var(--hair-strong);
}
.flow__t { font-family: var(--serif); font-weight: 700; font-size: 17px; margin: 0 0 6px; }
.flow__d { font-size: 14px; line-height: 1.85; color: #3c382f; margin: 0; }

/* =========================================================
   07 Q&A
   ========================================================= */
.faq { margin-top: 4px; }
.faq__item { border-top: 1px solid var(--hair); }
.faq__item:first-child { border-top: 1.5px solid var(--ink); }
.faq__q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: grid;
  grid-template-columns: 26px 1fr 22px;
  gap: 12px;
  align-items: start;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.faq__q .qmark {
  font-family: var(--latin);
  font-weight: 600;
  font-size: 19px;
  color: var(--indigo);
}
.faq__q .chev {
  width: 18px; height: 18px; margin-top: 5px;
  color: var(--indigo);
  transition: transform .3s ease;
  justify-self: end;
}
.faq__item[open] .faq__q .chev,
.faq__item.open .faq__q .chev { transform: rotate(45deg); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease;
}
.faq__item.open .faq__a { max-height: 420px; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  margin: 0;
  padding: 0 0 22px 38px;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.95;
  color: #3c382f;
}

/* =========================================================
   08 アクセス
   ========================================================= */
.access__map {
  aspect-ratio: 16 / 11;
  margin-top: 4px;
}
.access__info {
  margin-top: 20px;
  display: grid;
  gap: 0;
}
.access__row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 14px;
  align-items: baseline;
}
.access__row:first-child { border-top: 1px solid var(--hair); }
.access__row dt { font-size: 11px; letter-spacing: 0.16em; color: var(--ink-soft); font-weight: 500; }
.access__row dd { margin: 0; line-height: 1.7; }
.access__row dd .big { font-family: var(--serif); font-weight: 700; font-size: 16px; }

/* =========================================================
   最後の大CTA
   ========================================================= */
.finale {
  margin-top: 60px;
  background: var(--indigo-deep);
  color: #EFE7D6;
  padding: 60px var(--pad) 50px;
  text-align: center;
}
.finale__kicker {
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #9fb4bc;
}
.finale__title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(30px, 9vw, 40px);
  line-height: 1.4;
  margin: 18px 0 14px;
  color: #fff;
}
.finale__sub { color: rgba(239,231,214,0.9); font-size: 14.5px; line-height: 1.9; max-width: 24em; margin: 0 auto 30px; }
.finale .cta__btn { box-shadow: 0 10px 28px -8px rgba(6,199,85,0.7); }
.finale .cta__note { color: #9fb4bc; }

/* QR */
.qr {
  margin: 34px auto 0;
  max-width: 300px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  gap: 18px;
  align-items: center;
  text-align: left;
}
.qr__code {
  flex: none;
  width: 96px; height: 96px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 8px;
  display: grid; place-items: center;
  position: relative;
}
.qr__code svg { width: 70px; height: 70px; color: var(--ink); }
.qr__txt h4 { font-family: var(--serif); font-weight: 700; font-size: 15px; margin: 0 0 6px; }
.qr__txt p { margin: 0; font-size: 12px; color: var(--ink-soft); line-height: 1.7; }

/* Instagram */
.insta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #EFE7D6;
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 10px 18px;
}
.insta svg { width: 17px; height: 17px; }

/* =========================================================
   フッター
   ========================================================= */
.footer {
  text-align: center;
  padding: 38px var(--pad) 46px;
}
.footer__name { font-family: var(--serif); font-weight: 700; font-size: 16px; letter-spacing: 0.06em; }
.footer__name small { display:block; font-family: var(--latin); font-size:10px; letter-spacing:.24em; text-transform:uppercase; color:var(--ink-soft); margin-top:6px; font-weight:600;}
.footer__meta { font-size: 11.5px; color: var(--ink-soft); margin-top: 16px; line-height: 1.8; letter-spacing: 0.04em; }

/* 末尾の小さなノンブル */
.colophon {
  display: flex; justify-content: space-between;
  font-family: var(--latin); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-faint);
  padding: 0 var(--pad) 26px;
}

/* =========================================================
   追従するLINEボタン（スクロール後に出現）
   ========================================================= */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 140%);
  width: min(472px, calc(100% - 28px));
  z-index: 50;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.sticky-cta.show { transform: translate(-50%, 0); }
.sticky-cta a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--line); color: #fff; text-decoration: none;
  font-family: var(--gothic); font-weight: 700; font-size: 15.5px;
  padding: 16px; border-radius: 13px;
  box-shadow: 0 10px 30px -6px rgba(0,0,0,0.35);
  letter-spacing: 0.03em;
}
.sticky-cta a svg { width: 22px; height: 22px; }

/* =========================================================
   モーション（控えめ）
   ========================================================= */
/* 基本は「表示」。JSが動いているときだけ、未表示の要素を一時的に隠す */
.reveal { opacity: 1; transform: none; }
html.js-motion .reveal:not(.in) {
  opacity: 0;
  transform: translateY(22px);
}
html.js-motion .reveal.in {
  animation: revealIn .9s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js-motion .reveal:not(.in),
  html.js-motion .reveal.in { opacity: 1; transform: none; animation: none; }
  .sticky-cta { transition: none; }
}

/* ===== 広い画面：左右に余白の地、誌面を中央寄せ ===== */
@media (min-width: 600px) {
  body { background: #ECE5D6; padding: 0; }
  .page { box-shadow: 0 0 60px -20px rgba(33,31,26,0.25); }
}
