@charset 'UTF-8';

/*  fv  */
#fv {
  margin: 0 calc(50% - 50vw);
  min-height: calc(100svh - 5rem);
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  #fv {
    min-height: calc(100svh - 8rem);
  }
}
#fv h1 {
  margin-top: calc(204 / 657 * 100svh - 5rem);
  margin-bottom: calc(204 / 657 * 100svh - 5rem);
  margin-left: auto;
  margin-right: auto;
  width: calc(340 / 393 * 100vw);
}
@media screen and (min-width: 768px) {
  #fv h1 {
    margin-top: calc(169 / 768 * 100svh - 8rem);
    margin-bottom: calc(169 / 768 * 100svh - 8rem);
    margin-left: calc(61 / 1366 * 100vw);
    margin-right: calc(61 / 1366 * 100vw);
    width: calc(714 / 1366 * 100vw);
  }
}
:root:not(.loaded) #fv h1 {
  translate: -20% 0;
  opacity: 0;
}
:root.loaded #fv h1 {
  transition: 0.3s translate ease-out 0.3s, 0.9s opacity ease-out 0.3s;
}
#fv h1 img {
  width: 100%;
}
#fv .daytogo {
  display: none;
}
@media screen and (min-width: 768px) {
  #fv .daytogo {
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 14.8rem;
    height: 14.8rem;
    border-radius: 7.4rem;
    box-sizing: border-box;
    position: fixed;
    left: 5.1rem;
    bottom: 4.3rem;
    z-index: 20;
    background-color: rgb(0, 48, 127);
  }
  :root:not(.loaded) #fv .daytogo {
    translate: 0 4.3rem;
    opacity: 0;
  }
  :root.loaded #fv .daytogo {
    transition: 0.4s translate ease-out 0.8s, 0.4s opacity ease-in-out 0.8s;
  }
  #fv .daytogo p {
    padding: 0.15em 0;
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.3;
    text-align: center;
    color: rgb(255, 255, 255);
  }
  #fv .daytogo p .last {
    display: inline-block;
    vertical-align: baseline;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }
  #fv .daytogo p .num {
    padding: 0 0.025em;
    display: inline-block;
    min-width: 7.2rem;
    box-sizing: border-box;
    font-family: var(--DIN2014);
    font-size: 6.5rem;
    line-height: 0.75;
    text-align: center;
    -webkit-text-stroke: 2px;
    text-stroke: 2px;
  }
  #fv .daytogo p .num.kern {
    padding-right: 0.125em;
    letter-spacing: -0.1em;
    text-indent: -0.1em;
  }
  #fv .daytogo p .day {
    font-size: 2rem;
    line-height: 1;
  }
  #fv .daytogo .lastday {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 11.2rem;
    min-height: 4.6rem;
    border-radius: 2.3rem;
    position: absolute;
    top: calc(100% - 2.3rem);
    left: calc(100% - 5.6rem);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
    color: rgb(0, 48, 127);
    background-color: rgb(201, 226, 248);
  }
  #fv .daytogo .lastday time {
    padding-top: 0.2em;
    font-family: var(--LibreBaskerville);
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: 0;
    text-indent: 0;
  }
}
#fv .ill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -10;
}
:root:not(.loaded) #fv .ill {
  translate: 0 10%;
  opacity: 0;
}
:root.loaded #fv .ill {
  transition: 0.3s translate ease-out 0.3s, 0.9s opacity ease-out 0.3s;
}
#fv .ill .image {
  height: 100%;
  -webkit-animation: parallax linear both;
  animation: parallax linear both;
  animation-timeline: scroll(block root);
  animation-range: 0% 100%;
}
@media screen and (max-width: 767px) {
  /* sp only */
  #fv .ill .image {
    margin-left: -32%;
    margin-right: -7%;
    position: absolute;
    bottom: 0;
    height: auto;
  }
}
@media screen and (min-width: 768px) {
  #fv .ill img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center bottom;
    object-position: center bottom;
  }
}
#fv .bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -20;
}
:root:not(.loaded) #fv .bg {
  translate: -90% 0;
  opacity: 0;
}
#fv .bg .image {
  height: 100%;
  -webkit-mask-image: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 33.334%, rgb(255, 255, 255, 0) 66.666%, rgb(255, 255, 255, 0) 100%);
  mask-image: linear-gradient(to right, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 33.334%, rgb(255, 255, 255, 0) 66.666%, rgb(255, 255, 255, 0) 100%);
  -webkit-mask-size: 300%;
  mask-size: 300%;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
}
:root:not(.loaded) #fv .bg .image {
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
}
:root.loaded #fv .bg .image {
  transition: 1.2s -webkit-mask-position ease-out;
  transition: 1.2s mask-position ease-out;
  transition: 1.2s mask-position ease-out, 1.2s -webkit-mask-position ease-out;
}
#fv .bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* news */
#news {
  padding-top: 10rem;
  padding-bottom: 12rem;
}
@media screen and (min-width: 768px) {
  #news {
    padding-top: 15rem;
    padding-bottom: 15rem;
  }
}
#news h2 {
  margin: 0 auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-family: var(--LibreBaskerville);
  font-size: 5rem;
  font-weight: normal;
  line-height: 1;
  letter-spacing: calc(4.9 / 70 * 1em);
  text-indent: calc(4.9 / 70 * 1em);
  color: rgb(1, 48, 127);
}
@media screen and (min-width: 768px) {
  #news h2 {
    font-size: 7rem;
  }
}
#news.outside h2 {
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
}
#news:not(.outside) h2 {
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
  transition: 0.8s -webkit-clip-path cubic-bezier(1, 0, 0, 1);
  transition: 0.8s clip-path cubic-bezier(1, 0, 0, 1);
  transition: 0.8s clip-path cubic-bezier(1, 0, 0, 1), 0.8s -webkit-clip-path cubic-bezier(1, 0, 0, 1);
}
#news #morenews {
  display: none;
}
#news ul {
  padding: 5rem 0;
  margin: 0 auto;
  max-width: 30.1rem;
  list-style: none;
}
@media screen and (min-width: 768px) {
  #news ul {
    padding: 4.8rem 0;
    max-width: 100rem;
  }
}
#news li {
  display: flow-root;
}
@media screen and (min-width: 768px) {
  #news li {
    display: list-item;
    border-bottom: 1px solid rgb(112, 146, 179);
  }
  #news li:first-of-type {
    border-top: 1px solid rgb(112, 146, 179);
  }
}
#news li:nth-of-type(n + 4) {
  --list-height: 17rem;
  max-height: var(--list-height);
  overflow: hidden;
  will-change: max-height;
  transition: 0.4s opacity ease-out, 0.4s max-height ease-out;
}
#news #morenews:not(:checked) + ul li:nth-of-type(n + 4) {
  max-height: 0;
  opacity: 0;
}
#news li a {
  margin-bottom: 3.2rem;
  display: block;
  position: relative;
}
#news li a .thum {
  background: url(../images/bg_fv_sp.webp) no-repeat 50% 0 / cover;
}
#news li a .thum:empty {
  aspect-ratio: 227 / 120;
}
#news ul.outside li a .thum {
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
}
#news ul:not(.outside) li .thum {
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
  transition: 0.4s opacity ease-in-out 0.2s, 0.4s -webkit-clip-path ease-out 0.2s;
  transition: 0.4s clip-path ease-out 0.2s, 0.4s opacity ease-in-out 0.2s;
  transition: 0.4s clip-path ease-out 0.2s, 0.4s opacity ease-in-out 0.2s, 0.4s -webkit-clip-path ease-out 0.2s;
}
#news ul:not(.outside) li:nth-of-type(1) .thum {
  transition-delay: 0.2s, 0.2s;
}
#news ul:not(.outside) li:nth-of-type(2) .thum {
  transition-delay: 0.4s, 0.4s;
}
#news ul:not(.outside) li:nth-of-type(3) .thum {
  transition-delay: 0.6s, 0.6s;
}
#news ul:not(.outside) li:nth-of-type(4) .thum {
  transition-delay: 0.8s, 0.8s;
}
#news ul:not(.outside) li .thum .image {
  opacity: 1;
  transition: 0.4s opacity ease-in 0.5s;
}
#news ul.outside li .thum .image {
  opacity: 0;
}
#news ul:not(.outside) li:nth-of-type(1) .thum .image {
  transition-delay: 0.5s;
}
#news ul:not(.outside) li:nth-of-type(2) .thum .image {
  transition-delay: 0.7s;
}
#news ul:not(.outside) li:nth-of-type(3) .thum .image {
  transition-delay: 0.9s;
}
#news ul:not(.outside) li:nth-of-type(4) .thum .image {
  transition-delay: 1.1s;
}
@media screen and (min-width: 768px) {
  #news li a {
    padding: 2.4rem 2.2rem 2.4rem 4rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    position: static;
  }
  #news li a .thum {
    flex-basis: 22.7rem;
  }
  #news li a .text {
    padding: 0 5rem 0 5.7rem;
    flex-basis: 66.1rem;
    box-sizing: border-box;
  }
  #news li a .button {
    flex-basis: 5rem;
  }
}
#news li a:hover {
  opacity: 1;
}
#news li a > *:not(.button) {
  transition: opacity 0.2s ease-out;
}
#news li a:hover > *:not(.button) {
  opacity: 0.75;
}
#news li .image {
  width: 100%;
}
#news li .image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
}
#news li .text {
  padding-top: 1.6rem;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  #news li .text {
    padding-top: 0;
  }
}
#news li h3 {
  padding: 0.2em 0;
  margin: 0;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2em;
  font-feature-settings: "palt";
}
@media screen and (min-width: 768px) {
  #news li h3 {
    font-size: 2.1rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    box-sizing: border-box;
  }
}
#news li .desc {
  padding: 0.4em 0;
  margin-right: 5.4rem;
  min-height: 3.6em;
  font-size: 1.5rem;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  #news li .desc {
    padding: 0.35em 0 0 0;
    margin-right: 0;
    min-height: 0;
    font-size: 1.6rem;
    line-height: 1.7;
  }
}
#news li .desc p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0.1em;
}
@media screen and (min-width: 768px) {
  #news li .desc p {
    letter-spacing: 0.1em;
  }
}
#news li time {
  padding-bottom: 0.25em;
  display: block;
  order: -10;
  font-family: var(--LibreBaskerville);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  color: rgb(178, 178, 178);
}
@media screen and (min-width: 768px) {
  #news li time {
    font-size: 1.8rem;
  }
}
#news li .button {
  position: absolute;
  right: 0;
  bottom: 0;
  min-height: 6.6rem;
  align-content: center;
}
@media screen and (min-width: 768px) {
  #news li .button {
    position: static;
    right: auto;
    bottom: auto;
    min-height: 0;
  }
}
#news li .button span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: solid 1px;
  border-radius: 50%;
  box-sizing: border-box;
  transition: 0.2s background-color ease-out;
}
@media screen and (min-width: 768px) {
  #news li .button span {
    width: 5rem;
    height: 5rem;
  }
}
#news li a:hover .button span {
  color: rgb(255, 255, 255);
  background-color: rgb(1, 48, 127);
  border-color: rgb(1, 48, 127);
}
#news li .button span svg {
  width: 1rem;
}
@media screen and (min-width: 768px) {
  #news li .button span svg {
    width: 1.4rem;
  }
}
#news .more.hidden {
  display: none;
}
#news .more label {
  padding-left: 1.2rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 18rem;
  min-height: 4.5rem;
  border-radius: 2.25rem;
  border: solid 1px;
  box-sizing: border-box;
  transition: 0.2s background-color ease-out;
}
@media screen and (min-width: 768px) {
  #news .more label {
    padding-left: 1.6rem;
    min-width: 19rem;
    min-height: 5rem;
    border-radius: 2.5rem;
  }
}
#news .more label:hover {
  color: rgb(255, 255, 255);
  background-color: rgb(1, 48, 127);
  border-color: rgb(1, 48, 127);
}
#news .more label .text {
  max-width: 9.0094rem;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  text-indent: 0.05em;
  white-space: nowrap;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  #news .more label .text {
    font-size: 1.7rem;
  }
}
#news #morenews:checked ~ .more label .text::before {
  content: "\3057\307E\3046";
  display: inline-block;
  width: 100%;
  text-align: center;
}
#news .more label .arrow {
  margin-left: 1.4rem;
  display: inline-block;
  width: 1.4rem;
  height: 0.8rem;
  transform: rotate(90deg);
  transition: 0.4s transform ease-out;
}
#news #morenews:checked ~ .more label .arrow {
  transform: rotate(-90deg);
}
#news .more label svg {
  width: 100%;
  vertical-align: top;
}

