@charset "UTF-8";
/*
 * top.scss
 * トップページ専用スタイル
 */
.menu-section .text-content .text-wrapper .button {
  background-color: var(--main-blue);
  color: white;
  border-radius: 4px;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  padding: 0;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}
.hero .fader {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: calc(100vh - var(--header-height));
}
@media (max-width: 768px) {
  .hero .fader {
    height: 80vw;
    max-height: 80vw;
  }
}
.hero .fader .images {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero .fader .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}
.hero .fader .hero-overlay img {
  position: relative;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: left center;
}
.hero .fader img {
  height: 100%;
  object-fit: cover;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.hero .message {
  writing-mode: vertical-rl;
  background-color: rgba(247, 245, 242, 0.9);
  padding: 30px 15px;
  font-size: 14px;
  letter-spacing: 0.2em;
}
@media (min-width: 769px) {
  .hero .message {
    padding: 50px 20px;
    font-size: 16px;
  }
}

.introduction {
  margin-top: 50px;
  background-color: var(--light-bg);
}
.introduction .inner {
  padding: 50px 20px;
}
@media (min-width: 769px) {
  .introduction .inner {
    padding: 100px 40px;
  }
}
.introduction .text-content {
  text-align: center;
}
.introduction .text-content span.nowrap {
  white-space: nowrap;
}

.menu-section {
  margin-top: 100px;
  background-color: var(--light-bg);
}
.menu-section .inner {
  display: flex;
  flex-direction: column;
}
@media (min-width: 769px) {
  .menu-section .inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 50px;
  }
}
.menu-section .text-content {
  order: 1;
  display: flex;
  flex-direction: row-reverse;
  height: 450px;
  background-image: url("../images/top/top_gallery_bgpattern.png");
  background-repeat: no-repeat;
  background-position: right bottom;
}
.menu-section .text-content h2 {
  font-size: 33px;
  font-weight: 300;
  margin-left: 15px;
}
.menu-section .text-content p {
  line-height: 1.8;
  margin: 20px 0 30px;
}
.menu-section .text-content .text-wrapper {
  writing-mode: vertical-rl;
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-grow: 1;
  padding: 40px 0;
}
.menu-section .text-content .text-wrapper .button-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  flex-direction: row;
}
.menu-section .text-content .text-wrapper .button {
  padding: 20px 10px;
  font-size: 20px;
  line-height: 20px;
  margin-right: 20px;
  height: fit-content;
}
@media (min-width: 769px) {
  .menu-section .text-content {
    order: 2;
    text-align: left;
    flex-basis: 40%;
  }
}
.menu-section .image-content {
  order: 2;
}
.menu-section .image-content img {
  width: 100%;
}
@media (min-width: 769px) {
  .menu-section .image-content {
    order: 1;
    flex-basis: 55%;
  }
}
.menu-section .menu-section-title {
  position: relative;
  top: -35px;
  right: 15px;
  flex-shrink: 0;
}

.full-width-image {
  background-image: url("../images/top/top_image-01.jpg");
  background-repeat: no-repeat;
  background-position: center;
  height: 400px;
  width: 100%;
  margin-top: 50px;
}

.service-section {
  margin-top: 50px;
  overflow: hidden;
  background-image: url("../images/top/top_features_bgpattern.png");
  background-repeat: no-repeat;
  background-position: left top;
}
.service-section .inner {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 23vw;
  margin-top: 100px;
}
@media (min-width: 769px) {
  .service-section .inner {
    gap: 60px;
    margin-top: 40px;
  }
}
.service-section .service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 100%;
  max-width: 350px;
  place-items: center;
}
@media (min-width: 769px) {
  .service-section .service-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    align-items: baseline;
    margin-right: 50px;
  }
}
.service-section .service-item {
  text-align: left;
  max-width: 300px;
}
.service-section .service-item img {
  margin-bottom: 10px;
}
.service-section .service-item .service-point-title {
  font-size: 18px;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  margin-bottom: 0;
  color: var(--main-blue);
}
.service-section .service-item .service-point-title span {
  font-size: 24px;
  font-weight: bold;
  margin-left: 5px;
}
.service-section .service-item .service-point-text {
  font-size: 13px;
  margin-top: 0;
}
@media (min-width: 769px) {
  .service-section .service-item {
    width: unset;
  }
}
.service-section .service-title {
  position: relative;
  top: -400px;
  left: 30px;
}
@media (min-width: 769px) {
  .service-section .service-title {
    top: -80px;
    left: 36px;
  }
}
@media (min-width: 769px) {
  .service-section {
    background-position: left center;
  }
}

.gallery-section {
  background-color: var(--light-bg);
  background-image: url("../images/top/top_gallery_bgpattern.png");
  background-repeat: no-repeat;
  background-position: right center;
  margin-top: 70px;
}
.gallery-section .inner {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: row-reverse;
  gap: 40px;
  padding: 50px 20px;
}
@media (min-width: 769px) {
  .gallery-section .inner {
    justify-content: center;
    gap: 60px;
    padding: 100px 40px;
  }
}
.gallery-section .gallery-title {
  position: relative;
  top: -80px;
  right: 3vw;
}
@media (min-width: 769px) {
  .gallery-section .gallery-title {
    top: -135px;
    right: -1vw;
  }
}
.gallery-section .gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
  place-items: center;
}
@media (min-width: 769px) {
  .gallery-section .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.slidewrap {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: white;
  font-size: 40px;
}

.pagination {
  display: flex;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  gap: 15px;
}
.pagination li {
  font-size: 50px;
  list-style: none;
  color: gray;
  opacity: 0.5;
}
.pagination .act {
  opacity: 1;
}