/*
 * Japanese wraps between almost any two characters by default, so a line
 * could end mid-word — 「安全な実施が難／しい」, 「時点で運／営へ」. auto-phrase
 * confines the break to phrase boundaries instead, which is what a reader
 * expects and what no amount of editing could achieve by hand at every
 * width. Browsers without it fall back to the old behaviour rather than
 * breaking, and `overflow-wrap: anywhere` still guards against a long
 * unbroken string forcing the page sideways (the W-4.1 fix).
 */
.proposal-page-c{margin:0;word-break:auto-phrase;color:var(--color-ink);background:var(--color-base)}
.c-gallery,.c-rail{display:none}
.shell-c{overflow-x:clip}
.c-center{position:relative;min-width:0}
.c-center main>section{width:100%;margin-inline:auto}
.c-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.c-prototype-note{position:absolute;z-index:10;inset-block-start:0;inset-inline:0;display:flex;flex-wrap:wrap;gap:.25rem 1rem;justify-content:space-between;padding:.5rem var(--space-page);background:color-mix(in srgb,var(--color-brand) 12%,var(--color-base));border-block-end:1px solid var(--color-brand-deep);font-size:.8125rem;line-height:1.5}
.c-prototype-note a{color:var(--color-brand-deep);font-weight:700}
.c-overline{margin-block-end:.75rem;color:var(--color-support-text);font-size:.8125rem;font-weight:700;letter-spacing:.09em;line-height:1.5}

/* Header and mobile menu */
.c-header{position:fixed;z-index:30;inset-block-start:0;inset-inline:0;display:flex;gap:clamp(.45rem,2.5vw,1rem);align-items:center;width:100%;min-height:4rem;padding:.65rem max(.75rem,calc((100vw - 24.375rem)/2 + 1.25rem));color:var(--color-ink);background:color-mix(in srgb,var(--color-base) 97%,transparent);border-block-end:1px solid var(--color-line);box-shadow:0 .4rem 1.25rem color-mix(in srgb,var(--color-ink) 12%,transparent);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-110%);transition:transform 400ms ease-out,opacity 400ms ease-out,visibility 0s linear 400ms}
.c-header.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition-delay:0s}
.c-header__name{display:grid;flex:1 1 0;gap:.05rem;min-width:0;margin:0;font-size:clamp(.58rem,2.65vw,.75rem)!important;font-weight:700;line-height:1.35;white-space:nowrap}
.c-menu-button{display:flex;flex:none;gap:.6rem;align-items:center;margin-inline-start:auto;min-height:2.75rem;padding:.5rem clamp(.6rem,2.5vw,.75rem);color:var(--color-ink);background:var(--color-base);border:1px solid var(--color-ink);border-radius:999px;font:inherit;font-size:clamp(.7rem,3vw,.8125rem);font-weight:700}
.c-menu-button__icon{display:grid;gap:.2rem;width:1.15rem}
.c-menu-button__icon i{display:block;width:100%;height:2px;background:currentColor;border-radius:1rem;transition:transform 300ms ease-out,opacity 300ms ease-out}
.c-menu-button[aria-expanded=true] .c-menu-button__icon i:nth-child(1){transform:translateY(.4rem) rotate(45deg)}
.c-menu-button[aria-expanded=true] .c-menu-button__icon i:nth-child(2){opacity:0}
.c-menu-button[aria-expanded=true] .c-menu-button__icon i:nth-child(3){transform:translateY(-.4rem) rotate(-45deg)}
.c-menu-backdrop{position:fixed;z-index:20;inset:0;width:100%;background:color-mix(in srgb,var(--color-ink) 22%,transparent);opacity:0;transition:opacity 350ms ease-out}
.c-menu-backdrop.is-open{opacity:1}
.c-menu-backdrop[hidden],.c-mobile-menu[hidden]{display:none}
.c-mobile-menu{position:fixed;z-index:25;inset-block-start:4rem;inset-inline:0;width:100%;max-height:calc(100svh - 4rem);padding:1.5rem max(.75rem,calc((100vw - 24.375rem)/2 + 1.25rem)) 2rem;overflow:auto;color:var(--color-ink);background:var(--color-base);border-block-end:.35rem solid var(--color-brand);border-radius:0 0 1.75rem 1.75rem;box-shadow:0 1.2rem 2.5rem color-mix(in srgb,var(--color-ink) 18%,transparent);opacity:0;transform:translateY(-1rem);transition:transform 350ms ease-out,opacity 350ms ease-out}
.c-mobile-menu.is-open{opacity:1;transform:translateY(0)}
.c-mobile-menu__heading{display:flex;justify-content:space-between;gap:1rem;margin-block-end:1rem}
.c-mobile-menu__heading p{margin:0;color:var(--color-muted);font-size:.75rem;font-weight:700;letter-spacing:.08em}
.c-mobile-menu nav{display:grid;gap:.35rem}
.c-mobile-menu nav>span{display:flex;align-items:center;min-height:3rem;padding:.55rem .85rem;color:var(--color-ink);background:color-mix(in srgb,var(--color-brand) 6%,var(--color-base));border-radius:.85rem;font-weight:700}
.c-mobile-menu .c-menu-cta{justify-content:space-between;margin-block-start:.65rem;color:var(--color-ink);background:var(--color-accent);border:1px solid var(--color-accent-line)}
.c-menu-cta{white-space:nowrap}
.c-menu-cta b{display:inline;margin:0}

