/* ———————————————————————— LOADING START ———————————————————————— */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFF6EF;
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity .3s, visibility .3s;
  transition: opacity .3s, visibility .3s;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  --square: 26px;
  --offset: 30px;
  --duration: 2.4s;
  --delay: 0.2s;
  --timing-function: ease-in-out;
  --in-duration: 0.4s;
  --in-delay: 0.1s;
  --in-timing-function: ease-out;

  width: calc(3 * var(--offset) + var(--square));
  height: calc(2 * var(--offset) + var(--square));
  padding: 0px;
  margin: 0 auto;
  position: relative;
}

.loading-spinner div {
  display: inline-block;
  background: #9F2B30;
  border: none;
  border-radius: 2px;
  width: var(--square);
  height: var(--square);
  position: absolute;
  padding: 0px;
  margin: 0px;
  font-size: 6pt;
  color: black;
}

.loading-spinner #square1 {
  left: calc(0 * var(--offset));
  top: calc(0 * var(--offset));
  animation: square1 var(--duration) var(--delay) var(--timing-function) infinite,
    squarefadein var(--in-duration) calc(1 * var(--in-delay)) var(--in-timing-function) both;
}

.loading-spinner #square2 {
  left: calc(0 * var(--offset));
  top: calc(1 * var(--offset));
  animation: square2 var(--duration) var(--delay) var(--timing-function) infinite,
    squarefadein var(--in-duration) calc(1 * var(--in-delay)) var(--in-timing-function) both;
}

.loading-spinner #square3 {
  left: calc(1 * var(--offset));
  top: calc(1 * var(--offset));
  animation: square3 var(--duration) var(--delay) var(--timing-function) infinite,
    squarefadein var(--in-duration) calc(2 * var(--in-delay)) var(--in-timing-function) both;
}

.loading-spinner #square4 {
  left: calc(2 * var(--offset));
  top: calc(1 * var(--offset));
  animation: square4 var(--duration) var(--delay) var(--timing-function) infinite,
    squarefadein var(--in-duration) calc(3 * var(--in-delay)) var(--in-timing-function) both;
}

.loading-spinner #square5 {
  left: calc(3 * var(--offset));
  top: calc(1 * var(--offset));
  animation: square5 var(--duration) var(--delay) var(--timing-function) infinite,
    squarefadein var(--in-duration) calc(4 * var(--in-delay)) var(--in-timing-function) both;
}

@keyframes square1 {
  0% {
    left: calc(0 * var(--offset));
    top: calc(0 * var(--offset));
  }

  8.333% {
    left: calc(0 * var(--offset));
    top: calc(1 * var(--offset));
  }

  100% {
    left: calc(0 * var(--offset));
    top: calc(1 * var(--offset));
  }
}

@keyframes square2 {
  0% {
    left: calc(0 * var(--offset));
    top: calc(1 * var(--offset));
  }

  8.333% {
    left: calc(0 * var(--offset));
    top: calc(2 * var(--offset));
  }

  16.67% {
    left: calc(1 * var(--offset));
    top: calc(2 * var(--offset));
  }

  25.00% {
    left: calc(1 * var(--offset));
    top: calc(1 * var(--offset));
  }

  83.33% {
    left: calc(1 * var(--offset));
    top: calc(1 * var(--offset));
  }

  91.67% {
    left: calc(1 * var(--offset));
    top: calc(0 * var(--offset));
  }

  100% {
    left: calc(0 * var(--offset));
    top: calc(0 * var(--offset));
  }
}

@keyframes square3 {

  0%,
  100% {
    left: calc(1 * var(--offset));
    top: calc(1 * var(--offset));
  }

  16.67% {
    left: calc(1 * var(--offset));
    top: calc(1 * var(--offset));
  }

  25.00% {
    left: calc(1 * var(--offset));
    top: calc(0 * var(--offset));
  }

  33.33% {
    left: calc(2 * var(--offset));
    top: calc(0 * var(--offset));
  }

  41.67% {
    left: calc(2 * var(--offset));
    top: calc(1 * var(--offset));
  }

  66.67% {
    left: calc(2 * var(--offset));
    top: calc(1 * var(--offset));
  }

  75.00% {
    left: calc(2 * var(--offset));
    top: calc(2 * var(--offset));
  }

  83.33% {
    left: calc(1 * var(--offset));
    top: calc(2 * var(--offset));
  }

  91.67% {
    left: calc(1 * var(--offset));
    top: calc(1 * var(--offset));
  }
}

