@charset "utf-8";

/* ====================================================
  さざ波のように出てくる文字
  横スライドアニメ
  矢印が丸のなかに動くボタン
  左から登場する画像
  下から登場する文字
  丸いボタン
  ローディング（遷移後にメイン文字が横から登場）
==================================================== */

/* ----------------------------------------------------
  さざ波のように出てくる文字
---------------------------------------------------- */
.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards; }
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}	

/* ----------------------------------------------------
  横スライドアニメ
---------------------------------------------------- */
/* ---------------------------------------------
  共通スタイル（モバイルファースト）
--------------------------------------------- */
.section {
  width: 100%;
  padding: 80px 0 500px 0; /* GSAPのスクロール領域確保 */
}

.containers {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.normal-text {
  font-size: 16px;
  letter-spacing: 0.05em;
  margin-top: 30px;
}

.side-scroll {
  margin-bottom: 0;
  padding-bottom: 0;
}

.side-scroll-list-wrapper {
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;

  /* スクロールバー非表示 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE, Edge */
}

.side-scroll-list-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.side-scroll-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 20px;
  padding-left: 20px;
  width: max-content;
  list-style: none;
}

.side-scroll-item {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 85vw;
  height: auto;
  padding: 16px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  position: relative;
}

.side-scroll-item + .side-scroll-item {
  margin-left: 30px;
}

.item-header {
  display: block;
  margin-bottom: 20px;
}

.item-number {
  position: absolute;
  top: 20px;
  left: 15px;
  font-size: 50px;
  line-height: 1;
}

.item-text {
  display: block;
  position: relative;
  left: 75px;
}

.item-title {
  padding: 15px 0 0 0;
  font-size: 20px;
  line-height: 15px;
  display: block;
}

.item-desc {
  font-size: 14px;
}

.side-scroll-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: auto;
  border-radius: 4px;
}

/* ---------------------------------------------
  タブレット以上（768px〜）向けスタイル
--------------------------------------------- */
@media print, screen and (min-width: 768px) {
  .section {
    padding: 150px 0 100px 0;
  }

  .containers {
    width: 75%;
    max-width: 3000px;
  }

  .normal-text {
    font-size: 20px;
    letter-spacing: 0.08em;
    margin-top: 60px;
  }

  /* side-scrollは共通でmargin/padding0なので省略 */

  .side-scroll-list-wrapper {
    height: auto;             /* 高さ固定解除 */
    overflow-x: auto;
    overflow-y: hidden;      /* 縦スクロール防止 */
    width: 100vw;            /* 横幅いっぱいに */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .side-scroll-list {
    gap: 0 60px;
    padding-left: 150px;
    padding-right: 0;        /* 右余白削除 */
  }

  .side-scroll-item {
    width: 90vw;
    height: auto;            /* 高さ制限解除 */
    padding: 15px;
  }

  .side-scroll-item + .side-scroll-item {
    margin-left: 30px;
  }

  .item-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 0;
  }

  .item-number {
    position: relative;
    top: 10px;
    left: -3px;
    font-size: 65px;
    line-height: 1;
    width: 150px;
    flex-shrink: 0;
    margin: 0;
  }

  .item-text {
    position: relative;
    left: -70px;
    margin-bottom: 10px;
  }

  .item-title {
    padding: 15px 0 0 0;
    font-size: 30px;
    line-height: 35px;
  }

  .item-desc {
    font-size: 18px;
  }

  .side-scroll-dummy {
    flex-shrink: 0;
    width: 15vw;
    content: '';
  }
}

/* ---------------------------------------------
  PC以上（992px〜）向けスタイル
--------------------------------------------- */
@media print, screen and (min-width: 992px) {
  .section {
    padding: 100px 0 50px 0;
  }

  .containers {
    width: 70%;
    max-width: 1600px;
  }

  .normal-text {
    font-size: 22px;
    letter-spacing: 0.1em;
    margin-top: 80px;
  }

  /* side-scroll margin/paddingは共通 */

  .side-scroll-list-wrapper {
    width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .side-scroll-list {
    gap: 0 80px;
    padding-left: 200px;
    padding-right: 0;
  }

  .side-scroll-item {
    width: 80vw;
    max-width: 800px;
    height: auto;
    padding: 20px;
  }

  .side-scroll-item + .side-scroll-item {
    margin-left: 30px;
  }

  .item-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 0;
  }

  .item-number {
    position: relative;
    font-size: 70px;
    width: 200px;
    line-height: 1;
    flex-shrink: 0;
    margin: 0;
    top: 10px;
    left: -3px;
  }

  .item-text {
    position: relative;
    left: -120px;
  }

  .item-title {
    padding: 15px 0 0 0;
    font-size: 30px;
    line-height: 35px;
  }

  .item-desc {
    font-size: 18px;
  }

  .side-scroll-dummy {
    flex-shrink: 0;
    width: 20vw;
    content: '';
  }
}


/* ----------------------------------------------------
  矢印が丸のなかに動くボタン
---------------------------------------------------- */
.btn__wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn__link {
  font-family: "Big Shoulders Inline", sans-serif;
  color: #fff !important;
  display: inline-block;
  padding: 8px 140px 14px 0;
}

.btn__link-text {
  position: relative;
  display: inline-block;
  font-size: 24px;
  line-height: 1.4;
}

