: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;
  --wisteria: #eee8f4;
  --wisteria-line: rgba(84, 65, 104, 0.14);
  --wisteria-ink: #34283e;
}

* {
  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;
}

#about .story {
  width: min(1720px, calc(100% - 80px));
  grid-template-columns: minmax(620px, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(56px, 6vw, 112px);
}

#about .story-media img {
  min-height: 520px;
  aspect-ratio: 16 / 10;
}

#about h2 {
  font-size: clamp(38px, 3.15vw, 58px);
  line-height: 1.42;
}

#about h2 span {
  display: block;
}

#about .vertical-note {
  right: 22px;
  top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
}

.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;
}

.prayer-contact {
  display: grid;
  gap: 18px;
  margin-top: clamp(24px, 3vw, 38px);
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.prayer-contact p {
  max-width: none;
  color: var(--sub);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 700;
  line-height: 1.9;
  white-space: nowrap;
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-cta.centered {
  justify-content: center;
}

.contact-cta.compact {
  margin-top: 4px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid transparent;
  color: var(--white);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.contact-button.line {
  background: #236b43;
}

.contact-button.whatsapp {
  background: #2f7652;
}

.contact-button.email {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(43, 37, 32, 0.22);
}

.card .contact-button {
  width: 100%;
  min-height: 46px;
  padding-inline: 14px;
}

.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;
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1.12fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
}

.events-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.annual-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(36px, 5vw, 64px);
  background: var(--white);
  border-top: 1px solid rgba(30, 24, 20, 0.14);
  border-left: 1px solid rgba(30, 24, 20, 0.14);
}

.annual-event {
  min-height: 190px;
  padding: clamp(22px, 2.2vw, 34px);
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid rgba(30, 24, 20, 0.14);
  border-bottom: 1px solid rgba(30, 24, 20, 0.14);
}

.annual-event time {
  display: block;
  margin-bottom: 14px;
  color: var(--ebisu-red);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-weight: 800;
}

.annual-event strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.35;
}

.annual-event p {
  color: var(--sub);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

.annual-event.highlight {
  background: #fbf4ef;
}

.annual-event.monthly {
  grid-column: span 2;
  background: var(--pale);
}

.gallery-strip {
  overflow: hidden;
  background: var(--paper);
}

.gallery-track {
  display: flex;
  width: max-content;
  animation: gallerySlide 54s linear infinite;
}

.gallery-slider:hover .gallery-track {
  animation-play-state: paused;
}

.gallery-track img {
  flex: 0 0 clamp(220px, 24vw, 420px);
  width: clamp(220px, 24vw, 420px);
  height: clamp(220px, 24vw, 420px);
  object-fit: cover;
}

@keyframes gallerySlide {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.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,
  .events-layout,
  .cards,
  .visit-grid,
  .annual-events,
  .supporter-hero,
  .interview,
  .supporter-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .supporter-profile {
    position: static;
  }

  .annual-event.monthly {
    grid-column: auto;
  }

  #about .story {
    width: min(1180px, calc(100% - 40px));
    grid-template-columns: 1fr;
  }

  #about .story-media img {
    min-height: 340px;
    aspect-ratio: 4 / 3;
  }

  #about .vertical-note {
    right: 18px;
    top: 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
  }

  .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;
  }

}

.wedding-teaser {
  color: var(--white);
  background: #211813;
}

.wedding-teaser .label,
.wedding-teaser .lead {
  color: rgba(255, 255, 255, 0.76);
}

.wedding-teaser-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.72fr);
  gap: clamp(56px, 7vw, 118px);
  align-items: center;
}

.wedding-teaser-copy h2 {
  max-width: 680px;
  font-size: clamp(34px, 4.2vw, 66px);
  line-height: 1.34;
}

.wedding-teaser-copy .lead {
  max-width: 620px;
  overflow-wrap: anywhere;
}

.wedding-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-link.muted {
  color: var(--ink);
  background: var(--white);
}

.wedding-teaser-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #140f0c;
  transform: translateX(clamp(16px, 2.4vw, 44px));
}

.wedding-teaser-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.7s ease;
}

