@charset "UTF-8";
/* ================================================================ *
* MIXIN
* ================================================================ */
/* ================================================================ *
* BODY
* ================================================================ */
body {
  position: relative;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-family: "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic Pro W3", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic", "ヒラギノ角ゴ", "メイリオ", "Meiryo", "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  font-style: normal;
  color: #655007;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 800px) {
  body {
    font-size: 14px;
    line-height: 1.6;
  }
}

a:link, a:visited {
  color: #369cab;
  text-decoration: none;
  transition: all 0.3s ease-out;
}

a:active, a:hover {
  color: #8c5417;
  text-decoration: none;
}

a:focus, *:focus {
  outline: none;
}

img {
  border: none;
  outline: none;
  max-width: 100%;
}

@media (min-width: 800px) {
  .sp {
    display: none !important;
  }
}
@media (max-width: 800px) {
  .pc {
    display: none !important;
  }
}
/* ================================================================ *
* parts
* ================================================================ */
button {
  border: none;
  outline: none;
}

img {
  pointer-events: none;
}

dl {
  margin: 0;
}

.qpot {
  display: inline-block;
  font-family: "Zen Kaku Gothic New";
  font-weight: 400;
  -webkit-text-stroke: 0.4px #655007;
}
.qpot.bold {
  font-weight: 800;
  -webkit-text-stroke: 0.5px #655007;
}

.center {
  text-align: center;
}

.red {
  color: #ff1717;
}

.mb7 {
  margin-bottom: 7px;
}
@media (max-width: 800px) {
  .mb7 {
    margin-bottom: 4px;
  }
}

.mb10 {
  margin-bottom: 10px;
}
@media (max-width: 800px) {
  .mb10 {
    margin-bottom: 7px;
  }
}

.mb20 {
  margin-bottom: 20px;
}
@media (max-width: 800px) {
  .mb20 {
    margin-bottom: 10px;
  }
}

.btn, .btn-en {
  position: relative;
  z-index: 1;
  cursor: pointer;
  width: min(85%, 400px);
  border-radius: 100px;
  transition: all 0.3s ease-out;
}
.btn:before, .btn-en:before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #655007;
  border-radius: 100px;
  background: #ece8d9;
  transition: all 0.3s ease-out;
  pointer-events: none;
}
.btn:after, .btn-en:after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  border: 1px solid #655007;
  border-radius: 100px;
  -webkit-clip-path: polygon(0 0, 5.5% 0, calc(5.5% + 15px) 50%, calc(5.5% + 30px) 0, 100% 0, 100% 100%, 94.5% 100%, calc(94.5% - 25px) 50%, calc(94.5% - 50px) 100%, 0 100%);
          clip-path: polygon(0 0, 5.5% 0, calc(5.5% + 15px) 50%, calc(5.5% + 30px) 0, 100% 0, 100% 100%, 94.5% 100%, calc(94.5% - 25px) 50%, calc(94.5% - 50px) 100%, 0 100%);
  pointer-events: none;
}
.btn a, .btn-en a, .btn > p, .btn-en > p {
  display: block;
  width: 100%;
  height: 100%;
  padding: 12px 30px;
  color: #655007;
}
.btn a:before, .btn-en a:before, .btn a:after, .btn-en a:after, .btn > p:before, .btn-en > p:before, .btn > p:after, .btn-en > p:after {
  content: "";
  display: block;
  position: absolute;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  transition: all 0.3s ease-out;
}
.btn a:before, .btn-en a:before, .btn > p:before, .btn-en > p:before {
  width: 30px;
  height: 12px;
  top: -6px;
  left: 5.5%;
  background-image: url(../img/btn_obj_t.png);
}
.btn a:after, .btn-en a:after, .btn > p:after, .btn-en > p:after {
  width: 50px;
  height: 18px;
  bottom: -9px;
  right: 5.5%;
  background-image: url(../img/btn_obj_b.png);
}
.btn a span.ya, .btn-en a span.ya, .btn > p span.ya, .btn-en > p span.ya {
  font-family: "fot-tsukuaoldmin-pr6n", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Hiragino Mincho ProN", "Hiragino Mincho", "Noto Serif JP", "游明朝", "游明朝体", "Yu Mincho", "HGS明朝E", "HG明朝E", "HG明朝", "リュウミン", sans-serif;
  font-size: 50%;
  display: inline-block;
  transform: translateY(-20%) scaleX(0.8);
}
@media (min-width: 800px) {
  .btn:hover:before, .btn-en:hover:before {
    transform: translate(5px, 5px);
    background: #d7c0be;
  }
  .btn:hover a:before, .btn-en:hover a:before, .btn:hover a:after, .btn-en:hover a:after, .btn:hover > p:before, .btn-en:hover > p:before, .btn:hover > p:after, .btn-en:hover > p:after {
    transform: rotateX(180deg);
  }
}
@media (max-width: 800px) {
  .btn:after, .btn-en:after {
    -webkit-clip-path: polygon(0 0, 8% 0, calc(8% + 10px) 50%, calc(8% + 20px) 0, 100% 0, 100% 100%, 92% 100%, calc(92% - 17px) 50%, calc(92% - 34px) 100%, 0 100%);
            clip-path: polygon(0 0, 8% 0, calc(8% + 10px) 50%, calc(8% + 20px) 0, 100% 0, 100% 100%, 92% 100%, calc(92% - 17px) 50%, calc(92% - 34px) 100%, 0 100%);
  }
  .btn a, .btn-en a, .btn > p, .btn-en > p {
    padding: 5px 10px;
  }
  .btn a:before, .btn-en a:before, .btn > p:before, .btn-en > p:before {
    width: 20px;
    height: 10px;
    top: -5px;
    left: 8%;
  }
  .btn a:after, .btn-en a:after, .btn > p:after, .btn-en > p:after {
    width: 34px;
    height: 12px;
    bottom: -6px;
    right: 8%;
  }
}
.btn-en {
  font-size: 130%;
  line-height: 1.2;
}
.btn-en a, .btn-en > p {
  font-family: "matrix-ii";
  font-feature-settings: "lnum";
}
@media (max-width: 800px) {
  .btn-en {
    font-size: 17px;
    padding: 5px;
  }
}

.pp_img_btn {
  position: relative;
  z-index: 1;
  cursor: pointer;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  transition: all 0.3s ease-out;
}
.pp_img_btn:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: 36px;
  height: 36px;
  top: 5px;
  right: 5px;
  border-radius: 20px;
  background: url(../img/popup_icon.png) 45% 45% no-repeat rgba(30, 30, 45, 0.6);
  background-size: 55%;
}
@media (min-width: 800px) {
  .pp_img_btn:hover {
    transform: translateY(-2px);
  }
}
@media (max-width: 800px) {
  .pp_img_btn:after {
    width: 28px;
    height: 28px;
    top: -5px;
    right: -5px;
  }
}

