@charset "utf-8";
/* =========================================================================
   雑貨店「ひとつぶ雑貨店」スポット版（世界観型・案3「作家の棚ギャラリー」2026-09-30 決定）
   白 #FAFAF8 ／ 墨 #2A2826 ／ からし #C49A2C（点と線だけ）
   書体＝見出し Zen Old Mincho ／ 本文 Zen Kaku Gothic Antique
   サンプル明示バーは流す・ヘッダーだけ sticky（sample-banner-unify 2026-09-04）
   スマホ固定バー「営業日｜地図｜Instagram」（最初の画面を過ぎてから・電話/LINEは置かない）
   ========================================================================= */
:root{
  --main:#2A2826;      /* 墨＝バナー・固定バー・主ボタン */
  --paper:#FAFAF8;     /* 白（地） */
  --tint:#F1EFEA;      /* 少しだけ沈んだ白（セクションの緩急） */
  --ink:#2A2826;
  --ink-soft:#615d57;
  --line:#dcd8d0;
  --mustard:#C49A2C;   /* からし＝点と線だけ */
  --line-green:#06C755;
  --bar-h:36px; --header-h:64px; --strip-h:0px;
  --hero-h:calc(100svh - var(--bar-h) - var(--header-h) - var(--strip-h)); /* JS が px で上書き */
  --mincho:"Zen Old Mincho","Hiragino Mincho ProN","Yu Mincho",serif;
  --gothic:"Zen Kaku Gothic Antique","Noto Sans JP","Hiragino Sans",sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 8px)}
body{overflow-x:hidden} /* html には付けない（sticky ヘッダーが効かなくなる） */
body{font-family:var(--gothic);background:var(--paper);color:var(--ink);font-size:16px;line-height:2;letter-spacing:.06em;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
br.sp{display:none}

/* ---------- サンプル明示バー（追従させない） ---------- */
.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;font-family:"Noto Sans JP",system-ui,sans-serif}

/* ---------- ヘッダー（sticky） ---------- */
header.site{position:sticky;top:0;z-index:200;height:64px;display:flex;align-items:center;gap:24px;
  padding:0 clamp(16px,3vw,40px);background:rgba(250,250,248,.96);backdrop-filter:blur(6px);border-bottom:1px solid transparent;transition:border-color .2s}
header.site.scrolled{border-bottom-color:var(--line)}
.brand{display:flex;align-items:center;gap:.9em;text-decoration:none;min-height:44px;flex-shrink:0}
.brand b{font-family:var(--mincho);font-size:1.3rem;font-weight:700;letter-spacing:.2em;color:var(--ink);line-height:1}
.brand small{font-size:.74rem;color:var(--ink-soft);letter-spacing:.14em}
.gnav{display:flex;gap:clamp(14px,2vw,28px);margin-left:auto}
.gnav a{text-decoration:none;color:var(--ink-soft);font-size:.88rem;padding:10px 2px;white-space:nowrap;border-bottom:1px solid transparent}
.gnav a:hover{color:var(--ink);border-bottom-color:var(--mustard)}
.nav-toggle{display:none}

