/* =========================================================================
   Japan Jikkan — Design System  /  ジャパンヴィヴィッド
   藍 (Indigo) × 朱 (Vermilion) × 金 (Gold)
   ========================================================================= */

:root {
  /* --- Brand palette ------------------------------------------------- */
  --ai:        #103a6b;   /* 藍 indigo (primary) */
  --ai-deep:   #0a2647;   /* 紺 deep indigo */
  --ai-soft:   #2e5fa3;   /* 露草 light indigo */
  --shu:       #e1483b;   /* 朱 vermilion (accent) */
  --shu-deep:  #c5352b;   /* 真朱 */
  --kin:       #c9a24b;   /* 金 gold */
  --kin-soft:  #e6cf94;   /* 淡金 */
  --matsuba:   #2f7a56;   /* 松葉 green (nature) */
  --sumi:      #1a1714;   /* 墨 ink (text) */
  --sumi-2:    #4a4540;   /* secondary text */
  --washi:     #f7f3ea;   /* 和紙 paper bg */
  --washi-2:   #efe8da;   /* paper deeper */
  --white:     #ffffff;
  --line:      #e2dccd;   /* hairline */

  /* --- Typography ---------------------------------------------------- */
  --serif: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans:  "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", sans-serif;

  /* --- Layout -------------------------------------------------------- */
  --wrap: 1180px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 4px;
  --shadow-s: 0 2px 10px rgba(16,24,40,.06);
  --shadow-m: 0 14px 40px rgba(10,38,71,.12);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --- Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--sumi);
  background: var(--washi);
  line-height: 1.85;
  letter-spacing: .02em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.4; letter-spacing: .03em; }

/* --- Helpers --------------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.wrap-wide { width: min(1440px, 100% - var(--gut) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.jp-vert { writing-mode: vertical-rl; text-orientation: upright; }

/* eyebrow label with seal-dot */
.eyebrow {
  font-family: var(--serif);
  font-size: .82rem; letter-spacing: .3em;
  color: var(--shu); font-weight: 600;
  display: inline-flex; align-items: center; gap: .7em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--shu); }

/* --- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.8em;
  font-family: var(--sans); font-weight: 700; font-size: .92rem;
  letter-spacing: .08em;
  border-radius: 999px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  will-change: transform;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--shu); color: #fff; box-shadow: 0 8px 22px rgba(225,72,59,.32); }
.btn-primary:hover { background: var(--shu-deep); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--ai); color: var(--ai); }
.btn-ghost:hover { background: var(--ai); color: #fff; transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg,#d8b35a,#b8893a); color: #2a1d05; box-shadow: 0 8px 22px rgba(201,162,75,.3); }
.btn-gold:hover { transform: translateY(-2px); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,234,.82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-s); background: rgba(247,243,234,.94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img, .brand svg { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem,2.4vw,2.1rem); }
.nav a {
  position: relative; font-size: .92rem; font-weight: 500; padding: .3em 0;
  font-family: var(--serif); letter-spacing: .08em;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--shu); transition: width .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: .9rem; }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--sumi); transition: .3s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(46,95,163,.14), transparent 55%),
    radial-gradient(90% 80% at -5% 110%, rgba(225,72,59,.10), transparent 55%),
    var(--washi);
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 7.5rem);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.hero-copy h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 1.18; letter-spacing: .04em;
  margin: 1rem 0 1.3rem;
}
.hero-copy h1 .em { color: var(--shu); }
.hero-copy h1 .ai { color: var(--ai); }
.hero-lead { font-size: clamp(1rem,1.4vw,1.12rem); color: var(--sumi-2); max-width: 34ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.2rem; margin-top: 2.8rem; }
.hero-stats .num { font-family: var(--serif); font-size: 2rem; color: var(--ai); font-weight: 700; }
.hero-stats .lbl { font-size: .78rem; color: var(--sumi-2); letter-spacing: .12em; }

/* hero visual: stacked image cards + vertical title */
.hero-visual { position: relative; height: clamp(360px, 42vw, 540px); }
.hero-card {
  position: absolute; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-m); border: 6px solid #fff;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card.c1 { width: 64%; height: 78%; top: 0; right: 4%; z-index: 2; }