.btnWrap, .btnWrap_center, .btnWrap_right {
  display: flex;
  gap: 20px;
  width: 100%;
}
.btnWrap_right {
  justify-content: flex-end;
}
.btnWrap_center {
  justify-content: center;
}
@media (max-width: 800px) {
  .btnWrap, .btnWrap_center, .btnWrap_right {
    gap: 10px;
  }
  .btnWrap_center {
    flex-wrap: wrap;
  }
}

.sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-family: "matrix-ii";
  font-feature-settings: "lnum";
}
.sns .txt {
  letter-spacing: 2px;
  text-indent: 2px;
  font-weight: 800;
  font-size: 150%;
}
.sns .ya {
  font-size: 150%;
  letter-spacing: -3px;
  padding-right: 10px;
  font-weight: 500;
}
.sns .snsbox {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.sns .snsbox > div {
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 5px;
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: 150%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 1px;
  transition: all 0.3s ease-out;
}
.sns .snsbox a {
  display: block;
  width: 100%;
  height: 100%;
}
.sns .snsbox .twitter {
  background-image: url(../img/snsicon_x_b.png);
}
.sns .snsbox .line {
  background-image: url(../img/snsicon_line.png);
}
@media (max-width: 800px) {
  .sns .snsbox {
    gap: 10px;
  }
  .sns .snsbox > div {
    width: 30px;
    height: 30px;
  }
}

.table_spec {
  text-align: left;
  width: 100%;
  font-size: 95%;
  border-top: 1px solid #655007;
  border-bottom: 1px solid #655007;
  line-height: 1.5;
}
.table_spec tr:not(:nth-last-of-type(1)) {
  border-bottom: 1px solid #655007;
}
.table_spec tr th {
  position: relative;
  font-size: 95%;
  line-height: 1.5;
  font-weight: 800;
  padding: 15px 30px;
}
.table_spec tr th:after {
  content: "";
  display: block;
  position: absolute;
  inset: 15px 0;
  border-right: 2px dotted rgba(101, 80, 7, 0.7);
  opacity: 0.7;
}
.table_spec tr td {
  padding: 15px 0 15px 1.5em;
}
.table_spec.tj4 tr th {
  width: 10em;
  padding-inline: 3em;
  text-align: justify;
  -moz-text-align-last: justify;
       text-align-last: justify;
  text-justify: inter-ideograph;
  text-justify: inter-character;
}
@media (max-width: 800px) {
  .table_spec tr th {
    padding: 8px 1em;
  }
  .table_spec tr th:after {
    inset: 8px 0;
  }
  .table_spec tr td {
    padding: 8px 0 8px 0.9em;
  }
  .table_spec.tj4 tr th {
    width: 7em;
    padding-inline: 1.5em;
  }
}

.dl_spec {
  border-bottom: 1px solid #655007;
  padding: 0;
  font-size: 95%;
}
.dl_spec dt {
  border-top: 1px solid #655007;
  font-weight: bold;
  padding: 15px 0;
  border-bottom: 2px dotted rgba(101, 80, 7, 0.7);
  line-height: 1.4;
}
.dl_spec dd {
  padding: 15px 0;
  line-height: 1.5;
}
.dl_spec dd p.fit {
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  text-align: left;
}
@media (max-width: 800px) {
  .dl_spec dt, .dl_spec dd {
    padding: 7px 0;
  }
}

.attention_txt {
  font-size: 80%;
  color: #655007;
  line-height: 1.5;
  background: rgba(101, 80, 7, 0.07);
  padding: 15px 10px;
}

.attention_dl {
  color: rgba(30, 30, 45, 0.7);
}
.attention_dl dd:has(+ dt) {
  margin-bottom: 20px;
}

.attention_ul {
  font-size: 80%;
  color: rgba(30, 30, 45, 0.7);
}
.attention_ul li {
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.2;
  margin: 4px 0;
}

.prr:not(.notdefo) {
  opacity: 0;
  transition: all 0.8s ease-out;
}
.prr:not(.notdefo).show {
  opacity: 1;
}

/* ================================================================ *
* loading
* ================================================================ */
#loading {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Hiragino Mincho ProN", "Hiragino Mincho", "Noto Serif JP", "游明朝", "游明朝体", "Yu Mincho", "HGS明朝E", "HG明朝E", "HG明朝", "リュウミン", sans-serif;
  transition: all 1.8s ease-out 0.5s;
}
#loading .txt {
  letter-spacing: 2px;
  transition: all 0.3s ease-out;
}
#loading.off {
  pointer-events: none;
  opacity: 0;
}
#loading.off .txt, #loading.off .logo {
  opacity: 0;
  filter: blur(8px);
}
@media (max-width: 800px) {
  #loading .logo {
    width: 270px;
  }
}

