:root {
  --ink: #201916;
  --sub: #6b625d;
  --paper: #fbfaf6;
  --white: #fff;
  --line: rgba(30, 24, 20, 0.12);
  --ebisu-red: #a73526;
  --ebisu-red-deep: #742318;
  --green: #183f2d;
  --gold: #b8913d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  line-height: 1.9;
}

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

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

.visual {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #17100c;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

.visual-panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.visual-panel img,
.visual-panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 28%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.24));
}

.hero-copy {
  position: absolute;
  left: clamp(24px, 6vw, 92px);
  top: 22vh;
  z-index: 2;
  max-width: calc(100vw - 48px);
  color: var(--white);
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.44);
}

.hero-copy p {
  margin: 0 0 18px;
  font-size: clamp(15px, 1.3vw, 20px);
}

.hero-copy .hero-sub {
  margin-top: 18px;
  font-size: clamp(17px, 1.55vw, 26px);
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 92px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-copy span {
  display: block;
  white-space: nowrap;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 118px;
  z-index: 3;
  display: flex;
  gap: 18px;
  transform: translateX(-50%);
}

.hero-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
}

.global-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(300px, 360px) 1fr;
  height: 86px;
  min-height: 86px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 86px;
  min-width: 0;
  overflow: hidden;
  padding: 12px 22px 12px clamp(22px, 3vw, 44px);
  background: rgba(255, 255, 255, 0.82);
}

.brand-logo {
  flex: 0 0 auto;
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  border-radius: 4px;
  object-fit: contain;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8));
}

.brand > span {
  min-width: 0;
  overflow: hidden;
}

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

.brand strong {
  display: block;
  max-width: 220px;
  overflow: hidden;
  font-size: clamp(18px, 1.25vw, 23px);
  font-weight: 500;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.nav-list a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  height: 86px;
  padding: 14px clamp(14px, 1.1vw, 24px);
  border-left: 1px solid rgba(30, 24, 20, 0.08);
  font-size: clamp(16px, 1.05vw, 21px);
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--ebisu-red);
  background: rgba(167, 53, 38, 0.06);
}

.nav-list .tel {
  color: var(--white);
  background: rgba(167, 53, 38, 0.94);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-weight: 800;
}

.section {
  padding: clamp(84px, 9vw, 150px) 0;
}

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

.section-title {
  display: grid;
  gap: 12px;
  margin-bottom: 42px;
}

.label {
  color: var(--ebisu-red);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2,
h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(34px, 4vw, 64px);
  word-break: keep-all;
  overflow-wrap: normal;
}

h3 {
  font-size: clamp(24px, 2.1vw, 34px);
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  color: var(--sub);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: clamp(16px, 1.2vw, 20px);
}

.news-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.news-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.news-item time {
  color: var(--sub);
  font-size: 14px;
}

.news-item strong {
  font-size: 18px;
}

.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}

.story-media {
  position: relative;
}

.story-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.story-text {
  display: grid;
  gap: 26px;
}

.vertical-note {
  writing-mode: vertical-rl;
  position: absolute;
  right: -30px;
  top: 30px;
  color: rgba(32, 25, 22, 0.55);
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.card {
  min-height: 420px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #1b1410;
}

.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 10%, rgba(0, 0, 0, 0.58));
}

.card:hover img {
  transform: scale(1.04);
  opacity: 0.95;
}

.card-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 34px;
}

.card-body p {
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.visit-band {
  background: #f0ebe2;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(30, 24, 20, 0.14);
}

.visit-cell {
  min-height: 260px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.64);
}

.visit-cell p,
.visit-cell li {
  color: var(--sub);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

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

.gallery-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.footer {
  padding: 82px 0 140px;
  color: rgba(255, 255, 255, 0.8);
  background: #201916;
}

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

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

.sub-nav {
  top: 0;
  bottom: auto;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.supporter-page {
  background: var(--paper);
}

.supporter-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  min-height: 100vh;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 140px 0 84px;
}

.supporter-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f1f1f1;
}

.supporter-hero-text h1 {
  margin: 18px 0 8px;
  font-size: clamp(56px, 7vw, 116px);
  font-weight: 500;
  line-height: 1.08;
}

.supporter-title {
  margin-bottom: 42px;
  color: var(--sub);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: clamp(18px, 1.6vw, 26px);
}

.supporter-intro {
  display: grid;
  gap: 28px;
  max-width: 960px;
}

.supporter-band {
  color: var(--white);
  background:
    linear-gradient(rgba(32, 25, 22, 0.72), rgba(32, 25, 22, 0.72)),
    url("../images/shrine-front-promo.png") center / cover;
}

.supporter-quote p {
  font-size: clamp(36px, 5vw, 74px);
  line-height: 1.55;
}

.interview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}

.interview-block {
  display: grid;
  gap: 38px;
}

.qa {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.qa h3 {
  margin-bottom: 16px;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 800;
}

.qa p,
.supporter-profile p,
.supporter-cards p {
  color: var(--sub);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.supporter-profile {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 18px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
}

.supporter-profile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.profile-link {
  display: inline-flex;
  justify-content: center;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ebisu-red);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-weight: 700;
}

.supporter-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.supporter-cards > div {
  min-height: 220px;
  padding: 30px;
  background: var(--white);
}

.supporter-cards strong {
  display: block;
  margin-bottom: 14px;
  font-size: 22px;
}

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

  .visual-panel:nth-child(2) {
    display: none;
  }

  .global-nav {
    top: 0;
    bottom: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .brand {
    min-height: 70px;
    padding: 10px 18px;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .brand strong {
    font-size: 22px;
  }

  .nav-list {
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.7);
  }

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

  .hero-copy {
    top: 34vh;
  }

  .news-layout,
  .story,
  .cards,
  .visit-grid,
  .supporter-hero,
  .interview,
  .supporter-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .supporter-profile {
    position: static;
  }

  .footer {
    padding-bottom: 72px;
  }
}

@media (max-width: 560px) {
  .hero-copy {
    left: 20px;
    right: 20px;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 9vw, 48px);
  }

  .hero-copy .hero-sub {
    white-space: normal;
  }

  .hero-copy span {
    white-space: nowrap;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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