@charset "UTF-8";
/****************************************
Break Point Settings
****************************************/
/* Visivility depends on the device */
.pc {
  display: block;
}

@media screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }
}

.sp {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .sp {
    display: block !important;
  }
}

/*********************************************************

					　　　　初期設定

**********************************************************/
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  margin: 0 auto;
  width: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

.en {
  font-family: 'Montserrat', sans-serif;
}

body {
  margin: 0;
  overflow-x: hidden;
}

#card-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  perspective: 1000px;
  z-index: -1;
  opacity: 0.5;
}

.card-wrapper {
  position: absolute;
}

.card {
  width: 60px;
  /* JSでランダム化 */
  height: 60px;
  transform-style: preserve-3d;
  min-width: 40px;
  min-height: 62px;
}

.card .front, .card .back {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  backface-visibility: hidden;
}

.card .back {
  transform: rotateY(180deg);
}

p {
  font-size: clamp(13px, 2.34vw, 18px);
  margin-bottom: 1em;
  line-height: 2;
  text-align: justify;
}

p.tac {
  text-align: center;
}

@media screen and (max-width: 768px) {
  p.tac {
    text-align: justify;
  }
}

p .spot01 {
  background: #d9e8f5;
  padding: 0.3em 0.7em 0.5em;
  margin: 0.5em 0;
  display: inline-block;
  text-align: left;
}

p .spot01 span {
  display: inline-block;
}

p .arrow {
  display: inline-block;
  height: 1em;
  width: auto;
  transform: translateY(15%);
}

p .arrow img {
  width: 100%;
  height: 100%;
  display: block;
}

p .red {
  color: red;
  font-weight: 700;
}

h2 {
  font-size: clamp(22px, 5.46vw, 52px);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  margin: 0 auto 0.5em;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  h2 {
    white-space: wrap;
  }
  h2 span {
    display: inline-block;
  }
}

h3 {
  position: relative;
  font-size: clamp(21px, 5.46vw, 42px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  margin: 0 auto 1em;
  padding-bottom: 0.2em;
}

h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20px;
  background: url(../img/train-line.webp) repeat-x center/contain;
  z-index: -1;
  opacity: 0.3;
}

h4 {
  font-size: clamp(18px, 3.5vw, 28px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  margin: 0 auto 1em;
}

h4.mt6 {
  margin-top: min(10vw, 100px);
}

h4 span {
  display: inline-block;
}

.sec-title-img {
  font-size: clamp(21px, 5.46vw, 42px);
  height: 11vw;
  max-height: 105px;
  width: auto;
  display: block;
  margin: 0 auto 1em;
}

#card-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.subtitle-box {
  position: relative;
  width: 80%;
  aspect-ratio: 10/1;
  background: url(../img/text/text21a.webp) no-repeat bottom/contain;
  margin: 0 auto 1.5vw;
}

@media screen and (max-width: 768px) {
  .subtitle-box {
    width: 100%;
    margin-bottom: 2vw;
  }
}

.subtitle-box img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(50%, -10%);
  width: 50%;
  opacity: 0;
  transition: ease-in-out 0.5s;
}

@media screen and (max-width: 768px) {
  .subtitle-box img {
    width: 60%;
  }
}

.subtitle-box.active img {
  transform: translate(-50%, -10%);
  opacity: 1;
}

nav {
  width: 100%;
  display: block;
  font-size: clamp(13px, 2vw, 18px);
  margin: 2em auto 0;
}

@media screen and (max-width: 768px) {
  nav {
    font-size: clamp(15px, 2.33vw, 18px);
    max-width: 300px;
  }
}

nav ul {
  display: flex;
  margin: 0 auto;
  width: 100%;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  nav ul {
    display: block;
    text-align: center;
    width: 100%;
  }
}

nav ul li {
  margin-bottom: 1em;
}

nav ul li.border1 {
  border-left: 0.3em solid #0098c5;
}

nav ul li.border2 {
  border-left: 0.3em solid #eb6132;
}

nav ul li.border3 {
  border-left: 0.3em solid #fdd34d;
}

