:root {
  --bg-page: #F7F4EF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #EFEAE2;
  --bg-dark: #1C1917;
  --bg-dark-card: #26221F;
  --text-main: #1C1917;
  --text-muted: #5C554F;
  --text-soft: #857D75;
  --text-on-dark: #F7F4EF;
  --accent: #C65D2E;
  --accent-hover: #A8491F;
  --accent-soft: rgba(198, 93, 46, 0.12);
  --border: #DFD8CE;
  --border-strong: #C7BEB1;
  --font-sans: "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", "Meiryo", system-ui, -apple-system, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", Georgia, serif;
  --font-mono: "SFMono-Regular", Consolas, Menlo, monospace;
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 12px 32px rgba(28, 25, 23, 0.06);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 2000;
  font-size: 0.88rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 14px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-logo span {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.nav-cta:hover {
  background-color: var(--accent);
}

/* Hero Section */
.hero-section {
  padding: 64px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background-color: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-lead p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent);
  color: #FFFFFF;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-surface);
  color: var(--text-main);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--text-main);
}

.hero-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-soft);
}

.meta-pill {
  background: var(--bg-subtle);
  color: var(--text-main);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.rhythm-bars {
  font-family: var(--font-mono);
  color: var(--accent);
  letter-spacing: 2px;
}

.hero-visual {
  position: relative;
}

.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  background-color: var(--bg-dark);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-soft);
  max-width: 270px;
}

.floating-card.top-left {
  top: -18px;
  left: -18px;
}

.floating-card.bottom-right {
  bottom: -18px;
  right: -14px;
}

.floating-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
}

.floating-text {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
}

/* Ticker Strip */
.ticker-strip {
  margin-top: 52px;
  padding: 14px 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.ticker-star {
  color: var(--accent);
}

/* Generic Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 18px;
}

.section-intro {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 68ch;
  margin-bottom: 44px;
}

/* 01 Approach Cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.editorial-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
}

.card-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.16rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.card-body {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* 02 Interactive Topic Tabs */
.tabs-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.tab-btn {
  text-align: left;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}

.tab-btn.is-active {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  border-color: var(--bg-dark);
}

.tab-btn.is-active .tab-arrow {
  color: var(--accent);
}

.tab-panel {
  display: none;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-soft);
}

.tab-panel.is-active {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.panel-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.panel-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.panel-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.panel-list {
  list-style: none;
  margin-bottom: 24px;
}

.panel-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.panel-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 800;
}

.btn-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.sample-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sample-header {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sample-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.sample-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.sample-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.disclaimer-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* Visual Interlude */
.interlude {
  padding: 20px 0 84px;
}

.interlude-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.interlude-img {
  height: 100%;
  min-height: 340px;
}

.interlude-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interlude-copy {
  padding: 42px 38px;
}

.interlude-copy h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin: 10px 0 14px;
  line-height: 1.4;
}

.interlude-copy p {
  font-size: 0.92rem;
  color: #D0C9C0;
}

/* 04 FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 880px;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background-color: var(--accent);
  color: #FFFFFF;
}

.faq-body {
  padding: 0 24px 22px;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* 05 Contact Cards (Zero Form) */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}

.contact-type {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.contact-value {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 12px;
  word-break: break-all;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 56px 0 40px;
  margin-top: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid #35302C;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
}

.footer-brand span {
  color: var(--accent);
}

.footer-tagline {
  font-size: 0.86rem;
  color: #B5ADA5;
  margin-top: 6px;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #B5ADA5;
}

.footer-modals {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-modal-btn {
  background: none;
  border: none;
  color: #D8D1C9;
  font-size: 0.84rem;
  text-decoration: underline;
  padding: 0;
}

.footer-modal-btn:hover {
  color: #FFFFFF;
}

/* Accessible Modal Dialogs */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(28, 25, 23, 0.68);
  backdrop-filter: blur(4px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 86vh;
  overflow-y: auto;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
}

.modal-close {
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-body h4 {
  font-size: 0.98rem;
  font-weight: 800;
  margin: 18px 0 6px;
}

.modal-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.storage-row {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.storage-badge {
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Cookie / Storage Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 980px;
  margin: 0 auto;
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  border: 1px solid #453E38;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  z-index: 1100;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-copy {
  flex: 1 1 480px;
}

.cookie-copy strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 4px;
}

.cookie-copy p {
  font-size: 0.82rem;
  color: #C7BFB7;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid #574E47;
  background: transparent;
  color: var(--text-on-dark);
}

.cookie-btn.primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.noscript-bar {
  background-color: #332924;
  color: #F7F4EF;
  padding: 14px 20px;
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards-3,
  .tabs-nav,
  .tab-panel.is-active,
  .interlude-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .floating-card.top-left,
  .floating-card.bottom-right {
    position: static;
    max-width: 100%;
    margin-top: 12px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-strong);
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-nav.is-open {
    display: flex;
  }
}