/* Site styles. Section order preserves the original cascade.
   Search the section headings below to find layout and motion rules. */

/* ==========================================================================
   base
   ========================================================================== */
:root {
  --yellow:#ffd600;
  --black:#111;
  --white:#fff;
  --gothic:"Zen Kaku Gothic New",sans-serif;
  --mincho:"Shippori Mincho",serif;
  --display:"Dela Gothic One",sans-serif;
  --content:1000px;
  --line:18px
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  background:var(--yellow);
  color:var(--black);
  font:700 20px/1.7 var(--gothic);
  overflow-x:clip
}
p,h1,h2,h3 {
  margin:0
}
img {
  display:block
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button {
  font:inherit;
  cursor:pointer
}
a {
  color:inherit
}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible {
  outline:4px solid #d82916;
  outline-offset:6px
}
button:disabled {
  cursor:default
}
button[hidden],[hidden] {
  display:none!important
}
.skip-link {
  position:fixed;
  z-index:10;
  left:16px;
  top:-80px;
  background:white;
  padding:12px
}
.skip-link:focus {
  top:16px
}
.content {
  width:min(var(--content),calc(100% - 64px));
  margin-inline:auto
}
.hero {
  container-type:inline-size;
  display:grid;
  grid-template-columns:20.7% 52.2% 27.1%;
  height:auto;
  aspect-ratio:1440/630;
  overflow:hidden
}
.hero-left {
  position:relative;
  border-right:var(--line) solid var(--black);
  padding-top:5.6cqw
}
.hero-left:before {
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:5.6cqw;
  background:var(--black)
}
.letter-crop {
  height:23.96cqw;
  position:relative;
  overflow:hidden
}
.letter-crop img {
  position:absolute;
  width:199.92%;
  height:108.55%;
  left:-77.47%;
  top:-8.48%
}
.lucky-letters {
  letter-spacing:-.06em;
  font:700 9.44cqw/1 var(--mincho);
  white-space:nowrap;
  margin-top:1.2cqw
}
.hero-main {
  position:relative;
  border-right:var(--line) solid var(--black)
}
.hero-kicker {
  position:absolute;
  inset:0 0 auto;
  background:var(--black);
  color:white;
  font:700 2.22cqw/5.625cqw var(--mincho);
  text-align:right;
  white-space:nowrap;
  letter-spacing:.18cqw;
  padding-right:1cqw;
  z-index:1
}
.hero-dots {
  position:absolute;
  left:4.96cqw;
  top:2.07cqw;
  width:44.74cqw;
  height:47.58cqw;
  background:url("../assets/images/halftone-tile.webp") left top/13.74px 13.74px;
  mask:url("../assets/images/hero-dots-mask-desktop.webp") 0 0/100% 100% no-repeat
}
.hero-man {
  position:absolute;
  left:7.36cqw;
  top:1.74cqw;
  width:44.72cqw;
  height:42.01cqw;
  object-fit:fill
}
.ai-mark {
  position:absolute;
  left:-4.23cqw;
  top:7.29cqw;
  width:20.833cqw;
  height:20.833cqw;
  color:white
}
.ai-mark>img {
  transform:scale(var(--hero-scale,1));
  transform-origin:top left
}
.ai-word {
  position:absolute;
  top:4.82cqw;
  left:4.23cqw;
  font:400 5.035cqw/1.3 Diplomata,serif
}
.teki {
  position:absolute;
  top:8.47cqw;
  left:7.61cqw;
  font:800 6.25cqw/1.3 var(--mincho)
}
.don {
  position:absolute;
  left:35.76cqw;
  top:7.53cqw
}
.don>img {
  transform:scale(var(--hero-scale,1));
  transform-origin:top left
}
.hero-right {
  position:relative
}
.hero-horse {
  position:relative;
  height:22.2cqw
}
.horse {
  position:absolute;
  left:2.01cqw;
  top:0;
  width:24.375cqw;
  height:19.51cqw
}
.horse-shadow {
  position:absolute;
  left:2.32cqw;
  top:16.18cqw;
  width:21.17cqw;
  height:4.48cqw
}
.hero-profile {
  background:var(--black);
  color:white;
  height:100%;
  padding:2.01cqw 1.65cqw;
  font:400 1.667cqw/1.7 var(--mincho);
  letter-spacing:.03em
}
.hero-name {
  font:700 4.583cqw/1.3 var(--mincho);
  margin:.5cqw 0 1.7cqw
}
.hero-reading {
  font-size:1.25cqw;
  white-space:nowrap
}
.title-band {
  container-type:inline-size;
  border-block:20px solid var(--black);
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:170px;
  overflow:hidden;
  gap:24px
}
.title-band h1 {
  font:400 clamp(45px,9.86vw,160px)/1 var(--display);
  white-space:nowrap;
  letter-spacing:-.025em;
  margin-top:-20px
}
.band-marks {
  display:flex;
  align-items:center;
  gap:32px;
  padding-inline:17px;
  flex:none
}
.story {
  padding:92px 0 100px;
  min-height:491px;
  overflow:hidden
}
.story-content {
  position:relative
}
.section-title {
  font:400 52px/1.4 var(--display);
  display:flex;
  gap:12px;
  align-items:center
}
.section-title:before {
  content:"";
  height:11px;
  width:34px;
  background:var(--black);
  flex:none
}
.story-copy {
  font-size:22px;
  line-height:1.9;
  margin-top:25px;
  position:relative;
  z-index:1;
  max-width:700px
}
.story-copy p {
  margin:0
}
.running-man {
  position:absolute;
  right:21px;
  top:9px;
  transform:rotate(-5.96deg)
}
.running-sound {
  position:absolute;
  right:-31px;
  top:-20px;
  transform:rotate(33.03deg)
}
.film {
  position:relative;
  background:var(--black);
  padding:58px 32px 63px
}
.film:before,.film:after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:18px;
  background:repeating-linear-gradient(to right,var(--yellow) 0 40px,transparent 40px 80px);
  background-position:center
}
.film:before {
  top:28px
}
.film:after {
  bottom:28px
}
.video-frame {
  width:min(100%,1000px);
  aspect-ratio:16/9;
  margin:auto;
  background:var(--black)
}
.video-placeholder {
  width:100%;
  height:100%;
  background:#d9d9d9
}
.video-frame iframe,.video-frame video {
  border:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:contain
}
.video-frame video {
  background: var(--black);
  border-radius: 0;
  /* Hide the hairline at the native video edge without changing its layout. */
  clip-path: inset(1px);
}
.video-frame video:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -5px;
}
.wins {
  position:relative;
  padding:112px 0 103px;
  overflow:hidden
}
.side-face {
  position:absolute;
  left:0;
  top:20px;
  width:max(110px,12.5vw);
  height:636px;
  overflow:hidden;
  pointer-events:none
}
.side-face img {
  position:absolute;
  width:490.59%;
  height:126.85%;
  left:-315.56%;
  top:-2.83%
}
.win-track {
  position:relative;
  display:flex;
  gap:60px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding:56px max(32px,calc((100vw - 1000px)/2)) 4px;
  scroll-padding-inline:max(32px,calc((100vw - 1000px)/2));
  align-items:stretch
}
.win-track::-webkit-scrollbar {
  display:none
}
.win-card {
  position:relative;
  background:var(--white);
  border:8px solid var(--black);
  width:425px;
  min-height:446px;
  flex:0 0 425px;
  scroll-snap-align:start;
  display:flex;
  flex-direction:column
}
.win-card h3 {
  background:var(--black);
  color:white;
  padding:9px 12px 13px;
  min-height:105px;
  font-size:28px;
  line-height:1.4;
  overflow-wrap:anywhere
}
.win-body {
  padding:12px 14px 17px;
  flex:1;
  position:relative
}
.new-badge {
  display:table;
  background:#d9d9d9;
  padding:0 10px;
  font-size:20px;
  margin-bottom:4px
}
.win-description {
  font-size:20px;
  line-height:1.7;
  white-space:pre-line;
  position:relative;
  z-index:1
}
.win-organizer {
  font-size:18px;
  line-height:1.7;
  margin-top:25px;
  max-width:245px;
  position:relative;
  z-index:1
}
.win-deadline {
  font:700 24px/1.7 var(--mincho);
  position:relative;
  z-index:1
}
.win-deadline small {
  font-size:16px
}
.win-bottom {
  position:relative;
  padding:22px 12px 12px
}
.card-divider {
  position:absolute;
  top:0;
  left:-3px;
  max-width:calc(100% + 6px);
  height:3px
}
.detail-link {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  min-height:66px;
  background:var(--black);
  color:white;
  text-decoration:none;
  width:100%;
  font-size:18px;
  border:0
}
.detail-link:hover {
  background:#353535
}
.detail-link:disabled {
  color:#fff
}
.application-stamp {
  position:absolute;
  right:16px;
  bottom:12px;
  width:138px;
  height:138px;
  opacity:.4;
  font-family:var(--mincho);
  color:rgba(255,24,24,.8);
  pointer-events:none
}
.application-stamp>img {
  position:absolute;
  top:0;
  left:0
}
.application-stamp>img+img {
  top:8.02px;
  left:8.02px
}
.stamp-ou,.stamp-bo,.stamp-zumi {
  position:absolute;
  font-size:51.349px;
  line-height:1.7;
  letter-spacing:1.027px
}
.stamp-ou {
  top:2.41px;
  left:20.06px
}
.stamp-bo {
  top:24.87px;
  left:69px
}
.stamp-zumi {
  top:60.98px;
  left:31.29px;
  font-size:38.512px
}
.carousel-controls {
  display:flex;
  align-items:center;
  gap:30px;
  margin-top:57px
}
.carousel-progress {
  height:11px;
  background:white;
  width:425px;
  margin-right:0;
  flex:none
}
.carousel-progress span {
  display:block;
  height:100%;
  background:var(--black);
  width:20%;
  transition:width .2s
}
.carousel-button {
  background:transparent;
  border:0;
  padding:2px;
  display:grid;
  place-items:center;
  min-width:44px;
  min-height:44px
}
.carousel-button:disabled {
  opacity:.35
}
.next img {
  transform:rotate(180deg)
}
#carousel-count {
  min-width:54px;
  text-align:center;
  font-size:20px
}
.news {
  display:grid;
  grid-template-columns:minmax(60px,1fr) minmax(0,1183px) minmax(60px,1fr);
  border-block:18px solid var(--black);
  min-height:547px
}
.news-rail {
  font:700 110px/1.14 var(--mincho);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-around;
  overflow:hidden
}
.news-inner {
  border-inline:18px solid var(--black);
  padding:32px 7.35% 60px;
  min-width:0
}
.news-item {
  position:relative;
  min-height:139px;
  padding:12px 120px 24px 0;
  display:flex;
  flex-direction:column;
  justify-content:center
}
.news-date {
  font-size:20px;
  line-height:1.7
}
.news-text {
  font-size:28px;
  line-height:1.4;
  display:flex;
  align-items:center;
  gap:20px;
  min-height:55px
}
.news-text a {
  text-decoration:none
}
.news-text a:hover {
  text-decoration:underline
}
.news-result {
  background:white;
  display:inline-block;
  transform:rotate(-6.95deg);
  padding:0 11px 3px;
  white-space:nowrap
}
.news-result[data-result="won"] {
  background:var(--black);
  color:var(--yellow)
}
.news-reaction {
  position:absolute;
  right:0;
  top:20px;
  width:111px;
  height:105px;
  object-fit:fill
}
.news-divider {
  position:absolute;
  bottom:0;
  left:0;
  width:989.004px;
  height:3px;
  max-width:100%
}
.more-news {
  display:block;
  margin:28px auto 0;
  padding:9px 32px;
  background:var(--black);
  color:var(--yellow);
  border:0
}
.horse-parade {
  height:370px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:59px;
  overflow:hidden;
  padding-top:10px
}
.parade-horse {
  position:relative;
  width:255px;
  height:284px;
  flex:none;
  left:-27px
}
.parade-horse>img:not(.parade-shadow) {
  position:relative
}
.parade-shadow {
  position:absolute;
  left:35px;
  top:239px;
  width:196px;
  height:45px
}
.note-section {
  container-type:inline-size;
  display:grid;
  grid-template-columns:65.14% 34.86%;
  border-block:18px solid var(--black);
  height:497px;
  overflow:hidden
}
.note-main {
  border-right:18px solid var(--black);
  display:flex;
  flex-direction:column;
  min-width:0
}
.room-crop {
  height:calc(100% - 119px);
  position:relative;
  overflow:hidden
}
.room-crop img {
  position:absolute;
  width:105.06%;
  height:173.13%;
  top:-61.69%;
  left:.03%
}
.note-caption {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  min-height:119px;
  background:var(--black);
  color:white;
  font:700 2.57cqw/1.6 var(--mincho);
  text-decoration:none;
  padding:16px 20px
}
.note-caption>img {
  flex:none
}
.note-caption:where(a):hover {
  color:var(--yellow)
}
.note-comments {
  position:relative;
  overflow:hidden
}
.note-comments>img {
  width:100%;
  height:272px;
  object-fit:cover
}
.second-comment {
  height:267px;
  overflow:hidden;
  position:relative;
  margin-top:-76px
}
.second-comment img {
  position:absolute;
  width:100%;
  height:101.87%;
  top:-1.87%;
  left:0
}
.footer {
  height:335px;
  border-bottom:51px solid var(--black);
  display:flex;
  align-items:center;
  flex-direction:column;
  font:700 16px/1.7 var(--mincho);
  position:relative;
  padding-top:48px
}
.wish-mark {
  position:absolute;
  top:0;
  left:calc(50% - 27.5px)
}
.footer-horse {
  margin-top:15px
}
.load-error {
  padding-block:32px;
  font-size:16px
}
@media(min-width:1600px) {
  .title-band h1 {
    font-size:142px
  }
  .title-band {
    justify-content:center;
    gap:50px
  }
}
@media(max-width:1100px) {
  :root {
    --line:12px
  }
  .title-band {
    height:125px;
    border-width:14px;
    gap:14px
  }
  .band-marks {
    gap:20px;
    padding-inline:8px;
    transform:scale(.7);
    transform-origin:center;
    width:27%;
    justify-content:center
  }
  .title-band h1 {
    font-size:10vw;
    margin-top:-12px
  }
  .story {
    padding-block:70px;
    min-height:445px
  }
  .section-title {
    font-size:42px
  }
  .story-copy {
    font-size:18px;
    max-width:70%
  }
  .running-man {
    right:0;
    top:30px;
    width:240px;
    height:auto
  }
  .running-sound {
    right:-10px;
    top:0;
    transform:rotate(33.03deg) scale(.8)
  }
  .wins {
    padding-block:85px
  }
  .side-face {
    opacity:.8;
    left:-25px
  }
  .win-track {
    gap:36px
  }
  .win-card {
    width:390px;
    flex-basis:390px
  }
  .win-card h3 {
    font-size:25px
  }
  .carousel-progress {
    width:36%
  }
  .news {
    grid-template-columns:70px minmax(0,1fr) 70px;
    min-height:480px;
    border-width:12px
  }
  .news-inner {
    border-width:12px;
    padding:22px 6% 40px
  }
  .news-rail {
    font-size:64px
  }
  .news-text {
    font-size:21px;
    gap:12px;
    flex-wrap:wrap
  }
  .news-date {
    font-size:16px
  }
  .news-item {
    padding-right:95px
  }
  .news-reaction {
    width:85px;
    height:80px;
    top:30px
  }
  .horse-parade {
    height:285px;
    gap:32px
  }
  .parade-horse {
    transform:scale(.8);
    transform-origin:center;
    flex-basis:210px
  }
  .note-section {
    height:380px;
    border-width:12px
  }
  .note-main {
    border-width:12px
  }
  .room-crop {
    height:calc(100% - 90px)
  }
  .note-caption {
    min-height:90px;
    gap:16px
  }
  .note-comments>img {
    height:210px
  }
  .second-comment {
    margin-top:-56px;
    height:207px
  }
}
@media(min-width:601px) and (max-width:900px) {
  .story-copy {
    max-width:none;
    padding-bottom:190px
  }
  .running-man {
    top:auto;
    bottom:-70px;
    right:20px;
    width:190px
  }
  .running-sound {
    top:auto;
    bottom:100px;
    right:-15px;
    transform:rotate(33.03deg) scale(.65)
  }
}
@media(max-width:600px) {
  :root {
    --line:6px
  }
  body {
    font-size:16px
  }
  .content {
    width:calc(100% - 40px)
  }
  .hero {
    aspect-ratio:auto;
    height:auto;
    grid-template-columns:20.7% 52.2% 27.1%;
    min-height:43.75vw
  }
  .hero-kicker {
    font-size:2.1cqw
  }
  .title-band {
    border-width:7px;
    height:78px;
    gap:0
  }
  .title-band h1 {
    font-size:11.5vw;
    margin-top:-8px
  }
  .band-marks {
    width:22%;
    gap:25px;
    transform:scale(.38);
    padding:0
  }
  .band-marks img:first-child {
    display:none
  }
  .story {
    padding:42px 0 28px;
    min-height:0
  }
  .section-title {
    font-size:30px;
    gap:9px
  }
  .section-title:before {
    width:20px;
    height:6px
  }
  .story-copy {
    font-size:16px;
    line-height:1.9;
    max-width:none;
    margin-top:22px;
    padding-bottom:165px
  }
  .story-copy br {
    display:none
  }
  .story-copy p+p {
    margin-top:8px
  }
  .running-man {
    top:auto;
    bottom:-28px;
    right:18px;
    width:148px;
    height:auto
  }
  .running-sound {
    top:auto;
    bottom:99px;
    right:-75px;
    transform:rotate(33.03deg) scale(.5)
  }
  .film {
    padding:32px 20px
  }
  .film:before,.film:after {
    height:9px;
    background-size:40px 9px;
    background-image:linear-gradient(to right,var(--yellow) 0 20px,transparent 20px 40px)
  }
  .film:before {
    top:12px
  }
  .film:after {
    bottom:12px
  }
  .wins {
    padding:50px 0 46px
  }
  .side-face {
    top:33px;
    width:70px;
    height:290px;
    left:-32px
  }
  .win-track {
    padding:28px 20px 4px;
    scroll-padding-inline:20px;
    gap:20px
  }
  .win-card {
    width:min(340px,calc(100vw - 60px));
    flex-basis:min(340px,calc(100vw - 60px));
    border-width:6px;
    min-height:420px
  }
  .win-card h3 {
    font-size:21px;
    min-height:92px;
    padding:12px
  }
  .win-description {
    font-size:17px
  }
  .win-organizer {
    font-size:16px;
    margin-top:25px;
    max-width:65%
  }
  .win-deadline {
    font-size:22px
  }
  .new-badge {
    font-size:16px
  }
  .win-bottom {
    padding-top:18px
  }
  .detail-link {
    min-height:56px;
    font-size:16px
  }
  .application-stamp {
    transform:scale(.82);
    transform-origin:bottom right;
    right:6px;
    bottom:8px
  }
  .carousel-controls {
    gap:16px;
    margin-top:28px;
    justify-content:space-between
  }
  .carousel-progress {
    height:7px;
    width:auto;
    flex:1;
    margin-right:8px
  }
  #carousel-count {
    font-size:16px;
    min-width:42px
  }
  .news {
    grid-template-columns:30px minmax(0,1fr) 30px;
    border-width:7px;
    min-height:0
  }
  .news-inner {
    border-width:6px;
    padding:10px 14px 22px
  }
  .news-rail {
    font-size:27px;
    line-height:1;
    justify-content:space-around
  }
  .news-item {
    min-height:148px;
    padding:15px 50px 20px 0
  }
  .news-date {
    font-size:14px
  }
  .news-text {
    font-size:16px;
    gap:8px;
    align-content:center;
    margin-top:5px;
    overflow-wrap:anywhere
  }
  .news-result {
    font-size:17px;
    padding-inline:7px
  }
  .news-reaction {
    right:-4px;
    top:auto;
    bottom:23px;
    width:52px;
    height:49px
  }
  .more-news {
    font-size:16px;
    padding:8px 18px
  }
  .horse-parade {
    height:180px;
    gap:28px;
    justify-content:flex-start
  }
  .parade-horse {
    width:128px;
    height:142px;
    flex-basis:128px;
    transform:scale(.5);
    transform-origin:top left;
    left:-10px;
    margin-right:0;
    margin-top:0
  }
  .note-section {
    height:auto;
    grid-template-columns:1fr;
    border-width:7px
  }
  .note-main {
    border:0
  }
  .room-crop {
    height:auto;
    aspect-ratio:922/373
  }
  .note-caption {
    min-height:74px;
    font-size:clamp(14px,3.4vw,21px);
    padding:14px;
    gap:10px
  }
  .note-caption img {
    transform:scale(.7)
  }
  .note-comments {
    display:flex;
    border-top:6px solid var(--black);
    height:170px
  }
  .note-comments>img {
    width:50%;
    height:170px;
    object-fit:cover
  }
  .second-comment {
    width:50%;
    height:170px;
    margin:0;
    border-left:5px solid var(--black)
  }
  .second-comment img {
    height:101.87%;
    object-fit:cover
  }
  .footer {
    height:290px;
    border-bottom-width:28px;
    padding-top:36px
  }
  .footer-horse {
    width:115px;
    height:auto;
    margin-top:13px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    transition:none!important
  }
}
.footer {
  border-bottom: 0;
  padding-bottom: 51px;
}
.copyright {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 51px;
  margin: 0;
  background: var(--black);
  color: #fff;
  font: 400 12px/1 Arial, sans-serif;
  text-align: center;
}
@media (max-width: 600px) {
  .footer {
    padding-bottom: 28px;
  }
  .copyright {
    height: 28px;
  }
}
.back-to-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  margin: -8px -12px;
  color: inherit;
  text-decoration: none;
}
.back-to-top:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   hero-layout
   ========================================================================== */