nav ul li.border4 {
  border-left: 0.3em solid #8ac898;
}

nav ul li.border5 {
  border-left: 0.3em solid #6356a4;
}

@media screen and (max-width: 768px) {
  nav ul li {
    border-right: 0;
    margin-bottom: 0.8em;
  }
  nav ul li.border1 {
    border-right: 0.3em solid #0098c5;
  }
  nav ul li.border2 {
    border-right: 0.3em solid #eb6132;
  }
  nav ul li.border3 {
    border-right: 0.3em solid #fdd34d;
  }
  nav ul li.border4 {
    border-right: 0.3em solid #8ac898;
  }
  nav ul li.border5 {
    border-right: 0.3em solid #6356a4 !important;
  }
}

nav ul li.subflex {
  display: flex;
  align-items: center;
  padding-left: 1em;
}

nav ul li:last-of-type {
  border-right: 0;
}

nav ul li a {
  display: inline-block;
  padding: 0.1em 1.5em 0.2em 0.3em;
  line-height: 1.2;
  transition: ease-in-out 0.3s;
}

@media screen and (max-width: 768px) {
  nav ul li a {
    padding: 0.1em 0 0.2em;
    display: block;
  }
}

nav ul li a:hover {
  opacity: 0.6;
}

nav ul li a img {
  height: 4em;
  width: auto;
}

@media screen and (max-width: 768px) {
  nav ul li a img {
    height: 11vw;
  }
}

img {
  width: 100%;
  height: auto;
}

.ch {
  position: relative;
  width: 100%;
  height: 50vw;
  max-height: 80vh;
  background: #0099C4 url(../img/top-back01.webp) no-repeat top center/cover;
}

@media screen and (max-width: 768px) {
  .ch {
    height: 100vw;
    max-height: none;
    margin-bottom: 2vh;
    background-size: 300%;
    overflow: hidden;
  }
}

.ch .ch-frame {
  position: absolute;
  top: 2vw;
  left: 2%;
  width: 96%;
  height: calc(100% - 4vw);
}

.ch .ch-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 75px;
  width: calc(100% - 150px);
  height: 100%;
  box-sizing: border-box;
  display: block;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

@media screen and (max-width: 768px) {
  .ch .ch-frame::after {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    width: calc(100% - 70px);
    left: 35px;
  }
}

.ch .ch-frame::before {
  content: '';
  position: absolute;
  top: 75px;
  left: 0;
  width: 100%;
  height: calc(100% - 150px);
  box-sizing: border-box;
  display: block;
  border-right: 2px solid #fff;
  border-left: 2px solid #fff;
}

@media screen and (max-width: 768px) {
  .ch .ch-frame::before {
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    top: 35px;
    height: calc(100% - 70px);
  }
}

.ch .ch-frame img {
  position: absolute;
  width: 80px;
  height: auto;
}

.ch .ch-frame img:nth-of-type(1) {
  top: 0;
  left: 0;
}

.ch .ch-frame img:nth-of-type(2) {
  top: 0;
  right: 0;
}

.ch .ch-frame img:nth-of-type(3) {
  bottom: 0;
  right: 0;
}

.ch .ch-frame img:nth-of-type(4) {
  bottom: 0;
  left: 0;
}

@media screen and (max-width: 768px) {
  .ch .ch-frame img {
    width: 40px;
  }
}

.ch .ch-back-l {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  transition: ease-in-out 0.5s 2.3s;
  transform: scale(2);
  filter: blur(20px);
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .ch .ch-back-l {
    left: -10%;
    height: 90%;
  }
}

.ch .ch-back-r {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  transition: ease-in-out 0.5s 2.3s;
  transform: scale(2);
  filter: blur(20px);
  opacity: 0;
}

@media screen and (max-width: 768px) {
  .ch .ch-back-r {
    right: -10%;
    height: 90%;
  }
}

.ch .ch-text {
  position: absolute;
  top: 3vw;
  left: 50%;
  width: 84%;
  height: auto;
  transform: translateX(-50%);
}

