/* 035 木曜舎 ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #f4eee4;
  --c-paper: #ebe2d3;
  --c-ink: #2b2118;
  --c-accent: #a0764a;
  --c-accent-text: #7a5530;
  --c-on-dark: #e8d9c4;
  --c-line-dark: #c9a57a;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: #d9ccb8;
  --font: "Zen Kaku Gothic New", sans-serif;
  --font-head: "Zen Old Mincho", serif;
  --font-en: "Cormorant Garamond", serif;
}

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

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.en { font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: 20px; letter-spacing: .04em; color: var(--c-accent-text); margin-bottom: 10px; }
.en--light { color: var(--c-line-dark); }
.h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.5; color: var(--c-ink); margin-bottom: 28px; letter-spacing: .06em; }
.note { margin-top: 20px; font-size: 15px; color: var(--c-sub); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 2px; font-weight: 700; letter-spacing: .08em; text-decoration: none; white-space: nowrap; flex: none; transition: background-color .3s, color .3s; }
.btn--ink { background: var(--c-ink); color: var(--c-on-dark); }
.btn--ink:hover { background: var(--c-accent-text); color: #fff; }
.btn--big { min-height: 60px; padding: 0 40px; font-size: 17px; }

/* ヘッダー */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; gap: 20px; height: 68px; padding: 0 12px 0 20px; background: rgba(244, 238, 228, .92); backdrop-filter: blur(8px); }
.logo { display: flex; align-items: baseline; gap: 10px; min-height: 48px; padding-top: 10px; font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: .14em; color: var(--c-ink); text-decoration: none; white-space: nowrap; flex: none; }
.logo small { font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: 16px; letter-spacing: .08em; color: var(--c-accent-text); }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15px; }
@media (min-width: 1080px) {
  .header__inner { height: 84px; padding: 0 5vw; }
  .gnav { display: flex; gap: 32px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--c-ink); letter-spacing: .08em; }
  .gnav a:hover { color: var(--c-accent-text); }
  .header__btn { margin-left: 0; padding: 0 26px; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 48px; 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: 22px; height: 2px; 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-ink); padding: 8px 20px 24px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 54px; color: var(--c-on-dark); text-decoration: none; font-size: 17px; letter-spacing: .08em; border-bottom: 1px solid rgba(232, 217, 196, .18); }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== 演出①（A02）：木目が縮み、椅子が浮かぶ ===== */
