@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: 4em;
  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 {
  position: relative;
  background: url("../../_images/testimonials/visual.jpg") no-repeat;
  background-size: cover;
  background-position: center;
}

/* ****************************************************************************************************
   * お客様の声　一覧
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

.testimonials {
  padding-top: 70px;
  padding-bottom: 120px;
}

.testimonials .body {
  max-width: 1120px;
  padding: 0 20px;
}

/* ----------------------------------------------------------------------------------------------------
   * リスト
/* ------------------------------------------------------------------------------------------------- */

.testimonials .layout-flex-4 {
  justify-content: flex-start;
}

.testimonials .layout-flex-4 > * {
  width: 25%;
  padding: 0.5em;
  overflow: hidden;
}
.testimonials .layout-flex-4 > :nth-child(n+5) {
  margin-top: 40px;
}

.testimonials .layout-flex-4 .item a {
  opacity: 1;
}
.testimonials .layout-flex-4 .item .photo {
  overflow: hidden;
  transition: 0.6s;
  display: block;
  width: 240px;
}
.testimonials .layout-flex-4 .item:hover {
  opacity: 1;
}
.testimonials .layout-flex-4 .item .photo img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  transition: 0.6s;
}
.testimonials .layout-flex-4 .item:hover .photo img {
  transform: scale(1.1);
  opacity: 1;
}

.testimonials .layout-flex-4 .item .text {
  text-align: center;
  font-weight: 900;
  color: #000;
  display: block;
  margin: 0.5em auto 0;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:1100px) {
  /*ブラウザの幅が736px以下の時*/
  .testimonials .layout-flex-4 {
    justify-content: space-around;
  }
  .testimonials .layout-flex-4 > * {
    width: 33.33%;
    padding: 0.5em;
    overflow: hidden;
    text-align: center;
  }
  .testimonials .layout-flex-4 > :nth-child(n+4) {
    margin-top: 40px;
  }
  .testimonials .layout-flex-4 .item .photo {
    overflow: hidden;
    transition: 0.6s;
    display: block;
    width: 240px;
    margin: 0 auto;
  }
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  .testimonials .layout-flex-4 > * {
    width: 48%;
    padding: 0.5em;
    overflow: hidden;
    text-align: center;
  }
  .testimonials .layout-flex-4 .item .photo {
    overflow: hidden;
    transition: 0.6s;
    display: block;
    width: auto;
    margin: 0 auto;
  }
  .testimonials .layout-flex-4 .item .photo img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    transition: 0.6s;
  }
  .testimonials .layout-flex-4 > :nth-child(n+3) {
    margin-top: 30px;
  }
}

/* ****************************************************************************************************
   * お客様の声　詳細
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * タイトル
/* ------------------------------------------------------------------------------------------------- */

.testimonials .title-1 {
  background: var(--c-brown);
  color: #fff;
  font-size: 2.5rem;
  padding: 0.5em;
  line-height: 1.4;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  .testimonials .title-1 {
    background: var(--c-brown);
    color: #fff;
    font-size: 1.8rem;
    padding: 0.5em;
  }
}

/* ----------------------------------------------------------------------------------------------------
   * 内容
/* ------------------------------------------------------------------------------------------------- */

.testimonials .contents {
  margin-top: 50px;
  padding-bottom: 100px;
}

.testimonials picture {
  width: 39%;
  margin-right: 4%;
  text-align: center;
  display: block;
}

.testimonials .detail {
  width: 57%;
}
.testimonials .detail > * {
  font-size: 2.0rem;
} 
.testimonials .detail .flex {
  display: flex;
  justify-content: flex-start;
}
.testimonials .detail .flex p ~ p {
  margin-top: 0;
}
.testimonials .detail span {
  color: var(--c-brown);
  margin-right: 0.5em;
}

.testimonials .detail .day {}

.testimonials .detail .purpose {}

.testimonials .detail .content {
  margin-top: 1em;
}


.testimonials .box .inner {
  margin-top: 1em;
  background: #f7f5f1;
  padding: 20px;
}
.testimonials .box .inner .text {
  font-size: 1.6rem;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  .testimonials .contents {
    margin-top: 20px;
    padding-bottom: 50px;
  }
  .testimonials picture {
    width: 100%;
    margin-right: 0;
  }
  .testimonials .detail {
    width: 100%;
    margin-top: 1em;
  }
  .testimonials .detail > * {
    font-size: 1.8rem;
  } 
}



