@charset "utf-8";

/* article header */
.mv {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.mv__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 8s infinite;
}

.mv__img.img1 {
  object-position: center 50%;
  animation-delay: 0s;
}

.mv__img.img2 {
  object-position: center bottom;
  animation-delay: 4s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ここから　concept */
.section__concept {
  margin: 25px 0 40px;
  padding: 0 4.2%;
  text-align: center;
}

.topic {
  font-family: 'Old Standard TT', serif;
  font-style: italic;
  font-size: 2rem;
  line-height: 1.3;
}

.concept__txt {
  font-size: 1.5rem;
  margin: 24px auto 0;
    
}
  /* 背景画像 */
.lead {
  position: relative;
  margin-top: 32px;
  background-image: url("../images/main-concept.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 背景を暗く */
.lead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* 文章 */
.lead__concept {
  position: relative;
  z-index: 1;

  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;

  color: var(--primary-white, #FFFFFF);
  text-align: center;
}

/* 本文 */
.lead__txt {
  font-size: clamp(1.2rem, 1.2vw, 1.5rem);
  line-height: 1.9;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

/* 段落間 */
.lead__txt + .lead__txt{
  margin-top: 20px;
}

/* concept pc 始 */
@media screen and (min-width:769px) {
.mv {
  height: 65vh;
}

.lead {
  padding: 80px 0;
}

.lead::before {
  background: rgba(0, 0, 0, 0.45);
}

.lead__concept {
   padding: 0 40px;
}
.topic {
  font-size: 3.5rem;
}
}
/* concept pc　終 */

/* ここからGarellyとPlan*/
.section__gallery,
.section__plan {
  background-color: rgba(115, 186, 178, 0.5);
  display: flow-root;
  padding: 20px var(--contentPadding) 0;
}

.gallery__img,
.plan__img {
  margin-top: 24px;
  padding: 0;
}

.gallery__img li + li {
  margin-top: 40px;
}

.plan__img,
.gallery__img {
  display: block;
  width: 100%;
  height: auto;
}

.plan__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.plan__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position:center 40%;
}

/* GalleryとPlan PC　始 */
@media screen and (min-width:769px) {
.gallery__img {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: stretch;
  max-width: 820px;
  padding: 0;
  margin: 24px auto 0;
}
.gallery__img li{
  flex: 1;
  height: 300px;
  overflow: hidden;
}

.gallery__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__img li + li{
  margin-top: 0;
}

.plan__photo {
  margin: 0 auto;
  max-width: 820px;
}

.plan__img {
  width: 100%;
  height:100%;
  object-fit: cover;
  display: block;
}

.plan__btns {
 display: flex;
}
}

/* ここからFAQ */
 .section__faq {
    padding: 20px var(--contentPadding) 0;
  }
  .faq__img {
    margin-top: 24px;
  }

/* FAQ pc */
@media screen and (min-width:769px) {
  .faq__photo {
    margin: 0 auto;
    max-width: 820px;
  }

  .faq__img {
    width: 100%;
    height:100%;
    object-fit: cover;
    display: block;
  }
}/* FAQ pc 終 */