/* ==========================================================
   木下道場 - style.css
   ========================================================== */

:root {
  --gold: #f6b72e;
  --gold-light: #fbd77a;
  --gold-pale: #fff6df;
  --ink: #2a1d10;
  --ink-soft: #4a3a28;
  --text: #333;
  --muted: #6b6155;
  --bg: #fdfaf4;
  --white: #fff;
  --line: #e9e0d0;
  --accent: #1f4f8f;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(60, 40, 10, 0.08);
  --font-brush: "Yuji Boku", "Zen Old Mincho", serif;
  /* 道場名（HG教科書体に近い教科書体） */
  --font-logo: "HG教科書体", "HGKyokashotai", "Klee One", "Zen Old Mincho", serif;
  --font-serif: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container { width: min(1100px, 100% - 40px); margin-inline: auto; }
.section { padding: 72px 0; }
.brush { font-family: var(--font-logo); font-weight: 600; font-synthesis: none; }
.logo-sub { display: block; font-size: .42em; letter-spacing: .12em; margin-bottom: .3em; }
.accent { color: var(--accent); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .8em 1.8em;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.3;
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
.btn::after {
  content: "";
  width: .45em; height: .45em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: .4em;
}
.btn--primary { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 #d9971a; }
.btn:active { transform: translateY(2px); }
.btn--primary:active { box-shadow: 0 2px 0 #d9971a; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--primary:hover { box-shadow: 0 6px 0 #d9971a; }
}
.btn--dark { background: var(--ink); color: var(--white); }
.btn--sm { padding: .55em 1.4em; font-size: .9rem; }
.btn--lg { padding: 1em 2.4em; font-size: 1.05rem; }

/* ---------- Section titles ---------- */
.section-title {
  position: relative;
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  color: var(--ink);
  margin-bottom: 32px;
  padding-bottom: 10px;
  letter-spacing: .05em;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 8px;
  background: var(--gold);
  border-radius: 50% 40% 60% 30% / 60% 50% 50% 40%;
  opacity: .85;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 2px 16px rgba(0, 0, 0, .08); }
.header__inner {
  height: 100%;
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo { font-size: 1.9rem; color: var(--ink); line-height: 1; letter-spacing: .04em; }
/* 道場名：HG教科書体で書き出した画像（スマホ等フォントが無い端末でも同じ見た目にするため） */
.logo-img { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.logo-img img { width: auto; }
.logo-img__sub { height: 11px; }
.logo-img__main { height: 27px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 32px; font-size: .92rem; font-weight: 500; }
.nav__list a { position: relative; padding: 4px 0; }
.nav__list a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav__list a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: none; background: none; cursor: pointer;
  position: relative;
}
.hamburger span {
  position: absolute; left: 10px;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  padding-top: var(--header-h);
  overflow: hidden;
  background: #f7efe0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: #fdf8ee;
}
/* トップ写真（縦長写真のため右側に配置し、左端をぼかして背景になじませる） */
.hero__bg::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(58%, 720px);
  background: url("../images/hero-top.jpg") center 8% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
/* 筆で描いたような金色の円 */
.hero__bg::before {
  content: "";
  position: absolute;
  left: -120px; top: 40px;
  width: 720px; height: 720px;
  border-radius: 50%;
  border: 46px solid rgba(246, 183, 46, .28);
  border-right-color: transparent;
  border-bottom-color: rgba(246, 183, 46, .12);
  transform: rotate(-20deg);
  filter: blur(1px);
}
.hero__inner {
  position: relative;
  width: min(1200px, 100% - 40px);
  margin-inline: auto;
  min-height: calc(640px - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero__content { padding: 48px 0; }
.hero__title {
  font-size: clamp(4.5rem, 12vw, 9rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: .02em;
  margin-bottom: 24px;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .6);
}
.hero__title--img { display: flex; flex-direction: column; align-items: flex-start; gap: .14em; }
.hero__title--img img { width: auto; max-width: 100%; }
.hero__title-sub-img { height: .22em; margin-left: .06em; }
.hero__title-main-img { height: .86em; }
.hero__title-sub {
  display: block;
  font-size: .26em;
  letter-spacing: .14em;
  margin: 0 0 .3em .1em;
}
/* 新オープン告知 */
.hero__open {
  display: inline-flex;
  align-items: baseline;
  gap: .2em;
  margin-bottom: 20px;
  padding: .35em 1.2em .4em;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .06em;
  box-shadow: 0 4px 0 #d9971a;
  transform: rotate(-2deg);
}
.hero__open strong { font-family: var(--font-serif); font-size: 1.5em; line-height: 1; }
.hero__catch {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.8vw, 1.9rem);
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 16px;
}
.hero__place {
  display: flex; align-items: center; gap: 6px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
/* 写真の右端に固定（画面幅が広くても人物に重ならないように） */
.hero__poem {
  position: absolute;
  top: calc(var(--header-h) + 40px);
  right: 28px;
  writing-mode: horizontal-tb;
  font-family: var(--font-brush);
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
  transform: rotate(-4deg);
}

/* ---------- About ---------- */
.about {
  background:
    radial-gradient(circle at 10% 90%, rgba(246, 183, 46, .12), transparent 40%),
    var(--white);
}
.lead-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--ink);
  margin-bottom: 48px;
  padding-bottom: 12px;
  position: relative;
  display: inline-block;
}
.lead-title::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 80px; height: 6px;
  background: var(--gold);
  border-radius: 6px;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.about__text p { font-size: 1.02rem; }
.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.style-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  text-align: center;
}
.style-card__icon { width: 110px; margin: 0 auto 8px; }
.style-card__icon .ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 9;
  stroke-dasharray: 280 60;
  stroke-linecap: round;
  opacity: .75;
}
.style-card__icon .figure { fill: #5a3816; }
.style-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
}
.style-card p { font-size: .9rem; color: var(--muted); text-align: left; }

/* ---------- Fun ---------- */
.fun { background: var(--bg); }
.fun__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fun-card__title {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.fun-card__title svg { width: 36px; height: 36px; fill: var(--gold); flex-shrink: 0; }
.fun-card__img {
  border-radius: 46% 54% 42% 58% / 18% 22% 20% 24%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 0 0 8px var(--gold-pale);
}
.fun-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
@media (hover: hover) {
  .fun-card:hover .fun-card__img img { transform: scale(1.05); }
}
.fun__note { text-align: center; margin: 36px 0 48px; font-weight: 500; }

.insta-banner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 40px 48px 40px 220px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(42, 29, 16, .35) 0%, rgba(42, 29, 16, .82) 35%, rgba(42, 29, 16, .82) 100%),
    url("../images/S__151273482_0.jpg") center 45% / cover;
}
.insta-banner__text h3 { font-family: var(--font-serif); font-size: 1.6rem; letter-spacing: .08em; }
.insta-banner__text p { font-size: .9rem; opacity: .9; }
.insta-banner .btn { flex-shrink: 0; }

/* ---------- Instructors ---------- */
.instructors { background: var(--white); }
.instructors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.instructor {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.instructor__head { display: flex; gap: 24px; align-items: flex-start; }
.instructor__photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
  border: 5px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold-light);
}
.instructor__name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
}
.instructor__name rt { font-family: var(--font-sans); font-size: .55rem; font-weight: 500; color: var(--muted); }
.instructor__role {
  font-size: .9rem;
  font-weight: 700;
  margin-right: .6em;
  vertical-align: middle;
}
.instructor__career li {
  font-size: .9rem;
  padding-left: 1em;
  text-indent: -1em;
}
.instructor__career li::before { content: "・"; color: var(--gold); font-weight: 700; }
.instructor__message {
  background: var(--gold-pale);
  border-radius: 10px;
  padding: 16px 20px;
  font-weight: 500;
  position: relative;
}
.instructor__message::before {
  content: "";
  position: absolute;
  top: -10px; left: 60px;
  border: 10px solid transparent;
  border-top: 0;
  border-bottom-color: var(--gold-pale);
}

