/* ==========================================================
   FIRST IMPACT Personal GYM — style.css v2
   トンマナ: エディトリアル・モノクローム(SPACE GYM参照)
   白基調 × 墨黒テキスト × 写真主役、赤はCTA専用
   ========================================================== */

:root {
  --ink: #15181f;            /* テキスト・ダークセクション */
  --ink-2: #3a3f4b;
  --ink-3: #6b7078;
  --red: #c42d39;            /* CTA専用 */
  --red-deep: #a92430;
  --bg: #ffffff;
  --bg-soft: #f5f5f3;
  --line: #e5e5e1;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Oswald", sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --header-h: 68px;
  --cvbar-h: 64px;
  --radius: 4px;
  --shadow: 0 10px 32px rgba(21, 24, 31, 0.08);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 2;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--cvbar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.sp-only { display: none; }
.pc-only { display: inline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius);
  transition: opacity 0.2s ease, transform 0.2s ease;
  letter-spacing: 0.04em;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--outline-white { border: 1px solid rgba(255, 255, 255, 0.8); color: #fff; }
.btn--lg { padding: 18px 48px; font-size: 1.05rem; }

/* ---------- header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: 1240px;
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 24px;
}
.header__logo { display: flex; flex-direction: column; line-height: 1.25; }
.header__logo-mark {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.header__logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--ink-3);
}
.gnav { margin-left: auto; }
.gnav__list { display: flex; gap: 30px; }
.gnav__list a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease;
}
.gnav__list a:hover { border-bottom-color: var(--ink); }
.header__cta { font-size: 0.88rem; padding: 11px 24px; }
.menu-btn { display: none; }
.sp-menu { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  padding: calc(var(--header-h) + 40px) 0 88px;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 12, 17, 0.82) 0%, rgba(10, 12, 17, 0.35) 45%, rgba(10, 12, 17, 0.25) 100%);
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero__campaign {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 7px 18px;
  margin-bottom: 26px;
  letter-spacing: 0.04em;
}
.hero__campaign s { color: var(--ink-3); }
.hero__campaign strong { color: var(--red); font-size: 1.1rem; margin-left: 2px; }
.hero__title {
  font-size: clamp(2.3rem, 5.8vw, 4.4rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.hero__lead {
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 34px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hero__note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.05em; }

/* ---------- trust bar ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--bg); }
.trust__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  text-align: center;
  padding: 34px 12px 30px;
  border-left: 1px solid var(--line);
}
.trust__item:first-child { border-left: none; }
.trust__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; color: var(--ink-3); margin-bottom: 2px; }
.trust__value {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.3;
  color: var(--ink);
}
.trust__value small { font-size: 1.3rem; }
.trust__value span { font-size: 1.1rem; margin-left: 2px; }
.trust__value em { font-style: normal; color: var(--red); font-size: 1.5rem; margin: 0 6px; }
.trust__value--text { font-family: var(--font-body); font-weight: 900; }
.trust__sub { font-size: 0.76rem; color: var(--ink-3); }

/* ---------- sections common ---------- */
.section { padding: 110px 24px; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; }
.container { max-width: 1140px; margin: 0 auto; }
.container--narrow { max-width: 820px; }

.sec-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 56px;
}
.sec-title--center { text-align: center; }
.sec-title--light { color: #fff; }
.sec-en {
  display: block;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.42em;
  color: var(--ink-3);
  margin-top: 12px;
}
.sec-title--light .sec-en { color: rgba(255, 255, 255, 0.55); }

/* ---------- worry ---------- */
.worry__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.worry__text .sec-title { margin-bottom: 36px; }
.worry__list { display: grid; gap: 4px; }
.worry__list li {
  position: relative;
  padding: 12px 0 12px 40px;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
  font-weight: 500;
}
.worry__list li::before {
  content: "";
  position: absolute;
  left: 6px; top: 50%;
  transform: translateY(-62%) rotate(45deg);
  width: 8px; height: 14px;
  border-right: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
}
.worry__photo img { width: 100%; box-shadow: var(--shadow); }
.worry__answer {
  text-align: center;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 900;
  line-height: 2;
  letter-spacing: 0.05em;
}

/* ---------- feature (ジグザグ) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.feature:last-child { margin-bottom: 0; }
.feature--reverse .feature__photo { order: 2; }
.feature--reverse .feature__body { order: 1; }
.feature__photo img { width: 100%; box-shadow: var(--shadow); }
.feature__num {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--red);
  margin-bottom: 10px;
}
.feature__num::after {
  content: "";
  display: inline-block;
  width: 48px; height: 1px;
  background: var(--red);
  vertical-align: middle;
  margin-left: 14px;
}
.feature__title {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.feature__text { color: var(--ink-2); font-size: 0.98rem; }
.feature__text strong { color: var(--ink); border-bottom: 2px solid rgba(196, 45, 57, 0.5); font-weight: 700; }
.feature__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.feature__tags li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid #d5d5d0;
  padding: 4px 14px;
  border-radius: 999px;
  line-height: 1.7;
}
.feature__note { margin-top: 14px; font-size: 0.78rem; color: var(--ink-3); }
.feature__note a { text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 72px 24px; }
.cta-band__inner { max-width: 880px; margin: 0 auto; text-align: center; }
.cta-band__micro { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.cta-band__title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-bottom: 12px;
}
.cta-band__text { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; margin-bottom: 34px; }
.cta-band__actions { display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap; }
.cta-band__tel { display: flex; flex-direction: column; line-height: 1.5; text-align: left; }
.cta-band__tel span { font-size: 0.72rem; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.06em; }
.cta-band__tel strong { font-family: var(--font-en); font-weight: 600; font-size: 1.7rem; letter-spacing: 0.03em; }

/* ---------- result ---------- */
.result__lead { text-align: center; color: var(--ink-2); margin: -28px 0 48px; font-size: 0.95rem; }
.result__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.result__photo img { width: 100%; box-shadow: var(--shadow); }
.result__photo figcaption { font-size: 0.85rem; color: var(--ink-2); margin-top: 14px; line-height: 1.8; }
.result__tag {
  display: block;
  width: fit-content;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--red);
  border: 1px solid currentColor;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.result__note { margin-top: 32px; font-size: 0.78rem; color: var(--ink-3); text-align: right; }

/* ---------- compare ---------- */
.compare__scroll { overflow-x: auto; }
.compare__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow);
}
.compare__table th, .compare__table td {
  padding: 18px 20px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 0.95rem;
  vertical-align: middle;
  line-height: 1.7;
}
.compare__table thead th { font-weight: 900; background: var(--bg-soft); }
.compare__table thead th.compare__hl { background: var(--ink); color: #fff; }
.compare__table tbody th { background: var(--bg-soft); font-weight: 700; width: 26%; }
.compare__table td.compare__hl { background: #fdf6f6; font-weight: 700; }
.compare__table td.compare__hl strong { color: var(--red); font-size: 1.15rem; }
.compare__table td small, .compare__table th small { display: block; font-size: 0.72rem; font-weight: 400; color: var(--ink-3); }
.compare__note { margin-top: 18px; font-size: 0.78rem; color: var(--ink-3); }

/* ---------- price ---------- */
.price__lead { text-align: center; color: var(--ink-2); margin: -28px 0 52px; font-size: 0.95rem; }
.price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 72px; }
.price__card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px 30px;
  position: relative;
}
.price__card--featured { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.price__tag {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 20px;
}
.price__plan { font-size: 1.3rem; font-weight: 900; text-align: center; letter-spacing: 0.06em; margin-bottom: 4px; }
.price__plan-desc { font-size: 0.82rem; color: var(--ink-3); text-align: center; margin-bottom: 26px; }
.price__plan-desc small { font-size: 0.72rem; color: var(--red-deep); }
.price__rows { display: grid; }
.price__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 2px;
  border-top: 1px solid var(--line);
}
.price__row:last-child { border-bottom: 1px solid var(--line); }
.price__row dt { font-weight: 700; font-size: 0.95rem; line-height: 1.5; }
.price__row dt span { display: block; font-size: 0.75rem; font-weight: 400; color: var(--ink-3); }
.price__row dd {
  text-align: right;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.35;
}
.price__per { display: block; font-family: var(--font-body); font-size: 0.74rem; font-weight: 500; color: var(--red); }
.price__opt-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow);
}
.price__opt-table caption {
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.price__opt-table th, .price__opt-table td { padding: 16px 24px; border: 1px solid var(--line); font-size: 0.95rem; text-align: left; }
.price__opt-table th { background: var(--bg-soft); font-weight: 700; width: 40%; }
.price__opt-table strong { color: var(--red); font-size: 1.1rem; }

/* ---------- facility ---------- */
.facility__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.facility__photo { display: flex; flex-direction: column; }
.facility__photo img { width: 100%; height: 300px; object-fit: cover; box-shadow: var(--shadow); }
.facility__photo figcaption { font-weight: 900; font-size: 1.02rem; margin-top: 16px; line-height: 1.7; }
.facility__photo figcaption small { display: block; font-size: 0.82rem; font-weight: 400; color: var(--ink-2); }
.facility__card {
  background: var(--ink);
  color: #fff;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.facility__card h3 { font-size: 1.15rem; font-weight: 900; line-height: 1.7; margin-bottom: 14px; }
.facility__card p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.82); }
.facility__note { margin-top: 26px; font-size: 0.78rem; color: var(--ink-3); text-align: right; }