@media screen and (max-width: 768px) {
  .ch .ch-text {
    top: 7vw;
  }
}

.ch .img-wrap {
  position: absolute;
  bottom: -13%;
  left: 50%;
  transform: translateX(-50%);
  width: 43%;
  max-width: 850px;
  height: auto;
}

@media screen and (max-width: 768px) {
  .ch .img-wrap {
    width: 76%;
    bottom: 0;
  }
}

.ch .img-wrap .rail {
  width: 100%;
  height: auto;
}

.ch .img-wrap .train {
  position: absolute;
  bottom: 30%;
  left: 5%;
  width: 90%;
  height: auto;
  transform: scale(0.01);
  transition: ease-in-out 1s;
}

.ch .text-wrap {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  aspect-ratio: 8/1;
  max-width: 1920px;
}

@media screen and (max-width: 768px) {
  .ch .text-wrap {
    aspect-ratio: 2/1;
    top: 50%;
  }
}

.ch .text-wrap img {
  position: absolute;
  top: 0;
  width: 12.5%;
  height: auto;
  transform: rotateX(90deg);
  animation: shadow 0.5s linear 2.5s 1 forwards;
}

@keyframes shadow {
  100% {
    filter: drop-shadow(7px 7px 4px rgba(0, 0, 0, 0.5));
  }
}

@media screen and (max-width: 768px) {
  .ch .text-wrap img {
    position: static;
    width: 22.5%;
  }
}

.ch .text-wrap img.text01 {
  left: 2%;
  transition: ease-in-out 0.2s 1.2s;
}

.ch .text-wrap img.text02 {
  left: 14.7%;
  transition: ease-in-out 0.2s 1.3s;
}

.ch .text-wrap img.text03 {
  left: 27.3%;
  transition: ease-in-out 0.2s 1.4s;
}

.ch .text-wrap img.text04 {
  left: 39%;
  transition: ease-in-out 0.2s 1.5s;
}

.ch .text-wrap img.text05 {
  left: 49.7%;
  transition: ease-in-out 0.2s 1.6s;
}

.ch .text-wrap img.text06 {
  left: 57.2%;
  transition: ease-in-out 0.2s 1.7s;
}

.ch .text-wrap img.text07 {
  left: 64.2%;
  transition: ease-in-out 0.2s 1.8s;
}

.ch .text-wrap img.text08 {
  left: 73.5%;
  transition: ease-in-out 0.2s 1.9s;
}

.ch .text-wrap img.text09 {
  left: 79%;
  transition: ease-in-out 0.2s 2.0s;
}

.ch .text-wrap img.text10 {
  left: 86.2%;
  transition: ease-in-out 0.2s 2.1s;
}

.ch .text-wrap .flex {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 1%;
  margin-bottom: 1vw;
}

.ch .text-wrap .flex2 {
  position: relative;
  width: 110%;
  transform: translateX(-5%);
}

.ch .text-wrap .flex2 img {
  position: absolute;
  top: 0;
}

.ch .text-wrap .flex2 .text05 {
  left: 5%;
}

.ch .text-wrap .flex2 .text06 {
  left: 18%;
}

.ch .text-wrap .flex2 .text07 {
  left: 31%;
}

.ch .text-wrap .flex2 .text08 {
  left: 49%;
}

.ch .text-wrap .flex2 .text09 {
  left: 60%;
}

.ch .text-wrap .flex2 .text10 {
  left: 73.5%;
}

.ch.loaded .train {
  transform: scale(1);
}

.ch.loaded .text-wrap img {
  transform: rotateX(0);
}

.ch.loaded .ch-back-l {
  transform: scale(1);
  filter: blur(0);
  opacity: 1;
}

.ch.loaded .ch-back-r {
  transform: scale(1);
  filter: blur(0);
  opacity: 1;
}

.sec {
  width: 100%;
  padding: min(15vw, 240px) 0 0;
}

.sec .inner {
  width: 84%;
  max-width: 1000px;
  margin: 0 auto;
}

