/* 花処 月渉 — 共通スタイル */
:root {
  --washi: #ffffff;
  --washi-2: #f3f1ec;
  --sumi: #1c1a17;
  --sumi-2: #2a2723;
  --ink: #2b2925;
  --mute: #7a7268;
  --line: #d6cfc2;
  --shu: #b7282e;
  --moon: #e9e1cf;
  --mincho: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --latin: "Cormorant Garamond", "Shippori Mincho", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--washi);
  color: var(--ink);
  font-family: var(--mincho);
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: .08em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* hidden だとiPhoneで「上に貼り付く」動きが壊れるため */
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* 和紙のざらつき */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 40px;
  transition: background .5s, padding .5s;
}
.header.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(6px); padding: 14px 40px; }
.header.is-dark { background: rgba(28,26,23,.85); color: #e8e2d6; }
.header.is-dark .nav .nav__shop { border-color: #e8e2d6; }
.header.is-dark .menu-btn span { background: #e8e2d6; }
.header { transition: background .5s, padding .5s, color .5s; }
.header__logo { font-size: 15px; letter-spacing: .3em; }
.header__logo small { font-family: var(--latin); font-size: 12px; letter-spacing: .25em; color: var(--mute); margin-left: 10px; }
.nav { display: flex; gap: 34px; font-size: 13px; letter-spacing: .2em; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 1px; background: currentColor; transition: width .4s; }
.nav a:hover::after { width: 100%; }
.nav .nav__shop { border: 1px solid var(--ink); padding: 2px 16px; }
.nav .nav__shop::after { display: none; }
/* Instagram：パソコンはマークだけ、スマホのメニューではマークと文字 */
.nav .nav__ig { display: inline-flex; align-items: center; gap: 8px; }
.nav .nav__ig::after { display: none; }
.nav .nav__ig span { display: none; }
.nav .nav__ig svg { display: block; }
.ig-link { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.menu-btn { display: none; width: 36px; height: 20px; position: relative; }
.menu-btn span { position: absolute; left: 0; right: 0; height: 1px; background: var(--ink); transition: .4s; }
.menu-btn span:nth-child(1) { top: 4px; } .menu-btn span:nth-child(2) { bottom: 4px; }
.menu-open .menu-btn span:nth-child(1) { top: 10px; transform: rotate(20deg); }
.menu-open .menu-btn span:nth-child(2) { bottom: 9px; transform: rotate(-20deg); }

/* ---------- 読み込み画面 ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--washi);
  display: grid; place-items: center; overflow: hidden;
  transition: background-color .7s ease .15s;
}
/* 書き終わったら：背景が消え、ロゴだけがトップの左端の位置へ移る（main.js） */
.loader.is-moving { background-color: rgba(255,255,255,0); pointer-events: none; }
.loader.is-moving .loader__progress, .loader.is-moving .loader__label { opacity: 0; transition: opacity .4s; }
.loader__write { transition: transform 1s cubic-bezier(.7,0,.2,1); will-change: transform; }
.loader.is-done { display: none; }
.no-loader .loader { display: none; }
.is-loading .hero__logo, .is-loading .hero__copy { opacity: 0; }
.loader { grid-template-rows: 1fr auto; padding: 8vh 0 6vh; }
.loader__write { height: min(70vh, 640px); width: auto; align-self: center; overflow: visible; }
/* 薄い下書き（これを筆でなぞる） */
.loader .guide { opacity: .1; transition: opacity .8s; }
/* 各画の通り道（この線が伸びた所だけ、その画の墨が見える） */
.loader__write mask path { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
/* 書き終わったら tsukiho・印 に色を付ける（花処は最初から黒） */
.loader .fade { opacity: 0; transition: opacity .5s ease; }
.loader .stamp { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(1.8); transition: opacity .25s .25s, transform .3s .25s cubic-bezier(.3,1.6,.5,1); }
.loader.is-written .fade, .loader.is-written .stamp { opacity: 1; transform: none; }
.loader.is-written .guide { opacity: 0; }
.loader__progress { width: 160px; height: 1px; background: var(--line); margin: 0 auto; }
.loader__progress span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .4s; }
.loader__label { text-align: center; font-size: 11px; letter-spacing: .4em; color: var(--mute); margin-top: 10px; }
.loader__label b { font-family: var(--latin); font-weight: 400; font-size: 13px; letter-spacing: .05em; }

/* ---------- ヒーロー（スクロールで写真が広がる。動きは main.js が直接書き込む） ---------- */
.hero { position: relative; height: 330vh; --strip: 26%; }  /* 写真が広がったあと「花と、月を渉る。」を読む間を残すため長め */  /* --strip：ロゴを置く左端の帯の幅（main.js も読む） */
.hero__sticky { position: -webkit-sticky; position: sticky; top: 0; height: 100vh; height: 100lvh; min-height: 560px; overflow: hidden; background: var(--washi); }
.hero__left {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--strip); display: flex; align-items: center; justify-content: center; z-index: 1;
}
.hero__logo { height: min(64vh, 560px); width: auto; }
.hero__copy { position: absolute; left: 28px; bottom: 50px; transition: opacity .8s .3s; writing-mode: vertical-rl; font-size: 13px; letter-spacing: .5em; color: var(--mute); line-height: 2.4; }
.hero__photo {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-clip-path: inset(0 0 0 var(--strip)); clip-path: inset(0 0 0 var(--strip));
}
/* トップ写真は縦長で背景が黒。写真の縁はぼかしてあり（hero-calla.jpg）、余白の黒に溶け込む */
.hero__photo { background: #0a0a0c; }
/* 花はまわりに余白をとって小さめに置く。中心は main.js で「見えている範囲」の真ん中に合わせる */
.hero__photo img { position: absolute; left: 50%; top: 50%; height: 84%; width: auto; max-width: none; transform: translate(-50%, -50%) scale(1.1); }
.hero__shade { position: absolute; inset: 0; background: #0d0c0a; opacity: 0; }
.hero__big {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  writing-mode: vertical-rl; color: #fff; font-size: clamp(30px, 4vw, 54px); font-weight: 500; letter-spacing: .5em;
  text-shadow: 0 2px 30px rgba(0,0,0,.4); pointer-events: none; white-space: nowrap;
  visibility: hidden;
}
.hero__big.is-in { visibility: visible; }
.hero__big { left: 30%; }   /* トップ写真の花と重ならない位置（スマホは下で別に指定） */
.scroll { position: absolute; left: var(--strip); bottom: 0; transform: translateX(-50%); height: 110px; width: 1px; background: var(--line); z-index: 3; }
.scroll::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40px; background: var(--ink); animation: drop 2.4s infinite; }
.scroll span { position: absolute; bottom: 120px; left: -6px; writing-mode: vertical-rl; font-family: var(--latin); font-style: italic; font-size: 12px; letter-spacing: .3em; color: var(--mute); }
@keyframes drop { from { transform: translateY(-40px); } to { transform: translateY(110px); } }

/* 一文字ずつ浮かぶ文字 */
.split .ch { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.4em); transition: opacity 1s, filter 1s, transform 1s; transition-delay: calc(var(--i) * 45ms); }
.split.is-in .ch { opacity: 1; filter: none; transform: none; }
.hero__big .ch { transition-delay: calc(var(--i) * 55ms); }

/* ---------- 共通セクション ---------- */
.section { padding: 160px 8vw; position: relative; }
.sec-head { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 72px; }
.sec-head h2 { writing-mode: vertical-rl; font-size: 26px; font-weight: 500; letter-spacing: .45em; line-height: 1.6; }
.sec-head span { writing-mode: vertical-rl; font-family: var(--latin); font-style: italic; font-size: 14px; letter-spacing: .3em; color: var(--mute); padding-top: 6px; }
.sec-head.is-row { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.sec-head.is-row h2, .sec-head.is-row span { writing-mode: horizontal-tb; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.6s ease, transform 1.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
/* 写真：下から幕が上がるように出て、スクロールで少しずれる */
.reveal-img { overflow: hidden; }
.reveal-img img {
  /* 幕が上がる動きだけゆっくり。スクロールのずれは遅れなく即座に追従させる（遅れるとぐにゃっと見える） */
  clip-path: inset(100% 0 0 0); transform: translate3d(0, var(--py, 0px), 0) scale(1.12); will-change: transform;
  transition: clip-path 1.6s cubic-bezier(.77,0,.18,1);
}
.reveal-img.is-in img { clip-path: inset(0 0 0 0); }

/* 夕暮れ → 夜 → 朝 のグラデーション */
.dusk, .dawn { height: 50vh; }
.dusk { background: linear-gradient(var(--washi), #8a8172 45%, var(--sumi)); }
.dawn { background: linear-gradient(var(--sumi), #8a8172 55%, var(--washi)); }
.night-moon {
  position: absolute; right: 10vw; top: 0; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fffaf0, #e9e1cf 55%, #c9bc9f);
  box-shadow: 0 0 120px 30px rgba(233,225,207,.25);
  transform: translateY(var(--rise, 0px)); opacity: .9; pointer-events: none;
}

/* ---------- 想い ---------- */
.concept { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; }
.concept__text { display: flex; flex-direction: row-reverse; gap: 40px; justify-content: flex-end; }
.concept__lead { writing-mode: vertical-rl; font-size: 30px; font-weight: 500; letter-spacing: .3em; line-height: 2; }
.concept__body { writing-mode: vertical-rl; font-size: 15px; line-height: 2.6; letter-spacing: .25em; height: 460px; color: #4a453e; }
.concept__img { position: relative; }
.concept__img .reveal-img { aspect-ratio: 3/4; }
.concept__img img { width: 100%; height: 100%; object-fit: cover; }
.concept__img .sub { position: absolute; width: 46%; left: -18%; bottom: -12%; aspect-ratio: 3/4; border: 10px solid var(--washi); }
.moon {
  position: absolute; right: 6vw; top: 90px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 38% 40%, #fff9ea, var(--moon) 60%, #d8ccb0);
  box-shadow: 0 0 80px rgba(233,225,207,.9); opacity: .7;
}

/* ---------- 取り扱い（暗い帯） ---------- */
.dark { background: var(--sumi); color: #e8e2d6; }
.dark .sec-head span { color: #8f877b; }
/* 取り扱い：5枚のカード。押すとそれぞれのページへ */
.items { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.4vw; }
.item { display: block; color: inherit; text-decoration: none; }
.item:nth-child(even) { margin-top: 70px; }
.item__img { aspect-ratio: 3/4; }
.item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.item:hover .item__img img { transform: translate3d(0, var(--py, 0px), 0) scale(1.18); }
.item__more { display: inline-block; margin-top: 12px; font-size: 12px; letter-spacing: .25em; color: #d9d3c8; border-bottom: 1px solid #4a453e; padding-bottom: 4px; }
.item__no { font-family: var(--latin); font-size: 13px; letter-spacing: .3em; color: #8f877b; margin-top: 22px; }
.item h3 { font-size: 18px; font-weight: 500; letter-spacing: .3em; margin: 4px 0 10px; }
.item p { font-size: 13px; line-height: 2.2; color: #b9b1a4; }

/* ---------- ギャラリー（縦スクロールで横に進む） ---------- */
.hscroll { position: relative; }
.hscroll__sticky { position: -webkit-sticky; position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll__title { padding: 0 8vw 40px; font-size: 22px; letter-spacing: .4em; }
.hscroll__title span { font-family: var(--latin); font-style: italic; font-size: 13px; color: #8f877b; margin-left: 18px; letter-spacing: .3em; }
.hscroll__track { display: flex; gap: 5vw; padding: 0 8vw; width: max-content; will-change: transform; }
.hscroll__track figure { flex: none; }
.hscroll__track figure:nth-child(even) { margin-top: 12vh; }
.hscroll__track img { height: 52vh; width: auto; aspect-ratio: 3/4; object-fit: cover; }
.hscroll__track figcaption { font-size: 13px; letter-spacing: .3em; color: #b9b1a4; margin-top: 14px; }

/* ---------- 店主 ---------- */
.owner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8vw; align-items: center; }
.owner__img { aspect-ratio: 3/4; }
.owner__img img { width: 100%; height: 100%; object-fit: cover; }
.owner__role { font-size: 13px; letter-spacing: .3em; color: var(--mute); }
.owner__name { font-size: 34px; font-weight: 500; letter-spacing: .4em; margin: 6px 0 36px; }
.owner__name small { display: block; font-family: var(--latin); font-size: 14px; letter-spacing: .3em; color: var(--mute); }
.owner p { font-size: 15px; color: #4a453e; }
.owner__lead { font-size: 17px; line-height: 2.2; letter-spacing: .12em; margin-bottom: 36px; }
/* 経歴：左に二文字の見出し、右に文 */
.history { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.history li { display: grid; grid-template-columns: 4.5em 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.history span { font-size: 13px; letter-spacing: .4em; color: var(--shu); padding-top: 3px; }
.owner .history p { font-size: 14px; line-height: 2; margin: 0; }

/* 作品：高さの違う写真を三列に積む */
.works { columns: 3; column-gap: 28px; }
.works figure { margin: 0 0 28px; break-inside: avoid; }
.works img { width: 100%; height: auto; display: block; }
.works--grid { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.works--grid figure { margin: 0; aspect-ratio: 3/4; }
.works--grid img { height: 100%; object-fit: cover; }
.history p { font-size: 14px; line-height: 2; margin: 0; }

/* 取り扱いの各ページ */
.page-head__sub { display: block; font-size: 14px; letter-spacing: .4em; color: var(--mute); margin-top: 10px; }
.sub { padding: 0 8vw 120px; }
.sub__intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 7vw; align-items: center; }
.sub__hero { aspect-ratio: 4/5; }
.sub__hero img { width: 100%; height: 100%; object-fit: cover; }
.sub__catch { font-size: 24px; letter-spacing: .2em; line-height: 2; margin-bottom: 28px; }
.sub__intro .reveal > p { font-size: 15px; color: #4a453e; }
.sub__intro .history { margin-top: 36px; }
.price-box { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; margin: 0 0 28px; }
.price-box p { margin: 0; }
.price-box__lbl { font-size: 13px; letter-spacing: .3em; color: var(--mute); }
.price-box__num { font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: .04em; }
.price-box__num small { font-size: 16px; margin-left: 4px; letter-spacing: .2em; }
.price-box__lv { border: 1px solid var(--shu); color: var(--shu); font-size: 13px; letter-spacing: .25em; padding: 6px 14px; }
.sub-cta { background: var(--sumi); color: #f2eee6; text-align: center; padding: 110px 8vw; }
.sub-cta h2 { font-size: 24px; font-weight: 500; letter-spacing: .4em; margin-bottom: 22px; }
.sub-cta p { font-size: 14px; line-height: 2.2; color: #b9b1a4; }
.sub-cta .btn { margin: 26px 0; color: #fff; border-color: #8f877b; }
.sub-cta__sub { font-size: 12px !important; }
.sub-cta a:not(.btn) { color: #d9d3c8; }
/* お祝い：お渡し後のドライフラワー */
.keep { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6vw; align-items: center; background: #f6f3ee; padding: 6vw; }
.keep__img { aspect-ratio: 3/4; }
.keep__img img { width: 100%; height: 100%; object-fit: cover; }
.keep__en { font-family: var(--latin); font-style: italic; font-size: 13px; letter-spacing: .3em; color: var(--mute); }
.keep__title { font-size: 24px; font-weight: 500; letter-spacing: .2em; line-height: 1.9; margin: 8px 0 24px; }
.keep p { font-size: 15px; color: #4a453e; }
.keep .keep__note { font-size: 12px; color: var(--mute); margin-top: 18px; }
.others { padding-top: 100px; }
.others__title { text-align: center; font-size: 15px; letter-spacing: .4em; margin-bottom: 36px; }
.others__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.others__list a { color: inherit; text-decoration: none; font-size: 13px; letter-spacing: .2em; }
.others__list img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; margin-bottom: 10px; }

/* ---------- オンラインショップ案内 ---------- */
.shop-cta { position: relative; height: 70vh; min-height: 480px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.shop-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); transform: scale(var(--z, 1.3)); }
.shop-cta__inner { position: relative; }
.shop-cta h2 { font-size: 28px; font-weight: 500; letter-spacing: .4em; }
.shop-cta p { font-size: 14px; margin: 18px 0 40px; letter-spacing: .2em; }
.btn {
  display: inline-flex; align-items: center; gap: 18px; padding: 14px 44px;
  border: 1px solid currentColor; font-size: 14px; letter-spacing: .3em; transition: .4s;
}
.btn:hover { background: #fff; color: var(--sumi); }
.btn--dark { color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--washi); }
.btn--fill { background: var(--ink); color: var(--washi); border-color: var(--ink); justify-content: center; }
.btn--fill:hover { background: var(--shu); border-color: var(--shu); color: #fff; }

/* ---------- 店舗情報 ---------- */
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; }
.info dl { display: grid; grid-template-columns: 120px 1fr; border-top: 1px solid var(--line); }
.info dt, .info dd { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info dt { color: var(--mute); letter-spacing: .3em; }
.info .note { font-size: 12px; color: var(--mute); }
.map { min-height: 360px; border: 0; width: 100%; height: 100%; }

/* ---------- フッター ---------- */
.footer { background: var(--sumi); color: #b9b1a4; text-align: center; padding: 90px 20px 40px; }
.footer__logo { height: 150px; width: auto; margin: 0 auto 30px; filter: invert(1) hue-rotate(180deg); }
.footer__links { display: flex; justify-content: center; gap: 30px; font-size: 13px; margin-bottom: 50px; flex-wrap: wrap; }
.footer small { font-family: var(--latin); font-size: 12px; letter-spacing: .2em; }

/* ================= オンラインショップ ================= */
.test-bar { background: var(--shu); color: #fff; text-align: center; font-size: 12px; letter-spacing: .15em; padding: 6px 12px; position: relative; z-index: 60; }
.page-head { padding: 200px 8vw 60px; text-align: center; }
.page-head h1 { font-size: 30px; font-weight: 500; letter-spacing: .5em; }
.page-head p { font-family: var(--latin); font-style: italic; color: var(--mute); letter-spacing: .3em; }
/* ショップ準備中 */
.soon { text-align: center; padding: 20px 8vw 140px; font-size: 14px; line-height: 2.4; color: #4a453e; }
.soon__mark { display: inline-block; border: 1px solid var(--shu); color: var(--shu); font-size: 15px; letter-spacing: .6em; padding: 10px 18px 10px 28px; margin-bottom: 36px; }
.soon .btn { margin: 18px 0 30px; }
.soon__sub a { font-size: 13px; letter-spacing: .2em; color: var(--mute); }
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 70px; }
.filters button { padding: 6px 22px; font-size: 13px; letter-spacing: .2em; border: 1px solid var(--line); transition: .3s; }
.filters button.is-active, .filters button:hover { background: var(--ink); color: var(--washi); border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px 4vw; padding: 0 8vw 160px; }
.product { cursor: pointer; }
.product__img { aspect-ratio: 4/5; overflow: hidden; background: var(--washi-2); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.product:hover .product__img img { transform: scale(1.05); }
.product__cat { font-size: 11px; letter-spacing: .3em; color: var(--mute); margin-top: 18px; }
.product h3 { font-size: 17px; font-weight: 500; letter-spacing: .2em; }
.product__price { font-family: var(--latin); font-size: 17px; letter-spacing: .1em; }
.product__price small { font-family: var(--mincho); font-size: 11px; color: var(--mute); }

.cart-btn { position: relative; font-size: 13px; letter-spacing: .2em; }
.cart-btn i { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 50%; background: var(--shu); color: #fff; font-size: 11px; letter-spacing: 0; margin-left: 6px; }

/* 商品詳細・カート（横から出る板） */
.overlay { position: fixed; inset: 0; background: rgba(28,26,23,.45); opacity: 0; pointer-events: none; transition: .4s; z-index: 70; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.modal {
  position: fixed; left: 50%; top: 50%; width: min(920px, 92vw); max-height: 88vh; overflow: auto;
  transform: translate(-50%, -46%); opacity: 0; pointer-events: none; transition: .5s; z-index: 80;
  background: var(--washi); display: grid; grid-template-columns: 1fr 1fr;
}
.modal.is-open { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.modal__img img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.modal__body { padding: 50px 44px; display: flex; flex-direction: column; gap: 14px; }
.modal__body h3 { font-size: 22px; font-weight: 500; letter-spacing: .25em; }
.modal__body p { font-size: 14px; color: #4a453e; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); width: max-content; }
.qty button { width: 40px; height: 40px; font-size: 18px; }
.qty span { width: 40px; text-align: center; font-family: var(--latin); font-size: 18px; }
.close { position: absolute; right: 18px; top: 10px; font-size: 26px; line-height: 1; padding: 6px; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100vw); background: var(--washi); z-index: 80;
  transform: translateX(100%); transition: transform .5s cubic-bezier(.2,.7,.2,1); display: flex; flex-direction: column;
}
.drawer.is-open { transform: none; }
.drawer__head { padding: 28px 30px; border-bottom: 1px solid var(--line); font-size: 16px; letter-spacing: .3em; position: relative; }
.drawer__list { flex: 1; overflow: auto; padding: 10px 30px; }
.line { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: 13px; }
.line img { width: 70px; height: 86px; object-fit: cover; }
.line__del { font-size: 11px; color: var(--mute); text-decoration: underline; }
.drawer__foot { padding: 26px 30px 34px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; margin-bottom: 18px; }
.drawer__total b { font-family: var(--latin); font-size: 22px; font-weight: 500; }
.empty { text-align: center; color: var(--mute); padding: 60px 0; font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: var(--sumi); color: #fff; padding: 12px 28px; font-size: 13px; opacity: 0; transition: .4s; z-index: 90; pointer-events: none; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- スマホ ---------- */
@media (max-width: 860px) {
  .header, .header.is-scrolled { padding: 16px 20px; }
  .header__logo small { display: none; }
  .menu-btn { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; background: var(--washi); flex-direction: column; align-items: center; justify-content: center;
    font-size: 16px; gap: 28px; opacity: 0; pointer-events: none; transition: .4s;
  }
  .menu-open .nav { opacity: 1; pointer-events: auto; }
  .nav .nav__ig span { display: inline; }
  /* ヘッダーのすりガラス効果があると、メニューの白地がヘッダーの高さまでしか広がらず、下の文字と重なる。開いている間は外す */
  .menu-open .header { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero { --strip: 34%; }
  .hero__left { padding-top: 40px; }
  .hero__logo { height: auto; width: 62%; max-height: 64vh; }
  .hero__copy { display: none; }
  .scroll { background: rgba(255,255,255,.4); height: 70px; left: calc(var(--strip) + (100% - var(--strip)) / 2); }
  .scroll::after { background: #fff; }
  .scroll span { display: none; }
  .night-moon { width: 90px; height: 90px; right: 8vw; }
  .hscroll__title { padding: 0 16px 30px; font-size: 18px; }
  .hscroll__track { padding: 0 16px; gap: 8vw; }
  .hscroll__track img { height: 46vh; }
  .section { padding: 100px 16px; }
  .sec-head { margin-bottom: 44px; }
  .concept, .owner, .info { grid-template-columns: 1fr; gap: 60px; }
  .concept__text { justify-content: center; gap: 24px; }
  .concept__lead { font-size: 22px; }
  .concept__body { font-size: 13px; height: 400px; }
  .concept__img { width: 80%; margin-left: auto; }
  .moon { width: 70px; height: 70px; top: 60px; }
  .items { grid-template-columns: 1fr 1fr; gap: 36px 14px; }
  .item:nth-child(n) { margin-top: 0; }
  .item:nth-child(even) { margin-top: 40px; }
  .item h3 { font-size: 15px; letter-spacing: .15em; }
  .item p { font-size: 12px; line-height: 2; }
  .sub__intro { grid-template-columns: 1fr; gap: 44px; }
  .sub { padding: 0 16px 80px; }
  .sub__catch { font-size: 19px; }
  .history li { grid-template-columns: 5em 1fr; gap: 12px; }
  .history span { letter-spacing: .15em; }
  .others__list { grid-template-columns: 1fr 1fr; }
  .keep { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px 36px; }
  .keep__img { width: 70%; }
  .keep__title { font-size: 19px; }
  .works--grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery__track img { height: 240px; }
  .owner__name { font-size: 26px; }
  .hero__photo img { height: 68%; }
  .hero__big { left: 18%; }
  .owner__lead { font-size: 14px; letter-spacing: .04em; }
  .works { columns: 2; column-gap: 12px; }
  .works figure { margin-bottom: 12px; }
  .info dl { grid-template-columns: 90px 1fr; }
  .page-head { padding: 140px 16px 40px; }
  .page-head h1 { font-size: 20px; letter-spacing: .25em; }
  .products { grid-template-columns: 1fr 1fr; gap: 40px 14px; padding: 0 16px 100px; }
  .product h3 { font-size: 14px; }
  .modal { grid-template-columns: 1fr; }
  .modal__img img { min-height: 0; aspect-ratio: 4/3; }
  .modal__body { padding: 30px 22px; }
}

/* 画面には出さず、検索エンジンと読み上げにだけ伝える見出し */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