/* ---------- ① ヒーロー：左に文字＋小さい写真3枚・右に大きい写真（静止） ---------- */
.hero{position:relative;height:var(--hero-h);min-height:560px;display:grid;grid-template-columns:42% 58%;overflow:hidden;background:var(--paper)}
.hero .copy{position:relative;z-index:3;display:flex;flex-direction:column;justify-content:center;padding:0 clamp(24px,3.4vw,56px) 0 clamp(24px,5vw,80px)}
.catch{font-family:var(--mincho);font-weight:700;font-size:clamp(1.8rem,2.9vw,2.6rem);line-height:1.7;letter-spacing:.1em}
.hero h1{margin-top:1.5rem;font-weight:500;line-height:1.6}
.hero h1 .name{display:block;font-family:var(--mincho);font-weight:700;font-size:clamp(1.1rem,1.4vw,1.25rem);letter-spacing:.24em}
.hero h1 .what{display:block;margin-top:.25rem;font-size:clamp(.9rem,1.1vw,1rem);letter-spacing:.1em;color:var(--ink-soft)}
.where{margin-top:.8rem;font-size:.92rem;letter-spacing:.12em}
.where b{font-weight:700;color:var(--mustard);margin-right:.5em}
.cta{display:flex;align-items:center;gap:14px;margin-top:1.8rem;flex-wrap:wrap}
.thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:2rem;max-width:420px}
.thumbs img{width:100%;aspect-ratio:1/1;object-fit:cover}
.photo{position:relative;height:100%;padding:28px clamp(24px,3vw,48px) 28px 0}
.photo picture,.photo img{display:block;width:100%;height:100%}
.photo img{object-fit:cover;object-position:center}
.fv-strip{display:none}
/* 背の低い横長画面：小さい写真を外して文字を詰まらせない */
@media (min-width:801px) and (max-height:760px){ .thumbs{display:none} }