/*================================================================ *
* bg
* ================================================================ */
#bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(to bottom, #97d9e2 30%, #ffe3ca 90%, #ffcfbe);
  background-size: 100vw 100vh;
}
#bg .cloud {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url(../img/bg_cloud.png) 50% 20% no-repeat;
  background-size: cover;
  transition: all 0.8s ease-out;
  transform: scale(1);
  opacity: 0;
}
#bg.scroll .cloud {
  transform: scale(1.05);
  opacity: 0.8;
}
#bg .onpu {
  position: absolute;
  inset: 0;
  z-index: 3;
}
#bg .onpu span {
  position: absolute;
  display: block;
  aspect-ratio: 1/1;
  width: 150px;
}
#bg .onpu span:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  animation: onp_anm 3s ease-in-out infinite alternate;
}
#bg .onpu span:nth-of-type(1) {
  top: 0%;
  right: 4%;
  transform: scale(0.2);
  opacity: 0.7;
  filter: blur(6px);
}
#bg .onpu span:nth-of-type(1):after {
  background-image: url(../img/onpu_1.png);
}
#bg .onpu span:nth-of-type(2) {
  top: 15%;
  right: 10%;
  transform: scale(0.4);
}
#bg .onpu span:nth-of-type(2):after {
  background-image: url(../img/onpu_3.png);
  animation-delay: 0.4s;
}
#bg .onpu span:nth-of-type(3) {
  top: 45%;
  right: -1%;
  transform: scale(0.3);
}
#bg .onpu span:nth-of-type(3):after {
  background-image: url(../img/onpu_2.png);
  transform: rotate(-50deg);
  animation-delay: 1.5s;
}
#bg .onpu span:nth-of-type(4) {
  top: 38%;
  right: 20%;
  transform: scale(0.15);
  opacity: 0.5;
  filter: blur(5px);
}
#bg .onpu span:nth-of-type(4):after {
  background-image: url(../img/onpu_4.png);
  transform: rotate(-50deg);
  animation-delay: 3.5s;
}
#bg .onpu span:nth-of-type(5) {
  top: 70%;
  right: 5%;
  transform: scale(1.3);
  filter: blur(8px);
}
#bg .onpu span:nth-of-type(5):after {
  background-image: url(../img/onpu_5.png);
  transform: rotate(50deg);
  animation-delay: 2.5s;
}
#bg .onpu span:nth-of-type(6) {
  top: 68%;
  right: 22%;
  transform: scale(0.15);
  opacity: 0.5;
  filter: blur(2px);
}
#bg .onpu span:nth-of-type(6):after {
  background-image: url(../img/onpu_3.png);
  transform: rotate(80deg);
}
#bg .onpu span:nth-of-type(7) {
  top: 2%;
  left: 2%;
  transform: scale(0.9);
  filter: blur(5px);
}
#bg .onpu span:nth-of-type(7):after {
  background-image: url(../img/onpu_3.png);
  transform: rotate(-40deg);
}
#bg .onpu span:nth-of-type(8) {
  top: 25%;
  left: 20%;
  transform: scale(0.15);
  opacity: 0.5;
  filter: blur(5px);
}
#bg .onpu span:nth-of-type(8):after {
  background-image: url(../img/onpu_5.png);
  transform: rotate(80deg);
  animation-delay: 3.5s;
}
#bg .onpu span:nth-of-type(9) {
  top: 50%;
  left: 10%;
  transform: scale(0.45);
}
#bg .onpu span:nth-of-type(9):after {
  background-image: url(../img/onpu_1.png);
  transform: rotate(30deg);
  animation-delay: 0.8s;
}
#bg .onpu span:nth-of-type(10) {
  top: 35%;
  left: -2%;
  transform: scale(0.3);
}
#bg .onpu span:nth-of-type(10):after {
  background-image: url(../img/onpu_2.png);
  transform: rotate(-30deg);
  animation-delay: 1.2s;
}
#bg .onpu span:nth-of-type(11) {
  top: 73%;
  left: 18%;
  transform: scale(0.15);
  opacity: 0.7;
  filter: blur(5px);
}
#bg .onpu span:nth-of-type(11):after {
  background-image: url(../img/onpu_2.png);
  transform: rotate(20deg);
  animation-delay: 3s;
}
#bg .onpu span:nth-of-type(12) {
  top: 85%;
  left: 2%;
  transform: scale(0.15);
  opacity: 0.7;
  filter: blur(5px);
}
#bg .onpu span:nth-of-type(12):after {
  background-image: url(../img/onpu_4.png);
}
@keyframes onp_anm {
  0% {
    top: 0;
  }
  100% {
    top: 50px;
  }
}
@media (max-width: 800px) {
  #bg .cloud {
    background-image: url(../img/bg_cloud_sp.png);
  }
  #bg .onpu {
    inset: -20px 0px -20px;
    opacity: 0.8;
  }
  #bg .onpu span {
    width: 100px;
  }
}

#noise {
  position: fixed;
  inset: 0;
  z-index: 1009;
  pointer-events: none;
  background: url(../img/noise.png);
}
@media (max-width: 800px) {
  #noise {
    background-size: 250px;
  }
}

/* ================================================================ *
* common
* ================================================================ */
#container {
  min-width: 1200px;
  padding: 0;
  z-index: 3;
  text-align: center;
}
@media (max-width: 800px) {
  #container {
    min-width: 0;
  }
}

#wrapper {
  position: relative;
  overflow: clip;
}

section.pg {
  position: relative;
  z-index: 2;
}

h1, h2, h3, h4 {
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/*================================================================ *
* top
* ================================================================ */
#top {
  position: sticky;
  top: 0;
  width: 100%;
  height: max(720px, 100vh);
  background: #d7c0be;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 70px 70px 100px;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.6);
  margin-bottom: 200px;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}
#top .mado {
  position: relative;
  width: min(1000px, 100%);
  height: min(900px, 100%);
  z-index: 3;
  background: url(../img/top_mado.png) no-repeat 50% 50%;
  background-size: contain;
  padding: 20px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}