/* Hero */
.hero-c{position:relative;height:100svh;min-height:42rem;padding:0;overflow:hidden;background:var(--color-base)}
.hero-c__image{position:absolute;inset:1rem var(--space-page) 1.5rem;height:auto;margin:0;overflow:hidden;background:var(--color-ink);border-radius:50vw 50vw 2.25rem 2.25rem;box-shadow:.45rem .7rem 0 color-mix(in srgb,var(--color-brand) 18%,var(--color-base))}
.hero-c__slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity 1100ms ease-out}
.hero-c__slide.is-current{z-index:1;opacity:1}
.hero-c__slide.is-leaving{z-index:2;opacity:0}
.hero-c__slide img{width:100%;height:100%;object-fit:cover;object-position:52% 52%;transform:scale(1.015)}
.hero-c__image::after{position:absolute;z-index:3;inset:0;content:"";background:linear-gradient(180deg,transparent 28%,color-mix(in srgb,var(--color-ink) 22%,transparent) 48%,color-mix(in srgb,var(--color-ink) 92%,transparent) 100%);pointer-events:none}
.hero-c__image>p{display:none}
.hero-c__content{position:absolute;z-index:5;inset:60% calc(var(--space-page) + .75rem) auto;padding:0 .75rem;color:var(--color-base);text-shadow:0 1px .65rem color-mix(in srgb,var(--color-ink) 78%,transparent)}
.hero-c__content .c-overline{color:var(--color-base)}
.hero-c__name{max-width:23em;margin-block-end:1rem;color:var(--color-base);font-size:clamp(.875rem,3.8vw,1rem);font-weight:700;line-height:1.55}
.hero-c__name span{white-space:nowrap}
.hero-c h1{margin-block-end:1rem;color:var(--color-base);font-family:ui-rounded,"Hiragino Maru Gothic ProN",var(--font-body);font-size:clamp(1.15rem,5.8vw,1.4rem);font-weight:700;line-height:1.4}
.hero-c h1 span{border-block-end:.35rem solid var(--color-accent)}
.hero-c__content>h1:last-child{margin-block-end:0}
.c-state{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:center;margin-block-end:1rem}
.c-state p:last-child{margin:0;font-size:.875rem}
.c-cta{display:flex;gap:1rem;align-items:center;justify-content:space-between;padding:1rem 1.15rem;color:var(--color-ink);background:var(--color-accent);border:1px solid var(--color-accent-line);border-radius:999px;font-weight:700}
.c-information .c-cta,.c-entry .c-cta{color:var(--color-ink);background:var(--color-accent);border-color:var(--color-accent-line)}
.c-information__cta{margin-block-start:2rem}

/* Shared sections */
.c-section{position:relative;padding:6.5rem var(--space-page);overflow:hidden}
.c-heading{position:relative;margin-block-end:2.75rem}
.c-heading h2{max-width:16em;margin:0;font-size:1.5rem}
.c-empty{display:grid;grid-template-columns:3.75rem minmax(0,1fr);gap:.25rem 1rem;align-items:center;padding:1.35rem;background:color-mix(in srgb,var(--color-support) 12%,var(--color-base));border-radius:1.75rem}
.c-empty>div{grid-row:1/3;display:grid;width:3.75rem;height:3.75rem;place-items:center;color:var(--color-base);background:var(--color-support-text);border-radius:50%;font-size:1.35rem;font-weight:700}
.c-empty h3,.c-empty p{margin:0}
.c-empty p{color:var(--color-muted);font-size:.875rem}
.c-empty--single>div{grid-row:1}
.c-news .c-empty{grid-template-columns:3rem minmax(0,1fr);gap:.5rem;padding:1rem}
.c-news .c-empty>div{grid-row:1;width:3rem;height:3rem}
.c-news .c-empty h3{display:flex;align-items:center;height:3rem;font-size:.875rem;line-height:1.2;white-space:nowrap}
.c-text-link{display:inline-block;margin-block-start:1.5rem;color:var(--color-brand-deep);font-size:.875rem;font-weight:700;border-block-end:1px solid currentColor}
.c-information{background:color-mix(in srgb,var(--color-brand) 7%,var(--color-base))}
.c-information__lead{margin-block:-.1rem 2rem;line-height:1.9}
.c-facts{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin:0}
.c-facts>div{min-height:7.5rem;padding:1rem;background:var(--color-base);border-radius:1.25rem;box-shadow:0 .4rem 1.2rem color-mix(in srgb,var(--color-ink) 7%,transparent)}
.c-facts dt{margin-block-end:.75rem;font-size:.8125rem;font-weight:700}
.c-facts dd{display:grid;gap:.15rem;margin:0;font-size:1.1rem;font-weight:700;line-height:1.4}
.c-facts dd small{color:var(--color-muted);font-size:.75rem;font-weight:500}

/* Story */
.c-story{padding:0 var(--space-page) 8rem;overflow:hidden}
.c-story__intro{padding-block:8rem 3rem}
.c-story__intro h2{margin-block-end:1rem;font-size:1.75rem}
.c-story__intro>p:last-child{margin:0;color:var(--color-muted);font-size:.875rem}
.c-scene{position:relative;padding-block:5.5rem}
.c-scene__header{position:relative}
.c-scene__number{display:inline-block;margin:0 0 .8rem;padding:.25rem .7rem;color:var(--color-brand-deep);background:color-mix(in srgb,var(--color-brand) 9%,var(--color-base));border-radius:999px;font-size:.7rem;font-weight:700;line-height:1.4;letter-spacing:.12em}
.c-scene__number::before{content:"SCENE ";color:var(--color-muted)}
.c-scene h3{max-width:18em;margin-block-end:1.25rem;font-size:1.375rem}
.c-scene__body{max-width:35em;margin-block-end:2rem}
.c-scene__media{position:relative;margin:0 .55rem 0 0;overflow:hidden;background:color-mix(in srgb,var(--color-support) 14%,var(--color-base));border-radius:2.25rem;box-shadow:.7rem .8rem 0 color-mix(in srgb,var(--color-brand) 18%,var(--color-base))}
.c-scene__media>img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.c-scene__voice{max-width:30em;margin:2rem 0 0 1rem;padding:0;color:var(--support-text,var(--color-support-text));font-family:ui-rounded,"Hiragino Maru Gothic ProN",var(--font-body);font-size:1.2rem;font-weight:700;line-height:1.8;background:transparent;border:0}
.c-scene__voice::before{content:"— ";color:var(--color-brand-deep)}
.c-story__ending{margin:0;font-family:ui-rounded,"Hiragino Maru Gothic ProN",var(--font-body);font-size:1.75rem;font-weight:700;line-height:1.6;text-align:center}
.c-story__ending-line{display:block}
.c-story__ending-highlight{width:max-content;max-width:100%;margin-inline:auto;background-image:linear-gradient(var(--color-accent),var(--color-accent));background-repeat:no-repeat;background-position:left bottom;background-size:100% .35rem}
.c-story__dots{display:flex;gap:.55rem;align-items:flex-start;justify-content:center;height:1.45rem;margin:7rem auto 2.5rem}
.c-story__dots i{display:block;width:.65rem;height:.65rem;background:var(--color-accent);border-radius:50%}
.c-story__dots i:nth-child(1){margin-block-start:.8rem}
.c-story__dots i:nth-child(2){background:var(--color-brand)}
.c-story__dots i:nth-child(3){margin-block-start:.45rem;background:color-mix(in srgb,var(--color-support) 65%,var(--color-base))}

