@charset 'utf-8';
/* ======================================================
CSS information

 File Name  : index.css
 Style Info : 「トップページ」のCSS（コンテンツの共通はpages.css）
====================================================== */

#contents > * {
  z-index: 1;
  position: relative;
}

#wrap-visual {
  z-index: 0;
  position: relative;
}

#visual-slider {
  position: relative;
  margin-bottom: 1rem;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media screen and (min-width: 768px) {

  #visual-slider {
    margin-bottom: 1.5rem;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #visual-slider {
    margin-bottom: 2rem;
  }

}

#visual-slider::before {
  z-index: 2;
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgb(255 255 255 / .2) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 4px 4px;
}

#visual-slider .swiper-slide {
  width: 100%;
  height: 220px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media screen and (min-width: 768px) {

  #visual-slider .swiper-slide {
    height: 400px;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #visual-slider .swiper-slide {
    height: 640px;
  }

}

#visual-slider-thumb {
  margin-inline: auto;
  width: min(90%, 845px);
}

#visual-slider-thumb .swiper-wrapper {
  gap: .6rem;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media screen and (min-width: 768px) {

  #visual-slider-thumb .swiper-wrapper {
    gap: .8rem;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #visual-slider-thumb .swiper-wrapper {
    gap: 1rem;
  }

}

#visual-slider-thumb .swiper-slide {
  cursor: pointer;
  position: relative;
  flex: 1;
  border: solid 3px rgb(136 191 147 / .3);
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media screen and (min-width: 768px) {

  #visual-slider-thumb .swiper-slide {
    border-width: 4px;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #visual-slider-thumb .swiper-slide {
    border-width: 5px;
  }

}

#visual-slider-thumb .swiper-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(51 51 51 / .6);
  transition: all .3s ease;
}

#visual-slider-thumb .swiper-slide.swiper-slide-thumb-active::after {
  opacity: 0;
}

@media (any-hover: hover) {

  #visual-slider-thumb .swiper-slide:hover::after {
    opacity: 0;
  }

}

#visual-chatch h2 {
  letter-spacing: .2rem;
  margin-inline: auto;
  padding-bottom: 1.5rem;
  width: fit-content;
  color: var(--basecolor5);
  font-size: 2.6rem;
  border-bottom: 2px solid rgb(136 191 147 / .1);
  border-radius: var(--radius);
}

/* 768px～（タブレット）
------------------------------------*/
@media screen and (min-width: 768px) {

  #visual-chatch h2 {
    font-size: 3rem;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #visual-chatch h2 {
    font-size: 3.4rem;
  }

}

#wrap-greeting .grid-items {
  grid-template-areas: "img-box img-box"
                       "title-box text-box";
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
}

/* 768px～（タブレット）
------------------------------------*/
@media screen and (min-width: 768px) {

  #wrap-greeting .grid-items {
    gap: 2rem;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-greeting .grid-items {
    grid-template-areas: "title-box text-box img-box";
    grid-template-columns: 60px 1fr 340px;
    gap: 0;
  }

}

#wrap-greeting .grid-items .img-box {
  grid-area: img-box;
}

#wrap-greeting .grid-items .img-box img {
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* 768px～（タブレット）
------------------------------------*/
@media screen and (min-width: 768px) {

  #wrap-greeting .grid-items .img-box img {
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-greeting .grid-items .img-box img {
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

}

#wrap-greeting .grid-items .title-box {
  grid-area: title-box;
  writing-mode: vertical-rl;
}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-greeting .grid-items .title-box {
    margin-top: 6rem;
    width: fit-content;
  }

}

#wrap-greeting .grid-items .title-box h2 {
  letter-spacing: .2rem;
  display: inline-block;
  padding-right: 1.6rem;
  font-size: 2.2rem;
  font-weight: 500;
  border-right: 1px solid rgb(51 51 51 / .1);
}

/* 768px～（タブレット）
------------------------------------*/
@media screen and (min-width: 768px) {

  #wrap-greeting .grid-items .title-box h2 {
    padding-right: 1.8rem;
    font-size: 2.4rem;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-greeting .grid-items .title-box h2 {
    padding-right: 2rem;
    font-size: 2.6rem;
  }

}

#wrap-greeting .grid-items .text-box {
  grid-area: text-box;
  margin-top: 2rem;
}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-greeting .grid-items .text-box {
    margin-top: 6rem;
    margin-inline: 3rem 10%;
  }

}

#wrap-greeting .grid-items .text-box p {
  line-height: 1.8;
}