#top .mado .bg {
  position: absolute;
  inset: 1.5px;
  -webkit-mask-image: url(../img/top_mask.png);
          mask-image: url(../img/top_mask.png);
  background: #fff;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: 50% 50%;
          mask-position: 50% 50%;
  background: linear-gradient(180deg, rgb(248, 203, 188) 0%, rgb(41, 52, 86) 18.95%, rgb(50, 48, 100) 29.56%, rgb(218, 141, 137) 48.55%, rgb(228, 184, 177) 56.49%, rgb(101, 186, 214) 74.37%, rgb(148, 210, 217) 85.7%, rgb(248, 203, 188) 100%);
  background-repeat: repeat-y;
  background-size: 100% 6000px;
  animation: top_bg_anm 40s linear infinite;
}
@keyframes top_bg_anm {
  0% {
    background-position: 0 700px;
  }
  100% {
    background-position: 0 6700px;
  }
}
#top .mado .bg .cloud {
  position: absolute;
  inset: 0px -120px;
  z-index: 2;
  opacity: 0.8;
  background: url(../img/top_cloud.png) 50% 65% no-repeat;
  background-size: contain;
}
#top .mado .bg:after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  background: radial-gradient(circle at 50% 70%, transparent 50%, rgba(0, 32, 169, 0.3));
  background-size: cover;
}
#top .mado .wrap {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  -webkit-mask-image: url(../img/top_mask.png);
          mask-image: url(../img/top_mask.png);
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: 50% 50%;
          mask-position: 50% 50%;
}
#top .mado .wrap:before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-mask-image: url(../img/top_mask.png);
          mask-image: url(../img/top_mask.png);
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: 50% 50%;
          mask-position: 50% 50%;
  background: #655007;
}
#top .mado .wrap h1 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 55px 50px 75px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#top .mado .wrap h1 .ttl {
  transform: translateY(20px);
}
#top .mado .wrap h1 img {
  width: auto;
  max-height: 100%;
}
@media (min-width: 800px) {
  #top .mado .catch {
    position: absolute;
    z-index: 2;
    right: 50%;
    transform: translateX(50%);
    bottom: 1%;
    font-family: "fot-tsukuaoldmin-pr6n", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Hiragino Mincho ProN", "Hiragino Mincho", "Noto Serif JP", "游明朝", "游明朝体", "Yu Mincho", "HGS明朝E", "HG明朝E", "HG明朝", "リュウミン", sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 3px;
    text-indent: 3px;
    border-radius: 50px;
    padding: 2px 10px 4px;
    background: #ece8d9;
    border: 2px solid rgba(101, 80, 7, 0.8);
    width: 620px;
    box-shadow: inset 0 0 10px rgba(101, 80, 7, 0.3);
  }
  #top .mado .catch:after {
    content: "";
    display: block;
    position: absolute;
    inset: 2px;
    z-index: 1;
    background: #ece8d9;
    border: 1px solid #655007;
    border-radius: 50px;
    opacity: 0.7;
    box-shadow: inset 0 0 10px rgba(101, 80, 7, 0.3);
  }
  #top .mado .catch p {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-around;
  }
  #top .mado .catch p:before, #top .mado .catch p:after {
    content: "";
    display: block;
    width: 30px;
    background: url(../img/point.png) 50% 50% no-repeat;
    background-size: contain;
  }
}
@media (min-width: 800px) and (max-height: 1010px) {
  #top .mado .catch {
    bottom: -2%;
    font-size: 20px;
    width: 530px;
  }
  #top .mado .catch p:before, #top .mado .catch p:after {
    width: 25px;
  }
}
#top .sctext {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  padding: 50px 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#top .sctext span {
  display: block;
  background-position: 0 50%;
  background-repeat: repeat-x;
  flex: 1;
  min-height: 280px;
}
#top .sctext span:nth-of-type(odd) {
  background-image: url(../img/top_sctext_1.png);
  animation: top_sctext1_anm 90s linear infinite reverse;
}
#top .sctext span:nth-of-type(even) {
  background-image: url(../img/top_sctext_2.png);
  animation: top_sctext1_anm 90s linear infinite;
}
@keyframes top_sctext1_anm {
  0% {
    background-position: 0 50%;
  }
  100% {
    background-position: -2530px 50%;
  }
}
#top .waku {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  -o-border-image: url(../img/top_border.png) 135/135px/0 round;
     border-image: url(../img/top_border.png) 135/135px/0 round;
}
#top .ribbon {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: url(../img/top_ribbon_t.png) 100% 0 no-repeat, url(../img/top_ribbon_b.png) 0 100% no-repeat;
  background-size: 38% auto, 35% auto;
  transition: all 0.5s ease-out;
}
#top .mado .wrap h1 {
  transition: all 0.6s ease-out;
}
#top .mado .cloud {
  transition: all 0.6s ease-out;
}
#top.scroll {
  transform: scale(1.5);
  opacity: 0;
  pointer-events: none;
  transition: transform 1.5s ease-out, opacity 1.5s ease-out;
}
#top.scroll .ribbon {
  transform: scale(1.5);
}
#top.scroll .mado .wrap h1 {
  transform: scale(0.8);
  opacity: 0;
  transition: all 1.2s ease-out;
}
#top.scroll .mado .cloud {
  transform: scale(0.75);
  opacity: 0;
  transition: all 1.2s ease-out;
}
@media (min-width: 800px) {
  #top .scbtn {
    position: absolute;
    width: 150px;
    height: 60px;
    bottom: 15px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    overflow: hidden;
  }
  #top .scbtn a {
    position: relative;
    display: block;
    z-index: 3;
    width: 100%;
    height: 100%;
    font-family: "matrix-ii";
    font-feature-settings: "lnum";
    font-size: 15px;
    padding: 1px;
    color: #655007;
    letter-spacing: 1px;
    -webkit-text-emphasis: -1px;
            text-emphasis: -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }
  #top .scbtn a .img {
    width: 18px;
  }
  #top .scbtn a:hover .img {
    animation: scrollbtn_anm 0.8s ease-in-out infinite;
  }
  @keyframes scrollbtn_anm {
    0% {
      transform: rotateY(0deg);
    }
    100% {
      transform: rotateY(180deg);
    }
  }
  #top .scbtn:before, #top .scbtn:after {
    content: "";
    display: block;
    position: absolute;
    inset: 0 -3px -30px;
    z-index: 1;
    top: 0px;
    background: #c8afad;
    transform-origin: 0 100%;
    transform: scaleY(0.9);
    border: 1px solid #655007;
    border-radius: 200px 200px 0 0;
  }
  #top .scbtn:after {
    inset: 4px 1px -30px;
    opacity: 0.5;
  }
}
@media (max-width: 800px) {
  #top {
    height: 100svh;
    padding: 70px 40px 100px;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
  }
  #top:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100px;
    left: 0;
    bottom: -100px;
    background: #655007;
  }
  #top .mado {
    width: 100%;
    height: auto;
    margin-bottom: 0px;
    aspect-ratio: 595/827;
    background-image: url(../img/top_mado_sp.png);
    padding: 10px;
  }
  #top .mado .bg {
    -webkit-mask-image: url(../img/top_mask_sp.png);
            mask-image: url(../img/top_mask_sp.png);
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    inset: 1px;
    -webkit-mask-image: 100%;
            mask-image: 100%;
  }
  #top .mado .bg .cloud {
    background-image: url(../img/top_cloud_sp.png);
    background-size: 75% auto;
    background-position: 50% 80%;
  }
  #top .mado .wrap {
    -webkit-mask-image: url(../img/top_mask_sp.png);
            mask-image: url(../img/top_mask_sp.png);
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
  }
  #top .mado .wrap:before {
    -webkit-mask-image: url(../img/top_mask_sp.png);
            mask-image: url(../img/top_mask_sp.png);
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
  }
  #top .mado .wrap h1 {
    padding: 40px 30px 95px;
  }
  #top .mado .wrap h1 .ttl {
    transform: translateY(5px);
    padding: 0 40px;
  }
  #top .mado .catch {
    position: absolute;
    z-index: 2;
    bottom: 35px;
    font-family: "fot-tsukuaoldmin-pr6n", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Hiragino Mincho ProN", "Hiragino Mincho", "Noto Serif JP", "游明朝", "游明朝体", "Yu Mincho", "HGS明朝E", "HG明朝E", "HG明朝", "リュウミン", sans-serif;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 32, 169, 0.8);
  }
  #top .sctext {
    padding: 10px 0 10px;
  }
  #top .sctext span {
    background-size: auto 125px;
    min-height: 125px;
  }
  @keyframes top_sctext1_anm {
    0% {
      background-position: 0 50%;
    }
    100% {
      background-position: -1351px 50%;
    }
  }
  #top .waku {
    -o-border-image: url(../img/top_border.png) 135/70px/0 round;
       border-image: url(../img/top_border.png) 135/70px/0 round;
  }
  #top .ribbon {
    background-size: 65% auto, 60% auto;
  }
  #top .scbtn {
    position: absolute;
    right: 25px;
    bottom: 85px;
    z-index: 30;
    margin-bottom: -15px;
  }
  #top .scbtn a {
    font-family: "matrix-ii";
    font-feature-settings: "lnum";
    color: #655007;
    line-height: 1;
    font-size: 10px;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #top .scbtn a .img {
    order: 2;
    width: 12px;
    margin-top: -3px;
  }
  #top .scbtn a p {
    order: 1;
    writing-mode: vertical-lr;
  }
}