.sec .inner .submenu {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #0099C4;
  padding: 2.4vw 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.4vw;
}

@media screen and (max-width: 768px) {
  .sec .inner .submenu {
    padding: 5vw;
    gap: 3vw;
  }
}

.sec .inner .submenu li {
  position: relative;
  width: calc(95% / 3 - 1.6vw);
  max-width: 300px;
  background: #fff;
  border-radius: 1vw;
  padding: 20px;
}

@media screen and (max-width: 768px) {
  .sec .inner .submenu li {
    width: 500px;
    max-width: none;
    border-radius: 3vw;
    padding: 3vw;
  }
}

.sec .inner .submenu li img {
  position: absolute;
  top: 4%;
  left: 0;
  width: auto;
  height: 10vw;
  max-height: 150px;
  transform: translate(-10%, -50%);
}

@media screen and (max-width: 768px) {
  .sec .inner .submenu li img {
    height: 25vw;
    transform: translate(-10%, -16%);
  }
}

.sec .inner .submenu li .imgbox {
  width: 100%;
  aspect-ratio: 10/7;
}

@media screen and (max-width: 768px) {
  .sec .inner .submenu li .imgbox {
    aspect-ratio: 2/1;
  }
}

.sec .inner .submenu li .imgbox.i1 {
  background: url(../img/text/text22b.webp) no-repeat center/cover;
}

.sec .inner .submenu li .imgbox.i2 {
  background: url(../img/text/text23b.webp) no-repeat center/cover;
}

.sec .inner .submenu li .imgbox.i3 {
  background: url(../img/text/text24b.webp) no-repeat center/cover;
}

.sec .inner .submenu li p {
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: #EB6133;
  margin: 0.7em auto 0;
}

@media screen and (max-width: 768px) {
  .sec .inner .submenu li p {
    line-height: 1.3;
    margin-top: 2vw;
  }
}

.sec .inner .submenu li:hover img {
  animation: remove 0.4s linear 0s forwards;
}

@media screen and (max-width: 768px) {
  .sec .inner .submenu li:hover img {
    animation: none;
  }
}

@keyframes remove {
  0% {
    transform: translate(-10%, -50%);
  }
  33% {
    transform: translate(-25%, -40%);
    opacity: 0;
  }
  66% {
    transform: translate(15%, -70%);
    opacity: 0;
  }
  100% {
    transform: translate(-10%, -50%);
    opacity: 1;
  }
}

.sec .inner .flex01 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sec .inner .flex01 .imgbox {
  width: 48.5%;
  height: auto;
  background: url(../img/sec-img01.webp) no-repeat center/cover;
}

@media screen and (max-width: 768px) {
  .sec .inner .flex01 .imgbox {
    width: 100%;
    aspect-ratio: 16/9;
  }
}

.sec .inner .flex01 p {
  width: 48.5%;
  text-align: justify;
}

@media screen and (max-width: 768px) {
  .sec .inner .flex01 p {
    width: 100%;
    margin-top: 1em;
  }
}

.sec .inner .rule-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
  margin-top: min(12vw, 120px);
}

@media screen and (max-width: 768px) {
  .sec .inner .rule-wrap {
    margin-top: 15vw;
    justify-content: center;
  }
}

.sec .inner .rule-wrap .rule-logo01 {
  width: 25%;
  margin-right: 2%;
}

@media screen and (max-width: 768px) {
  .sec .inner .rule-wrap .rule-logo01 {
    display: none;
  }
}

.sec .inner .rule-wrap .rule-logo02 {
  width: 30%;
  margin-right: 2%;
}

@media screen and (max-width: 768px) {
  .sec .inner .rule-wrap .rule-logo02 {
    display: none;
  }
}

.sec .inner .rule-wrap .rule-logo03 {
  width: 18%;
  margin-right: 2%;
}

@media screen and (max-width: 768px) {
  .sec .inner .rule-wrap .rule-logo03 {
    display: none;
  }
}

.sec .inner .rule-wrap div.rule-wrap01 {
  width: 73%;
}

.sec .inner .rule-wrap div.rule-wrap02 {
  width: 68%;
}

