@charset "utf-8";

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

ul,
ol {
  list-style: none;
}

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

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;
}

.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;
}

/* 体験予約 */
.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:hover {
  color: #d9d9d9;
  text-shadow: 2px 3px #4b4948;
}

/* ここからメイン */

.space {
  padding-top: 272px;
}

.top-view {
  width: 100%;
  height: 430px;
  background-image: url(../imge/main.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

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

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

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

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

.map {
  width: 80vw;
  margin: 0 auto;
  display: flex;
  column-gap: 80px;
}

.map ul {
  margin: 30px;
  line-height: 2.6;
}

.map li {
  line-height: 1.6;
  font-size: 22px;
}

.map span {
  font-weight: bold;
  padding-left: 18px;
}

.profel {
  width: 90%;
  padding: 80px;
  margin: 100px auto;
  background-color: #4b4948;
  color: #ebff00;
  border-radius: 50px;
  box-shadow: 0 10px 10px rgb(223, 248, 1);
}

.profel img {
  width: 300px;
  height: 300px;
}

.profel ul {
  /* padding: 0 60px; */
  display: flex;
  justify-content: center;
}

.profel dt {
  font-size: 22px;
}

.profel dd {
  font-weight: bold;
  font-size: 32px;
  padding: 30px 100px;
}

.profel span {
  font-size: 20px;
  padding: 10px 100px;
}

.profel ul li p {
  font-size: 24px;
  line-height: 1.6;
  padding-top: 30px;
  padding-left: 80px;
}

.aisatu {
  width: 80%;
  margin: 100px auto;
}

.aisatu p {
  font-size: 26px;
  line-height: 1.6;
}

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

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

.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: 110px;
  height: 110px;

  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;
}

/* 終：ホバーで線引く */

/* コピーライト */
.footer .copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
}

/* レスポンシブ対応 */
@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);
  }

  .map {
    display: block;
  }

  .profel ul {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .profel {
    padding: 50px;
  }

  .profel dd {
    font-weight: bold;
    font-size: 28px;
    padding: 30px 50px;
  }

  .profel span {
    font-size: 18px;
    padding: 10px 50px;
  }

  .profel ul li p {
    font-size: 20px;
    line-height: 1.4;
    padding-top: 30px;
    padding-left: 50px;
  }


  .aisatu {
    width: 90%;
    margin-top: 50px;
    padding: 18px;
  }

  .aisatu p {
    font-size: 20px;
    line-height: 1.4;
  }

  .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;
  }

  .space {
    padding-top: 140px;
  }

  /* 体験予約 */
  .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;
  }

  .header-logo img {
    display: block;
    width: 260px;
    margin: 0 auto;
    transition: padding 0.3s, font-size 0.3s;
  }

  .profel {
    margin: 0 auto;
  }

  .profel ul {
    display: block;
  }

  .profel img {
    width: 300px;
    margin: 0 auto;
  }

  .aisatu {
    width: 300px;
    margin-top: 50px;
  }

  .aisatu p {
    font-size: 16px;
    line-height: 1.4;
  }

}