/*================================================================ *
* about
* ================================================================ */
#about {
  min-height: 100vh;
  padding: 120px 30px 450px;
  display: grid;
  place-items: center;
}
#about h1 {
  font-family: "matrix-ii";
  font-feature-settings: "lnum";
  font-size: 100px;
  line-height: 1;
  margin-bottom: 50px;
  letter-spacing: 15px;
  text-indent: 15px;
  opacity: 0;
  transition: all 1.5s ease-out;
}
#about h1.show {
  letter-spacing: 3px;
  text-indent: 3px;
  opacity: 1;
}
#about .catch {
  font-size: 160%;
  font-weight: 600;
  margin-bottom: 40px;
}
#about .txt {
  font-size: 115%;
  margin-bottom: 50px;
}
#about .txt p:nth-of-type(1) {
  margin-bottom: 15px;
}
#about .tag .btn, #about .tag .btn-en {
  margin-top: 5px;
  font-size: 140%;
}
#about .tag .btn p, #about .tag .btn-en p {
  padding: 10px 30px 15px;
}
@media (max-width: 800px) {
  #about {
    padding: 80px 0px 230px;
  }
  #about .pg_wrapper {
    width: 100%;
  }
  #about h1 {
    position: relative;
    height: 2lh;
    margin-bottom: 30px;
    font-size: 50px;
    letter-spacing: 8px;
    text-indent: 8px;
  }
  #about h1 p {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  #about h1.show {
    letter-spacing: 1px;
  }
  #about .catch {
    font-size: 130%;
    margin-bottom: 30px;
  }
  #about .txt {
    font-size: 100%;
  }
  #about .txt p:nth-of-type(1) {
    margin-bottom: 8px;
  }
  #about .tag > p {
    font-size: 90%;
  }
  #about .tag .btn, #about .tag .btn-en {
    width: 75%;
  }
  #about .tag .btn p, #about .tag .btn-en p {
    padding: 6px 10px;
  }
}