/* message */
#message {
  padding: 6rem 0;
  margin: 0 calc(50% - 50vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  min-height: 105.4rem;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
  color: rgb(255, 255, 255);
  background-image: linear-gradient(to top, rgb(242, 250, 255) 0%, rgb(242, 250, 255) 100%);
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: 100% 20%;
}
#message::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -4.6px;
  right: -4.6px;
  z-index: -10;
  -webkit-filter: blur(4.6px);
  filter: blur(4.6px);
  background: url(../images/bg_message.webp) no-repeat 50% 50% / cover;
  -webkit-mask-image: linear-gradient(to bottom, rgb(255, 255, 255, 0) 0%, rgb(255, 255, 255) 20%, rgb(255, 255, 255) 80%, rgb(255, 255, 255, 0) 100%);
  mask-image: linear-gradient(to bottom, rgb(255, 255, 255, 0) 0%, rgb(255, 255, 255) 20%, rgb(255, 255, 255) 80%, rgb(255, 255, 255, 0) 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: 0 50%;
  mask-position: 0 50%;
}
#message.sub::before {
  opacity: 0;
}
#message:not(.sub)::before {
  transition: 0.8s opacity ease-in-out;
}
#message h2 {
  padding: 0 0 0.6em 0;
  margin: 0;
  font-family: "fot-tsukuaoldmin-pr6n", serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 2.2;
  letter-spacing: calc(8.84 / 52 * 1em);
  text-indent: calc(8.84 / 52 * 1em);
  text-align: center;
  text-shadow: 4px 4px 8px rgb(75, 179, 217), -4px -4px 8px rgb(75, 179, 217);
  -webkit-text-stroke: calc(1.5 / 52 * 1em);
}
@media screen and (min-width: 768px) {
  #message h2 {
    padding: 0.4em 0;
    font-size: 5.2rem;
    line-height: 1.8;
  }
}
#message h2 span {
  letter-spacing: -0.25em;
}
#message .desc {
  padding: 0.565em 0;
  font-size: 1.6rem;
  line-height: 2.13;
}
@media screen and (min-width: 768px) {
  #message .desc {
    padding: 0.75em 0;
    font-size: 2rem;
    line-height: 2.5;
  }
}
#message .desc p {
  margin: 0;
  font-family: "fot-tsukuaoldmin-pr6n", serif;
  font-weight: 600;
  letter-spacing: calc(2.8 / 20 * 1em);
  text-align: center;
  text-shadow: 4px 4px 8px rgb(75, 179, 217), -4px -4px 8px rgb(75, 179, 217);
  -webkit-text-stroke: calc(0.5 / 20 * 1em);
}
#message .desc p + p {
  margin-top: 1em;
}

