/* 103 文具店 白線堂 ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #fafaf8;
  --c-paper: #f0efeb;
  --c-paper2: #e4e3df;
  --c-ink: #1a1a1a;
  --c-line: #d6d5d0;
  --c-gray-text: #737373;
  --c-accent: #26334d;
  --c-accent-text: #26334d;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "Noto Sans JP", sans-serif;
  --font-ja: "Noto Serif JP", serif;
  --font-en: "EB Garamond", serif;
  --head: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 2.1; 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, figure { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li, td, th, blockquote { word-break: auto-phrase; }
.sp-only { display: inline; }
@media (min-width: 768px) { .sp-only { display: none; } }

.inner { max-width: 1120px; margin: 0 auto; }
.inner--narrow { max-width: 760px; }
.en { font-family: var(--font-en); font-style: italic; font-size: 19px; letter-spacing: .08em; color: var(--c-sub); margin-bottom: 8px; }
.title { font-family: var(--font-ja); font-weight: 300; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.6; letter-spacing: .12em; color: var(--c-ink); }

.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 var(--c-ink); cursor: pointer; font-family: var(--font); font-size: 16px; transition: background-color .6s, color .6s; }
.btn--ink { background: var(--c-ink); color: #fff; }
.btn--ink:hover, .btn--ink:focus-visible { background: var(--c-bg); color: var(--c-ink); }
.btn--lg { min-height: 60px; padding: 0 40px; }
@media (max-width: 400px) { .btn--lg { padding: 0 24px; } }

/* 伏せ字の〇は日本語の書体で（英字の書体だと大きな丸に見える） */
.fz { font-family: "Noto Sans JP", sans-serif; font-weight: inherit; letter-spacing: 0; }

/* ヘッダー（LP：ロゴと予約ボタンだけ） */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(250, 250, 248, .95); border-bottom: 1px solid var(--c-line); }
.header__inner { display: flex; align-items: center; gap: 10px; height: var(--head); padding: 0 8px 0 20px; max-width: 1440px; margin: 0 auto; }
.logo { display: flex; align-items: baseline; gap: 12px; min-height: 48px; align-items: center; text-decoration: none; white-space: nowrap; flex: none; color: var(--c-ink); }
.logo__ja { font-family: var(--font-ja); font-weight: 500; font-size: 20px; letter-spacing: .3em; }
.logo__en { font-family: var(--font-en); font-style: italic; font-size: 17px; color: var(--c-sub); }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15px; letter-spacing: .08em; }
@media (max-width: 430px) { .logo__en { display: none; } }
@media (min-width: 1080px) { :root { --head: 80px; } .header__inner { padding: 0 48px; } .header__btn { min-height: 52px; padding: 0 28px; } }

.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; 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: 20px; 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); padding: 8px 20px 24px; display: flex; flex-direction: column; border-bottom: 1px solid var(--c-line); }
.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; } }

/* ===== メインビジュアル（A07・分割3枚） ===== */
.hero { padding-top: var(--head); }
.split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--c-line); height: 62svh; min-height: 420px; }
.split__item { position: relative; overflow: hidden; background: var(--c-paper2); min-width: 0; }
.split__item img { width: 100%; height: 100%; object-fit: cover; }
.split__word { position: absolute; top: 16px; right: 12px; writing-mode: vertical-rl; padding: 14px 6px; background: rgba(250, 250, 248, .92); font-family: var(--font-ja); font-weight: 300; font-size: 18px; letter-spacing: .5em; color: var(--c-ink); line-height: 1; }
.hero__copy { padding: 48px 20px 96px; max-width: 760px; }
.hero__title { font-family: var(--font-ja); font-weight: 300; font-size: clamp(34px, 5.4vw, 72px); line-height: 1.55; letter-spacing: .1em; color: var(--c-ink); }
.hero__lead { margin: 24px 0 36px; }
@media (min-width: 1080px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); min-height: 100vh; }
  .split { order: 2; height: calc(100vh - var(--head)); }
  .split__word { top: 32px; right: 24px; font-size: 22px; padding: 20px 10px; }
  .hero__copy { order: 1; align-self: center; padding: 48px 5vw; }
}
/* 動く版：3枚が時間差で下から開き、そのあとゆっくり拡大 */
.is-motion .split__item { clip-path: inset(100% 0% 0% 0%); }

/* ===== 悩み → 解決（細い線の表） ===== */
.why { padding: 112px 20px; background: var(--c-paper); }
.compare { width: 100%; margin-top: 40px; border-collapse: collapse; table-layout: fixed; }
.compare th { font-family: var(--font-ja); font-weight: 500; font-size: 16px; text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--c-ink); color: var(--c-ink); }
.compare th + th, .compare td + td { padding-left: 16px; border-left: 1px solid var(--c-line); }
.compare td { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; font-size: 15px; }
.compare td + td { color: var(--c-ink); }
@media (min-width: 768px) { .compare th, .compare td { font-size: 17px; padding-right: 32px; } .compare th + th, .compare td + td { padding-left: 32px; } }

