:root {
  --cinnabar: #9f2f1f;
  --cinnabar-dark: #6f1f16;
  --green: #1f4a36;
  --gold: #b68a2c;
  --ink: #231815;
  --muted: #6f625a;
  --paper: #fbf8ee;
  --paper-deep: #f3ead8;
  --line: rgba(86, 55, 32, 0.18);
  --white: #fffdfa;
  --shadow: 0 18px 48px rgba(49, 31, 18, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 20%, rgba(182, 138, 44, 0.12), transparent 28rem),
    linear-gradient(135deg, rgba(159, 47, 31, 0.04) 25%, transparent 25%) 0 0 / 26px 26px,
    var(--paper);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.8;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(251, 248, 238, 0.22);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

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

.header-inner {
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) minmax(0, 2.65fr);
  align-items: stretch;
  width: 100%;
  min-height: 96px;
  gap: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  padding: 16px 30px 16px max(30px, 7vw);
  background: rgba(255, 253, 250, 0.68);
  border-right: 1px solid rgba(86, 55, 32, 0.16);
  text-decoration: none;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 22px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--cinnabar);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 20px;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  color: #3b302a;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(17px, 1.35vw, 23px);
  font-weight: 700;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 14px clamp(14px, 1.45vw, 28px);
  background: rgba(255, 253, 250, 0.54);
  border-left: 1px solid rgba(86, 55, 32, 0.14);
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--cinnabar);
  background: rgba(255, 253, 250, 0.78);
}

.tel-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.tel-link,
.button.primary {
  color: var(--white);
  background: var(--cinnabar);
}

.nav .tel-link {
  min-height: 96px;
  padding-inline: clamp(20px, 2.5vw, 42px);
  border-radius: 0;
  color: var(--white);
  background: rgba(159, 47, 31, 0.9);
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(18px, 1.45vw, 26px);
}

.nav .tel-link:hover {
  color: var(--white);
  background: rgba(111, 31, 22, 0.95);
}

.button.secondary {
  color: var(--green);
  background: var(--white);
  border-color: var(--line);
}

.button.gold {
  color: var(--ink);
  background: #efd27a;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #1c160f;
}

.hero video,
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 15, 8, 0.78), rgba(28, 15, 8, 0.28) 56%, rgba(28, 15, 8, 0.54));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #f5d77b;
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  line-height: 1.35;
}

h1 {
  max-width: 980px;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
}

.headline-phrase {
  display: inline-block;
  white-space: nowrap;
}

.hero-lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

section {
  padding: 88px 0;
}

.section-title {
  display: grid;
  gap: 8px;
  margin-bottom: 34px;
}

.section-title .label {
  color: var(--cinnabar);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  word-break: keep-all;
  overflow-wrap: normal;
}

.section-title p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.panel {
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card {
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.card h3,
.panel h3 {
  font-size: 22px;
  color: var(--green);
}

.card p,
.panel p {
  color: var(--muted);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.stat {
  padding: 18px;
  background: var(--white);
  border-left: 4px solid var(--gold);
}

.stat strong {
  display: block;
  color: var(--cinnabar);
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
}

.band {
  color: var(--white);
  background:
    linear-gradient(rgba(31, 74, 54, 0.9), rgba(31, 74, 54, 0.9)),
    url("../images/gallery-ebisu-lanterns.jpg") center / cover;
}

.band .section-title p {
  color: rgba(255, 255, 255, 0.78);
}

.event-list,
.timeline {
  display: grid;
  gap: 14px;
}

.event-item,
.timeline-item,
.faq-item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
}

.month {
  color: var(--white);
  background: var(--cinnabar);
  border-radius: 6px;
  text-align: center;
  padding: 10px 6px;
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 700;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.cta {
  padding: 54px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cinnabar), var(--cinnabar-dark));
  border-radius: 8px;
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #1c160f;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table th,
.table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  width: 30%;
  color: var(--white);
  background: var(--green);
}

.map {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.site-footer {
  padding: 56px 0 24px;
  color: rgba(255, 255, 255, 0.84);
  background: #201913;
}

.footer-inner {
  display: grid;
  gap: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}

.footer-inner h2,
.footer-inner h3 {
  color: var(--white);
}

.footer-inner a {
  text-decoration: none;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .brand {
    min-height: 68px;
    padding: 10px 16px;
    font-size: 19px;
    background: rgba(255, 253, 250, 0.74);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .brand-sub {
    font-size: 13px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    background: rgba(255, 253, 250, 0.3);
    white-space: nowrap;
  }

  .nav a,
  .nav .tel-link {
    min-height: 58px;
    padding: 10px 18px;
    font-size: 16px;
  }

  .nav .tel-link {
    font-size: 18px;
  }

  .hero {
    min-height: 760px;
  }

  .grid.three,
  .grid.two,
  .split,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta {
    padding: 30px 22px;
  }
}

@media (max-width: 560px) {
  section {
    padding: 64px 0;
  }

  .hero-content {
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .headline-phrase {
    white-space: normal;
  }

  .event-item {
    grid-template-columns: 1fr;
  }

  .table,
  .table tbody,
  .table tr,
  .table th,
  .table td {
    display: block;
    width: 100%;
  }
}