/* ---------- Schedule ---------- */
.schedule {
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 183, 46, .14), transparent 35%),
    var(--bg);
}
.schedule__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.schedule__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.schedule__table th,
.schedule__table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.schedule__table tr:last-child th,
.schedule__table tr:last-child td { border-bottom: none; }
.schedule__table th {
  width: 120px;
  background: var(--gold-pale);
  font-weight: 700;
  color: var(--ink);
  border-right: 1px solid var(--line);
}
.schedule__table td { font-variant-numeric: tabular-nums; font-size: 1rem; }
.slots { display: grid; grid-template-columns: repeat(2, max-content); gap: 2px 28px; }
/* 第5週お休み：目立たせる */
.schedule__off {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .06em;
}
.schedule__off::before {
  content: "休";
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1rem;
}
.schedule__note { margin-top: 12px; font-size: .88rem; color: var(--muted); }

.price { display: flex; flex-direction: column; gap: 20px; }
.price__main { display: flex; flex-direction: column; align-items: center; }
.price__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.price__title small { font-size: .6em; font-weight: 700; }
.price__list { display: flex; flex-direction: column; gap: 6px; }
.price__list li { display: flex; align-items: center; gap: 16px; }
.price__badge {
  display: inline-block;
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: 2px 18px;
  font-weight: 700;
  background: var(--white);
}
.price__amount {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  background: linear-gradient(transparent 70%, var(--gold-light) 70%);
  display: inline-block;
  padding: 0 8px;
}
.price__amount strong { font-size: 2.4rem; margin: 0 4px; letter-spacing: .02em; }
.price__pay { margin-top: 12px; font-size: .82rem; color: var(--muted); line-height: 1.7; }
.price__free-note { font-size: .82rem; color: var(--muted); }
.price__label { font-size: 1.1rem; font-weight: 700; margin-right: 8px; }
.price__free {
  background: var(--gold-pale);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.price__free .price__label { margin: 0; }
.price__zero {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
}
.price__zero strong { font-size: 3.4rem; line-height: 1.1; }
.price__zero::before,
.price__zero::after {
  content: "＼";
  color: var(--gold);
  margin: 0 12px;
  font-size: 1.6rem;
}
.price__zero::after { content: "／"; }

/* ---------- Procedures ---------- */
.procedures { background: var(--white); }
.procedures__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.proc-card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  font-size: .93rem;
}
.proc-card__title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.proc-card__icon {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.proc-card__note { margin-top: 6px; font-size: .85rem; color: var(--muted); }

.rules {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 8px 32px;
}
.rules__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.rules__item:last-child { border-bottom: none; }
.rules dt { font-weight: 700; color: var(--ink); }
.rules dt::before { content: "■"; color: var(--gold); margin-right: .4em; }
.rules dd { font-size: .93rem; display: flex; flex-direction: column; gap: 6px; }
.rules__mark { font-weight: 700; color: var(--ink); margin-left: .5em; }
.rules__sub { color: var(--muted); }
.rules__sub a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Access & FAQ ---------- */
.access-faq { background: var(--white); }
.access-faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.access__body { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.access__pin { width: 44px; height: 44px; fill: var(--ink-soft); flex-shrink: 0; }
.access__lead { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.access__map {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}
.access__map iframe { width: 100%; height: 100%; border: 0; }
.access__btn { margin-top: 20px; }
@media (max-width: 640px) {
  .access__btn { width: 100%; }
}

.faq__list { display: flex; flex-direction: column; gap: 16px; }
.faq__item {
  background: var(--bg);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.faq__item dt { font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.faq__item dd { display: flex; gap: 12px; font-size: .93rem; color: var(--ink-soft); }
.faq__q,
.faq__a {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
  font-size: .9rem;
}
.faq__q { background: var(--gold); color: var(--ink); }
.faq__a { background: var(--white); color: var(--ink); border: 2px solid var(--gold-light); }

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(circle at 92% 50%, rgba(255, 255, 255, .25), transparent 25%),
    var(--gold);
  padding: 48px 20px;
}
.cta__inner {
  width: min(900px, 100%);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: center; gap: 56px;
  flex-wrap: wrap;
}
.cta__text { text-align: center; color: var(--ink); }
.cta__sub { font-weight: 700; }
.cta__main {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: .08em;
  position: relative;
}
.cta__main::before,
.cta__main::after {
  content: "";
  position: absolute; top: 50%;
  width: 22px; height: 3px;
  background: var(--ink);
  border-radius: 3px;
}
.cta__main::before { left: -36px; transform: rotate(60deg); }
.cta__main::after { right: -36px; transform: rotate(-60deg); }

/* ---------- Footer ---------- */
.footer {
  background:
    repeating-radial-gradient(circle at 0 100%, transparent 0 18px, rgba(255, 255, 255, .04) 18px 20px),
    #1d1d1d;
  color: var(--white);
  text-align: center;
  padding: 48px 20px 24px;
}
.footer__logo { font-size: 3rem; line-height: 1; margin-bottom: 20px; }
.footer__insta {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  margin-bottom: 16px;
  font-size: .9rem;
  color: var(--gold-light);
}
.footer__copy { font-size: .8rem; opacity: .6; }

/* ---------- スマホ用 固定バー（PCでは非表示） ---------- */
.sp-only { display: none; }
.sp-bar { display: none; }

/* ---------- Fade-in ---------- */
/* JSが動く環境でだけ隠す（プレビュー等でJSが止まっても内容は見える） */
.js .fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 960px) {
  .about__grid,
  .schedule__grid,
  .access-faq__grid { grid-template-columns: 1fr; }
  .instructors__grid { grid-template-columns: 1fr; }
  .hero__poem { display: none; }
  .procedures__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) and (min-width: 861px) {
  .nav { gap: 24px; }
  .nav__list { gap: 20px; }
}

@media (max-width: 860px) {
  .hamburger { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 28px;
    background: var(--white);
    box-shadow: 0 16px 24px rgba(0, 0, 0, .12);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; font-size: 1.05rem; }
  .nav__list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav__list a::after {
    position: static;
    width: 8px; height: 8px;
    background: none;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    transform: rotate(45deg);
  }
  .nav .btn { margin-top: 24px; padding: 1em; font-size: 1rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open::before {
    content: "";
    position: fixed; inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, .35);
  }
}

@media (max-width: 640px) {
  :root { --header-h: 58px; }
  body { font-size: 15px; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .container { width: calc(100% - 40px); }
  .section { padding: 56px 0; }
  .sp-only { display: inline; }
  .header__logo { font-size: 1.45rem; }
  .header__logo .logo-sub { font-size: .5em; letter-spacing: .08em; }
  .logo-img { gap: 4px; }
  .logo-img__sub { height: 9px; }
  .logo-img__main { height: 22px; }
  .header__inner { width: calc(100% - 32px); }
  .section-title { margin-bottom: 24px; }

  /* Hero：写真を上、文字を下に分けて読みやすく */
  .hero { min-height: auto; background: var(--bg); }
  .hero__bg {
    position: relative;
    inset: auto;
    height: 88vw;
    background: none;
  }
  .hero__bg::after {
    width: 100%;
    background-position: center 20%;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .hero__bg::before { display: none; }
  .hero__inner { min-height: auto; width: calc(100% - 40px); }
  .hero__content { position: relative; padding: 0 0 40px; margin-top: -14vw; width: 100%; }
  .hero__title { font-size: 19vw; margin-bottom: 16px; white-space: nowrap; letter-spacing: 0; }
  .hero__catch { font-size: 1.2rem; margin-bottom: 12px; }
  .hero__place { margin-bottom: 24px; font-size: .95rem; }
  .hero__content .btn { width: 100%; }

  .lead-title { font-size: 1.25rem; margin-bottom: 32px; line-height: 1.6; }
  .about__grid { gap: 28px; }
  .about__cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .style-card { padding: 20px 14px; }
  .style-card__icon { width: 80px; }
  .style-card__title { font-size: 1.25rem; margin-bottom: 4px; }
  .style-card p { font-size: .82rem; line-height: 1.7; }

  /* まずは楽しく：横スワイプ */
  .fun__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -20px;
    padding: 0 20px 12px;
    scrollbar-width: none;
  }
  .fun__grid::-webkit-scrollbar { display: none; }
  .fun-card { scroll-snap-align: center; }
  .fun-card__title { font-size: 1rem; }
  .fun-card__title svg { width: 28px; height: 28px; }
  .fun__note { margin: 24px 0 36px; font-size: .95rem; line-height: 1.9; }

  .insta-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
    gap: 18px;
    background:
      linear-gradient(rgba(42, 29, 16, .78), rgba(42, 29, 16, .78)),
      url("../images/S__151273482_0.jpg") center / cover;
  }
  .insta-banner__text h3 { font-size: 1.35rem; }
  .insta-banner .btn { width: 100%; }

  .instructors__grid { gap: 24px; }
  .instructor { padding: 24px 20px; }
  .instructor__head { flex-direction: column; align-items: center; gap: 16px; }
  .instructor__photo { width: 140px; height: 140px; }
  .instructor__info { width: 100%; }
  .instructor__name { text-align: center; font-size: 1.5rem; }
  .instructor__message::before { left: 50%; transform: translateX(-50%); }

  .schedule__table th { width: 64px; padding: 14px 8px; text-align: center; font-size: .95rem; }
  .schedule__table td { padding: 14px 14px; font-size: .95rem; }
  .slots { gap: 4px 16px; }
  .price__amount strong { font-size: 2.2rem; }
  .price__zero strong { font-size: 3rem; }
  .schedule__off { font-size: 1rem; }

  .procedures__grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
  .proc-card { padding: 18px; }
  .proc-card__title { font-size: 1.2rem; margin-bottom: 8px; }
  .proc-card__icon { width: 38px; height: 38px; font-size: 1rem; }
  .rules { padding: 4px 18px; }
  .rules__item { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }

  .access__map { aspect-ratio: 4 / 3; }
  .access-faq__grid { gap: 48px; }
  .faq__item { padding: 16px; }

  .cta { padding: 40px 20px; }
  .cta__inner { flex-direction: column; gap: 20px; }
  .cta__inner .btn { width: 100%; }
  .footer { padding-bottom: 28px; }

  /* 固定お問い合わせバー */
  .sp-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
    transform: translateY(110%);
    transition: transform .3s ease;
  }
  .sp-bar.is-visible { transform: none; }
  .sp-bar a {
    display: grid; place-items: center;
    min-height: 50px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
  }
  .sp-bar__sub { border: 2px solid var(--gold); color: var(--ink); background: var(--white); }
  .sp-bar__main { background: var(--gold); color: var(--ink); box-shadow: 0 3px 0 #d9971a; }
}