/* exh */
#exh {
  padding-top: 8rem;
  padding-bottom: 12rem;
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  margin: 0 calc(50% - 50vw);
  background-color: rgb(242, 250, 255);
}
@media screen and (min-width: 768px) {
  #exh {
    padding-top: 14.4rem;
  }
}
#exh h2 {
  padding: 0.45em 0.75em;
  margin: 0 auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 48, 127);
}
#exh.outside h2 {
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
}
#exh:not(.outside) h2 {
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
  transition: 0.8s -webkit-clip-path cubic-bezier(1, 0, 0, 1);
  transition: 0.8s clip-path cubic-bezier(1, 0, 0, 1);
  transition: 0.8s clip-path cubic-bezier(1, 0, 0, 1), 0.8s -webkit-clip-path cubic-bezier(1, 0, 0, 1);
}
#exh .desc {
  padding: 1.35em 0;
  font-size: 2rem;
  line-height: 1.7;
}
@media screen and (min-width: 768px) {
  #exh .desc {
    padding: 1.25em 0;
    line-height: 1.5;
  }
}
#exh .desc p {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  text-align: center;
  color: rgb(0, 48, 127);
}
#exh .desc p em {
  font-style: normal;
  font-size: 120%;
  font-weight: bold;
  text-decoration: underline;
  -webkit-text-decoration-color: rgb(153, 216, 239);
  text-decoration-color: rgb(153, 216, 239);
  text-decoration-thickness: 0.3rem;
  text-underline-offset: 0.25em;
}
#exh .map {
  padding: 2.8rem 0 0 0;
  margin: 0 calc(50% - 50vw);
  position: relative;
  z-index: 0;
  overflow-x: scroll;
  scrollbar-color: rgb(0, 48, 127) rgb(202, 240, 247);
  scrollbar-width: thin;
}
@media screen and (min-width: 768px) {
  #exh .map {
    padding: 2.8rem 0;
    margin: 0;
    overflow: visible;
  }
}
#exh .map .simplebar-track {
  margin: 0 auto;
  width: 20rem;
  height: 0.5rem;
  border-radius: 2.5px;
  background-color: rgb(202, 240, 247);
}
#exh .map .simplebar-scrollbar {
  border-radius: 0.25rem;
  background-color: rgb(0, 48, 127);
}
#exh .map .simplebar-content {
  padding: 0 !important;
}
#exh .map::after {
  content: "scroll";
  padding-top: 2.8rem;
  padding-bottom: 1.2rem;
  display: block;
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  right: 0;
  bottom: 0;
  font-family: var(--LibreBaskerville);
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  text-align: center;
  color: rgb(0, 48, 127);
  pointer-events: none;
}
@media screen and (min-width: 768px) {
  #exh .map::after {
    content: none;
  }
}
#exh .map .back {
  position: absolute;
  top: 8.4rem;
  z-index: -10;
}
#exh .map .image {
  padding-left: 3rem;
  padding-right: 3rem;
  width: 100rem;
}
@media screen and (min-width: 768px) {
  #exh .map .image {
    padding-left: 0;
    padding-right: 0;
  }
}
#exh .map img {
  width: 100%;
}

