:root {
  color-scheme: light;
  --ink: #071a2c;
  --ink-soft: #40546a;
  --indigo: #16466f;
  --indigo-mid: #285f8a;
  --indigo-deep: #061523;
  --sky: #68c6ea;
  --sky-soft: #eaf8fd;
  --gold: #e9bd65;
  --gold-soft: #fff6de;
  --line: #dbe3eb;
  --paper: #ffffff;
  --paper-soft: #f4f7fa;
  --paper-blue: #edf4f8;
  --section-gray: #eef2f5;
  --section-blue: #ddf2f9;
  --section-blue-strong: #c9ebf6;
  --section-edge: rgba(22, 70, 111, 0.14);
  --shadow: 0 30px 90px rgba(7, 26, 44, 0.14);
  --max: 1160px;
  --external-link-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 3H21v7.5h-3V8.12l-8.44 8.44-2.12-2.12L15.88 6H13.5V3Z'/%3E%3Cpath d='M4 5h7v3H7v9h9v-4h3v7H4V5Z'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  padding-bottom: 72px;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.78;
  letter-spacing: 0;
  font-feature-settings: "palt";
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.join-bar {
  position: fixed;
  z-index: 70;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-top: 2px solid var(--gold);
  background:
    linear-gradient(90deg, rgba(6, 21, 35, 0.98), rgba(22, 70, 111, 0.98) 56%, rgba(104, 198, 234, 0.94));
  color: #fff;
  box-shadow: 0 -18px 42px rgba(7, 26, 44, 0.34);
  backdrop-filter: blur(18px);
}

.join-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/bracelet-marquee-seamless-chroma.webp?v=20260721-img-opt") right 50% / auto 54px repeat-x;
  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: ctaBracelet 22s linear infinite;
}

.join-bar-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  color: #fff;
}

.join-bar-copy {
  display: block;
  min-width: 0;
}

.join-bar-title {
  display: block;
  color: #fff;
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.2;
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
}

.join-bar-title strong {
  color: var(--gold);
  font-weight: 900;
}

.join-bar-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background: var(--gold);
  color: var(--indigo-deep);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, background 160ms ease;
}

.join-bar-mobile {
  display: none;
}

.join-bar-inner:hover .join-bar-action {
  transform: translateY(-2px);
  background: #fff;
}

body::selection {
  background: var(--indigo);
  color: #fff;
}

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

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 44px;
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(7, 26, 44, 0.08);
  backdrop-filter: blur(18px);
}

.header-brand {
  position: relative;
  display: block;
  width: clamp(154px, 15vw, 214px);
  height: 44px;
  font-weight: 900;
  font-size: 16px;
  white-space: nowrap;
}

.header-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 180ms ease;
}

.header-logo-dark {
  opacity: 0;
}

.site-header.is-scrolled .header-logo-light,
.site-header.is-menu-open .header-logo-light {
  opacity: 0;
}

.site-header.is-scrolled .header-logo-dark,
.site-header.is-menu-open .header-logo-dark {
  opacity: 1;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 900;
}

.header-nav a {
  opacity: 0.88;
}

.header-nav a:hover {
  opacity: 1;
}

.mobile-menu-button,
.mobile-nav {
  display: none;
}

.mobile-menu-button {
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: background 180ms ease, color 180ms ease;
}

.site-header.is-scrolled .mobile-menu-button,
.site-header.is-menu-open .mobile-menu-button {
  background: rgba(22, 70, 111, 0.08);
  color: var(--ink);
}

.mobile-menu-lines {
  position: relative;
  width: 18px;
  height: 12px;
}

.mobile-menu-lines span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
}

.mobile-menu-lines span:first-child {
  top: 1px;
}

.mobile-menu-lines span:last-child {
  top: 9px;
}

.site-header.is-menu-open .mobile-menu-lines span:first-child {
  top: 5px;
  transform: rotate(45deg);
}

.site-header.is-menu-open .mobile-menu-lines span:last-child {
  top: 5px;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 18px;
  left: 18px;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(7, 26, 44, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(7, 26, 44, 0.18);
  backdrop-filter: blur(18px);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(7, 26, 44, 0.08);
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.mobile-nav a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: rotate(45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 96px 64px 132px;
  background: var(--indigo-deep);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: min(58vw, 780px);
  height: min(56vh, 560px);
  background: url("assets/patterns/generated/hero-overlay-corner.webp?v=20260721-img-opt") right bottom / contain no-repeat;
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(6, 21, 35, 0), rgba(6, 21, 35, 0.62));
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(6, 21, 35, 0.86), rgba(6, 21, 35, 0.42) 48%, rgba(6, 21, 35, 0.18)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 900ms ease, transform 5200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.hero-kicker,
.section-kicker {
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-kicker {
  width: fit-content;
  margin-bottom: 22px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-logo {
  width: 600px;
  margin: 0 0 28px -8px;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.38));
}

.hero-copy {
  max-width: 760px;
  font-size: 62px;
  line-height: 1.1;
  font-weight: 900;
  text-wrap: balance;
}

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

.hero-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.hero-date-main {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--indigo-deep);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
}

.hero-date-place {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: #fff;
  color: var(--indigo-deep);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
}

.button-outline {
  border-color: var(--indigo);
  color: var(--indigo);
  background: #fff;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.72);
  background: #fff;
  color: var(--indigo-deep);
}

.hero-controls {
  position: absolute;
  z-index: 3;
  right: 64px;
  bottom: 104px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 44px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.hero-dot.is-active {
  background: #fff;
}

.bracelet-marquee {
  --bracelet-height: 82px;
  --bracelet-step: 870px;
  position: relative;
  overflow: hidden;
  height: var(--bracelet-height);
  background: var(--paper);
  background-image: url("assets/images/bracelet-marquee-seamless-chroma.webp?v=20260721-img-opt");
  background-repeat: repeat-x;
  background-position: 0 center;
  background-size: auto var(--bracelet-height);
  border-bottom: 1px solid var(--line);
  animation: braceletScroll 16s linear infinite;
  will-change: background-position;
}

.bracelet-marquee::before,
.bracelet-marquee::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 160px;
  pointer-events: none;
}

.bracelet-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), rgba(255, 255, 255, 0));
}

.bracelet-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), rgba(255, 255, 255, 0));
}

@keyframes braceletScroll {
  from {
    background-position: 0 center;
  }

  to {
    background-position: calc(var(--bracelet-step) * -1) center;
  }
}

.section {
  padding: 108px 64px;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.intro-section::before {
  content: "#YUKATA";
  position: absolute;
  right: -0.08em;
  bottom: -0.28em;
  color: rgba(22, 70, 111, 0.055);
  font-size: 190px;
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
}

.steps-section,
.manners-section {
  background: var(--paper-soft);
}

.bracelet-section,
.examples-section,
.faq-section {
  background: var(--paper);
}

.shrine-section {
  background: var(--indigo);
  color: #fff;
}

.shops-section {
  background: var(--paper-blue);
}

.intro-layout,
.bracelet-layout,
.shrine-layout,
.manners-layout {
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) minmax(360px, 1.05fr);
  gap: 72px;
  align-items: start;
}

.bracelet-layout {
  grid-template-columns: minmax(520px, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
}

.shrine-layout {
  grid-template-columns: minmax(500px, 0.94fr) minmax(380px, 1.06fr);
  align-items: center;
}

.manners-layout {
  grid-template-columns: minmax(440px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--indigo);
}

.shrine-section .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

h1,
h2 {
  max-width: 100%;
  font-size: 44px;
  line-height: 1.22;
  font-weight: 900;
}

h3 {
  font-size: 21px;
  line-height: 1.36;
  font-weight: 800;
}

.split-title {
  text-wrap: balance;
}

.split-title .title-unit {
  display: inline-block;
}

.copy-unit {
  display: inline-block;
}

.intro-hashtag {
  width: fit-content;
  margin-top: 26px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--indigo);
  font-weight: 900;
}

.intro-copy,
.shrine-copy,
.bracelet-copy,
.manners-layout > div {
  font-size: 17px;
  max-width: 620px;
}

.intro-copy p + p,
.bracelet-copy p + .compact-list {
  margin-top: 20px;
}

.intro-copy {
  max-width: 660px;
}

.intro-copy-body {
  padding-top: 0;
}

.shrine-copy p + p {
  margin-top: 18px;
}

.shrine-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 28px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--gold);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
}

.shrine-link::after {
  content: "";
  flex: 0 0 auto;
  width: 0.95em;
  height: 0.95em;
  margin-left: 8px;
  background: var(--gold);
  -webkit-mask: var(--external-link-icon) center / contain no-repeat;
  mask: var(--external-link-icon) center / contain no-repeat;
}

.shrine-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 430px;
  margin: 28px 0 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.shrine-evidence figure {
  min-width: 0;
  margin: 0;
}

.shrine-evidence img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  filter: saturate(0.9) contrast(0.96);
}

.shrine-evidence-photo--visit {
  object-position: center 58%;
}

.shrine-evidence-photo--prayer {
  object-position: center 44%;
}