/* First view: retain the Figma artwork and control its stacking explicitly. */ .hero {
  --line: clamp(2px, 1.25vw, 18px);
  grid-template-rows: minmax(0, 1fr);
}
.hero-left, .hero-main, .hero-right {
  min-width: 0;
  min-height: 0;
}
.hero-main {
  isolation: isolate;
}
.hero-kicker {
  height: 5.625cqw;
  line-height: 4.167cqw;
}
.hero-man {
  z-index: 2;
  top: auto;
  bottom: -1px;
}
.ai-mark, .don {
  z-index: 1;
}
.lucky-letters {
  display: flex;
  border-top: var(--line) solid var(--black);
  margin-top: 0;
  letter-spacing: 0;
  line-height: 1;
}
.lucky-letters span {
  flex: none;
  transform: translateY(-.04em);
}
.lucky-letters span + span {
  margin-left: -.14cqw;
}
.hero-profile {
  text-align: left;
}
.hero-name {
  margin-left: -.08em;
  margin-bottom: .75cqw;
}
.hero-reading {
  margin-left: -.5em;
}
/* Give the title and the repeated symbols separate, clipped layout tracks. */ .title-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(12px, 1.667vw, 24px);
  height: clamp(62px, 11.806vw, 170px);
  border-width: clamp(3px, 1.389vw, 20px);
}
.title-band h1 {
  font-size: clamp(36px, 9.861vw, 142px);
  margin-top: -1.389vw;
}
.band-marks {
  width: 100%;
  min-width: 0;
  height: 100%;
  gap: 2.222vw;
  padding-inline: 1.181vw;
  transform: none;
  overflow: hidden;
}
.band-mark {
  flex: 0 0 7.5vw;
  height: 7.317vw;
  position: relative;
}
.band-mark img {
  display: block;
  position: absolute;
  inset: 0 auto auto 0;
  transform: scale(var(--hero-scale, 1));
  transform-origin: top left;
}
@media (max-width: 600px) {
  .band-marks img:first-child {
    display: block;
  }
}
/* Desktop coordinates follow the 1440 × 800 Figma first view.
   Keep the artwork in normal section flow and scale its typography uniformly. */ @media (min-width: 768px) {
  .hero {
    --line: 1.25vw;
    grid-template-columns: 20.694444% 52.152778% 27.152778%;
  }
  .hero-left {
    padding-top: 5.555556cqw;
  }
  .letter-crop {
    height: 23.958333cqw;
  }
  .hero-left::after {
    content: "";
    position: absolute;
    inset: 29.513889cqw 0 auto;
    height: var(--line);
    background: var(--black);
  }
  .lucky-letters {
    position: absolute;
    display: block;
    inset: 29.930556cqw auto auto 0;
    border: 0;
    font-size: 9.444444cqw;
    line-height: normal;
    letter-spacing: .188889cqw;
  }
  .lucky-letters span {
    position: absolute;
    top: 0;
    left: .138889cqw;
    transform: none;
  }
  .lucky-letters span + span {
    left: 9.305556cqw;
    margin: 0;
  }
  .hero-kicker {
    inset: 1.041667cqw auto auto 8.055556cqw;
    width: max-content;
    height: auto;
    padding: 0;
    background: transparent;
    text-align: left;
    font-size: 2.222222cqw;
    line-height: normal;
    letter-spacing: .377778cqw;
  }
  .hero-main::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5.625cqw;
    background: var(--black);
  }
  .hero-man {
    left: 7.361111cqw;
  }
  .ai-word {
    left: 4.225cqw;
    top: 4.822917cqw;
    font-size: 5.034722cqw;
    line-height: normal;
  }
  .teki {
    left: 7.610417cqw;
    top: 8.46875cqw;
    font-size: 6.25cqw;
    line-height: normal;
  }
  .hero-profile {
    position: absolute;
    inset: 21.763889cqw 0 0;
    height: auto;
    padding: 0;
  }
  .hero-role, .hero-name, .hero-reading {
    position: absolute;
    margin: 0;
    white-space: pre;
    line-height: normal;
  }
  .hero-role {
    left: 2.083333cqw;
    top: 2.960278cqw;
    font-size: 1.666667cqw;
    letter-spacing: .033333cqw;
  }
  .hero-role > span {
    font-size: 1.527778cqw;
  }
  .hero-name {
    left: 1.666667cqw;
    top: 5.252778cqw;
    font-size: 4.583333cqw;
    letter-spacing: .091667cqw;
  }
  .hero-name br {
    display: none;
  }
  .hero-name > span {
    display: block;
  }
  .hero-name > span:last-child {
    position: absolute;
    inset: 5.833333cqw auto auto 0;
  }
  .hero-reading {
    left: 1.458333cqw;
    top: 18.377778cqw;
    font-size: 1.25cqw;
    letter-spacing: .025cqw;
  }
  .title-band {
    position: relative;
    display: block;
    height: 11.805556vw;
    border-width: 1.388889vw;
    overflow: visible;
  }
  .title-band h1 {
    position: absolute;
    left: 30.277778cqw;
    top: -3.194444cqw;
    margin: 0;
    font-size: 9.861111cqw;
    line-height: normal;
    letter-spacing: normal;
  }
  .band-marks {
    position: absolute;
    left: 1.180556cqw;
    top: .902778cqw;
    width: 26.944444cqw;
    height: 7.317083cqw;
    padding: 0;
    gap: 2.222222cqw;
    overflow: hidden;
  }
  .band-marks:last-child {
    left: 71.736111cqw;
  }
  .band-mark {
    flex-basis: 7.5cqw;
    height: 7.317083cqw;
  }
}

