/* c-slider */
button {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: none;
  border-radius: 0;
}
.demo-title {
  font-size: 24px;
  margin-bottom: 1em;
  padding: 1em 0;
  text-align: center;
  color: #fefefe;
  background-color: royalblue;
}
.carousel {
  width: 940px;
  height: calc(600px * 0.65);
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}
.carousel-area {
  height: 100%;
  position: absolute;
  display: flex;
}
.carousel-list {
  width: 940px;
  height: 100%;
  margin-right: 30px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media screen and (max-width: 751px) {
  .carousel {
    width: 375px;
    height: calc(300px * 0.5625);
  }
  .carousel-list {
    width: 375px;
    height: calc(300px * 0.5625);
    margin-right: 0;
  }
}
.carousel-list:nth-child(1) {
  background-image: url(../img/slider-image-01.jpg);
}
.carousel-list:nth-child(2) {
  background-image: url(../img/slider-image-02.jpg);
}
.carousel-list:nth-child(3) {
  background-image: url(../img/slider-image-03.jpg);
}
.carousel-list:nth-child(4) {
  background-image: url(../img/slider-image-04.jpg);
}
.carousel-img {
  width: 1px;
  height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  margin: -1px;
  padding: 0;
  overflow: hidden;
  position: absolute;
}
/*********** ページネーション ***********/
.pagination {
  width: 150px;
  margin: 5% auto 0;
  display: flex;
  justify-content: space-around;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 15px;
}
.pagination-circle {
  width: 9px;
  height: 9px;
  border: 1px solid #fff;
  border-radius: 50%;
}
.pagination-circle.target {
  background-color: #fff;
}

/* c-terrace-intro */
.detail-terrace-intro {
  padding-bottom: 130px;
}
.sub-title.type-03 {
  width: 100%;
}
.sub-title.type-03::before,
.sub-title.type-03::after {
  display: none;
}
.about-contents .left.center {
  width: 70%;
  min-width: 560px;
  text-align: center;
  margin: 0 auto;
  float: none;
  margin-bottom: 85px;
}
.about-contents .left.center p {
  display: inline-block;
  margin-bottom: 5px;
}

/* c-detail-title */
.detail-title {
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  padding: 19px 0px 19px 100px;
  width: 96%;
  background: #2c3a21;
  position: relative;
  margin: 0px 2%;
}
.detail-title:before {
  content: "";
  width: 50px;
  height: 25px;
  background: url(../img/detail-title-01.png) no-repeat;
  background-size: cover;
  display: inline-block;
  position: absolute;
  left: 30px;
  top: 22px;
}
.detail-title.type-2:before {
  content: "";
  width: 50px;
  height: 35px;
  background: url(../img/detail-title-02.png) no-repeat;
  background-size: cover;
  display: inline-block;
  position: absolute;
  left: 30px;
  top: 17px;
}

/* c-detail-main-content */
.detail-main-content {
  margin-top: 30px;
  overflow: hidden;
}
h5 {
  font-size: 16px;
  font-weight: bold;
  color: #2c3a21;
  margin-top: 15px;
  letter-spacing: 1.8px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
h5::before {
  content: "";
  width: 100%;
  height: 10px;
  background-color: #f2f6e9;
  position: absolute;
  bottom: 0px;
  z-index: -1;
}
.detail-main-content p {
  font-size: 14px;
  font-weight: bold;
  position: relative;
  padding-bottom: 45px;
  line-height: 1.6;
}
.first-terrace-text::after {
  content: "";
  width: 100%;
  height: 1px;
  background: url(../img/border-bottom.png);
  position: absolute;
  bottom: 30px;
  left: 0px;
}
.detail-main-content .left {
  width: 62%;
  margin-right: 2%;
  float: left;
}
.detail-main-content .right {
  width: 36%;
  float: left;
}
.right:last-child {
  margin-top: 15px;
}
/* c-interview */
.sub-title.type-04 {
  width: 33%;
}
.root-1 {
  margin-top: 35px;
}
.root-2 {
  margin-top: 70px;
}
.root-content {
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 40px;
}
.root-content.type-2 {
  background-color: #f2f6e9;
}
.root-content > div {
  float: left;
}
.root-content > div:first-of-type {
  margin-right: 3%;
}
.root-content.type-2 > div:first-of-type {
  margin-left: 3%;
  margin-right: 0px;
  float: right;
}
.root-content .image-area {
  width: 45%;
  overflow: hidden;
}
.image-area .big {
  width: 100%;
  margin-bottom: 10px;
}
.image-area img:nth-child(2n) {
  width: 48.5%;
  margin-right: 3%;
  float: left;
}
.image-area img:nth-child(3n) {
  width: 48%;
  float: left;
}
.root-content .text-area {
  text-align: center;
  width: 52%;
}
h6 {
  font-size: 20px;
  display: inline-block;
  position: relative;
  padding: 0px 3px;
  margin: 0px 0px 25px;
  z-index: 2;
}
h6:before {
  content: "";
  width: 100%;
  height: 9px;
  background-color: #f9e95a;
  position: absolute;
  bottom: 1px;
  left: 0px;
  z-index: -1;
}
.text-area p {
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 15px;
}
.text-area > span {
  display: block;
  font-size: 11px;
  font-weight: bold;
  margin-top: 5px;
  text-align: left;
  position: relative;
  padding-left: 13px;
}
.text-area > span img {
  position: absolute;
  left: 0px;
  top: 1px;
  width: 10px;
}
.text-area > span.root-insta img {
  top: 3px;
  width: 10px;
}
.hp-link {
  margin-top: 25px;
  display: inline-block;
  width: 400px;
  height: 60px;
  background-color: #545e2b;
  border-radius: 10px;
  color: #fff;
  position: relative;
  border-bottom: 4px solid #a1a78b;
}
.hp-link img {
  position: absolute;
  left: 60px;
  top: 12px;
}
.hp-link span {
  line-height: 60px;
  padding-left: 10px;
}
.links p {
  text-align: center;
  margin-top: 15px;
}
.links a {
  margin-top: 7px;
}

/* c-interviewer */
.interviewer {
  margin-top: 10px;
  width: 96%;
  padding: 40px 4.5% 50px;
  background-color: #fffde9;
  border-radius: 10px;
  margin: 0 2%;
}
.interviewer-info {
  overflow: hidden;
}
.interviewer-info > img {
  float: left;
  margin-right: 5%;
  width: 21%;
}
.interviewer-text {
  float: left;
  width: 74%;
}
.interviewer-text p {
  font-size: 12px;
  line-height: 2;
}
.interviewer-text .interviewer-name {
  font-size: 18px;
  margin-bottom: 10px;
}
.interviewer-text .interviewer-instagram {
  margin-top: 20px;
  line-height: 20px;
}
.interviewer-text .interviewer-instagram img {
  margin-right: 10px;
  float: left;
}

@media screen and (max-width: 751px) {
  .sub-title {
    top: -35px;
  }
  .detail-terrace-intro {
    padding-top: 80px;
    padding-bottom: 50px;
  }
  .about-contents .left.center {
    min-width: auto;
    width: 100%;
    margin-bottom: 65px;
  }
  .text-area p {
    font-size: 12.5px;
    text-align: left;
  }
  .detail-title {
    font-size: 16px;
  }
  .detail-title:before {
    top: 42px;
  }
  .detail-main-content {
    margin-top: 25px;
  }
  h5 {
    font-size: 14px;
  }
  h5::before {
    display: none;
  }
  .detail-main-content p {
    font-size: 12px;
  }
  .detail-main-content .left {
    width: 100%;
    margin: 0px;
    float: none;
  }
  .detail-main-content .right.sp-type-2 {
    margin-top: 12px;
    width: 41%;
    margin-right: 4%;
  }
  .detail-main-content .right.sp-type-3 {
    margin-top: 12px;
    width: 55%;
  }
  .detail-title.type-2:before {
    top: 26px;
  }
  .root-content > div {
    float: none;
  }
  .root-content .image-area {
    width: 100%;
  }
  .root-content .text-area {
    width: 100%;
    margin-top: 15px;
  }
  .root-content {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
  }
  h6.sp {
    display: inline-block !important;
    margin-bottom: 20px;
  }
  .hp-link {
    width: 88%;
  }
  .hp-link img {
    width: 24px;
    left: 40px;
    top: 16px;
  }
  .hp-link span {
    font-size: 13px;
    padding-left: 15px;
  }
  .root-content.type-2 > div:first-of-type {
    float: none;
    margin: 0px;
  }
  .links p {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
  }
  .interviewer {
    padding: 40px 6.5% 50px;
  }
  h6 {
    text-align: center;
  }
  .interviewer-info > img {
    float: none;
    margin-right: 0px;
    width: 58%;
    margin: 0 auto;
  }
  .interviewer-text {
    float: none;
    width: 100%;
  }
  .interviewer-text .interviewer-name {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 30px;
    text-align: center;
  }
  .interviewer-text p {
    font-size: 11px;
  }
  .interviewer-text .interviewer-instagram img {
    width: 7%;
    margin-right: 3%;
  }
  .interviewer-text .interviewer-instagram a {
    float: left;
    width: 90%;
  }
}