/* ================================================================ *
* contents
* ================================================================ */
#contents {
  position: relative;
  overflow: visible;
  transition: all 1.5s ease-out;
}
#contents .bg {
  position: absolute;
  inset: 0;
  background: #fff;
  transition: all 1.5s ease-out;
}
#contents .bg:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 409px;
  left: 0;
  top: -405px;
  background: url(../img/bg_kumo.png) 50% 0 no-repeat;
  background-size: 100% 100%;
}
#contents .bg:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 200vh;
  left: 0;
  bottom: -200vh;
  background: #fff;
}
#contents.hide {
  opacity: 0;
}
#contents .pg_wrapper {
  position: relative;
  z-index: 3;
}
#contents .pg_wrapper .h02 {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  font-family: "matrix-ii";
  font-feature-settings: "lnum";
  font-size: 90px;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(101, 80, 7, 0.5);
  text-stroke: 1px rgba(101, 80, 7, 0.5);
  color: transparent;
  letter-spacing: 3px;
}
#contents .pg_wrapper .h02:before, #contents .pg_wrapper .h02:after {
  content: "";
  display: block;
  position: absolute;
  width: 80px;
  aspect-ratio: 82/87;
  background: url(../img/contents_ttlobj.png) 50% 50% no-repeat;
  background-size: contain;
}
#contents #contents_special {
  height: 100vh;
  display: flex;
  align-items: center;
}
#contents #contents_special .sp_program_wrapper {
  display: contents;
}
@media (min-width: 800px) {
  #contents #contents_special .h02 {
    padding: 0 50px;
  }
  #contents #contents_special .h02:before {
    top: -50px;
    right: 65px;
    transform: scale(-1, -1);
  }
  #contents #contents_special .h02:after {
    bottom: -55px;
    left: 60px;
  }
}
#contents #contents_special .program-wrapper {
  position: relative;
  z-index: 3;
  transition: all 0.8s ease-out;
  width: 100%;
  margin: 0 auto;
}
#contents #contents_special .program-list {
  position: absolute;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0 60px;
}
#contents #contents_special .program_box {
  position: relative;
  width: 500px;
  height: 85vh;
  min-height: 640px;
  max-height: 800px;
}
#contents #contents_special .program_box .wrap {
  position: absolute;
  inset: 0;
  border-radius: 300px 300px 0 0;
  padding: 8px;
  background: url(../img/program_boxbg_t.png) 50% -25px no-repeat, linear-gradient(to bottom, rgba(215, 192, 190, 0.4), rgba(215, 192, 190, 0.1) 40%) rgba(255, 255, 255, 0.5);
  background-size: auto;
  box-shadow: 0 5px 30px -5px rgba(215, 192, 190, 0.8);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 5px solid #655007;
}
@media (min-width: 800px) {
  #contents #contents_special .program_box .wrap {
    opacity: 0;
    transform: translateY(200px) rotateY(90deg);
    transition: all 0.8s ease-out;
  }
  #contents #contents_special .program_box.show .wrap {
    opacity: 1;
    transform: translateY(0) rotateY(0deg);
  }
  #contents #contents_special .program_box:nth-of-type(2) .wrap {
    transition-delay: 0.1s;
  }
  #contents #contents_special .program_box:nth-of-type(3) .wrap {
    transition-delay: 0.2s;
  }
}
@media (min-width: 800px) and (min-width: 1900px) {
  #contents #contents_special .program_box:nth-of-type(4) .wrap {
    transition-delay: 0.3s;
  }
}
#contents #contents_special .program_box .box {
  position: relative;
  width: 100%;
  flex: 1;
  border-radius: 300px 300px 0 0;
  padding: 30px 10px;
  border: 4px double rgba(101, 80, 7, 0.7);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  background: url(../img/program_boxbg_b.png) 50% calc(100% - 3px) no-repeat;
}
#contents #contents_special .program_box .box:before {
  content: "";
  display: block;
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  opacity: 0.7;
  border-radius: 300px 300px 30px 30px;
  border: 1px solid #655007;
}
#contents #contents_special .program_box .box_txt {
  flex: 1;
  padding: 20px 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
}
#contents #contents_special .program_box .category {
  padding: 10px 5px;
  position: relative;
  border: 4px double rgba(101, 80, 7, 0.7);
  font-family: "matrix-ii";
  font-feature-settings: "lnum";
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  -webkit-text-stroke: 1px rgba(101, 80, 7, 0.6);
  text-stroke: 1px rgba(101, 80, 7, 0.6);
  color: rgba(215, 192, 190, 0);
  letter-spacing: 3px;
}
#contents #contents_special .program_box .category:after {
  content: "";
  display: block;
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  border: 1px solid #655007;
  opacity: 0.7;
}
#contents #contents_special .program_box .category.collaboration {
  letter-spacing: 0;
}
#contents #contents_special .program_box .category p {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 8px;
}
#contents #contents_special .program_box .category p:before, #contents #contents_special .program_box .category p:after {
  content: "";
  display: block;
  width: 30px;
  height: 15px;
  background: url(../img/point.png) 50% 50% no-repeat;
  background-size: contain;
}
#contents #contents_special .program_box .num {
  width: 140px;
  aspect-ratio: 1/1;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url(../img/topics_num_bg.png) 50% 50% no-repeat;
  background-size: contain;
}
#contents #contents_special .program_box .num .stxt {
  font-family: "matrix-ii";
  font-feature-settings: "lnum";
  font-size: 10px;
  line-height: 1;
}
#contents #contents_special .program_box .num .ltxt {
  font-family: "matrix-ii-display-inline-ext";
  font-feature-settings: "lnum";
  font-size: 46px;
  line-height: 1;
}
#contents #contents_special .program_box .gr {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  transform: scale(0.9);
}
#contents #contents_special .program_box .txt {
  width: 100%;
  position: relative;
  height: 5lh;
  padding: 0.5lh 0;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 150%;
  line-height: 1.5;
  font-weight: 600;
}
#contents #contents_special .program_box .txt:before, #contents #contents_special .program_box .txt:after {
  content: "";
  display: block;
  position: absolute;
  width: 80%;
  height: 100%;
  top: 0;
  left: 10%;
}
#contents #contents_special .program_box .txt:before {
  border-top: 2px dotted rgba(101, 80, 7, 0.8);
}
#contents #contents_special .program_box .txt:after {
  border-bottom: 2px dotted rgba(101, 80, 7, 0.8);
}
#contents #contents_special .program_box .btn-en {
  max-width: 320px;
}
@media (max-height: 800px) {
  #contents #contents_special .program_box .num {
    width: 140px;
  }
  #contents #contents_special .program_box .num .stxt {
    font-size: 9px;
  }
  #contents #contents_special .program_box .num .ltxt {
    font-size: 40px;
  }
  #contents #contents_special .program_box .txt {
    margin-bottom: 10px;
    line-height: 1.4;
  }
  #contents #contents_special .program_box .category {
    font-size: 30px;
  }
}
#contents #contents_ad {
  padding: 80px 30px 200px;
}
#contents #contents_ad .h02 {
  margin-bottom: 50px;
}
@media (min-width: 800px) {
  #contents #contents_ad .h02:before, #contents #contents_ad .h02:after {
    width: 60px;
  }
  #contents #contents_ad .h02:before {
    top: 0px;
    right: -20px;
    transform: scale(-1, -1);
  }
  #contents #contents_ad .h02:after {
    top: 0px;
    left: -20px;
    transform: scaleY(-1);
  }
}
#contents #contents_ad .btn, #contents #contents_ad .btn-en {
  margin: 0 auto;
  width: min(800px, 100%);
}
#contents #contents_ad .btn p, #contents #contents_ad .btn-en p {
  font-size: 130%;
  line-height: 1.5;
  padding: 20px 50px;
  font-weight: 600;
}
#contents #contents_ad .btn p span, #contents #contents_ad .btn-en p span {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 800px) {
  #contents {
    padding-top: 30px;
  }
  #contents .bg:before {
    background-image: url(../img/bg_kumo_sp.png);
    height: 150px;
    top: -148px;
    background-size: 100% 100%;
  }
  #contents .pg_wrapper .h02 {
    width: 100%;
    line-height: 1.08;
    font-size: 55px;
  }
  #contents .pg_wrapper .h02 span {
    display: block;
    transform: translateY(-8px);
  }
  #contents .pg_wrapper .h02:before, #contents .pg_wrapper .h02:after {
    aspect-ratio: 84/89;
    width: 45px;
    background-image: url(../img/contents_ttlobj_sp_2.png);
  }
  #contents #contents_special {
    height: 100vh;
  }
  #contents #contents_special .h02 {
    position: absolute;
    width: 100%;
    top: 25px;
    line-height: 0.95;
  }
  #contents #contents_special .h02:before {
    top: 10px;
    left: 30px;
    transform: scaleY(-1);
  }
  #contents #contents_special .h02:after {
    top: 10px;
    right: 30px;
    transform: scale(-1, -1);
  }
  #contents #contents_special .program-wrapper {
    width: calc(100% - 60px);
    padding: 150px 0 0px;
  }
  #contents #contents_special .program-list {
    gap: 0 50px;
  }
  #contents #contents_special .program_box {
    width: calc(100vw - 60px);
    height: calc(100svh - 160px);
    min-height: 400px;
    max-height: 600px;
  }
  #contents #contents_special .program_box .wrap {
    padding: 5px;
    border-width: 2px;
    background-size: 80% auto;
    background-position: 50% 0;
  }
  #contents #contents_special .program_box .box {
    background: none;
    gap: 5px;
    padding: 25px 5px;
  }
  #contents #contents_special .program_box .box:before, #contents #contents_special .program_box .box:after {
    border-radius: 300px 300px 18px 18px;
  }
  #contents #contents_special .program_box .num {
    width: 90px;
    margin-bottom: 0;
  }
  #contents #contents_special .program_box .num .stxt {
    font-size: 8px;
  }
  #contents #contents_special .program_box .num .ltxt {
    font-size: 28px;
  }
  #contents #contents_special .program_box .gr {
    transform: scale(0.7);
  }
  #contents #contents_special .program_box .txt {
    font-size: 115%;
  }
  #contents #contents_special .program_box .btn-en {
    width: 75%;
  }
  #contents #contents_special .program_box .category {
    font-size: 22px;
    line-height: 1;
    padding: 8px 10px;
  }
  #contents #contents_special .program_box .category:after {
    border-radius: 18px;
  }
  #contents #contents_special .program_box .category p:before, #contents #contents_special .program_box .category p:after {
    width: 25px;
  }
  #contents #contents_ad {
    padding: 80px 20px 100px;
  }
  #contents #contents_ad .h02 {
    margin-bottom: 30px;
  }
  #contents #contents_ad .h02:before {
    top: 0px;
    right: -5px;
    transform: scale(-1, -1);
  }
  #contents #contents_ad .h02:after {
    bottom: 10px;
    left: -5px;
  }
  #contents #contents_ad .btn p, #contents #contents_ad .btn-en p {
    font-size: 110%;
    line-height: 1.3;
    padding: 15px 30px;
  }
  #contents #contents_ad .btn p span, #contents #contents_ad .btn-en p span {
    right: 20px;
  }
}

