@charset "utf-8";
/* =========================================================================
   世界観型 自家焙煎コーヒー店サンプル「汐待珈琲焙煎所（しおまち）」スポット版
   ベース＝/samples/hairsalon-kaihaku-spot/style.css（同じプラン・同じ型）
   実測の根拠＝世界観型6社（北舟岡珈琲焙煎所ほか・2026-09-22）
     本文 line-height 2.1／letter-spacing .1em／カラム600px（1行30字前後）
     差し色なし・色は背景1・文字1・罫1
   ヒーローは1枚＋ゆっくりズーム（6社中4社が全幅写真1枚）
   スマホのヒーロー高さは JS が px で固定する（--hero-h）＝スクロールで変わらない
   ========================================================================= */

:root{
  --bg:#fbfaf8;        /* 温かいオフホワイト */
  --bg-soft:#f3f0eb;   /* セクション地 */
  --ink:#1f1c19;       /* 墨（純黒は使わない） */
  --ink-soft:#6b675f;
  --main:#3b352e;      /* 焙煎豆の色＝メインブランドカラー */
  --line:#e3dfd7;      /* 極細罫 */
  --line-green:#06C755;
  /* 差し色（アクセント）は置かない ＝ 世界観型6社の実測（4社が差し色ゼロ） */
  --bar-h:36px; --header-h:64px; --cta-h:56px;
  --hero-h:calc(100svh - var(--bar-h) - var(--header-h)); /* JSがpxで上書き */
  --sec-pad:clamp(80px,10vw,128px);
  --col:600px;         /* 本文の狭い列＝1行30字前後 */
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{overflow-x:hidden} /* html に付けると sticky ヘッダーが効かなくなる */
body{
  font-family:'Noto Serif JP',serif;font-weight:400;
  background:var(--bg);color:var(--ink);
  line-height:2.1;letter-spacing:.1em;font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;height:auto}

/* ---------- サンプル明示バー（sample-banner-unify 共通形・追従させない） ---------- */
.sample-banner{
  background:var(--main);color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
  text-align:center;padding:8px 16px;
  font-size:.88rem;font-weight:800;letter-spacing:.04em;
  line-height:20px;
}

/* ---------- ヘッダー（1ページのためナビ・ハンバーガーなし） ---------- */
header.site{
  height:var(--header-h);display:flex;align-items:center;justify-content:space-between;
  padding:0 28px;background:rgba(251,250,248,.92);backdrop-filter:blur(6px);
  position:sticky;top:0;z-index:200;border-bottom:1px solid var(--line);
}
.brand{display:inline-flex;flex-direction:column;justify-content:center;min-height:44px;font-size:1.05rem;letter-spacing:.28em;color:var(--ink);text-decoration:none;line-height:1.5}
.brand small{display:block;font-size:.58rem;letter-spacing:.2em;color:var(--ink-soft);font-family:'Bodoni Moda','Noto Serif JP',serif;font-weight:400;font-optical-sizing:auto}

/* ---------- ヒーロー（写真1枚＋30秒のゆっくりズーム） ---------- */
.hero{position:relative;height:var(--hero-h);min-height:520px;overflow:hidden}
.hero .shot{position:absolute;inset:0;background-size:cover;background-position:center;
  animation:kb 30s ease-in-out infinite alternate}
@keyframes kb{from{transform:scale(1)}to{transform:scale(1.07)}}
/* 暗幕＝端からのグラデのみ・最濃部22%（局所オーバーレイは作らない） */
.hero::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(180deg,rgba(31,28,25,.10) 0%,rgba(31,28,25,0) 32%,rgba(31,28,25,0) 56%,rgba(31,28,25,.22) 100%)}
.hero .inner{position:relative;z-index:3;height:100%;
  display:flex;flex-direction:column;justify-content:flex-end;padding:0 6vw 11svh}
.hero h1{font-size:1.8rem;font-weight:400;letter-spacing:.18em;color:#fff;
  text-shadow:0 2px 12px rgba(31,28,25,.5);line-height:1.9}
.hero .rule{width:56px;height:1px;background:rgba(255,255,255,.75);margin-top:1.6rem}