.btn__link-arrow {
  position: absolute;
  z-index: 2;
  top: calc(50% + 4px);
  left: calc(100% + 16px);
  transform: translateY(-50%);
  width: 40px;
  height: 1px;
  background: #fff;
  transition: width 0.5s ease;
}

.btn__link-arrow::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 1px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: right center;
}

.btn__link-circle {
  position: absolute;
  top: calc(50% + 4px);
  left: calc(100% + 72px);
  transform: translateY(-50%);
  width: 60px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #fff;
  transition: background 0.5s ease;
}

@media (any-hover: hover) {
  .btn__link:hover .btn__link-arrow {
    width: 80px;
  }

  .btn__link:hover .btn__link-circle {
    background: #000;
  }
}

@media print, screen and (min-width: 768px) {
  .btn__link {
    padding: 12px 180px 20px 0;
  }

  .btn__link-text {
    font-size: 32px;
    line-height: 1.5;
  }

  .btn__link-arrow {
    width: 60px;
    left: calc(100% + 21.4px);
  }

  .btn__link-arrow::before {
    width: 16px;
  }

  .btn__link-circle {
    width: 80px;
    left: calc(100% + 102px);
  }

  .btn__link:hover .btn__link-arrow {
    width: 120px;
  }
}


/* ----------------------------------------------------
  左から登場する画像
---------------------------------------------------- */
.animated__clipView {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s ease;
}

.animated__clipView.js-show {
  clip-path: inset(0 0 0 0);
}


/* ----------------------------------------------------
  下から登場する文字
---------------------------------------------------- */
.scroll-text-wrapper {
	overflow: hidden;
	height: auto;
	position: relative;
	padding-top: 5px;
}

.scroll-text span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  font-size: 18px;
  margin-bottom: 25px;
  letter-spacing: 2px;
  line-height: 1.1;
}

@media print, screen and (min-width: 768px) {
  .scroll-text span {
    font-size: 22px;
    margin-bottom: 20px;
    letter-spacing: 3px;
  }
}

.scroll-text-wrapper.active span {
	transform: translateY(0);
}


/* ----------------------------------------------------
  丸いボタン
---------------------------------------------------- */
/* ボタンの配置エリア */
.btnarea {
  display: flex;
  justify-content: center; /* 横方向の中央寄せ */
  align-items: center;     /* 縦方向の中央寄せ */
}

@media print, screen and (min-width: 768px) {
  .btnarea {
    justify-content: flex-end; /* 右寄せ */
    align-items: flex-end;     /* 下寄せ */
  }
}

/* 丸いボタンの基本スタイル（スマホサイズ） */
.circle-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #666;
  color: #fff !important;
  border-radius: 50%;
  width: 160px;
  height: 160px;
  font-size: 16px;
  border: none;
  opacity: 1;
  transform: scale(1);
  transition: background-color 0.6s ease, color 0.6s ease;
  overflow: visible;
  text-decoration: none;
}

/* タブレット以上のサイズで拡大 */
@media print, screen and (min-width: 768px) {
  .circle-button {
    width: 250px;
    height: 250px;
    font-size: 20px;
  }
}

/* ▼ 矢印装飾 */
.circle-button::after {
  content: '';
  position: absolute;
  bottom: 40px;  /* 矢印の位置調整 */
  left: 50%;
  width: 20px;
  height: 20px;
  border: solid white;
  border-width: 0 4px 4px 0;
  transform: translateX(-50%) rotate(45deg);
  transform-origin: center;
  z-index: 10;
  transition: border-color 0.6s ease;
}

/* ホバー時：背景・文字色・矢印色の変更 */
.circle-button:hover {
  background: #fff;
  color: #000 !important;
}

.circle-button:hover::after {
  border-color: black;
}


/* ----------------------------------------------------
  ローディング
---------------------------------------------------- */
/* ローディング（遷移後にメイン文字が横から登場）
-----------------------------------------------------*/
.fadeUp{
animation-name: fadeUpAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

.start {
	background: #222; /* 最初の背景色 */
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 9999;
}
@media only screen and (max-width: 767px)  {
.start img {
    width:300px;
	height: auto;
	}
}
.start p {
	position: fixed;
	left: 50%;
	top: 48%;
	transform: translate(-50%,-50%);
	display: none;
	z-index: 9999;
}
@media only screen and (max-device-width: 480px) {
.start img {
    width: 300px;
    height: auto;
	}
.start p {
	top: 45%;
	left: 49%;
	}
}
.loading {
	position: fixed;
	top: 69%;
	transform: translate(-50%,-50%);
	display: none;
	z-index: 9999;
	left: 50%;
	color: #fff;
	font-size: 22px;
}

@media only screen and (max-device-width: 480px) {
.loading {
    font-size: 18px;
	}
}

.loading span {
  display: inline-block;
  margin: 0 -.075em 50px;
  animation: loading .7s infinite alternate;
}
.loading span:nth-child(2) {
  animation-delay: .1s;
}
.loading span:nth-child(3) {
  animation-delay: .2s;
}
.loading span:nth-child(4) {
  animation-delay: .3s;
}
.loading span:nth-child(5) {
  animation-delay: .4s;
}
.loading span:nth-child(6) {
  animation-delay: .5s;
}
.loading span:nth-child(7) {
  animation-delay: .6s;
}
@keyframes loading {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.8);
  }
}