.wedding-teaser-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.56));
}

.wedding-teaser-card:hover img {
  transform: scale(1.04);
}

.wedding-teaser-card span {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 1;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.wedding-page {
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

.wedding-page .sub-nav {
  position: sticky;
}

.wedding-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #140f0c;
}

.wedding-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.wedding-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.08) 56%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62));
}

.wedding-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 42px));
  margin: 0 auto;
  padding: 170px 0 96px;
}

.wedding-hero-copy .label {
  color: rgba(255, 255, 255, 0.8);
}

.wedding-hero-copy h1 {
  margin: 20px 0 22px;
  max-width: 920px;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

.wedding-hero-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: clamp(17px, 1.4vw, 22px);
  overflow-wrap: normal;
}

.wedding-hero-copy h1 span {
  display: block;
}

.wedding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.wedding-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  color: var(--white);
  background: var(--ebisu-red);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-weight: 800;
  text-align: center;
}

.wedding-button.secondary {
  color: var(--ink);
  background: var(--white);
}

.wedding-actions .contact-button,
.wedding-actions .wedding-button {
  min-width: min(100%, 180px);
}

.wedding-lede {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 86px);
  align-items: start;
}

.wedding-lede .big-copy {
  font-size: clamp(34px, 4.4vw, 68px);
  line-height: 1.42;
}

.wedding-text-stack {
  display: grid;
  gap: 24px;
}

.wedding-intro {
  display: grid;
  gap: clamp(42px, 5vw, 72px);
}

.wedding-intro .section-title {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.wedding-intro h2 {
  font-size: clamp(42px, 5.8vw, 88px);
  line-height: 1.2;
}

.wedding-intro .lead {
  max-width: 740px;
  margin: 0 auto;
  line-height: 2.05;
}

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

.wedding-intro-grid > div {
  min-height: 210px;
  padding: clamp(26px, 3vw, 42px);
  background: var(--white);
}

.wedding-intro-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 500;
}

.wedding-intro-grid p {
  color: var(--sub);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.9;
}

.wedding-text-stack p,
.wedding-panel p,
.wedding-step p,
.wedding-faq p,
.wedding-mini p,
.wedding-table td,
.wedding-table th {
  color: var(--sub);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.wedding-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1px;
  background: var(--line);
}

.wedding-gallery img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.wedding-gallery img:first-child {
  grid-row: span 2;
}

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

.wedding-panel {
  min-height: 310px;
  padding: 32px;
  background: var(--white);
}

.wedding-panel strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 500;
  line-height: 1.35;
}

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

.wedding-step {
  min-height: 250px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.wedding-step span {
  color: var(--ebisu-red);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-weight: 800;
}

.wedding-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
}

.wedding-split img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.wedding-note-band {
  color: var(--wisteria-ink);
  background: var(--wisteria);
}

.wedding-note-band .label,
.wedding-note-band .lead,
.wedding-note-band p {
  color: rgba(52, 40, 62, 0.74);
}

.wedding-note-band h2,
.wedding-note-band h3 {
  color: var(--wisteria-ink);
}

.wedding-global-section .section-title {
  max-width: 900px;
  margin-bottom: clamp(44px, 6vw, 82px);
}

.wedding-global-section h2 {
  font-size: clamp(42px, 5.6vw, 86px);
  line-height: 1.22;
}

.wedding-global-section .lead {
  max-width: 680px;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 2.05;
}

.wedding-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--wisteria-line);
}

.wedding-mini {
  min-height: 210px;
  padding: clamp(24px, 3vw, 42px);
  background: rgba(255, 255, 255, 0.46);
}

.wedding-mini strong {
  display: block;
  margin-bottom: 18px;
  color: var(--wisteria-ink);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 500;
  line-height: 1.15;
}

.wedding-mini p {
  max-width: 420px;
  color: rgba(52, 40, 62, 0.7);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 2;
}

.wedding-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

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

.wedding-table th {
  width: 30%;
  color: var(--ink);
}

.wedding-faq {
  display: grid;
  gap: 18px;
}