/* ---------- セクション共通 ---------- */
section.block{padding:var(--sec-pad) 0}
.col{width:min(var(--col),calc(100% - 48px));margin-inline:auto}
.wide{width:min(1080px,calc(100% - 48px));margin-inline:auto}
.sec-head{margin-bottom:clamp(40px,5vw,64px)}
.sec-head .en{
  display:block;font-family:'Bodoni Moda','Noto Serif JP',serif;font-weight:400;
  font-optical-sizing:auto;
  font-size:clamp(2.6rem,6.6vw,4.1rem);line-height:1.12;letter-spacing:.16em;
  color:var(--ink);text-indent:.16em;
}
.sec-head h2{
  font-size:1rem;font-weight:400;letter-spacing:.22em;color:var(--ink-soft);
  margin-top:1.1rem;line-height:2.1;
}
.lede p{margin-bottom:1.9rem}
.lede p:last-child{margin-bottom:0}

/* 全幅ブリード写真 */
.bleed{width:100%;margin:0}
.bleed img{width:100%;height:clamp(260px,42vw,520px);object-fit:cover}
.caption{margin-top:.9rem;font-size:.74rem;letter-spacing:.14em;color:var(--ink-soft);line-height:2}

/* ---------- 大判の写真（縦4:5・正方形・2枚並び） ---------- */
.plate{margin-bottom:clamp(56px,7vw,96px);max-width:560px;margin-inline:auto}
.plate:last-child{margin-bottom:0}
.plate img{width:100%;aspect-ratio:4/5;object-fit:cover}
.plate.sq img{aspect-ratio:1/1}
.plate.wide-img img{aspect-ratio:16/9}
.plate .txt{margin-top:1.2rem}
.plate .txt b{display:block;font-weight:400;font-size:.95rem;letter-spacing:.18em}
.plate .txt span{display:block;font-size:.82rem;color:var(--ink-soft);letter-spacing:.12em;line-height:2.1;margin-top:.5rem}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,3vw,32px);max-width:560px;margin-inline:auto;margin-bottom:clamp(56px,7vw,96px)}
.pair:last-child{margin-bottom:0}
.pair .plate{margin-bottom:0;max-width:none}
#cafe .caption,#roast .caption{max-width:560px;margin-inline:auto}

/* ---------- 豆と価格（罫線なしの2列テキスト・ページで数字が出る唯一の場所） ---------- */
.price{list-style:none}
.price li{display:flex;justify-content:space-between;align-items:baseline;gap:1.5em;padding:1.15rem 0}
.price li + li{border-top:1px solid var(--line)} /* 極細罫のみ・囲み罫なし */
.price .n{letter-spacing:.14em;line-height:1.9}
.price .n em{display:block;font-style:normal;font-size:.78rem;color:var(--ink-soft);letter-spacing:.1em;margin-top:.2rem}
.price .v{white-space:nowrap;font-feature-settings:"palt";letter-spacing:.06em;color:var(--ink)}
.price-head{font-size:.86rem;letter-spacing:.22em;color:var(--ink-soft);margin-bottom:.6rem}
.price + .price-head{margin-top:3.2rem}
.note{margin-top:1.6rem;font-size:.78rem;color:var(--ink-soft);letter-spacing:.1em;line-height:2.1}
.price + .note{margin-top:2.4rem}
/* CTA接点① 価格直後の1行 */
.inline-cta{
  margin-top:2.8rem;padding-top:2.2rem;border-top:1px solid var(--line);
  font-size:.92rem;letter-spacing:.14em;line-height:2.2;
}
.inline-cta .pseudo-link{
  display:inline-flex;align-items:center;min-height:44px;
  border-bottom:1px solid var(--ink);color:var(--ink);
}

/* ---------- 店主より ---------- */
.owner-wrap{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,72px);align-items:center}
.owner-wrap img{width:100%;aspect-ratio:3/4;object-fit:cover}
.owner-wrap p{margin-bottom:1.6rem}
.owner-wrap p:last-child{margin-bottom:0}
.sign{font-size:.82rem;letter-spacing:.2em;color:var(--ink-soft);margin-top:2rem}

/* ---------- 営業時間・アクセス ---------- */
.info{width:100%;border-collapse:collapse;text-align:left}
.info th,.info td{padding:1.15rem 0;vertical-align:top;font-weight:400;line-height:2.1;letter-spacing:.12em}
.info th{width:8.5em;color:var(--ink-soft);font-size:.86rem;white-space:nowrap}
.info tr + tr th,.info tr + tr td{border-top:1px solid var(--line)}
.access-photo{margin-top:clamp(40px,5vw,64px)}
.access-photo img{width:100%;aspect-ratio:16/9;object-fit:cover}