/* trivia */
#trivia {
  padding: 16rem 0;
}
#trivia h2 {
  margin: 0 auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
}
@media screen and (min-width: 768px) {
  #trivia h2 {
    padding: 0.45em 0.75em;
    font-size: 3rem;
    color: rgb(255, 255, 255);
    background-color: rgb(0, 48, 127);
  }
}
#trivia.outside h2 {
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
}
#trivia:not(.outside) h2 {
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
  transition: 0.8s -webkit-clip-path cubic-bezier(1, 0, 0, 1);
  transition: 0.8s clip-path cubic-bezier(1, 0, 0, 1);
  transition: 0.8s clip-path cubic-bezier(1, 0, 0, 1), 0.8s -webkit-clip-path cubic-bezier(1, 0, 0, 1);
}
#trivia ul {
  padding: 3rem 0 0 0;
  margin: 0 auto;
  list-style: none;
  max-width: 30rem;
}
@media screen and (min-width: 768px) {
  #trivia ul {
    padding-top: 7rem;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: none;
  }
}
#trivia li {
  margin-top: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  font-family: var(--LibreBaskerville);
  font-size: 3rem;
  text-align: center;
  color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #trivia li {
    margin-top: 0;
    flex-basis: calc((100% - 5rem * 2) / 3);
  }
}
#trivia li:not(:has(a)) {
  background: url(../images/bg_trivia.webp) no-repeat 50% 50% / cover;
}
#trivia li a {
  padding: 9rem 0 4.4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-sizing: border-box;
  background-color: rgb(0, 48, 127);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: rgb(250, 250, 250);
  transition: 0.2s scale ease-out;
}
@media screen and (min-width: 768px) {
  #trivia li a:hover {
    scale: 0.9;
    opacity: 1;
  }
}
#trivia li a .button {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 11.3rem;
  min-height: 3.1rem;
  border-radius: 1.55rem;
  font-family: var(--NotoSansJP);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  color: rgb(0, 48, 127);
  background-color: rgb(182, 199, 232);
}