/* ---------- ボタン ---------- */
.btn-main{display:inline-flex;align-items:center;justify-content:center;gap:.5em;min-height:52px;padding:0 28px;border-radius:2px;
  background:var(--main);color:#fff;text-decoration:none;font-weight:700;letter-spacing:.14em;font-size:.98rem;line-height:1.5;text-align:center}
.btn-main:hover{background:#444039}
/* Instagram ボタン（公式グラデーション＝design-rules §4.1） */
.btn-ig{display:inline-flex;align-items:center;justify-content:center;gap:.5em;min-height:52px;padding:0 28px;border-radius:999px;color:#fff;text-decoration:none;
  font-family:"Noto Sans JP",system-ui,sans-serif;font-weight:700;letter-spacing:.08em;font-size:.98rem;line-height:1.5;text-align:center;
  background:linear-gradient(45deg,#F58529,#DD2A7B,#8134AF,#515BD4)}
.ico-w{width:22px;height:22px;filter:brightness(0) invert(1)} /* 線アイコンを白抜きで使う（写真ではない） */
.txt-link{color:var(--ink);font-weight:700;letter-spacing:.1em;text-decoration:underline;text-decoration-color:var(--mustard);text-decoration-thickness:2px;text-underline-offset:.4em}
.txt-link-wrap{margin-top:1.6rem}
.txt-link-wrap .txt-link{display:inline-block;padding:8px 0}

/* ---------- セクション共通 ---------- */
.sec{padding:clamp(56px,6.5vw,92px) 0}
.sec.tint{background:var(--tint)}
.wrap{width:min(1120px,calc(100% - 48px));margin-inline:auto}
.wrap.narrow{width:min(760px,calc(100% - 48px))}
.sec-head{margin-bottom:clamp(28px,4vw,44px)}
.sec-head h2{font-family:var(--mincho);font-size:clamp(1.5rem,2.4vw,1.9rem);font-weight:700;letter-spacing:.18em;line-height:1.5;display:flex;align-items:center;gap:.8em}
.sec-head h2::before{content:"";width:28px;height:1px;background:var(--mustard);flex-shrink:0}
.sec-head p{margin-top:.7rem;color:var(--ink-soft);font-size:.95rem}
.center{text-align:center;margin-top:clamp(32px,4vw,48px)}
.small{font-size:.84rem;color:var(--ink-soft)}
.note{margin-top:1.6rem;font-size:.9rem;color:var(--ink-soft)}

/* 左右分割（文字＋写真） */
.split{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(32px,5vw,72px);align-items:center}
.split.rev{grid-template-columns:1.1fr 1fr}
.split.rev .split-txt{order:2}
.split.rev .split-img{order:1}
.split-img{margin:0}
.split-img img{width:100%;aspect-ratio:4/3;object-fit:cover}
.split-txt > .btn-ig,.split-txt > .btn-main{margin-top:1.8rem}
.prose p{margin-top:1.1rem;text-wrap:pretty}
.prose p:first-child{margin-top:0}
.yurai{padding-top:1.2rem;border-top:1px solid var(--line);font-family:var(--mincho);font-weight:500;line-height:2.1}
.btns{display:flex;flex-wrap:wrap;gap:14px;margin-top:1.8rem}

/* 情報の行（アイコン＋見出し＋中身・罫線だけ・囲まない） */
.info{border-top:1px solid var(--line)}
.info div{display:grid;grid-template-columns:10.5em 1fr;gap:16px;padding:1.1rem 0;border-bottom:1px solid var(--line);align-items:start}
.info dt{display:flex;align-items:center;gap:.6em;font-weight:700;letter-spacing:.1em}
.info dd{font-size:1.02rem}
.info .sub{display:block;font-size:.86rem;color:var(--ink-soft)}
.info .ico{width:28px;height:28px;flex-shrink:0}
.info.two{display:grid;grid-template-columns:1fr 1fr;column-gap:clamp(24px,4vw,56px);border-top:0;margin-top:clamp(28px,4vw,40px)}
.info.two div{border-top:1px solid var(--line);border-bottom:0;grid-template-columns:9em 1fr}
.info.two div:nth-last-child(-n+2){border-bottom:1px solid var(--line)}
.pin-note{margin-top:1.6rem;padding-left:1em;border-left:2px solid var(--mustard);line-height:1.9}
.ico-s{display:inline-block;width:20px;height:20px;vertical-align:-4px;margin-right:.5em}

/* ③ 扱っている物（3本柱） */
.pillars{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(24px,3vw,40px)}
.pillars img{width:100%;aspect-ratio:1/1;object-fit:cover}
.pillars h3{margin-top:1.1rem;font-family:var(--mincho);font-weight:700;font-size:1.2rem;letter-spacing:.14em}
.pillars p{margin-top:.4rem;font-size:.94rem;line-height:1.95;text-wrap:pretty}
.pillars li:nth-child(2){margin-top:clamp(0px,3vw,40px)} /* 棚の段のように少しずらす */

/* ④ 取扱作家（ギャラリーの札のような小さな文字） */
.makers{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(36px,4vw,56px) clamp(20px,2.6vw,32px)}
.makers figure{margin:0}
.makers img{width:100%;aspect-ratio:3/2;object-fit:cover}
.makers .genre{margin-top:1rem;font-size:.8rem;letter-spacing:.2em;color:var(--ink-soft);display:flex;align-items:center;gap:.6em}
.makers .genre::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--mustard)}
.makers h3{margin-top:.1rem;font-family:var(--mincho);font-weight:700;font-size:1.12rem;letter-spacing:.12em;line-height:1.6}
.makers .words{margin-top:.3rem;font-size:.9rem;line-height:1.9;text-wrap:pretty}
.scroll-hint{display:none}

/* ⑤ 教室 */
.wide-img{margin:0 0 clamp(28px,4vw,40px)}
.wide-img img{width:100%;aspect-ratio:3/1;object-fit:cover}
.spec{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;column-gap:clamp(24px,4vw,56px)}
.spec div{display:grid;grid-template-columns:7.5em 1fr;gap:16px;padding:1rem 0;border-bottom:1px solid var(--line)}
.spec dt{font-weight:700;letter-spacing:.1em}

/* ⑦ アクセス（イラスト地図＋外観） */
.access{display:grid;grid-template-columns:1.25fr 1fr;gap:clamp(20px,3vw,36px);align-items:start}
.access figure{margin:0}
.map-wrap{aspect-ratio:640/420;border:1px solid var(--line);overflow:hidden}
.map-wrap iframe{width:100%;height:100%;border:0;display:block}
.map figcaption{margin-top:.6rem;font-size:.8rem;color:var(--ink-soft);line-height:1.7}
.ext img{width:100%;aspect-ratio:4/3;object-fit:cover}

/* ⑧⑨ 遠くの方へ／作家さんへ（2列） */
.duo{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,72px);align-items:start}
.duo figure{margin:0 0 clamp(20px,2.4vw,28px)}
.duo figure img{width:100%;aspect-ratio:16/10;object-fit:cover}
.duo .sec-head{margin-bottom:1rem}

/* ⑩ FAQ（開閉式） */
details{border-bottom:1px solid var(--line)}
details:first-of-type{border-top:1px solid var(--line)}
summary{cursor:pointer;list-style:none;padding:1.15rem 2.4em 1.15rem 0;font-family:var(--mincho);font-weight:700;letter-spacing:.06em;position:relative;line-height:1.7}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";position:absolute;right:.4em;top:50%;transform:translateY(-50%);font-weight:400;font-size:1.3rem;color:var(--mustard)}
details[open] summary::after{content:"−"}
details p{padding:0 0 1.3rem;font-size:.95rem}

/* ⑪ 雑貨店の方へ（お店の世界観の外＝鈴木Web製作所の帯・kobo-spot と同じ形） */
.maker-band{background:#20364a;color:#fff;padding:clamp(56px,7vw,88px) 0;font-family:"Hiragino Sans","Noto Sans JP",sans-serif;font-weight:400;letter-spacing:.05em}
.mb-inner{width:min(820px,calc(100% - 48px));margin-inline:auto}
.mb-kicker{display:inline-block;font-size:.84rem;letter-spacing:.14em;border-bottom:2px solid #f0b54a;padding-bottom:4px}
.mb-title{margin-top:1rem;font-size:clamp(1.25rem,2.4vw,1.6rem);font-weight:700;line-height:1.6;letter-spacing:.06em}
.mb-text{margin-top:1rem;font-size:.95rem;line-height:1.95;opacity:.95}
.mb-sub{margin-top:.6rem;font-size:.88rem;line-height:1.9;opacity:.85}
.mb-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;margin-top:1.6rem;padding:0 28px;border-radius:999px;
  background:var(--line-green);color:#fff;text-decoration:none;font-weight:700;letter-spacing:.06em}

.site-foot{background:var(--tint);padding:32px 24px calc(32px + env(safe-area-inset-bottom));text-align:center;font-size:.76rem;color:var(--ink-soft);line-height:1.9}
.site-foot p + p{margin-top:.8rem}

/* トースト（外部ボタンは移動させない） */
.toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));transform:translate(-50%,12px);z-index:400;
  width:min(560px,calc(100% - 32px));padding:14px 18px;border-radius:10px;background:rgba(34,34,34,.92);color:#fff;
  font-family:"Noto Sans JP",system-ui,sans-serif;font-size:.86rem;line-height:1.7;letter-spacing:.03em;text-align:center;
  opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}
