:root {
  --ink: #2b1a10;
  --sumi: #3a2519;
  --buy: #5b3a26;
  --gold: #c49a6c;
  --line: #d9d3cd;
  --mute: #6b5d53;
  --white: #fff;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; padding-bottom: 60px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.4; margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.btn { display: block; text-align: center; text-decoration: none; padding: 14px 20px; border-radius: 3px; font-weight: 700; line-height: 1.4; }
.btn-buy { background: var(--buy); color: var(--white); }
.btn-buy:hover { background: #452b1b; }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: rgba(43,26,16,.06); }
.btn-line-w { border: 1px solid rgba(255,255,255,.7); color: var(--white); }
.btn-line-w:hover { background: rgba(255,255,255,.12); }

/* ヘッダー */
.site-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; background: var(--white); border-bottom: 1px solid var(--line); }
.logo img { width: 52px; }
.pc-nav, .head-buy { display: none; }
.sp-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 9px; }
.sp-menu summary::-webkit-details-marker { display: none; }
.sp-menu summary span { display: block; height: 2px; background: var(--ink); }
.sp-menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); }
.sp-menu nav a { display: block; padding: 14px 16px; border-top: 1px solid var(--line); text-decoration: none; font-weight: 500; }

/* ファーストビュー */
.hero { position: relative; height: calc(100svh - 125px); min-height: 480px; overflow: hidden; background: #3f6fa6; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero-copy { position: absolute; top: 18px; right: 18px; color: var(--white); writing-mode: vertical-rl; display: flex; flex-direction: column; gap: 16px; text-shadow: 0 1px 12px rgba(20,50,90,.45); }
.hero h1 { font-size: 28px; font-weight: 900; letter-spacing: .1em; line-height: 1.5; }
.hero-copy p { margin: 0; font-family: var(--serif); font-size: 13px; letter-spacing: .1em; line-height: 1.5; }

.campaign { background: var(--gold); color: var(--ink); font-size: 15px; line-height: 1.6; }
.campaign a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; padding: 14px 16px; text-decoration: none; }
.campaign span { font-size: 13px; font-weight: 700; border-bottom: 1px solid currentColor; }
.campaign a:hover { background: #b98d5e; }
.tcy { text-combine-upright: all; }

/* 三つの製法の導入 */
.statement { padding: 56px 20px 48px; text-align: center; }
.statement .mon { width: 48px; margin: 0 auto 20px; }
.statement h2 { font-size: 28px; font-weight: 900; letter-spacing: .04em; }
.statement p { margin: 20px auto 0; max-width: 34em; text-align: center; }
.statement p br.pc-br { display: none; }
.statement p .ph { display: inline-block; }

/* 製法 */
.seiho { background: var(--sumi); color: var(--white); }
.seiho article img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.seiho-text { padding: 22px 20px 40px; }
.seiho h3 { font-size: 30px; font-weight: 900; letter-spacing: .08em; margin-bottom: 10px; }
.seiho p { margin: 0; color: #eee6df; }
.seiho-foot { background: var(--white); color: var(--ink); padding: 48px 20px 8px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.maru { width: 200px; }
.seiho-links { width: 100%; display: grid; gap: 12px; }

/* 沖の石 */
.oki { padding: 56px 20px; display: grid; grid-template-columns: 96px 1fr; gap: 12px 16px; align-items: center; }
.oki-stamp img { width: 104px; }
.oki-photo { width: 100%; max-width: 240px; justify-self: center; }
.oki-text { grid-column: 1 / -1; }
.kicker { margin: 12px 0 0; color: #9a6f43; font-weight: 700; font-size: 14px; }
.oki h2 { font-size: 36px; font-weight: 900; letter-spacing: .1em; }
.hard { margin: 4px 0 14px; color: var(--mute); font-size: 14px; }
.oki .btn { margin-top: 22px; }

/* 十一の味 */
.aji { padding: 48px 20px 56px; border-top: 1px solid var(--line); }
.aji h2 { font-size: 24px; font-weight: 900; margin-bottom: 24px; }
.aji-photo { margin: 0 -20px 28px; }
.aji-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.aji-photo figcaption { padding: 8px 20px 0; font-size: 13px; color: var(--mute); }
.aji ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 14px; }
.aji li { display: grid; }
.aji li a { display: block; }
.aji li a:hover { opacity: .65; }
.aji li.aji-more a { min-height: 130px; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--ink); font-size: 12px; line-height: 1.6; font-weight: 700; text-decoration: none; }
.honba { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; font-size: 13px; line-height: 1.7; font-weight: 700; text-align: left; }
.honba img { width: 56px; height: auto; }
.honba a { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.honba a:hover { opacity: .65; }
.hero-logo img { width: 30px; height: auto; filter: drop-shadow(0 1px 8px rgba(20,50,90,.5)); }

/* 贈りもの */
.gift img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gift-text { padding: 28px 20px 48px; }
.gift h2 { font-size: 28px; font-weight: 900; }
.gift p { margin: 8px 0 18px; }
.link-list a { display: block; padding: 13px 28px 13px 2px; border-top: 1px solid var(--line); text-decoration: none; font-weight: 500; position: relative; }
.link-list li:last-child a { border-bottom: 1px solid var(--line); }
.link-list a::after { content: ""; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: translateY(-50%) rotate(45deg); }

/* お知らせ */
.news { padding: 48px 20px; border-top: 1px solid var(--line); }
.news h2, .insta h2 { font-size: 24px; font-weight: 900; margin-bottom: 18px; }
.news li { padding: 12px 0; border-top: 1px solid var(--line); line-height: 1.7; }
.news li:last-child { border-bottom: 1px solid var(--line); }
.news time { display: block; color: var(--mute); font-size: 13px; }

/* Instagram */
.insta { padding: 0 20px 56px; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ig-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* 店舗 */
.store { background: var(--sumi); color: var(--white); }
.store > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 60%; }
.store-text { padding: 28px 20px 48px; }
.store h2 { font-size: 28px; font-weight: 900; margin-bottom: 16px; }
.store dl { margin: 0 0 24px; display: grid; grid-template-columns: 5.5em 1fr; gap: 8px 8px; }
.store dt { color: #c9bdb3; }
.store dd { margin: 0; }
.store-links { display: grid; gap: 12px; }

/* フッター */
.site-foot { background: var(--ink); color: var(--white); padding: 40px 20px; }
.site-foot img { width: 96px; }
.site-foot p { margin: 12px 0 18px; font-size: 14px; }
.site-foot nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 13px; }
.site-foot a { text-decoration: none; }

/* スマホの固定購入バー */
.sp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 104px; height: 60px; }
.sp-bar a { display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; color: var(--white); }
.sp-bar-buy { background: var(--buy); }
.sp-bar-tel { background: var(--gold); color: var(--ink) !important; font-size: 14px; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .site-head { padding: 12px 32px; }
  .logo img { width: 64px; }
  .pc-nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; }
  .pc-nav a { text-decoration: none; }
  .pc-nav a:hover { color: #9a6f43; }
  .head-buy { display: block; padding: 11px 20px; font-size: 14px; }
  .sp-menu, .sp-bar { display: none; }

  .hero { height: 82vh; min-height: 560px; }
  .hero img { object-position: center 28%; }
  .hero-copy { top: 44px; right: 0; left: 0; writing-mode: horizontal-tb; align-items: center; text-align: center; gap: 10px; }
  .hero h1 { font-size: 52px; letter-spacing: .12em; }
  .hero h1 br { display: none; }
  .hero-copy p { font-size: 18px; letter-spacing: .16em; }
  .hero-logo img { width: 260px; }
  .campaign { text-align: center; }

  .statement { padding: 88px 32px 72px; }
  .statement h2 { font-size: 40px; }
  .statement p { text-align: center; font-size: 17px; max-width: 42em; }
  .statement p br.pc-br { display: inline; }

  .seiho { display: grid; grid-template-columns: repeat(3, 1fr); }
  .seiho-text { padding: 28px 32px 48px; }
  .seiho-foot { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 72px; padding: 72px 32px 24px; }
  .maru { width: 240px; }
  .seiho-links { width: 340px; }

  .oki { max-width: 1120px; margin: 0 auto; padding: 96px 32px; grid-template-columns: 150px 340px 1fr; gap: 48px; }
  .oki-stamp img { width: 150px; }
  .oki-photo { max-width: 340px; }
  .oki-text { grid-column: auto; }
  .oki h2 { font-size: 48px; }
  .oki .btn { display: inline-block; padding: 15px 40px; }

  .aji { padding: 72px 32px 88px; text-align: center; }
  .aji h2 { font-size: 32px; margin-bottom: 40px; }
  .aji-photo { max-width: 720px; margin: 0 auto 48px; }
  .aji-photo figcaption { padding: 10px 0 0; font-size: 14px; }
  .aji ul { grid-template-columns: repeat(8, 1fr); max-width: 1040px; margin: 0 auto; gap: 24px; }

  .gift { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; }
  .gift-text { padding: 48px 64px; }
  .gift h2 { font-size: 36px; }

  .news { max-width: 880px; margin: 0 auto; padding: 72px 32px; border-top: 0; }
  .news li { display: flex; gap: 24px; }
  .news time { font-size: 14px; line-height: 1.7; flex: none; }
  .insta { max-width: 880px; margin: 0 auto; padding: 0 32px 88px; }

  .store { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .store > img { height: 100%; aspect-ratio: auto; }
  .store-text { align-self: center; }
  .store-text { padding: 48px 56px; }
  .store h2 { font-size: 36px; }

  .site-foot { display: grid; grid-template-columns: auto 1fr; gap: 0 64px; padding: 48px 64px; align-items: start; }
  .site-foot p { grid-column: 1; margin-bottom: 0; }
  .site-foot nav { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(4, auto); }
}

@media (max-width: 899px) { .hero-copy .hero-logo { margin-right: -10px; } }

/* ===== 下層ページ共通 ===== */
.pc-nav a[aria-current="page"] { color: #9a6f43; }
.page-head { background: var(--sumi); color: var(--white); }
.page-head > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.page-head-text { padding: 28px 20px 36px; }
.page-kicker { margin: 0 0 6px; color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: .1em; }
.page-head h1 { font-size: 30px; font-weight: 900; letter-spacing: .06em; }
.page-toc { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 20px; font-size: 14px; }
.page-toc a { display: block; padding: 6px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 3px; text-decoration: none; }
.page-toc a:hover { background: rgba(255,255,255,.12); }

/* こだわり */
.koda { padding: 56px 20px; scroll-margin-top: 72px; }
.koda-line { border-top: 1px solid var(--line); }
.koda-dark { background: var(--sumi); color: var(--white); }
.koda h2 { font-size: 32px; font-weight: 900; letter-spacing: .1em; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.koda h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; line-height: 1.7; margin: 0 0 8px; }
.koda p { margin: 0 0 14px; }
.koda-text h3:not(:first-child) { margin-top: 28px; }
.koda-row img { width: 100%; margin-bottom: 24px; }
.koda-steps { display: grid; gap: 36px; }
.koda-steps img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 14px; }
.koda-steps p { color: #eee6df; }
.koda-end { margin: 36px 0 0; text-align: center; }
.koda-end img { width: 100%; max-width: 560px; margin: 0 auto; }
.koda-end figcaption { margin-top: 14px; font-family: var(--serif); font-size: 20px; font-weight: 700; }
.koda-movie { margin: 28px 0 0; }
.koda-honba { background: #f4efe9; }
.honba-box { display: grid; gap: 20px; }
.honba-mark img { width: 96px; }
.koda-honba h2 { font-size: 26px; }
.honba-strong { font-weight: 700; }
.next-links { padding: 48px 20px 56px; display: grid; gap: 12px; }

@media (min-width: 900px) {
  .page-head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; }
  .page-head > img { height: 100%; aspect-ratio: auto; min-height: 420px; }
  .page-head-text { padding: 48px 56px; }
  .page-head h1 { font-size: 44px; }

  .koda { padding: 96px 32px; }
  .koda-inner { max-width: 1080px; margin: 0 auto; }
  .koda h2 { font-size: 40px; margin-bottom: 40px; }
  .koda-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .koda-row img { margin: 0; }
  .koda-row-rev img { order: 2; }
  .koda-steps { grid-template-columns: repeat(3, 1fr); gap: 48px 36px; }
  .koda-end figcaption { font-size: 24px; }
  .koda .koda-movie { max-width: 340px; margin: 32px auto 0; }
  .honba-box { grid-template-columns: 140px 1fr; gap: 48px; align-items: start; max-width: 860px; margin: 0 auto; }
  .honba-mark img { width: 140px; }
  .next-links { grid-template-columns: repeat(2, 340px); justify-content: center; padding: 72px 32px 96px; }
}

/* ===== 下層4ページ（商品紹介・歴史・店舗会社案内・熨斗紙） ===== */
.koda .honba { margin-top: 48px; }
.koda .btn { margin-top: 6px; }
.koda-dark a { color: var(--white); }

/* 商品紹介 */
.prod-list { display: grid; gap: 40px; }
.prod { padding-bottom: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 72px; }
.prod:last-child { border-bottom: 0; padding-bottom: 0; }
.prod-pics { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; margin-bottom: 16px; }
.prod-photo { width: 100%; max-width: 240px; justify-self: center; }
.koda .prod h3 { font-family: var(--serif); font-size: 28px; font-weight: 900; letter-spacing: .08em; line-height: 1.4; margin: 0; }
.prod h3 span { margin-left: 12px; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0; color: #9a6f43; }
.shop-list { display: grid; gap: 28px; }
.koda .shop-list h3 { color: var(--gold); margin-bottom: 4px; }
.koda .shop-list p { margin: 0; }
.shop-list .shop-item { color: #eee6df; font-size: 14px; }

/* 歴史 */
.old-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: start; margin: 24px 0; }
.yondaime { float: right; width: 96px; margin: 4px 0 12px 20px; }
.koda-read::after { content: ""; display: block; clear: both; }
.page-head h1 .ph { display: inline-block; }
.kigen-ku { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.koda blockquote { margin: 0 0 14px; padding: 4px 0 4px 16px; border-left: 2px solid var(--gold); color: #eee6df; }
.kigen-photo { margin: 20px auto; }
.koda .kigen-sub { font-family: var(--serif); font-size: 22px; margin: 36px 0 12px; }
.koda-dark p { color: #eee6df; }
.media-cols { display: grid; gap: 36px; }
.koda .media-cols h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 12px; }
.media-list li { padding: 8px 0; border-top: 1px solid var(--line); line-height: 1.6; }
.media-list li:last-child { border-bottom: 1px solid var(--line); }
.media-photo { margin-top: 24px; }

/* 店舗・会社案内 */
.info { margin: 0; display: grid; grid-template-columns: 6em 1fr; }
.info dt, .info dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.info dt { color: var(--mute); font-weight: 700; }
.koda-honba .info dt, .koda-honba .info dd { border-color: #ddd3c7; }
.map { margin-top: 32px; }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
.access-links { margin-top: 20px; }
.order-list { display: grid; gap: 32px; }
.koda .order-list h3 { font-family: var(--serif); font-size: 20px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.koda-dark .order-list h3 { border-color: rgba(255,255,255,.3); }
.koda .order-num { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.6; }
.order-num a { text-decoration: none; }
.order-note { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.koda-dark .order-note { border-color: rgba(255,255,255,.3); }

/* 熨斗紙・メッセージカード */
.card-sec { padding-top: 48px; padding-bottom: 48px; }
.koda.card-sec h2 { font-size: 26px; }
.card-note { font-size: 14px; margin-bottom: 20px; }
.koda .card-note p { margin-bottom: 6px; }
.card-tel { font-weight: 700; }
.card-tel a { font-family: var(--serif); font-size: 24px; text-decoration: none; }
.card-hint { color: var(--mute); font-size: 14px; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; align-items: end; }
.card-grid figure { margin: 0; }
.card-grid a { display: block; }
.card-grid a:hover { opacity: .7; }
.card-grid img { margin: 0 auto; border: 1px solid var(--line); background: var(--white); }
.card-grid figcaption { margin-top: 6px; text-align: center; font-size: 14px; font-weight: 700; }

@media (min-width: 900px) {
  .koda-read { max-width: 800px; }
  .prod-list { grid-template-columns: 1fr 1fr; gap: 56px 64px; }
  .prod { border-bottom: 0; padding-bottom: 0; }
  .prod-pics { grid-template-columns: 110px 220px; justify-content: start; gap: 24px; }
  .shop-list { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .old-photos { grid-template-columns: repeat(3, 200px); gap: 16px; }
  .yondaime { width: 130px; margin-left: 32px; }
  .kigen-photo { float: right; margin: 4px 0 16px 32px; }
  .media-cols { grid-template-columns: 1fr 1fr; gap: 64px; }
  .map iframe { height: 440px; }
  .order-list { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  #toiawase .order-list { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
  .koda.card-sec { padding-top: 64px; padding-bottom: 64px; }
  .koda.card-sec h2 { font-size: 30px; }
  .card-grid { grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
}

/* 2026-11-13 歴史ページ: 元データの写真へ差し替え（2列×2段）・先代の写真 */
.old-photos { grid-template-columns: repeat(2, 1fr); }
.old-photos img { width: 100%; height: auto; display: block; }
.sendai { float: right; width: 42%; margin: 4px 0 12px 16px; }
.sendai img { width: 100%; height: auto; display: block; }
.kigen-photo { width: 100%; height: auto; }
@media (min-width: 900px) {
  .old-photos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sendai { width: 220px; margin-left: 32px; }
  .kigen-photo { width: 320px; }
}
/* 2026-11-13 店舗・会社案内の冒頭: トップと同じく左右を切った外観（電柱と道路を外す） */
.page-head > img.store-photo { aspect-ratio: 4 / 3; object-position: center 35%; }

/* Instagram（/instagram/cache/feed.html を読み込む） */
.ig-item { position: relative; display: block; }
.ig-item .ig-badge { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 3px; }
