#intro,
.top-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 154px 40px 100px;
  color: #000;
  isolation: isolate;
  transition: opacity 600ms ease;
}
#intro::before, #intro::after,
.top-message::before,
.top-message::after {
  content: "";
  position: fixed;
  inset: -15%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 20% 30%, rgba(255, 226, 177, 0.32), transparent 55%), radial-gradient(ellipse at 80% 75%, rgba(255, 237, 208, 0.45), transparent 50%);
  filter: blur(40px);
  animation: intro-clouds 16s ease-in-out infinite alternate;
}
#intro::after,
.top-message::after {
  background: radial-gradient(ellipse at 70% 20%, rgba(255, 255, 255, 0.9), transparent 60%), radial-gradient(ellipse at 25% 80%, rgba(255, 234, 192, 0.25), transparent 50%);
  animation-duration: 23s;
  animation-direction: alternate-reverse;
}
#intro.leaving,
.top-message.leaving {
  opacity: 0;
}
#intro.playing #intro-message, #intro.playing > .en,
.top-message.playing #intro-message,
.top-message.playing > .en {
  visibility: visible;
}
#intro.playing h2, #intro.playing #intro-message p,
.top-message.playing h2,
.top-message.playing #intro-message p {
  animation: intro-text-in 650ms ease-out var(--intro-delay, 0ms) both;
}
#intro > .en,
.top-message > .en {
  position: fixed;
  top: 50%;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  #intro,
  .top-message {
    padding: 100px 40px 80px;
  }
  #intro > .en,
  .top-message > .en {
    font-size: 10px;
  }
}

#intro-message,
.top-message-copy {
  width: 518px;
  max-width: 100%;
  margin-block: auto;
  transform: translateY(-27px);
  font-weight: 700;
  letter-spacing: 0.1em;
}
#intro-message h2,
.top-message-copy h2 {
  font-size: 40px;
  line-height: 1.4;
  margin-bottom: 40px;
}
#intro-message p,
.top-message-copy p {
  font-size: 20px;
  line-height: 2.2;
}
@media screen and (max-width: 767px) {
  #intro-message,
  .top-message-copy {
    width: 320px;
    transform: translateY(-10px);
  }
  #intro-message h2,
  .top-message-copy h2 {
    font-size: clamp(20px, 6vw, 24px);
  }
  #intro-message p,
  .top-message-copy p {
    font-size: clamp(13px, 3.75vw, 15px);
    letter-spacing: 0.05em;
  }
}

#intro-label,
.top-message-label {
  left: calc(2.7778% + 9px);
  transform: translate(-50%, -50%) rotate(90deg);
}
@media screen and (max-width: 767px) {
  #intro-label,
  .top-message-label {
    left: 14.875px;
  }
}

#intro-copyright,
.top-message-copyright {
  right: calc(2.7778% + 9px);
  transform: translate(50%, -50%) rotate(-90deg);
}
@media screen and (max-width: 767px) {
  #intro-copyright,
  .top-message-copyright {
    right: 14.875px;
  }
}

#intro-skip {
  font-family: "Gidole", sans-serif;
  letter-spacing: 0.1em;
  transition: background-color 200ms ease;
}
#intro-skip:hover {
  background: #fff;
}
@media screen and (max-width: 767px) {
  #intro-skip {
    right: 16px;
    bottom: 16px;
  }
}

@keyframes intro-text-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes intro-clouds {
  from {
    transform: translate(-3%, -2%) scale(1);
    opacity: 0.5;
  }
  to {
    transform: translate(4%, 3%) scale(1.12);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  #intro,
  .top-message {
    transition-duration: 1ms;
  }
  #intro::before, #intro::after,
  .top-message::before,
  .top-message::after {
    animation: none;
  }
  #intro.playing h2, #intro.playing #intro-message p,
  .top-message.playing h2,
  .top-message.playing #intro-message p {
    animation-duration: 1ms;
    animation-delay: 0ms;
  }
}
#top-page {
  padding: 0;
}