.hero { position: relative; background: var(--c-bg); }
.hero__stage { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
/* 角丸の板（完成形）。GSAP は scale だけを動かす */
.hero__card { position: absolute; left: 8vw; right: 8vw; top: 118px; bottom: 150px; border-radius: 10px; overflow: hidden; background: #3a2a1c; }
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__card::after { content: ""; position: absolute; inset: 0; background: rgba(30, 20, 12, .28); }
.hero__chair { position: absolute; z-index: 2; left: 0; right: 0; margin: 0 auto; bottom: 130px; height: min(36vh, 380px); width: auto; filter: drop-shadow(0 30px 30px rgba(30, 20, 12, .45)); }
.hero__title { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero__word { position: absolute; writing-mode: vertical-rl; font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 6.4vw, 96px); line-height: 1; letter-spacing: .2em; color: #fff; text-shadow: 0 2px 18px rgba(30, 20, 12, .6); }
.hero__word--l { left: calc(8vw + 14px); top: 146px; }
.hero__word--r { right: calc(8vw + 14px); bottom: 176px; }
.hero__lead { position: absolute; left: 20px; right: 20px; bottom: 32px; text-align: center; font-family: var(--font-head); font-weight: 500; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.9; color: var(--c-ink); letter-spacing: .06em; }
/* スマホ：右の単語を椅子の上の高さへ。下に置くと椅子の背と脚に重なる */
@media (max-width: 599px) { .hero__word--r { bottom: auto; top: 28%; } }
@media (min-width: 1080px) {
  .hero__card { left: calc(50% - min(40vw, 520px)); right: calc(50% - min(40vw, 520px)); top: 124px; bottom: 140px; }
  .hero__chair { height: min(62vh, 560px); bottom: 96px; }
  .hero__word--l { left: calc(50% - min(28vw, 380px)); top: 22%; }
  .hero__word--r { right: calc(50% - min(28vw, 380px)); bottom: 26%; }
}
.hero__cue { display: none; }
.is-motion .hero__cue { display: flex; flex-direction: column; align-items: center; gap: 6px; position: absolute; z-index: 4; left: 0; right: 0; bottom: 48px; font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .2em; color: #fff; text-shadow: 0 2px 12px rgba(30, 20, 12, .8); pointer-events: none; }
.hero__cue span { font-family: var(--font-en); font-size: 16px; letter-spacing: .3em; }
.is-motion .hero { height: 230vh; }
.is-motion .hero__stage { position: sticky; top: 0; }

/* ===== ごあいさつ（縦書き） ===== */
.about { padding: 112px 20px; }
.about__inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.vtitle { writing-mode: vertical-rl; align-self: flex-end; font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4vw, 52px); line-height: 1.7; letter-spacing: .14em; color: var(--c-ink); }
.about__text p + p { margin-top: 18px; }
@media (min-width: 900px) {
  .about { padding: 168px 5vw; }
  .about__inner { flex-direction: row-reverse; align-items: flex-start; justify-content: space-between; gap: 80px; }
  .about__text { max-width: 34em; padding-top: 48px; }
}

/* ===== 演出②（F07）：線画の椅子 ===== */
.drawing { background: var(--c-ink); color: var(--c-on-dark); }
.drawing__stage { padding: 96px 20px; display: grid; gap: 28px; max-width: 1240px; margin: 0 auto; }
.drawing__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4vw, 52px); line-height: 1.4; letter-spacing: .08em; color: #fff; margin-bottom: 14px; }
.drawing__view { position: relative; width: min(100%, 560px); aspect-ratio: 1; justify-self: center;
  background-image: linear-gradient(rgba(201, 165, 122, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 165, 122, .12) 1px, transparent 1px); background-size: 28px 28px; border: 1px solid rgba(201, 165, 122, .3); }
.drawing__svg, .drawing__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.drawing__canvas { display: none; }
.is-wire .drawing__canvas { display: block; }
.is-wire .drawing__svg { display: none; }
.drawing__notes li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(201, 165, 122, .3); transition: opacity .5s, color .5s; }
.drawing__notes span { flex: none; font-family: var(--font-en); font-size: 20px; line-height: 1.6; color: var(--c-line-dark); }
@media (min-width: 1080px) {
  .drawing__stage { grid-template-columns: 1fr 1.15fr; grid-template-rows: auto 1fr; column-gap: 6vw; padding: 140px 5vw; align-items: start; }
  .drawing__view { grid-column: 2; grid-row: 1 / 3; width: min(100%, 640px); }
  .drawing__notes { grid-column: 1; }
}
/* 動く版：画面に止め、線画が寄るにつれて注記が順に明るくなる */
.is-motion .drawing { height: 300vh; }
.is-motion .drawing__stage { position: sticky; top: 0; height: 100vh; padding-top: 84px; padding-bottom: 20px; align-content: center; gap: 16px; }
.is-motion .drawing__notes li { opacity: .38; }
.is-motion .drawing__notes li.is-on { opacity: 1; color: #fff; }
@media (max-width: 1079px) {
  .is-motion .drawing__head p:not(.en) { display: none; }
  .is-motion .drawing__head .drawing__title { margin-bottom: 0; }
  .is-motion .drawing__view { width: min(100%, 46vh); }
  .is-motion .drawing__notes li { display: none; }
  .is-motion .drawing__notes li.is-on { display: flex; }
}
@media (min-width: 1080px) { .is-motion .drawing__stage { padding-top: 110px; } }

/* ===== 演出③（C05）：雑誌の見開き ===== */
.year { padding: 104px 0; background: var(--c-bg); }
.year__head { padding: 0 20px; margin-bottom: 28px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 24px; }
.year__head .en { width: 100%; }
.year__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4vw, 48px); letter-spacing: .1em; color: var(--c-ink); }
.year__hint { font-size: 15px; color: var(--c-sub); }
.year__scroller { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 20px; scrollbar-width: thin; }
.year__track { display: flex; gap: 20px; width: max-content; }
.spread { position: relative; scroll-snap-align: center; width: 86vw; max-width: 1040px; display: grid; background: var(--c-paper); box-shadow: 0 20px 40px rgba(43, 33, 24, .12); }
.spread__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.spread__text { padding: 24px 22px 28px; display: grid; grid-template-columns: auto 1fr; gap: 0 18px; align-items: start; }
.spread__no { grid-column: 1 / -1; font-family: var(--font-en); font-style: italic; font-size: 18px; color: var(--c-accent-text); margin-bottom: 10px; }
.spread__title { writing-mode: vertical-rl; font-family: var(--font-head); font-weight: 700; font-size: 30px; letter-spacing: .2em; line-height: 1.2; color: var(--c-ink); }
@media (min-width: 768px) {
  .spread { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); width: 80vw; height: min(72vh, 600px); }
  .spread__photo, .spread__text { min-width: 0; min-height: 0; overflow: hidden; }
  .spread::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 48px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(43, 33, 24, 0), rgba(43, 33, 24, .14) 50%, rgba(43, 33, 24, 0)); pointer-events: none; }
  .spread--rev .spread__photo { order: -1; }
  .spread__photo img { height: 100%; aspect-ratio: auto; }
  /* 縦書きの1ページ */
  .spread__text { writing-mode: vertical-rl; display: block; padding: 48px 44px; overflow: hidden; }
  .spread__no { margin: 0 0 0 18px; }
  .spread__title { font-size: clamp(32px, 3.4vw, 48px); margin-left: 28px; }
  .spread__text p:not(.spread__no) { line-height: 2.1; letter-spacing: .08em; }
}
@media (min-width: 1080px) { .year { padding: 140px 0; } .year__head, .year__scroller { padding-left: 5vw; padding-right: 5vw; } }
/* 動く版（PC）：縦スクロールで横に流れる */
.is-motion-pc .year { padding: 0; }
.is-motion-pc .year__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.is-motion-pc .year__scroller { overflow: visible; }
.is-motion-pc .year__hint { display: none; }