@keyframes square4 {
  0% {
    left: calc(2 * var(--offset));
    top: calc(1 * var(--offset));
  }

  33.33% {
    left: calc(2 * var(--offset));
    top: calc(1 * var(--offset));
  }

  41.67% {
    left: calc(2 * var(--offset));
    top: calc(2 * var(--offset));
  }

  50.00% {
    left: calc(3 * var(--offset));
    top: calc(2 * var(--offset));
  }

  58.33% {
    left: calc(3 * var(--offset));
    top: calc(1 * var(--offset));
  }

  100% {
    left: calc(3 * var(--offset));
    top: calc(1 * var(--offset));
  }
}

@keyframes square5 {
  0% {
    left: calc(3 * var(--offset));
    top: calc(1 * var(--offset));
  }

  50.00% {
    left: calc(3 * var(--offset));
    top: calc(1 * var(--offset));
  }

  58.33% {
    left: calc(3 * var(--offset));
    top: calc(0 * var(--offset));
  }

  66.67% {
    left: calc(2 * var(--offset));
    top: calc(0 * var(--offset));
  }

  75.00% {
    left: calc(2 * var(--offset));
    top: calc(1 * var(--offset));
  }

  100% {
    left: calc(2 * var(--offset));
    top: calc(1 * var(--offset));
  }
}

@keyframes squarefadein {
  0% {
    transform: scale(0.75);
    opacity: 0.0;
  }

  100% {
    transform: scale(1.0);
    opacity: 1.0;
  }
}

/* ———————————————————————— LOADING END ———————————————————————— */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

[data-scroll-container]::-webkit-scrollbar {
  width: 8px;
}

[data-scroll-container]::-webkit-scrollbar-track {
  background: #E0C0A7;
  border-radius: 10px;
}

[data-scroll-container]::-webkit-scrollbar-thumb {
  background: #9F2B30;
  border-radius: 20px;
}

@supports not selector(::-webkit-scrollbar) {
  [data-scroll-container] {
    scrollbar-color: #9F2B30 #E0C0A7;
  }
}

[aspect-ratio] {
  position: relative;
  overflow: hidden;
}

[aspect-ratio]::before {
  content: "";
  display: block;
  margin-left: -1px;
  width: 1px;
  height: 0;
}

[aspect-ratio-content] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-transition: transform .5s;
  -moz-transition: transform .5s;
  -o-transition: transform .5s;
  transition: transform .5s;
}

[aspect-ratio-content],
[aspect-ratio-content]>img {
  width: 100%;
  height: 100%;
}

[aspect-ratio-content]>img {
  -o-object-cover: cover;
  -o-object-position: center;
  object-fit: cover;
  object-position: center;
}

[aspect-ratio]::before {
  padding-top: 140.277451%;
}


body {
  background-color: #9F2B30;
}

#main {
  width: 100%;
  overflow-x: hidden;
}

.section img {
  display: block;
  width: 100%;
}

.content {
  width: 100%;
  padding: 1.302083vw;
}

.content-inner {
  width: 100%;
  padding: 6.770833vw 13.020833vw 6.770833vw;
  background-color: #FFF3E0;
  background-image: url("../images/6.png");
  background-size: 100% auto;
}

.title-box {
  position: relative;
  width: fit-content;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  margin-bottom: 3.125vw;
  margin-left: auto;
  margin-right: auto;
}

.title-box .title,
.title-box .title-2 {
  width: auto;
  height: 1.875vw;
  min-height: 26px;
}

.title-box .snake {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 3.125vw;
  min-width: 25px;
  height: auto;
  transform: translate(115%, 20%);
  -webkit-transform: translate(115%, 20%);
}

.stage-content,
.introduce-content {
  width: 100%;
  height: 46.354167vw;
  min-height: 360px;
  padding: 1.041667vw .78125vw 1.041667vw 1.041667vw;
  background-color: #F2DEC2;
}

