@charset "UTF-8";
/* ============================================================
   BOOM TOHOKU - base
   変数・リセット・タイポグラフィ・共通部品
   参考サイトFigma実測に基づくトークン（2026-07-07計測）
   ============================================================ */

:root {
  /* カラー：白ベース＋黒＋アクセント1色 */
  --c-ink: #111;
  --c-bg: #f3f3f3;
  --c-accent: #40b050;        /* ブランド基調：緑（ロゴ TB monogram 準拠） */
  --c-hot: #d7263d;           /* 一部赤：無料キャンペーンの訴求に限定使用 */
  --c-navy: #0b2140;
  --c-navy-deep: #071729;
  --c-white: #fff;
  --c-line: #111;          /* 枠線は黒1px が基調 */
  --c-line-soft: #d9d9d9;
  /* フォント：参考サイトと同じ組合せ（Montserrat + Noto Sans JP） */
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Montserrat", sans-serif;
  /* タイポスケール（実測: EN見出し80px / プログラム40px / JAサブ22px / 本文16px lh2.0） */
  --fs-display: clamp(2.6rem, 5.4vw, 5rem);      /* 80px @1477 */
  --fs-program: clamp(1.6rem, 2.72vw, 2.5rem);   /* 40px */
  --fs-sub-ja: clamp(1.15rem, 1.5vw, 1.385rem);  /* 22.15px */
  --fs-label: clamp(1.1rem, 1.41vw, 1.3rem);     /* 20.8px */
  --fs-body: 1rem;                               /* 16px */
  --fs-small: 0.8rem;                            /* 12.8px */
  /* レイアウト */
  --container: 1140px;
  --header-h: 76px;
  --sec-pad: clamp(4.5rem, 8.5vw, 7.5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}


/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font-ja);
  font-size: var(--fs-body);
  line-height: 2;                 /* 実測 16px/32px */
  color: var(--c-ink);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color .8s var(--ease);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; }

/* ---------- 背景：low-polyテクスチャ（白背景の基調そのものを置換／個別セクションの装飾ではない・PCのみ） ---------- */
@media (min-width: 961px) {
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url(../assets/img/low-poly-grid-haikei.svg) center / cover no-repeat;
    opacity: .4;
    pointer-events: none;
    transition: opacity .8s var(--ease);
  }
}
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
summary { cursor: pointer; }

/* 背景反転帯（コーチ帯で紺に） */
body.is-flipped { background-color: var(--c-navy-deep); }
body.is-flipped::before { opacity: 0; }

/* ドロワー・モーダル表示中はスクロール固定 */
html.is-drawer-open, html.is-modal-open { overflow: hidden; }

/* ---------- typography ---------- */
.en { font-family: var(--font-en); }

/* ---------- container ---------- */
.inner { width: min(92%, var(--container)); margin-inline: auto; }
.inner--wide { width: min(94%, 1320px); }
.inner--narrow { width: min(92%, 840px); }

/* ---------- section heading（実測: EN 80px 黒 + JA 22px Bold・左揃え） ---------- */
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head__en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 1;
  letter-spacing: .01em;
  color: inherit; /* 背景反転帯（.section--flip）でも文字色が追従するように */
}
.sec-head__ja {
  font-size: var(--fs-sub-ja);
  font-weight: 700;
  line-height: 2;
  margin-top: .9em;
}
.sec-head__note { font-size: var(--fs-small); opacity: .5; margin-top: .2em; }

/* ---------- ボタン（実測ベース） ---------- */
/* ピル型アウトラインボタン（MORE / CONCEPT 相当：約144×40・16px） */
.btn-more {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-width: 144px;
  height: 40px;
  padding: 0 1.6em;
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 400;
  color: var(--c-ink);
  transition: color .3s;
}
/* 平行四辺形の枠は::beforeで描く（箱をskewせず枠だけ斜め＝中身は直立のまま） */
.btn-more::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--c-line);
  background: var(--c-white);
  transform: skewX(-8deg);
  z-index: -1;
  transition: background-color .3s, border-color .3s;
}
.btn-more::after {
  content: "";
  width: .5em; height: .5em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.btn-more:hover { color: var(--c-white); }
.btn-more:hover::before { background: var(--c-ink); border-color: var(--c-ink); }
/* クラス紹介（各プログラム）の「MORE」は現状リンク先＝詳細情報が無いため非表示（全幅共通）。
   HTMLは残す＝将来詳細ができたら本ルール削除＋href差し替えで復帰（拡張性のため削除しない）。 */
.program .btn-more { display: none; }

/* 連絡ボタン（実測：高さ76px・文字24px・ピル・右シェブロン） */
.btn-contact {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  min-height: 76px;
  padding: .8rem 2rem .8rem 2.5rem;
  border: none;
  border-left: 1px solid var(--c-ink);
  border-bottom: 1px solid var(--c-ink);
  border-radius: 0;
  background: none;
  transform: skewX(-8deg);
  font-family: var(--font-en);
  font-size: clamp(1.1rem, 1.63vw, 1.5rem); /* 24px */
  line-height: 1.4;
  transition: background-color .3s, color .3s;
}
.btn-contact > * { transform: skewX(8deg); }
.btn-contact:hover { background: var(--c-ink); color: var(--c-white); }
.btn-contact__icon { flex-shrink: 0; width: 1.4em; height: 1.4em; }
.btn-contact__icon svg { max-width: 20px; width: 100%; height: 100%; display: inline-block; }
.btn-contact::after {
  content: "";
  margin-left: auto;
  width: .55em; height: .55em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: skewX(8deg) rotate(45deg);
  flex-shrink: 0;
}

/* チップ（実測：高さ38px・padding左右25px・1px枠・16px） */
.chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 25px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: 1rem;
  background: var(--c-white);
  transition: background-color .3s, color .3s;
}
.chip:hover { background: var(--c-ink); color: var(--c-white); }

/* CTA塗りボタン（ヘッダー用） */
.btn--cta {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: .55em 1.6em;
  color: var(--c-white);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .06em;
}
/* 塗りは::beforeで平行四辺形に（中身は直立） */
.btn--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-hot);
  transform: skewX(-8deg);
  z-index: -1;
  transition: opacity .3s;
}
.btn--cta:hover::before { opacity: .8; }

/* ---------- スクロール出現（IntersectionObserver連動） ---------- */
.js-view {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.js-view.is-inview { opacity: 1; transform: none; }

/* ---------- レスポンシブ表示切替 ---------- */
.pc { display: inline; }
@media (max-width: 960px) {
  .pc { display: none; }
  :root {
    --header-h: 62px;
    /* タブレット以下はタイポスケールを1段下げる（--fs-small は :root と同値のため再指定しない） */
    --fs-body: 0.9rem;   /* 16px → 14.4px */
    --fs-sub-ja: 1rem;   /* 22.15px → 16px */
  }
  .chip { font-size: 0.9rem; }
}

/* ---------- 動きを減らす設定への配慮 ---------- */
@media (prefers-reduced-motion: reduce) {
  .js-view { opacity: 1; transform: none; transition: none; }
}
