@charset "UTF-8";

/* セクションタイトル */
.section-title {
  color: rgba(51, 51, 51, 0.9);
  font-size: clamp(68px, 8vw, 130px);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ボタン */
.btn {
  max-width: 120px;
  background-color: #fff;
  display: block;
  border: solid 1px #1f1f1f;
  font-size: 12px;
  padding: 10px 0;
  text-align: center;
  position: relative;
  z-index: 10;
}
.btn::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -10;
  background-color: #1f1f1f;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease 0.3s;
}
.btn:hover {
  color: #fff;
  opacity: 1;
}
.btn:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

/* Inview */
.fadein {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1s;
}
.fadein.inview {
  opacity: 1;
  transform: translateY(0);
}

/* フェード表示(下から上へ) */
.fade-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.fade-up {
  position: absolute;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 1枚目・2枚目:完全に重ねる */
.img-1,
.img-2 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3枚目:左下に小さく配置 */
.img-3 {
    bottom: -20px;
    right: -20px;
    width: 40%;
    height: 40%;
    object-fit: cover;
    z-index: 3; /* 1・2枚目より手前に表示 */
}

/* 時間差(ディレイ)をつける */
.img-1 { transition-delay: 0s; }
.img-2 { transition-delay: 0.3s; }
.img-3 { transition-delay: 0.6s; }

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
.mainvisual {
  height: 600px;
  margin-bottom: 120px;
  position: relative;
}
.mainvisual .fade-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.mainvisual .fade-img li {
  width: 70%;
  position: absolute;
  right: 0;
  opacity: 0;
  animation: fade 15s infinite;
}
.mainvisual .fade-img li:nth-child(1) {
  animation-delay: 0s;
}
.mainvisual .fade-img li:nth-child(2) {
  animation-delay: 5s;
}
.mainvisual .fade-img li:nth-child(3) {
  animation-delay: 10s;
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  45% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.mainvisual .catchphrase {
  font-family: 'Zen Old Mincho', serif;
  font-size: 50px;
  text-shadow: 1px 1px 3px #fff;
  position: absolute;
  top: 410px;
  left: 6%;
}

/*-------------------------------------------
News
-------------------------------------------*/
.news-section {
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 0 20px;
}
.news-section .section-title {
  font-size: 20px; /* お好みのサイズに調整。元のサイズより一回り小さく */
}

.news-section .news-list {
  border-top: solid 1px #ddd;
  max-height: 200px; /* お好みの高さに調整 */
  overflow-y: auto;
}
.news-section .news-list li {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-bottom: solid 1px #ddd;
  font-size: 14px;
}
.news-section .news-date {
  flex-shrink: 0;
  width: 100px;
  color: #999;
}
.news-section .news-text {
  color: #333;
}
.news-section .news-list::-webkit-scrollbar {
  width: 6px;
}

.news-section .news-list::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}
.news-section .news-more {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  border-bottom: 1px solid #999;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/*-------------------------------------------
Profile
-------------------------------------------*/
.profile {
  margin-bottom: 120px;
}
.profile .section-title {
  margin: 0 0 -5vw 4vw;
  position: relative;
  z-index: 10;
}
.profile .flex {
  display: flex;
  align-items: center;
}
.profile .flex .img {
  width: 65%;
}
.profile .flex .img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.profile .flex .text {
  width: 35%;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 5% 0 5% 5%;
  margin-left: -8%;
}
.profile .text .title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 24px;
  margin-bottom: 40px;
}
.profile .text .description {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/*-------------------------------------------
Gallery
-------------------------------------------*/
.gallery {
  margin-bottom: 120px;
  position: relative;
}
.gallery::after {
  content: "";
  width: 70%;
  height: 300px;
  background-color: #fafafa;
  display: block;
  position: absolute;
  top: 6vw;
  right: 0;
  z-index: -10;
}
.gallery .text {
  width: 70%;
  padding: 0 5%;
  margin-left: auto;
}
.gallery .text .section-title {
  margin-bottom: 30px;
}
.gallery .text .description {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 60px;
}
.gallery .gallery-list-area {
  display: flex;
  margin-bottom: 40px;
  overflow-x: hidden;
}
.gallery .gallery-list-area .gallery-list {
  display: flex;
  flex-shrink: 0;        /* 圧縮させない */
  width: max-content;    /* 中身(liの合計)の実際の幅をそのまま採用する */
  animation: slide-left 40s infinite linear both;
}
.gallery .gallery-list-area .gallery-list li {
  width: auto;
  height: 300px;
  flex-shrink: 0;
}
.gallery .gallery-list-area .gallery-list li img {
  width: auto;
  height: 100%;
}
@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.gallery .btn {
  margin: 0 auto;
}

/*-------------------------------------------
Achievements
-------------------------------------------*/
.achievements {
  display: flex;
  justify-content: space-between;
  margin-bottom: 120px;
  position: relative;
}
.achievements::after {
  content: "";
  width: 70%;
  height: 70%;
  min-height: 420px;
  background-color: #fafafa;
  display: block;
  position: absolute;
  top: 6vw;
  left: 0;
  z-index: -10;
}
.achievements .text {
  padding: 0 6% 0 4%;
}
.achievements .text .section-title {
  margin-bottom: 40px;
}
.achievements .text .description {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.achievements .text .btn {
  margin-top: 30px;
}
.achievements .achievements-list {
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin-top: 170px;
}
.achievements .achievements-list li {
  max-width: 500px;
}

/*-------------------------------------------
Faq & Contact
-------------------------------------------*/
.faq-contact {
  display: flex;
  justify-content: space-between;
  padding: 0 5% 80px;
}
.faq-contact .item {
  width: 48%;
  position: relative;
}
.faq-contact .item::before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 50%, rgba(0,0,0,1));
  position: absolute;
  top: 0;
  left: 0;
}
.faq-contact .item .title {
  color: #fff;
  position: absolute;
  left: 25px;
  bottom: 20px;
}
.faq-contact .item .title .en {
  display: block;
  font-size: 4vw;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.faq-contact .item .title .ja {
  display: block;
  font-size: 14px;
}

/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 767px) {
  .section-title {
    font-size: 12vw;
  }

  /*-------------------------------------------
  Mainvisual
  -------------------------------------------*/
  .mainvisual {
    height: 400px;
    margin-bottom: 60px;
  }
  .mainvisual .fade-img img {
    height: 400px;
  }
  .mainvisual .fade-img li {
    width: 100%;
  }
  .mainvisual .catchphrase {
    color: #fff;
    text-shadow: 1px 1px 1px #777;
    font-size: 28px;
    top: 300px;
    left: 6%;
  }
  .img-3 {
    object-fit: contain;
  }

  /*-------------------------------------------
  News
  -------------------------------------------*/
  .news-section .news-list li {
    flex-direction: column;
    gap: 4px;
  }
  .news-section .news-date {
    width: auto;
  }

  /*-------------------------------------------
  Profile
  -------------------------------------------*/
  .profile {
    margin-bottom: 60px;
  }
  .profile .section-title {
    margin: 0 0 -7vw;
    text-align: center;
  }
  .profile .flex {
    flex-direction: column;
  }
  .profile .flex .img {
    width: 100%;
  }
  .profile .flex .img img {
    height: 300px;
  }
  .profile .flex .text {
    width: 100%;
    margin-left: 0;
    padding: 20px 20px 0;
  }
  .profile .flex .text .title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .profile .flex .text .description {
    margin-bottom: 20px;
  }

  /*-------------------------------------------
  Gallery
  -------------------------------------------*/
  .gallery {
    margin-bottom: 60px;
  }
  .gallery::after {
    width: 100%;
    height: 250px;
    top: 10vw;
  }
  .gallery .text {
    width: 100%;
    padding: 0 20px;
  }
  .gallery .text .section-title {
    text-align: center;
  }
  .gallery .text .description {
    margin-bottom: 20px;
  }
  .gallery .gallery-list-area {
    margin-bottom: 20px;
  }
  
  /*-------------------------------------------
  Achievements
  -------------------------------------------*/
  .achievements {
    flex-direction: column;
    margin-bottom: 60px;
  }
  .achievements::after {
    width: 100%;
    height: 90%;
    min-height: auto;
    top: 10vw;
  }
  .achievements .text {
    padding: 0 20px;
    margin-bottom: 40px;
  }
  .achievements .text .section-title {
    margin-bottom: 30px;
    text-align: center;
  }
  .achievements .achievements-list {
    margin-top: 0;
  }

  /*-------------------------------------------
  Faq & Contact
  -------------------------------------------*/
  .faq-contact {
    flex-direction: column;
    padding: 0 20px 40px;
  }
  .faq-contact .item {
    width: 100%;
    margin-bottom: 20px;
  }
  .faq-contact .item .title .en {
    font-size: 8vw;
  }
}