.wedding-faq details {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.wedding-faq summary {
  cursor: pointer;
  font-size: 20px;
}

.wedding-language {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.wedding-language > div {
  padding: 34px;
  background: var(--white);
}

.wedding-language h3 {
  margin-bottom: 14px;
}

.wedding-note-band .wedding-language h3 {
  color: var(--ink);
}

.wedding-note-band .wedding-language p,
.wedding-note-band .wedding-language .lead {
  color: var(--sub);
}

.wedding-cta {
  padding-bottom: 170px;
  text-align: center;
}

.wedding-cta .lead {
  margin: 0 auto;
}

.wedding-variant-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.wedding-variant-nav a {
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 14px;
}

.wedding-variant-nav a.is-current {
  color: var(--white);
  background: var(--ebisu-red);
  border-color: var(--ebisu-red);
}

.wedding-wisteria {
  --wisteria-soft: #f3edf7;
  --wisteria-deep: #4a385c;
  --wisteria-muted: #78648c;
  --wisteria-olive: #817d3a;
  color: #29221f;
  background:
    radial-gradient(circle at 18% 12%, rgba(141, 122, 193, 0.13), transparent 28%),
    linear-gradient(180deg, #fbfaf5, #f4f0e8 46%, #fbfaf5);
}

.wedding-wisteria .sub-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.wisteria-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  padding: clamp(72px, 8vw, 120px) 0 clamp(58px, 7vw, 92px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(243, 237, 247, 0.86)),
    #fbfaf5;
}

.wisteria-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(129, 125, 58, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 125, 58, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
}

.wisteria-hero-art {
  position: absolute;
  top: -44px;
  left: 50%;
  width: min(1040px, 112vw);
  transform: translateX(-50%);
  opacity: 0.82;
  pointer-events: none;
}

.wisteria-hero-art img {
  width: 100%;
  height: auto;
}

.wisteria-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: end;
  padding-top: clamp(128px, 14vw, 220px);
}

.wisteria-hero-copy .label,
.wedding-wisteria .label {
  color: var(--wisteria-olive);
}

.wisteria-hero-copy h1 {
  margin: 18px 0 24px;
  max-width: 660px;
  color: var(--wisteria-deep);
  font-size: clamp(42px, 5.2vw, 78px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  word-break: keep-all;
}

.wisteria-hero-copy h1 span {
  display: block;
}

.wisteria-hero-copy p {
  max-width: 620px;
  color: rgba(42, 34, 31, 0.76);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 2.05;
}

.wisteria-hero-photo {
  position: relative;
  margin: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 28px 70px rgba(74, 56, 92, 0.18);
}

.wisteria-hero-photo::before {
  content: "";
  position: absolute;
  inset: -14px 18px auto auto;
  width: 120px;
  height: 120px;
  border-top: 1px solid rgba(129, 125, 58, 0.44);
  border-right: 1px solid rgba(129, 125, 58, 0.44);
}

.wisteria-hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
}

.wisteria-message {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.wisteria-message h2,
.wedding-wisteria .section-title h2 {
  color: var(--wisteria-deep);
}

.wisteria-message .lead {
  max-width: 680px;
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 2.15;
}

.wisteria-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 0.9fr 0.9fr;
  gap: 10px;
  padding: 10px;
  background: var(--wisteria-soft);
}

.wisteria-strip img {
  width: 100%;
  height: clamp(250px, 31vw, 440px);
  object-fit: cover;
}

.wisteria-strip img:nth-child(2) {
  height: clamp(310px, 38vw, 520px);
}

.wisteria-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(243, 237, 247, 0.95), rgba(248, 246, 241, 0.95)),
    var(--wisteria-soft);
}

.wisteria-band::before {
  content: "";
  position: absolute;
  top: -88px;
  right: -90px;
  width: min(620px, 70vw);
  height: 260px;
  background: url("/noda-ebisu-v2/images/wedding/wisteria-motif.svg") center / contain no-repeat;
  opacity: 0.34;
  pointer-events: none;
}

.wisteria-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(129, 125, 58, 0.18);
}