.toast.on{opacity:1;transform:translate(-50%,0)}


/* ---------- 中間幅 ---------- */
@media (max-width:1180px){
  .brand small{display:none}
  .gnav{gap:16px}
  .gnav a{font-size:.84rem}
}
@media (max-width:1000px) and (min-width:801px){
  .spec{grid-template-columns:1fr}
  .info.two{grid-template-columns:1fr}
  .info.two div:nth-last-child(2){border-bottom:0}
}

/* ---------- スマホ・タブレット（≤800px） ---------- */
@media (max-width:800px){
  :root{--header-h:56px}
  br.sp{display:inline}
  br.pc{display:none}
  body{font-size:15.5px}
  /* backdrop-filter があると中の fixed メニューがヘッダーの箱に閉じ込められて見えなくなるので、スマホでは外す */
  header.site{height:56px;background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none}
  .brand b{font-size:1.2rem}
  .nav-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;margin-left:auto;
    width:44px;height:44px;background:none;border:0;cursor:pointer}
  .nav-toggle span{display:block;width:24px;height:2px;background:var(--ink);transition:transform .3s,opacity .3s}
  .nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  .nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
  .gnav{position:fixed;left:0;right:0;top:var(--menu-top,56px);bottom:0;margin:0;z-index:190;
    display:flex;flex-direction:column;gap:0;padding:8px 24px 32px;background:var(--paper);overflow-y:auto;
    visibility:hidden;opacity:0} /* 開閉は即時（menu-fix が開いた瞬間を検知できるように） */
  .gnav.open{visibility:visible;opacity:1}
  .gnav a{font-size:1rem;padding:16px 0;border-bottom:1px solid var(--line);color:var(--ink)}

  /* ヒーロー：大きい写真（上）と文字（下）を分ける・小さい写真とボタンは出さない（ボタンは直下の帯） */
  .hero{grid-template-columns:1fr;grid-template-rows:60% 40%;min-height:480px}
  .photo{order:1;padding:0}
  .photo img{object-position:center 30%} /* 縦写真の一番上の棚まで見せる */
  .hero .copy{order:2;justify-content:center;padding:4px 24px 0}
  .thumbs,.hero .cta{display:none}
  .catch{font-size:1.5rem;line-height:1.6}
  .hero h1{margin-top:.7rem}
  .hero h1 .name{font-size:1.02rem}
  .hero h1 .what{font-size:.86rem;letter-spacing:.06em}
  .where{font-size:.84rem;margin-top:.3rem}
  .fv-strip{display:flex;align-items:center;justify-content:center;gap:12px;height:76px;padding:0 16px;background:var(--paper)}
  .fv-strip .btn-main,.fv-strip .btn-ig{min-height:48px;padding:0 20px;font-size:.92rem}

  .split,.split.rev{grid-template-columns:1fr}
  .split .split-img,.split.rev .split-img{order:-1}
  .split.rev .split-txt{order:0}
  .split-txt > .btn-ig,.split-txt > .btn-main{display:flex;width:fit-content;max-width:100%;margin-inline:auto}
  .btns{justify-content:center}
  .info div,.info.two div{grid-template-columns:1fr;gap:2px}
  .info.two{grid-template-columns:1fr}
  .info.two div:nth-last-child(2){border-bottom:0}
  .pin-note br{display:none}

  .pillars{grid-template-columns:1fr;gap:40px}
  .pillars li:nth-child(2){margin-top:0}
  .pillars img{aspect-ratio:4/3}

  /* 作家さん：横にスクロール（1枚の8割幅・次の1枚が少し見える） */
  .makers{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:24px;margin-inline:-24px;padding:0 24px 12px;
    scrollbar-width:thin;-webkit-overflow-scrolling:touch}
  .makers li{flex:0 0 78%;scroll-snap-align:start}
  .scroll-hint{display:block;margin-top:.6rem;font-size:.8rem;color:var(--ink-soft);text-align:right}

  .spec{grid-template-columns:1fr}
  .spec div{grid-template-columns:1fr;gap:2px}
  .wide-img img{aspect-ratio:4/3}
  .access{grid-template-columns:1fr}
  .duo{grid-template-columns:1fr;gap:56px}
  .duo .btns,.duo .txt-link-wrap{justify-content:center;text-align:center}

  .mb-title{font-size:1.12rem;letter-spacing:.02em}

}

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

/* スマホのヒーロー：写真（正方形）の下に文字・余白を詰める（2026-09-30 鈴木さん決定） */
@media (max-width:800px){
  .hero{height:auto;min-height:0;grid-template-rows:auto auto}
  .photo picture,.photo img{height:auto}
  .photo img{aspect-ratio:1/1;object-fit:cover}
  .hero .copy{padding:18px 24px 4px;justify-content:flex-start}
  .catch{font-size:1.45rem;line-height:1.55}
  .hero h1{margin-top:.5rem}
  .fv-strip{height:auto;padding:14px 16px 22px;justify-content:flex-start}
}