.sec .inner .rule-wrap div.rule-wrap03 {
  width: 80%;
}

@media screen and (max-width: 768px) {
  .sec .inner .rule-wrap div {
    width: 100% !important;
  }
}

.sec .inner .rule-wrap div h4 {
  text-align: justify;
  margin-bottom: 0;
}

.sec .inner .rule-wrap div p {
  margin-top: 0.5em;
  margin-bottom: 0;
}

.sec .inner .youtube-wrap {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  margin-bottom: min(6.25vw, 60px);
}

.sec .inner .youtube-wrap iframe {
  width: 100%;
  height: 100%;
}

.sec .inner .scroll-wrap {
  overflow-x: scroll;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 5vw;
}

.sec .inner .scroll-wrap img {
  width: 90%;
  min-width: 1200px;
  margin: 0 5%;
}

@media screen and (max-width: 768px) {
  .sec .inner .scroll-wrap img {
    width: 84%;
    margin: 0 8%;
    min-width: 1000px;
  }
}

.sec .inner .flex {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sec .inner .flex.item2 {
  margin: 3vw 0;
}

.sec .inner .flex.item2 img {
  width: 47.5%;
  height: auto;
}

.sec .inner .flex.item2 img.flex-img01 {
  width: 44%;
}

.sec .inner .flex.item2 img.flex-img02 {
  width: 51%;
}

@media screen and (max-width: 768px) {
  .sec .inner .flex.item2 img {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto 3vw;
  }
}

.sec .inner .flex.item2a p {
  width: 60%;
}

@media screen and (max-width: 768px) {
  .sec .inner .flex.item2a p {
    width: 100%;
  }
}

.sec .inner .flex.item2a img {
  width: 35%;
  mix-blend-mode: multiply;
}

@media screen and (max-width: 768px) {
  .sec .inner .flex.item2a img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

.sec .inner .flex.item2b {
  font-size: 1.2em;
  align-items: flex-start;
}

@media screen and (max-width: 768px) {
  .sec .inner .flex.item2b {
    align-items: center;
  }
}

.sec .inner .flex.item2b .product {
  width: calc(96% - 18em);
}

@media screen and (max-width: 768px) {
  .sec .inner .flex.item2b .product {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .sec .inner .flex.item2b div {
    width: 100%;
    margin-top: 4vw;
  }
}

.sec .inner .flex.item2b div table {
  width: 18em;
}

.sec .inner .flex.item2b div table tr {
  border-bottom: 1px solid #999;
}

.sec .inner .flex.item2b div table tr th, .sec .inner .flex.item2b div table tr td {
  padding: 1em 0.5em;
}

.sec .inner .flex.item2b div table tr th {
  width: 6em;
}

@media screen and (max-width: 768px) {
  .sec .inner .flex.item2b div table {
    font-size: clamp(13px, 2.34vw, 18px);
    width: 100%;
  }
}

.sec .inner .flex.item2b div .logo-gdg {
  width: 12em;
  display: block;
  margin: 0 auto 1em;
}

@media screen and (max-width: 768px) {
  .sec .inner .flex.item2b div .logo-gdg {
    width: 40vw;
    margin-bottom: 1vw;
  }
}

.sec .inner .flex.item2b div .sns {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-top: 1em;
}

.sec .inner .flex.item2b div .sns a {
  width: 3em;
  display: block;
}

@media screen and (max-width: 768px) {
  .sec .inner .flex.item2b div .sns a {
    width: 15vw;
  }
}

.sec .inner .flex.item2b div .sns a img {
  width: 100%;
  height: auto;
}

.sec .inner .role-wrap {
  width: 100%;
  max-width: 700px;
  margin: min(4vw, 60px) auto 0;
}

.sec .inner .role-wrap img {
  margin-bottom: min(3vw, 45px);
}

.sec .inner .dl-button {
  margin-bottom: min(3vw, 45px);
}

.sec .inner .resise {
  position: relative;
  width: 100vw;
  height: auto;
  max-height: 100vh;
  aspect-ratio: 16 / 9;
  margin-left: calc(50% - 50vw);
  margin-bottom: 20px;
}

.sec .inner .resise .resize-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  width: 70%;
  max-width: 1200px;
  height: 100%;
  background: #000;
  transform: translateX(-50%);
  transition: ease-in-out 0.3s;
  border-radius: 5%;
  overflow: hidden;
}

.sec .inner .resise .resize-wrap .resize-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sec .inner .resise .resize-wrap #target02 {
  position: absolute;
  top: 60%;
  left: 50%;
  width: 90%;
  max-width: 1500px;
  filter: blur(100px);
  transition: ease-in-out 0.5s;
  transform: translateX(-50%) scale(2);
}

.sec .inner .resise .resize-wrap #target02.active {
  filter: blur(0);
  transform: translateX(-50%) scale(1);
}