.shrine-evidence figcaption {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.65;
  font-weight: 800;
}

.shrine-evidence-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  line-height: 1.6;
  font-weight: 800;
}

@media (max-width: 700px) {
  .shrine-evidence {
    gap: 8px;
    max-width: 100%;
    margin-top: 22px;
    padding: 8px;
  }

  .shrine-evidence figcaption {
    font-size: 11px;
    line-height: 1.6;
  }

  .shrine-evidence-note {
    font-size: 10px;
  }
}

.section-heading {
  max-width: none;
  margin-bottom: 60px;
}

.section-heading p:not(.section-kicker) {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
}

.hashtag {
  display: inline-block;
  color: var(--indigo);
  font-weight: 900;
}

.step-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--indigo);
  border-bottom: 1px solid var(--line);
}

.step-list li {
  position: relative;
  min-height: 290px;
  padding: 28px 24px 26px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.76));
}

.step-list li:last-child {
  border-right: 0;
}

.step-number {
  display: block;
  margin-bottom: 74px;
  color: var(--indigo);
  font-size: 52px;
  line-height: 0.9;
  font-weight: 900;
}

.step-list h3 {
  margin-bottom: 10px;
}

.step-list p {
  color: var(--ink-soft);
  font-size: 15px;
}

.note-strip,
.map-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.note-strip p,
.map-strip p {
  color: var(--ink-soft);
}

.note-strip strong {
  color: var(--ink);
}

.bracelet-copy p {
  margin-top: 20px;
  color: var(--ink-soft);
}

.compact-list {
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.bracelet-figure {
  position: relative;
  margin: 0;
  align-self: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.bracelet-figure::before {
  content: "LIMITED 1000";
  position: absolute;
  top: -15px;
  right: 18px;
  padding: 7px 10px;
  border: 1px solid var(--indigo);
  border-radius: 999px;
  background: #fff;
  color: var(--indigo);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.bracelet-figure figcaption,
.caption-note,
.photo-grid figcaption {
  color: var(--ink-soft);
  font-size: 12px;
}

.bracelet-figure figcaption {
  margin-top: 12px;
  text-align: right;
}

.novelty-section {
  background: linear-gradient(180deg, #fff7dc 0%, #fff1c7 100%);
}

.bracelet-section.novelty-section::before {
  content: none;
}

.novelty-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
}

.novelty-copy {
  max-width: 620px;
}

.novelty-copy .split-title {
  margin: 0;
}

.novelty-lead {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2;
  font-weight: 700;
}

.novelty-lead span {
  color: var(--indigo);
  font-weight: 900;
}

.novelty-reward {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 28px;
}

.novelty-reward-item {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 176px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(22, 70, 111, 0.16);
  border-top: 6px solid var(--gold);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(7, 26, 44, 0.08);
}

.novelty-reward-primary {
  border-color: rgba(255, 255, 255, 0.18);
  border-top-color: var(--sky);
  background: var(--indigo);
  color: #fff;
}

.novelty-reward-item span {
  color: #765819;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.novelty-reward-primary span {
  color: var(--gold);
}

.novelty-reward-item strong {
  color: var(--ink);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
  font-weight: 900;
}

.novelty-reward-primary strong {
  color: #fff;
}

.novelty-reward-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
  font-weight: 800;
}

.novelty-reward-primary p {
  color: rgba(255, 255, 255, 0.82);
}

.novelty-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 620px;
  margin-top: 22px;
  border-top: 1px solid rgba(22, 70, 111, 0.18);
  border-bottom: 1px solid rgba(22, 70, 111, 0.18);
}

.novelty-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-right: 22px;
  padding: 12px 22px 12px 0;
  border-right: 1px solid rgba(22, 70, 111, 0.18);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 900;
}

.novelty-meta span:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
  color: var(--ink-soft);
  font-weight: 800;
}

.novelty-figure {
  margin: 0;
  padding: clamp(26px, 4vw, 44px) clamp(22px, 4vw, 48px) clamp(22px, 3vw, 30px);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 64px rgba(7, 26, 44, 0.1);
}

.novelty-showcase {
  display: grid;
  gap: 14px;
}

.novelty-image {
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 18px 0;
  border-radius: 4px;
  background: #eef3f6;
}

.novelty-image-bracelet {
  min-height: 128px;
}

.novelty-image-charms {
  min-height: 190px;
  padding: 18px;
  background: #fff;
}

.novelty-image img {
  display: block;
  width: 100%;
  max-width: 660px;
  height: auto;
  filter: drop-shadow(0 1px 0 rgba(7, 26, 44, 0.22)) drop-shadow(0 8px 14px rgba(7, 26, 44, 0.12));
}

.novelty-image-charms img {
  max-width: 760px;
  filter: drop-shadow(0 10px 18px rgba(7, 26, 44, 0.1));
}

.novelty-figure figcaption {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: var(--ink-soft);
  text-align: left;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
}

.novelty-figure figcaption strong,
.novelty-figure figcaption span {
  display: block;
}

.novelty-figure figcaption strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
}

.novelty-figure figcaption span {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
}

.photo-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.photo-grid figcaption {
  padding: 10px 12px;
  font-weight: 900;
}

.caption-note {
  margin-top: 16px;
}

.manners-layout {
  align-items: center;
}

.manners-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.manners-list li {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.manners-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 28px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--indigo);
}

.street-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--indigo);
  border-left: 1px solid var(--line);
}

.street-block {
  min-height: 158px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.street-block h3 {
  margin-bottom: 22px;
  color: var(--indigo);
}

.street-block p {
  color: var(--ink-soft);
  font-size: 14px;
}

.street-block p + p {
  margin-top: 8px;
}

.street-feature {
  background: #fff;
}

.faq-list {
  border-top: 2px solid var(--indigo);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 0;
  font-weight: 900;
  font-size: 17px;
}

.faq-list summary::marker {
  color: var(--indigo);
}

.faq-list p {
  padding: 0 0 22px;
  color: var(--ink-soft);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 4.4vw, 58px) 0 clamp(30px, 3.4vw, 44px);
  background:
    radial-gradient(circle at 8% 22%, rgba(104, 198, 234, 0.18), transparent 30%),
    linear-gradient(135deg, #061523 0%, #0a2135 58%, #071a2c 100%);
  color: #fff;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding-bottom: clamp(22px, 3vw, 32px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand img {
  display: block;
  width: clamp(168px, 16vw, 232px);
  max-width: 100%;
}

.footer-brand p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 900;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 34px;
  min-width: 0;
  padding-bottom: clamp(22px, 3vw, 30px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 42px);
  margin: 0;
}

.footer-summary div {
  min-width: 0;
  padding: 0;
}

