/* smfix-home.css — トップページ(ストーリー構成)専用。2026-10-13 ラフ「20261009_トップページデザイン」準拠。
   すべて .smfix-home 配下にスコープし、他ページへ波及させない。 */
.smfix-home {
  --k-khaki: #8f8869;
  --k-khaki-dark: #6f6950;
  --k-wash: #f6f4ef;
  --k-line: #d8d3c5;
  --k-ink: #34312a;
  --k-muted: #5d594d;
  color: var(--k-ink);
  background: #fff;
  overflow-x: clip;
}
.smfix-home .smfix-pl { white-space: pre-line; }
.smfix-home :is(h1:where(:not([data-sm-h])),:where([data-sm-h="h1"])), .smfix-home :is(h2:where(:not([data-sm-h])),:where([data-sm-h="h2"])), .smfix-home h3 { font-family: 'Zen Old Mincho', serif; font-weight: 500; color: var(--k-ink); letter-spacing: .12em; line-height: 1.7; }
.smfix-home p { line-height: 2.1; letter-spacing: .06em; }
.smfix-home .smfix-en { display: block; font-family: 'Cinzel', serif; font-size: .78rem; letter-spacing: .5em; color: var(--k-khaki-dark); margin: 0 0 1rem; text-transform: uppercase; line-height: 1.6; }
.smfix-home .smfix-h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 1.75rem; }
.smfix-home .smfix-text { font-size: .95rem; color: var(--k-muted); }
.smfix-home .smfix-wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

/* 1. メインビジュアル */
.smfix-hero { position: relative; height: min(calc(100svh - 76px), 760px); min-height: 520px; color: #fff; display: flex; align-items: center; overflow: hidden; background: #2b2a24; }
.smfix-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 70% 40%; }
.smfix-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(28,26,20,.78) 0%, rgba(28,26,20,.55) 38%, rgba(28,26,20,.12) 70%, rgba(28,26,20,0) 100%); }
.smfix-hero__body { position: relative; z-index: 2; width: min(1180px, 100% - 2.5rem); margin-inline: auto; padding-bottom: 4rem; }
.smfix-hero__title { color: #fff !important; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.75; letter-spacing: .16em; margin: 0 0 2rem; }
.smfix-hero__lead { font-size: .95rem; line-height: 2.2; color: rgba(255,255,255,.92); margin: 0 0 2.2rem; max-width: 34em; }
.smfix-hero__en { font-family: 'Cinzel', serif; font-size: .8rem; letter-spacing: .28em; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 1rem; margin: 0; }
.smfix-hero__en::before { content: ""; width: 3rem; height: 1px; background: rgba(255,255,255,.7); }
.smfix-hero__vertical { position: absolute; z-index: 2; right: clamp(1.5rem, 6vw, 6rem); top: 50%; transform: translateY(-58%); writing-mode: vertical-rl; font-family: 'Zen Old Mincho', serif; font-size: 1.05rem; letter-spacing: .5em; line-height: 2.2; color: #fff; text-shadow: 0 0 18px rgba(0,0,0,.45); margin: 0; }
.smfix-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; width: 100%; height: clamp(40px, 6vw, 90px); display: block; pointer-events: none; }
.smfix-wave path { fill: #fff; }
.smfix-wave--wash path { fill: var(--k-wash); }

/* 2. 香道の導入(ABOUT) */
.smfix-intro { position: relative; padding: clamp(6rem, 10vw, 9rem) 0 clamp(6rem, 10vw, 9rem); background: #fff; }
.smfix-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.smfix-intro__media { position: relative; aspect-ratio: 4 / 5; max-height: 640px; width: 100%; }
.smfix-intro__media img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 50% 45%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }

/* 3. 桂雪会について */
.smfix-about { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--k-wash); position: relative; }
.smfix-about__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.smfix-about__media img { width: 100%; aspect-ratio: 3 / 2; height: auto; max-height: none; object-fit: cover; }
.smfix-about__text p + p { margin-top: 1.2rem; }

/* 4. はじめての方へ */
.smfix-first { padding: clamp(7rem, 11vw, 10rem) 0 clamp(4rem, 7vw, 6rem); background: #fff; text-align: center; }
.smfix-first .smfix-h2 { margin-bottom: 2rem; }
.smfix-first__text { max-width: 40em; margin: 0 auto 2.75rem; }
.smfix-first__points { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--k-line); border: 1px solid var(--k-line); }
.smfix-first__points li { background: #fff; padding: 1.6rem 1.25rem; font-size: .9rem; line-height: 1.9; color: var(--k-muted); letter-spacing: .05em; }
.smfix-first__points b { display: block; font-family: 'Zen Old Mincho', serif; font-weight: 500; font-size: 1.02rem; color: var(--k-ink); margin-bottom: .4rem; letter-spacing: .12em; }

/* 5. 学ぶ・体験する */
.smfix-learn { padding: clamp(3rem, 5vw, 4rem) 0 clamp(7rem, 11vw, 10rem); background: #fff; }
.smfix-learn__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.smfix-learn__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.smfix-learn__item { display: flex; flex-direction: column; }
.smfix-learn__item img { width: 100%; aspect-ratio: 3 / 2; height: auto; max-height: none; object-fit: cover; margin-bottom: 1.75rem; }
.smfix-learn__item h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin: 0 0 .9rem; }
.smfix-learn__item p { font-size: .93rem; color: var(--k-muted); margin: 0 0 1.6rem; flex: 1; }
.smfix-learn__item .smfix-btn { align-self: flex-start; }

/* 6. 桂雪会の活動 */
.smfix-event { padding: clamp(6rem, 10vw, 9rem) 0; background: var(--k-wash); }
.smfix-event__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.smfix-event__list { list-style: none; padding: 0; margin: 0 0 2.2rem; border-top: 1px solid var(--k-line); }
.smfix-event__list li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--k-line); font-size: .92rem; line-height: 1.8; color: var(--k-muted); }
.smfix-event__list b { font-family: 'Zen Old Mincho', serif; font-weight: 500; color: var(--k-ink); letter-spacing: .1em; }
.smfix-event__media img { width: 100%; aspect-ratio: 4 / 3; height: auto; max-height: none; object-fit: cover; }

