/* 089 しおり FP オフィス ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #f6f1ea;
  --c-bg2: #ece2d4;
  --c-ink: #3a2e24;
  --c-line: #cdbba3;
  --c-accent: #b89a78;
  --c-accent-text: #7a5838;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "Noto Sans JP", sans-serif;
  --font-ja: "Hina Mincho", serif;
  --font-en: "Fraunces", serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 2; letter-spacing: .06em; color: var(--c-text); background: var(--c-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li, dt { word-break: auto-phrase; }
figure { margin: 0; }

.en { font-family: var(--font-en); font-style: italic; font-weight: 300; font-size: 18px; letter-spacing: .08em; color: var(--c-accent-text); display: flex; align-items: center; gap: 14px; }
.en span { font-style: normal; font-size: 15px; letter-spacing: .2em; }
.en::after { content: ""; width: 48px; height: 1px; background: var(--c-accent); }
.en--light { color: #e6d6c0; }
.h2 { font-family: var(--font-ja); font-size: clamp(32px, 4.4vw, 56px); line-height: 1.5; letter-spacing: .08em; color: var(--c-ink); margin: 12px 0 32px; }
.h2--light { color: #f6f1ea; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; text-decoration: none; letter-spacing: .14em; white-space: nowrap; flex: none; border: 1px solid currentColor; transition: background-color .5s var(--ease), color .5s var(--ease); }
.btn--ink { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.btn--ink:hover { background: transparent; color: var(--c-ink); }
.btn--light { background: var(--c-bg); color: var(--c-ink); border-color: var(--c-bg); }
.btn--light:hover { background: transparent; color: var(--c-bg); }
.btn--lg { min-height: 60px; padding: 0 44px; font-size: 17px; }

/* ===== ヘッダー ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(246, 241, 234, .92); border-bottom: 1px solid var(--c-line); }
.header__inner { display: flex; align-items: center; gap: 16px; height: 68px; padding: 0 12px 0 20px; max-width: 1600px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; color: var(--c-ink); white-space: nowrap; flex: none; }
.logo__mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--c-accent); border-radius: 50%; font-family: var(--font-ja); font-size: 17px; color: var(--c-accent-text); }
.logo__ja { font-family: var(--font-ja); font-size: 20px; letter-spacing: .12em; }
.gnav { display: none; }
@media (max-width: 599px) { .header__inner { gap: 10px; } .logo__mark { display: none; } .logo__ja { font-size: 18px; letter-spacing: .06em; } }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; letter-spacing: .08em; }
@media (min-width: 1080px) {
  .header__inner { height: 76px; padding: 0 48px; }
  .gnav { display: flex; gap: 32px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 15px; letter-spacing: .12em; color: var(--c-ink); }
  .gnav a:hover { color: var(--c-accent-text); }
  .header__btn { margin-left: 8px; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--c-ink); }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 22px; height: 1px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-bg); border-bottom: 1px solid var(--c-line); padding: 8px 20px 24px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; text-decoration: none; font-family: var(--font-ja); color: var(--c-ink); border-bottom: 1px solid var(--c-line); }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== 面（動かない版：縦に並ぶ） ===== */
.panel { position: relative; padding: 96px 20px; }
.panel > div { max-width: 1120px; margin: 0 auto; }
.panel--about, .panel--flow { background: var(--c-bg2); }
.panel--contact { background: var(--c-ink); color: #e9dfd1; }

/* 1 はじめ：文字が主役 */
.panel--hero { padding-top: 120px; overflow: hidden; }
.hero { position: relative; display: grid; gap: 32px; }
.hero__plan { position: absolute; right: -10px; top: -30px; font-family: var(--font-en); font-style: italic; font-weight: 300; font-size: clamp(120px, 26vw, 360px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--c-accent); opacity: .55; pointer-events: none; }
.hero__title { position: relative; font-family: var(--font-ja); font-size: clamp(54px, 9vw, 128px); line-height: 1.32; letter-spacing: .06em; color: var(--c-ink); }
.hero__side { position: relative; display: grid; gap: 28px; }
.hero__lead { font-size: 16px; line-height: 2.1; }
.hero__photo { position: relative; max-width: 280px; }
@media (max-width: 899px) { .hero__plan { top: auto; bottom: 12%; right: -12px; font-size: 130px; } }
.hero__photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--c-bg2); }
.hero__hint { display: none; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) 300px; align-items: end; }
}

