
@charset "utf-8";

.top_wrap{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
}
.exterior{
  display: block;
  width: 100%;
  height: auto;
  background: var(--page_color_thin);
  margin-bottom: 30px;
}
.exterior img{
  display: block;
  width: 100%;
}
.top_wrap .text_box .name{
  font-size: 160%;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.top_wrap .text_box .text{
  letter-spacing: 1px;
  line-height: 1.9;
  padding: 0 10px;
  text-align: justify;
}
.text_box span{
  background: linear-gradient(transparent 70%, var(--page_accent_thin) 70% 88%, transparent 88%);
}

.fee_wrap{
  width: 98%;
  margin: 0 auto;
}
.fee_wrap .fee_box > .title{
  width: fit-content;
  font-size: 140%;
  padding: 5px 0;
  margin-bottom: 20px;
  letter-spacing: 1px;
  position: relative;
  z-index: 0;
  color: #fff;
}
.fee_wrap .fee_box > .title::before{
  content: '';
  height: 100%;
  width: 100vw;
  background: var(--accent_pink);
  position: absolute;
  top: 0;
  right: 50vw;
  z-index: -1;
  transition: 0.5s;
}
.fee_wrap.active .fee_box > .title::before{
  right: -40px;
}
.fee_wrap .fee .price{
  width: fit-content;
  margin: 10px 0 40px auto;
}
.fee_wrap .fee .price .text{
  font-size: 130%;
  font-weight: bold;
}
.fee_wrap .fee .price .text span{
  font-size: 50%;
  font-weight: normal;
}
.fee_wrap .fee  .table_title{
  margin-bottom: 5px;
  letter-spacing: 1px;
  font-size: 106%;
}
.fee_wrap .fee table{
  width: 100%;
  margin: 0 auto 0px;
  border: 1px solid var(--page_color);
}
.fee_wrap .fee table th,
.fee_wrap .fee table td{
  padding: 5px 10px;
  font-weight: normal;
  letter-spacing: 1px;
}
.fee_wrap .fee table th{
  background: var(--page_color_thin);
}
.fee_wrap .fee table td{
  font-size: 90%;
}
.fee_wrap .fee table td span{
  display: block;
  font-size: 80%;
}
.fee_wrap .fee table tr:not(:last-child) th{
  border-bottom: 1px solid var(--page_color);
}
.fee_wrap .fee table tr:not(:last-child) td{
  border-bottom: 1px solid var(--page_color);
}
.detail_box .ex,
.detail_box .conditions{
  margin-bottom: 30px;
}
.detail_box .ex .title,
.detail_box .conditions .title{
  font-size: 130%;
  letter-spacing: 1px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--page_color);
}
.detail_box .ex .list li,
.detail_box .conditions .list li{
  display: flex;
  letter-spacing: 1px;
  line-height: 1.7;
}

#faq{
  background: #f7f7f7;
  padding: 60px 0;
}
#customer-voice,
#faq .inner{
  width: 95%;
  max-width: 900px;
  margin: 0 auto 60px;
}
#customer-voice h2,
#faq h2{
  width: fit-content;
  font-size: 140%;
  font-weight: normal;
  padding: 5px 0;
  margin-bottom: 20px;
  letter-spacing: 1px;
  position: relative;
  z-index: 0;
  color: #fff;
}
#customer-voice h2::before,
#faq h2::before{
  content: '';
  height: 120%;
  width: 100vw;
  background: var(--accent_pink);
  position: absolute;
  top: -10%;
  right: 50vw;
  z-index: -1;
  transition: 0.5s;
}
#customer-voice.active h2::before,
#faq.active h2::before{
  right: -40px;
}
#customer-voice ol,
#faq dl{
  width: 95%;
  margin: 0 auto;
}
#customer-voice li,
#faq dd{
  margin-bottom: 20px;
}
#customer-voice li h3,
#faq dt{
  font-weight: normal;
  font-size: 116%;
  border-bottom: 1px solid var(--page_color);
  padding: 0 5px 5px;
  margin-bottom: 5px;
}
#customer-voice li p,
#faq dd{
  letter-spacing: 1px;
  line-height: 1.8;
  text-align: justify;
  padding: 0 10px;
}

.about_wrap{
  margin: 0 auto 120px;
}
.about_wrap .title{
  font-size: 116%;
  letter-spacing: 1px;
  text-align: center;
  padding: 10px 0;
  background: var(--page_accent_thin);
}
.about_wrap table{
  border-bottom: 2px solid var(--page_color_thin);
}
.about_wrap table th,
.about_wrap table td{
  letter-spacing: 1px;
  line-height: 1.7;
  padding: 5px 10px;
}
.about_wrap table th{
  font-weight: normal;
  white-space: nowrap;
}
.about_wrap table tr:nth-child(odd) th{
  background: var(--page_color_thin);
}
.about_wrap table td{
  font-size: 90%;
}
.about_wrap table tr:nth-child(even) td{
  background: var(--page_color_thin);
}
.about_wrap table td a{
  display: block;
  color: #000;
  border-bottom: 1px dashed #fff;
  text-decoration: underline;
}