.footer-summary dt {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-summary dd {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 900;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  min-width: 0;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 900;
  text-decoration: none;
}

.footer-nav a::after {
  content: "→";
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-width: 0;
}

.footer-social p {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-social p span {
  display: inline-block;
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.86);
  text-transform: none;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 7px 13px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.social-icon img {
  display: block;
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.footer-social-links a::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: var(--gold);
  -webkit-mask: var(--external-link-icon) center / contain no-repeat;
  mask: var(--external-link-icon) center / contain no-repeat;
}

.site-footer .association-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-footer .association-links p {
  color: var(--gold);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer .association-links > div {
  gap: 10px 16px;
}

.site-footer .association-links .external-link {
  min-height: auto;
  width: auto;
  padding: 0 0 3px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(236, 194, 94, 0.72);
  background: transparent;
  color: #fff;
  font-size: 12px;
}

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

  .mobile-menu-button {
    display: inline-flex;
  }

  .site-header.is-menu-open {
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: 0 1px 0 rgba(7, 26, 44, 0.08);
    backdrop-filter: blur(18px);
  }

  .site-header.is-menu-open .mobile-nav {
    display: grid;
  }

  .hero {
    padding: 88px 32px 64px;
  }

  .intro-layout,
  .bracelet-layout,
  .shrine-layout,
  .manners-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .step-list li:nth-child(2) {
    border-right: 0;
  }

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

  .photo-grid figure,
  .photo-grid figure:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
  }

  .note-strip,
  .map-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

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

  .footer-summary div,
  .footer-summary div:first-child {
    padding: 0;
    border-top: 0;
    border-left: 0;
  }

  .footer-nav {
    gap: 10px 18px;
  }

  .footer-social {
    justify-content: flex-start;
  }

}

@media (max-width: 560px) {
  .site-header {
    padding: 16px 18px;
  }

  .header-brand {
    width: 176px;
    height: 42px;
  }

  .mobile-menu-button {
    min-height: 40px;
    padding: 0 11px;
  }

  .site-footer {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .footer-inner {
    width: calc(100% - 32px);
    gap: 20px;
  }

  .footer-top {
    gap: 20px;
    padding-bottom: 22px;
  }

  .footer-brand img {
    width: 160px;
  }

  .footer-brand p {
    margin-top: 8px;
    font-size: 13px;
  }

  .footer-summary {
    grid-template-columns: 1fr;
  }

  .footer-summary div,
  .footer-summary div:first-child {
    padding: 0;
    border-left: 0;
    border-top: 0;
  }

  .footer-summary dd {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    padding: 0;
  }

  .footer-nav a {
    min-height: auto;
    padding: 0;
    font-size: 12px;
  }

  .footer-social {
    display: flex;
    gap: 10px 12px;
  }

  .footer-social-links {
    justify-content: flex-start;
  }

  .association-links {
    padding: 20px 18px;
  }

  .association-links > div,
  .association-links a {
    width: 100%;
  }

  .site-footer .association-links,
  .site-footer .association-links > div {
    width: 100%;
  }

  .site-footer .association-links .external-link {
    width: auto;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 86px 18px 72px;
  }

  .hero-slide {
    background-image:
      linear-gradient(180deg, rgba(6, 21, 35, 0.18), rgba(6, 21, 35, 0.82)),
      var(--hero-image);
    background-position: center;
  }

  .hero-logo {
    width: 360px;
    max-width: 100%;
    margin: 0 0 22px;
  }

  .hero-copy {
    font-size: 36px;
    line-height: 1.16;
  }

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

  .hero-date-main {
    width: 100%;
    justify-content: center;
    min-height: 58px;
    font-size: 22px;
  }

  .hero-date-place {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-controls {
    left: 18px;
    right: auto;
    bottom: 26px;
  }

  .bracelet-marquee {
    --bracelet-height: 41px;
    --bracelet-step: 435px;
    height: var(--bracelet-height);
    animation-duration: 12s;
  }

  .section {
    padding: 66px 18px;
  }

  h1,
  h2 {
    font-size: 30px;
    line-height: 1.24;
  }

  h3 {
    font-size: 19px;
  }

  .intro-copy,
  .shrine-copy,
  .bracelet-copy,
  .manners-layout > div,
  .section-heading p:not(.section-kicker) {
    font-size: 15px;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .step-list li {
    min-height: 220px;
    border-right: 0;
  }

  .step-number {
    margin-bottom: 42px;
    font-size: 46px;
  }

  .street-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 430px;
  }

  .photo-grid figure,
  .photo-grid figure:nth-child(n) {
    grid-column: auto;
  }

  .photo-grid figcaption {
    padding: 8px 10px;
  }
}

/* Festival visual refresh */
.hero-pattern {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  animation: patternFloat 8s ease-in-out infinite alternate;
}

.hero-pattern-kiku {
  top: 8%;
  right: -2%;
  width: 260px;
  aspect-ratio: 636 / 845;
  color: var(--sky);
  opacity: 0.36;
  transform: rotate(10deg);
  -webkit-mask-image: url("assets/patterns/pattern-kiku-mask.webp");
  mask-image: url("assets/patterns/pattern-kiku-mask.webp");
}

.hero-pattern-tomoe {
  right: 13%;
  bottom: -8%;
  width: 220px;
  aspect-ratio: 635 / 845;
  color: var(--gold);
  opacity: 0.34;
  transform: rotate(-8deg);
  animation-delay: -3s;
  -webkit-mask-image: url("assets/patterns/pattern-tomoe-mask.webp");
  mask-image: url("assets/patterns/pattern-tomoe-mask.webp");
}

.hero-season {
  position: absolute;
  z-index: 2;
  right: 36px;
  top: 50%;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-align: right;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
}

.hero-kicker {
  position: relative;
  margin-bottom: 24px;
  padding: 0 0 0 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  backdrop-filter: none;
}

.hero-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 3px;
  background: var(--gold);
  transform: translateY(-50%);
}

.hero-logo {
  width: 650px;
  margin-bottom: 24px;
}

.hero-copy {
  font-size: 56px;
  line-height: 1.08;
}

.hero-date {
  gap: 14px;
  margin-top: 26px;
}

.hero-date-main {
  min-height: auto;
  padding: 0 0 10px;
  border-bottom: 5px solid var(--gold);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
}

.hero-date-place {
  min-height: 40px;
  padding: 10px 14px;
  border: 0;
  border-radius: 4px;
  background: var(--sky);
  color: var(--indigo-deep);
}

.button {
  border-radius: 4px;
}

.button-primary {
  background: var(--gold);
}

.button-ghost:hover {
  border-color: var(--sky);
  background: var(--sky);
  color: var(--indigo-deep);
}

.hero-dot {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.hero-dot.is-active {
  background: rgba(255, 255, 255, 0.34);
}

.hero-dot.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: left center;
  animation: slideProgress 4.2s linear forwards;
}

.festival-ticker {
  position: relative;
  z-index: 5;
  overflow: hidden;
  height: 44px;
  background: var(--indigo);
  color: #fff;
}

.festival-ticker::before,
.festival-ticker::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 72px;
  pointer-events: none;
}

.festival-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--indigo), rgba(22, 70, 111, 0));
}

.festival-ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--indigo), rgba(22, 70, 111, 0));
}

.festival-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  animation: festivalTicker 22s linear infinite;
  will-change: transform;
}

.festival-ticker-track span {
  display: block;
  flex: none;
  padding-right: 28px;
  white-space: nowrap;
}

.pattern-divider {
  position: relative;
  z-index: 4;
  height: 36px;
  overflow: hidden;
  background-color: #fff;
  background-image: url("assets/patterns/generated/pattern-divider-seamless.webp?v=20260721-img-opt");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 118px;
}

.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 124px;
  padding-bottom: 124px;
}

.section + .section {
  box-shadow: inset 0 1px 0 var(--section-edge);
}

.section-inner {
  position: relative;
  z-index: 2;
}

.section::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 58px;
  right: -92px;
  width: 360px;
  aspect-ratio: 636 / 845;
  background: var(--pattern-color, var(--indigo));
  opacity: var(--pattern-opacity, 0.08);
  transform: rotate(var(--pattern-rotate, 8deg));
  -webkit-mask-image: var(--pattern-image);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: var(--pattern-image);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  pointer-events: none;
}

.intro-section {
  --pattern-image: url("assets/patterns/pattern-kiku-mask.webp");
  --pattern-color: var(--sky);
  --pattern-opacity: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    url("assets/patterns/generated/about-bg.webp?v=20260721-img-opt") center / cover no-repeat #fff;
}

.intro-section::before {
  content: "";
  right: -34px;
  bottom: -110px;
  top: auto;
  width: 390px;
  color: inherit;
  font-size: inherit;
}

.steps-section {
  --pattern-image: url("assets/patterns/pattern-shippou-mask.webp");
  --pattern-color: var(--indigo);
  --pattern-opacity: 0;
  background: var(--section-blue);
  border-top: 10px solid var(--section-blue-strong);
}

.bracelet-section {
  --pattern-image: url("assets/patterns/pattern-tomoe-mask.webp");
  --pattern-color: var(--gold);
  --pattern-opacity: 0.28;
  background: var(--gold-soft);
}

.bracelet-section::before {
  left: -88px;
  right: auto;
  top: 40px;
  width: 320px;
  --pattern-rotate: -10deg;
}

.shrine-section {
  --pattern-image: url("assets/patterns/pattern-nami-mask.webp");
  --pattern-color: var(--sky);
  --pattern-opacity: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(104, 198, 234, 0.16), transparent 32%),
    linear-gradient(135deg, #061523 0%, #0a1d31 46%, #071a2c 100%);
}

.shrine-section::before {
  top: -120px;
  right: -20px;
  width: 540px;
  --pattern-rotate: 0deg;
}

.shrine-section::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: clamp(22px, 4vw, 72px);
  background: url("assets/images/shrine-blessing-background-cutout.webp?v=20260721-img-opt") center / cover no-repeat;
  opacity: 0.54;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 46%, rgba(0, 0, 0, 0.7) 66%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 0 46%, rgba(0, 0, 0, 0.7) 66%, transparent 100%);
  pointer-events: none;
}

.shrine-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 21, 35, 0.94), rgba(12, 36, 58, 0.86)),
    rgba(6, 21, 35, 0.92);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
}

.shrine-copy p {
  margin: 0;
}

.examples-section {
  --pattern-image: url("assets/patterns/pattern-komon-mask.webp");
  --pattern-color: var(--gold);
  --pattern-opacity: 0;
  background: #fff;
  padding-bottom: 88px;
}

.examples-section::before {
  top: 170px;
  left: -120px;
  right: auto;
  width: 350px;
  --pattern-rotate: -6deg;
}

.photo-manners-section {
  --pattern-image: url("assets/patterns/pattern-kiku-mask.webp");
  --pattern-color: var(--gold);
  --pattern-opacity: 0.06;
  background: #fff;
  padding-top: 104px;
  border-top: 14px solid #e3ebf2;
}

.manners-section {
  --pattern-image: url("assets/patterns/pattern-nami-mask.webp");
  --pattern-color: var(--sky);
  --pattern-opacity: 0.06;
  background: var(--section-gray);
  padding-top: 104px;
  border-top: 14px solid #dbe5ed;
}