/* ===== つくるもの ===== */
.order { padding: 112px 0; background: #fff; }
.order__grid { display: grid; gap: 24px; }
.ocard { background: var(--c-bg); overflow: hidden; border-radius: 6px; }
.ocard__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ocard--paper .ocard__img--cut { object-fit: contain; background: var(--c-paper); padding: 20px; }
.ocard__body { padding: 24px 24px 28px; }
.ocard h3 { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--c-ink); margin-bottom: 8px; }
.ocard__price { margin-top: 12px; font-weight: 700; color: var(--c-accent-text); }
@media (min-width: 900px) { .order { padding: 160px 0; } .order__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* ===== 工房見学 ===== */
.visit { padding: 112px 0; }
.visit__inner { display: grid; gap: 40px; }
.steps li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--c-line); color: var(--c-ink); }
.steps span { flex: none; font-family: var(--font-en); font-size: 24px; color: var(--c-accent-text); }
.visit__box { background: var(--c-paper); padding: 40px 28px; text-align: center; }
.visit__lead { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.7; color: var(--c-ink); margin-bottom: 24px; }
.visit__tel { margin-top: 16px; color: var(--c-ink); }
.visit__tel a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
@media (min-width: 900px) { .visit { padding: 160px 0; } .visit__inner { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 72px; } }

/* ===== フッター ===== */
.footer { background: var(--c-ink); color: var(--c-on-dark); padding: 64px 0 28px; font-size: 15px; }
.footer__inner { display: grid; gap: 24px; }
.footer__logo { font-family: var(--font-head); font-weight: 700; font-size: 28px; letter-spacing: .14em; color: #fff; }
.footer__logo small { display: block; font-family: var(--font-en); font-style: italic; font-size: 17px; color: var(--c-line-dark); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__fiction { margin-top: 32px; text-align: center; }
@media (min-width: 900px) { .footer__inner { grid-template-columns: auto 1fr auto; align-items: end; gap: 48px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.tcy { text-combine-upright: all; }
