/**********************
プライバシーポリシー
**********************/
.privacy-box {
  margin-bottom: 30px;
}
.privacy-box:last-child {
  margin-bottom: 0;
}
.privacy-sub-title {
  margin-bottom: 10px;
  border-left: solid 5px #333;
  padding-left: 10px;
}
.privacy-sub-title h2 {
  font-size: 18px;
  font-weight: 500;
}
.privacy-contents p {
  font-size: 14px;
}

/***************
404ページ
***************/
.error-main {
  height: calc(100vh - 210px);
}
.error-image {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}
.error-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}
.error-title {
  margin-bottom: 30px;
}
.error-title h1 {
  font-size: 22px;
  text-align: center;
  color: #5c0041;
}
.error-text {
  margin-bottom: 80px;
  text-align: center;
  font-size: 14px;
}
.error-bt {
  display: flex;
  justify-content: center;
}
.error-bt a {
  font-size: 14px;
  text-align: center;
  width: 200px;
  height: auto;
  background-color: #5c0041;
  padding: 15px 20px;
  border-radius: 10px;
}
.error-bt a:hover {
  transition: 0.5s;
  opacity: 0.6;
}

/************* 
お客様の声
*************/
/* メイン */
.s-review-main {
  padding: 20px;
  background-color: #ddd;
}
/* トップテキスト */
.s-review-subject {
  margin-bottom: 20px;
}
.s-review-subject p {
  color: aqua;
  font-size: 14px;
}
/* メインタイトル */
.s-review-title {
  margin-bottom: 30px;
}
.s-review-title h1 {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
}
/* メイン画像 */
.s-review-image {
  position: relative;
  margin-bottom: 30px;
}
.s-review-image img {
  aspect-ratio: 3/2;
  width: 100%;
  object-fit: cover;
}
.s-review-company {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  padding: 15px;
  background-color: aqua;
  text-align: center;
  line-height: 1.8;
}
.s-review-company p {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}
.s-review-box {
  border-bottom: solid 1px #ddd;
  padding-bottom: 20px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.s-review-box:last-child {
  border: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.s-review-sub-title {
  margin-bottom: 20px;
}
.s-review-sub-title h2 {
  font-size: 20px;
  font-weight: 500;
  color: red;
}
.s-review-sub-text p {
  font-size: 14px;
  color: aqua;

}
/* リンク */
.s-review-link {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-inline: 15px;
}
.s-review-link-title h3 {
  font-size: 22px;
}
.s-review-link-text p {
  font-size: 14px;
  font-weight: bold;
  font-weight: 600;
}
.s-review-link-bt {
  min-width: 200px;
  height: 50px;
  margin-top: 20px;
  background-color: aqua;
  border-radius: 30px;
}
.s-review-link-bt a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  width: 100%;
  height: 100%;
  border-radius: 30px;
}
.s-review-link-bt a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transition: 0.6s;
}
/* スライダー */
.s-review-other {
  margin-top: 30px;
  padding: 30px 1px 30px 15px;
  background-color: aqua;
}
.s-review-other-title {
  margin-bottom: 20px;
}
.s-review-other-title h2 {
  font-size: 22px;
  color: aqua;
  text-align: center;
}
.s-review-other-main {
  width: 250px;
  background-color: #fff;
  border: solid 1px #ddd;
  margin-right: 20px;
}
.s-review-other-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
}
.s-review-other-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: 0.5s ease-in-out;
}
.s-review-other-main:hover .s-review-other-image img {
  transform: scale(1.1);
}

.s-review-other-sub-title {
  border-bottom: solid 1px #ddd;
}
.s-review-other-sub-title h3 {
  text-align: center;
  padding: 15px;
  font-size: 16px;
  font-weight: 500;
}
.s-review-other-company {
  border-bottom: solid 1px #ddd;
}
.s-review-other-company p,
.s-review-other-subject p {
  text-align: center;
  padding: 10px 15px;
  font-size: 14px;
}
.s-review-other .slick-dotted.slick-slider {
  margin-bottom: 0;
}
/**********************
アーカイブ(お客様の声)
**********************/
.review-archive-top-text {
  margin:20px 0 50px;
  text-align: center;
}
.review-archive-top-text p {
  font-size: 14px;
}
.r-list-main {
  border: solid 1px #ddd;
  margin-bottom: 30px;
}
.r-list-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.r-list-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: 0.5s ease-in-out;
}
.r-list-main:hover .r-list-image img {
  transform: scale(1.1);
}
.r-list-sub-title {
  border-bottom: solid 1px #ddd;
  padding: 15px;
}
.r-list-sub-title h3 {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}
.r-list-company {
  border-bottom: solid 1px #ddd;
}
.r-list-company p,
.r-list-subject p {
  text-align: center;
  padding: 10px 15px;
  font-size: 14px;
}

/****************************
メディアスクリーン834px以上
****************************/
@media screen and (min-width:834px) {
  /* 404ページ */
  .error-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 300px);
    margin-bottom: 40px;
  }
  .error-title h1 {
    font-size: 28px;
  }
  .error-image img {
    width: 300px;
    height: 300px;
  }
  .error-image,
  .error-text {
    margin-bottom: 0;
  }
  .error-text {
    font-size: 16px;
  }
  .error-image {
    display: flex;
    align-items: center;
  }
  .error-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* お客様の声 */
  .s-review-main {
    padding: 40px 60px;
  }
  .s-review-subject {
    margin-bottom: 30px;
  }
  .s-review-subject p {
    font-size: 16px;
  }
  .s-review-title {
    margin-bottom: 50px;
  } 
  .s-review-title h1 {
    font-size: 28px;
  }
  .s-review-image {
    margin-bottom: 50px;
  }
  .s-review-image img {
  aspect-ratio: 2/1;
  }
  .s-review-company {
    padding: 25px;
  }
  .s-review-company p {
    font-size: 18px;
  }
  .s-review-box {
    margin-bottom: 50px;
    padding-bottom: 30px;
  }
  .s-review-sub-title {
    margin-bottom: 40px;
  }
  .s-review-sub-title h2 {
    font-size: 26px;
  }
  .s-review-text p {
    font-size: 16px;
  }

  .s-review-link {
    height: 300px;
    gap: 30px;
    margin-top: 50px;
    padding-inline: 50px;
  }
  .s-review-link-title h3 {
    font-size: 26px;
  }
  .s-review-link-text p {
    font-size: 16px;
  }
  .s-review-link-bt a {
    font-size: 16px;
  }

  .s-review-other {
  margin-top: 50px;
  }

  /* アーカイブ(お客様の声) */
  .review-archive-top-text {
    margin: 0 0 70px;
  }
  .review-archive-top-text p {
    font-size: 16px;
  }
  .r-list {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr 1fr;
    align-self: flex-start;
  }
  .r-list-main a {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .r-list-sub-title {
    display: flex;
    justify-content: center;
    flex: 1;
  }
}

/****************************
メディアスクリーン1100px以上
****************************/
@media screen and (min-width:1100px) {
  .error-main {
    height: calc(100vh - 320px);
  }
  .error-title h1 {
    font-size: 32px;
  }
  .error-title {
    font-size: 18px;
  }
  /* お客様の声 */
  .s-review-other {
    padding: 40px 30px;
  }
}