/* 2 しおりについて */
.about { display: grid; gap: 32px; }
.about__body p + p { margin-top: 18px; }
.facts { margin-top: 32px; border-top: 1px solid var(--c-line); }
.facts li { display: grid; grid-template-columns: 4em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.facts span { font-family: var(--font-ja); color: var(--c-accent-text); }
.about__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--c-bg); }
@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 0 72px; }
  .about .en, .about .h2, .about__body { grid-column: 1; }
  .about__photo { grid-column: 2; grid-row: 1 / 4; align-self: center; }
}

/* 3 ご相談の内容（G03） */
.svc { border-top: 1px solid var(--c-line); position: relative; }
.svc li { position: relative; border-bottom: 1px solid var(--c-line); }
.svc a { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) 96px; grid-template-areas: "no name img" "no desc img"; gap: 0 14px; align-items: center; padding: 18px 0; min-height: 88px; text-decoration: none; color: var(--c-ink); }
.svc__no { grid-area: no; font-family: var(--font-en); font-style: italic; font-size: 18px; color: var(--c-accent-text); }
.svc__name { grid-area: name; font-family: var(--font-ja); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.5; letter-spacing: .08em; }
.svc__desc { grid-area: desc; font-size: 15px; color: var(--c-sub); }
.svc__img { grid-area: img; width: 96px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--c-bg2); }
/* PCでマウスがあるとき：行の写真は隠れていて、ホバーした行の上に浮かぶ */
@media (hover: hover) and (min-width: 1080px) {
  .svc a { grid-template-columns: 3em minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "no name desc"; padding: 22px 8px; transition: background-color .5s var(--ease), padding .5s var(--ease); }
  .svc__desc { text-align: right; }
  .svc__img {
    position: absolute; z-index: 3; left: var(--mx, 55%); top: 50%; width: 280px; pointer-events: none;
    opacity: 0; transform: translate(-50%, -50%) rotate(-3deg) scale(.86);
    transition: opacity .5s var(--ease), transform .6s var(--ease);
    box-shadow: 0 24px 48px rgba(58, 46, 36, .18);
  }
  .svc li:hover .svc__img, .svc a:focus-visible .svc__img { opacity: 1; transform: translate(-50%, -50%) rotate(-3deg) scale(1); }
  .svc a:hover, .svc a:focus-visible { background: rgba(236, 226, 212, .6); padding-left: 24px; }
}

/* 4 ご相談の流れ（scroll-snap） */
.flow { min-width: 0; }
.snap { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scroll-padding: 0 20px; outline-offset: 4px; }
.step { flex: none; width: min(78vw, 320px); scroll-snap-align: start; background: var(--c-bg); border: 1px solid var(--c-line); padding: 32px 28px; }
.step__no { font-family: var(--font-en); font-style: italic; font-size: 34px; line-height: 1; color: var(--c-accent-text); margin-bottom: 20px; }
.step h3 { font-family: var(--font-ja); font-size: 22px; color: var(--c-ink); margin-bottom: 10px; }
.snap__btns { display: none; }
.has-js .snap__btns { display: flex; gap: 12px; margin-top: 20px; }
.snap__btn { width: 52px; height: 52px; border: 1px solid var(--c-ink); background: transparent; color: var(--c-ink); font-size: 20px; cursor: pointer; transition: background-color .4s, color .4s; }
.snap__btn:hover { background: var(--c-ink); color: var(--c-bg); }