/* ================================================================ *
* message
* ================================================================ */
#message {
  height: min(800px, 105vh);
  padding-bottom: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#message p {
  font-size: 30px;
  font-family: "fot-tsukuaoldmin-pr6n", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Hiragino Mincho ProN", "Hiragino Mincho", "Noto Serif JP", "游明朝", "游明朝体", "Yu Mincho", "HGS明朝E", "HG明朝E", "HG明朝", "リュウミン", sans-serif;
  font-weight: 600;
  text-shadow: 0 0 20px #fff;
  letter-spacing: 15px;
  text-indent: 15px;
  opacity: 0;
  transition: all 1.5s ease-out;
}
#message p.show {
  letter-spacing: 5px;
  text-indent: 5px;
  opacity: 1;
}
@media (max-width: 800px) {
  #message {
    height: min(800px, 80vh);
  }
  #message p {
    position: relative;
    font-size: 20px;
    width: 100%;
    line-height: 2;
  }
  #message p span {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
  }
}

/* ================================================================ *
* gfooter
* ================================================================ */
#gfooter {
  position: relative;
  text-align: center;
  z-index: 2;
  background: url(../img/foot_border.png) 0 0 repeat-x, #d7c0be;
  padding: 90px 50px 70px;
}
#gfooter .sns {
  margin-bottom: 40px;
}
#gfooter .btnWrap_center {
  margin-bottom: 40px;
  gap: 25px;
}
#gfooter .btnWrap_center .btn, #gfooter .btnWrap_center .btn-en {
  font-weight: 600;
  background: transparent;
}
#gfooter .btnWrap_center .btn:before, #gfooter .btnWrap_center .btn-en:before {
  background: rgba(0, 0, 0, 0.1);
}
#gfooter .btnWrap_center .btn a, #gfooter .btnWrap_center .btn-en a {
  padding: 17px 20px;
  font-size: 110%;
}
#gfooter .logo {
  margin-bottom: 20px;
}
#gfooter .copy_wrap {
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
@media (max-width: 800px) {
  #gfooter {
    background-size: 6px auto;
    padding: 50px 20px 40px;
  }
  #gfooter .sns {
    margin-bottom: 20px;
  }
  #gfooter .btnWrap_center {
    margin-bottom: 25px;
    gap: 13px;
  }
  #gfooter .btnWrap_center .btn, #gfooter .btnWrap_center .btn-en {
    width: 100%;
  }
  #gfooter .btnWrap_center .btn a, #gfooter .btnWrap_center .btn-en a {
    padding: 12px;
    font-size: 100%;
  }
  #gfooter .logo {
    width: 150px;
    margin: 0 auto 15px;
  }
  #gfooter .copy_wrap {
    flex-direction: column;
    font-size: 10px;
    gap: 3px;
  }
}

/* ================================================================ *
* popup
* ================================================================ */
#popup, #popup_movie {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1010;
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  background: #fff;
  opacity: 0;
  transition: all 0.2s ease-out;
}
#popup:before, #popup:after, #popup_movie:before, #popup_movie:after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#popup:before, #popup_movie:before {
  z-index: 15;
  -o-border-image: url(../img/top_border.png) 135/135px/0 round;
     border-image: url(../img/top_border.png) 135/135px/0 round;
}
#popup:after, #popup_movie:after {
  z-index: 16;
  background: url(../img/top_ribbon_t.png) 100% 0 no-repeat, url(../img/top_ribbon_b.png) 0 100% no-repeat;
  background-size: 28% auto, 28% auto;
}
#popup > .noise, #popup_movie > .noise {
  position: absolute;
  inset: 0;
  z-index: 18;
  pointer-events: none;
  background: url(../img/noise.png);
  -webkit-mask-image: radial-gradient(transparent 30%, #000 80%);
          mask-image: radial-gradient(transparent 30%, #000 80%);
}
@media (max-width: 800px) {
  #popup > .noise, #popup_movie > .noise {
    background-size: 250px;
  }
}
#popup > .bg, #popup_movie > .bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  background: #d7c0be;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.3);
}
#popup .close, #popup_movie .close {
  position: absolute;
  width: 200px;
  height: 80px;
  z-index: 17;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 15px 5px 0 0;
}
@media (min-width: 800px) {
  #popup .close:before, #popup .close:after, #popup_movie .close:before, #popup_movie .close:after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    aspect-ratio: 1/1;
    border-radius: 150px 150px 0 0;
  }
  #popup .close:before, #popup_movie .close:before {
    width: 192px;
    top: 0;
    left: 0;
    background: #c8afad;
    border: 2px solid #655007;
  }
  #popup .close:after, #popup_movie .close:after {
    width: 182px;
    top: 6px;
    left: 6px;
    border: 1px solid #655007;
  }
}
#popup .close .icon, #popup_movie .close .icon {
  display: block;
  position: relative;
  width: 20px;
  height: 20px;
}
#popup .close .icon:before, #popup .close .icon:after, #popup_movie .close .icon:before, #popup_movie .close .icon:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #655007;
}
#popup .close .icon:before, #popup_movie .close .icon:before {
  transform: rotate(45deg);
}
#popup .close .icon:after, #popup_movie .close .icon:after {
  transform: rotate(-45deg);
}
#popup .close p, #popup_movie .close p {
  font-family: "matrix-ii";
  font-feature-settings: "lnum";
  color: #655007;
  font-weight: 800;
  letter-spacing: 2px;
  text-indent: 2px;
  font-size: 28px;
}
#popup .content, #popup_movie .content {
  position: relative;
  width: calc(100% - 120px);
  height: calc(100% - 120px);
  z-index: 2;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transition: all 0.3s ease-out;
  opacity: 0;
  display: grid;
  place-items: center;
  padding: 40px 50px 100px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 100px rgba(101, 80, 7, 0.1);
  border: 1px solid rgba(101, 80, 7, 0.7);
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#popup .content.on, #popup_movie .content.on {
  opacity: 1;
}
#popup .content .wrapper, #popup_movie .content .wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  opacity: 0;
  transition: all 0.3s ease-out;
}
#popup .content .wrapper.on, #popup_movie .content .wrapper.on {
  opacity: 1;
}
#popup .content .loading, #popup_movie .content .loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  transition: all 0.3s ease-out;
  opacity: 1;
  letter-spacing: 2px;
  text-indent: 2px;
  font-size: 85%;
}
#popup .content .loading.on, #popup_movie .content .loading.on {
  opacity: 0;
}
#popup .content::after, #popup_movie .content::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
  width: 100%;
  height: calc(100% + 1px);
  pointer-events: none;
  box-sizing: border-box;
}
#popup .content::-webkit-scrollbar, #popup_movie .content::-webkit-scrollbar {
  display: none;
}
#popup.on, #popup_movie.on {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 800px) {
  #popup, #popup_movie {
    padding: 0;
  }
  #popup:before, #popup_movie:before {
    -o-border-image: url(../img/top_border.png) 135/70px/0 round;
       border-image: url(../img/top_border.png) 135/70px/0 round;
  }
  #popup:after, #popup_movie:after {
    background-size: 50% auto, 50% auto;
  }
  #popup > .bg, #popup_movie > .bg {
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
    -o-border-image: url(../img/top_border.png) 135/70px/0 round;
       border-image: url(../img/top_border.png) 135/70px/0 round;
  }
  #popup .close, #popup_movie .close {
    width: auto;
    height: auto;
    padding: 12px 6px 12px 8px;
    bottom: auto;
    top: 50%;
    left: auto;
    right: 8px;
    transform: translateY(-60%);
    border-radius: 0;
    background: #d7c0be;
    border: 1px solid #655007;
    border-right: none;
  }
  #popup .close:after, #popup_movie .close:after {
    content: "";
    display: block;
    position: absolute;
    inset: 2px 0 2px 2px;
    border: 1px solid #655007;
    border-right: none;
    opacity: 0.5;
  }
  #popup .close .icon, #popup_movie .close .icon {
    width: 12px;
    height: 12px;
  }
  #popup .close p, #popup_movie .close p {
    writing-mode: vertical-lr;
    font-size: 90%;
  }
  #popup .content, #popup_movie .content {
    width: calc(100% - 56px);
    height: calc(100% - 60px);
    padding: 40px 15px 40px;
  }
}