.sec .inner .resise .resize-wrap .ex-card {
  position: absolute;
  top: 5%;
  right: 5%;
  width: 15%;
  max-width: 300px;
}

.sec .inner .resise .resize-wrap .ex-card img {
  position: absolute;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: solid 2px #000;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  transition: transform ease-in-out 0.5s;
}

.sec .inner .resise .resize-wrap .ex-card .ex-card-back {
  transform: rotateY(180deg);
}

.sec .inner .resise.active .resize-wrap {
  width: 100%;
  max-width: none;
  border-radius: 0;
  transition: ease-in-out 0.3s;
}

.sec .inner .train-wrap {
  position: relative;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .sec .inner .train-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    z-index: 2;
  }
  .sec .inner .train-wrap::before {
    content: '→scroll';
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    z-index: 2;
  }
}

@media screen and (max-width: 768px) and (max-width: 768px) {
  .sec .inner .train-wrap::before {
    left: 8%;
  }
}

.sec .inner .train-wrap .front {
  width: 100%;
  height: auto;
}

.sec .inner .train-wrap .front2 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.sec .inner .train-wrap .back {
  position: absolute;
  top: 4%;
  left: 50%;
  width: 64%;
  height: auto;
  aspect-ratio: 8/5;
  transform: translateX(-48%);
  z-index: -2;
}

.sec .inner .train-wrap .back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes boing-anim {
  10% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(1%, 0);
  }
  20% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(1%, 0);
  }
  60% {
    transform: translate(0, 0);
  }
  70% {
    transform: translate(1%, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}

.sec .inner .train-wrap #splide1 {
  position: absolute;
  top: 2%;
  left: 50%;
  z-index: -1;
  width: 65%;
  aspect-ratio: 790 / 436;
  transform: translateX(-48.5%);
  border-radius: 20px;
}

.sec .inner .map {
  mix-blend-mode: multiply;
}

.sec .inner .card-list {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #0099C4;
  padding-top: min(5.5vw, 80px);
  padding-bottom: min(5.5vw, 80px);
}

.sec .inner .card-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-99%);
  z-index: -1;
  width: 100%;
  height: min(9.5vw, 140px);
  background: #0099C4;
}

@media screen and (max-width: 768px) {
  .sec .inner .card-list {
    overflow: scroll;
    padding: calc(10vw + 40px) 0 40px;
    margin-top: -10vw;
  }
  .sec .inner .card-list::before {
    content: none;
  }
}

.sec .inner .card-list .list-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 1.1428%;
}

.sec .inner .card-list .list-inner li {
  width: 11.5%;
}

.sec .inner .card-list .list-inner li img {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .sec .inner .card-list .list-inner {
    width: 700vw;
    max-width: none;
    flex-wrap: nowrap;
    padding: 0 8%;
    gap: 10px;
  }
}

.footer {
  width: 100%;
  padding: min(12.5vw, 240px) 0 0;
}

.footer h2 {
  margin-bottom: 1em;
}

.footer img {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer p {
  text-align: center;
  margin-top: 1em;
}

@media screen and (max-width: 768px) {
  .footer p {
    width: 84%;
    margin-left: 8%;
    text-align: justify;
  }
}
