@font-face {
  font-family: "Noto Sans JP";
  src: url("assets/noto-sans-jp-openchat.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fafaf7;
  --mist: #e9eef3;
  --blue: #a7cde8;
  --yellow: #f6d66d;
  --ink: #30363d;
  --deep: #233645;
  --muted: #4f606a;
  --line: #06c755;
  --rule: #dce4e7;
  --shell: 1224px;
  --gutter: clamp(18px, 4.2vw, 64px);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-weight: 500;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.75; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .join, .membership-link, .price { font-weight: 700; }
strong { font-weight: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid #256893; outline-offset: 4px; }
.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.phrase { display: inline-block; max-width: 100%; }
.skip { position: fixed; z-index: 5; top: .5rem; left: .5rem; padding: .6rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }

.brand { display: inline-flex; align-items: center; min-height: 44px; padding: 2px 0; }
.brand img, .hero-label img { filter: brightness(0) saturate(100%) invert(17%) sepia(18%) saturate(1401%) hue-rotate(158deg) brightness(96%) contrast(90%); }

.hero {
  position: relative;
  isolation: isolate;
  background: #badcf4;
}
.hero-visual, .hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-visual { z-index: -2; animation: arrive .55s ease-out both; }
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 70%;
}
.hero::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #f4fafff5 0%, #f2f9ffdf 27%, #eef7ff8c 43%, #edf7ff00 66%);
}
.hero-content { padding-block: clamp(28px, 3.2vw, 52px) clamp(18px, 2vw, 28px); }
.hero-copy { max-width: 530px; }
.hero-label { display: flex; align-items: center; gap: .55rem; margin-bottom: 18px; font-size: .875rem; letter-spacing: .03em; }
.hero-label img { width: clamp(46px, 5.2vw, 68px); flex: none; }
.hero h1 { font-size: clamp(2.25rem, 4.6vw, 4.25rem); line-height: 1.22; }
.hero h1 > span { display: table; max-width: 100%; }
.hero-underline { background: linear-gradient(transparent 74%, var(--yellow) 74% 93%, transparent 93%); padding-inline-end: .12em; }
.hero-lead { margin-top: clamp(18px, 2vw, 29px); font-size: clamp(.95rem, 1.32vw, 1.12rem); }
.hero-action { margin-top: 22px; }
.hero .invite-status { color: #344956; }
.join {
  display: inline-flex; align-items: center; justify-content: center; gap: .66rem;
  min-height: 57px; max-width: 100%; padding: .72rem 1.5rem;
  border: 1px solid #087637; border-radius: 999px;
  background: var(--line); color: #103422;
  box-shadow: 0 4px 0 #075d30;
  font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: background .18s, box-shadow .18s, transform .18s;
}
@media (hover: hover) { .join:hover { background: #1dd361; transform: translateY(-2px); box-shadow: 0 6px 0 #075d30; } }
.join:active { transform: translateY(2px) scale(.985); box-shadow: 0 2px 0 #075d30; }
.chat-mark {
  position: relative; display: grid; place-items: center;
  width: 27px; height: 21px; flex: 0 0 auto;
  border-radius: 52%; background: #103422; color: #fff;
  font-size: 8px; line-height: 1;
}
.chat-mark::after { content: ""; position: absolute; bottom: -2px; left: 9px; border: 4px solid transparent; border-left-color: #103422; transform: rotate(15deg); }
.invite-status { margin-top: .7rem; color: var(--muted); font-size: .8125rem; }

.concept { background: #eaf4fa; }
.concept-inner { padding-block: clamp(55px, 6.2vw, 88px); position: relative; isolation: isolate; text-align: center; }
.hero h1, .concept h2, .section-title, .closing h2, .ticket h2, .member-intro h2 {
  color: var(--deep); letter-spacing: -.05em;
}
.concept h2, .section-title, .closing h2, .ticket h2, .member-intro h2 { line-height: 1.43; }
.concept h2 { font-size: clamp(1.48rem, 3.1vw, 2.8rem); }
.concept h2 > span { display: block; }
.concept p { margin-top: .9rem; }
.day-underline { background: linear-gradient(transparent 71%, #f5db84 71% 94%, transparent 94%); }
.route { width: 100%; height: 64px; position: absolute; bottom: 0; left: 0; z-index: -1; pointer-events: none; opacity: .6; }
.route-bed, .route-live { fill: none; }
.route-bed { stroke: #bdd7e5; stroke-width: 11px; }
.route-live { stroke: #699ab3; stroke-width: 2.25px; stroke-dasharray: 1 1; }
.motion .concept:not(.in-view) .route-live { stroke-dashoffset: 1; }
.motion .route-live { transition: stroke-dashoffset 1.1s ease-out; }

.benefits { padding-block: clamp(56px, 6.5vw, 92px) clamp(38px, 5vw, 70px); }
.section-title { font-size: clamp(1.7rem, 3.05vw, 2.55rem); margin-bottom: 22px; }
.districts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.district { min-width: 0; padding: 0 clamp(14px, 2.1vw, 31px) 24px; }
.district:first-child { padding-left: 0; }
.district:last-child { padding-right: 0; }
.district + .district { border-left: 1px solid var(--rule); }
.district-art { height: clamp(98px, 12vw, 168px); background-position: center bottom; background-size: auto 100%; background-repeat: no-repeat; margin-bottom: 16px; }
.art-book { background-color: #eaf3f8; background-image: url("assets/district-book.svg"); }
.art-gift { background-color: #faf1d7; background-image: url("assets/district-gift.svg"); }
.art-talk { background-color: #e9f2ea; background-image: url("assets/district-talk.svg"); }
.district h3, .plan h3 { line-height: 1.5; }
.district h3 { color: var(--deep); font-size: clamp(1.12rem, 1.85vw, 1.48rem); }
.district p { margin-top: .55rem; color: var(--muted); line-height: 1.7; }

.founding { padding-bottom: clamp(57px, 7vw, 96px); }
.ticket {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(146px, 23%);
  border: 1px solid #d9bc64; border-radius: 15px;
  background: #fbebaa; color: var(--deep); overflow: hidden;
}
.ticket-copy { padding: clamp(23px, 4.4vw, 59px); }
.ticket h2 { font-size: clamp(1.62rem, 3.25vw, 2.9rem); }
.ticket-intro { white-space: nowrap; }
.ticket strong { font-size: 1.24em; color: #233645; padding-inline: .07em; }
.ticket .join { margin-top: 20px; }
.ticket-stub {
  position: relative; border-left: 2px dashed #ac9142; display: grid;
  justify-items: center; align-content: center; gap: 7px;
  background: #f6d66d; color: #514525;
  font-size: .74rem; line-height: 1; letter-spacing: .12em; text-transform: uppercase;
}
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; left: -11px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--paper); border: 1px solid #d9bc64;
}
.ticket-stub::before { top: -10px; }
.ticket-stub::after { bottom: -10px; }
.ticket-sun { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }
.barcode { height: 14px; width: 51%; max-width: 104px; margin-top: 7px; background: repeating-linear-gradient(90deg,#514525 0 1px,transparent 1px 3px,#514525 3px 5px,transparent 5px 8px,#514525 8px 9px,transparent 9px 13px); opacity: .7; }

.membership { position: relative; isolation: isolate; overflow: hidden; color: #f4f6f8; background: #1e2630; border-top: 5px solid #a7cde8; }
.night-media { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#1c242cec,#1c242c9c), linear-gradient(0deg,#1e2630 0%,transparent 100%); opacity: .95; }
.membership.in-view .night-media { background-image: linear-gradient(90deg,#1c242cec,#1c242c9c), linear-gradient(0deg,#1e2630 0%,transparent 100%), url("assets/night-skyline.webp"); background-size: cover; background-position: center 55%; }
.membership-inner { padding-block: clamp(44px, 6vw, 86px); }
.member-intro { margin-bottom: 25px; }
.member-intro h2 { font-size: clamp(2rem, 4vw, 3.35rem); color: white; }
.member-intro p { color: #e1e7eb; margin-top: .5rem; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plan { display: flex; flex-direction: column; align-items: flex-start; border-radius: 10px; border: 1px solid #7a8996; background: #202831ea; padding: clamp(19px, 3vw, 34px); }
.plan h3 { font-size: 1.21rem; }
.price { color: #ecf1f5; }
.price strong { font-size: clamp(2.22rem, 3.6vw, 3.1rem); line-height: 1.24; letter-spacing: -.045em; }
.plan ul { margin-block: 12px; padding-left: 1.1em; color: #e1e7eb; }
.plan-note { font-size: .875rem; color: #e1e7eb; padding-bottom: 10px; }
.membership-actions { display: flex; justify-content: center; margin-top: 24px; }
.membership-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .55rem 1.45rem; border: 1px solid #aebbc5; border-radius: 6px; color: white; font-size: .875rem; text-decoration: none; transition: background .18s; }
.membership-link:hover { background: #414f60; }
.membership-link:focus-visible { outline-color: #a7cde8; }

.closing { min-height: 355px; display: grid; align-items: center; background: #dcecf5; overflow: hidden; }
.closing.in-view {
  background-image: linear-gradient(90deg,#f2f8fc 5%,#f2f8fcf5 33%,#e2eff6a6 53%,#d9edf62a 78%), url("assets/daylight-city.webp");
  background-position: center, center 57%; background-size: cover;
}
.closing-inner { padding-block: clamp(56px, 6vw, 91px); }
.closing h2 { font-size: clamp(1.9rem, 3.4vw, 3.25rem); }
.closing h2 span { display: block; }
.closing p { margin: 13px 0 22px; }
.footer-inner { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 10px; }
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner .brand img { width: 68px; }
.footer-inner small { font-size: .78rem; color: var(--muted); }
dialog { width: min(24rem, calc(100% - 2rem)); color: var(--ink); border: 1px solid #83939c; border-radius: 14px; padding: 1.55rem; background: var(--paper); box-shadow: 0 16px 60px #10263542; }
dialog::backdrop { background: #15283387; }
dialog h2 { font-size: 1.2rem; }
dialog p { margin: .55rem 0 1rem; }
.dialog-close { min-height: 44px; padding: .4rem .9rem; border: 1px solid #748693; border-radius: 6px; background: white; color: var(--deep); cursor: pointer; }

.motion .reveal { transition: opacity .42s ease, transform .48s cubic-bezier(.2,.75,.27,1.08); }
.motion [data-section]:not(.in-view) .reveal { opacity: .25; transform: translateY(10px); }
.motion [data-section]:not(.in-view) .ticket.reveal { transform: translateY(12px) rotate(-.7deg); }
.motion [data-section]:focus-within .reveal { opacity: 1; transform: none; }
@keyframes arrive { from { opacity: .7; } to { opacity: 1; } }

@media (max-width: 720px) {
  .join { width: min(100%, 360px); min-height: 54px; }
  .invite-status { margin-top: .48rem; }
  .concept-inner { padding-block: 50px 58px; }
  .concept p { font-size: .95rem; }
  .route { height: 40px; }
  .benefits { padding-block: 46px 34px; }
  .section-title { margin-bottom: 14px; }
  .districts { grid-template-columns: 1fr; }
  .district, .district:first-child, .district:last-child {
    display: grid; align-content: center; grid-template-columns: minmax(98px, 30%) minmax(0, 1fr);
    column-gap: 12px; padding: 12px 0; min-height: 98px;
  }
  .district + .district { border-left: 0; border-top: 1px solid var(--rule); }
  .district-art { grid-row: 1 / span 2; height: 100%; min-height: 73px; margin: 0; background-size: contain; border-radius: 5px; }
  .district h3 { align-self: center; }
  .district p { margin: .26rem 0 0; font-size: .955rem; line-height: 1.65; }
  .ticket { grid-template-columns: minmax(0, 1fr) 47px; border-radius: 11px; }
  .ticket-copy { container-type: inline-size; padding: 20px 13px 24px 15px; }
  .ticket h2 { font-size: clamp(1.38rem, 5vw, 2.05rem); }
  .ticket .phrase { display: block; }
  .ticket-intro { font-size: min(1em, 7.1cqi); }
  .ticket .join { padding-inline: .6rem; font-size: .875rem; }
  .ticket-stub > span:nth-child(2) { display: none; }
  .ticket-sun { font-size: 1.8rem; }
  .barcode { width: 52%; }
  .plans { grid-template-columns: 1fr; }
  .closing { min-height: 0; }
  .closing.in-view { background-image: linear-gradient(180deg,#f1f7fbe8 0%,#f1f7fbf2 50%,#e2eff6b8 80%), url("assets/daylight-city-mobile.webp"); background-position: center, center 62%; }
  .closing-inner { padding-block: 46px 64px; }
  .closing h2 { font-size: clamp(1.64rem, 6.5vw, 2.55rem); }
  .footer-inner { min-height: 68px; }
}
@media (max-width: 600px) {
  .hero-visual img { object-position: right 80%; }
  .hero::before {
    background: linear-gradient(90deg, #edf8ffe0, #edf8ffb0 48%, #eaf8ff3d 76%, transparent 88%);
    mask-image: linear-gradient(#000 65%, transparent);
  }
  .hero-content { padding-block: clamp(20px, 6.8vw, 44px) 20px; }
  .hero-label { margin-bottom: 9px; font-size: .8125rem; }
  .hero h1 { font-size: clamp(2.15rem, 8vw + .25rem, 3.25rem); line-height: 1.18; }
  .hero h1 > span { word-break: keep-all; }
  .hero-lead { margin-top: 13px; font-size: clamp(.875rem, 3.75vw, 1rem); line-height: 1.65; }
  .hero-action { margin-top: 17px; }
  .hero .join { width: min(100%, 75vw, 280px); padding-inline: .65rem; }
  .hero .invite-status {
    width: fit-content;
    padding: .08rem .4rem;
    border-radius: 4px;
    background: #f7fbfef0;
  }
}
@media (max-width: 430px) {
  .concept h2 { font-size: clamp(1.31rem, 5.9vw, 1.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion [data-section]:not(.in-view) .reveal { opacity: 1; transform: none; }
}