/* Image comparison */
.c-compare{background:var(--color-ink)}
.c-compare__stage{position:relative;background:color-mix(in srgb,var(--color-support) 14%,var(--color-base))}
.c-compare__images{display:grid;grid-template-columns:1fr 1fr}
.c-compare__image{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.c-compare__after{min-width:0}
.c-compare__divider,.c-compare__range{display:none}
.comparison-ready .c-compare__stage{aspect-ratio:4/5;overflow:hidden}
.comparison-ready .c-compare__images{position:absolute;inset:0;display:block}
.comparison-ready .c-compare__image{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}
.comparison-ready .c-compare__after{position:absolute;inset:0;clip-path:inset(0 0 0 var(--compare-position))}
.comparison-ready .c-compare__divider{position:absolute;z-index:2;inset-block:0;inset-inline-start:var(--compare-position);display:block;width:2px;background:var(--color-base);transform:translateX(-50%);pointer-events:none}
.comparison-ready .c-compare__divider i{position:absolute;inset-block-start:50%;inset-inline-start:50%;display:grid;width:4rem;height:2.5rem;color:var(--color-brand-deep);background:var(--color-base);border:2px solid var(--color-brand-deep);border-radius:999px;font-style:normal;font-size:.75rem;font-weight:700;place-items:center;transform:translate(-50%,-50%);box-shadow:0 .3rem 1rem color-mix(in srgb,var(--color-ink) 22%,transparent)}
.comparison-ready .c-compare__range{position:absolute;z-index:3;inset:0;display:block;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}
.comparison-ready .c-compare__stage:focus-within{outline:3px solid var(--color-brand-deep);outline-offset:-3px}

/* Schedule, notices and closing */
.c-timeline{display:grid;gap:1rem;margin:0;padding:0;list-style:none}
.c-timeline li{padding:1.25rem 1.35rem;background:color-mix(in srgb,var(--color-brand) 7%,var(--color-base));border-radius:1.25rem}
.c-timeline h3,.c-timeline p{margin:0}
.c-timeline__date{display:block;margin-block-end:.55rem;color:var(--color-brand-deep);font-size:1.35rem;font-weight:700;line-height:1;letter-spacing:.08em}
.c-timeline h3{overflow-wrap:anywhere;font-size:1rem;line-height:1.5}
.c-timeline p{margin-block-start:.2rem;color:var(--color-muted);font-size:.875rem}
#notices.c-notices{color:var(--color-base);background:var(--color-brand-deep)}
.c-notices .c-overline{color:var(--color-base)}
.c-notice-list{display:grid;gap:.75rem;margin:0;padding:0;list-style:none}
.c-notice-list li{display:grid;gap:.35rem;padding:1rem 1.1rem;background:color-mix(in srgb,var(--color-base) 9%,transparent);border-radius:1rem}
.c-notice-list strong{color:var(--color-base);font-size:.75rem;letter-spacing:.08em}
.c-empty--faq{background:color-mix(in srgb,var(--color-brand) 9%,var(--color-base))}
.c-empty--faq>div{color:var(--color-ink);background:var(--color-brand)}
.c-entry{position:relative;isolation:isolate;padding:8rem var(--space-page);overflow:visible;color:var(--color-base);background:var(--color-ink);clip-path:inset(0 -100vw)}
.c-entry::before{position:absolute;z-index:0;inset-block:0;inset-inline-start:50%;width:100vw;content:"";background:var(--color-ink);transform:translateX(-50%)}
.c-entry__circle{position:absolute;z-index:1;inset-block-start:-5rem;inset-inline-end:max(-5rem,calc((24.375rem - 100vw)/2));width:14rem;height:14rem;background:var(--color-brand);border-radius:50%;opacity:.7;pointer-events:none}
.c-entry>:not(.c-entry__circle){position:relative;z-index:2}
.c-entry>.c-overline{color:color-mix(in srgb,var(--color-brand) 35%,var(--color-base))}
.c-entry h2{position:relative;margin-block:1.5rem 1rem;font-size:1.75rem}
.c-entry>p:not(.c-overline,.status-label){position:relative;margin-block-end:2rem}
.c-entry .c-cta{position:relative}
.c-footer{position:relative;margin-block-start:clamp(2.5rem,7vw,5rem);overflow-wrap:anywhere;color:#fff;background:var(--color-ink);border-block-start:.3rem solid var(--color-brand);clip-path:inset(-.3rem -100vw 0)}
/*
 * On TOP the section above the footer is the ENTRY card, which is the same
 * ink as the footer. A gap there put a pale band between two dark blocks
 * and split the centre column in two; the sitemap should read as the column
 * continuing. The brand rule along the footer's top edge still marks where
 * one ends and the other begins.
 */
.shell-c--top>.c-footer{margin-block-start:0}
.c-footer::before{position:absolute;z-index:-1;inset-block:-.3rem 0;inset-inline-start:50%;width:100vw;content:"";box-sizing:border-box;background:var(--color-ink);border-block-start:.3rem solid var(--color-brand);transform:translateX(-50%)}
.c-footer__inner{width:min(100%,84rem);margin-inline:auto;padding:2rem clamp(.75rem,5vw,1.25rem)}
.c-footer p{margin-block-end:.35rem;font-size:.75rem;line-height:1.6}

/* Text reveal */
html.motion-preparing-c [data-reveal],html.motion-preparing-c [data-section-reveal]{transition:none!important}
html.motion-ready-c [data-reveal].is-pending{opacity:0;transform:translateY(1.1rem)}
html.motion-ready-c [data-reveal]{transition:opacity 560ms cubic-bezier(.22,1,.36,1),transform 560ms cubic-bezier(.22,1,.36,1)}
html.motion-ready-c .c-scene__body[data-reveal]{transition-delay:100ms}
html.motion-ready-c .c-scene__voice[data-reveal]{transition-delay:180ms}
html.motion-ready-c .c-story__dots i:nth-child(1){transition-delay:60ms}
html.motion-ready-c .c-story__dots i:nth-child(2){transition-delay:120ms}
html.motion-ready-c .c-story__dots i:nth-child(3){transition-delay:180ms}
html.motion-ready-c .c-story__ending-line:nth-child(1){transition-delay:240ms}
html.motion-ready-c .c-story__ending-line:nth-child(2){transition-delay:380ms}
html.motion-ready-c .c-story__ending-line:nth-child(3){transition-delay:520ms}
html.motion-ready-c .c-story__ending-highlight[data-reveal]{transition-property:opacity,transform,background-size;transition-duration:560ms,560ms,660ms;transition-timing-function:cubic-bezier(.22,1,.36,1),cubic-bezier(.22,1,.36,1),ease-out;transition-delay:380ms}
html.motion-ready-c .c-story__ending-highlight[data-reveal].is-pending{background-size:0 .35rem}
html.motion-ready-c [data-section-reveal]{transition:opacity 560ms cubic-bezier(.22,1,.36,1) var(--reveal-delay,0ms),transform 560ms cubic-bezier(.22,1,.36,1) var(--reveal-delay,0ms)}
html.motion-ready-c [data-section-reveal].is-section-pending{opacity:0;transform:translateY(1rem) scale(.985)}
html.motion-ready-c .c-scene__media[data-section-reveal]{transition-duration:620ms}
html.motion-ready-c .c-scene__media[data-section-reveal].is-section-pending{transform:translateY(1.15rem) scale(1.025)}
html.motion-ready-c .c-entry__circle[data-section-reveal].is-section-pending{transform:scale(.82)}

@media(min-width:24.375rem) and (max-width:68.6875rem){
  .shell-c--top .c-center{--space-page:1.25rem;width:min(100%,24.375rem);margin-inline:auto}
  .c-section,.c-story,.c-entry{padding-inline:var(--space-page)}
  .hero-c__image{inset-inline:var(--space-page)}
  .hero-c__content{inset-inline:calc(var(--space-page) + .75rem)}
  .hero-c h1{font-size:1.4rem}
  .c-information{box-shadow:0 0 0 100vmax color-mix(in srgb,var(--color-brand) 7%,var(--color-base));clip-path:inset(0 -100vmax)}
  #notices.c-notices{box-shadow:0 0 0 100vmax var(--color-brand-deep);clip-path:inset(0 -100vmax)}
}

@media(max-height:42rem){
  .hero-c{height:auto;min-height:42rem}
}

@media(min-width:68.75rem){
  .shell-c--top{display:grid;grid-template-columns:minmax(0,1fr) 390px 200px;align-items:start;width:100%;margin:0}
  .shell-c--top .c-center{--space-page:1.25rem;grid-column:2;grid-row:1;width:390px;background:var(--color-base);box-shadow:0 0 2.5rem color-mix(in srgb,var(--color-ink) 22%,transparent)}
  /*
   * The TOP footer belongs to the centre column, like every other TOP
   * section. Spanning the whole grid pushed the sitemap out under the
   * gallery and the rail.
   */
  .shell-c--top>.c-footer{grid-column:2;grid-row:2;width:390px}
  .shell-c--top .c-center main>section{width:100%}
  .c-entry{overflow:hidden;clip-path:none}
  .c-entry::before{display:none}
  .shell-c--top .c-footer{clip-path:none}
  .shell-c--top .c-footer::before{display:none}
  .c-gallery{position:sticky;inset-block-start:0;display:block;grid-column:1;grid-row:1;height:100vh;overflow:hidden;background:linear-gradient(145deg,color-mix(in srgb,var(--color-brand) 10%,var(--color-base)),color-mix(in srgb,var(--color-brand) 42%,var(--color-base)))}
  .c-gallery::before,.c-gallery::after{position:absolute;z-index:0;content:"";border:1px solid color-mix(in srgb,var(--color-base) 55%,transparent);border-radius:50%}
  .c-gallery::before{inset:auto auto -18vw -8vw;width:38vw;height:38vw}
  .c-gallery::after{inset:-12vw -8vw auto auto;width:30vw;height:30vw}
  .c-slider{position:absolute;z-index:1;inset:50% auto auto 50%;width:min(40%,22rem);height:auto;aspect-ratio:9/19.5;background:var(--color-ink);border:.65rem solid var(--color-ink);border-radius:2.75rem;box-shadow:.85rem 1rem 0 color-mix(in srgb,var(--color-brand) 20%,var(--color-base));transform:translate(-50%,-50%) rotate(-5deg);transform-origin:center}
  .c-slider::before{position:absolute;z-index:5;inset-block-start:.45rem;inset-inline-start:50%;width:34%;height:1.15rem;content:"";background:var(--color-ink);border-radius:1rem;transform:translateX(-50%)}
  .c-slider__viewport{position:absolute;inset:0;overflow:hidden;background:var(--color-ink);border-radius:2.05rem;isolation:isolate}
  .c-slider__viewport::after{position:absolute;z-index:4;inset:0;content:"";background:var(--color-base);opacity:0;pointer-events:none}
  .c-slider.is-flashing .c-slider__viewport::after{animation:camera-flash 800ms linear}
  .c-slide{position:absolute;inset:0;margin:0}
  .c-slide img{width:100%;height:100%;object-fit:cover;object-position:center}
  .c-slide.is-current img{animation:phone-settle 5s linear both}
  .c-slider__veil{position:absolute;z-index:2;inset:0;background:linear-gradient(180deg,transparent 72%,color-mix(in srgb,var(--color-ink) 20%,transparent));border-radius:2.05rem;pointer-events:none}
  .c-slider__word{display:none}
  .c-slider__controls{position:absolute;z-index:4;inset:50% .2rem auto;display:flex;justify-content:space-between;pointer-events:none;transform:translateY(-50%)}
  .c-slider__controls button{width:2.75rem;height:4rem;padding:0;color:color-mix(in srgb,var(--color-base) 65%,transparent);background:transparent;border:0;font-family:Georgia,serif;font-size:2.25rem;font-weight:400;text-shadow:0 1px .35rem color-mix(in srgb,var(--color-ink) 55%,transparent);pointer-events:auto}
  .c-slider__controls button:focus-visible{outline:3px solid var(--color-base);outline-offset:-3px}
  .c-rail{position:sticky;inset-block-start:0;display:flex;flex-direction:column;grid-column:3;grid-row:1;height:100vh;padding:1.25rem .75rem;background:var(--color-base);border-inline-start:1px solid var(--color-line)}
  .c-rail__brand{margin:0;font-size:.75rem;font-weight:700;line-height:1.3}
  .c-rail nav{display:grid;gap:.3rem;margin-block:auto}
  .c-rail nav>a{display:block;padding:.55rem .35rem;color:var(--color-ink);border-radius:.6rem;font-size:.75rem;font-weight:700;line-height:1.35;text-decoration:none}
  .c-rail nav>a:not(.c-menu-cta):hover{background:color-mix(in srgb,var(--color-brand) 7%,var(--color-base))}
  .c-rail nav>a:focus-visible{outline:2px solid var(--color-brand-deep);outline-offset:2px}
  .c-rail nav .c-menu-cta{margin-block-start:.65rem;padding:.7rem .5rem;background:var(--color-accent);border:1px solid var(--color-accent-line);border-radius:.8rem}
  .c-rail nav .c-menu-cta b{display:inline;margin:0 0 0 .2rem}
  .c-rail__back{display:grid;width:2.75rem;height:2.75rem;place-items:center;color:var(--color-base);background:var(--color-ink);border-radius:50%;font-weight:700;text-decoration:none}
  .shell-c--top .c-header,.shell-c--top .c-menu-button,.shell-c--top .c-mobile-menu,.shell-c--top .c-menu-backdrop{display:none!important}
  .hero-c{min-height:100vh}
  .hero-c h1{font-size:1.4rem}
  .c-story__intro h2,.c-story__ending,.c-entry h2{font-size:1.75rem}
}

@keyframes camera-flash{0%{opacity:0}31.25%{opacity:1}38%{opacity:1}100%{opacity:0}}
@keyframes phone-settle{from{transform:scale(1.045)}to{transform:scale(1)}}

@media(prefers-reduced-motion:reduce){
  .c-header,.c-mobile-menu,.c-menu-backdrop,.hero-c__slide,.c-menu-button__icon i,[data-section-reveal]{transition:none!important}
  .c-slide.is-current img,.c-slider.is-flashing .c-slider__viewport::after{animation:none!important}
  html.motion-ready-c [data-reveal].is-pending{opacity:1!important;transform:none!important}
  html.motion-ready-c [data-section-reveal].is-section-pending{opacity:1!important;transform:none!important}
  html.motion-ready-c .c-story__ending-highlight[data-reveal].is-pending{background-size:100% .35rem!important}
  .c-perspectives{display:grid!important;grid-template-columns:1fr 1fr!important;gap:.5rem!important;overflow:visible!important}
}

/* A single, transient accent ripple shared by every page. */
.c-click-ripple{position:fixed;z-index:100;display:block;width:2.75rem;height:2.75rem;margin:-1.375rem 0 0 -1.375rem;border:.18rem solid var(--color-support);border-radius:50%;opacity:0;pointer-events:none;transform:scale(.35);}
.c-click-ripple.is-active{animation:c-click-ripple .55s ease-out both}
@keyframes c-click-ripple{0%{opacity:.72;transform:scale(.35)}100%{opacity:0;transform:scale(1.65)}}
@media(prefers-reduced-motion:reduce){.c-click-ripple{display:none}}

/* ------------------------------------------------------------------
 * _toppage components (W-6)
 *
 * Visual deltas ported from `_toppage/style.css`. The prefix-less names
 * there collide with main.css, so each rule is re-expressed against the
 * theme's `c-` names. The W-4.1 horizontal-scroll fixes (`overflow-x:clip`
 * on .shell-c, the .c-footer::before bleed) and the W-5 `--top` / `--page`
 * scoping are deliberately not touched, and `_toppage`'s older
 * `margin-inline-start:-50vw` full-bleed is not imported.
 * ------------------------------------------------------------------ */

/* NEWS carries its own recruitment status row under the heading. */
.c-news__state{margin-block:1rem 0}

/* ENTRY GUIDE intro: leading paragraphs, then the lead sentence. */
.c-information__description,.c-information__lead{font-family:inherit;font-size:1rem;font-weight:400;line-height:1.9}
.c-information__description{margin-block:-.1rem 2rem;text-align:start}
.c-information__description p{margin-block:0 1.25rem}
.c-information__description p:last-child{margin-block-end:0}
.c-information__description strong{font-family:inherit;font-size:inherit;font-weight:700}

/* Qualifiers split out of a fact value read as emphasis, not fine print. */
.c-facts dd .c-facts__note--emphasis{color:var(--color-ink);font-size:.875rem;font-weight:700}
.c-facts dd .c-facts__note--deadline{font-size:1.1rem}

/* SCHEDULE: venue badge, date ranges and the details CTA. */
.c-timeline__date{white-space:nowrap}
.c-timeline__date--range{white-space:normal}
.c-timeline .c-timeline__type{margin:0 0 .2rem;color:var(--color-ink);font-size:.7rem;font-weight:700;line-height:1.4;letter-spacing:.1em}
.c-timeline h3{font-size:1.25rem;line-height:1.45}
.c-schedule__cta{margin-block-start:2rem}
.c-information .c-cta--details,.c-schedule .c-cta--details{background:color-mix(in srgb,var(--color-brand) 18%,var(--color-base));border-color:color-mix(in srgb,var(--color-brand) 55%,var(--color-base))}

/* ------------------------------------------------------------------
 * Footer columns (W-7)
 *
 * Base layout is a single stack, which is what the TOP page needs — its
 * footer lives inside the 390px centre column. `proposal-c-page.css` widens
 * it to three columns on the lower pages, where the shell is full width.
 * ------------------------------------------------------------------ */
.c-footer__columns{display:grid;gap:2rem;margin-block-end:2rem}
.c-footer__brand{display:flex;gap:.6rem;align-items:center;margin-block-end:1rem}
.c-footer__org{margin:0;font-size:.75rem;line-height:1.6}
.c-footer__org dt{margin-block-end:.2rem;color:color-mix(in srgb,var(--color-brand) 45%,#fff);font-weight:700;letter-spacing:.06em}
.c-footer__org dd{margin:0 0 .75rem}
.c-footer__org dd:last-child{margin-block-end:0}
.c-footer__col-title{margin-block-end:.75rem;color:color-mix(in srgb,var(--color-brand) 45%,#fff);font-size:.75rem;font-weight:700;letter-spacing:.08em}
.c-footer__list{display:grid;gap:.5rem;margin:0;padding:0;list-style:none;font-size:.8125rem;line-height:1.5}
.c-footer__list a{display:inline-flex;gap:.3rem;align-items:baseline;min-height:1.5rem;color:#fff;text-decoration:none;border-block-end:1px solid transparent}
.c-footer__list a:hover,.c-footer__list a:focus-visible{border-block-end-color:currentColor}
.c-footer__list--secondary{margin-block-start:1.25rem;padding-block-start:1.25rem;border-block-start:1px solid color-mix(in srgb,#fff 22%,transparent)}
.c-footer__tag{color:color-mix(in srgb,var(--color-brand) 55%,#fff);font-weight:700}
.c-footer__external{font-size:.75em}
.c-footer__base{display:flex;flex-direction:column;gap:.5rem;padding-block-start:1.5rem;border-block-start:1px solid color-mix(in srgb,#fff 22%,transparent)}
.c-footer__license{margin:0;color:color-mix(in srgb,#fff 78%,transparent);font-size:.6875rem;line-height:1.7}
.c-footer__license a{color:inherit;text-decoration:underline}
.c-footer__copyright{margin:0;font-size:.6875rem}

/* ------------------------------------------------------------------
 * Wordmark (W-8)
 *
 * The artwork carries its own ink-coloured plate, so it disappears into the
 * footer and reads as a badge on the light headers. It replaces the previous
 * "た" mark and the site-name text beside it.
 * ------------------------------------------------------------------ */
.c-brand-mark{display:block;width:auto;height:auto;max-width:100%;border-radius:.35rem}
/*
 * 100% comes first on purpose. Sizing the wordmark off the viewport alone
 * ignored the column it actually sits in, so on a narrow header it grew
 * past its own cell and ran under the MENU button.
 */
.c-brand-mark--compact{max-width:min(100%,58vw,15rem)}
.c-brand-mark--header{max-width:min(100%,52vw,17rem)}
.c-brand-mark--footer{max-width:17rem;border-radius:0}
.c-footer__brand{margin:0 0 1rem}

/* ------------------------------------------------------------------
 * Raised interactive surfaces (W-11)
 *
 * Buttons and card-shaped elements sit slightly above the page and lift
 * further on hover, focus and press. Inline text links are deliberately not
 * included: breadcrumbs, `.c-text-link` and links inside prose keep their
 * underline, because a shadow on a run of text reads as a rendering fault.
 * ------------------------------------------------------------------ */
.c-cta,
.c-menu-cta,
.c-menu-button,
.c-rail nav>a,
.c-nav__link,
.p-header__cta,
.news-filter :is(a,button),
.news-item,
.faq-item,
.c-faq__list>[data-faq-item]{
  /*
   * At rest the lift is carried by the shadow alone. A resting `transform`
   * here would fight the scroll-reveal, which animates `transform` on these
   * same elements while they are still pending.
   */
  box-shadow:0 1px 2px color-mix(in srgb,var(--color-ink) 10%,transparent),0 2px 6px color-mix(in srgb,var(--color-ink) 8%,transparent);
  transition:transform 180ms ease-out,box-shadow 180ms ease-out;
}
.c-cta:hover,.c-cta:focus-visible,
.c-menu-cta:hover,.c-menu-cta:focus-visible,
.c-menu-button:hover,.c-menu-button:focus-visible,
.c-rail nav>a:hover,.c-rail nav>a:focus-visible,
.c-nav__link:hover,.c-nav__link:focus-visible,
.p-header__cta:hover,.p-header__cta:focus-visible,
.news-filter :is(a,button):hover,.news-filter :is(a,button):focus-visible,
.news-item:hover,
.faq-item:hover,
.c-faq__list>[data-faq-item]:hover{
  box-shadow:0 4px 8px color-mix(in srgb,var(--color-ink) 16%,transparent),0 10px 22px color-mix(in srgb,var(--color-ink) 14%,transparent);
  transform:translateY(-3px);
}
/*
 * The TOP FAQ cards are also scroll-reveal targets, and that rule carries a
 * 560ms transition at a higher specificity — the hover would inherit it and
 * feel sluggish. Once a card has finished revealing, `is-section-pending`
 * is gone and it can take the short hover timing; while it is still
 * pending the reveal keeps both its own timing and its own transform.
 */
html.motion-ready-c .c-faq__list>[data-faq-item]:not(.is-section-pending){
  transition:transform 180ms ease-out,box-shadow 180ms ease-out;
}
.c-cta:active,
.c-menu-cta:active,
.c-menu-button:active,
.c-rail nav>a:active,
.c-nav__link:active,
.p-header__cta:active,
.news-filter :is(a,button):active{
  box-shadow:0 1px 2px color-mix(in srgb,var(--color-ink) 14%,transparent);
  transform:translateY(0);
}
@media(prefers-reduced-motion:reduce){
  .c-cta,.c-menu-cta,.c-menu-button,.c-rail nav>a,.c-nav__link,.p-header__cta,
  .news-filter :is(a,button),.news-item,.faq-item,.c-faq__list>[data-faq-item]{transform:none!important;transition:box-shadow 180ms ease-out}
  .c-cta:hover,.c-cta:focus-visible,.c-menu-cta:hover,.c-menu-cta:focus-visible,
  .c-menu-button:hover,.c-menu-button:focus-visible,.c-rail nav>a:hover,.c-rail nav>a:focus-visible,
  .c-nav__link:hover,.c-nav__link:focus-visible,.p-header__cta:hover,.p-header__cta:focus-visible,
  .news-filter :is(a,button):hover,.news-filter :is(a,button):focus-visible,
  .news-item:hover,.faq-item:hover,.c-faq__list>[data-faq-item]:hover{transform:none!important}
}

/* Equal-sized NEWS filter buttons: every category matches the「すべて」button. */
.news-filter ul{gap:.5rem}
.news-filter :is(a,button){justify-content:center;min-width:8.5rem}
/*
 * main.css gives `.news-filter__count` a top margin meant for a standalone
 * status line. Inside the button it only makes the rows with a count taller
 * than「すべて」, so it is reset here.
 */
.news-filter :is(a,button) .news-filter__count{margin:0;font-size:.75rem;opacity:.75}

/* Photo credits disclosure in the footer. */
.c-footer__credits{margin:0}
.c-footer__credits>summary{display:flex;flex-wrap:wrap;gap:.35rem .5rem;align-items:baseline;color:color-mix(in srgb,#fff 78%,transparent);font-size:.6875rem;line-height:1.7;cursor:pointer;list-style:none}
.c-footer__credits>summary::-webkit-details-marker{display:none}
.c-footer__credits>summary::after{content:"＋";font-weight:700}
.c-footer__credits[open]>summary::after{content:"−"}
.c-footer__credits>summary:hover,.c-footer__credits>summary:focus-visible{color:#fff}
.c-footer__credit-list{display:grid;gap:.4rem;margin:.75rem 0 0;padding:0 0 0 1rem;color:color-mix(in srgb,#fff 72%,transparent);font-size:.6875rem;line-height:1.7}
.c-footer__credit-list li{margin:0}
.c-footer__credits a{color:inherit;text-decoration:underline}

/* ------------------------------------------------------------------
 * List cards (W-12)
 *
 * NEWS entries and FAQ questions were flat rows split by hairlines. They
 * become rounded cards with space between them, on the archives and on TOP
 * alike. The old rules live in main.css, which is shared with the previous
 * design, so the borders are cleared here instead of edited there.
 * ------------------------------------------------------------------ */
.news-archive{display:grid;gap:.75rem;margin-block-start:2rem;border-block-start:0}
.news-archive .news-item{background:var(--color-base);border:1px solid color-mix(in srgb,var(--color-ink) 10%,transparent);border-radius:1.25rem;border-block-end:1px solid color-mix(in srgb,var(--color-ink) 10%,transparent);overflow:hidden}
.news-archive .news-item__link{padding:1.1rem 1.25rem}
.news-item__meta{display:flex;flex-wrap:wrap;gap:.35rem .75rem;align-items:baseline}

.faq-list{display:grid;gap:.75rem;margin-block-start:1.75rem;border-block-start:0}
.faq-item{background:var(--color-base);border:1px solid color-mix(in srgb,var(--color-ink) 10%,transparent);border-radius:1.25rem;border-block-end:1px solid color-mix(in srgb,var(--color-ink) 10%,transparent);overflow:hidden}
.faq-item .faq-question{padding:1rem 1.25rem}
.faq-item .faq-answer{padding:0 1.25rem 1.1rem}
.faq-item__categories{padding:0 1.25rem 1rem}

/*
 * The TOP FAQ list uses bare <article data-faq-item> rather than .faq-item,
 * so the card is attached to the data attribute both markups share.
 */
.c-faq__list{display:grid;gap:.75rem}
.c-faq__list>[data-faq-item]{background:var(--color-base);border:1px solid color-mix(in srgb,var(--color-ink) 10%,transparent);border-radius:1.25rem;overflow:hidden}
.c-faq__list>[data-faq-item]>h3>.faq-question{padding:1rem 1.25rem}
.c-faq__list>[data-faq-item]>[data-faq-answer]{padding:0 1.25rem 1.1rem}

/*
 * TOP NEWS: same typography and stacking as the archive rows, while the
 * markup and the behaviour (five items, pinned entry, links) stay as they are.
 */
.c-news__list{display:grid;gap:.75rem;margin:0;padding:0;list-style:none}
.c-news__list li{background:var(--color-base);border:1px solid color-mix(in srgb,var(--color-ink) 10%,transparent);border-radius:1.25rem}
.c-news__list a{display:grid;gap:.375rem;padding:1.1rem 1.25rem;color:var(--color-ink);text-decoration:none}
.c-news__list time{color:var(--color-muted);font-size:.75rem;font-weight:700;letter-spacing:.06em}
.c-news__list span{font-size:.9375rem;font-weight:700;line-height:1.6;overflow-wrap:anywhere}

/* The copyright closes the footer on its own line, centred on every page. */
.c-footer__copyright{margin:1.25rem 0 0;padding-block-start:1.25rem;border-block-start:1px solid color-mix(in srgb,#fff 22%,transparent);font-size:.6875rem;text-align:center}

/* ------------------------------------------------------------------
 * Links raised like buttons (W-12)
 *
 * W-11 kept inline links flat. They are now given the same shadow and lift.
 * Each one becomes inline-block first, so the shadow follows the box instead
 * of breaking apart across a wrapped line.
 * ------------------------------------------------------------------ */
.c-breadcrumbs a,
.c-text-link,
.c-footer__list a,
.c-footer__credits a,
.prose a,
.p-page__body a,
.entry-content a,
.back-link a{
  display:inline-block;
  padding:.1rem .3rem;
  border-radius:.4rem;
  box-shadow:0 1px 1px color-mix(in srgb,var(--color-ink) 5%,transparent);
  transition:transform 180ms ease-out,box-shadow 180ms ease-out;
}
.c-breadcrumbs a{display:inline-flex}
.c-breadcrumbs a:hover,.c-breadcrumbs a:focus-visible,
.c-text-link:hover,.c-text-link:focus-visible,
.c-footer__list a:hover,.c-footer__list a:focus-visible,
.c-footer__credits a:hover,.c-footer__credits a:focus-visible,
.prose a:hover,.prose a:focus-visible,
.p-page__body a:hover,.p-page__body a:focus-visible,
.entry-content a:hover,.entry-content a:focus-visible,
.back-link a:hover,.back-link a:focus-visible{
  box-shadow:0 1px 3px color-mix(in srgb,var(--color-ink) 12%,transparent);
  transform:translateY(-1px);
}
.c-breadcrumbs a:active,.c-text-link:active,.c-footer__list a:active,
.c-footer__credits a:active,.prose a:active,.p-page__body a:active,
.entry-content a:active,.back-link a:active{
  box-shadow:0 1px 1px color-mix(in srgb,var(--color-ink) 10%,transparent);
  transform:translateY(0);
}
/* On the ink footer the shadow has to read against a dark ground. */
.c-footer__list a,.c-footer__credits a{
  box-shadow:0 1px 1px color-mix(in srgb,#000 18%,transparent);
}
.c-footer__list a:hover,.c-footer__list a:focus-visible,
.c-footer__credits a:hover,.c-footer__credits a:focus-visible{
  box-shadow:0 1px 3px color-mix(in srgb,#000 26%,transparent);
}
@media(prefers-reduced-motion:reduce){
  .c-breadcrumbs a,.c-text-link,.c-footer__list a,.c-footer__credits a,
  .prose a,.p-page__body a,.entry-content a,.back-link a{transform:none!important}
}

/* ------------------------------------------------------------------
 * Header, drawer and rail share the footer's ink ground (W-12)
 * ------------------------------------------------------------------ */
.c-header{color:#fff;background:color-mix(in srgb,var(--color-ink) 97%,transparent);border-block-end:1px solid color-mix(in srgb,#fff 18%,transparent)}
.c-header__name a{color:#fff}
.c-menu-button{color:#fff;background:transparent;border:1px solid color-mix(in srgb,#fff 45%,transparent)}
.c-mobile-menu{color:#fff;background:var(--color-ink)}
.c-mobile-menu__heading p{color:color-mix(in srgb,#fff 72%,transparent)}
.c-mobile-menu__close{color:#fff}
.c-mobile-menu nav>span{color:#fff;background:color-mix(in srgb,#fff 8%,transparent)}
.c-mobile-menu__lead{color:color-mix(in srgb,#fff 78%,transparent)}
.c-menu-backdrop{background:color-mix(in srgb,#000 45%,transparent)}

@media(min-width:68.75rem){
  .c-rail{color:#fff;background:var(--color-ink);border-inline-start:1px solid color-mix(in srgb,#fff 18%,transparent)}
  .c-rail__brand{color:#fff}
  .c-rail nav>a{color:#fff}
  .c-rail nav>a:not(.c-menu-cta):hover{background:color-mix(in srgb,#fff 12%,transparent)}
  .c-rail nav .c-menu-cta{color:var(--color-ink)}
}

/* ------------------------------------------------------------------
 * Press sweep (W-12) — a low-contrast wash from left to right while held.
 * ------------------------------------------------------------------ */
.c-cta,.c-menu-cta,.c-menu-button,.news-filter :is(a,button),.c-nav__link,.p-header__cta{position:relative;overflow:hidden;isolation:isolate}
.c-cta::after,.c-menu-cta::after,.c-menu-button::after,
.news-filter :is(a,button)::after,.c-nav__link::after,.p-header__cta::after{
  position:absolute;z-index:-1;inset:0;content:"";
  background:linear-gradient(90deg,color-mix(in srgb,var(--color-brand) 26%,transparent),color-mix(in srgb,var(--color-brand) 8%,transparent));
  transform:scaleX(0);transform-origin:left;
  transition:transform 420ms ease-out;
  pointer-events:none;
}
.c-cta:active::after,.c-menu-cta:active::after,.c-menu-button:active::after,
.news-filter :is(a,button):active::after,.c-nav__link:active::after,.p-header__cta:active::after{transform:scaleX(1)}
@media(prefers-reduced-motion:reduce){
  .c-cta::after,.c-menu-cta::after,.c-menu-button::after,
  .news-filter :is(a,button)::after,.c-nav__link::after,.p-header__cta::after{display:none}
}

/* ------------------------------------------------------------------
 * Arrows and filter counts (W-13)
 * ------------------------------------------------------------------ */
/* The arrow glyph rides inside an underlined link; the rule is for the text. */
.c-text-link span[aria-hidden],
.c-cta span[aria-hidden],
.back-link a span[aria-hidden],
.prose a span[aria-hidden]{display:inline-block;text-decoration:none}

/* The per-category totals are noise next to the labels. */
.news-filter__count{display:none}