/* ---------- CTA帯（ページ唯一の濃色帯・夕景の写真を敷く） ---------- */
.cta-band{position:relative;background:var(--main);color:#fff;padding:var(--sec-pad) 0;text-align:center;overflow:hidden}
.cta-band .bgimg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.28}
.cta-band > *{position:relative;z-index:2}
.cta-band .en{color:#fff;opacity:.9;font-weight:500}
.cta-band h2{color:rgba(255,255,255,.78)}
.cta-band p{color:rgba(255,255,255,.92)}
.cta-band .ways{margin-top:2.8rem;display:flex;flex-direction:column;gap:1.4rem;align-items:center}
.cta-band .way{
  display:inline-flex;flex-direction:column;justify-content:center;align-items:center;
  min-height:56px;min-width:min(340px,100%);padding:.9rem 2rem;
  border:1px solid rgba(255,255,255,.5);color:#fff;
  letter-spacing:.16em;font-size:1rem;line-height:1.9;cursor:default;
}
.cta-band .way small{display:block;font-size:.72rem;letter-spacing:.1em;opacity:.8;margin-top:.35rem}
.cta-band .way.line{border-color:var(--line-green)}
.cta-band .small{margin-top:2rem;font-size:.76rem;color:rgba(255,255,255,.78);letter-spacing:.1em;line-height:2.1}

/* ---------- ほかのサンプルへの導線 ---------- */
.upsell{background:var(--bg-soft);padding:clamp(56px,7vw,88px) 0;text-align:center}
.upsell p{font-size:.92rem;letter-spacing:.12em;line-height:2.1}
.upsell a{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;
  margin-top:1.8rem;padding:.6rem 2rem;border:1px solid var(--ink);
  color:var(--ink);text-decoration:none;letter-spacing:.16em;font-size:.9rem;
}

/* ---------- フッター ---------- */
footer.site{background:var(--bg);border-top:1px solid var(--line);padding:clamp(48px,6vw,72px) 24px calc(var(--cta-h) + 48px);text-align:center}
footer.site p{font-size:.78rem;color:var(--ink-soft);letter-spacing:.1em;line-height:2.2;margin-bottom:1.1rem}
footer.site p:last-child{margin-bottom:0}
footer.site a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:0 .4em;color:var(--ink-soft)}
.fake-note{max-width:640px;margin-inline:auto}

/* ---------- スマホ固定CTAバー（高さ56px・上辺1px罫のみ・影なし） ---------- */
.fixed-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:250;
  height:var(--cta-h);background:var(--bg);border-top:1px solid var(--line);
  display:flex;align-items:stretch;
  opacity:0;transform:translateY(100%);pointer-events:none;
  transition:opacity .45s ease,transform .45s ease;
}
.fixed-cta.on{opacity:1;transform:none;pointer-events:auto}
.fixed-cta .b{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:var(--cta-h);font-size:.82rem;letter-spacing:.14em;color:var(--ink);
  line-height:1.5;cursor:default;
}
.fixed-cta .b + .b{border-left:1px solid var(--line)}
.fixed-cta .b small{font-size:.62rem;letter-spacing:.06em;color:var(--ink-soft);margin-top:.15rem}