.hero-card.c2 { width: 46%; height: 56%; bottom: 0; left: 0; z-index: 3; }
.hero-vtitle {
  position: absolute; top: 6%; left: 2%; z-index: 4;
  font-family: var(--serif); font-size: clamp(1.6rem,3vw,2.4rem);
  color: var(--ai-deep); letter-spacing: .25em; font-weight: 700;
  text-shadow: 0 2px 14px rgba(247,243,234,.9);
}
.hero-seal {
  position: absolute; z-index: 5; bottom: 8%; right: 0;
  width: clamp(64px, 9vw, 92px); height: auto; transform: rotate(-4deg);
  filter: drop-shadow(0 6px 14px rgba(197,53,43,.3));
}

/* =========================================================================
   Section scaffolding & 和柄 dividers
   ========================================================================= */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-dark { background: var(--ai-deep); color: #f3ead9; }
.section-paper { background: var(--washi-2); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem,4vw,3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: .8rem 0 .7rem; }
.section-head p { color: var(--sumi-2); }
.section-dark .section-head p { color: #c9bfa9; }

/* 青海波 divider */
.seigaiha {
  height: 26px; width: 100%;
  background:
    radial-gradient(circle at 50% 100%, transparent 9px, var(--kin) 9px 11px, transparent 11px) 0 0/28px 14px,
    radial-gradient(circle at 50% 100%, transparent 9px, var(--kin) 9px 11px, transparent 11px) 14px 0/28px 14px;
  opacity: .55;
}

/* =========================================================================
   Cards — articles
   ========================================================================= */
.card-grid { display: grid; gap: clamp(1.4rem,2.6vw,2rem); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-s); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.card-thumb { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-thumb img { transform: scale(1.06); }
.card-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--shu); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .35em .9em; border-radius: 999px; letter-spacing: .08em;
}
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-meta { font-size: .76rem; color: var(--sumi-2); letter-spacing: .1em; display: flex; gap: .8em; align-items: center; }
.card-meta .region { color: var(--ai); font-weight: 700; }
.card h3 { font-size: 1.18rem; line-height: 1.5; }
.card:hover h3 { color: var(--ai); }
.card p { font-size: .9rem; color: var(--sumi-2); margin-top: auto; }

/* =========================================================================
   Region map grid (47都道府県 / 地方)
   ========================================================================= */
.region-block { margin-bottom: 2.6rem; }
.region-block h3 {
  font-size: 1.15rem; color: var(--ai); margin-bottom: 1rem;
  display: flex; align-items: baseline; gap: .8rem;
}
.region-block h3 .en { font-size: .72rem; letter-spacing: .25em; color: var(--kin); font-family: var(--sans); }
.pref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px,1fr)); gap: .6rem; }
.pref {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8em .9em; font-size: .92rem; font-family: var(--serif);
  display: flex; justify-content: space-between; align-items: center;
  transition: .28s var(--ease);
}
.pref:hover { background: var(--ai); color: #fff; transform: translateY(-3px); border-color: var(--ai); box-shadow: var(--shadow-s); }
.pref .cnt { font-size: .7rem; color: var(--kin); font-family: var(--sans); }
.pref:hover .cnt { color: var(--kin-soft); }

/* =========================================================================
   Theme tiles
   ========================================================================= */
.theme-tile {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; color: #fff;
  box-shadow: var(--shadow-s);
}
.theme-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.theme-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,38,71,.86), rgba(10,38,71,.05) 65%); }
.theme-tile:hover img { transform: scale(1.08); }
.theme-tile .tt-body { position: relative; z-index: 2; padding: 1.3rem; }
.theme-tile .tt-jp { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.theme-tile .tt-en { font-size: .72rem; letter-spacing: .25em; color: var(--kin-soft); margin-top: .2rem; }

/* =========================================================================
   Monetize / 掲載 CTA band
   ========================================================================= */
.cta-band {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(225,72,59,.22), transparent 50%),
    linear-gradient(135deg, var(--ai-deep), var(--ai));
  color: #fff; border-radius: 8px; overflow: hidden; position: relative;
  padding: clamp(2.4rem,5vw,4rem);
}
.cta-band h2 { font-size: clamp(1.6rem,3.4vw,2.6rem); margin-bottom: 1rem; }
.cta-band p { color: #d7e0ee; max-width: 52ch; margin-bottom: 1.8rem; }
.cta-seal { position: absolute; right: -10px; bottom: -10px; width: 180px; opacity: .14; }

/* =========================================================================
   Article (single)
   ========================================================================= */
.article-hero { position: relative; }
.article-hero .ah-img { aspect-ratio: 16/7; overflow: hidden; }
.article-hero .ah-img img { width: 100%; height: 100%; object-fit: cover; }
.article-head { max-width: 760px; margin: clamp(-3rem,-4vw,-2rem) auto 0; position: relative; z-index: 2;
  background: var(--washi); border-radius: 8px; padding: clamp(1.6rem,4vw,2.6rem); box-shadow: var(--shadow-m); }
.breadcrumb { font-size: .78rem; color: var(--sumi-2); margin-bottom: 1rem; letter-spacing: .06em; }
.breadcrumb a:hover { color: var(--shu); }
.breadcrumb span { color: var(--kin); margin: 0 .4em; }
.article-head h1 { font-size: clamp(1.7rem,4vw,2.6rem); line-height: 1.42; margin-bottom: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .82rem; color: var(--sumi-2); align-items: center; }
.article-meta .region { background: var(--ai); color: #fff; padding: .25em .9em; border-radius: 999px; font-weight: 700; }

.prose { max-width: 720px; margin: clamp(2rem,5vw,3.4rem) auto 0; font-size: 1.05rem; }
.prose > * + * { margin-top: 1.4rem; }
.prose h2 {
  font-size: 1.55rem; margin-top: 2.8rem; padding-left: 1rem;
  border-left: 5px solid var(--shu); line-height: 1.5;
}
.prose h3 { font-size: 1.25rem; margin-top: 2rem; color: var(--ai); }
.prose p { color: #2c2620; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-s); margin-inline: auto; }
.prose figure { margin-top: 2rem; }
.prose figcaption { font-size: .8rem; color: var(--sumi-2); text-align: center; margin-top: .6rem; }
.prose blockquote {
  border-left: 4px solid var(--kin); background: var(--washi-2);
  padding: 1.1rem 1.4rem; font-family: var(--serif); color: var(--sumi-2); border-radius: 0 4px 4px 0;
}
.prose a { color: var(--ai); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--kin); }
.prose ul.bullets { display: grid; gap: .7rem; }
.prose ul.bullets li { position: relative; padding-left: 1.6em; }
.prose ul.bullets li::before { content: "❖"; position: absolute; left: 0; color: var(--shu); }

/* info box (店舗情報) */
.infobox {
  border: 1px solid var(--line); border-top: 4px solid var(--ai);
  background: #fff; border-radius: var(--radius); padding: 1.4rem 1.6rem;
}
.infobox h4 { font-family: var(--serif); color: var(--ai); margin-bottom: .9rem; font-size: 1.05rem; }
.infobox dl { display: grid; grid-template-columns: 6.5em 1fr; gap: .55rem 1rem; font-size: .92rem; }
.infobox dt { color: var(--sumi-2); font-weight: 700; }

/* sponsored / 掲載商品 block */
.promo {
  border: 1.5px dashed var(--kin); border-radius: 8px; background: var(--washi-2);
  padding: 1.6rem; display: grid; grid-template-columns: 120px 1fr; gap: 1.4rem; align-items: center;
}
.promo .ribbon { font-size: .72rem; letter-spacing: .15em; color: var(--kin); font-weight: 700; }
.promo h4 { font-size: 1.2rem; margin: .3rem 0 .5rem; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--sumi); color: #d9d2c4; padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img, .footer-brand svg { height: 48px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { font-size: .86rem; color: #9b9484; max-width: 30ch; }
.footer-col h4 { font-family: var(--serif); font-size: .95rem; color: var(--kin-soft); margin-bottom: 1rem; letter-spacing: .1em; }
.footer-col a { display: block; font-size: .86rem; color: #b8b1a3; padding: .35em 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #36312a; margin-top: 2.6rem; padding-top: 1.6rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: #8a8474; }

/* =========================================================================
   Reveal-on-scroll
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: clamp(320px, 70vw, 460px); max-width: 520px; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .promo { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 768px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    background: var(--washi); padding: 1.2rem var(--gut); gap: .3rem; box-shadow: var(--shadow-m);
    border-bottom: 1px solid var(--line);
  }
  .nav.open a { padding: .7em 0; border-bottom: 1px solid var(--line); }
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.4rem; }
  .promo { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