/* ===== 想い（E02） ===== */
.story { padding: 140px 20px; }
.story__text { font-family: var(--font-ja); font-weight: 300; font-size: clamp(21px, 2.6vw, 30px); line-height: 2.1; letter-spacing: .1em; color: var(--c-ink); }
.story__text em { font-style: normal; color: var(--c-accent-text); border-bottom: 1px solid var(--c-accent); }
.story__text .ch { transition: color .5s; }
.is-motion .story__text .ch { color: var(--c-gray-text); }
.is-motion .story__text .ch.is-on { color: var(--c-ink); }
.is-motion .story__text em .ch.is-on { color: var(--c-accent-text); }
@media (min-width: 900px) { .story { padding: 220px 20px; } }

/* ===== 選べる素材（Swiper） ===== */
.material { padding: 112px 0; background: var(--c-paper); }
.material__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 0 20px; margin-bottom: 40px; }
.pause { min-height: 44px; padding: 0 16px; background: transparent; border: 1px solid var(--c-ink); color: var(--c-ink); font: inherit; font-size: 15px; cursor: pointer; white-space: nowrap; }
.pause[hidden] { display: none; }
.swiper { padding: 0 20px; }
.mat { background: var(--c-bg); height: auto; }
.mat img, .mat__sw { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.mat__sw--rule { background: repeating-linear-gradient(180deg, #fff 0 23px, var(--c-line) 23px 24px); border-bottom: 1px solid var(--c-line); }
.mat__sw--cloth { background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 3px), #8d8c87; }
.mat__body { padding: 20px 20px 28px; }
.mat__no { font-family: var(--font-en); font-size: 22px; color: var(--c-sub); }
.mat h3 { font-family: var(--font-ja); font-weight: 500; font-size: 19px; color: var(--c-ink); margin-bottom: 4px; }
.swiper-ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.swiper-ctrl[hidden] { display: none; }
.swiper-btn { width: 52px; height: 52px; border: 1px solid var(--c-ink); background: transparent; color: var(--c-ink); font-size: 18px; cursor: pointer; transition: background-color .5s, color .5s; }
.swiper-btn:hover, .swiper-btn:focus-visible { background: var(--c-ink); color: #fff; }
.swiper-ctrl .swiper-pagination { position: static; width: auto; display: flex; gap: 4px; }
.swiper-pagination-bullet { width: 32px; height: 44px; border-radius: 0; background: transparent; opacity: 1; position: relative; margin: 0 !important; }
.swiper-pagination-bullet::after { content: ""; position: absolute; left: 4px; right: 4px; top: 21px; height: 1px; background: #9a9a96; }
.swiper-pagination-bullet-active::after { height: 2px; top: 20px; background: var(--c-ink); }
/* JSなし（Swiper が動かないとき）は、指で横に送れる並びに戻す */
.swiper:not(.swiper-initialized) { overflow: visible; }
.swiper:not(.swiper-initialized) .swiper-wrapper { overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px; }
.swiper:not(.swiper-initialized) .swiper-slide { width: 76vw; max-width: 360px; scroll-snap-align: start; }
.material .cta-line { margin-top: 48px; padding: 0 20px; }
@media (min-width: 1080px) { .material { padding: 160px 0; } .material__head, .swiper { padding-left: 6vw; padding-right: 6vw; } }
.cta-line { display: grid; justify-items: center; gap: 12px; text-align: center; }

/* ===== 仕立ての手順（B06）：右端に縦のタブが付いた仕切り ===== */
.steps { padding: 112px 20px 140px; }
.steps__lead { margin: 16px 0 48px; }
.dividers { position: relative; }
.divider { position: sticky; top: calc(var(--head) + 24px); margin-bottom: 72px; min-height: 380px; padding-right: 48px; }
.divider__tab { position: absolute; right: 0; top: calc(var(--i) * 92px); width: 48px; height: 88px; display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; font-family: var(--font-ja); font-weight: 500; font-size: 15px; letter-spacing: .1em; line-height: 1; background: var(--d-bg, #fff); color: var(--d-text, var(--c-ink)); border: 1px solid var(--c-line); border-left: 0; white-space: nowrap; }
.divider__body { min-height: 380px; padding: 36px 24px; background: var(--d-bg, #fff); color: var(--d-body, var(--c-text)); border: 1px solid var(--c-line); box-shadow: 0 -8px 24px rgba(26, 26, 26, .06); }
.divider__no { font-family: var(--font-en); font-size: 56px; line-height: 1; color: var(--d-text, var(--c-ink)); }
.divider h3 { font-family: var(--font-ja); font-weight: 500; font-size: 24px; color: var(--d-text, var(--c-ink)); margin: 20px 0 12px; letter-spacing: .1em; }
.divider__time { margin-top: 16px; font-family: var(--font-en); font-style: italic; font-size: 18px; }
.divider:nth-child(2) { --d-bg: #f0efeb; }
.divider:nth-child(3) { --d-bg: #e4e3df; }
.divider:nth-child(4) { --d-bg: #1a1a1a; --d-text: #fff; --d-body: #e6e6e3; }
@media (min-width: 900px) { .steps { padding: 160px 6vw 200px; } .divider { padding-right: 64px; min-height: 420px; } .divider__tab { width: 64px; font-size: 16px; } .divider__body { min-height: 420px; padding: 56px 64px; } .divider__body > p:not(.divider__no):not(.divider__time) { max-width: 30em; } }

/* ===== 声 ===== */
.voice { padding: 112px 20px; background: var(--c-paper); }
.voice__list { display: grid; margin-top: 40px; border-top: 1px solid var(--c-line); }
.voice__list li { padding: 32px 0; border-bottom: 1px solid var(--c-line); min-width: 0; }
.voice blockquote { margin: 0 0 8px; font-family: var(--font-ja); font-weight: 300; font-size: 19px; line-height: 2; color: var(--c-ink); }
.voice__list p { font-size: 15px; color: var(--c-sub); }
@media (min-width: 900px) { .voice__list { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; gap: 48px; } .voice__list li { border-top: 1px solid var(--c-ink); border-bottom: 0; } }

/* ===== 料金 ===== */
.price { padding: 112px 20px; }
.price__list { display: grid; margin: 40px 0 20px; border-top: 1px solid var(--c-ink); }
.price__list li { padding: 24px 0; border-bottom: 1px solid var(--c-line); display: grid; grid-template-columns: 1fr auto; gap: 0 16px; align-items: baseline; min-width: 0; }
.price__list h3 { font-family: var(--font-ja); font-weight: 500; font-size: 18px; color: var(--c-ink); }
.price__num { font-family: var(--font-en); font-size: 30px; color: var(--c-ink); grid-row: span 2; }
.price__num small { font-family: var(--font); font-size: 15px; margin-left: 4px; }
.price__list li > p:last-child { font-size: 15px; color: var(--c-sub); }
.price__note { font-size: 15px; color: var(--c-sub); margin-bottom: 48px; }

/* ===== よくある質問 ===== */
.faq { padding: 0 20px 112px; }
.faq .title { margin-bottom: 32px; }
.qa { border-top: 1px solid var(--c-line); }
.qa:last-child { border-bottom: 1px solid var(--c-line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 12px 0; font-family: var(--font-ja); font-weight: 500; font-size: 17px; color: var(--c-ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; margin-left: auto; font-family: var(--font-en); font-size: 24px; flex: none; }
.qa[open] summary::after { content: "−"; }
.qa p { padding: 0 0 24px; }

/* ===== 予約 ===== */
.reserve { padding: 112px 20px; background: var(--c-paper); }
.reserve__lead { margin: 16px 0 40px; color: var(--c-ink); }
.form { display: grid; gap: 22px; }
.form label { display: grid; gap: 4px; font-size: 15px; color: var(--c-ink); }
.form input { font: inherit; font-size: 16px; color: var(--c-ink); background: transparent; border: 0; border-bottom: 1px solid var(--c-ink); padding: 10px 0; min-height: 48px; border-radius: 0; }
.form input:focus { outline: none; border-bottom-width: 2px; }
.form .btn { margin-top: 16px; justify-self: start; }

/* ===== フッター ===== */
.footer { padding: 56px 20px 112px; text-align: center; font-size: 15px; border-top: 1px solid var(--c-line); }
.footer__logo { font-family: var(--font-ja); font-weight: 500; font-size: 22px; letter-spacing: .3em; color: var(--c-ink); margin-bottom: 12px; }
.footer__logo span:not(.fz) { font-family: var(--font-en); font-style: italic; font-size: 17px; letter-spacing: .04em; color: var(--c-sub); }
.footer__fiction { margin-top: 16px; }
@media (min-width: 768px) { .footer { padding-bottom: 56px; } }

.fixcta { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; min-height: 56px; background: var(--c-ink); color: #fff; text-decoration: none; letter-spacing: .14em; white-space: nowrap; }
@media (min-width: 768px) { .fixcta { display: none; } }

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

/* 大きな数字の中の伏せ字は、数字の高さにそろえて小さめに */
.price__num .fz, .item__price .fz, .menu .fz, .c-stamp .fz { font-size: max(15px, .62em); vertical-align: .08em; }
.c-stamp { white-space: nowrap; }
