/* =========================================================
   有限会社 石刻 — Site stylesheet
   Tone: 深緑 (#2f4a37) × 墨黒 (#0e0e0e) × 紙 (#fafaf7)
   ========================================================= */

:root {
  --accent: #2f4a37;
  --accent-soft: #5a7a64;
  --accent-light: #8fb59a;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --ink-mute: #6a6a6a;
  --ink-faint: #a0998c;
  --paper: #fafaf7;
  --paper-warm: #f4f1ea;
  --paper-deep: #ece7dc;
  --rule: #c9c4ba;
  --black: #0e0e0e;
  --black-soft: #1a1815;

  --serif: 'Shippori Mincho', 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --latin-serif: 'Cormorant Garamond', 'Cinzel', serif;

  --header-h: 72px;
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.04em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ==================== Header ==================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: rgba(14, 14, 14, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.site-header.is-light {
  background: rgba(250, 250, 247, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  margin-right: auto;
}
.site-header.is-light .brand { color: var(--ink); }
.site-header .brand .kanji {
  display: inline-block;
  height: 23px;
  aspect-ratio: 567.95 / 260;
  background-color: currentColor;
  -webkit-mask: url('logo_mark.svg') no-repeat left center / contain;
  mask: url('logo_mark.svg') no-repeat left center / contain;
  font-size: 0;
  letter-spacing: 0;
  padding-left: 0;
}
.site-header .brand .en {
  font-family: var(--latin-serif);
  font-size: 11px;
  letter-spacing: 0.5em;
  opacity: 0.7;
  text-transform: uppercase;
}
.site-header nav.primary {
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-header nav.primary a {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--serif);
  font-size: 14.5px;
  letter-spacing: 0.25em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.site-header.is-light nav.primary a { color: var(--ink-soft); }
.site-header nav.primary a:hover { color: #fff; }
.site-header.is-light nav.primary a:hover { color: var(--accent); }
.site-header nav.primary a.is-current::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent-light);
}
.site-header.is-light nav.primary a.is-current::after { background: var(--accent); }
.site-header nav.primary a[data-cta] {
  background: var(--accent);
  color: #fff;
  padding: 11px 22px;
  font-size: 13.5px;
  letter-spacing: 0.3em;
}
.site-header nav.primary a[data-cta]:hover { background: var(--accent-soft); color: #fff; }
.nav-burger {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px; height: 40px;
  position: relative;
  cursor: pointer;
}
.site-header.is-light .nav-burger { border-color: rgba(0, 0, 0, 0.2); }
.nav-burger::before, .nav-burger::after {
  content: '';
  position: absolute;
  left: 9px; right: 9px;
  height: 1px;
  background: #fff;
  transition: transform 0.3s, top 0.3s;
}
.site-header.is-light .nav-burger::before,
.site-header.is-light .nav-burger::after { background: var(--ink); }
.nav-burger::before { top: 14px; }
.nav-burger::after { top: 24px; }
.nav-burger.is-open::before { top: 19px; transform: rotate(45deg); }
.nav-burger.is-open::after  { top: 19px; transform: rotate(-45deg); }

/* ==================== Page-top spacer ==================== */
main { display: block; }
.page-top {
  padding-top: var(--header-h);
}

/* ==================== Hero (home only) ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Top padding clears the fixed header (+ notice bar) so the big 石刻 mark
     never gets jammed under / clipped above the top edge on short, wide
     monitors. The hero grows instead of cropping its own content. */
  box-sizing: border-box;
  padding-top: calc(var(--header-h) + var(--notice-h, 0px) + 40px);
  padding-bottom: 88px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(143, 181, 154, 0.10) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.hero .hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  filter: saturate(0.85);
  z-index: 0;
}
.hero .hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.32) 0%, rgba(10,10,10,0.15) 38%, rgba(10,10,10,0.32) 70%, rgba(10,10,10,0.55) 100%),
    radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
  z-index: 1;
}
.hero.hero--photo .kanji-mark {
  line-height: 1.06;
  text-shadow:
    0 2px 8px rgba(0,0,0,1),
    0 4px 40px rgba(0,0,0,0.9),
    0 0 60px rgba(0,0,0,0.85);
}
.hero--photo .lead { text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
.hero--photo .en-mark { text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
.hero--photo .sub {
  text-shadow:
    0 2px 12px rgba(0,0,0,0.95),
    0 1px 4px rgba(0,0,0,0.95),
    0 0 30px rgba(0,0,0,0.8);
}
.hero .grain {
  position: absolute; inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
}
.hero-inner {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 0 24px;
}
.hero .kanji-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(2px, 0.5vw, 10px);
  line-height: 0.95;
  color: #fff;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.72)) drop-shadow(0 3px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 60px rgba(143, 181, 154, 0.14));
}
.hero .kanji-mark .km-char {
  display: block;
  height: clamp(128px, 23vw, 330px);
  width: auto;
  color: #fff;
}
.hero .kanji-mark .stroke-accent { color: var(--accent-light); }
.hero--photo .kanji-mark .stroke-accent {
  color: #fff;
}
.hero--photo .sub {
  display: inline-block;
  position: relative;
  isolation: isolate;
  background-color: rgba(90, 95, 100, 0.7);
  padding: 12px 26px;
  padding-left: calc(26px + 0.3em);
  color: #ffffff;
  font-size: clamp(15px, 1.4vw, 18px);
  text-shadow: none;
}
.hero--photo .hero-inner {
  text-align: left;
  margin-right: auto;
  margin-left: clamp(24px, 8vw, 140px);
  max-width: 720px;
}
.hero--photo .rule-mark { margin-left: 0; margin-right: 0; }
.hero .en-mark {
  font-family: var(--latin-serif);
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: 0.7em;
  padding-left: 0.7em;
  margin-top: 16px;
  color: rgba(255,255,255,0.75);
}
.hero .rule-mark {
  width: 80px; height: 0;
  border-top: 1px solid var(--accent-light);
  margin: 28px auto;
  opacity: 0.7;
}
.hero .lead {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 400;
  letter-spacing: 0.4em;
  padding-left: 0.4em;
  color: rgba(255,255,255,0.92);
  margin-bottom: 12px;
}
.hero .sub {
  font-family: var(--serif);
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55);
}
.hero .scroll-cue {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--latin-serif);
  font-size: 11px;
  letter-spacing: 0.5em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.hero .scroll-cue::after {
  content: '';
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollCue 2.2s ease-in-out infinite;
}
@keyframes scrollCue {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ==================== Section base ==================== */
section { padding: 100px 32px; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-dark { background: var(--black); color: #fff; }
.section-warm { background: var(--paper-warm); }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .en {
  font-family: var(--latin-serif);
  font-size: 12px;
  letter-spacing: 0.6em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-dark .section-head .en { color: var(--accent-light); }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: 0.4em;
  padding-left: 0.4em;
  color: var(--ink);
}
.section-dark .section-head h2 { color: #fff; }
.section-head .rule {
  width: 50px; height: 0;
  border-top: 1px solid var(--accent);
  margin: 22px auto 0;
}
.section-dark .section-head .rule { border-color: var(--accent-light); }
.section-head .lead {
  margin-top: 24px;
  font-size: 17px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  line-height: 2.05;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.section-dark .section-head .lead { color: rgba(255,255,255,0.72); }

/* ==================== Strengths (home) ==================== */
.strengths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.strengths .item {
  padding: 40px 28px;
  border-right: 1px solid var(--rule);
  text-align: center;
}
.strengths .item:last-child { border-right: none; }
.strengths .num {
  font-family: var(--latin-serif);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 14px;
}
.strengths .ttl {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--ink);
  margin-bottom: 12px;
}
.strengths .desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
/* Keep each phrase together so wrapping happens only at clause boundaries. */
.strengths .desc .ph { display: inline-block; }

/* ==================== Picture cards / generic media ==================== */
.media {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s ease;
}
.media.zoom:hover img { transform: scale(1.04); }
.media .badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  padding: 5px 12px;
}
.media .badge.after { background: rgba(47, 74, 55, 0.9); }

/* ==================== Featured cases (home) ==================== */
.feat-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feat-cases .case .ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--black);
}
.feat-cases .case .media { aspect-ratio: 4/5; }
.feat-cases .case .cap {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* ==================== News / お知らせ ==================== */
.news-list {
  max-width: 820px;
  margin: 0 auto;
}
.news-row {
  display: grid;
  grid-template-columns: 140px 120px 1fr;
  gap: 24px;
  padding: 24px 6px;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.news-row .date {
  font-family: var(--latin-serif);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.news-row .tag {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  border: 1px solid var(--rule);
  padding: 4px 12px;
  text-align: center;
  display: inline-block;
  justify-self: start;
}
.news-row .ttl {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.7;
}

/* ==================== FAQ ==================== */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  gap: 16px;
  align-items: center;
  padding: 24px 8px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--ink);
  transition: color 0.2s;
  line-height: 1.7;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item .q-mark {
  font-family: var(--latin-serif);
  font-size: 22px;
  color: var(--accent);
  text-align: center;
}
.faq-item .toggle {
  position: relative;
  width: 16px; height: 16px;
  justify-self: end;
}
.faq-item .toggle::before, .faq-item .toggle::after {
  content: '';
  position: absolute;
  background: var(--ink-mute);
  top: 50%; left: 50%;
  transition: transform 0.3s;
}
.faq-item .toggle::before { width: 14px; height: 1px; transform: translate(-50%, -50%); }
.faq-item .toggle::after  { width: 1px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .toggle::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item .a {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  gap: 16px;
  padding: 0 8px 28px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
}
.faq-item .a-mark {
  font-family: var(--latin-serif);
  font-size: 22px;
  color: var(--ink-mute);
  text-align: center;
}

/* ==================== Areas (対応エリア) ==================== */
.areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.areas .map-art {
  aspect-ratio: 1/1;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  position: relative;
  display: grid;
  place-items: center;
}
.areas .map-art .label {
  font-family: var(--latin-serif);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.areas h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}
.areas .area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.1em;
}
.areas .area-list li {
  list-style: none;
  padding-left: 22px;
  position: relative;
}
.areas .area-list li::before {
  content: ''; position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 1px;
  background: var(--accent);
}
.areas .note {
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}

/* ==================== Footer CTA ==================== */
.cta-bar {
  background: var(--black);
  color: #fff;
  padding: 80px 32px;
  text-align: center;
}
.cta-bar h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: 0.4em;
  padding-left: 0.4em;
  margin-bottom: 18px;
}
.cta-bar .sub {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 44px;
}
.cta-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.12);
}
.cta-channels a {
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: background 0.25s;
}
.cta-channels a:last-child { border-right: none; }
.cta-channels a:hover { background: rgba(143, 181, 154, 0.08); }
.cta-channels .label {
  font-family: var(--latin-serif);
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--accent-light);
  text-transform: uppercase;
}
.cta-channels .value {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.15em;
  color: #fff;
}
.cta-channels .ja {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.6);
}

