:root {
  --bg: #fffdf9;
  --surface: #ffffff;
  --surface-soft: #fff8f2;
  --surface-green: #f3fbf5;
  --text: #1d1614;
  --muted: #5f5350;
  --border: #e4d6ce;
  --accent: #c7514f;
  --accent-deep: #9e3939;
  --line: #06c755;
  --line-deep: #03a347;
  --pastel-blue: #dce9ff;
  --pastel-green: #dbefd0;
  --pastel-yellow: #fff0ba;
  --pastel-pink: #ffd9e2;
  --pastel-purple: #eadfff;
  --shadow-soft: 0 18px 48px rgba(95, 56, 49, 0.08);
  --shadow-strong: 0 20px 60px rgba(95, 56, 49, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 6%, rgba(220, 233, 255, 0.55), transparent 25%),
    radial-gradient(circle at 90% 10%, rgba(255, 217, 226, 0.45), transparent 22%),
    linear-gradient(180deg, #fffefc 0%, var(--bg) 100%);
  font-family:
    "Hiragino Maru Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Meiryo",
    sans-serif;
  line-height: 1.72;
  letter-spacing: 0.02em;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--accent-deep);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 60px 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.88), rgba(255, 255, 255, 0.96));
}

.section--contact {
  background:
    radial-gradient(circle at 100% 0, rgba(219, 239, 208, 0.35), transparent 28%),
    linear-gradient(180deg, rgba(243, 251, 245, 0.96), rgba(255, 255, 255, 0.98));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 22px;
}

.section-heading--compact {
  margin-bottom: 18px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 5px 11px;
  color: var(--accent);
  background: rgba(199, 81, 79, 0.1);
  border: 1px solid rgba(199, 81, 79, 0.15);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2,
.line-band__copy h2,
.contact-line h2 {
  margin: 0;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Times New Roman",
    serif;
  font-size: clamp(1.65rem, 5.1vw, 2.35rem);
  line-height: 1.3;
}

.section-heading > p:not(.section-label),
.line-band__copy > p:not(.section-label),
.contact-line > p:not(.section-label),
.event-card > p,
.event-aside > p:not(.event-aside__eyebrow),
.profile-copy > p:not(.profile-role) {
  margin: 14px 0 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.88);
  border-bottom: 1px solid rgba(228, 214, 206, 0.55);
  backdrop-filter: blur(12px);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 252, 247, 0.96);
  border-color: rgba(228, 214, 206, 0.9);
  box-shadow: 0 10px 30px rgba(95, 56, 49, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.site-nav {
  display: none;
}

.site-nav a {
  padding: 8px 12px;
  color: var(--muted);
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-deep);
  background: rgba(199, 81, 79, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible,
.site-nav a:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(6, 199, 85, 0.24);
  outline-offset: 2px;
}

.button--line {
  color: #ffffff;
  background: linear-gradient(180deg, var(--line), var(--line-deep));
  box-shadow: 0 12px 30px rgba(6, 199, 85, 0.24);
}

.button--line:hover,
.button--line:focus-visible {
  box-shadow: 0 16px 36px rgba(6, 199, 85, 0.28);
}

.button--ghost {
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(199, 81, 79, 0.18);
}

.button--header {
  min-height: 44px;
  padding-inline: 15px;
  font-size: 0.88rem;
}

.button--large {
  min-height: 52px;
  padding-inline: 22px;
}

/* Reusable image frame with fallback support */
.image-shell {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 242, 0.92));
  border: 1px solid rgba(228, 214, 206, 0.9);
  box-shadow: var(--shadow-soft);
}

.image-shell img {
  width: 100%;
  height: auto;
}

.image-shell.is-missing {
  min-height: 160px;
  padding: 18px;
  text-align: center;
}

.image-shell.is-missing img {
  display: none;
}

.image-shell.is-missing::before {
  content: attr(data-fallback);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.image-shell--small {
  width: 78px;
  min-height: 58px;
  padding: 8px;
  border-radius: 18px;
}

.hero {
  position: relative;
  overflow: clip;
  padding-top: 46px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  top: 56px;
  right: -110px;
  width: 250px;
  height: 250px;
  background: rgba(255, 240, 186, 0.35);
  filter: blur(10px);
}

.hero::after {
  bottom: 48px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: rgba(234, 223, 255, 0.35);
  filter: blur(6px);
}

.hero-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 11px;
  color: var(--accent);
  background: rgba(199, 81, 79, 0.1);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Times New Roman",
    serif;
  font-size: clamp(1.95rem, 8.1vw, 3.7rem);
  line-height: 1.16;
  letter-spacing: 0.03em;
}

.hero-lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding: 12px 14px 12px 40px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(228, 214, 206, 0.72);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 24px rgba(95, 56, 49, 0.05);
  font-size: 0.89rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--pastel-yellow), var(--accent));
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero-visual {
  position: relative;
}