.shops-section {
  --pattern-image: url("assets/patterns/pattern-shippou-mask.webp");
  --pattern-color: var(--sky);
  --pattern-opacity: 0.05;
  background: var(--section-blue);
  border-top: 14px solid #68c6ea;
}

.shops-section::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 34%;
  height: 14px;
  background: var(--gold);
  pointer-events: none;
}

.faq-section {
  --pattern-image: url("assets/patterns/pattern-tomoe-mask.webp");
  --pattern-color: var(--gold);
  --pattern-opacity: 0.12;
  background: #fff;
  border-top: 14px solid #e3ebf2;
}

.section-kicker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 22px;
  color: var(--indigo);
}

.section-kicker::before {
  content: "";
  width: 22px;
  height: 6px;
  background: linear-gradient(90deg, var(--gold) 0 45%, var(--sky) 45% 100%);
}

.shrine-section .section-kicker::before {
  background: linear-gradient(90deg, var(--gold) 0 45%, var(--sky) 45% 100%);
}

h1,
h2 {
  font-size: 48px;
  line-height: 1.18;
  font-weight: 850;
}

.section-heading {
  position: relative;
  margin-bottom: 68px;
}

.section-heading::after {
  content: "";
  display: block;
  width: 78px;
  height: 8px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--gold) 0 56%, var(--sky) 56% 100%);
}

.intro-hashtag {
  padding: 0 0 8px;
  border: 0;
  border-bottom: 3px solid var(--sky);
  border-radius: 0;
}

.step-list {
  gap: 12px;
  border: 0;
}

.step-list li {
  min-height: 310px;
  padding: 30px 26px 28px;
  overflow: hidden;
  border: 0;
  border-top: 8px solid var(--sky);
  border-radius: 4px;
  background: #fff;
}

.step-list li:nth-child(even) {
  margin-top: 22px;
  border-top-color: var(--gold);
}

.step-list li:last-child {
  border-right: 0;
}

.step-number {
  margin-bottom: 64px;
  color: var(--indigo);
  font-size: 72px;
  line-height: 0.85;
}

.step-list li:nth-child(even) .step-number {
  color: #b98426;
}

.note-strip {
  margin-top: 46px;
  padding: 20px 24px;
  border: 0;
  border-radius: 4px;
  background: var(--indigo);
  color: #fff;
}

.note-strip p,
.note-strip strong {
  color: #fff;
}

.note-strip strong {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.bracelet-figure {
  padding: 58px 36px 30px;
  border: 1px solid rgba(22, 70, 111, 0.12);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(7, 26, 44, 0.12);
  transform: none;
}

.bracelet-figure::before {
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: auto;
  height: auto;
  padding: 7px 11px;
  border: 0;
  border-radius: 3px;
  background: var(--indigo);
  color: #fff;
  text-align: center;
  box-shadow: none;
  transform: none;
}

.photo-grid {
  gap: 18px;
}

.photo-grid figure {
  position: relative;
  border: 0;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(7, 26, 44, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.photo-grid figure:nth-child(4n + 1) {
  transform: rotate(-1.4deg);
}

.photo-grid figure:nth-child(4n + 2) {
  transform: rotate(1deg);
}

.photo-grid figure:nth-child(4n + 3) {
  transform: rotate(-0.7deg);
}

.photo-grid figure:nth-child(4n) {
  transform: rotate(1.4deg);
}

.photo-grid figure:hover {
  z-index: 2;
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 0 24px 50px rgba(7, 26, 44, 0.22);
}

.photo-grid figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 7px 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.manners-list {
  border-top: 0;
}

.manners-list li {
  padding: 18px 16px 18px 42px;
  border-bottom: 1px solid rgba(22, 70, 111, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.manners-list li::before {
  left: 16px;
  top: 25px;
  width: 11px;
  height: 11px;
  border-radius: 0;
  background: var(--sky);
  transform: rotate(45deg);
}

.manners-list li:nth-child(even)::before {
  background: var(--gold);
}

.manners-content {
  display: grid;
  gap: 54px;
}

.manners-heading {
  max-width: none;
}

.manners-heading p:not(.section-kicker) {
  max-width: none;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2;
  font-weight: 700;
  text-wrap: pretty;
}

.manners-icon-grid {
  counter-reset: photo-manner;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.manners-icon-grid li {
  counter-increment: photo-manner;
  position: relative;
  display: grid;
  min-height: 378px;
  grid-template-rows: 228px auto;
  gap: 20px;
  padding: 26px 22px 26px;
  overflow: hidden;
  border: 1px solid rgba(22, 70, 111, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
}

.manners-icon-grid li::before {
  content: counter(photo-manner, decimal-leading-zero);
  position: absolute;
  top: 16px;
  left: 16px;
  color: rgba(22, 70, 111, 0.16);
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.manners-icon-grid li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: var(--sky);
}

.manners-icon-grid li:nth-child(even)::after {
  background: var(--gold);
}

.manners-icon-grid img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(220px, 100%);
  height: 220px;
  align-self: end;
  justify-self: center;
  object-fit: contain;
}

.manners-icon-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0;
}

.manners-icon-grid p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.72;
  font-weight: 700;
}

.association-links {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-left: 6px solid var(--gold);
  background: #fff;
  box-shadow: 0 14px 36px rgba(7, 26, 44, 0.08);
}

.association-links p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 800;
}

.association-links > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 4px;
  background: var(--indigo);
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
}

.external-link::after {
  content: "";
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  background: var(--gold);
  -webkit-mask: var(--external-link-icon) center / contain no-repeat;
  mask: var(--external-link-icon) center / contain no-repeat;
}

.summer-festival-section {
  padding-top: 88px;
  padding-bottom: 88px;
  background:
    linear-gradient(120deg, rgba(232, 191, 93, 0.18) 0%, rgba(232, 191, 93, 0.08) 42%, rgba(97, 197, 228, 0.16) 100%),
    var(--gold-soft);
  border-top: 14px solid var(--gold);
}

.summer-festival-card {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(260px, 360px);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.summer-festival-copy {
  min-width: 0;
}

.summer-festival-card h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

.summer-festival-info {
  display: grid;
  gap: 18px;
  max-width: 620px;
  margin-top: 34px;
  padding: 0;
  border-left: 0;
  background: transparent;
  box-shadow: none;
}

.summer-festival-info p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
  font-weight: 800;
}

.summer-festival-info .summer-festival-date {
  color: var(--indigo);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 900;
}

.summer-festival-flyer {
  justify-self: center;
  width: min(100%, 340px);
  margin: 0;
  padding: 12px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 54px rgba(7, 26, 44, 0.18);
}

.summer-festival-flyer img {
  display: block;
  width: 100%;
  aspect-ratio: 517 / 727;
  object-fit: contain;
  border: 1px solid rgba(7, 26, 44, 0.12);
  border-radius: 2px;
}

.summer-festival-link {
  width: fit-content;
  margin-top: 4px;
}

.street-grid {
  gap: 8px;
  border: 0;
}

.street-block {
  position: relative;
  min-height: 210px;
  padding: 24px;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: #fff;
}

.street-block::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 70px;
  height: 70px;
  border: 12px solid var(--sky);
  transform: rotate(45deg);
  opacity: 0.36;
}

.street-block h3 {
  margin-bottom: 30px;
  font-size: 27px;
}

.shop-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.shop-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--sky);
  transform: translateY(-50%) rotate(45deg);
}

.shop-list strong {
  color: var(--indigo);
}

.shop-pending {
  position: relative;
  z-index: 1;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(22, 70, 111, 0.16);
  color: #9a6b19;
  font-size: 13px;
  font-weight: 900;
}

.shop-empty {
  position: relative;
  z-index: 1;
}

.street-feature {
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 3px var(--gold);
}

.map-strip {
  margin-top: 28px;
  padding-top: 22px;
}

.button-outline {
  border-color: var(--indigo);
  background: var(--indigo);
  color: #fff;
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  color: var(--sky);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
  color: var(--gold);
}

.faq-list summary::marker {
  content: "";
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky) 0 33%, var(--gold) 33% 66%, #b9d9e6 66% 100%);
  box-shadow:
    inset 0 1px 0 rgba(22, 70, 111, 0.16),
    inset 0 -1px 0 rgba(6, 21, 35, 0.22);
}

@keyframes slideProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes festivalTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% / 6));
  }
}

@keyframes ctaBracelet {
  from {
    background-position: right 50%;
  }

  to {
    background-position: calc(100% - 620px) 50%;
  }
}