/* 768px～（タブレット）
------------------------------------*/
@media screen and (min-width: 768px) {

  #wrap-greeting .grid-items .text-box p {
    line-height: 1.9;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-greeting .grid-items .text-box p {
    line-height: 2;
  }

}

#wrap-chatch::after {
  z-index: -2;
  content: '';
  position: absolute;
  left: 0;
  bottom: -100px;
  width: 100%;
  height: 200px;
  background: url(../img/common/wave1.svg) no-repeat 0 bottom / cover;
}

/* 768px～（タブレット）
------------------------------------*/
@media screen and (min-width: 768px) {

  #wrap-chatch::after {
    bottom: -150px;
    height: 250px;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-chatch::after {
    bottom: -200px;
    height: 300px;
  }

}

#wrap-chatch .grid-items {
  gap: 2rem;
}

/* 768px～（タブレット）
------------------------------------*/
@media screen and (min-width: 768px) {

  #wrap-chatch .grid-items {
    gap: 3rem;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-chatch .grid-items {
    grid-template-columns: 1fr auto;
    gap: 8rem;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-chatch .grid-items video {
    margin-top: 8rem;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-chatch .grid-items .text-box {
    writing-mode: vertical-rl;
    margin: 0 auto;
    width: fit-content;
    height: 400px;
  }

}

#wrap-chatch .grid-items .heading-text-02 {
  line-height: 1.6;
  letter-spacing: .2rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media (min-width: 768px) {

  #wrap-chatch .grid-items .heading-text-02 {
    font-size: 2.6rem;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-chatch .grid-items .heading-text-02 {
    line-height: 1.8;
    margin-bottom: 0;
    margin-left: 3rem;
    padding-bottom: 0;
    font-size: 3rem;
    text-align: left;
    border-bottom: 0;
  }

}

#wrap-chatch .text-box p {
  line-height: 2;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media (min-width: 768px) {

  #wrap-chatch .text-box p {
    line-height: 1.9;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media (min-width: 960px) {

  #wrap-chatch .text-box p {
    line-height: 2;
    margin-top: 3.6rem;
  }

}

#wrap-about {
  position: relative;
  margin-left: auto;
  width: 95%;
}

/* 960px～（パソコン）
------------------------------------------------------ */
@media (min-width: 960px) {

  #wrap-about {
    margin-inline: auto;
    width: min(90%, 1180px);
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media (min-width: 960px) {

  #wrap-about-inner .grid-items {
    display: grid;
    grid-template-areas: "title-box img-box"
                         "text-box img-box"
                         "btn-box img-box";
    grid-template-columns: 320px 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 0 6rem;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media (min-width: 960px) {

  #wrap-about .title-box {
    grid-area: title-box;
    margin-top: 10rem;
  }

}

#wrap-about .img-box {
  margin-bottom: 2rem;
}

/* 960px～（パソコン）
------------------------------------------------------ */
@media (min-width: 960px) {

  #wrap-about .img-box {
    grid-area: img-box;
    margin-bottom: 0;
  }

}

#wrap-about .img-box img {
  width: 100%;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 10px;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media (min-width: 768px) {

  #wrap-about .img-box img {
    border-top-left-radius: 70px;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media (min-width: 960px) {

  #wrap-about .img-box img {
    border-top-left-radius: 100px;
  }

}

#wrap-about .text-box {
  margin-bottom: 3rem;
  margin-inline: auto;
  width: min(100%, 800px);
}

/* 960px～（パソコン）
------------------------------------------------------ */
@media (min-width: 960px) {

  #wrap-about .text-box {
    grid-area: text-box;
  }

}

#wrap-about .text-box p {
  line-height: 1.8;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media (min-width: 768px) {

  #wrap-about .text-box p {
    line-height: 2;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media (min-width: 960px) {

  #wrap-about .text-box p {
    line-height: 2.2;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media (min-width: 960px) {

  #wrap-about .btn-box {
    grid-area: btn-box;
    margin-top: 3rem;
  }

}

#wrap-ginkgo::after {
  z-index: -2;
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 100%;
  height: 200px;
  background: url(../img/common/wave2.svg) no-repeat 0 bottom / cover;
}

/* 768px～（タブレット）
------------------------------------*/
@media screen and (min-width: 768px) {

  #wrap-ginkgo::after {
    bottom: -150px;
    height: 250px;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-ginkgo::after {
    bottom: -200px;
    height: 300px;
  }

}

#wrap-ginkgo .grid-items {
  gap: 2rem;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media (min-width: 768px) {

  #wrap-ginkgo .grid-items {
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 2.5rem;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media (min-width: 960px) {

  #wrap-ginkgo .grid-items {
    position: relative;
    grid-template-columns: 320px auto;
    gap: 8rem;
  }

}