/* ==================== Footer ==================== */
.site-footer {
  background: #07070a;
  color: rgba(255,255,255,0.72);
  padding: 64px 32px 32px;
  font-family: var(--serif);
}
.site-footer .footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer .brand-block .kanji {
  display: inline-block;
  height: 30px;
  aspect-ratio: 567.95 / 260;
  background-color: #fff;
  -webkit-mask: url('logo_mark.svg') no-repeat left center / contain;
  mask: url('logo_mark.svg') no-repeat left center / contain;
  font-size: 0;
  letter-spacing: 0;
  padding-left: 0;
}
.site-footer .brand-block .en {
  font-family: var(--latin-serif);
  font-size: 12px;
  letter-spacing: 0.5em;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  text-transform: uppercase;
}
.site-footer .brand-block .addr {
  font-size: 14.5px;
  margin-top: 18px;
  line-height: 2;
  color: rgba(255,255,255,0.66);
}
.site-footer h4 {
  font-family: var(--latin-serif);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul li {
  list-style: none;
  margin-bottom: 12px;
  font-size: 14.5px;
  letter-spacing: 0.1em;
  line-height: 1.7;
}
.site-footer ul li a:hover { color: #fff; }
.site-footer .copyright {
  max-width: var(--maxw);
  margin: 24px auto 0;
  font-family: var(--latin-serif);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ==================== Page hero (interior) ==================== */
.page-hero {
  background: var(--black);
  color: #fff;
  padding: calc(var(--header-h) + 80px) 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(143, 181, 154, 0.08) 0%, transparent 60%);
}
.page-hero .ja {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: 0.5em;
  padding-left: 0.5em;
  position: relative;
  z-index: 2;
}
.page-hero .en {
  font-family: var(--latin-serif);
  font-size: 14px;
  letter-spacing: 0.6em;
  color: var(--accent-light);
  margin-top: 16px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.page-hero .crumb {
  font-family: var(--latin-serif);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.45);
  margin-top: 28px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

/* ==================== Greeting ==================== */
.greeting {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: start;
}
.greeting .img-col {
  position: relative;
  aspect-ratio: 3/5;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
}
.greeting .img-col .media {
  width: 100%;
  height: 100%;
  background: var(--paper-warm);
}
.greeting .img-col .media img {
  object-fit: contain;
  padding: 16px;
  background: var(--paper-warm);
}
.greeting .img-col .watermark {
  position: absolute;
  right: -20px; bottom: -40px;
  font-family: var(--serif);
  font-size: 220px;
  font-weight: 400;
  color: rgba(47, 74, 55, 0.07);
  line-height: 1;
  pointer-events: none;
}
.greeting .text-col h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 32px;
}
.greeting .text-col p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 2.25;
  color: var(--ink-soft);
  text-indent: 1em;
  margin-bottom: 1.2em;
  letter-spacing: 0.06em;
}
.greeting .text-col .sign {
  margin-top: 36px;
  text-align: right;
}
.greeting .text-col .sign .role {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--ink-mute);
}
.greeting .text-col .sign .name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.5em;
  margin-top: 6px;
  padding-right: 0.3em;
}