/* trivia overlay */
#trivia .overlay {
  padding: 5rem 0;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgb(222, 229, 232, 0.5);
  mix-blend-mode: normal;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow-y: auto;
  -ms-scroll-chaining: none;
  overscroll-behavior: contain;
  cursor: pointer;
}
#trivia .overlay:not(.visible) {
  opacity: 0;
  translate: -100% 0;
  transition: 0.4s opacity ease-out, 0s translate 0.4s;
}
#trivia .overlay.visible {
  transition: 0.4s opacity ease-out;
}

/* trivia modal */
#trivia .modal {
  padding: 6.6rem 2.7rem;
  margin: auto;
  width: 34rem;
  border-radius: 20px;
  box-sizing: border-box;
  position: relative;
  background-color: rgb(255, 255, 255);
  cursor: default;
}
@media screen and (min-width: 768px) {
  #trivia .modal {
    padding: 5.3rem 8.7rem;
    width: 100rem;
  }
}
#trivia .modal:not(.current) {
  position: absolute;
  bottom: 100%;
}
#trivia .modal .button {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: solid 1px rgb(0, 48, 127);
  box-sizing: border-box;
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  cursor: pointer;
  transition: 0.2s opacity ease-out;
}
@media screen and (min-width: 768px) {
  #trivia .modal .button {
    top: 2.5rem;
    right: 2.5rem;
  }
}
#trivia .modal .button:hover {
  opacity: 0.75;
}
#trivia .modal .button::before,
#trivia .modal .button::after {
  content: "";
  margin: auto;
  display: inline-block;
  width: 1.7rem;
  height: 1px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgb(0, 48, 127);
}
#trivia .modal .button::before {
  transform: rotate(45deg);
}
#trivia .modal .button::after {
  transform: rotate(-45deg);
}

