:root {
  --bg: #f7f3f7;
  --bg-soft: #ede6ef;
  --surface: rgba(255, 252, 255, 0.8);
  --surface-strong: rgba(247, 240, 247, 0.94);
  --ink: #2c2d33;
  --muted: #5c5160;
  --accent: #751043;
  --accent-soft: #96588a;
  --line: rgba(117, 16, 67, 0.14);
  --shadow: 0 24px 80px rgba(53, 31, 53, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: 52px;
  overflow-x: hidden;
  font-family: "Noto Serif JP", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(117, 16, 67, 0.2), transparent 34%),
    radial-gradient(circle at right 20%, rgba(150, 88, 138, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf8fb 0%, #f1eaf1 52%, #e8dfe8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(84, 62, 84, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 62, 84, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

.page-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto;
  border: 1px solid rgba(117, 16, 67, 0.14);
  background: linear-gradient(180deg, rgba(255, 252, 255, 0.78), rgba(245, 238, 245, 0.92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(117, 16, 67, 0.18);
  background: linear-gradient(180deg, rgba(255, 252, 255, 0.96), rgba(245, 238, 245, 0.92));
  backdrop-filter: blur(10px);
}

.site-header__inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}

.site-header__logo {
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.site-header__logo:hover,
.site-header__logo:focus-visible {
  color: #5c0f35;
}

.site-header__logo img {
  display: block;
  width: clamp(130px, 16vw, 220px);
  height: auto;
}

.lang-switch {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: flex-end;
  overflow-x: auto;
  white-space: nowrap;
}

.lang-switch__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.lang-switch__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(117, 16, 67, 0.24);
  border-radius: 999px;
  background: rgba(255, 252, 255, 0.9);
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.lang-switch__toggle:hover,
.lang-switch__toggle:focus-visible {
  border-color: rgba(117, 16, 67, 0.48);
  background: rgba(255, 248, 254, 1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 3px 8px;
  border: 1px solid rgba(117, 16, 67, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-decoration: none;
  background: rgba(255, 252, 255, 0.82);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  color: var(--accent);
  border-color: rgba(117, 16, 67, 0.45);
  background: rgba(255, 248, 254, 0.98);
}

.lang-switch a[aria-current="page"] {
  color: #fff9fe;
  background: linear-gradient(180deg, rgba(117, 16, 67, 0.94), rgba(78, 32, 66, 0.97));
  border-color: rgba(117, 16, 67, 0.88);
}

.hero,
.section,
.footer {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
  padding: 72px clamp(24px, 4vw, 56px) 56px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(117, 16, 67, 0.42), transparent);
}

.eyebrow,
.section__index,
.hero__panel-label,
.audience-card__label,
.footer__kicker,
.result-label {
  margin: 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
}

.hero__lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

h1,
h2,
h3,
.result-word,
.footer__message {
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0.01em;
  margin: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(3.8rem, 8vw, 7.4rem);
  max-width: none;
}

.hero__copy {
  margin: 28px 0 0;
  max-width: 34rem;
  font-size: 1.06rem;
  line-height: 1.95;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 255, 0.9);
  border: 1px solid rgba(117, 16, 67, 0.2);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 20px;
  
  justify-content: center;
}

.hero__image {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(100%, 460px);
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 20px 56px rgba(78, 33, 67, 0.22);
}

.hero__panel {
  position: relative;
  z-index: 1;
  width: min(88%, 340px);
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 250, 255, 0.86), rgba(240, 230, 240, 0.82));
  border: 1px solid rgba(117, 16, 67, 0.14);
  box-shadow: 0 18px 54px rgba(74, 32, 63, 0.16);
  backdrop-filter: blur(10px);
}

.hero__panel-copy {
  margin: 12px 0 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}

.section {
  padding: 48px clamp(24px, 4vw, 56px);
}

.section-photo {
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid rgba(117, 16, 67, 0.14);
  box-shadow: 0 18px 54px rgba(74, 32, 63, 0.12);
}

.section-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-photo--landscape {
  aspect-ratio: 16 / 7;
}

.section-photo--wide {
  aspect-ratio: 16 / 6;
}

.section-photo--portrait {
  min-height: 100%;
}

.section-photo--portrait img {
  min-height: 100%;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section__heading {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
}

.section__content,
.section__content--split {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.95;
}

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

.section__content--split p {
  margin: 0;
}

.section__content--split p + p {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

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

.audience-card,
.heritage-layout__statement,
.heritage-layout__result {
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(117, 16, 67, 0.14);
}

.audience-card h3 {
  margin-top: 10px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.audience-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.86;
}

.heritage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(240px, 0.7fr);
  gap: 20px;
}

.hero > *,
.section__content--split > *,
.audience-grid > *,
.heritage-layout > * {
  min-width: 0;
}

.heritage-layout__statement {
  display: flex;
  align-items: flex-start;
  min-height: 0;
  padding: 22px 24px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 2;
}

.heritage-layout__result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(117, 16, 67, 0.94), rgba(48, 25, 44, 0.97));
  color: #fff9fe;
}

.result-word {
  max-width: 100%;
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.result-word .no-break {
  display: block;
  white-space: nowrap;
  font-size: 0.72em;
  letter-spacing: 0.02em;
}

.footer {
  padding: 36px clamp(24px, 4vw, 56px) 44px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(95, 21, 58, 0.96), rgba(41, 20, 37, 0.98));
  color: #f9f2f8;
}

.footer__kicker {
  color: rgba(249, 242, 248, 0.82);
  font-weight: 500;
}

.footer__message {
  margin-top: 12px;
  max-width: 100%;
  font-size: clamp(2rem, 4vw, 4rem);
}

@media (max-width: 900px) {
  .lang-switch {
    overflow: visible;
  }

  .lang-switch__toggle {
    display: inline-flex;
  }

  .lang-switch__list {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1100;
    flex-direction: column;
    gap: 8px;
    min-width: 164px;
    max-width: calc(100vw - 20px);
    padding: 10px;
    border: 1px solid rgba(117, 16, 67, 0.24);
    border-radius: 14px;
    background: rgba(255, 251, 255, 0.98);
    box-shadow: 0 16px 34px rgba(53, 31, 53, 0.2);
    white-space: normal;
  }

  .lang-switch.is-open .lang-switch__list {
    display: flex;
  }

  .lang-switch a {
    justify-content: flex-start;
    min-height: 34px;
    width: 100%;
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}

@media (max-width: 960px) {
  .pc_only {
    display: none;
  }

  .hero,
  .section__content--split,
  .audience-grid,
  .heritage-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .section__content--split p + p {
    padding-left: 0;
    border-left: none;
  }

  .hero__visual {
    min-height: 320px;
    order: -1;
  }

  .hero__image {
    width: 100%;
    border-radius: 32px;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 46px;
  }

  .page-shell {
    width: min(calc(100% - 16px), var(--max));
    margin: 8px auto;
  }

  .site-header__inner {
    width: min(calc(100% - 16px), var(--max));
    padding: 7px 0;
  }

  .hero,
  .section,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section__heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero__copy,
  .section__content,
  .section__content--split,
  .audience-card p:last-child,
  .heritage-layout__statement {
    font-size: 0.98rem;
    line-height: 1.82;
  }

  .hero__panel {
    width: 100%;
  }
}