/* 5 料金 */
.fee { border-top: 1px solid var(--c-line); }
.fee div { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.fee dt { font-family: var(--font-ja); font-size: 20px; color: var(--c-ink); }
.fee dt small { display: block; font-family: var(--font); font-size: 15px; color: var(--c-sub); }
.fee dd { font-family: var(--font-en); font-size: 26px; color: var(--c-ink); }
.price__note { margin-top: 20px; font-size: 15px; color: var(--c-sub); }
@media (min-width: 768px) { .fee div { grid-template-columns: 1fr auto; align-items: center; } }

/* 6 ご予約 */
.contact__lead { margin-bottom: 32px; }
.contact__tel { margin-top: 24px; }
.contact__tel a { font-family: var(--font-en); font-size: 24px; color: #fff; text-decoration: none; }
.contact__info { margin-top: 40px; border-top: 1px solid rgba(246, 241, 234, .3); }
.contact__info div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid rgba(246, 241, 234, .3); }
.contact__info dt { font-family: var(--font-ja); color: #e6d6c0; }
@media (min-width: 768px) { .contact__info div { grid-template-columns: 6em 1fr; } }

/* ===== PCで動く版：ページ全体が横に動く ===== */
.meter { display: none; }
@media (min-width: 1080px) {
  .is-hz .hpage { height: 100vh; overflow: hidden; }
  .is-hz .hpage__track { display: flex; height: 100vh; width: max-content; }
  .is-hz .panel { flex: none; height: 100vh; padding: 108px 6vw 72px; display: flex; align-items: center; border-left: 1px solid var(--c-line); }
  .is-hz .panel > div { width: 100%; max-width: none; margin: 0; }
  .is-hz .panel--hero { width: 100vw; border-left: 0; }
  .is-hz .panel--about { width: 92vw; }
  .is-hz .panel--list { width: 96vw; }
  .is-hz .panel--flow { width: 84vw; }
  .is-hz .panel--price { width: 64vw; }
  .is-hz .panel--contact { width: 72vw; }
  .is-hz .hero { grid-template-columns: minmax(0, 1fr) 320px; gap: 6vw; }
  .is-hz .hero__title { font-size: min(10.5vw, 18vh); }
  .is-hz .hero__plan { top: auto; bottom: -6vh; right: 360px; opacity: .4; }
  .is-hz .hero__photo { max-width: 320px; }
  .is-hz .hero__photo img { max-height: 46vh; width: auto; }
  .is-hz .hero__hint { display: block; position: absolute; left: 0; bottom: -40px; font-family: var(--font-en); font-style: italic; font-size: 18px; color: var(--c-accent-text); }
  .is-hz .hero__hint span { display: inline-block; margin-left: 8px; }
  .is-hz .about__photo img { max-height: 62vh; }
  .is-hz .snap { margin: 0; padding-left: 0; }
  .is-hz .meter {
    display: flex; align-items: center; gap: 6px; position: fixed; right: 48px; bottom: 32px; z-index: 40;
    font-family: var(--font-en); font-size: 16px; letter-spacing: .14em; color: var(--c-ink); opacity: 0; transition: opacity .5s;
  }
  .is-hz .meter.is-on { opacity: 1; }
  .meter__now { font-size: 22px; }
  .meter__line { position: relative; width: 120px; height: 1px; margin-left: 14px; background: var(--c-line); }
  .meter__line span { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--c-ink); transform-origin: left; transform: scaleX(0); }
}

/* ===== フッター ===== */
.footer { background: var(--c-bg); border-top: 1px solid var(--c-line); text-align: center; padding: 64px 20px 40px; font-size: 15px; color: var(--c-sub); }
.footer__logo { font-family: var(--font-ja); font-size: 22px; letter-spacing: .14em; color: var(--c-ink); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin: 20px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--c-ink); }
.footer__fiction { margin-top: 16px; }

/* E03：1文字ずつに分けた見出し（短い見出しだけなので、途中で折り返さない） */
.ch { display: inline-block; }
.is-motion [data-blur] { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