.top-message {
  position: relative;
  min-height: 100svh;
  box-sizing: border-box;
  overflow: hidden;
  background: radial-gradient(ellipse closest-side, #fff 69.231%, #fff6e6 100%);
}
.top-message::before, .top-message::after,
.top-message > .en {
  position: absolute;
}

#visual-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  padding: 12px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.15em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  transition: color 200ms ease;
}
#visual-scroll::after {
  content: "";
  width: 14px;
  height: 12px;
  background: currentColor;
  transform: rotate(90deg);
  -webkit-mask: url("../image/common/arrow-right-w.svg") center/contain no-repeat;
          mask: url("../image/common/arrow-right-w.svg") center/contain no-repeat;
  animation: visual-scroll-arrow 1100ms ease-in-out infinite;
}
@media screen and (max-width: 767px) {
  #visual-scroll {
    bottom: 8px;
    font-size: 12px;
  }
}

@keyframes visual-scroll-arrow {
  0%, 100% {
    transform: translateY(-3px) rotate(90deg);
  }
  50% {
    transform: translateY(3px) rotate(90deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  #visual-scroll::after {
    animation: none;
  }
}
#top {
  position: relative;
  background: radial-gradient(ellipse closest-side, #fff 69.231%, #fff6e6 100%);
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  color: #fff;
}
#top h1 {
  position: absolute;
  left: 5.5556%;
  bottom: max(7.8125% + 56px, 176px);
  font-size: clamp(48px, 6.25vw, 90px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}
#top > p.en {
  position: absolute;
  top: 50%;
  font-size: 15px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  #top {
    min-height: 600px;
  }
  #top h1 {
    left: 8%;
    bottom: max(14.5333% + 88px, 176px);
    font-size: clamp(30px, 10vw, 40px);
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  }
  #top > p.en {
    font-size: 10px;
  }
}

#visual {
  position: absolute;
  inset: 0;
}
#visual img {
  position: absolute;
  width: 107.6389%;
  height: 100.9766%;
  max-inline-size: none;
  max-block-size: none;
  left: -3.8194%;
  top: -0.5859%;
  -o-object-fit: cover;
     object-fit: cover;
}
#visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(210.4775deg, transparent 61.739%, rgba(0, 0, 0, 0.15) 90.656%);
}
@media screen and (max-width: 767px) {
  #visual img {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -o-object-position: center;
       object-position: center;
  }
  #visual::after {
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.15));
  }
}

#visual-label {
  left: calc(2.7778% + 9px);
  transform: translate(-50%, -50%) rotate(90deg);
}
@media screen and (max-width: 767px) {
  #visual-label {
    left: 14.875px;
  }
}

#visual-copyright {
  right: calc(2.7778% + 9px);
  transform: translate(50%, -50%) rotate(-90deg);
}
@media screen and (max-width: 767px) {
  #visual-copyright {
    right: 14.875px;
  }
}

#news {
  position: absolute;
  right: 24px;
  bottom: 80px;
  width: 548px;
  max-width: calc(100% - 48px);
  display: flex;
  align-items: flex-end;
  gap: 16px;
  color: #000;
}
#news .news-panel {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex: 1;
  min-width: 0;
  padding: 16px 24px 16px 32px;
  background: #fff;
  border-radius: 40px;
  backdrop-filter: blur(10px);
}
#news h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  height: 48px;
  font-size: 20px;
  line-height: 1.2;
  color: #e60012;
}
#news ul {
  flex: 1;
  min-width: 0;
}
#news li + li {
  margin-top: 16px;
}
#news time {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}
#news p {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.1em;
}
#news:not(.open) li:not(:first-child) {
  display: none;
}
#news.open ul {
  max-height: calc(100svh - 266px);
  overflow-y: auto;
}
#news button {
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  height: 80px;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  #news {
    right: 8px;
    bottom: 64px;
    width: calc(100% - 16px);
    max-width: none;
    gap: 8px;
    align-items: flex-end;
  }
  #news .news-panel {
    padding: 8px 16px;
    gap: 16px;
    border-radius: 32px;
  }
  #news h2 {
    flex-basis: 37px;
    font-size: 16px;
    height: 58px;
  }
  #news p {
    font-size: 12px;
    line-height: 1.6;
  }
  #news button {
    flex-basis: 40px;
    height: 74px;
  }
  #news button picture img {
    width: 40px;
    height: 40px;
  }
  #news.open ul {
    max-height: calc(100svh - 206px);
  }
  #news.open button img {
    transform: rotate(180deg);
  }
}