:root {
  --ink: #17130f;
  --paper: #f7f0e4;
  --paper-2: #fffaf1;
  --red: #9a1c1c;
  --gold: #d6b15f;
  --muted: #665f55;
  --line: rgba(42, 33, 24, .16);
  --shadow: 0 22px 60px rgba(23, 17, 13, .18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
}

a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 240, 228, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand strong { display: block; font-size: 18px; line-height: 1.25; }
.brand span span { color: var(--muted); font-size: 12px; }

.nav-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

.btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(95, 75, 54, .22);
  border-radius: 6px;
  background: rgba(255, 250, 241, .78);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.btn.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(154, 28, 28, .18);
}

.hero {
  min-height: 54vh;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(14, 13, 11, .88), rgba(14, 13, 11, .34)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: grid;
  align-items: end;
  padding: 118px 0 72px;
}

.hero-inner,
.section {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  color: #f4d892;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 1.05;
  margin-bottom: 10px;
}

.kana {
  color: #f4d892;
  font-weight: 900;
  font-size: clamp(17px, 3vw, 26px);
  letter-spacing: .08em;
  margin-bottom: 18px;
}

.hero-copy {
  max-width: 760px;
  color: rgba(255,255,255,.9);
  font-size: 18px;
}

.section { padding: 76px 0; }

.intro-card,
.deity-card,
.image-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-card {
  padding: clamp(26px, 5vw, 52px);
  margin-bottom: 22px;
}

.intro-card h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  margin-bottom: 22px;
}

.intro-text {
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 2.1;
  max-width: 820px;
}

.note {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 4px solid var(--red);
  background: rgba(154, 28, 28, .06);
  color: #493f36;
  font-weight: 700;
}

.image-card {
  overflow: hidden;
  margin-bottom: 28px;
}

.image-card img {
  width: 100%;
  display: block;
  max-height: 760px;
  object-fit: contain;
  background: #1a1410;
}

.image-card figcaption {
  margin: 0;
  padding: 14px 18px;
  color: var(--muted);
  background: rgba(255,255,255,.72);
  font-size: 14px;
}

.deity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.deity-card {
  padding: clamp(22px, 3vw, 32px);
}

.deity-card small {
  display: block;
  color: var(--red);
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.deity-card h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.35;
  margin-bottom: 0;
}

.deity-card h3 span {
  display: block;
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
  margin-top: 4px;
}

.section-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 30px;
}

.footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 34px 0;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer strong { color: #fff; }

@media (max-width: 760px) {
  .nav {
    align-items: stretch;
    flex-direction: column;
    padding: 12px 0;
  }
  .brand { min-width: 0; }
  .nav-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .nav-actions .btn {
    flex: 1 1 150px;
  }
  .hero {
    display: grid;
    min-height: 52svh;
    padding: 90px 0 42px;
    color: #fff;
    background-image:
      linear-gradient(0deg, rgba(14, 13, 11, .82), rgba(14, 13, 11, .34)),
      var(--hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .hero::before {
    display: none;
  }
  .hero-inner {
    width: min(100% - 28px, 1080px);
    padding: 0;
  }
  .hero .eyebrow,
  .hero-copy {
    color: rgba(255,255,255,.9);
  }
  h1 {
    font-size: clamp(36px, 11vw, 54px);
    line-height: 1.12;
  }
  .kana {
    color: #f4d892;
    font-size: 17px;
  }
  .hero-copy {
    font-size: 16px;
    line-height: 1.85;
  }
  .section {
    width: min(100% - 28px, 1080px);
    padding: 56px 0;
  }
  .intro-card,
  .deity-card {
    padding: 22px;
  }
  .intro-text {
    font-size: 16px;
    line-height: 1.95;
  }
  .image-card img {
    max-height: none;
  }
  .deity-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