/* ==================== History timeline ==================== */
.history-list { max-width: 860px; margin: 0 auto; }
.history-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.history-row:last-child { border-bottom: none; }
.history-year {
  font-family: var(--latin-serif);
  font-size: 30px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
}
.history-year .ja {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  margin-top: 6px;
}
.history-text {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 2;
  color: var(--ink);
  letter-spacing: 0.06em;
}
.history-text .sub {
  display: block;
  font-size: 15px;
  color: var(--ink-mute);
  margin-top: 8px;
  letter-spacing: 0.04em;
  line-height: 1.85;
}

/* ==================== Facility ==================== */
.facility-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 12px;
}
.facility-grid--single {
  grid-template-columns: 1fr;
  grid-template-rows: 520px;
}
.facility-grid--single .big { grid-column: 1 / -1; grid-row: 1 / -1; }
.facility-grid--1f {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 254px 254px;
}
.facility-grid--1f .big { grid-column: 1; grid-row: 1 / -1; }
.facility-grid--1f .small { grid-column: 2; }
.floor-block + .floor-block { margin-top: 56px; }
.floor-block .floor-head { margin-bottom: 20px; }
.floor-block .floor-ttl {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
}
.floor-block .floor-desc {
  font-size: 15px;
  line-height: 1.85;
  max-width: 760px;
  color: var(--ink-2, #555);
}
.facility-grid .big {
  grid-column: 1 / 2;
  grid-row: 1 / -1;
}
.facility-grid .big .media,
.facility-grid .small .media { width: 100%; height: 100%; }
.facility-cap {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.facility-cap .ttl {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 12px;
}
.facility-cap .desc {
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 2;
}

/* ==================== Equipment grid ==================== */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.equip-card .media { aspect-ratio: 4/3; }
.equip-card .name {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.18em;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 4px;
}
.equip-card .name-en {
  flex-basis: 100%;
  font-family: var(--latin-serif);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  margin-left: 0;
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
}
.equip-card .desc {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-soft);
}

/* ==================== Carving techniques ==================== */
.carve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 48px;
}
.carve-card .media {
  aspect-ratio: 4/3;
  background: var(--paper-warm);
}
.carve-card .media img { object-fit: contain; padding: 10px; background: var(--paper-warm); }
.carve-card .label-row {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.carve-card .label {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.3em;
  color: var(--ink);
}
.carve-card .label-en {
  font-family: var(--latin-serif);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}
.carve-card .desc {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 2;
  color: var(--ink-soft);
}

/* ==================== Cleaning gallery ==================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gallery .case {
  cursor: pointer;
}
.gallery .case .ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--black);
}
.gallery .case .media { aspect-ratio: 4/5; background: var(--black); }
.gallery .case .media img { object-fit: contain; padding: 4px; background: var(--paper-warm); }
.gallery .case .meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.gallery .case .meta .ttl {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.gallery .case .meta .num {
  font-family: var(--latin-serif);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.gallery .case .desc {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* Modal */
.modal {
  position: fixed; inset: 0;
  background: rgba(7,7,10,0.92);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.modal.is-open { display: flex; }
.modal .close {
  position: absolute;
  top: 24px; right: 28px;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 44px; height: 44px;
  font-family: var(--latin-serif);
  font-size: 20px;
  cursor: pointer;
}
.modal-content {
  max-width: 1100px;
  width: 100%;
  background: var(--paper);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.modal-content .info h3 {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}
.modal-content .info .num {
  font-family: var(--latin-serif);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 12px;
}
.modal-content .info .desc {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-soft);
}
.modal-content .info dl {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px 16px;
  font-size: 13.5px;
  font-family: var(--serif);
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.modal-content .info dt { color: var(--ink-mute); letter-spacing: 0.2em; }

/* ==================== Profile / Access ==================== */
.profile-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
}
.profile-grid dt, .profile-grid dd {
  padding: 22px 16px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
}
.profile-grid dt {
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--accent);
  font-weight: 600;
}
.profile-grid dd {
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.95;
}

.access-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.access-block .map-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border: 1px solid var(--rule);
  background: var(--paper-warm);
  overflow: hidden;
}
.access-block .map-frame iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.access-block .info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.85;
}
.access-block .info .lbl {
  font-family: var(--latin-serif);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ==================== Contact form ==================== */
.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.contact-intro {
  text-align: center;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2.05;
  color: var(--ink-soft);
  margin-bottom: 56px;
  letter-spacing: 0.08em;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-form .row:first-child { border-top: 1px solid var(--rule); }
.contact-form label {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--ink);
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.contact-form label .req {
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 3px 8px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  font-family: var(--serif);
  font-size: 17px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.85;
}
.contact-form .submit-row {
  text-align: center;
  margin-top: 48px;
}
.contact-form button {
  appearance: none;
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.5em;
  padding: 20px 68px;
  padding-left: calc(68px + 0.5em);
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button:hover { background: var(--accent-soft); }
.contact-form .alt-channels {
  margin-top: 56px;
  border-top: 1px solid var(--rule);
  padding-top: 40px;
  text-align: center;
}
.contact-form .alt-channels .ttl {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.contact-form .alt-channels .row3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-form .alt-channels .row3 a {
  border: 1px solid var(--rule);
  padding: 18px 10px;
  font-family: var(--serif);
}
.contact-form .alt-channels .row3 .lbl {
  font-family: var(--latin-serif);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.contact-form .success {
  background: var(--paper-warm);
  border: 1px solid var(--accent);
  padding: 32px;
  text-align: center;
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: 0.1em;
  display: none;
}
.contact-form .success.show { display: block; }

/* ==================== Reveal animation ==================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }

.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ==================== Quote band (parallax-feeling) ==================== */
.quote-band {
  position: relative;
  height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.quote-band::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(7,7,10,0.62);
}
.quote-band .q {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: 0.4em;
  padding-left: 0.4em;
  line-height: 2;
}
.quote-band .q .small {
  display: block;
  font-size: 13px;
  letter-spacing: 0.6em;
  margin-top: 22px;
  color: var(--accent-light);
  font-weight: 400;
}

/* ==================== Responsive ==================== */
/* Short (often wide/landscape) viewports: shrink the oversized hero mark and
   tighten spacing so it stays fully visible below the header without clipping. */
@media (max-height: 800px) {
  .hero .kanji-mark .km-char { height: clamp(96px, 16vh, 230px); }
  .hero .rule-mark { margin: 18px 0; }
  .hero { padding-bottom: 60px; }
}

/* Header collapses to a burger menu as soon as the 8-item nav stops fitting
   (≈1113px min). Triggers at 1200px so portrait/narrow monitors switch cleanly. */
@media (max-width: 1200px) {
  .site-header { padding: 0 18px; }
  .site-header nav.primary {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(14,14,14,0.96);
    flex-direction: column;
    padding: 24px 0;
    gap: 0;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .site-header.is-light nav.primary { background: rgba(250,250,247,0.98); }
  .site-header nav.primary.is-open { transform: translateY(0); }
  .site-header nav.primary a {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    color: rgba(255,255,255,0.85);
  }
  .site-header.is-light nav.primary a { color: var(--ink); }
  .site-header nav.primary a[data-cta] {
    width: auto;
    margin: 12px auto 6px;
    padding: 12px 28px;
  }
  .nav-burger { display: block; }
}

@media (max-width: 960px) {
  :root { --header-h: 60px; }
  section { padding: 72px 22px; }

  .strengths { grid-template-columns: 1fr 1fr; }
  .strengths .item { border-right: none; border-bottom: 1px solid var(--rule); }
  .strengths .item:nth-child(2n) { border-right: none; }
  .strengths .item:nth-last-child(-n+2) { border-bottom: none; }
  .strengths .item:nth-child(2n) { border-right: none; }

  .greeting { grid-template-columns: 1fr; gap: 40px; }
  .greeting .img-col { aspect-ratio: 3/4; max-width: 360px; margin: 0 auto; }
  .greeting .text-col h3 { text-align: center; }
  .greeting .text-col p { font-size: 16px; line-height: 2.1; }

  .history-row { grid-template-columns: 110px 1fr; gap: 18px; padding: 22px 0; }
  .history-year { font-size: 22px; }

  .facility-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 200px 200px;
  }
  .facility-grid .big { grid-column: auto; grid-row: auto; }
  .facility-grid--1f { grid-template-columns: 1fr; grid-template-rows: 240px 200px 200px; height: auto; }
  .facility-grid--1f .big,
  .facility-grid--1f .small { grid-column: auto; grid-row: auto; }
  .facility-grid--single { grid-template-rows: 260px; }
  .facility-cap { grid-template-columns: 1fr; }

  .equip-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .carve-grid { grid-template-columns: 1fr; gap: 48px; }

  .feat-cases { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 22px; }

  .news-row { grid-template-columns: 120px 1fr; padding: 20px 4px; }
  .news-row .tag { display: none; }
  .news-row .ttl { font-size: 16px; }

  .areas { grid-template-columns: 1fr; gap: 32px; }

  .cta-channels { grid-template-columns: 1fr; }
  .cta-channels a { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .cta-channels a:last-child { border-bottom: none; }

  .site-footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer .brand-block { grid-column: 1 / -1; }

  .profile-grid { grid-template-columns: 1fr; }
  .profile-grid dt, .profile-grid dd { padding: 14px 8px; }
  .profile-grid dt { padding-bottom: 4px; border-bottom: none; }

  .access-block .info { grid-template-columns: 1fr; gap: 16px; }

  .contact-form .row { grid-template-columns: 1fr; gap: 8px; }
  .contact-form label { padding-top: 0; }
  .contact-form .alt-channels .row3 { grid-template-columns: 1fr; }

  .modal-content { grid-template-columns: 1fr; padding: 24px; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
  .strengths { grid-template-columns: 1fr; }
  .strengths .item { border-bottom: 1px solid var(--rule); }
  .strengths .item:last-child { border-bottom: none; }

  /* Footer: collapse to a single column on phones and let long, unbreakable
     tokens (email address) wrap instead of forcing the grid wider than the screen. */
  .site-footer .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .site-footer .brand-block { grid-column: auto; }
  .site-footer .footer-inner > * { min-width: 0; }
  .site-footer .footer-inner,
  .site-footer .brand-block .addr,
  .site-footer ul li,
  .site-footer ul li a { overflow-wrap: anywhere; word-break: break-word; }

  /* Hero on the smallest phones: keep the big 石刻 mark within the viewport. */
  .hero--photo .hero-inner { margin-right: 18px; max-width: 100%; }
  .hero .kanji-mark .km-char { height: clamp(88px, 25vw, 150px); }
}


/* ==================== Notice bar ==================== */
:root { --notice-h: 0px; }
body.has-notice { --notice-h: 40px; }
body.has-notice .site-header { top: var(--notice-h); transition: top 0.28s ease; }
body.has-notice .page-hero { padding-top: calc(var(--header-h) + 80px + var(--notice-h)); }
/* .hero on the home page is height: 100vh with flex centering; we want the visible
   focal point to stay near vertical-center, so we don't push it further down — the
   header simply rides over the hero photo as designed. */

.notice-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 40px;
  z-index: 110;
  background: var(--black-soft);
  color: rgba(255,255,255,0.92);
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--serif);
  transform: translateY(0);
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.notice-bar.is-dismissed { transform: translateY(-100%); opacity: 0; }
.notice-bar .notice-link {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  color: inherit;
  min-width: 0;
}
.notice-bar .notice-link:hover { background: rgba(255,255,255,0.05); }
.notice-bar .notice-label {
  font-family: var(--latin-serif);
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--accent-light);
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,0.16);
  flex: 0 0 auto;
}
.notice-bar .notice-date {
  font-family: var(--latin-serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.72);
  flex: 0 0 auto;
}
.notice-bar .notice-tag {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  padding: 3px 9px;
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.88);
  flex: 0 0 auto;
}
.notice-bar .notice-tag[data-key="trade"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.notice-bar .notice-tag[data-key="rest"] { color: #f3d6a0; border-color: rgba(243,214,160,0.4); }
.notice-bar .notice-tag[data-key="price"] { color: #f3a8a0; border-color: rgba(243,168,160,0.4); }
.notice-bar .notice-title {
  font-size: 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
}
.notice-bar .notice-arrow {
  font-family: var(--latin-serif);
  font-size: 14px;
  color: var(--accent-light);
  flex: 0 0 auto;
}
.notice-bar .notice-close {
  flex: 0 0 auto;
  width: 40px;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.notice-bar .notice-close:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* news-row (used on homepage list) — works as <a> too */
a.news-row { display: grid; color: inherit; text-decoration: none; transition: background 0.2s; }
a.news-row:hover { background: rgba(47,74,55,0.04); }
a.news-row:hover .ttl { color: var(--accent); }
.news-row .ttl .for-trade {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.news-more {
  margin-top: 40px;
  text-align: center;
}
.news-more a {
  font-family: var(--latin-serif);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 6px;
  text-transform: uppercase;
}

/* ==================== News archive page ==================== */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 40px;
  max-width: 880px;
}
.news-filter .chip {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 10px 22px;
  background: #fff;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.news-filter .chip:hover { border-color: var(--accent); color: var(--accent); }
.news-filter .chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.news-archive-list {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.news-card {
  border-bottom: 1px solid var(--rule);
}
.news-card-head {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 26px 8px;
  display: grid;
  grid-template-columns: 110px 96px 1fr 24px;
  gap: 24px;
  align-items: baseline;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.news-card-head:hover { background: rgba(47,74,55,0.04); }
.news-card-head .date {
  font-family: var(--latin-serif);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.news-card-head .tag {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  border: 1px solid var(--rule);
  padding: 4px 10px;
  text-align: center;
  justify-self: start;
}
.news-card-head .tag[data-key="trade"] { color: var(--accent); border-color: var(--accent); }
.news-card-head .tag[data-key="rest"]  { color: #b07a1f; border-color: rgba(176,122,31,0.4); }
.news-card-head .tag[data-key="price"] { color: #a8443c; border-color: rgba(168,68,60,0.4); }
.news-card-head .ttl {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1.7;
}
.news-card-head .ttl .for-trade {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.news-card-head .caret {
  width: 12px; height: 12px;
  position: relative;
  align-self: center;
}
.news-card-head .caret::before,
.news-card-head .caret::after {
  content: '';
  position: absolute;
  background: var(--ink-mute);
  top: 50%; left: 50%;
  transition: transform 0.3s;
}
.news-card-head .caret::before { width: 12px; height: 1px; transform: translate(-50%,-50%); }
.news-card-head .caret::after  { width: 1px; height: 12px; transform: translate(-50%,-50%); }
.news-card.is-open .news-card-head .caret::after { transform: translate(-50%,-50%) scaleY(0); }
.news-card-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
  padding: 0 8px;
}
.news-card-body-inner { overflow: hidden; min-height: 0; }
.news-card.is-open .news-card-body {
  grid-template-rows: 1fr;
}
.news-card-body p {
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 2.1;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  padding-top: 2px;
  padding-bottom: 14px;
  margin: 0;
}
.news-card.is-open .news-card-body-inner > p:first-child { padding-top: 6px; }
.news-card.is-open .news-card-body-inner > p:last-child { padding-bottom: 32px; }

@media (max-width: 720px) {
  .notice-bar { font-size: 12px; }
  .notice-bar .notice-link { gap: 10px; padding: 0 14px; }
  .notice-bar .notice-label,
  .notice-bar .notice-tag { display: none; }
  .notice-bar .notice-date { font-size: 11px; }
  .notice-bar .notice-title { font-size: 12.5px; }
  body.has-notice { --notice-h: 36px; }
  .notice-bar { height: 36px; }

  .news-card-head {
    grid-template-columns: 1fr 24px;
    grid-template-areas:
      "meta caret"
      "ttl  ttl";
    row-gap: 10px;
    padding: 22px 4px;
  }
  .news-card-head .date,
  .news-card-head .tag { grid-area: auto; }
  .news-card-head .date { grid-column: 1; }
  .news-card-head .tag { grid-column: 1; justify-self: start; margin-left: 14px; align-self: center; }
  .news-card-head .caret { grid-area: caret; align-self: start; margin-top: 4px; }
  .news-card-head .ttl  { grid-area: ttl; }

  /* Combine date+tag inline */
  .news-card-head .date { display: inline-block; }
  .news-card-head { grid-template-columns: auto auto 1fr 24px; }
  .news-card-head .ttl { grid-column: 1 / -1; }
}


/* ==================== 営業日カレンダー ==================== */
/* Mini 3-month */
.cal-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.mini-month {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 22px 18px 18px;
}
.mini-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.mini-month-num {
  font-family: var(--latin-serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1;
}
.mini-month-en {
  font-family: var(--latin-serif);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--ink);
  text-transform: uppercase;
}
.mini-year {
  margin-left: auto;
  font-family: var(--latin-serif);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.mini-grid-wd {
  margin-bottom: 4px;
}
.mini-wd {
  font-family: var(--latin-serif);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-align: center;
  padding: 4px 0;
}
.mini-wd.is-sun { color: #b6493e; }
.mini-wd.is-sat { color: #3a5d8a; }
.mini-cell {
  font-family: var(--latin-serif);
  font-size: 13px;
  text-align: center;
  padding: 6px 0;
  color: var(--ink);
  position: relative;
}
.mini-cell.empty { color: transparent; }
.mini-cell.is-sun { color: #b6493e; }
.mini-cell.is-sat { color: #3a5d8a; }
.mini-cell.is-holiday { color: #b6493e; }
.mini-cell.is-closed {
  color: #b6493e;
  font-weight: 600;
}
.mini-cell.is-closed::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 2px;
  width: 4px; height: 4px;
  background: #b6493e;
  border-radius: 50%;
  transform: translateX(-50%);
}
.mini-cell.is-today {
  background: var(--accent);
  color: #fff !important;
  border-radius: 4px;
}
.mini-cell.is-today.is-closed::after { background: #fff; }

.cal-mini-legend {
  text-align: center;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}
.cal-mini-legend .leg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cal-mini-legend .leg .dot {
  width: 8px; height: 8px;
  background: #b6493e;
  border-radius: 50%;
  display: inline-block;
}

@media (max-width: 820px) {
  .cal-mini { grid-template-columns: 1fr; gap: 18px; }
}

/* Year view */
.year-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto 36px;
  flex-wrap: wrap;
  gap: 20px;
}
.year-title {
  display: flex;
  align-items: baseline;
  gap: 22px;
}
.year-num {
  font-family: var(--latin-serif);
  font-size: 56px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1;
}
.year-en {
  font-family: var(--latin-serif);
  font-size: 14px;
  letter-spacing: 0.5em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.year-legend {
  display: flex;
  gap: 24px;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}
.year-legend .leg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.year-legend .sw {
  width: 14px; height: 14px;
  display: inline-block;
  border: 1px solid var(--rule);
}
.year-legend .sw.closed { background: #c0473c; border-color: #c0473c; }
.year-legend .sw.today { background: var(--accent); border-color: var(--accent); }

.year-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
}
.yc-month {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 18px 16px 16px;
}
.yc-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.yc-num {
  font-family: var(--latin-serif);
  font-size: 26px;
  color: var(--accent);
  font-weight: 500;
  line-height: 1;
}
.yc-en {
  font-family: var(--latin-serif);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink);
  text-transform: uppercase;
}
.yc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}
.yc-grid-wd { margin-bottom: 2px; }
.yc-wd {
  font-family: var(--latin-serif);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-align: center;
  padding: 3px 0;
}
.yc-wd.is-sun { color: #b6493e; }
.yc-wd.is-sat { color: #3a5d8a; }
.yc {
  position: relative;
  min-height: 38px;
  padding: 4px 4px 2px;
  font-family: var(--latin-serif);
  text-align: left;
  border-radius: 2px;
  font-size: 13px;
  color: var(--ink);
}
.yc.empty { background: transparent; color: transparent; }
.yc .num {
  font-size: 13px;
  font-weight: 500;
  display: block;
  line-height: 1;
}
.yc .reason {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  display: block;
  color: var(--ink-mute);
  margin-top: 3px;
  line-height: 1.2;
}
.yc.is-sun { color: #b6493e; }
.yc.is-sat { color: #3a5d8a; }
.yc.is-holiday { color: #b6493e; }
.yc.is-closed {
  background: #f4d6d3;
  color: #8a2f2a;
}
.yc.is-closed .reason { color: #8a2f2a; }
.yc.is-today {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.year-actions {
  max-width: 1320px;
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.year-actions .btn {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  padding: 14px 30px;
  background: #fff;
  border: 1px solid var(--accent);
  color: var(--accent);
  cursor: pointer;
  transition: all 0.2s;
}
.year-actions .btn:hover {
  background: var(--accent);
  color: #fff;
}
.year-actions .btn.is-primary {
  background: var(--accent);
  color: #fff;
}
.year-actions .btn.is-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}
.year-actions .btn-en {
  font-family: var(--latin-serif);
  font-size: 11px;
  letter-spacing: 0.3em;
  display: block;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 2px;
}

@media (max-width: 1100px) {
  .year-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .year-grid { grid-template-columns: repeat(2, 1fr); }
  .year-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .year-grid { grid-template-columns: 1fr; }
  .yc { min-height: 34px; }
  .yc .num { font-size: 14px; }
  .yc .reason { font-size: 10px; }
}

/* Editor */
.cal-editor {
  position: fixed;
  inset: 0;
  background: rgba(14,14,14,0.72);
  z-index: 200;
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.cal-editor.is-open { display: flex; }
.cal-editor .editor-panel {
  background: var(--paper);
  max-width: 920px;
  width: 100%;
  margin: auto;
  padding: 36px 40px 32px;
  position: relative;
  border-top: 3px solid var(--accent);
}
.editor-close {
  position: absolute;
  top: 14px; right: 18px;
  background: transparent;
  border: 0;
  font-size: 26px;
  color: var(--ink-mute);
  cursor: pointer;
  width: 40px; height: 40px;
}
.editor-close:hover { color: var(--ink); }
.cal-editor h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink);
  margin: 0 0 6px;
}
.cal-editor .editor-en {
  font-family: var(--latin-serif);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 22px;
}
.editor-hint {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: var(--paper-warm);
  padding: 14px 18px;
  margin-bottom: 24px;
  border-left: 2px solid var(--accent);
}
.editor-hint strong { color: var(--accent); font-weight: 600; }
.editor-months {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  margin-bottom: 24px;
}
.editor-month-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}
.editor-month-head .num {
  font-family: var(--latin-serif);
  font-size: 22px;
  color: var(--accent);
  font-weight: 500;
}
.editor-month-head .en {
  font-family: var(--latin-serif);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.editor-sats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--rule);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s;
}
.sat-chip input { display: none; }
.sat-chip:hover { border-color: var(--accent); color: var(--accent); }
.sat-chip.is-on {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.editor-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.editor-save {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.2em;
  padding: 12px 32px;
  background: var(--accent);
  color: #fff;
  border: 0;
  cursor: pointer;
}
.editor-save:hover { background: var(--accent-soft); }
.editor-status {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.2s;
}
.editor-status.is-on { opacity: 1; }

@media (max-width: 720px) {
  .editor-months { grid-template-columns: 1fr; }
  .cal-editor .editor-panel { padding: 28px 22px 24px; }
}

/* ==================== 次の休業日 フッター帯 ==================== */
.next-closure-strip {
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 32px;
}
.next-closure-line {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--serif);
  font-size: 14.5px;
  color: var(--ink);
  letter-spacing: 0.08em;
}
.next-closure-line .ncl-label {
  font-family: var(--latin-serif);
  font-size: 11px;
  letter-spacing: 0.45em;
  color: var(--accent);
  padding-right: 16px;
  border-right: 1px solid var(--rule);
}
.next-closure-line .ncl-date {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.next-closure-line .ncl-reason {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  padding: 3px 10px;
  border: 1px solid var(--rule);
  color: var(--ink-mute);
}
.next-closure-line .ncl-more {
  margin-left: auto;
  font-family: var(--latin-serif);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .next-closure-strip { padding: 14px 22px; }
  .next-closure-line { font-size: 13px; gap: 10px; }
  .next-closure-line .ncl-label { font-size: 10px; padding-right: 10px; letter-spacing: 0.35em; }
  .next-closure-line .ncl-date { font-size: 15px; }
  .next-closure-line .ncl-more { margin-left: 0; flex-basis: 100%; }
}

/* ==================== Print (year cal) ==================== */
@media print {
  .site-header, .notice-bar, .site-footer, .next-closure-strip,
  .cta-bar, .page-hero, .year-actions, .cal-editor {
    display: none !important;
  }
  body { background: #fff; padding: 0; }
  .year-head { margin-top: 0; }
  .year-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .yc { min-height: 36px; }
  section { padding: 0 !important; }
  .section-inner { max-width: 100% !important; }
  @page { size: A3 landscape; margin: 12mm; }
}
