@charset "UTF-8";

.l-pageBody {
    background: inherit;
}

@media screen and (max-width: 767px) {
  .home .l-footer .bg-fixed {
    display: none;
  }
}


.p-heading {
  display: inline-block;
  margin-bottom: 80px;
  font-weight: bold;
  font-size: 1.2rem;
  background: url("../../images/top/ico_ttl.svg")no-repeat;
  background-size: 25px;
  background-position: center;
}

.p-heading span {
  display: inline-block;
  vertical-align: middle;
}

.p-heading .is-en {
  margin-right: 80px;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
}

.p-archive-link {
    text-align: right;
    margin: 60px 0 0;
}

.p-archive-link a {
  position: relative;
    font-size: 1.4rem;
    text-decoration: none;
    color: #000;
    padding: 0 20px 10px 0;
    display: inline-block;
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
}

.p-archive-link a::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 100%;
  top: 0;
  right: 0;
  background: url("../../images/common/ico_next.svg")no-repeat;
  background-size: 10px;
  background-position: right top 2px;
  transition: .3s;
}

.p-archive-link a::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background: #000;
  bottom: 0;
  left: 0;
  transition: .3s;
}

@media screen and (min-width: 768px){

  .p-archive-link a:hover::before {
    right: -5px;
  }

  .p-archive-link a:hover::after {
    width: 0%;
  }

}

@media screen and (max-width: 767px){
  .p-heading {
    margin-bottom: 60px;
  }

  .p-archive-link {
      margin: 40px 0 0;
  }

  .p-archive-link a {
      font-size: 1.2rem;
  }

}

/* p-about */

.p-about {
  background: url("../../images/top/bg_grid.png")repeat,#fff;
  background-size: 12px;
  padding: 120px 0 100px;
  position: relative;
}

.p-about::before {
  position: absolute;
  content: "";
  background: url("../../images/common/bg_about_pc.png")no-repeat;
  background-size: 1280px;
  background-position: top right;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}

.p-about-container {
  margin: 0 0 0 auto;
  width: calc(100% - 80px);
  background: #fff;
  padding: 60px 0 80px 40px;
  position: relative;
}

.p-about-inner {
  position: relative;
  z-index: 2;
}

.p-about-heading {
  font-size: 2.4rem;
  margin: 0 0 15px;
}

.p-about-lead {
  font-size: 1.2rem;
  line-height: 2;
}


.slider-wrapper {
  margin: 40px 0 60px;;
  display: flex;
  width: 100%;
  position: relative;
  flex-wrap: wrap;
  z-index: 3;
}


#main-slider {
  width: 50%;
  overflow: hidden;
  /* aspect-ratio: 640 / 500; /* ← メインスライダーの比率 */ */
  overflow: hidden;
}


#sub-slider {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#main-slider .slick-slide {
  margin: 0 5px 0 0;
}

#main-slider .slick-slide a {
  transition: .3s;
}


#sub-slider .slick-slide {
  margin: 0 5px 0 0;
}

#main-slider .slick-slide img,
#sub-slider .slick-slide img {
  width: 100%;
  object-fit: cover;
}




#main-slider .slick-slide img,
#sub-slider .slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.main-slider .slick-slide {
  overflow: hidden;
  position: relative;
}

.main-slider .slick-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transform: scale(1);
}

/* アクティブ時のズームアニメーション */
.main-slider .slick-slide.zoom-animate img {
  animation: zoom-in 10s ease-in-out forwards;
}

@keyframes zoom-in {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}

.custom-arrows {
  position: absolute;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  z-index: 10;
  top: 0;
  right: 0;
}

.custom-arrows button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.custom-arrows img {
  width: 24px;
  height: auto;
}



/* Arrows */
#sub-slider .slick-prev,
#sub-slider .slick-next
{
    position: absolute;
    top: -21px;

    display: block;

    width: 25px;
    height: 5px;
    padding: 0;
    transform: inherit;
    z-index: 10;
}

#sub-slider .slick-prev:before,
#sub-slider .slick-next:before
{
  display: none;
}

#sub-slider .slick-prev
{
    left: inherit;
    right: 65px;
}
#sub-slider .slick-next
{
    right: 20px;
}

.slider-counter {
  position: absolute;
  top: -29px;
  right: 120px;
  font-size: 1rem;
  z-index: 10;
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  user-select: none;
}

.slider-ttl {
  position: absolute;
  z-index: 10;
  background: #000;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1.2rem;
  min-width: 120px;
  min-height: 35px;
  text-align: center;
  left: -50px;
  bottom: 7vw;
}

.slider-ttl a {
  display: block;
  transition: .3s;
    padding: 7px 28px 7px 0;
    background: url("../../images/top/ico_all.svg")no-repeat;
    background-size: 25px;
    background-position: right 5px center;
    text-decoration: none;
    color: #fff;
}

@media screen and (min-width: 768px){


  .p-about-inner {
      max-width: 1110px;
      padding: 0 30px 0 0;
  }

  .p-about-2col {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
  }

  .p-about-2col .p-archive-link {
      margin: 0;
  }

  .p-about-inner .block {
      max-width: 558px;
  }

  #main-slider .slick-slide {
    aspect-ratio: 640 / 500;
  }

  #main-slider .slick-slide a:hover {
    opacity: .8;
  }

  #sub-slider .slick-slide {
    flex: 1 1 0; /* 高さ均等に3分割 */
    aspect-ratio: 210 / 500; /* 固定比率は使わない */
  }

  .slider-ttl a:hover {
    opacity: .8;
  }


}