.stage-content-item,
.introduce-list-wrap {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

.stage-list,
.introduce-list {
  padding-right: .625vw;
  box-shadow: 0 2px 12px rgba(100, 101, 102, 0.12);
}

.stage {
  margin-top: 6.770833vw;
}

.stage-tabs-wrap {
  padding: 0 2.604167vw;
}

.stage-tabs-inner {
  padding: .520833vw;
  height: 5.989583vw;
  min-height: 70px;
  background-color: #F2DEC2;
}

.stage-tabs {
  display: flex;
  height: 100%;
  overflow: hidden;
  border-radius: .416667vw;
  background-color: #FFF3E0;
}

.stage-tab {
  position: relative;
  z-index: 1;
  flex: 1;
  height: 100%;
  cursor: pointer;
  margin-bottom: 0px;
  border-radius: .416667vw;

  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-tab .selected {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 107.75%;
  height: 100%;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.2s ease-in-out;
}

.stage-tab:hover .selected {
  opacity: 0.1;
}

.stage-tab.active .selected {
  opacity: 1;
}

.title-box-inner {
  position: relative;
  width: fit-content;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-box-inner .title,
.title-box-inner .title-2 {
  min-height: 22px;
  position: relative;
  opacity: 0;
  transition: opacity .2s ease-in-out;
}

.title-box-inner .left,
.title-box-inner .right {
  position: absolute;
  width: auto;
  height: 75%;
  opacity: 0;
  transition: opacity .2s ease-in-out;
}

.title-box-inner .left {
  left: 0%;
  transform: translateX(-120%) rotateY(180deg);
}

.title-box-inner .right {
  right: 0%;
  transform: translateX(120%);
}

.stage-tab:not(.active) .title-box-inner .title,
.stage-tab.active .title-box-inner .title-2,
.stage-tab.active .title-box-inner .left,
.stage-tab.active .title-box-inner .right {
  opacity: 1;
}

.stage-tab:not(.active) .title-box-inner .title-2 {
  position: absolute;
}

.stage-tab.active .title-box-inner .title {
  opacity: 0;
  position: absolute;
}

.stage-tabs-wrap {
  margin-bottom: 4.166667vw;
}

/**
 * ----------------------------------------
 * animation scale-in-center
 * ----------------------------------------
 */
@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(.8);
    transform: scale(.8);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(.8);
    transform: scale(.8);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

.stage-content-item {
  display: none;
  height: 100%;
}

.stage-content-item.active {
  display: block;
  -webkit-animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.conclusion {
  margin-top: 7.03125vw;
}

.conclusion-content {
  padding: 1.041667vw;
  background-color: #F2DEC2;
}

.back-to-top {
  position: fixed;
  z-index: 100;
  bottom: 80px;
  right: 80px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .3s, visibility .3s;
  transition: opacity .3s, visibility .3s;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top img {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 1200px) {
  .back-to-top {
    bottom: 80px;
    right: 40px;
    width: 60px;
    height: 60px;
  }
}

@media screen and (max-width: 992px) {
  .content {
    padding: 20px;
  }

  .stage-content,
  .introduce-content {
    padding: 20px 8px 20px 20px;
  }

  .stage-list,
  .introduce-list {
    padding-right: 12px;
  }

  .content-inner {
    padding: 6.5% 5%;
  }

  .title-box {
    margin-bottom: 30px;
  }

  .stage {
    margin-top: 40px;
  }

  .stage-tabs-wrap {
    margin-bottom: 30px;
  }

  .stage-tabs-wrap {
    padding: 0px;
  }

  .stage-tabs-inner {
    padding: 7px;
  }

  .title-box .title,
  .title-box .title-2 {
    min-height: 20px;
  }

  .title-box-inner .title,
  .title-box-inner .title-2 {
    min-height: 20px;
  }

  .conclusion {
    margin-top: 50px;
  }

  .conclusion-content {
    padding: 20px;
  }

  .back-to-top {
    bottom: 60px;
    right: 40px;
    width: 50px;
    height: 50px;
  }
}

@media screen and (max-width: 768px) {
  .content-inner {
    padding: 40px 15px;
  }

  .stage-tabs-inner {
    min-height: 66px;
  }

  .title-box-inner .title,
  .title-box-inner .title-2 {
    min-height: 20px;
  }

  .title-box-inner .left,
  .title-box-inner .right {
    height: 70%;
  }

  .content {
    padding: 15px;
  }

  .stage-content,
  .introduce-content {
    padding: 15px 6px 15px 15px;
  }

  .stage-list,
  .introduce-list {
    padding-right: 6px;
  }

  .conclusion-content {
    padding: 15px;
  }

  .back-to-top {
    bottom: 50px;
    right: 30px;
    width: 50px;
    height: 50px;
  }
}

@media screen and (max-width: 576px) {
  .content-inner {
    padding: 40px 12px;
  }

  .content {
    padding: 10px;
  }

  .stage-content,
  .introduce-content {
    padding: 10px 5px 10px 10px;
  }

  .stage-list,
  .introduce-list {
    padding-right: 5px;
  }

  .stage-tabs-inner {
    min-height: 55px;
  }

  .title-box-inner .title,
  .title-box-inner .title-2 {
    min-height: 15px;
  }

  .title-box-inner .left,
  .title-box-inner .right {
    height: 60%;
  }

  .conclusion-content {
    padding: 10px;
  }

  .back-to-top {
    right: 15px;
    width: 45px;
    height: 45px;
  }
}