@keyframes patternFloat {
  from {
    margin-top: -8px;
  }

  to {
    margin-top: 8px;
  }
}

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

  .section::before {
    width: 280px;
    opacity: calc(var(--pattern-opacity, 0.08) * 0.75);
  }

  .step-list li:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .hero-pattern-kiku {
    top: 5%;
    right: -78px;
    width: 210px;
    opacity: 0.3;
  }

  .hero-pattern-tomoe {
    right: -38px;
    bottom: -50px;
    width: 170px;
  }

  .hero::before {
    right: -28%;
    width: 120vw;
    height: 38vh;
    opacity: 0.34;
  }

  .hero-logo {
    width: 100%;
  }

  .hero-copy {
    font-size: 34px;
  }

  .hero-date-main {
    justify-content: flex-start;
    min-height: auto;
    font-size: 24px;
  }

  .hero-date-place {
    width: fit-content;
  }

  .festival-ticker {
    height: 38px;
  }

  .festival-ticker-track {
    font-size: 11px;
  }

  .pattern-divider {
    height: 28px;
    background-size: auto 96px;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section::before {
    right: -110px;
    width: 240px;
  }

  .intro-section {
    background:
      linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14)),
      url("assets/patterns/generated/about-bg.webp?v=20260721-img-opt") center / cover no-repeat #fff;
  }

  .steps-section {
    background: var(--section-blue);
  }

  .examples-section {
    background: #fff;
  }

  .photo-manners-section {
    background: #fff;
  }

  .manners-section {
    background: var(--section-gray);
  }

  .shops-section {
    background: var(--section-blue);
  }

  .faq-section {
    background: #fff;
  }

  h1,
  h2 {
    font-size: 32px;
    line-height: 1.22;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .section-heading::after {
    height: 6px;
    margin-top: 22px;
  }

  .step-list {
    gap: 10px;
  }

  .step-list li {
    min-height: 0;
    padding: 24px 22px 26px;
  }

  .step-number {
    margin-bottom: 30px;
    font-size: 58px;
  }

  .note-strip {
    padding: 18px;
  }

  .bracelet-figure {
    padding: 56px 16px 24px;
    box-shadow: 0 14px 34px rgba(7, 26, 44, 0.12);
  }

  .bracelet-figure::before {
    top: 12px;
    right: 12px;
    width: auto;
    height: auto;
  }

  .photo-grid {
    gap: 12px;
  }

  .photo-grid figure:nth-child(n) {
    transform: none;
  }

  .street-grid {
    gap: 6px;
  }
}

/* Festival poster tiles */
.step-list {
  gap: 0;
}

.step-list li {
  min-height: 340px;
  padding: 176px 28px 32px;
  border: 0;
  border-radius: 0;
  background: var(--sky);
  color: var(--indigo-deep);
}

.step-list li:nth-child(2) {
  margin-top: 0;
  background: var(--gold);
}

.step-list li:nth-child(3) {
  background: var(--indigo);
  color: #fff;
}

.step-list li:nth-child(4) {
  margin-top: 0;
  background: #fff4ef;
  color: var(--indigo-deep);
}

.step-list li::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 86px;
  height: 86px;
  border: 14px solid currentColor;
  opacity: 0.14;
  transform: rotate(45deg);
  display: none;
}

.step-number {
  position: absolute;
  top: 32px;
  right: 24px;
  margin: 0;
  color: currentColor;
  font-size: 112px;
  line-height: 0.8;
  opacity: 0.24;
  z-index: 1;
}

.step-icon {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  display: block;
  width: 100px;
  height: 100px;
}

.step-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-list li:nth-child(even) .step-number,
.step-list li:nth-child(3) .step-number {
  color: currentColor;
}

.step-list h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  font-size: 24px;
}

.step-list p,
.step-list li:nth-child(3) p {
  position: relative;
  z-index: 2;
  color: currentColor;
  opacity: 0.8;
}

.street-grid {
  gap: 0;
}

.street-block {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0;
  background: var(--indigo);
  color: #fff;
}

.street-block:nth-child(2),
.street-block:nth-child(6) {
  background: var(--sky);
  color: var(--indigo-deep);
}

.street-block:nth-child(3),
.street-block:nth-child(7) {
  background: #fff;
  color: var(--indigo);
}

.street-block:nth-child(4),
.street-block:nth-child(8) {
  background: var(--gold);
  color: var(--indigo-deep);
}

.street-block h3 {
  margin-bottom: 34px;
  color: currentColor;
  font-size: 31px;
}

.street-block p {
  color: currentColor;
  opacity: 0.78;
}

.street-block::after {
  border-color: currentColor;
}

.street-feature {
  background: var(--gold-soft);
  color: var(--indigo-deep);
  box-shadow: inset 0 0 0 5px var(--gold);
}

@media (max-width: 560px) {
  .step-list {
    gap: 0;
  }

  .step-list li {
    min-height: 250px;
    padding: 132px 24px 28px;
  }

  .step-number {
    top: 24px;
    right: 20px;
    margin: 0;
    font-size: 88px;
  }

  .step-icon {
    top: 18px;
    left: 24px;
    width: 80px;
    height: 80px;
  }

  .street-grid {
    gap: 0;
  }

  .street-block {
    min-height: 180px;
  }
}

.shops-section .street-block {
  justify-content: flex-start;
}

.shops-section .shop-list li,
.shops-section .shop-list strong,
.shops-section .shop-pending,
.shops-section .shop-empty {
  color: currentColor;
}

.shops-section .shop-list li::before {
  background: currentColor;
  opacity: 0.72;
}

.shops-section .shop-pending {
  border-top-color: currentColor;
  opacity: 0.72;
}

/* Keep the shops heading, lead, notice, and directory on the same content width. */
.shops-section .section-heading {
  max-width: none;
  margin-bottom: 44px;
}

.shops-section .section-heading p:not(.section-kicker):not(.shop-hours-note) {
  width: 100%;
  max-width: none;
}

.shops-section .street-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border: 0;
}

.shops-section .street-block,
.shops-section .street-block:nth-child(n),
.shops-section .street-feature {
  display: block;
  min-height: 0;
  padding: 24px 24px 22px;
  border: 1px solid rgba(22, 70, 111, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: none;
}

.shops-section .street-block::after {
  content: none;
}

.shops-section .street-block h3 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(22, 70, 111, 0.12);
  color: var(--indigo);
  font-size: 22px;
  line-height: 1.2;
}

.shops-section .shop-list {
  gap: 8px;
}

.shops-section .shop-list li {
  padding-left: 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.shops-section .shop-list li::before {
  top: 0.66em;
  width: 7px;
  height: 7px;
  background: var(--sky);
  opacity: 1;
}

.shop-directory {
  display: grid;
  gap: 18px;
}

.shop-map-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  gap: 22px;
  align-items: stretch;
  margin: 34px 0 24px;
  padding: 20px;
  border: 1px solid rgba(22, 70, 111, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(2, 26, 44, 0.08);
}

.shop-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 12px 4px 12px 10px;
}

.shop-map-label {
  margin: 0 0 10px;
  color: var(--gold-deep);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.shop-map-copy h3 {
  margin: 0 0 12px;
  color: var(--indigo);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: 0;
}

.shop-map-copy p:not(.shop-map-label) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.86;
  font-weight: 700;
}

.shop-map-frame {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 0;
  width: 100%;
  min-height: clamp(220px, 30vw, 420px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 70, 111, 0.12);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  cursor: zoom-in;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  text-align: inherit;
  touch-action: manipulation;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.shop-map-frame:hover,
.shop-map-frame:focus-visible {
  border-color: rgba(22, 70, 111, 0.28);
  box-shadow: 0 12px 30px rgba(2, 26, 44, 0.12);
}

.shop-map-frame:active {
  transform: translateY(1px);
}

.shop-map-frame img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1366 / 768;
  object-fit: contain;
}

.shop-map-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 31, 54, 0.9);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(2, 26, 44, 0.18);
}

.map-lightbox[hidden],
.map-lightbox[aria-hidden="true"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.map-lightbox {
  position: fixed !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  width: 100%;
  min-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.map-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 21, 36, 0.72);
  cursor: zoom-out;
}

.map-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1120px, 96vw);
  max-height: min(820px, 92vh);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.map-lightbox-head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(22, 70, 111, 0.12);
}

.map-lightbox-head p {
  margin: 0;
  color: var(--indigo);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
}