/* ---------- 画面幅 ---------- */
@media (min-width:801px){
  .fixed-cta{display:none}
  footer.site{padding-bottom:clamp(48px,6vw,72px)}
}
@media (max-width:900px){
  .owner-wrap{grid-template-columns:1fr}
  .owner-wrap img{aspect-ratio:4/5}
}
@media (max-width:800px){
  header.site{padding:0 16px}
  .brand{font-size:.98rem;letter-spacing:.22em}
  .hero .inner{padding:0 24px 13svh}
  .hero h1{font-size:1.3rem;letter-spacing:.12em}
  .hero .shot{background-image:url("/samples/coffee-shiomachi-spot/images/hero-sp.jpg") !important}
  .info th{width:7em;font-size:.8rem}
  .price li{flex-direction:column;gap:.3em;align-items:flex-start}
}
@media (max-width:430px){
  body{letter-spacing:.09em}
  .sec-head .en{letter-spacing:.12em;text-indent:.12em}
  .pair{grid-template-columns:1fr;gap:24px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero .shot{animation:none}
  .fixed-cta{transition:none}
}

/* ========================================================
   スクロールで浮かび上がる動き（灰白と同形・2026-08-31 採用）
   ※ prefers-reduced-motion:reduce の環境では全部止める
   ======================================================== */
.js-reveal [data-reveal]{
  opacity:0;transform:translateY(56px);
  transition:opacity 1.2s cubic-bezier(.22,.61,.36,1),
             transform 1.2s cubic-bezier(.22,.61,.36,1);
  will-change:opacity,transform;
}
[data-reveal].is-in{opacity:1;transform:none;will-change:auto}
.wide > [data-reveal]:nth-of-type(2){transition-delay:.15s}
.wide > [data-reveal]:nth-of-type(3){transition-delay:.30s}
.wide > [data-reveal]:nth-of-type(4){transition-delay:.45s}
@media (prefers-reduced-motion:reduce){
  .js-reveal [data-reveal]{opacity:1;transform:none;transition:none;will-change:auto}
}

/* =========================================================================
   写真の見せ方を1種類にしない（2026-09-22 鈴木さん指示）
   参考6社の実画面から型を借りる：
     ・北舟岡珈琲焙煎所 → 写真とテキストの左右交互（.edge-alt）
     ・COFFEE COUNTY    → 隙間2pxの縦長グリッドを画面端まで（.mosaic）
     ・KOTARO / TAOCA   → 画面を半分に割り、片側の写真を留める（.split）
     ・全社共通         → 区切りに全幅の細い帯を挟む（.strip）
   ========================================================================= */

/* ① 写真を画面の端まで／テキストは内側（左右交互に反転） */
.edge-alt{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:0}
.edge-alt + .edge-alt{margin-top:clamp(56px,7vw,112px)}
.edge-alt .pic{margin:0}
.edge-alt .pic img{width:100%;height:clamp(300px,40vw,560px);object-fit:cover}
.edge-alt .txtcol{padding:clamp(28px,4vw,64px) clamp(24px,5vw,80px)}
.edge-alt .txtcol b{display:block;font-weight:400;font-size:1.05rem;letter-spacing:.18em;margin-bottom:1.2rem}
.edge-alt .txtcol p{font-size:.92rem;letter-spacing:.12em;line-height:2.15;color:var(--ink-soft)}
.edge-alt.rev .pic{order:2}

/* ② 隙間2pxのモザイク（画面の端まで・大きさを揃えない）
   左に大きな1枚（2列×2行）＋右に小さい2枚＋下に横長1枚。
   COFFEE COUNTY の「端まで・隙間2px」に、大きさの差をつけた形 */
.mosaic{display:grid;grid-template-columns:repeat(4,1fr);
  grid-template-rows:repeat(2,clamp(190px,21vw,300px));gap:2px}
.mosaic figure{margin:0;min-height:0;min-width:0}
.mosaic img{width:100%;height:100%;object-fit:cover}
.mosaic .big{grid-column:1/3;grid-row:1/3}
.mosaic .wide2{grid-column:3/5}

/* ③ 画面を半分に割り、写真側を留める（価格リストの横） */
.split{display:grid;grid-template-columns:1fr 1fr;align-items:start}
.split .pic{position:sticky;top:var(--header-h);margin:0;height:calc(100svh - var(--header-h) - 2px);min-height:420px}
.split .pic img{width:100%;height:100%;object-fit:cover}
.split .listcol{padding:clamp(48px,6vw,104px) clamp(24px,4vw,64px)}
.split .listcol .inner-col{max-width:440px;margin-inline:auto}

/* ④ 全幅の細い帯（区切り／外観） */
.strip{width:100%;margin:0}
.strip img{width:100%;aspect-ratio:21/9;object-fit:cover}
.strip figcaption{width:min(var(--col),calc(100% - 48px));margin:.9rem auto 0}

@media (max-width:800px){
  .edge-alt,.split{grid-template-columns:1fr}
  .edge-alt.rev .pic{order:0}
  .edge-alt .pic img{height:clamp(240px,62vw,340px)}
  .split .pic{position:static;height:auto;min-height:0}
  .split .pic img{aspect-ratio:4/3;height:auto}
  .mosaic{grid-template-columns:repeat(2,1fr);grid-template-rows:auto}
  .mosaic .big{grid-column:1/3;grid-row:auto}
  .mosaic .big img{aspect-ratio:4/3}
  .mosaic .wide2{grid-column:1/3}
  .mosaic .wide2 img{aspect-ratio:2/1}
  .mosaic img{aspect-ratio:3/4}
  .strip img{aspect-ratio:16/9}
}