/* 7. 香道をさらに知る */
.smfix-more { padding: clamp(6rem, 10vw, 9rem) 0; background: #fff; }
.smfix-more__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.smfix-more__media img { width: 100%; aspect-ratio: 16 / 10; height: auto; max-height: none; object-fit: cover; }

/* 8. 桂雪会の成り立ち(大きめ画像のストーリー帯) */
.smfix-story { position: relative; min-height: clamp(520px, 48vw, 680px); display: flex; align-items: center; overflow: hidden; color: var(--k-ink); background: #ddd6c4; }
.smfix-story__img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 30% 50%; }
.smfix-story::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(246,244,239,0) 0%, rgba(246,244,239,0) 35%, rgba(246,244,239,.86) 60%, rgba(246,244,239,.95) 100%); }
.smfix-story__vertical { position: absolute; z-index: 2; left: clamp(1.5rem, 8vw, 8rem); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font-family: 'Zen Old Mincho', serif; font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: .45em; line-height: 2.3; color: #fff; text-shadow: 0 0 16px rgba(0,0,0,.55); margin: 0; }
.smfix-story__body { position: relative; z-index: 2; margin-left: auto; width: min(460px, 100% - 2.5rem); margin-right: clamp(1.25rem, 8vw, 9rem); }
.smfix-story .smfix-en { color: #4f4b40; }
.smfix-story .smfix-wave { top: -1px; bottom: auto; transform: scaleY(-1); }

/* 9. よくあるご質問 */
.smfix-faq { padding: clamp(7rem, 11vw, 10rem) 0 clamp(6rem, 10vw, 9rem); background: #fff; }
.smfix-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.smfix-home .smfix-faq .faq { border-top: 1px solid var(--k-line); }
.smfix-home .smfix-faq .faq-item { border-bottom: 1px solid var(--k-line); }
.smfix-home .smfix-faq .faq-q { display: flex; gap: 1.1rem; align-items: baseline; padding: 1.25rem 2.5rem 1.25rem 0; font-family: 'Zen Old Mincho', serif; font-size: .98rem; letter-spacing: .08em; line-height: 1.7; color: var(--k-ink); }
.smfix-home .smfix-faq .faq-q::before { content: "Q"; font-family: 'Cinzel', serif; color: var(--k-khaki-dark); font-size: 1.05rem; flex: 0 0 auto; }
.smfix-home .smfix-faq .faq-q::after { color: var(--k-khaki-dark); font-family: sans-serif; font-weight: 300; }
.smfix-home .smfix-faq .faq-q[aria-expanded="true"] { color: var(--k-ink); }
.smfix-home .smfix-faq .faq-a { padding: 0 0 1.4rem 2.2rem; }
.smfix-home .smfix-faq .faq-a p { font-size: .92rem; line-height: 2; color: var(--k-muted); margin: 0; }

/* 10. 桂雪会案内(締めくくり)は common.css の .smfix-annai(全ページ共通CTA) */

@media (max-width: 900px) {
  .smfix-intro__grid, .smfix-about__grid, .smfix-event__grid, .smfix-more__grid, .smfix-faq__grid { grid-template-columns: minmax(0, 1fr); }
  .smfix-intro__media { order: -1; aspect-ratio: 4 / 3; max-height: none; }
  .smfix-intro__media img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .smfix-event__media { order: -1; }
  .smfix-more__media { order: -1; }
  .smfix-first__points { grid-template-columns: minmax(0, 1fr); }
  .smfix-learn__grid { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
}
@media (max-width: 768px) {
  .smfix-hero { height: calc(100svh - var(--smfix-header-h, 95px)); min-height: 520px; align-items: flex-end; }
  .smfix-hero__img { object-position: 72% 50%; }
  .smfix-hero::before { background: linear-gradient(180deg, rgba(28,26,20,.1) 0%, rgba(28,26,20,.35) 40%, rgba(28,26,20,.82) 100%); }
  .smfix-hero__body { padding-bottom: clamp(4.5rem, 16vw, 6rem); }
  .smfix-hero__title { font-size: clamp(1.55rem, 6.6vw, 1.9rem); letter-spacing: .12em; margin-bottom: 1.25rem; }
  .smfix-hero__lead { font-size: .88rem; line-height: 2; margin-bottom: 1.4rem; }
  .smfix-hero__vertical { top: 1.75rem; right: 1.1rem; transform: none; font-size: .92rem; letter-spacing: .4em; }
  .smfix-home .smfix-pl.smfix-sp-flow { white-space: normal; }
  .smfix-story { min-height: 0; flex-direction: column; align-items: stretch; padding: 0; }
  .smfix-story__img { position: relative; height: 72vw; min-height: 280px; }
  .smfix-story::before { display: none; }
  .smfix-story__vertical { top: 2.5rem; transform: none; left: 1.5rem; }
  .smfix-story__body { width: auto; margin: 0; padding: 3rem 1.25rem 4.5rem; background: var(--k-wash); }
  .smfix-event__list li { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
}
