@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  font-size: 18px;
  color: #4b4948;
  line-height: 1;
  background-color: #d9d9d9;
}

.header {
  background-color: #ebff00;
  position: fixed;
  width: 100%;
  margin-top: 0;
  z-index: 99;
}

.header-inner {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  display: block;
  width: 360px;
  padding: 90px 25px;
  transition: padding 0.3s, font-size 0.3s;
}

.header-logo img:hover {
  transform: scale(1.1);
}

.nav-menu ul {
  display: flex;
  transition: top 0.3s;
}

.nav-menu ul li {
  margin-left: 20px;
  margin-right: 20px;
}

.nav-menu ul li a {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  font-size: 21px;
  padding-bottom: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  background-image: linear-gradient(90deg, #4b4948, #4b4948);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 5px;
  transition: background-size 0.5s;
}

.nav-menu ul li a:hover {
  color: #d9d9d9;
  text-shadow: 2px 3px #4b4948;
  background-size: 100% 2px;
}

.header.small img {
  width: 180px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header.small .nav-menu ul li a {
  font-size: 18px;
  margin-right: 5px;
}

/* 体験予約 */
.reservation {
  display: flex;
  margin: 20px auto;
  width: 180px;
  background-color: #ebff00;
  padding: 20px;
  text-align: center;
  justify-content: space-between;
  border-radius: 90px;
  position: fixed;
  top: calc(100vh - 260px);
  right: 30px;
  z-index: 99;
  transition: transform 0.2s ease;
  animation: reservation 1s linear infinite;
}

@keyframes reservation {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.reservation p {
  font-size: 24px;
  padding-top: 20px;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
}

.reservation i {
  font-size: 45px;
  padding: 10px;
}

.reservation i:hover {
  color: #d9d9d9;
  text-shadow: 2px 3px #4b4948;
}

.reservation:hover {
  color: #d9d9d9;
  text-shadow: 2px 3px #4b4948;
}

.space {
  padding-top: 272px;
}

.top {
  width: 100vw;
  margin: 0 auto;
}

.top img {
  width: 100%;
}

/* カルーセルコンテナ */
.carousel-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin: 0 auto;

}

/* カルーセル */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 680px;
}

.carousel-item {
  position: absolute;
  border-radius: 20px;
  transform-style: preserve-3d;
  opacity: 1;
  transition: transform 0.5s, opacity 0.5s, z-index 0.5s;
}

.carousel-item img {
  width: 100%;
  border-radius: 20px;
  scale: -1 1;
  /* aspect-ratio: 3/5; */
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1.3);
  z-index: 10;
}

.bestlife {
  width: 80%;
  display: block;
  margin: 0 auto;
}

.bestlife img {
  width: 100vw;
  margin: 0 auto 30px;
}

.bestlife p {
  display: block;
  /* margin: 0 auto; */
  width: 100%;
  font-size: 32px;
  line-height: 1.8;
}

.bestlife span {
  font-size: 48px;
  margin: 0 auto;
}


.bestlife h2 {
  font-size: 48px;
  color: #4b4948;
  text-shadow: 10px 5px 3px #ebff00;
  margin-left: 100px;
  margin-top: 100px;
  padding-bottom: 30px;
}

.hiit {
  display: flex;
  width: 90%;
  margin-top: 100px;
  margin-bottom: 150px;
}

.hiit-text p {
  font-size: 28px;
  margin-left: 50px;
  margin-right: 30px;
  line-height: 1.6;
}

.hiit-text h2 {
  font-size: 48px;
  margin-left: 80px;
  line-height: 1.6;
}

.hiit-text h3 {
  font-size: 36px;
  margin-left: 50px;
  line-height: 1.6;
}

.hiit img {
  padding-top: 60px;
  width: 40%;
  object-fit: cover;
}

.news {
  margin-bottom: 50px;
}

.slider {
  width: 100%;
  height: auto;
  /* 画像に合わせて調整 */
  overflow: hidden;
  position: relative;
}

.slide-track {
  display: flex;
  width: calc(100vw * 2);
  /* 画像幅 × 画像数（多めに） */
  animation: scroll 20s linear infinite;
}

.slide {
  width: 100%;
  /* 画像サイズに合わせて調整 */
  height: auto;
  margin: 50px auto;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-1200px);
    /* スクロール距離＝画像幅×表示数 */
  }
}



.news-list {
  width: 80%;
  list-style: none;
  padding: 10px;
  margin: 0 auto;
}

.news-list li {
  width: 90%;
  height: 300px;
  font-size: 28px;
}

.news-card {
  display: flex;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.news-content {
  width: 40%;
  padding: 20px;
  flex: 1;
}

.news-content .date {
  font-size: 24px;
  color: #ebff00;
  margin-bottom: 10px;
  display: block;
}

.news-content title {
  font-size: 48px;
  font-weight: bold;
  color: #4b4948;
  line-height: 1.6;
}



/* ここからフッター */
.footer {
  width: 100%;
  padding: 90px 60px 60px 60px;
}

.footer-inner {
  max-width: 100%;
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
}

.footer-logo {
  width: 500px;
  margin: 50px;
}

.footer-logo img {
  width: 240px;
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.1);
}

/* SNSアイコン */
.sns {
  display: flex;
  gap: 50px;
}