/* ==========================================================================
   hero-motion
   ========================================================================== */
/* Keep the settled artwork on the Figma coordinates. Animate wrappers so the
   SVG assets retain their original dimensions and responsive scale. */ .hero-main {
  z-index: 1;
}
.hero-left::after {
  display: none;
}
.lucky-letters {
  position: absolute;
  inset: 29.513889cqw 0 0;
  display: flex;
  align-items: center;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border-top: var(--line) solid var(--black);
  overflow: hidden;
  font-size: 9.444444cqw;
  line-height: 1;
  letter-spacing: .188889cqw;
}
.lucky-track, .lucky-group {
  display: flex;
  flex: none;
  align-items: center;
}
.lucky-track {
  width: max-content;
  animation: lucky-scroll 12s linear infinite;
}
.lucky-letters .lucky-group > span {
  position: static;
  inset: auto;
  flex: 0 0 9.166667cqw;
  width: 9.166667cqw;
  margin: 0;
  padding-left: .138889cqw;
  /* Shippori Mincho's ink sits slightly below the center of its line box. */ transform: translateY(-.04em);
}
.ai-bubble {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  animation: ai-bubble-turn 14s linear infinite;
}
.ai-bubble > img {
  transform: scale(var(--hero-scale, 1));
  transform-origin: top left;
}
.hero-man {
  opacity: 0;
  transform: translateX(-10px);
}
.hero-ready .hero-man {
  animation: hero-person-enter 760ms cubic-bezier(.22, .7, .3, 1) 100ms both;
}
.don {
  z-index: 10;
  width: 13.863472cqw;
  height: 10.909514cqw;
  opacity: 0;
  transform: scale(1.65) rotate(-7deg);
  transform-origin: center;
}
.hero-impact .don {
  animation: hero-don-impact 420ms cubic-bezier(.2, .65, .3, 1) 80ms both;
}
@keyframes lucky-scroll {
  to {
    transform: translateX(-50%);
  }
}
@keyframes ai-bubble-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes hero-person-enter {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes hero-don-impact {
  0% {
    opacity: 0;
    transform: scale(1.65) rotate(-7deg);
  }
  15% {
    opacity: 1;
    transform: scale(1.34) rotate(3deg);
  }
  40% {
    opacity: 1;
    transform: scale(.89) rotate(-2deg);
  }
  62% {
    opacity: 1;
    transform: scale(1.07) rotate(1deg);
  }
  80% {
    opacity: 1;
    transform: scale(.98) rotate(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lucky-track, .ai-bubble, .hero-ready .hero-man, .hero-impact .don {
    animation: none;
  }
  .hero-man, .don {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   hero-profile
   ========================================================================== */
.hero-role, .hero-name > span, .hero-reading {
  opacity: 0;
  transform: translateY(8px);
}
.hero-name > span {
  display: inline-block;
}
.hero-impact .hero-role, .hero-impact .hero-name > span, .hero-impact .hero-reading {
  animation: hero-profile-enter 420ms cubic-bezier(.22, .7, .3, 1) both;
}
.hero-impact .hero-role {
  animation-delay: 300ms;
}
.hero-impact .hero-name > span:first-child {
  animation-delay: 400ms;
}
.hero-impact .hero-name > span:last-child {
  animation-delay: 500ms;
}
.hero-impact .hero-reading {
  animation-delay: 680ms;
}
@keyframes hero-profile-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 768px) {
  .hero-name > span {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-role, .hero-name > span, .hero-reading, .hero-impact .hero-role, .hero-impact .hero-name > span, .hero-impact .hero-reading {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   title-balance
   ========================================================================== */
/* Align the visible ink, rather than the font's invisible vertical margins. */ @media (max-width: 767px) {
  .title-band h1 {
    align-self: center;
    margin: 0;
    line-height: 1;
    transform: translateY(var(--title-ink-offset, 0px));
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .title-band h1 {
    left: 50%;
    top: 50%;
    margin: 0;
    line-height: 1;
    transform: translate(-50%, -50%) translateY(var(--title-ink-offset, 0px));
  }
}

/* ==========================================================================
   story-motion
   ========================================================================== */
/* Animate an inner wrapper to preserve the artwork's responsive angle. */ .running-sound-motion {
  display: block;
  opacity: 0;
  transform: translate(-64px, 12px) skewX(-24deg) scaleX(1.4);
  transform-origin: center;
}
.running-sound.is-revealed .running-sound-motion {
  animation: shubaba-enter 480ms cubic-bezier(.18, .7, .24, 1) both;
}
@keyframes shubaba-enter {
  0% {
    opacity: 0;
    transform: translate(-64px, 12px) skewX(-24deg) scaleX(1.4);
  }
  35% {
    opacity: 1;
    transform: translate(10px, -2px) skewX(8deg) scaleX(.94);
  }
  55% {
    opacity: 1;
    transform: translate(-4px, 1px) skewX(-4deg) scaleX(1.04);
  }
  76% {
    opacity: 1;
    transform: translate(2px, 0) skewX(2deg) scaleX(.99);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .running-sound-motion, .running-sound.is-revealed .running-sound-motion {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   story-layout
   ========================================================================== */
.story-art, .story-scene, .story-sound-slot {
  display: contents;
}
@media (max-width: 1100px) {
  .story-copy {
    max-width: none;
    padding-bottom: 0;
  }
  .story-art {
    --story-scale: .6375;
    display: block;
    position: relative;
    width: min(100%, 255px);
    aspect-ratio: 400 / 510;
    margin: 32px 0 0 auto;
  }
  /* One scaled scene preserves the desktop distance, angle and proportions. */ .story-scene {
    display: block;
    position: absolute;
    inset: 0 auto auto 0;
    width: 400px;
    height: 510px;
    transform: scale(var(--story-scale));
    transform-origin: top left;
  }
  .story-art .running-man {
    position: absolute;
    inset: 90px auto auto 20px;
    width: 299px;
    height: 398px;
  }
  .story-scene .running-sound {
    position: absolute;
    inset: 61px auto auto 147.079px;
    width: 223.921px;
    height: 70.6065px;
    transform: rotate(33.03deg);
    transform-origin: center;
  }
  .running-sound-motion {
    transform: translate(32px, -6px) skewX(-14deg) scaleX(1.16);
  }
  .running-sound.is-revealed .running-sound-motion {
    animation-name: shubaba-enter-compact;
  }
}
@keyframes shubaba-enter-compact {
  0% {
    opacity: 0;
    transform: translate(32px, -6px) skewX(-14deg) scaleX(1.16);
  }
  35% {
    opacity: 1;
    transform: translate(0, 0) skewX(4deg) scaleX(.96);
  }
  55% {
    opacity: 1;
    transform: translate(4px, 0) skewX(-2deg) scaleX(1.03);
  }
  76% {
    opacity: 1;
    transform: translate(1px, 0) skewX(1deg) scaleX(.99);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 600px) {
  .story-art {
    --story-scale: .7;
    width: min(100%, 280px);
    margin-top: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .running-sound-motion, .running-sound.is-revealed .running-sound-motion {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   story-runner
   ========================================================================== */
.running-man {
  opacity: 0;
  transform: translate(var(--runner-entry-x, 100vw), 0) rotate(-5.96deg);
  transform-origin: center;
}
.story.is-running .running-man {
  animation: story-run-in 760ms cubic-bezier(.18, .65, .3, 1) both;
}
.running-sound.is-revealed .running-sound-motion {
  animation-delay: 300ms;
}
@keyframes story-run-in {
  0% {
    opacity: 0;
    transform: translate(var(--runner-entry-x, 100vw), 0) rotate(-5.96deg);
  }
  65% {
    opacity: 1;
    transform: translate(-4px, 0) rotate(-5.96deg);
  }
  84% {
    opacity: 1;
    transform: translate(1px, 0) rotate(-5.96deg);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(-5.96deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .running-man, .story.is-running .running-man {
    animation: none;
    opacity: 1;
    transform: rotate(-5.96deg);
  }
  .running-sound.is-revealed .running-sound-motion {
    animation-delay: 0s;
  }
}

/* ==========================================================================
   parade
   ========================================================================== */
.horse-parade {
  --parade-gap: 59px;
  justify-content: flex-start;
  gap: 0;
}
.horse-parade-track {
  position: relative;
  left: calc(var(--parade-gap) / -2);
  display: flex;
  flex: none;
  width: max-content;
  animation: parade-scroll 36s linear infinite;
}
.parade-group {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-around;
  min-width: 100vw;
  gap: var(--parade-gap);
  padding-inline: calc(var(--parade-gap) / 2);
}
@keyframes parade-scroll {
  to {
    transform: translateX(-50%);
  }
}
@media (min-width: 768px) {
  .horse-parade {
    margin-block: 32px;
  }
}
@media (max-width: 1100px) {
  .horse-parade {
    --parade-gap: 32px;
  }
}
@media (max-width: 600px) {
  .horse-parade {
    --parade-gap: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .horse-parade-track {
    animation: none;
  }
}

/* ==========================================================================
   x-post
   ========================================================================== */
.x-timeline {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  background: #fff;
  color: var(--black);
}
.x-timeline-widget {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.x-timeline-widget > blockquote.twitter-tweet {
  display: block;
  margin: 16px;
  padding: 20px;
  border: 1px solid #fff;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.8;
  text-underline-offset: 4px;
}
.x-timeline-widget > blockquote.twitter-tweet p {
  margin-bottom: 16px;
}
.x-timeline-widget > .twitter-tweet-rendered {
  margin-inline: auto;
}
.x-timeline-widget iframe {
  display: block;
  max-width: 100%;
  /* The official post owns its inner styles. Clip only its 1px outer border;
     the iframe keeps its full size and all post controls remain available. */
  clip-path: inset(1px round 11px);
}
.x-timeline-notice {
  margin: 0 24px 24px;
  padding: 24px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  font-size: 16px;
  line-height: 1.8;
}
.x-timeline-notice strong {
  display: block;
  margin-bottom: 12px;
}
.x-timeline-notice p {
  margin: 0;
}
.x-profile-link {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  border-top: 1px solid #fff;
  font-size: 14px;
  text-underline-offset: 4px;
}
@media (max-width: 600px) {
  .x-timeline {
    height: 461px;
    border-top: 6px solid var(--black);
  }
}

/* ==========================================================================
   wins-cards
   ========================================================================== */
.win-card h3 {
  min-height: var(--win-title-height, 0px);
}
@media (min-width: 768px) {
  .win-track {
    padding-top: 88px;
  }
}
.win-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.win-badges .application-badge, .win-badges .new-badge {
  display: inline-block;
  padding: 1px 10px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}
.win-badges .application-badge {
  background: #d9d9d9;
}
.win-badges .new-badge {
  background: var(--yellow);
}
.win-description {
  min-height: 3.4em;
}
.win-meta {
  position: relative;
  min-height: 160px;
  margin-top: 20px;
  padding-right: 0;
}
.win-meta .win-organizer {
  max-width: none;
  margin: 0 0 4px;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.win-deadline {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  column-gap: 4px;
  font-size: 22px;
  white-space: nowrap;
}
.win-deadline > time {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.deadline-clock {
  font-size: 18px;
}
.win-meta .application-stamp {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
}
.win-meta .win-organizer, .win-meta .win-deadline {
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .win-meta {
    min-height: 155px;
  }
  .win-meta .application-stamp {
    transform: scale(.75);
    transform-origin: bottom right;
  }
}

/* ==========================================================================
   wins-mobile-frame
   ========================================================================== */
.win-face-strip {
  display: none;
}
@media (max-width: 767px) {
  .wins {
    --win-face-unit: calc(100vw / 390);
    padding-block: 0;
  }
  .wins > .side-face {
    display: none;
  }
  .win-face-strip {
    display: block;
    position: relative;
    width: 100%;
    height: calc(110 * var(--win-face-unit));
    overflow: hidden;
    pointer-events: none;
  }
  .win-face-crop {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(110 * var(--win-face-unit));
    height: calc(390 * var(--win-face-unit));
    overflow: hidden;
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .win-face-crop img {
    position: absolute;
    width: 490.59%;
    height: 126.85%;
    left: -315.56%;
    top: -2.83%;
  }
  .wins .win-heading {
    margin-top: 32px;
  }
  .win-face-strip-bottom {
    margin-top: 32px;
    transform: scaleY(-1);
  }
}

/* ==========================================================================
   wins-writing-hand
   ========================================================================== */
.win-writing-hand {
  display: none;
}
@media (min-width: 768px) {
  .win-writing-hand {
    display: block;
    position: absolute;
    right: -1px;
    bottom: 0;
    z-index: 2;
    width: min(23.75vw, 342px);
    aspect-ratio: 342 / 330;
    overflow: hidden;
    pointer-events: none;
  }
  .win-writing-hand img {
    position: absolute;
    left: -23.44%;
    top: 0;
    width: 144.7%;
    height: 100%;
  }
}

/* ==========================================================================
   news-rails
   ========================================================================== */
.news-rail-track, .news-rail-group {
  display: contents;
}
.news-rail-group:last-child {
  display: none;
}
.news-item .news-reaction {
  top: auto;
  bottom: 3px;
}
@media (min-width: 768px) {
  .news {
    grid-template-columns: minmax(130px, 1fr) minmax(0, 1183px) minmax(130px, 1fr);
  }
  .news-rail {
    position: relative;
  }
  .news-rail-track {
    position: absolute;
    inset: 0 0 auto;
    display: flex;
    flex-direction: column;
    height: 200%;
    animation: news-rail-scroll 14s linear infinite;
  }
  .news-rail .news-rail-group {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex: 0 0 50%;
    height: 50%;
  }
  .news-rail span {
    flex: none;
  }
  .news-rail:first-child .news-rail-group {
    align-items: flex-end;
    padding-right: 20px;
  }
  .news-rail:last-child .news-rail-group {
    align-items: flex-start;
    padding-left: 20px;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .news {
    grid-template-columns: minmax(84px, 1fr) minmax(0, 1183px) minmax(84px, 1fr);
  }
}
@media (max-width: 767px) {
  .news {
    --news-mobile-line: clamp(6px, 1vw, 8px);
    --news-mobile-avatar: clamp(68px, 18vw, 100px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    min-height: 0;
    border-block-width: var(--news-mobile-line);
  }
  .news-rail {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    height: clamp(44px, 10vw, 68px);
    min-height: 0;
    font-size: clamp(32px, 8vw, 54px);
    line-height: 1;
  }
  .news-rail-group:last-child {
    display: contents;
  }
  .news-item {
    padding-right: calc(var(--news-mobile-avatar) + 8px);
  }
  .news-item .news-reaction {
    right: 0;
    width: var(--news-mobile-avatar);
    height: auto;
  }
  .news-inner {
    border-inline: 0;
    border-block: var(--news-mobile-line) solid var(--black);
    padding: 18px 20px 24px;
  }
}
@keyframes news-rail-scroll {
  to {
    transform: translateY(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-rail-track {
    animation: none;
  }
}

/* ==========================================================================
   news-results
   ========================================================================== */
.news-item[data-result="pending"] {
  padding-right: 140px;
}
.news-item[data-result="pending"] .news-date {
  letter-spacing: .02em;
}
.news-item[data-result="pending"] .news-text {
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 8px;
}
.news-title {
  min-width: 0;
  overflow-wrap: anywhere;
}
.news-result[data-result="pending"] {
  flex: none;
  padding-block: 2px;
  line-height: 1.25;
  letter-spacing: .02em;
  transform: rotate(-6.95deg) skewX(-.03deg);
}
.news-result[data-result="pending"] .news-result-label {
  display: block;
  transform: translateY(var(--news-badge-ink-offset, 0px));
}
.news-item[data-result="pending"] .news-reaction {
  width: 120px;
  height: 106px;
  object-fit: fill;
  object-position: center bottom;
}
@media (max-width: 767px) {
  .news-item[data-result="pending"] {
    isolation: isolate;
    padding-right: calc(var(--news-mobile-avatar) + 8px);
  }
  .news-item[data-result="pending"] .news-date, .news-item[data-result="pending"] .news-text {
    position: relative;
    z-index: 1;
  }
  .news-item[data-result="pending"] .news-reaction {
    z-index: 0;
    top: var(--news-portrait-top, 44px);
    width: auto;
    height: calc(100% - var(--news-portrait-top, 44px) - 3px);
    aspect-ratio: 120 / 106;
    pointer-events: none;
  }
}

/* ==========================================================================
   video-frame
   ========================================================================== */
.film {
  --film-band: clamp(24px, 4.166667vw, 60px);
  --film-dot-width: clamp(12px, 2.777778vw, 40px);
  --film-dot-height: clamp(6px, 1.25vw, 18px);
  padding-block: var(--film-band);
}
.film::before, .film::after {
  height: var(--film-dot-height);
  background: repeating-linear-gradient( to right, var(--yellow) 0, var(--yellow) var(--film-dot-width), transparent var(--film-dot-width), transparent calc(var(--film-dot-width) + var(--film-dot-width)) );
  background-position: center;
}
.film::before {
  top: calc((var(--film-band) - var(--film-dot-height)) / 2);
  bottom: auto;
}
.film::after {
  top: auto;
  bottom: calc((var(--film-band) - var(--film-dot-height)) / 2);
}

/* ==========================================================================
   detail-link-interaction
   ========================================================================== */
.detail-link {
  transition: background-color 160ms ease, color 160ms ease;
}
.detail-link:hover:not(:disabled) {
  background: var(--yellow);
  color: var(--black);
}
.detail-link:hover:not(:disabled) img {
  filter: brightness(0);
}
@media (prefers-reduced-motion: reduce) {
  .detail-link {
    transition: none;
  }
}

/* ==========================================================================
   note
   ========================================================================== */
@media (min-width: 601px) {
  .note-section {
    --note-frame: 18px;
    --note-caption-height: 119px;
    border-bottom: 0;
  }
  .room-crop {
    height: calc(100% - var(--note-caption-height) - var(--note-frame));
  }
  .room-crop img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  /* Include the former bottom frame in the link's actual height so both
     color states share the same visible center and clickable area. */ .note-caption {
    min-height: calc(var(--note-caption-height) + var(--note-frame));
  }
  .x-timeline {
    border-bottom: var(--note-frame) solid var(--black);
  }
}
@media (min-width: 601px) and (max-width: 1100px) {
  .note-section {
    --note-frame: 12px;
    --note-caption-height: 90px;
  }
}
.note-main {
  text-decoration: none;
}
.note-caption {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color 160ms ease;
}
.note-caption::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 650ms cubic-bezier(.2, 1.3, .35, 1);
}
.note-caption > span, .note-caption > img {
  position: relative;
  z-index: 1;
}
.note-caption > img {
  transition: filter 160ms ease;
}
.note-main:is(:hover, :focus-visible) .note-caption {
  color: var(--black);
}
.note-main:is(:hover, :focus-visible) .note-caption > img {
  filter: brightness(0);
}
.note-main:is(:hover, :focus-visible) .note-caption::before {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .note-caption, .note-caption::before, .note-caption > img {
    transition: none;
  }
}
@media (max-width: 600px) {
  .note-caption {
    font-size: clamp(17px, 4.6vw, 22px);
  }
}

/* ==========================================================================
   footer-legal
   ========================================================================== */
.footer {
  height: 367px;
  padding-bottom: 72px;
}
.footer-legal {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 72px;
  padding: 12px;
  background: var(--black);
  color: #fff;
}
.analytics-policy-link {
  margin: 0;
  color: inherit;
  font: 400 12px/1.7 var(--gothic);
  text-underline-offset: 3px;
}
.footer-legal .copyright {
  position: static;
  height: auto;
  width: 100%;
  background: transparent;
}
@media (max-width: 600px) {
  .footer {
    height: 322px;
    padding-bottom: 64px;
  }
  .footer-legal {
    min-height: 64px;
  }
}

/* ==========================================================================
   footer-wish
   ========================================================================== */
.footer {
  padding-top: 45px;
}
.back-to-top {
  --wish-scale: 1;
  display: block;
  position: relative;
  left: calc(-65.5px * var(--wish-scale));
  width: calc(279px * var(--wish-scale));
  height: calc(210px * var(--wish-scale));
  padding: 0;
  margin: 0;
}
.wish-scene {
  display: block;
  position: absolute;
  inset: 0 auto auto 0;
  width: 279px;
  height: 210px;
  transform: scale(var(--wish-scale));
  transform-origin: top left;
}
.wish-thought {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 144.929px;
  height: 70.1102px;
}
.wish-thought.can-reveal {
  opacity: 0;
  transform: translateY(10px) scale(.9);
  transform-origin: 88% 92%;
}
.wish-thought.can-reveal.is-revealed {
  animation: wish-float-in 800ms cubic-bezier(.2, .65, .35, 1) 100ms both;
}
@keyframes wish-float-in {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(.9);
  }
  65% {
    opacity: 1;
    transform: translateY(-4px) scale(1.025);
  }
  85% {
    opacity: 1;
    transform: translateY(1px) scale(.995);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.wish-thought > span {
  position: absolute;
  left: 12px;
  top: 16px;
  font: 700 16px/normal var(--mincho);
  letter-spacing: -.16px;
  white-space: nowrap;
}
.wish-scene .footer-horse {
  position: absolute;
  left: 145px;
  top: 35px;
  width: 134px;
  height: 175px;
  margin: 0;
}
@media (max-width: 600px) {
  .footer {
    padding-top: 36px;
  }
  .back-to-top {
    --wish-scale: .86;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wish-thought.can-reveal, .wish-thought.can-reveal.is-revealed {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   hero-mobile
   ========================================================================== */
.hero .hero-art-sp {
  display: none;
}
/* Coordinates follow Figma 20:581 (390 × 844). The title ends at y=811;
   the following story section supplies the remaining yellow breathing room. */ @media (max-width: 767px) {
  .hero, .title-band {
    --sp-unit: calc(100vw / 390);
  }
  .hero {
    position: relative;
    display: block;
    height: calc(695 * var(--sp-unit));
    min-height: 0;
    aspect-ratio: auto;
    --line: calc(8 * var(--sp-unit));
  }
  .hero::before, .hero::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    background: var(--black);
    z-index: 5;
  }
  .hero::before {
    top: 0;
    height: calc(50 * var(--sp-unit));
  }
  .hero::after {
    top: calc(366 * var(--sp-unit));
    height: var(--line);
  }
  .hero-left {
    position: absolute;
    left: 0;
    top: calc(50 * var(--sp-unit));
    width: calc(151 * var(--sp-unit));
    height: calc(320 * var(--sp-unit));
    border: 0;
    padding: 0;
  }
  .hero-left::before {
    inset: 0 0 auto auto;
    width: var(--line);
    height: 100%;
    z-index: 3;
  }
  .hero-left::after {
    content: "";
    display: block;
    position: absolute;
    inset: calc(198 * var(--sp-unit)) 0 auto;
    height: var(--line);
    background: var(--black);
    z-index: 3;
  }
  .letter-crop {
    position: absolute;
    inset: 0 auto auto 0;
    width: calc(147 * var(--sp-unit));
    height: calc(198 * var(--sp-unit));
  }
  .letter-crop img {
    width: 231.2%;
    height: 114.59%;
    left: -105.23%;
    top: -14.51%;
  }
  .lucky-letters {
    inset: calc(206 * var(--sp-unit)) 0 auto;
    height: calc(110 * var(--sp-unit));
    border: 0;
    font-size: calc(66 * var(--sp-unit));
    line-height: normal;
    letter-spacing: calc(1.32 * var(--sp-unit));
  }
  .lucky-letters .lucky-group > span {
    flex-basis: calc(66 * var(--sp-unit));
    width: calc(66 * var(--sp-unit));
    padding-left: calc(4 * var(--sp-unit));
    transform: none;
  }
  .hero-main, .hero-right, .hero-horse {
    display: contents;
    position: static;
    border: 0;
    padding: 0;
  }
  .hero-main::before {
    display: none;
  }
  .hero-kicker {
    inset: calc(16 * var(--sp-unit)) auto auto calc(70 * var(--sp-unit));
    width: max-content;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: calc(16 * var(--sp-unit));
    line-height: normal;
    letter-spacing: calc(2.72 * var(--sp-unit));
    text-align: left;
    z-index: 6;
  }
  .hero-profile {
    position: absolute;
    inset: calc(197 * var(--sp-unit)) 0 auto calc(147 * var(--sp-unit));
    height: calc(173 * var(--sp-unit));
    padding: calc(30 * var(--sp-unit)) calc(18 * var(--sp-unit)) calc(12 * var(--sp-unit));
    font-size: calc(13 * var(--sp-unit));
    line-height: 1.5;
    z-index: 0;
  }
  .hero-profile > p {
    display: block;
    margin-left: 0;
  }
  .hero-profile .hero-name {
    margin-block: calc(2 * var(--sp-unit)) calc(6 * var(--sp-unit));
    font-size: calc(33 * var(--sp-unit));
    line-height: 1.25;
  }
  .hero-profile .hero-reading {
    font-size: calc(10 * var(--sp-unit));
    line-height: 1.5;
  }
  .hero .hero-art-pc {
    display: none;
  }
  .hero .hero-art-sp {
    display: block;
  }
  .horse-shadow {
    left: calc(173.49 * var(--sp-unit));
    top: calc(184.91 * var(--sp-unit));
    width: calc(176.499 * var(--sp-unit));
    height: calc(37.333 * var(--sp-unit));
    z-index: 1;
  }
  .horse {
    left: calc(170.9 * var(--sp-unit));
    top: calc(50 * var(--sp-unit));
    width: calc(203.203 * var(--sp-unit));
    height: calc(162.678 * var(--sp-unit));
    z-index: 2;
  }
  .hero-dots {
    left: calc(79.08 * var(--sp-unit));
    top: calc(375 * var(--sp-unit));
    width: calc(298 * var(--sp-unit));
    height: calc(323 * var(--sp-unit));
    background-size: calc(6.4726102147 * var(--sp-unit)) calc(6.4726102147 * var(--sp-unit));
    mask-image: url("../assets/images/hero-dots-mask-mobile.webp");
    mask-position: calc(-24.081 * var(--sp-unit)) 0;
    mask-size: calc(340 * var(--sp-unit)) calc(361.595 * var(--sp-unit));
    mask-repeat: no-repeat;
    z-index: 0;
  }
  .hero-man {
    left: calc(30 * var(--sp-unit));
    top: calc(368 * var(--sp-unit));
    bottom: auto;
    width: calc(350.802 * var(--sp-unit));
    height: calc(329.558 * var(--sp-unit));
  }
  .ai-mark {
    left: calc(9 * var(--sp-unit));
    top: calc(406 * var(--sp-unit));
    width: calc(134 * var(--sp-unit));
    height: calc(134 * var(--sp-unit));
  }
  .ai-bubble > .hero-art-sp {
    transform: scale(var(--hero-sp-scale, 1));
    transform-origin: top left;
  }
  .ai-word {
    left: calc(27.18 * var(--sp-unit));
    top: calc(31.02 * var(--sp-unit));
    font-size: calc(32.383 * var(--sp-unit));
    line-height: normal;
  }
  .teki {
    left: calc(48.95 * var(--sp-unit));
    top: calc(54.47 * var(--sp-unit));
    font-size: calc(40.2 * var(--sp-unit));
    line-height: normal;
  }
  .don {
    left: calc(240 * var(--sp-unit));
    top: calc(387 * var(--sp-unit));
    width: calc(136 * var(--sp-unit));
    height: calc(136 * var(--sp-unit));
  }
  .don > .hero-art-sp {
    position: absolute;
    left: calc(2.72 * var(--sp-unit));
    top: calc(16.66 * var(--sp-unit));
    transform: scale(var(--hero-sp-scale, 1));
    transform-origin: top left;
  }
  .title-band {
    position: relative;
    display: block;
    height: calc(116 * var(--sp-unit));
    border-width: calc(8 * var(--sp-unit));
    overflow: hidden;
  }
  .title-band .band-marks {
    display: none;
  }
  .title-band h1 {
    position: absolute;
    left: calc(13 * var(--sp-unit));
    top: calc(-22 * var(--sp-unit));
    margin: 0;
    font-size: calc(92 * var(--sp-unit));
    line-height: normal;
    letter-spacing: normal;
    transform: none;
  }
}
