/* =========================================================
   羽子板アレンジレッスン LP  ―  デザイン
   色を変えたいときは、下の :root の色コードだけ変えればOK
   ========================================================= */
:root {
  --ivory: #FAF7F2;
  --greige: #DCD3CA;
  --pink: #D8B5BC;
  --rose: #B98996;
  --gold: #B79A6A;
  --ink: #51443F;

  --ink-soft: #7a6c66;
  --pink-pale: #F3E8E8;
  --line: rgba(183, 154, 106, .55);

  --mincho: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --gutter: 20px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
  font-feature-settings: "palt" 0;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}
/* 和紙のようなごく薄い質感 */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .32 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 500; margin: 0; line-height: 1.6; letter-spacing: .08em; }

.sp { display: inline; }
.pc { display: none; }
@media (min-width: 768px) { .sp { display: none; } .pc { display: inline; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* 未入力の目印（公開前に埋めます） */
.todo {
  display: inline-block;
  padding: 0 .5em;
  background: #fff3c4;
  color: #8a6a1f;
  font-size: .9em;
  border-radius: 2px;
  letter-spacing: .02em;
}

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- 梅・水引 ---------- */
.ume { color: var(--pink); display: inline-block; vertical-align: middle; }
.ume--sm { width: 16px; height: 16px; margin-right: 6px; }
.ume--lg { width: 34px; height: 34px; margin-bottom: 18px; }
.mizuhiki { display: block; width: 110px; height: 22px; color: var(--gold); margin: 0 auto; opacity: .85; }

/* ---------- ヘッダー ---------- */
.site-header { padding: 14px var(--gutter); }
.site-header__inner { max-width: 1080px; margin: 0 auto; }
.site-header__logo { margin: 0; font-family: var(--mincho); font-size: 13px; letter-spacing: .14em; color: var(--ink-soft); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px;
  width: 100%; max-width: 360px;
  padding: 14px 28px;
  background: var(--rose);
  color: #fff;
  font-family: var(--gothic);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .1em;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 18px -10px rgba(120, 70, 85, .7);
  transition: background .25s, transform .25s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: ""; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); margin-left: .2em;
}
.btn:hover { background: #a87885; transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(120, 70, 85, .8); }
.btn--lg { max-width: 400px; font-size: 14.5px; letter-spacing: .05em; padding: 14px 20px; white-space: nowrap; }
@media (min-width: 400px) { .btn--lg { font-size: 15.5px; letter-spacing: .08em; } }
.btn.is-disabled { background: var(--greige); color: var(--ink-soft); box-shadow: none; cursor: not-allowed; transform: none; }
.btn.is-disabled::after { display: none; }
.btn-note { margin: 10px 0 0; font-size: 11.5px; color: var(--ink-soft); letter-spacing: .04em; }

.cta-inline { text-align: center; margin-top: 48px; }

.text-link { color: var(--rose); text-underline-offset: 4px; font-size: 14px; }

/* ---------- 写真の枠（未設定時は「写真準備中」） ---------- */
.ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background-color: #EFE9E2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23B79A6A' stroke-opacity='.22' stroke-width='.8'%3E%3Cpath d='M28 0v32.3M0 16.2l28 16.1 28-16.1M0 48.5l28-16.2 28 16.2M28 32.3v32.4M0 80.8l28-16.1 28 16.1M28 64.7V97M0 16.2v64.6M56 16.2v64.6M0 16.2L28 0l28 16.2M0 80.8L28 97l28-16.2M0 48.5l28 16.2 28-16.2'/%3E%3C/g%3E%3C/svg%3E");
  color: var(--ink-soft);
  text-align: center;
}
.ph__mark { font-family: var(--mincho); font-size: 13px; letter-spacing: .3em; color: var(--gold); }
.ph__text { font-size: 12px; letter-spacing: .1em; }
[data-photo], .about-gallery__item, .gallery__frame { position: relative; overflow: hidden; margin: 0; background: #EFE9E2; }
[data-photo] img, .about-gallery__item img, .gallery__frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- SECTION 1 ファーストビュー ---------- */
.hero { padding: 12px 0 64px; }
.hero__inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; gap: 28px;
  grid-template-areas: "text" "photo" "cta";
}
.hero__text { grid-area: text; padding: 8px var(--gutter) 0; }
.hero__photo { grid-area: photo; aspect-ratio: 4 / 5; margin: 0 var(--gutter); border-radius: 2px; }
.hero__photo::after { /* 細い金のライン */
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(255, 255, 255, .7);
  pointer-events: none;
}
.hero__photo.is-empty::after { border-color: var(--line); }
.hero__cta { grid-area: cta; text-align: center; padding: 0 var(--gutter); }

.hero__eyebrow { font-family: var(--mincho); font-size: 11px; letter-spacing: .28em; color: var(--gold); margin-bottom: 14px; }
.hero__title { font-size: clamp(28px, 8.2vw, 46px); line-height: 1.65; letter-spacing: .12em; font-weight: 500; }
.hero__sub { margin: 20px 0 0; font-size: 14px; line-height: 2; color: var(--ink-soft); }
.hero__sub span { display: inline-block; margin-top: 4px; font-family: var(--mincho); font-size: 16px; color: var(--ink); letter-spacing: .14em; border-bottom: 1px solid var(--line); padding-bottom: 2px; }

.news-pill {
  display: inline-block;
  margin: 0 0 20px;
  padding: 10px 22px;
  background: var(--pink-pale);
  color: #8d5f6b;
  font-size: 13.5px; line-height: 1.7; font-weight: 500;
  border-radius: 999px;
}

@media (min-width: 900px) {
  .hero { padding: 24px 0 96px; }
  .hero__inner {
    grid-template-columns: 1fr 1.05fr; column-gap: 64px; row-gap: 32px;
    grid-template-areas: "text photo" "cta photo";
    padding: 0 var(--gutter);
    align-items: end;
  }
  .hero__text { padding: 0; align-self: end; }
  .hero__photo { margin: 0; aspect-ratio: 4 / 5; max-height: 86vh; }
  .hero__cta { text-align: left; padding: 0; align-self: start; }
}

/* ---------- 共通セクション ---------- */
.section { padding: 88px 0; }
@media (min-width: 768px) { .section { padding: 120px 0; } }

.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head__en { font-family: var(--mincho); font-size: 11px; letter-spacing: .3em; color: var(--gold); margin-bottom: 8px; text-transform: uppercase; }
.sec-head__title { font-size: clamp(21px, 5.6vw, 28px); }
.sec-head__title::after {
  content: ""; display: block; width: 28px; height: 1px; background: var(--gold); margin: 18px auto 0; opacity: .7;
}

.lead { text-align: center; color: var(--ink); margin-top: 44px; font-size: 14.5px; }

/* ---------- SECTION 2 おすすめ ---------- */
.section--worry { background: #fff; }
.worry-list { list-style: none; margin: 0 auto; padding: 0; max-width: 520px; }
.worry-list li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px dashed var(--greige);
  line-height: 1.8;
}
.worry-list li::before {
  content: ""; position: absolute; left: 4px; top: 50%;
  width: 16px; height: 16px; margin-top: -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23D8B5BC'%3E%3Ccircle cx='20' cy='9.5' r='7.2'/%3E%3Ccircle cx='30' cy='16.8' r='7.2'/%3E%3Ccircle cx='26.2' cy='28.5' r='7.2'/%3E%3Ccircle cx='13.8' cy='28.5' r='7.2'/%3E%3Ccircle cx='10' cy='16.8' r='7.2'/%3E%3C/g%3E%3Ccircle cx='20' cy='20' r='4' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- SECTION 3 とは？ ---------- */
.about { max-width: 640px; margin: 0 auto; text-align: center; }
.scene-list { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.scene-list li {
  font-family: var(--mincho); font-size: 13.5px; letter-spacing: .12em;
  padding: 4px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .6);
}
.about-gallery {
  margin-top: 52px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 8px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.about-gallery::-webkit-scrollbar { display: none; }
.about-gallery__item { aspect-ratio: 3 / 4; scroll-snap-align: center; border-radius: 2px; }
@media (min-width: 768px) {
  .about-gallery { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 64px 0 0; padding: 0; gap: 20px; }
}

/* ---------- SECTION 4 リニューアル ---------- */
.section--renewal {
  background-color: var(--pink-pale);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23B98996' stroke-opacity='.12' stroke-width='.8'%3E%3Cpath d='M28 0v32.3M0 16.2l28 16.1 28-16.1M0 48.5l28-16.2 28 16.2M28 32.3v32.4M0 80.8l28-16.1 28 16.1M28 64.7V97M0 16.2v64.6M56 16.2v64.6M0 16.2L28 0l28 16.2M0 80.8L28 97l28-16.2M0 48.5l28 16.2 28-16.2'/%3E%3C/g%3E%3C/svg%3E");
}
.renewal {
  position: relative;
  background: var(--ivory);
  padding: 52px 24px 48px;
  text-align: center;
  border-radius: 2px;
}
.renewal::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none; }
.renewal__label { font-family: var(--mincho); font-size: 11px; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.renewal__title { font-size: clamp(22px, 6vw, 30px); margin-bottom: 20px; }
.renewal__list { list-style: none; padding: 0; margin: 32px auto 36px; max-width: 460px; text-align: left; }
.renewal__list li { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--greige); line-height: 1.8; }
.renewal__list li:first-child { border-top: 1px solid var(--greige); }
.renewal__list strong { font-weight: 500; color: #8d5f6b; background: linear-gradient(transparent 62%, rgba(216, 181, 188, .45) 62%); }
.renewal__num { font-family: var(--mincho); color: var(--gold); font-size: 14px; letter-spacing: .08em; flex: none; }
.renewal__text { font-size: 14.5px; }
@media (min-width: 768px) { .renewal { padding: 72px 56px 64px; } }

/* ---------- SECTION 5 ストーリー ---------- */
.story { display: grid; gap: 36px; max-width: 960px; margin: 0 auto; }
.story__photo { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; margin: 0 auto; border-radius: 2px; }
.story__body { font-size: 14.5px; }
.story__quote {
  margin: 28px 0; padding: 4px 0 4px 20px;
  border-left: 1px solid var(--gold);
  font-family: var(--mincho); font-size: clamp(17px, 4.6vw, 21px); line-height: 1.9; letter-spacing: .1em;
}
@media (min-width: 900px) {
  .story { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
}

/* ---------- SECTION 6 広がり ---------- */
.section--stats { background: #fff; }
.stats { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 0; max-width: 960px; }
.stat { text-align: center; padding: 32px 12px; border-bottom: 1px solid var(--greige); }
.stat:last-child { border-bottom: 0; }
.stat__label { font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; letter-spacing: .1em; }
.stat__num { font-family: var(--mincho); font-size: 15px; margin: 0; color: var(--ink); }
.stat__num span { font-size: 52px; color: var(--gold); letter-spacing: .02em; margin-right: 4px; line-height: 1.3; }
.stat__num--word { font-size: 28px; color: var(--gold); letter-spacing: .06em; line-height: 1.6; }
.stat__note { font-size: 13px; color: var(--ink-soft); margin-top: 4px; line-height: 1.7; }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { border-bottom: 0; border-right: 1px solid var(--greige); padding: 16px 12px; }
  .stat:last-child { border-right: 0; }
}

/* ---------- SECTION 7 ギャラリー ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter {
  font: inherit; font-size: 13px; letter-spacing: .08em;
  padding: 6px 16px; min-height: 36px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--greige); border-radius: 999px; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.filter[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
.gallery__item { margin: 0; }
.gallery__item[hidden] { display: none; }
.gallery__frame { aspect-ratio: 3 / 4; border-radius: 2px; }
.gallery__frame[role="button"] { cursor: zoom-in; }
.gallery__frame img { transition: transform .6s ease; }
.gallery__frame[role="button"]:hover img { transform: scale(1.03); }
.gallery__cap { font-size: 12.5px; line-height: 1.7; margin-top: 10px; }
.gallery__cat { display: block; font-family: var(--mincho); font-size: 11px; color: var(--gold); letter-spacing: .14em; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; } .gallery__cap { font-size: 13.5px; } }

/* ---------- SECTION 8 レッスン ---------- */
.section--lesson { background: #fff; }
.lesson-table { margin: 0; border-top: 1px solid var(--line); }
.lesson-table__row { padding: 18px 4px; border-bottom: 1px solid var(--greige); }
.lesson-table dt { font-family: var(--mincho); font-size: 13px; color: var(--gold); letter-spacing: .12em; margin-bottom: 2px; }
.lesson-table dd { margin: 0; font-size: 15px; line-height: 1.9; }
.lesson-table dd p { margin-bottom: .6em; }
@media (min-width: 768px) {
  .lesson-table__row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 8px; }
  .lesson-table dt { margin: 0; padding-top: 2px; }
}

/* ---------- SECTION 9 FAQ ---------- */
.faq__item { border-bottom: 1px solid var(--greige); }
.faq__item:first-child { border-top: 1px solid var(--greige); }
.faq__q {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 20px 4px;
  cursor: pointer; list-style: none;
  line-height: 1.8; font-weight: 500;
  -webkit-tap-highlight-color: transparent;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__qtext { flex: 1; }
.faq__mark { font-family: var(--mincho); color: var(--gold); font-size: 17px; line-height: 1.55; flex: none; width: 1em; }
.faq__mark--a { color: var(--rose); }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; margin-top: 7px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: var(--ink-soft); transition: transform .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { display: flex; gap: 12px; padding: 0 4px 24px; font-size: 14.5px; line-height: 1.9; }
.faq__item[open] .faq__a { animation: faqIn .35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- SECTION 10 講師 ---------- */
.teacher { display: grid; gap: 28px; justify-items: center; }
.teacher__photo { width: 200px; aspect-ratio: 1; border-radius: 50%; }
.teacher__photo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.teacher__body { text-align: left; max-width: 560px; font-size: 14.5px; }
.teacher__title { text-align: center; font-size: 12px; color: var(--gold); letter-spacing: .16em; margin-bottom: 2px; }
.teacher__name { text-align: center; font-family: var(--mincho); font-size: 22px; letter-spacing: .14em; margin-bottom: 24px; }
.teacher__bio p { margin-bottom: 1.1em; }
.teacher__profile { margin-top: 20px; font-size: 13.5px; color: var(--ink-soft); }
.teacher__sns { text-align: center; margin-top: 20px; }
@media (min-width: 768px) {
  .teacher { grid-template-columns: 220px 1fr; gap: 56px; align-items: start; justify-items: stretch; }
  .teacher__photo { width: 220px; }
  .teacher__title, .teacher__name, .teacher__sns { text-align: left; }
  .teacher:has(.teacher__photo[hidden]) { grid-template-columns: 1fr; justify-items: center; }
  .teacher:has(.teacher__photo[hidden]) :is(.teacher__title, .teacher__name, .teacher__sns) { text-align: center; }
}

/* ---------- SECTION 11 最後 ---------- */
.section--final { background: linear-gradient(180deg, var(--ivory), var(--pink-pale)); }
.final { text-align: center; font-size: 14.5px; }
.final__title { font-size: clamp(21px, 5.8vw, 28px); margin-bottom: 32px; }
.final__voice { font-family: var(--mincho); font-size: 18px; color: #8d5f6b; letter-spacing: .14em; line-height: 2.1; }
.final .btn { margin-top: 28px; }

/* ---------- フッター ---------- */
.site-footer { text-align: center; padding: 48px var(--gutter) 110px; background: var(--pink-pale); color: var(--ink-soft); }
.site-footer__name { font-family: var(--mincho); margin: 16px 0 4px; letter-spacing: .14em; font-size: 14px; color: var(--ink); }
.site-footer__copy { font-size: 11px; letter-spacing: .08em; }
@media (min-width: 768px) { .site-footer { padding-bottom: 56px; } }

/* ---------- スマホ下部の固定ボタン ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; justify-content: center;
  background: linear-gradient(180deg, rgba(250, 247, 242, 0), rgba(250, 247, 242, .92) 40%);
  transform: translateY(110%);
  transition: transform .35s ease;
  pointer-events: none;
}
.sticky-cta.is-show { transform: none; }
.sticky-cta.is-show .sticky-cta__btn { pointer-events: auto; }
.sticky-cta__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 28px;
  background: var(--rose); color: #fff; text-decoration: none;
  font-size: 13.5px; letter-spacing: .1em; font-weight: 500;
  border-radius: 999px;
  box-shadow: 0 6px 16px -8px rgba(120, 70, 85, .7);
}
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- 拡大表示 ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(50, 40, 38, .82); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox__caption { color: #fff; text-align: center; font-size: 13px; margin-top: 10px; }
.lightbox__close {
  position: absolute; top: -44px; right: 0;
  width: 40px; height: 40px; border: 0; background: transparent; color: #fff; font-size: 26px; cursor: pointer;
}

/* ---------- ふわっと表示 ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