.map-lightbox-close {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 9px 15px;
  border: 0;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.map-lightbox-scroll {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: clamp(12px, 2vw, 22px);
  background: #f7fbfd;
  -webkit-overflow-scrolling: touch;
}

.map-lightbox-scroll img {
  display: block;
  width: min(100%, 1366px);
  min-width: 760px;
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(22, 70, 111, 0.12);
  border-radius: 8px;
  background: #fff;
}

body.is-map-lightbox-open {
  overflow: hidden;
}

body.is-map-lightbox-open .join-bar {
  visibility: hidden;
}

.shop-street {
  --shop-street-pad: 28px;
  padding: var(--shop-street-pad);
  border: 1px solid rgba(22, 70, 111, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.shop-street-head {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin: calc(var(--shop-street-pad) * -1) calc(var(--shop-street-pad) * -1) 22px;
  padding: 18px var(--shop-street-pad);
  border-bottom: 0;
  background: var(--indigo);
}

.shop-street-head p {
  margin: 0;
  color: #fff;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 900;
}

.shop-street-head span {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.shop-card {
  display: grid;
  grid-template-columns: minmax(340px, 0.98fr) minmax(320px, 1.02fr);
  gap: 18px 28px;
  padding: 22px 0;
  border-top: 1px solid rgba(22, 70, 111, 0.1);
}

.shop-hours-note {
  width: 100%;
  max-width: none;
  margin-top: 18px;
  padding: 18px 22px;
  border-left: 5px solid var(--gold);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.86;
}

.shop-hours-note strong {
  color: var(--ink);
  font-weight: 900;
}

.shop-street .shop-card:first-of-type {
  border-top: 0;
}

.shop-card-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.shop-card-title.has-logo {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) max-content;
  grid-template-areas: "logo title floor";
  column-gap: 20px;
  row-gap: 8px;
  align-items: center;
  justify-content: stretch;
  min-width: 0;
}

.shop-card-title.has-logo:has(.shop-title-logo.is-wide) {
  grid-template-columns: 160px minmax(0, 1fr) max-content;
}

.shop-title-logo {
  flex: 0 0 auto;
  width: 128px;
  height: 128px;
  padding: 8px;
  border: 1px solid rgba(22, 70, 111, 0.12);
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 12px 26px rgba(2, 26, 44, 0.1);
}

.shop-title-logo.is-wide {
  width: 160px;
  background: #111;
}

.shop-card-title h3 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0;
}

.shop-card-title.has-logo h3 {
  grid-area: title;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

.shop-card-title.has-logo span {
  grid-area: floor;
  justify-self: end;
  align-self: center;
  margin-left: 0;
  white-space: nowrap;
}

.shop-card-title.has-logo .shop-title-logo {
  grid-area: logo;
}

.shop-card-title span {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 52px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.shop-card > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.86;
  font-weight: 700;
}

.shop-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.shop-meta div {
  padding: 15px 18px 16px;
  border-radius: 6px;
  background: rgba(231, 247, 252, 0.92);
}

.shop-meta dt {
  margin: 0 0 7px;
  color: var(--indigo);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.64;
  font-weight: 900;
}

.shop-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-links a,
.shop-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 52px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
}

.shop-links span {
  background: rgba(22, 70, 111, 0.08);
  color: var(--ink-soft);
}

.shop-links a[href^="http"]::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: var(--external-link-icon) center / contain no-repeat;
  mask: var(--external-link-icon) center / contain no-repeat;
}

.shops-section .map-strip {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(22, 70, 111, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
}

.shops-section .map-strip p {
  color: var(--ink-soft);
}

@media (max-width: 960px) {
  .shops-section .street-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-map-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .shop-map-copy {
    padding: 0;
  }

  .shop-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shops-section .street-grid {
    grid-template-columns: 1fr;
  }

  .shop-map-panel {
    margin: 26px 0 20px;
    padding: 14px;
  }

  .shop-map-frame {
    min-height: 210px;
  }

  .shop-map-copy h3 {
    font-size: 25px;
  }

  .shop-map-copy p:not(.shop-map-label) {
    font-size: 14px;
    line-height: 1.75;
  }

  .shop-map-zoom-hint {
    right: 10px;
    bottom: 10px;
    min-height: 30px;
    padding: 8px 11px;
    font-size: 11.5px;
  }

  .map-lightbox {
    padding: 10px;
  }

  .map-lightbox-panel {
    width: 100%;
    max-height: 90vh;
  }

  .map-lightbox-head {
    padding: 12px;
  }

  .map-lightbox-scroll {
    padding: 10px;
  }

  .map-lightbox-scroll img {
    min-width: 820px;
  }

  .shops-section .street-block {
    padding: 20px;
  }

  .shop-street {
    --shop-street-pad: 20px;
    padding: var(--shop-street-pad);
  }

  .shop-street-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .shop-card-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-card-title span {
    margin-left: 0;
  }

  .shop-card-title.has-logo {
    grid-template-columns: 108px minmax(0, 1fr) max-content;
    column-gap: 12px;
    row-gap: 8px;
    align-items: center;
    width: 100%;
  }

  .shop-card-title.has-logo:has(.shop-title-logo.is-wide) {
    grid-template-columns: 124px minmax(0, 1fr) max-content;
  }

  .shop-card-title.has-logo span {
    margin-left: 0;
  }

  .shop-title-logo {
    width: 108px;
    height: 108px;
    padding: 8px;
  }

  .shop-title-logo.is-wide {
    width: 124px;
  }

  .shop-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .intro-layout,
  .bracelet-layout,
  .novelty-layout,
  .shrine-layout,
  .manners-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .bracelet-figure {
    justify-self: stretch;
    width: 100%;
    max-width: 820px;
  }

  .novelty-copy,
  .novelty-lead,
  .novelty-reward,
  .novelty-meta {
    max-width: none;
  }

  .novelty-figure {
    width: 100%;
  }

  .manners-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .manners-icon-grid li {
    min-height: 360px;
    grid-template-rows: 216px auto;
  }

  .manners-icon-grid img {
    width: min(210px, 100%);
    height: 210px;
  }
}

@media (max-width: 700px) {
  .novelty-layout {
    gap: 34px;
  }

  .novelty-lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.9;
  }

  .novelty-reward {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .novelty-reward-item {
    min-height: 0;
    padding: 16px 16px 18px;
  }

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

  .novelty-meta {
    display: block;
    margin-top: 24px;
  }

  .novelty-meta span {
    display: flex;
    min-height: auto;
    margin-right: 0;
    padding: 14px 0;
    border-right: 0;
  }

  .novelty-meta span + span {
    border-top: 1px solid rgba(22, 70, 111, 0.14);
  }

  .novelty-figure {
    padding: 22px 18px 18px;
  }

  .novelty-image {
    min-height: 86px;
  }

  .novelty-image-charms {
    min-height: 118px;
    padding: 12px;
  }

  .novelty-figure figcaption {
    text-align: left;
  }

  .manners-content {
    gap: 34px;
  }

  .manners-heading p:not(.section-kicker) {
    font-size: 15px;
    line-height: 1.9;
  }

  .manners-icon-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .manners-icon-grid li {
    min-height: 206px;
    grid-template-columns: minmax(132px, 42%) minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 18px;
    padding: 22px 18px 22px;
  }

  .manners-icon-grid li::before {
    top: 12px;
    right: 16px;
    left: auto;
    font-size: 38px;
  }

  .manners-icon-grid img {
    width: min(100%, 190px);
    height: min(42vw, 190px);
    min-height: 148px;
    align-self: center;
    justify-self: center;
  }

  .manners-icon-grid h3 {
    font-size: 18px;
    line-height: 1.35;
  }

  .manners-icon-grid p {
    font-size: 13px;
    line-height: 1.68;
  }
}

@media (min-width: 961px) and (max-height: 860px) {
  .hero {
    padding-top: 82px;
    padding-bottom: 126px;
  }

  .hero-kicker {
    margin-bottom: 16px;
  }

  .hero-logo {
    width: 560px;
    margin-bottom: 18px;
  }

  .hero-copy {
    font-size: 50px;
    line-height: 1.08;
  }

  .hero-date {
    margin-top: 18px;
  }

  .hero-date-main {
    font-size: 28px;
  }

  .hero-actions {
    display: none;
  }

  .hero-controls {
    bottom: 98px;
  }
}

@media (max-width: 960px) {
  body {
    padding-bottom: 82px;
  }

  .hero {
    padding-bottom: 128px;
  }

  .hero-controls {
    bottom: 96px;
  }

  .join-bar-inner {
    width: calc(100% - 28px);
    min-height: 82px;
    gap: 14px;
  }

  .join-bar-title {
    font-size: 20px;
    white-space: normal;
  }

  .join-bar-action {
    min-height: 42px;
    padding: 0 16px;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 102px;
  }

  .hero {
    padding-bottom: 132px;
  }

  .hero-actions {
    display: none;
  }

  .hero-controls {
    bottom: 112px;
  }

  .join-bar-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    width: calc(100% - 24px);
    min-height: 102px;
    padding: 10px 0;
  }

  .join-bar-title {
    font-size: 15px;
    line-height: 1.28;
    white-space: normal;
  }

  .join-bar-action {
    min-height: 42px;
    padding: 0 12px;
    font-size: 12px;
  }
}

@media (max-width: 960px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
  }

  .summer-festival-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .summer-festival-info {
    width: 100%;
    min-width: 0;
  }

  .summer-festival-flyer {
    justify-self: start;
    width: min(100%, 300px);
  }
}

@media (max-width: 560px) {
  .association-links {
    padding: 20px 18px;
  }

  .association-links > div,
  .association-links a {
    width: 100%;
  }

  .summer-festival-info {
    margin-top: 24px;
  }

  .summer-festival-info p {
    font-size: 15px;
    line-height: 1.85;
  }

  .summer-festival-flyer {
    width: min(100%, 260px);
    padding: 9px;
  }

  .summer-festival-link {
    width: fit-content;
  }
}

/* Disable the earlier mask-based pattern accents; generated PNG assets are placed deliberately instead. */
.section::before,
.hero-pattern {
  content: none;
  display: none;
}

/* Design cleanup pass: keep every existing block, but normalize rhythm, wrapping, and visual boundaries. */
:root {
  --text-measure: 940px;
  --section-pad-x: clamp(20px, 5vw, 64px);
}

