:root {
  --bg: #fcfbf7;
  --surface: #ffffff;
  --surface-soft: #f4efe4;
  --text: #171717;
  --muted: #666154;
  --line: #e7dfcf;
  --gold: #b9933f;
  --gold-soft: #d7c08e;
  --charcoal: #1f1f1c;
  --shadow: 0 18px 48px rgba(19, 19, 17, 0.08);
  --radius: 28px;
  --content: 760px;
  --wide: 1180px;
}
html { scroll-behavior: smooth; }
body {
  color: var(--text);
  background: linear-gradient(180deg, #fffdf9 0%, #fcfbf7 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.85;
  letter-spacing: .01em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252,251,247,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(23,23,23,.05);
}
.site-header__inner {
  width: min(calc(100% - 40px), var(--wide));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.site-brand__mark {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #fff; font-weight: 700; font-size: 20px;
  box-shadow: var(--shadow);
}
.site-brand__text strong { display:block; font-size: 16px; letter-spacing: .06em; }
.site-brand__text small { display:block; font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.site-navigation { display: flex; align-items: center; gap: 20px; }
.nav-list, .footer-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.nav-list a, .footer-nav a { text-decoration: none; color: var(--text); font-size: 14px; }
.nav-list a:hover, .footer-nav a:hover { color: var(--gold); }
.nav-cta, .button-solid, .button-outline {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 999px; padding: 14px 22px; font-weight: 700; transition: .2s ease;
}
.nav-cta, .button-solid { background: linear-gradient(135deg, var(--gold), #a8802b); color: #fff; box-shadow: var(--shadow); }
.button-outline { background: transparent; border: 1px solid var(--line); color: var(--text); }
.nav-cta:hover, .button-solid:hover, .button-outline:hover { transform: translateY(-1px); }
.menu-toggle {
  display: none; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 12px 16px;
}
.entry, .archive-shell { padding: 54px 0 110px; }
.featured-visual, .entry-shell, .entry-shell--home, .entry-shell--card, .site-footer__inner { width: min(calc(100% - 40px), var(--wide)); margin: 0 auto; }
.featured-visual { margin-bottom: 42px; }
.featured-visual img, .card-visual img, .hero-photo img, .wide img {
  width: 100%; border-radius: 36px; object-fit: cover; box-shadow: var(--shadow);
}
.entry-header {
  width: min(calc(100% - 40px), 920px); margin: 0 auto 34px; text-align: center;
}
.entry-header--card { margin-bottom: 18px; }
.entry-kicker, .eyebrow {
  display: inline-block; margin: 0 0 18px; color: var(--gold); letter-spacing: .22em; text-transform: uppercase; font-size: 12px; font-weight: 700;
}
.entry-title, .entry-content h1, .entry-content h2, .entry-content h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  letter-spacing: -.02em;
  line-height: 1.22;
  color: var(--charcoal);
}
.entry-title { margin: 0; font-size: clamp(42px, 6vw, 76px); font-weight: 700; }
.entry-content > * {
  width: min(100%, var(--content)); margin-left: auto; margin-right: auto;
}
.entry-content--home > *, .entry-content .wide, .entry-content .hero-photo, .entry-content .video-wide, .entry-content .grid-duo, .entry-content .metric-strip, .entry-content .company-logos, .entry-content .button-row {
  width: min(100%, var(--wide));
}
.entry-content p { margin: 0 0 18px; font-size: 17px; color: #2a2925; }
.entry-content .lead { font-size: clamp(22px, 3vw, 34px); line-height: 1.55; font-weight: 500; color: var(--charcoal); }
.entry-content h1 { font-size: clamp(52px, 7vw, 96px); margin: 0 0 18px; text-align: center; }
.entry-content h2 { font-size: clamp(32px, 4vw, 50px); margin: 96px auto 20px; position: relative; padding-bottom: 18px; }
.entry-content h2::after {
  content: ""; display: block; width: 88px; height: 2px; margin-top: 18px; background: linear-gradient(90deg, var(--gold), transparent);
}
.entry-content h3 { font-size: clamp(24px, 2.6vw, 34px); margin: 24px 0 10px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 20px; }
.entry-content li { margin-bottom: 10px; }
.entry-content figure { margin: 34px auto; }
.hero-photo { margin: 36px auto 30px; }
.metric-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px auto 56px;
}
.metric-strip .metric {
  padding: 22px 24px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
}
.metric strong { display: block; font-size: 28px; line-height: 1.1; color: var(--charcoal); }
.metric span { color: var(--muted); font-size: 14px; }
.stack-card, .feature-block, .media-card {
  background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 28px; padding: 30px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.button-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 28px auto 10px; }
.video-wide iframe, .entry-content iframe[src*="youtube.com"], .entry-content iframe[src*="youtu.be"] {
  width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; min-height: 320px; border: 0; border-radius: 28px; box-shadow: var(--shadow); background: #000;
}
.grid-duo {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px auto;
}
.grid-duo img { width: 100%; border-radius: 24px; box-shadow: var(--shadow); }
.company-logos {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin: 24px auto 10px;
}
.company-logos img, .company-logos .logo-card {
  width: 100%; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow);
}
.logo-card { display:flex; align-items:center; justify-content:center; min-height: 148px; font-weight: 700; color: var(--charcoal); text-align: center; }
.site-footer {
  background: #181816; color: rgba(255,255,255,.88); padding-top: 54px;
}
.site-footer__inner {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; padding-bottom: 28px;
}
.footer-label { color: #fff; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer__bottom {
  width: min(calc(100% - 40px), var(--wide)); margin: 0 auto; padding: 18px 0 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: rgba(255,255,255,.6);
}
.entry--card .entry-shell--card {
  width: min(calc(100% - 32px), 760px);
}
.card-visual { margin-bottom: 26px; }
.entry-content--card { text-align: center; }
.entry-content--card .button-row { width: 100%; justify-content: stretch; }
.entry-content--card .button-row a { flex: 1 1 220px; }
@media (max-width: 1040px) {
  .site-navigation { position: fixed; top: 86px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 16px; background: rgba(255,255,255,.98); border: 1px solid var(--line); border-radius: 26px; padding: 18px; box-shadow: var(--shadow); }
  .site-navigation.is-open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-cta { width: 100%; }
  .menu-toggle { display: inline-flex; }
  .company-logos { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .entry, .archive-shell { padding: 36px 0 76px; }
  .featured-visual img, .card-visual img, .hero-photo img, .wide img { border-radius: 24px; }
  .metric-strip, .grid-duo, .site-footer__inner { grid-template-columns: 1fr; }
  .entry-content h1 { font-size: clamp(38px, 12vw, 60px); }
  .entry-content h2 { margin-top: 74px; }
  .video-wide iframe, .entry-content iframe[src*="youtube.com"], .entry-content iframe[src*="youtu.be"] { min-height: 220px; border-radius: 22px; }
  .button-row { justify-content: flex-start; }
  .button-row a { width: 100%; }
}