/* TOPスクリプト */
@keyframes carousel-left {
  from {
      left: 0;
  }
  to {
      left: -10%;
  }
}
@keyframes carousel-right {
  from {
      left: 0;
  }
  to {
      left: 10%;
  }
}
@keyframes carousel-up {
  from {
      top: 0;
  }
  to {
      top: -10%;
  }
}
@keyframes carousel-zoom {
  from {
      transform: scale(1);
  }
  to {
      transform: scale(2);
  }
}
@keyframes carousel-fade-in {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}
@keyframes carousel-fade-out {
  from {
      opacity: 1;
  }
  to {
      opacity: 0;
  }
}
@keyframes carousel-width {
  from {
      width: 0;
  }
  to {
      width: 100%;
  }
}
@keyframes carousel-gradient-up {
  0% {
      background-position: 0% 0%;
  }
  100% {
      background-position: 0% 100%;
  }
}
@keyframes carousel-gradient-left {
  0% {
      background-position: 0% 0%;
  }
  100% {
      background-position: 100% 0%;
  }
}
@keyframes carousel-gradient-right {
  0% {
      background-position: 100% 0%;
  }
  100% {
      background-position: 0% 0%;
  }
}
.carousel {
  position: relative;
  height: 30vh;
  overflow: hidden;
  z-index: 0;
}
.carousel .carousel-element {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.carousel .carousel-element img, .carousel .carousel-element video {
  width: 100%;
  position: absolute;
  animation-duration: 10s;
  animation-timing-function: cubic-bezier(0, 1, 0, 1);
  animation-fill-mode: both;
  animation-name: carousel-left;
  transform: scale(1.2);
}
.carousel .carousel-indicators {
  position: absolute;
  bottom: 1em;
  width: 100%;
  padding-right: 1em;
  box-sizing: border-box;
  text-align: right;
}
.carousel .carousel-indicator {
  display: inline-block;
  box-sizing: border-box;
  min-width: 1rem;
  min-height: 1rem;
  font-size: 0.5em;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  border-color: #ffffff;
  border-style: solid;
  border-width: 0.2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  background-color: rgba(255,255,255,0);
  transition: background-color 500ms ease 0s;
  text-align: center;
}
.carousel .carousel-indicator.active {
  color: #888888;
  background-color: rgba(255,255,255,1);
}
.carousel .carousel-start {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  animation: carousel-fade-in 1000ms linear 0s 1 both,
  carousel-fade-out 500ms linear 1000ms 1 forwards;
}
.carousel .carousel-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 1em;
  background-color: #00ff00;
  animation: carousel-width 1000ms linear 0s 1 both;
}
.carousel .carousel-front {
  position: absolute;
  left: 0;
  bottom: 0;
  display: none;
}
.carousel .carousel-overlay {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
/* 下部カルーセル */
/* カルーセル */
#corusel {
  --size: clamp(10rem, 1rem + 25vmin, 50rem);
  --gap: 30px;
  --duration: 120s;
  --scroll-start: 0;
  --scroll-end: calc(-100% - var(--gap));
  box-sizing: border-box;
  align-content: center;
  overflow: hidden;
  gap: var(--gap);
  margin: 80px auto;
  z-index: 0;
  height: fit-content;
  position: relative;
  z-index: 0;
}
#corusel::before{
  content: '';
  width: 100%;
  height: 5px;
  background: var(--page_color_thin);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
#corusel img{
  width: 100%;
}
.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: scroll-x var(--duration) linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__group {
    animation-play-state: paused;
  }
}

.marquee--vertical {
  --mask-direction: to bottom;
}

.marquee--vertical,
.marquee--vertical .marquee__group {
  flex-direction: column;
}

.marquee--vertical .marquee__group {
  animation-name: scroll-y;
}

.marquee--reverse .marquee__group {
  animation-direction: reverse;
  animation-delay: -3s;
}

@keyframes scroll-x {
  from {
    transform: translateX(var(--scroll-start));
  }
  to {
    transform: translateX(var(--scroll-end));
  }
}

@keyframes scroll-y {
  from {
    transform: translateY(var(--scroll-start));
  }
  to {
    transform: translateY(var(--scroll-end));
  }
}

/* Element styles */
.marquee .item {
  display: grid;
  place-items: center;
  width: var(--size);
  aspect-ratio: 1;
  padding: calc(var(--size) / 80);
}
.marquee .item:nth-child(even){
  border-radius: 50%;
}
.marquee--vertical .item {
  aspect-ratio: 1;
  width: calc(var(--size) / 1.5);
  padding: calc(var(--size) / 6);
}

/* Parent wrapper */
.wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin: auto;
  max-width: 100vw;
}

.wrapper--vertical {
  flex-direction: row;
  height: 100vh;
}

@keyframes fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}