@charset "utf-8";

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * メイン
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
/* -------------------------------------------------------------------------------------------------
   * セクショニング
/* ---------------------------------------------------------------------------------------------- */

#main {}

#main-contents {
  overflow: hidden;
}

#main-contents div.body {
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

#main-contents .column ~ .column {
  margin-top: 40px;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:1100px) {

 #main-contents div.body {
   max-width: 100%;
   padding-left:20px;
   padding-right: 20px;
   margin: 0 auto;
 }
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {

#main-contents > .section {
  padding-top: 2em;
  padding-bottom: 4em;
}

#main-contents div.body {
  max-width: 100%;
  padding: 0 1em;
  margin: 0 auto;
}

#main-contents .column ~ .column {
  margin-top: 20px;
}

}


/* ****************************************************************************************************
   * ビジュアル
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

body.layout-lower #visual {
  background: url("../../_images/facilities/visual.jpg") no-repeat;
  background-size: cover;
  background-position: center;
}

/* ****************************************************************************************************
   * 共通エリア
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * カラム
/* ------------------------------------------------------------------------------------------------- */

.facilities {
  position: relative;
  padding-top: 70px;
  padding-bottom: 120px;
}

.facilities .body {
  max-width: 1120px;
  padding: 0 20px;
}

/* ----------------------------------------------------------------------------------------------------
   * タイトル
/* ------------------------------------------------------------------------------------------------- */

.facilities .title {
  position: relative;
  font-size: 6.0rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
  font-family: "Prata", serif;
  color: var(--c-gold);
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  .facilities .title {
    font-size: 3.0rem;
  }
}

/* ****************************************************************************************************
   * リード文
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 内容
/* ------------------------------------------------------------------------------------------------- */

#lead {
  margin-top: 60px;
  padding-top: 0;
  padding-bottom: 130px;
}
#lead .body {
  max-width: 1120px;
}

#lead .photo {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(50% - 50px);
}
#lead .photo picture {
  position: relative;
  display: block;
}
#lead .photo picture img {
  width: 100%;
  height: 500px;
  overflow: hidden;
  object-fit: cover;
}


#lead .detail {
  max-width: 520px;
  width: 60%;
  margin-left: 0;
  margin-right: auto;
  justify-content: flex-start;
}
#lead .subtitle {
  font-size: 3.0rem;
  font-weight: 400;
}
#lead .text {
  margin-top: 60px;
}



/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:1120px) {
  /*ブラウザの幅が736px以下の時*/
  #lead {
    margin-top: 0;
  }
  #lead .photo {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    margin: 0 auto;
  }
  #lead .photo picture img {
    width: 100%;
    height: auto;
    overflow: hidden;
    object-fit: cover;
  }
  
  #lead .detail {
    max-width: 100%;
    width: 100%;
    margin: 1em auto 0;
    justify-content: center;
  }
  #lead .subtitle {
    font-size: 2.4rem;
  }
  #lead .text {
    margin-top: 20px;
  }
}


/* ****************************************************************************************************
   * スライダー
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

#slider {
  padding-top: 0;
}

.facilities .slideshow {
  margin-top: 50px;
}
.facilities section ~ section {
  padding-top: 140px;
}

.facilities .title-1 {
  position: relative;
  font-size: 3.0rem;
  text-align: center;
}
.facilities .title-1::after {
  content: "";
  display: block;
  background: url("../../_images/_common/title-mark.png") no-repeat;
  width: 50px;
  height: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto -10px;
}

.facilities .body {
  max-width: 1040px;
  margin: 0 auto;
}

.facilities .content {
  margin-top: 50px;
}

.facilities .content p {}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  #slider {
    padding-top: 0 !important;
  }
  .facilities .slideshow {
    margin-top: 40px;
  }
  .facilities section ~ section {
    padding-top: 70px;
  }
  
  .facilities .title-1 {
    position: relative;
    font-size: 2.0rem;
    text-align: center;
  }
  .facilities .content {
    margin-top: 20px;
  }
}

/* ----------------------------------------------------------------------------------------------------
   * スライド画像
/* ------------------------------------------------------------------------------------------------- */

.facilities .slick-slide > * {
  position: relative;
  display: block;
  background: #000;
  color:#fff;
  margin:0 25px 20px;
}
.facilities .slick-slide > * .images {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-top: 66.6666%;
}
.facilities .slick-slide img {
  width: 100%;
  transition: 0.8s;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
}
.facilities .slick-slide:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.facilities .slick-slide > * .detail {
  position: relative;
  padding:10px 20px;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {

.facilities .slick-slide > * {
  position: relative;
  display: block;
  background: #000;
  color:#fff;
  margin:0 15px 20px;
}
.facilities .slick-slide > * .detail {
  position: relative;
  padding:10px;
}
}


/* ----------------------------------------------------------------------------------------------------
   * ページャ
/* ------------------------------------------------------------------------------------------------- */

.facilities .slick-dots {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  line-height: 1;
}

.facilities .slick-dots li {
  display: inline-block;
  vertical-align: top;
  margin: 0 .4em;
}
.facilities .slick-dots li button {
  display: inline-block;
  width: 50px;
  height: 4px;
  font-size: 0;
  cursor: pointer;
  background: #e4e4e4;
  border:0;
  transition: .2s;
}
.facilities .slick-dots li.slick-active button {
  background: var(--c-gold);
}