#wrap-ginkgo .grid-items .img-box img {
  width: 100%;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 10px;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media (min-width: 768px) {

  #wrap-ginkgo .grid-items .img-box img {
    border-top-right-radius: 70px;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media (min-width: 960px) {

  #wrap-ginkgo .grid-items .img-box img {
    border-top-right-radius: 100px;
  }

}

/* 768px～（タブレット）
------------------------------------------------------ */
@media (min-width: 768px) {

  #wrap-ginkgo .grid-items .text-box {
    width: fit-content;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media (min-width: 960px) {

  #wrap-ginkgo .grid-items .text-box {
    margin-top: 0;
  }

}

/* 768px～（タブレット）
------------------------------------------------------ */
@media (min-width: 768px) {

  #wrap-ginkgo .grid-items .text-box .heading-text-03 {
    justify-content: flex-start;
  }

}

#wrap-ginkgo .grid-items .text-box p {
  line-height: 2;
}

#wrap-bnr01 .grid-items {
  gap: 2rem;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media screen and (min-width: 768px) {

  #wrap-bnr01 .grid-items {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

}

#wrap-bnr01 .items {
  overflow: hidden;
  position: relative;
  height: 300px;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media screen and (min-width: 768px) {

  #wrap-bnr01 .items {
    height: 400px;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-bnr01 .items {
    height: 600px;
  }

}

#wrap-bnr01 .items::before {
  z-index: 2;
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  aspect-ratio: 1;
  width: 40%;
  background: url(../img/common/logo-w-bg.webp) no-repeat 0 0 / cover;
  opacity: .2;
}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-bnr01 .items::before {
    width: 23%;
  }

}

#wrap-bnr01 .items::after {
  z-index: 2;
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border: solid 1px var(--basecolor2);
}

#wrap-bnr01 .items .text {
  z-index: 3;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  letter-spacing: .2rem;
  color: var(--basecolor2);
  font-size: 1.8rem;
  font-weight: 600;
  white-space: nowrap;
}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-bnr01 .items .text {
    font-size: 2.2rem;
  }

}

#wrap-bnr01 .items .bg1 {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
  transition: all .4s ease;
}

@media (any-hover: hover) {

  #wrap-bnr01 .items:hover .bg1 {
    scale: 1.08;
  }

}

#wrap-bnr01 .items .bg2 {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(51 51 51 / .1),rgb(51 51 51 / .8));
  transition: all .4s ease;
}

@media (any-hover: hover) {

  #wrap-bnr01 .items:hover .bg2 {
    opacity: .3;
  }

}

#wrap-bnr02 .grid-items {
  gap: 2rem;
}

#wrap-bnr02 .items {
  overflow: hidden;
  position: relative;
  height: 140px;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media screen and (min-width: 768px) {

  #wrap-bnr02 .items {
    height: 160px;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-bnr02 .items {
    height: 200px;
  }

}

#wrap-bnr02 .items::before {
  z-index: 2;
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  aspect-ratio: 1;
  width: 100px;
  background: url(../img/common/logo-w-bg.webp) no-repeat 0 0 / cover;
  opacity: .2;
}

#wrap-bnr02 .items::after {
  z-index: 2;
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border: solid 1px var(--basecolor2);
}

#wrap-bnr02 .items .text {
  z-index: 3;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  color: var(--basecolor2);
  font-size: 1.8rem;
  font-weight: 600;
  white-space: nowrap;
}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  #wrap-bnr02 .items .text {
    font-size: 2.2rem;
  }

}

#wrap-bnr02 .items .bg1 {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: all .4s ease;
}

@media (any-hover: hover) {

  #wrap-bnr02 .items:hover .bg1 {
    scale: 1.08;
  }

}

#wrap-bnr02 .items .bg2 {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(51 51 51 / .1),rgb(51 51 51 / .8));
  transition: all .4s ease;
}

@media (any-hover: hover) {

  #wrap-bnr02 .items:hover .bg2 {
    opacity: .3;
  }

}

#wrap-sns {
  padding-top: 4rem;
  border-top: 1px solid #f1f1f1;
}

#wrap-sns .grid-items {
  gap: 3rem;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media (min-width: 768px) {

  #wrap-sns .grid-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media (min-width: 960px) {

  #wrap-sns .grid-items {
    grid-template-columns: 500px 1fr;
    gap: 5rem;
  }

}

#sb_instagram #sbi_images {
  padding: 0;
}