.copy-unit {
  display: inline;
}

.section {
  padding-right: var(--section-pad-x);
  padding-left: var(--section-pad-x);
}

.section + .section {
  box-shadow: none;
}

.section-heading,
.manners-heading {
  width: 100%;
  max-width: var(--text-measure);
}

.section-heading p:not(.section-kicker),
.manners-heading p:not(.section-kicker) {
  max-width: var(--text-measure);
  line-height: 1.9;
  text-wrap: pretty;
}

.steps-section {
  background: var(--section-blue);
  border-top: 12px solid var(--section-blue-strong);
}

.examples-section {
  padding-bottom: clamp(78px, 8vw, 108px);
  background: #fff;
}

.photo-manners-section {
  background: var(--section-gray);
  border-top: 14px solid #dbe5ed;
}

.manners-section {
  background: #fff;
  border-top: 14px solid #e7edf3;
}

.shops-section {
  background: var(--section-blue);
  border-top: 14px solid var(--sky);
}

.faq-section {
  border-top: 14px solid #e7edf3;
}

.note-strip,
.shop-hours-note,
.shops-section .map-strip {
  width: 100%;
}

.step-list {
  width: 100%;
}

.step-list h3,
.step-list p,
.shop-card-title h3,
.shop-card > p,
.shop-meta dd,
.manners-icon-grid h3,
.manners-icon-grid p {
  overflow-wrap: anywhere;
}