.sns p {
  font-size: 18px;
  padding-bottom: 20px;
  margin-left: 16px;
}

.sns dt {
  font-size: 18px;
  padding-bottom: 20px;
  margin-left: 45px;
}

.sns img {
  width: 90px;
  height: 90px;

  transition: transform 0.3s ease;
}

.sns img:hover {
  transform: scale(1.1);
}

/* LINEアイコン */
.line img {
  width: 150px;
  height: 150px;
  transition: transform 0.3s ease;
}

.line img:hover {
  transform: scale(1.1);
}

.line p {
  font-size: 18px;
}

/* フッターナビゲーションメニュー */
.footer-nav-menu {
  font-size: 18px;
  font-weight: bold;
}

.footer-nav-menu ul {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  width: 100vw;
}

.footer-nav-menu ul li {
  margin-top: 50px;
  margin-bottom: 80px;
  margin-left: 20px;
  margin-right: 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
}

/* 始：ホバーで線引く */
.footer-nav-menu li a {
  color: #4b4948;
  text-decoration: none;
  padding-bottom: 3px;
  /* transition: color 0.3s ease; */
  background-image: linear-gradient(90deg, #4b4948, #4b4948);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 2px;
  transition: background-size 0.5s;
}

.footer-nav-menu li a:hover {
  transform: scale(1.1);
  background-size: 100% 2px;
}

/* ローディング */
.start {
  background: #ebff00;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9000;
}

.start p {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 9999;
  width: 280px;
}

/* レスポンシブ対応 */
@media (max-width: 980px) {
  .btn {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  .btn span {
    display: block;
    width: 40px;
    height: 1px;
    background: #4b4948;
    transition: 0.5s;
    position: relative;
  }

  .btn span::before,
  .btn span::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: #4b4948;
    position: absolute;
    transition: 0.5s;
    left: 0;
  }

  .btn span::before {
    top: -16px;
  }

  .btn span::after {
    top: 16px;
  }

  .btn.is-show span {
    background: rgba(0, 0, 0, 0);
  }

  .btn.is-show span::before {
    top: 0;
    rotate: 45deg;
  }

  .btn.is-show span::after {
    top: 0;
    rotate: -45deg;
  }

  header.small .btn {
    top: 0px;
  }

  *,
  ::before,
  ::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  label {
    cursor: default;
  }

  .nav-menu ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ebff00dd;
    transform: translateX(-100%);
    transition: all 0.5s;
    padding-top: 80px;
    line-height: 5;
    align-items: center;
  }

  .nav-menu.is-show ul {
    transform: translateX(0);
  }

  .hiit {
    flex-direction: column-reverse;
  }

  .hiit img {
    width: 90%;
    object-fit: cover;
    margin: 0 auto;
  }

  .sns img {
    width: 90px;
    height: 90px;
    object-fit: cover;
  }
}


@media screen and (max-width: 768px) {

  .bestlife {
    width: 80%;
    margin: 0 auto;
  }

  .bestlife img {
    width: 100vw;
    margin: 0 auto;
  }

  .bestlife h2 {
    font-size: 36px;
  }

  .bestlife p {
    font-size: 24px;
    line-height: 1.4;

  }

  .news-list {
    width: 100%;
  }

  .news-list li {
    margin-bottom: 50px;
  }

  .news-card {
    flex-direction: column;

  }

  .news-img img {
    width: 100%;
    height: 200px;
  }

  .news-content {
    width: 100%;
    padding: 15px;
  }

  .news-content p title {
    font-size: 28px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo,
  .sns,
  .footer-nav-menu {
    display: block;
    align-items: center;
  }

  .footer-nav-menu ul {
    display: block;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 430px) {
  .header-logo img {
    display: block;
    width: 260px;
    margin: 0 auto;
    padding: 40px 25px;
    transition: padding 0.3s, font-size 0.3s;
  }



  /* 体験予約 */
  .reservation {
    display: flex;
    margin: 0 auto;
    width: 100px;
    right: 20px;
    text-align: center;
    justify-content: space-between;
    border-radius: 90px;
    position: fixed;
    top: calc(100vh - 200px);
    z-index: 99;
    transition: transform 0.2s ease;
    animation: reservation 1s linear infinite;
  }


  .reservation p {
    font-size: 12px;
    padding-top: 4px;
    text-align: center;
    font-weight: bold;
    font-family: "Montserrat", sans-serif;
  }

  .reservation i {
    font-size: 20px;
    padding: 2px;
  }

  /* カルーセル */

  .carousel {
    perspective: 280px;
  }

  .carousel-item {
    position: absolute;
    border-radius: 10px;
    transform-style: preserve-3d;
    opacity: 1;
    transition: transform 0.5s, opacity 0.5s, z-index 0.5s;
  }

  .bestlife img {
    margin-bottom: 50px;
  }

  .bestlife h2 {
    font-size: 30px;
    margin-left: 50px;
  }

  .bestlife p {
    font-size: 18px;
  }

  .bestlife p span {
    font-size: 28px;
    font-weight: bold;
  }

  .hiit-text p {
    font-size: 20px;
    line-height: 1.3;
  }

  .hiit-text h2 {
    font-size: 36px;
  }

  .hiit-text h3 {
    font-size: 30px;
  }


  .news-content .title {
    width: 100%;
  }

  .news li p {
    padding: 20px;
    font-size: 20px;
  }
}