@media (max-width: 768px) {

  .p-about::before {
    background: url("../../images/common/bg_about_sp.png")no-repeat;
    background-size: 100%;
    background-position: left -7px top;
    width: 100%;
    height: 100%;
  }

  .p-about-inner {
    padding: 0 20px 0 0;
  }

  .p-about-container {
    width: calc(100% - 20px);
    padding: 60px 0 60px 20px;
  }

  .p-about-container {
   width: calc(100% - 20px);
   padding: 60px 0 60px 20px;
 }

 .slider-wrapper {
   display: flex;
   flex-direction: row; /* ← 横並びに修正 */
   min-height: auto;
   margin: 40px 0 70px;
 }

 #main-slider {
   width: 80%; /* メイン画像エリア */
   margin: 0;
 }

 #sub-slider {
   width: 20%; /* サブスライダーを見切れた状態に */
   margin: 0;
 }

 #sub-slider .slick-track {
   display: flex;
 }

 #sub-slider .slick-slide {
   width: 100% !important;
   margin-right: 0;
 }

 #main-slider .slick-slide img,
 #sub-slider .slick-slide img {
   height: 285px !important;
   object-fit: cover;
 }

 .slider-counter {
    top: inherit;
    bottom: -25px;
    right: 108px;
    font-size: 1rem;
 }

 #sub-slider .slick-prev,
 #sub-slider .slick-next {
    top: inherit;
    bottom: -19px;
  }

  .slider-ttl {
    left: -30px;
    bottom: 30px;
    font-size: 1rem;
    min-height: inherit;
    min-width: 100px;
  }

  .slider-ttl a {
      background-size: 15px;
      padding: 7px 20px 7px 0;
  }
}




/* p-tour */

.p-tour {
  background: url("../../images/top/bg_grid.png")repeat,#fff;
  background-size: 12px;
  padding: 100px 30px;
}

.p-tour-info {
    max-width: 1080px;
    margin: 0 auto;
    background: #000;
    height: 60px;
    padding: 20px;
    overflow: hidden;
}

.p-tour-box {
  margin: 0 40px 0 0;
}

.p-tour-box a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  white-space: nowrap;     /* ← 追加：改行を防ぐ */
  overflow: hidden;        /* ← はみ出したテキストを隠す */
  text-overflow: ellipsis; /* ← 必要なら省略記号をつける */
}

.p-tour-schedule {
    background: #fff;
    color: #000;
    border-radius: 30px;
    padding: 0 5px;
    display: inline-block;
    vertical-align: bottom;
    margin-right: 10px;
    font-weight: 400;
}

.p-tour-content {
  padding: 0 0 80px;
  max-width: 1080px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.p-tour-inner {
    padding: 60px 30px 0;
    max-width: 860px;
    margin: 0 auto;
}

.p-tour-inner .pic {
    margin: 0 auto 40px;
}

.p-tour-ttl {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    margin: 0 0 30px;
}

.p-tour-lead {
    font-size: 1.4rem;
    margin: 0 0 50px;
}

.p-tour .link {
  font-size: 1.4rem;
  font-weight: bold;
}

.p-tour .link a {
  color: #000;
  text-decoration: underline;
}

.p-tour-slider {
    max-width: 940px;
    margin: 40px 0 0 auto;
    width: calc(100% - 20px);
    border-top: solid 1px #000;
    border-left: solid 1px #000;
    border-bottom: solid 1px #000;
}

.p-tour-slider .slick-slide {
  display: flex !important;
  align-items: flex-end; /* 必要に応じて下揃え */
  justify-content: center;
}

.p-tour-slider img {
  height: 200px;        /* ← 固定 */
  width: auto;          /* ← 自動で比率維持 */
  display: block;
  object-fit: contain;  /* 必要に応じて調整 */
}

@media screen and (min-width: 768px){


  .p-tour .link a:hover {
    text-decoration: none;
  }


}

@media screen and (max-width: 767px){
  .p-tour-slider {
      margin: 30px 0 0 auto;
  }

  .p-tour {
      padding: 0 10px 80px;
  }

  .p-tour-inner {
      padding: 40px 20px 0;
  }

  .p-tour-inner .pic {
      margin: 0 auto 30px;
  }

  .p-tour-ttl {
      font-size: 1.4rem;
      margin: 0 0 20px;
  }

  .p-tour-lead {
      font-size: 1.2rem;
      margin: 0 0 30px;
  }

}

/* p-fix-bg */

@media screen and (min-width: 768px) {
  .p-fix-bg {
    height: 800px;
    background: url("../../images/top/bg_sec_pc.jpg") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
  }
}

/* SP */
@media screen and (max-width: 767px) {
  .p-fix-bg {
    height: 600px;
  }

  .p-fix-pic {
    position: fixed;
    bottom: 200px;
    left: 0;
    width: 100%;
    height: 600px;
    background: url("../../images/top/bg_sec_sp.jpg") no-repeat center top;
    background-size: cover;
    background-position: center bottom;
    z-index: -1;
    pointer-events: none;
    will-change: transform;
  }
}




/* p-works */

.p-works {
  padding: 80px 0 180px;
  background: #EEEEEE;
}

.p-works-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 30px;
}


@media screen and (min-width: 768px){


}

@media screen and (max-width: 767px){
  .p-works {
    padding: 60px 0 80px;
  }

  .p-works-content {
    padding: 0 20px;
  }
}



/* p-news */

.p-news {
  padding: 80px 0 180px;
  background: #fff;
}

.p-news-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 30px;
}


@media screen and (min-width: 768px){


}

@media screen and (max-width: 767px){
  .p-news {
    padding: 60px 0 80px;
  }

  .p-news-content {
    padding: 0 20px;
  }
}