#popup.img .content {
  padding: 60px;
  margin-bottom: 10px;
  height: auto;
  width: -moz-fit-content;
  width: fit-content;
}
#popup.img .content .wrapper {
  padding: 0;
}
@media (max-width: 800px) {
  #popup.img .content {
    padding: 40px 0px;
  }
}

#popup_movie {
  padding: 0;
}
#popup_movie #movie_wrap {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  opacity: 0;
  transform: scale(1.05);
  transition: all 0.4s ease-out 0.5s;
}
#popup_movie #movie_wrap:before {
  content: "";
  display: block;
  padding-top: 56.25%;
}
#popup_movie #movie_wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}
#popup_movie #movie_wrap iframe.on {
  display: block;
}
@media (min-width: 800px) {
  #popup_movie #movie_wrap iframe {
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 800px) {
  #popup_movie #movie_wrap {
    width: 100%;
    height: auto;
  }
}
#popup_movie.on {
  top: 0;
}
#popup_movie.on #movie_wrap {
  opacity: 1;
  transform: scale(1);
}

#popup .popup_box {
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
  line-height: 1.7;
}
#popup .popup_box span.block {
  display: inline-block;
  white-space: nowrap;
}
#popup .popup_box .num {
  width: 150px;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url(../img/topics_num_bg.png) 50% 50% no-repeat;
  background-size: contain;
}
#popup .popup_box .num .stxt {
  font-family: "matrix-ii";
  font-feature-settings: "lnum";
  font-size: 11px;
  line-height: 1;
}
#popup .popup_box .num .ltxt {
  font-family: "matrix-ii-display-inline-ext";
  font-feature-settings: "lnum";
  font-size: 40px;
  line-height: 1;
}
#popup .popup_box .gr {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: -15px;
  margin-bottom: 5px;
}
#popup .popup_box h1 {
  font-size: 200%;
  font-weight: 600;
  line-height: 1.5;
}
@media (min-width: 800px) {
  #popup .popup_box h1 br:not(.popup) {
    display: none;
  }
}
#popup .popup_box .logo {
  margin-bottom: 0px;
}
#popup .popup_box .txt {
  font-size: 110%;
}
#popup .popup_box .txt p:not(:nth-last-of-type(1)) {
  margin-bottom: 15px;
}
#popup .popup_box .txt.border {
  width: min(100%, 800px);
  border-bottom: 2px dotted rgba(101, 80, 7, 0.8);
  padding: 0 20px 35px;
}
#popup .popup_box .txt.border.border_t {
  padding-top: 35px;
  border-top: 2px dotted rgba(101, 80, 7, 0.8);
}
#popup .popup_box [class^=btn-] {
  margin-top: 20px;
}
#popup .popup_box .h02 {
  width: min(100%, 800px);
  margin-bottom: 15px;
  background: #655007;
  border-radius: 20px;
  color: #d7c0be;
  font-weight: 600;
  font-size: 120%;
  line-height: 1.2;
  padding: 8px 30px;
}
#popup .popup_box .h02.en {
  font-family: "matrix-ii";
  font-feature-settings: "lnum";
  font-weight: 800;
  padding: 4px 30px;
}
#popup .popup_box .table_wrap {
  width: min(100%, 800px);
}
#popup .popup_box .table_spec {
  width: calc(100% - 20px);
  margin-inline: auto;
}
#popup .popup_box .attention {
  font-size: 80%;
  opacity: 0.8;
}
@media (min-width: 800px) {
  #popup .popup_box.program03 .logo {
    width: 230px;
  }
  #popup .popup_box.program03 .table_spec tr th {
    width: 17em;
    padding-left: 2em;
  }
}
@media (max-width: 800px) {
  #popup .popup_box {
    gap: 25px;
    font-size: 85%;
  }
  #popup .popup_box .num {
    width: 90px;
  }
  #popup .popup_box .num .stxt {
    font-size: 7px;
  }
  #popup .popup_box .num .ltxt {
    font-size: 28px;
  }
  #popup .popup_box .gr {
    transform: scale(0.6);
    margin-bottom: -5px;
    margin-top: -20px;
  }
  #popup .popup_box h1 {
    font-size: 150%;
    font-weight: 600;
    line-height: 1.4;
  }
  #popup .popup_box .logo {
    margin-bottom: 0;
  }
  #popup .popup_box .logo img {
    width: 150px;
  }
  #popup .popup_box .txt {
    line-height: 1.6;
  }
  #popup .popup_box .txt p:not(:nth-last-of-type(1)) {
    margin-bottom: 15px;
  }
  #popup .popup_box .txt.border {
    padding: 0 10px 20px;
  }
  #popup .popup_box .txt.border.border_t {
    padding-top: 20px;
  }
  #popup .popup_box .h02 {
    font-size: 100%;
    padding: 4px 0;
    margin-bottom: 10px;
  }
  #popup .popup_box [class^=btn-] {
    margin-top: 10px;
  }
  #popup .popup_box .table_spec {
    width: calc(100% - 10px);
  }
}/*# sourceMappingURL=style.css.map */