.hero-visual__label {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-logo-card {
  position: relative;
  padding: 18px;
  border-radius: 36px;
  overflow: visible;
}

/* Card-suit accents around the hero logo */
.suit-cluster {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.suit-badge {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(36px, 9vw, 48px);
  aspect-ratio: 1;
  border: 1px solid rgba(210, 189, 178, 0.98);
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(95, 56, 49, 0.12);
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Times New Roman",
    serif;
  font-size: clamp(1rem, 4vw, 1.28rem);
  line-height: 1;
}

.suit-badge--heart {
  top: -12px;
  left: 8px;
  color: var(--accent);
  background: rgba(255, 248, 242, 0.98);
  transform: rotate(-8deg);
}

.suit-badge--spade {
  top: -12px;
  right: 8px;
  color: #2b2524;
  background: rgba(220, 233, 255, 0.96);
  transform: rotate(8deg);
}

.suit-badge--club {
  bottom: -10px;
  left: 18px;
  color: #2b2524;
  background: rgba(219, 239, 208, 0.98);
  transform: rotate(7deg);
}

.suit-badge--diamond {
  right: 18px;
  bottom: -10px;
  color: var(--accent);
  background: rgba(255, 217, 226, 0.98);
  transform: rotate(-6deg);
}

.hero-logo-card::before,
.hero-logo-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 999px;
}

.hero-logo-card::before {
  top: 18px;
  right: 16px;
  width: 72px;
  height: 72px;
  background: rgba(220, 233, 255, 0.55);
}

.hero-logo-card::after {
  bottom: 12px;
  left: 18px;
  width: 86px;
  height: 86px;
  background: rgba(255, 217, 226, 0.4);
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  margin-inline: auto;
  animation: logoFloat 7.5s ease-in-out infinite;
}

.hero-caption {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-suit-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
  justify-content: center;
}

.hero-suit {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(210, 189, 178, 0.98);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(95, 56, 49, 0.1);
  background: rgba(255, 255, 255, 0.94);
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Times New Roman",
    serif;
  font-size: 1.05rem;
  line-height: 1;
}

.hero-suit--heart,
.hero-suit--diamond {
  color: var(--accent);
}

.hero-suit--spade,
.hero-suit--club {
  color: #2b2524;
}

.hero-suit--heart {
  background: rgba(255, 248, 242, 0.98);
}

.hero-suit--spade {
  background: rgba(220, 233, 255, 0.96);
}

.hero-suit--club {
  background: rgba(219, 239, 208, 0.98);
}

.hero-suit--diamond {
  background: rgba(255, 217, 226, 0.98);
}

.line-band {
  padding: 0 0 10px;
}

.line-band__inner {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(243, 251, 245, 0.94));
  border: 1px solid rgba(228, 214, 206, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.line-band__actions {
  display: grid;
  gap: 14px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(228, 214, 206, 0.85);
  border-radius: 999px;
  font-size: 0.85rem;
}

.intro-grid,
.scene-grid {
  display: grid;
  gap: 14px;
}

.panel,
.scene-card,
.event-card,
.event-aside,
.profile-card,
.contact-line,
.contact-details {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(228, 214, 206, 0.82);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.panel {
  padding: 20px 18px;
}

.panel h3,
.scene-card h3,
.event-aside h3,
.profile-copy h3,
.contact-details h3,
.qr-copy h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.4;
}

.panel p,
.scene-card p,
.event-card p,
.event-aside p,
.profile-copy p,
.contact-details p,
.qr-copy p {
  margin: 12px 0 0;
  color: var(--muted);
}

.scene-card {
  position: relative;
  padding: 20px 18px 18px;
  overflow: hidden;
}

.scene-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
}

.scene-card:nth-child(5n + 1)::before {
  background: var(--pastel-blue);
}

.scene-card:nth-child(5n + 2)::before {
  background: var(--pastel-green);
}

.scene-card:nth-child(5n + 3)::before {
  background: var(--pastel-yellow);
}

.scene-card:nth-child(5n + 4)::before {
  background: var(--pastel-purple);
}

.scene-card:nth-child(5n + 5)::before {
  background: var(--pastel-pink);
}

.scene-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 5px 10px;
  color: var(--accent);
  background: rgba(199, 81, 79, 0.09);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.event-layout,
.contact-grid {
  display: grid;
  gap: 16px;
}

.event-card,
.event-aside,
.contact-line,
.contact-details {
  padding: 20px;
}

.event-aside {
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.96), rgba(255, 255, 255, 0.98));
}

.event-aside__eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--accent), #df8e8d);
  border-radius: 50%;
}

.profile-card {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.image-shell--profile {
  width: min(100%, 320px);
  min-height: 250px;
  margin-inline: auto;
  padding: 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 30%, rgba(220, 233, 255, 0.75), rgba(255, 255, 255, 0.95) 55%),
    linear-gradient(180deg, #fff, #fff7f2);
}

.image-shell--profile.is-missing {
  min-height: 250px;
}

.profile-role {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-copy h3 {
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "Times New Roman",
    serif;
  font-size: clamp(1.45rem, 5.4vw, 1.9rem);
}

.contact-lead {
  margin-top: 12px;
}

.contact-cta {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-note {
  font-size: 0.86rem;
}

.qr-area {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  align-items: center;
}

.image-shell--qr {
  width: min(100%, 220px);
  min-height: 220px;
  padding: 14px;
  border-radius: 24px;
  margin-inline: auto;
  background: #ffffff;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.contact-list__item {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(228, 214, 206, 0.75);
}

.contact-list__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-list dd {
  margin: 6px 0 0;
}

.contact-list a {
  color: var(--accent-deep);
  font-size: 0.94rem;
  font-weight: 700;
}

.tag-list--contact {
  margin-top: 16px;
}

.site-footer {
  padding: 28px 0 36px;
  color: #fff5f1;
  background:
    radial-gradient(circle at top right, rgba(255, 217, 226, 0.14), transparent 28%),
    #1d1614;
}

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

.footer-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.footer-text,
.footer-copy {
  margin: 6px 0 0;
  color: rgba(255, 245, 241, 0.78);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:not(.button) {
  color: rgba(255, 245, 241, 0.88);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (min-width: 720px) {
  .container {
    width: min(calc(100% - 48px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 18px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .line-band__inner,
  .profile-card,
  .qr-area {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .event-layout,
  .contact-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
    align-items: start;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: end;
  }

  .footer-copy {
    text-align: right;
  }
}

@media (min-width: 980px) {
  .site-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.9fr);
    gap: 44px;
  }

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

  .line-band__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