.shop-card-title.has-logo h3 {
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

.shop-card > p {
  max-width: 100%;
}

.shop-meta div {
  min-width: 0;
}

.shop-meta div:nth-child(3):last-child {
  grid-column: 1 / -1;
}

.join-bar {
  min-height: 0;
}

@media (max-width: 960px) {
  body {
    padding-bottom: 76px;
  }

  .join-bar-inner {
    min-height: 76px;
  }

  .join-bar-title {
    font-size: clamp(15px, 3.2vw, 19px);
    line-height: 1.28;
  }
}

@media (max-width: 700px) {
  .section-heading,
  .manners-heading {
    margin-bottom: 36px;
  }

  .section-heading p:not(.section-kicker),
  .manners-heading p:not(.section-kicker) {
    line-height: 1.78;
  }

  .photo-grid {
    width: 100%;
    max-width: none;
  }

  .manners-icon-grid li {
    min-height: 186px;
    grid-template-columns: minmax(112px, 38%) minmax(0, 1fr);
    gap: 14px;
    padding: 20px 16px;
  }

  .manners-icon-grid img {
    width: min(100%, 150px);
    height: min(34vw, 150px);
    min-height: 118px;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 62px;
  }

  [id] {
    scroll-margin-top: 86px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .section-kicker {
    margin-bottom: 16px;
  }

  .section-heading::after {
    width: 62px;
    margin-top: 20px;
  }

  .join-bar-inner {
    width: calc(100% - 20px);
    min-height: 58px;
    gap: 8px;
    padding: 5px 0;
  }

  .join-bar::before {
    background-size: auto 42px;
    opacity: 0.12;
  }

  .join-bar-title {
    font-size: 11.8px;
    line-height: 1.25;
  }

  .join-bar-action {
    min-height: 32px;
    padding: 0 9px;
    border-radius: 6px;
    font-size: 10.8px;
  }

  .step-list li {
    min-height: 0;
    padding: 116px 24px 28px;
  }

  .step-number {
    top: 22px;
    right: 20px;
    font-size: 76px;
  }

  .step-icon {
    top: 22px;
    left: 24px;
    width: 72px;
    height: 72px;
  }

  .step-list h3 {
    font-size: 23px;
    line-height: 1.32;
  }

  .photo-grid {
    gap: 12px;
  }

  .caption-note {
    font-size: 11.5px;
    line-height: 1.7;
  }

  .shop-street {
    --shop-street-pad: 18px;
    padding: var(--shop-street-pad);
  }

  .shop-card {
    gap: 14px;
    padding: 20px 0;
  }

  .shop-card-title h3 {
    font-size: 20px;
  }

  .shop-card-title.has-logo h3 {
    font-size: 18px;
    line-height: 1.34;
  }

  .shop-card > p,
  .shop-meta dd {
    font-size: 14.5px;
    line-height: 1.7;
  }

  .shop-meta div {
    padding: 14px 15px;
  }

  .footer-inner {
    width: calc(100% - 36px);
  }
}

/* Join steps: solid color blocks keep the campaign flow easy to scan. */
.steps-section .step-list {
  gap: 0;
  border: 0;
}

#howto {
  scroll-margin-top: 132px;
}

.steps-section .step-list li {
  min-height: 340px;
  padding: 176px 28px 32px;
  border: 0;
  border-radius: 0;
  background: var(--sky);
  color: var(--indigo-deep);
  box-shadow: none;
}

.steps-section .step-list li:nth-child(2) {
  margin-top: 0;
  background: var(--gold);
}

.steps-section .step-list li:nth-child(4) {
  margin-top: 0;
  background: #ee7f64;
  color: var(--indigo-deep);
}

.steps-section .step-list li:nth-child(3) {
  background: var(--indigo);
  color: #fff;
}

.steps-section .step-number {
  top: 32px;
  right: 24px;
  color: currentColor;
  font-size: 112px;
  line-height: 0.8;
  opacity: 0.24;
}

.steps-section .step-icon {
  top: 28px;
  left: 28px;
  width: 100px;
  height: 100px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.steps-section .step-list h3 {
  color: currentColor;
  font-size: 24px;
  line-height: 1.36;
}

.steps-section .step-list p,
.steps-section .step-list li:nth-child(3) p {
  color: currentColor;
  opacity: 0.82;
}

.steps-section .note-strip {
  margin-bottom: 92px;
}

@media (max-width: 960px) {
  .steps-section .step-list {
    gap: 0;
  }

  .steps-section .step-list li {
    min-height: 250px;
    padding: 132px 24px 28px;
  }

  .steps-section .step-number {
    top: 24px;
    right: 20px;
    font-size: 88px;
  }

  .steps-section .step-icon {
    top: 18px;
    left: 24px;
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 560px) {
  .steps-section .step-list {
    gap: 0;
  }

  .steps-section .step-list li {
    min-height: 0;
    padding: 116px 24px 28px;
  }

  .steps-section .step-number {
    top: 22px;
    right: 20px;
    font-size: 76px;
  }

  .steps-section .step-icon {
    top: 22px;
    left: 24px;
    width: 72px;
    height: 72px;
    padding: 0;
  }

  .steps-section .step-list h3 {
    font-size: 23px;
    line-height: 1.32;
  }

  .steps-section .note-strip {
    margin-bottom: 104px;
  }
}

/* Staging: official-photo hero rebuild. Fullscreen crossfade with a vertical copy and lower action rail. */
.hero {
  position: relative;
  display: block;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  background: var(--indigo-deep);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  width: auto;
  height: auto;
  background:
    linear-gradient(180deg, rgba(6, 21, 35, 0.54) 0%, rgba(6, 21, 35, 0.1) 30%, rgba(6, 21, 35, 0) 58%),
    linear-gradient(90deg, rgba(6, 21, 35, 0.48) 0%, rgba(6, 21, 35, 0.12) 28%, rgba(6, 21, 35, 0) 62%);
  opacity: 1;
  mix-blend-mode: normal;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: min(40vh, 400px);
  background:
    linear-gradient(180deg, rgba(6, 21, 35, 0) 0%, rgba(6, 21, 35, 0.22) 30%, rgba(6, 21, 35, 0.72) 78%, rgba(6, 21, 35, 0.88) 100%);
  pointer-events: none;
}

.hero-season {
  display: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.018);
  filter: saturate(0.94) brightness(0.92);
  transition: opacity 900ms ease, transform 5200ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  pointer-events: none;
}

.hero-kicker {
  display: none;
}

.hero-logo {
  position: absolute;
  left: clamp(48px, 3.4vw, 72px);
  bottom: clamp(88px, 8vh, 112px);
  display: block;
  width: clamp(250px, 20vw, 330px);
  margin: 0;
  filter: drop-shadow(0 20px 42px rgba(0, 0, 0, 0.46));
  pointer-events: auto;
}

.hero-copy {
  position: absolute;
  top: clamp(104px, 11vh, 136px);
  right: clamp(48px, 3.4vw, 72px);
  width: 2.55em;
  max-width: none;
  max-height: none;
  height: min(68vh, 690px);
  margin: 0;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(34px, 2.75vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.58);
}

.hero-copy span {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}

.hero-copy span + span {
  right: 1.18em;
}

.hero-date {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.58);
  pointer-events: auto;
}

.hero-meta {
  position: absolute;
  left: clamp(360px, 28vw, 520px);
  right: clamp(48px, 3.4vw, 72px);
  bottom: clamp(94px, 8.5vh, 118px);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  min-width: 0;
  width: auto;
  max-width: none;
  padding-bottom: 5px;
  pointer-events: auto;
}

.hero-date-main {
  position: relative;
  display: inline-block;
  min-height: 0;
  padding: 0 0 9px;
  padding-bottom: 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(24px, 1.85vw, 30px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.hero-date-main::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
}

.hero-date-place {
  min-height: 0;
  padding: 0 0 0 12px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  align-self: center;
}

.hero-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 0;
  margin-top: 20px;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: auto;
}

.hero-actions .button {
  flex: 0 0 auto;
  min-width: 132px;
  min-height: 46px;
  padding: 0 22px;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.hero-controls {
  display: none;
}

.hero-dot {
  width: 34px;
}

@media (max-width: 960px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(6, 21, 35, 0.44) 0%, rgba(6, 21, 35, 0.08) 34%, rgba(6, 21, 35, 0) 56%),
      linear-gradient(90deg, rgba(6, 21, 35, 0.3) 0%, rgba(6, 21, 35, 0) 54%);
  }

  .hero::after {
    height: 38vh;
    background: linear-gradient(180deg, rgba(6, 21, 35, 0) 0%, rgba(6, 21, 35, 0.28) 30%, rgba(6, 21, 35, 0.9) 82%, rgba(6, 21, 35, 0.98) 100%);
  }

  .hero-slide {
    background-position: center top;
  }

  .hero-content {
    inset: auto 18px 76px;
    display: block;
    width: auto;
    max-width: none;
  }

  .hero-logo {
    display: none;
  }

  .hero-kicker {
    display: none;
  }

  .hero-copy {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: none;
    font-size: clamp(28px, 7.2vw, 34px);
    line-height: 1.07;
    text-align: left;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    justify-self: stretch;
  }

  .hero-copy span {
    position: static;
    writing-mode: horizontal-tb;
    white-space: nowrap;
  }

  .hero-meta {
    display: block;
    margin-top: 14px;
    padding-bottom: 0;
  }

  .hero-date {
    flex-direction: row;
    align-items: center;
    gap: 9px 11px;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-left: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .hero-date-main {
    font-size: clamp(19px, 5.4vw, 23px);
  }

  .hero-date-main::after {
    height: 3px;
  }

  .hero-actions {
    display: none;
  }

  .hero-controls {
    display: none;
  }

  .hero-dot {
    width: 28px;
  }
}

@media (max-width: 520px) {
  .hero-slide {
    background-position: center top;
  }

  .hero-content {
    inset: auto 14px 70px;
  }

  .hero-copy {
    font-size: clamp(24px, 6.45vw, 27px);
  }

  .hero-date-main {
    font-size: clamp(18px, 5vw, 20px);
  }

  .hero-date-place {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero-controls {
    gap: 6px;
  }

  .hero-dot {
    width: 22px;
  }
}

@media (min-width: 961px) {
  .hero-content {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    pointer-events: none;
  }

  .hero-copy {
    position: absolute !important;
    top: clamp(104px, 11vh, 136px) !important;
    right: clamp(48px, 3.4vw, 72px) !important;
    left: auto !important;
    width: 2.55em !important;
    height: min(68vh, 690px) !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    writing-mode: horizontal-tb !important;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
    font-size: clamp(34px, 2.75vw, 48px) !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
  }

  .hero-copy span {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    display: block !important;
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    white-space: nowrap !important;
  }

  .hero-copy span + span {
    right: 1.18em !important;
  }

  .hero-logo {
    position: absolute !important;
    left: clamp(48px, 3.4vw, 72px) !important;
    bottom: clamp(88px, 8vh, 112px) !important;
  }

  .hero-meta {
    position: absolute !important;
    left: clamp(360px, 28vw, 520px) !important;
    right: clamp(48px, 3.4vw, 72px) !important;
    bottom: clamp(94px, 8.5vh, 118px) !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: clamp(16px, 2vw, 28px) !important;
    width: auto !important;
    max-width: none !important;
    pointer-events: auto;
  }
}

.hero-content {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  display: block !important;
  pointer-events: none;
}

.hero-copy {
  position: absolute !important;
  top: clamp(104px, 11vh, 136px) !important;
  right: clamp(48px, 3.4vw, 72px) !important;
  left: auto !important;
  width: 2.55em !important;
  height: min(68vh, 690px) !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  writing-mode: horizontal-tb !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
  font-size: clamp(34px, 2.75vw, 48px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
}

.hero-copy span {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  display: block !important;
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
  white-space: nowrap !important;
}

.hero-copy span + span {
  right: 1.18em !important;
}

.hero-logo {
  position: absolute !important;
  left: clamp(48px, 3.4vw, 72px) !important;
  bottom: clamp(88px, 8vh, 112px) !important;
}

.hero-meta {
  position: absolute !important;
  left: clamp(360px, 28vw, 520px) !important;
  right: clamp(48px, 3.4vw, 72px) !important;
  bottom: clamp(94px, 8.5vh, 118px) !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: clamp(16px, 2vw, 28px) !important;
  width: auto !important;
  max-width: none !important;
  pointer-events: auto;
}

@media (max-width: 960px) {
  .hero-content {
    inset: auto 18px 76px !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
  }

  .hero-logo {
    position: static !important;
    display: block !important;
    width: clamp(204px, 61vw, 260px) !important;
    margin: 0 0 15px !important;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.48)) !important;
    pointer-events: auto;
  }

  .hero-copy {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    font-family: inherit !important;
    font-size: clamp(25px, 6.7vw, 31px) !important;
    font-weight: 900 !important;
    line-height: 1.07 !important;
    text-align: left !important;
    writing-mode: horizontal-tb !important;
  }

  .hero-copy span {
    position: static !important;
    writing-mode: horizontal-tb !important;
    white-space: nowrap !important;
  }

  .hero-meta {
    position: static !important;
    display: block !important;
    margin-top: 14px !important;
    padding-bottom: 0 !important;
  }

  .hero-actions {
    display: none !important;
  }

  .hero-date-place {
    display: none !important;
  }
}

/* Post-campaign state: keep the archive useful while making the end notice unmistakable. */
.hero-date-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(246, 190, 78, 0.78);
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.hero-ended-message {
  position: absolute;
  z-index: 3;
  left: clamp(360px, 28vw, 520px);
  right: clamp(48px, 3.4vw, 72px);
  bottom: clamp(148px, 14vh, 178px);
  margin: 0;
  color: #fff;
  text-shadow: 0 14px 30px rgba(0, 0, 0, 0.58);
  pointer-events: auto;
}

.hero-ended-message strong {
  display: block;
  color: #fff;
  font-size: clamp(22px, 1.9vw, 32px);
  line-height: 1.25;
  font-weight: 900;
}

.hero-ended-message > span {
  display: block;
  max-width: 780px;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.6;
  font-weight: 800;
}

.hero-ended-desktop {
  display: block;
}

.hero-ended-mobile {
  display: none !important;
}

.campaign-ended {
  padding: 0 64px;
  background: var(--indigo-deep);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.campaign-ended-inner {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 24px 56px;
  align-items: center;
  padding: 34px 0;
}

.campaign-ended-label {
  position: relative;
  margin: 0;
  padding-left: 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.campaign-ended-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 3px;
  background: var(--gold);
  transform: translateY(-50%);
}

.campaign-ended h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.16;
  font-weight: 900;
}

.campaign-ended p:not(.campaign-ended-label) {
  max-width: 850px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
  font-weight: 700;
}

@media (max-width: 960px) {
  .campaign-ended {
    padding: 0 24px;
  }

  .campaign-ended-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .hero-date-status {
    min-height: 28px;
    padding: 0 9px;
    font-size: 12px;
  }

  .hero-ended-message {
    position: static !important;
    margin: 10px 0 0;
  }

  .hero-ended-message strong {
    font-size: clamp(14px, 3.9vw, 16px);
    line-height: 1.3;
  }

  .hero-ended-message > span {
    display: none;
  }

  .hero-ended-mobile {
    display: block !important;
  }

  .hero-ended-desktop {
    display: none !important;
  }

  .hero-meta {
    margin-top: 8px !important;
  }
}

@media (max-width: 520px) {
  .campaign-ended {
    padding: 0 18px;
  }

  .campaign-ended h2 {
    font-size: 25px;
  }

  .campaign-ended p:not(.campaign-ended-label) {
    font-size: 14px;
    line-height: 1.72;
  }
}

@media (max-width: 960px) {
  .hero-date {
    flex-wrap: wrap !important;
  }

  .hero-date-main {
    width: auto !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 66px;
  }

  .join-bar-inner {
    grid-template-columns: 1fr !important;
    min-height: 66px !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .join-bar-copy {
    width: 100%;
  }

  .join-bar-title {
    font-size: clamp(13px, 3.75vw, 15px) !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .join-bar-desktop {
    display: none;
  }

  .join-bar-mobile {
    display: inline;
  }

  .join-bar-action {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .hero-date {
    gap: 7px 9px !important;
  }

  .hero-date-main {
    font-size: clamp(17px, 4.75vw, 19px) !important;
  }

  .hero-date-status {
    min-height: 25px;
    padding: 0 8px;
    font-size: 11px;
  }
}