/* trivia_1 */
#trivia_1 h3 {
  padding: 0.3em 0;
  margin: 0 0 1em 0;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  text-align: center;
  color: rgb(0, 48, 127);
}
#trivia_1 dl {
  margin: 0;
}
@media screen and (min-width: 768px) {
  #trivia_1 dl {
    display: flex;
    justify-content: space-between;
  }
  #trivia_1 dl > div {
    flex-basis: 24rem;
  }
}

#trivia_1 dl > div + div {
  margin-top: 4.6rem;
}
@media screen and (min-width: 768px) {
  #trivia_1 dl > div + div {
    margin-top: 0;
  }
}
#trivia_1 dt .image {
  margin: 0 auto 1.2rem auto;
  width: 22.6rem;
}
@media screen and (min-width: 768px) {
  #trivia_1 dt .image {
    margin: 0 auto 2.3rem auto;
    width: 24rem;
  }
}
#trivia_1 dt .image img {
  width: 100%;
}
#trivia_1 dt p {
  padding: 0.2em 0;
  margin: 0;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: calc(1.32 / 22 * 1em);
  text-indent: calc(1.32 / 22 * 1em);
  text-align: center;
  color: rgb(0, 48, 127);
}
#trivia_1 dd {
  padding: 0.4em 0;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.8;
}
@media screen and (min-width: 768px) {
  #trivia_1 dd {
    padding: 0.44em 0;
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.88;
  }
}
#trivia_1 dd p {
  margin: 0;
  letter-spacing: 0.05em;
  text-align: justify;
  font-feature-settings: "palt";
  letter-spacing: 0.12em;
}

/* gacha */
#gacha {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 50rem;
  border-radius: 20px;
  box-sizing: border-box;
  background: rgb(240, 246, 250) url(../images/bg_gacha.svg) no-repeat 50% 4.6rem / 30rem auto;
}
@media screen and (min-width: 768px) {
  #gacha {
    padding: 0 min(50vw - 50% - 5.8rem, 12.5rem);
    margin: 0 max(50% - 50vw + 5.8rem, -12.5rem);
  }
}
#gacha h2 {
  padding: 1.8rem 0;
  margin: 0;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
}
@media screen and (min-width: 768px) {
  #gacha h2 {
    font-size: 3rem;
  }
}
#gacha.outside h2 {
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
}
#gacha:not(.outside) h2 {
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
  transition: 0.8s -webkit-clip-path cubic-bezier(1, 0, 0, 1);
  transition: 0.8s clip-path cubic-bezier(1, 0, 0, 1);
  transition: 0.8s clip-path cubic-bezier(1, 0, 0, 1), 0.8s -webkit-clip-path cubic-bezier(1, 0, 0, 1);
}
#gacha p {
  padding: 3.6rem 0;
  margin: 0;
  font-family: var(--LibreBaskerville);
  font-size: 4rem;
  letter-spacing: 0.05em;
  line-height: 1;
  text-indent: 0.05em;
  color: rgb(112, 146, 179);
}
@media screen and (min-width: 768px) {
  #gacha p {
    font-size: 5rem;
  }
}