.wisteria-cards > div {
  min-height: 280px;
  padding: clamp(26px, 3vw, 42px);
  background: rgba(255, 255, 255, 0.64);
}

.wisteria-cards strong {
  display: block;
  margin-bottom: 16px;
  color: var(--wisteria-deep);
  font-size: clamp(23px, 2.1vw, 34px);
  font-weight: 500;
  line-height: 1.35;
}

.wisteria-cards p {
  color: rgba(42, 34, 31, 0.68);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  line-height: 1.95;
}

.wisteria-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
}

.wisteria-split > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 20px 56px rgba(74, 56, 92, 0.13);
}

.wisteria-cta {
  position: relative;
  padding-bottom: 150px;
  text-align: center;
}

.wisteria-cta > img {
  width: min(680px, 92vw);
  margin: 0 auto 8px;
  opacity: 0.58;
}

.wisteria-cta .lead {
  margin: 0 auto;
}

.wedding-white-wisteria {
  --white-wisteria-paper: #faf8f1;
  --white-wisteria-band: #f3efe3;
  --white-wisteria-ink: #332d25;
  --white-wisteria-olive: #787d3d;
  --white-wisteria-gold: #9b8f48;
  background:
    radial-gradient(circle at 12% 10%, rgba(155, 143, 72, 0.13), transparent 28%),
    linear-gradient(180deg, #fbfaf5, #f4f0e5);
}

.wedding-white-wisteria .sub-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.white-wisteria-hero {
  background: #17120e;
}

.white-wisteria-hero::after {
  background:
    linear-gradient(90deg, rgba(20, 15, 11, 0.58), rgba(20, 15, 11, 0.1) 58%),
    linear-gradient(180deg, rgba(20, 15, 11, 0.08), rgba(20, 15, 11, 0.66));
}

.wedding-white-wisteria .wedding-hero-copy {
  z-index: 2;
}

.wedding-white-wisteria .label,
.wedding-white-wisteria .wedding-hero-copy .label,
.wedding-white-wisteria .wedding-step span {
  color: var(--white-wisteria-gold);
}

.wedding-white-wisteria .section-title h2,
.wedding-white-wisteria .wedding-intro-grid strong,
.wedding-white-wisteria .wedding-panel strong,
.wedding-white-wisteria .wedding-mini strong {
  color: var(--white-wisteria-ink);
}

.white-wisteria-intro {
  position: relative;
  background:
    linear-gradient(180deg, rgba(250, 248, 241, 0.96), rgba(255, 255, 255, 0.98)),
    var(--white-wisteria-paper);
}

.white-wisteria-intro::before {
  content: "";
  position: absolute;
  top: -58px;
  right: -60px;
  width: min(620px, 78vw);
  height: 220px;
  background: url("/noda-ebisu-v2/images/wedding/wisteria-white-motif.svg") center / contain no-repeat;
  opacity: 0.34;
  pointer-events: none;
}

.white-wisteria-gallery {
  background: rgba(155, 143, 72, 0.16);
}

.white-wisteria-band {
  position: relative;
  overflow: hidden;
  color: var(--white-wisteria-ink);
  background:
    linear-gradient(180deg, rgba(243, 239, 227, 0.96), rgba(250, 248, 241, 0.97)),
    var(--white-wisteria-band);
}

.white-wisteria-band::before {
  content: "";
  position: absolute;
  top: -72px;
  right: -80px;
  width: min(560px, 72vw);
  height: 220px;
  background: url("/noda-ebisu-v2/images/wedding/wisteria-white-motif.svg") center / contain no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.wedding-white-wisteria .wedding-intro-grid,
.wedding-white-wisteria .wedding-panels,
.wedding-white-wisteria .wedding-steps,
.wedding-white-wisteria .wedding-mini-grid {
  background: rgba(155, 143, 72, 0.18);
}

.wedding-white-wisteria .wedding-intro-grid > div,
.wedding-white-wisteria .wedding-panel,
.wedding-white-wisteria .wedding-step,
.wedding-white-wisteria .wedding-mini,
.wedding-white-wisteria .wedding-faq details {
  background: rgba(255, 255, 255, 0.68);
}

.wedding-white-wisteria .wedding-note-band .label,
.wedding-white-wisteria .wedding-note-band .lead,
.wedding-white-wisteria .wedding-note-band p {
  color: rgba(51, 45, 37, 0.74);
}

.wedding-white-wisteria .wedding-button {
  background: #b33a2d;
}

.wedding-white-wisteria .wedding-button.secondary {
  color: var(--white-wisteria-ink);
  background: rgba(255, 255, 255, 0.92);
}

.wedding-purple-wisteria {
  --purple-wisteria-paper: #f8f5fa;
  --purple-wisteria-band: #efe8f5;
  --purple-wisteria-ink: #332838;
  --purple-wisteria-leaf: #777f3e;
  --purple-wisteria-accent: #8f79bd;
  background:
    radial-gradient(circle at 12% 10%, rgba(143, 121, 189, 0.16), transparent 28%),
    linear-gradient(180deg, #fbfaf5, #f1ebf5);
}

.wedding-purple-wisteria .sub-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.purple-wisteria-hero {
  background: #17120e;
}

.purple-wisteria-hero::after {
  background:
    linear-gradient(90deg, rgba(20, 15, 11, 0.58), rgba(20, 15, 11, 0.1) 58%),
    linear-gradient(180deg, rgba(20, 15, 11, 0.08), rgba(20, 15, 11, 0.66));
}

.wedding-purple-wisteria .wedding-hero-copy {
  z-index: 2;
}

.wedding-purple-wisteria .label,
.wedding-purple-wisteria .wedding-hero-copy .label,
.wedding-purple-wisteria .wedding-step span {
  color: #c9badf;
}

.wedding-purple-wisteria .section-title h2,
.wedding-purple-wisteria .wedding-intro-grid strong,
.wedding-purple-wisteria .wedding-panel strong,
.wedding-purple-wisteria .wedding-mini strong {
  color: var(--purple-wisteria-ink);
}

.purple-wisteria-intro {
  position: relative;
  background:
    linear-gradient(180deg, rgba(248, 245, 250, 0.96), rgba(255, 255, 255, 0.98)),
    var(--purple-wisteria-paper);
}

.purple-wisteria-intro::before {
  content: "";
  position: absolute;
  top: -58px;
  right: -60px;
  width: min(620px, 78vw);
  height: 220px;
  background: url("/noda-ebisu-v2/images/wedding/wisteria-motif.svg") center / contain no-repeat;
  opacity: 0.28;
  pointer-events: none;
}

.purple-wisteria-gallery {
  background: rgba(143, 121, 189, 0.16);
}

.purple-wisteria-band {
  position: relative;
  overflow: hidden;
  color: var(--purple-wisteria-ink);
  background:
    linear-gradient(180deg, rgba(239, 232, 245, 0.96), rgba(248, 245, 250, 0.97)),
    var(--purple-wisteria-band);
}

.purple-wisteria-band::before {
  content: "";
  position: absolute;
  top: -72px;
  right: -80px;
  width: min(560px, 72vw);
  height: 220px;
  background: url("/noda-ebisu-v2/images/wedding/wisteria-motif.svg") center / contain no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.wedding-purple-wisteria .wedding-intro-grid,
.wedding-purple-wisteria .wedding-panels,
.wedding-purple-wisteria .wedding-steps,
.wedding-purple-wisteria .wedding-mini-grid {
  background: rgba(143, 121, 189, 0.18);
}

.wedding-purple-wisteria .wedding-intro-grid > div,
.wedding-purple-wisteria .wedding-panel,
.wedding-purple-wisteria .wedding-step,
.wedding-purple-wisteria .wedding-mini,
.wedding-purple-wisteria .wedding-faq details {
  background: rgba(255, 255, 255, 0.7);
}

.wedding-purple-wisteria .wedding-note-band .label,
.wedding-purple-wisteria .wedding-note-band .lead,
.wedding-purple-wisteria .wedding-note-band p {
  color: rgba(51, 40, 56, 0.74);
}

.wedding-purple-wisteria .wedding-button {
  background: #b33a2d;
}

.wedding-purple-wisteria .wedding-button.secondary {
  color: var(--purple-wisteria-ink);
  background: rgba(255, 255, 255, 0.92);
}

.translate-widget {
  position: fixed;
  left: 0;
  top: 96px;
  z-index: 9999;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

.translate-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 44px;
  padding: 10px 18px;
  color: var(--white);
  background: rgba(117, 16, 14, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 0;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 10px 24px rgba(43, 37, 32, 0.16);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.translate-trigger:hover,
.translate-trigger[aria-expanded="true"] {
  color: var(--white);
  background: rgba(117, 16, 14, 0.96);
}

.translate-panel {
  position: absolute;
  left: 12px;
  top: 54px;
  display: none;
  align-items: center;
  gap: 4px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(43, 37, 32, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(43, 37, 32, 0.12);
  backdrop-filter: blur(12px);
}

.translate-panel.is-open {
  display: flex;
}

.translate-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.translate-panel a:hover {
  background: rgba(43, 37, 32, 0.08);
  transform: translateY(-1px);
}

#google_language_translator,
.goog-te-banner-frame,
.skiptranslate iframe {
  display: none !important;
}

body {
  top: 0 !important;
}

@media (max-width: 980px) {
  .wedding-teaser-layout,
  .wedding-lede,
  .wedding-intro-grid,
  .wedding-panels,
  .wedding-steps,
  .wedding-split,
  .wedding-language,
  .wisteria-hero-layout,
  .wisteria-message,
  .wisteria-cards,
  .wisteria-split {
    grid-template-columns: 1fr;
  }

  .wedding-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .wedding-gallery img:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  .wedding-hero-copy {
    padding-top: 130px;
  }

  .wisteria-hero {
    min-height: auto;
  }

  .wisteria-hero-layout {
    padding-top: 150px;
  }

  .wisteria-hero-photo {
    max-width: 520px;
  }

  .wisteria-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1180px) {
  .wedding-teaser-layout {
    grid-template-columns: 1fr;
  }

  .wedding-teaser-card,
  .wedding-teaser-card img {
    min-height: 360px;
  }

  .wedding-teaser-card {
    transform: none;
  }
}

@media (max-width: 560px) {
  .wedding-hero {
    min-height: 86vh;
  }

  .wedding-intro h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .wedding-intro .lead {
    text-align: left;
  }

  .wedding-hero-copy h1 {
    font-size: clamp(28px, 7.6vw, 38px);
    line-height: 1.24;
  }

  .wedding-hero-copy {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    margin-left: 18px;
    margin-right: 18px;
  }

  .wedding-hero-copy p {
    width: 100%;
    max-width: 330px;
    font-size: 16px;
    line-height: 1.82;
    word-break: normal;
  }

  .wedding-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-cta,
  .contact-cta.centered {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .contact-button,
  .wedding-actions .contact-button,
  .wedding-actions .wedding-button {
    width: 100%;
    min-width: 0;
  }

  .prayer-contact {
    padding: 22px 18px;
  }

  .prayer-contact p {
    white-space: normal;
  }

  .wedding-variant-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .wedding-gallery,
  .wedding-mini-grid {
    grid-template-columns: 1fr;
  }

  .wedding-gallery img:first-child {
    grid-column: auto;
  }

  .wedding-table th,
  .wedding-table td {
    display: block;
    width: 100%;
  }

  .wisteria-hero {
    padding-top: 56px;
  }

  .wisteria-hero-art {
    top: -18px;
    width: 160vw;
    opacity: 0.72;
  }

  .wisteria-hero-layout {
    padding-top: 128px;
  }

  .wisteria-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(29px, 7.4vw, 36px);
    line-height: 1.28;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .wisteria-hero-copy p,
  .wisteria-message .lead {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
  }

  .wisteria-strip {
    grid-template-columns: 1fr;
  }

  .wisteria-strip img,
  .wisteria-strip img:nth-child(2) {
    height: 280px;
  }

  .wisteria-band::before {
    width: 120vw;
    right: -45vw;
  }
}