/* ---------- mvv ---------- */
.mvv__quote {
  font-family: var(--font-serif);
  text-align: center;
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  line-height: 2.6;
  letter-spacing: 0.08em;
  margin-bottom: 64px;
  color: rgba(255, 255, 255, 0.94);
}
.mvv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mvv__card { border: 1px solid rgba(255, 255, 255, 0.25); padding: 34px 30px; }
.mvv__label {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}
.mvv__card p { font-size: 0.94rem; color: rgba(255, 255, 255, 0.9); }

/* ---------- flow ---------- */
.flow__lead { text-align: center; color: var(--ink-2); margin: -28px 0 48px; font-size: 0.95rem; }
.flow__list { display: grid; gap: 0; }
.flow__step {
  position: relative;
  padding: 0 0 44px 66px;
}
.flow__step::before {
  content: "";
  position: absolute;
  left: 21px; top: 46px; bottom: 0;
  width: 2px;
  background: var(--line);
}
.flow__step:last-child::before { display: none; }
.flow__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.flow__num {
  position: absolute;
  left: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow__title { font-size: 1.15rem; font-weight: 900; letter-spacing: 0.04em; }
.flow__time {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  border: 1px solid currentColor;
  padding: 1px 10px;
  letter-spacing: 0.08em;
}
.flow__text { color: var(--ink-2); font-size: 0.94rem; }

/* ---------- faq ---------- */
.faq__item { background: #fff; border: 1px solid var(--line); margin-bottom: 14px; }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  position: relative;
  font-size: 1rem;
  line-height: 1.7;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "Q.";
  font-family: var(--font-en);
  color: var(--red);
  font-weight: 600;
  margin-right: 12px;
}
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item p { padding: 0 24px 22px 24px; font-size: 0.94rem; color: var(--ink-2); }

/* ---------- access ---------- */
.access__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.access__table { width: 100%; border-collapse: collapse; }
.access__table th, .access__table td { padding: 17px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 0.95rem; line-height: 1.8; }
.access__table th { width: 28%; font-weight: 700; white-space: nowrap; }
.access__table a { color: var(--red); font-weight: 700; }
.access__map iframe { width: 100%; height: 400px; border: 1px solid var(--line); }

/* ---------- availability(空き枠テーブル) ---------- */
.availability__lead { text-align: center; color: var(--ink-2); margin: -28px 0 40px; font-size: 0.95rem; }
.slots-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.slots { border-collapse: collapse; width: 100%; min-width: 900px; }
.slots th, .slots td {
  border: 1px solid var(--line);
  text-align: center;
  padding: 6px 4px;
  font-size: 0.82rem;
  min-width: 58px;
}
.slots thead th { background: var(--ink); color: #fff; font-weight: 700; padding: 10px 4px; }
.slots thead th small { display: block; font-size: 0.68rem; font-weight: 400; color: rgba(255,255,255,0.7); }
.slots tbody th {
  background: var(--bg-soft);
  font-family: var(--font-en);
  font-weight: 600;
  position: sticky;
  left: 0;
  z-index: 1;
}
.slot-mark { font-weight: 700; }
.slot-mark--free { color: #0a8f4d; }
button.slot-mark--free {
  background: #e8f7ef;
  border: 1px solid #0a8f4d;
  border-radius: 6px;
  width: 40px; height: 34px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
button.slot-mark--free:hover { background: #d2f0e0; transform: scale(1.08); }
.slot-mark--busy { color: #c2c6cc; }
.availability__note { margin-top: 16px; font-size: 0.78rem; color: var(--ink-3); text-align: center; }
.form__group textarea.is-flash { outline: 3px solid rgba(10, 143, 77, 0.6); }

/* ---------- LINE 常時CTA ---------- */
.line-fab {
  position: fixed;
  right: 16px;
  bottom: calc(var(--cvbar-h) + 16px);
  z-index: 96;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #067d3c;
  color: #fff;
  font-weight: 900;
  font-size: 0.92rem;
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.line-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(6, 199, 85, 0.5); }

/* ---------- contact連絡手段2列 ---------- */
.contact__channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto 52px;
}
.contact__channels .contact__tel { margin: 0; max-width: none; }
.contact__line {
  display: block;
  text-align: center;
  background: #067d3c;
  padding: 22px;
  transition: opacity 0.2s ease;
  color: #fff;
}
.contact__line:hover { opacity: 0.88; }
.contact__line-label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 4px; color: rgba(255,255,255,0.9); }
.contact__line-name { font-size: 1.15rem; font-weight: 900; display: inline-flex; align-items: center; gap: 8px; }

/* ---------- contact ---------- */
.contact__lead { text-align: center; font-weight: 700; color: var(--ink); margin: -28px 0 36px; letter-spacing: 0.06em; }
.contact__tel {
  display: block;
  max-width: 480px;
  margin: 0 auto 52px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  transition: box-shadow 0.2s ease;
}
.contact__tel:hover { box-shadow: var(--shadow); }
.contact__tel-label { display: block; font-size: 0.78rem; color: var(--ink-3); font-weight: 700; letter-spacing: 0.08em; margin-bottom: 4px; }
.contact__tel-number { font-family: var(--font-en); font-weight: 600; font-size: 2.1rem; letter-spacing: 0.04em; color: var(--ink); }
.form { max-width: 640px; margin: 0 auto; }
.form__group { margin-bottom: 24px; }
.form__group label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; }
.form__req {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: 2px;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #c9c9c4;
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
.form__error {
  background: #fbeaec;
  border: 1px solid var(--red);
  color: var(--red-deep);
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.form__thanks { text-align: center; font-weight: 700; font-size: 1.05rem; line-height: 2.2; padding: 32px 0; }
.form__submit { width: 100%; border: none; cursor: pointer; font-family: var(--font-body); font-size: 1.05rem; }
.form__note { text-align: center; font-size: 0.8rem; color: var(--ink-3); margin-top: 14px; }
.form__terms-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* ---------- terms page ---------- */
.terms-page { padding-bottom: 0; }
.terms { padding-top: calc(var(--header-h) + 70px); }
.terms__intro { text-align: center; color: var(--ink-2); font-size: 0.95rem; margin: -24px 0 56px; }
.terms__article { margin-bottom: 40px; }
.terms__article h2 {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  border-left: 4px solid var(--ink);
  padding-left: 14px;
  margin-bottom: 14px;
}
.terms__article p { font-size: 0.94rem; color: var(--ink-2); margin-bottom: 10px; }
.terms__article ul { display: grid; gap: 6px; padding-left: 2px; }
.terms__article ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.9;
}
.terms__article ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.85em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
}
.terms__closing {
  margin-top: 52px;
  padding: 24px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--ink);
  font-weight: 500;
}
.terms__back { text-align: center; margin-top: 48px; }
.header__cta--always { display: inline-block !important; margin-left: auto; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.82); padding: 56px 24px; text-align: center; }
.footer__logo { font-family: var(--font-en); font-weight: 600; font-size: 1.35rem; letter-spacing: 0.08em; color: #fff; margin-bottom: 14px; }
.footer__logo span { font-size: 0.72rem; letter-spacing: 0.3em; color: rgba(255, 255, 255, 0.6); margin-left: 8px; }
.footer__address { font-size: 0.85rem; line-height: 2.1; margin-bottom: 16px; }
.footer__address a { color: #fff; font-weight: 700; }
.footer__nav { margin-bottom: 16px; display: flex; justify-content: center; gap: 24px; }
.footer__nav a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer__nav a:hover { color: #fff; }
.footer__copy { font-size: 0.74rem; color: rgba(255, 255, 255, 0.5); line-height: 2; }

/* ---------- 下部固定コンバージョンバー ---------- */
.cv-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  min-height: var(--cvbar-h);
  background: rgba(21, 24, 31, 0.97);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 10px 20px;
  transform: translateY(110%);
  transition: transform 0.3s ease;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
}
.cv-bar.is-shown { transform: none; }
.cv-bar__campaign { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.5; }
.cv-bar__campaign span {
  display: block;
  font-size: 0.68rem;
  color: #e8b7bc;
  letter-spacing: 0.14em;
}
.cv-bar__campaign s { color: rgba(255, 255, 255, 0.55); }
.cv-bar__campaign strong { font-family: var(--font-en); font-weight: 600; font-size: 1.3rem; color: #fff; margin-left: 4px; }
.cv-bar__actions { display: flex; align-items: center; gap: 12px; }
.cv-bar__btn { font-size: 0.95rem; padding: 13px 34px; }
.cv-bar__tel {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ---------- hero entrance (CSS only / JS非依存) ---------- */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.hero__inner > * { animation: heroIn 0.8s ease both; }
.hero__inner > *:nth-child(2) { animation-delay: 0.12s; }
.hero__inner > *:nth-child(3) { animation-delay: 0.24s; }
.hero__inner > *:nth-child(4) { animation-delay: 0.36s; }
.hero__inner > *:nth-child(5) { animation-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__inner > * { animation: none; }
  .cv-bar { transition: none; }
}

/* ==========================================================
   タブレット (768px〜1023px)
   ========================================================== */
@media (max-width: 1023px) {
  .gnav { display: none; }
  .header__cta { margin-left: auto; }
  .worry__grid { grid-template-columns: 1fr; gap: 36px; }
  .feature { grid-template-columns: 1fr; gap: 30px; margin-bottom: 72px; }
  .feature--reverse .feature__photo { order: 0; }
  .feature--reverse .feature__body { order: 1; }
  .result__photos { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .price__grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; margin-bottom: 64px; }
  .facility__grid { grid-template-columns: 1fr 1fr; }
  .facility__card { grid-column: 1 / -1; }
  .access__grid { grid-template-columns: 1fr; }
  .mvv__grid { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: none; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ==========================================================
   スマートフォン (〜767px)
   ========================================================== */
@media (max-width: 767px) {
  :root { --header-h: 60px; --cvbar-h: 72px; }
  body { font-size: 15px; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
  .section { padding: 72px 20px; }

  .header__cta { display: none; }
  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    width: 46px; height: 46px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.25s ease; }
  .menu-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .menu-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .sp-menu {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    z-index: 99;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(21, 24, 31, 0.15);
  }
  .sp-menu.is-open { display: block; }
  .sp-menu ul { padding: 12px 24px 24px; }
  .sp-menu li { border-bottom: 1px solid var(--line); }
  .sp-menu li:last-child { border-bottom: none; }
  .sp-menu a { display: block; padding: 15px 4px; font-weight: 700; font-size: 0.98rem; }
  .sp-menu__cta { color: var(--red); }

  .hero { min-height: 82vh; padding-bottom: 60px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }

  .worry__answer { font-size: 1.15rem; }
  .cta-band { padding: 60px 20px; }
  .cta-band__actions { flex-direction: column; gap: 20px; }
  .cta-band__actions .btn { width: 100%; }
  .cta-band__tel { text-align: center; align-items: center; }

  .trust__value { font-size: 2rem; }
  .facility__grid { grid-template-columns: 1fr; }
  .facility__photo img { height: 220px; }
  .flow__step { padding-left: 58px; }
  .flow__num { width: 40px; height: 40px; font-size: 1rem; }
  .flow__step::before { left: 19px; }
  .access__map iframe { height: 300px; }
  .contact__tel-number { font-size: 1.7rem; }
  .contact__channels { grid-template-columns: 1fr; gap: 14px; }
  .line-fab { font-size: 0.82rem; padding: 11px 16px; right: 12px; }
  .slots { min-width: 760px; }
  .compare__table th, .compare__table td { padding: 13px 12px; font-size: 0.85rem; }

  .cv-bar { gap: 12px; padding: 9px 12px; }
  .cv-bar__campaign { font-size: 0.78rem; }
  .cv-bar__campaign strong { font-size: 1.05rem; }
  .cv-bar__btn { font-size: 0.85rem; padding: 12px 18px; white-space: nowrap; }
  .cv-bar__tel { display: flex; flex-shrink: 0; }
}
