﻿:root {
  --black: #070707;
  --ivory: #f7f4ee;
  --gold: #b58a4b;
  --gold-light: #ead2a2;
  --gold-dark: #7d5a2d;
  --text: #f5f0e7;
  --muted: #b9b0a2;
  --dark-text: #24211d;
  --border: rgba(181, 138, 75, 0.42);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Noto Serif JP", serif;
  background: var(--black);
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 1.8;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 48px));
  max-width: 100%;
  margin: 0 auto;
}

.card,
.panel,
.outline-btn,
input,
select,
textarea,
button {
  min-width: 0;
}

.section {
  padding: 82px 0;
  position: relative;
}

.dark-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(181, 138, 75, 0.12), transparent 30%),
    linear-gradient(180deg, #080808, #050505);
}

.light-section {
  background: var(--ivory);
  color: var(--dark-text);
}

.panel {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(181, 138, 75, 0.42);
  box-shadow: 0 20px 60px rgba(36, 33, 29, 0.12);
}

.dark-section .panel {
  background: rgba(9, 9, 9, 0.7);
  border-color: rgba(181, 138, 75, 0.42);
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  padding: 34px;
  border: 1px solid rgba(181, 138, 75, 0.35);
  background: rgba(255, 255, 255, 0.62);
}

.dark-section .card {
  background: rgba(7, 7, 7, 0.56);
}

.card h3 {
  margin-bottom: 14px;
  font-size: 22px;
  letter-spacing: 0.1em;
}

.card p,
.content-text,
.table-like dd,
.form-note {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: #5a5147;
  line-height: 2;
}

.dark-section .card p,
.dark-section .content-text {
  color: rgba(242, 234, 223, 0.78);
}

.small-label,
.card-num {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.22em;
}

.dark-section .small-label,
.dark-section .card-num {
  color: var(--gold);
}

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  min-width: 300px;
  padding: 15px 28px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  transition: 0.25s ease;
}

.outline-btn:hover {
  background: rgba(181, 138, 75, 0.14);
  transform: translateY(-2px);
}

.light-section .outline-btn {
  color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(125, 90, 45, 0.62);
}

.center-button {
  margin-top: 36px;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 0.85s ease,
    transform 0.85s ease,
    filter 0.85s ease;
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.16s;
}

.reveal.delay-3 {
  transition-delay: 0.24s;
}

.reveal.delay-4 {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 30px, 1180px);
  }

  .section {
    padding: 58px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .outline-btn {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .outline-btn {
    gap: 18px;
    padding: 14px 18px;
  }
}

