@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}

/************************************
** 20241104追加　カスタムページ用CSS
************************************/

.custom-content {
  /* 既存のスタイルをリセット */
  all: initial;
}

.custom-content * {
  all: revert;
}

/* ここに新しいスタイルを追加 */
.custom-content {
  /* reset.css */
  box-sizing: border-box;
  html,
  body,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  ul,
  ol,
  dl,
  li,
  dt,
  dd,
  p,
  div,
  span,
  img,
  a,
  table,
  tr,
  th,
  td {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
    font-size: 100%;
    vertical-align: baseline;
  }

  header,
  footer,
  nav,
  section,
  article,
  main,
  aside,
  figure,
  figcaption {
    display: block;
  }

  ol,
  ul {
    list-style: none;
  }

  img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  button {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
  }

  input,
  select,
  textarea {
    font: inherit;
    color: inherit;
    vertical-align: top;
  }

  /* style.css */
  body {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
  }

  .hidden-sp {
    display: none !important;
  }
  @media screen and (min-width: 768px) {
    .hidden-sp {
      display: block !important;
    }
  }

  @media screen and (min-width: 768px) {
    .hidden-pc {
      display: none !important;
    }
  }

  .font-bold {
    font-weight: 700;
  }

  .inline-block {
    font-weight: inherit;
    display: inline-block;
  }

  .section {
    padding-block: 60px;
  }
  @media screen and (min-width: 768px) {
    .section {
      padding-block: 90px;
    }
  }

  .heading {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 26px;
    font-weight: 600;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  @media screen and (min-width: 768px) {
    .heading {
      font-size: 40px;
    }
  }
  .heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #5589c9;
    margin-top: 10px;
  }
  @media screen and (min-width: 768px) {
    .heading::after {
      width: 100px;
    }
  }

  .fade-in-up {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition: opacity 0.8s, -webkit-transform 0.8s;
    transition: opacity 0.8s, -webkit-transform 0.8s;
    transition: opacity 0.8s, transform 0.8s;
    transition: opacity 0.8s, transform 0.8s, -webkit-transform 0.8s;
  }

  .fade-in-up.is-in-view {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  .mv {
    background-image: url(https://faro-jp.com/wp-content/uploads/2024/11/img_mv_sp.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.55);
    background-blend-mode: overlay;
    height: 260px;
    display: grid;
    place-content: center;
  }
  @media screen and (min-width: 768px) {
    .mv {
      background-image: url(https://faro-jp.com/wp-content/uploads/2024/11/img_mv_pc.jpg);
      background-size: cover;
      background-position: center top;
      background-repeat: no-repeat;
      height: 400px;
    }
  }

  .mv__title-ja {
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
  }
  @media screen and (min-width: 768px) {
    .mv__title-ja {
      font-size: 32px;
    }
  }

  .mv__title-en {
    margin-top: 7px;
    color: #fff;
    text-align: center;
    font-family: Montserrat;
    font-size: 12px;
    font-weight: 600;
  }
  @media screen and (min-width: 768px) {
    .mv__title-en {
      margin-top: 10px;
      font-size: 16px;
    }
  }

  .profile__inner {
    padding-inline: 20px;
  }
  @media screen and (min-width: 768px) {
    .profile__inner {
      padding-inline: 30px;
      max-width: 1014px;
      margin-inline: auto;
    }
  }

  .profile__box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
  }
  @media screen and (min-width: 768px) {
    .profile__box {
      margin-top: 78px;
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      -ms-flex-direction: row;
      flex-direction: row;
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      justify-content: space-between;
    }
  }

  .profile__image {
    margin-top: 30px;
    text-align: center;
  }
  @media screen and (min-width: 768px) {
    .profile__image {
      margin-top: 0;
      width: 45.9119496855%;
    }
  }
  .profile__image img {
    display: block;
    width: 215px;
    border-radius: 8px;
  }
  @media screen and (min-width: 768px) {
    .profile__image img {
      width: 100%;
    }
  }

  .prfofile__text-box {
    max-width: 600px;
  }
  @media screen and (min-width: 768px) {
    .prfofile__text-box {
      width: 45.9119496855%;
    }
  }

  .prfofile__name {
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 600;
  }
  @media screen and (min-width: 768px) {
    .prfofile__name {
      text-align: left;
      font-size: 36px;
    }
  }

  .prfofile__texts {
    margin-top: 18px;
    font-weight: 400;
  }

  .prfofile__text {
    margin-top: 16px;
  }

  .details {
    background: #eef6ff;
  }

  .details__inner {
    padding-inline: 20px;
  }
  @media screen and (min-width: 768px) {
    .details__inner {
      padding-inline: 30px;
      max-width: 1260px;
      margin-inline: auto;
    }
  }

  .details__contact {
    margin-top: 30px;
  }

  .details__text {
    margin-top: 36px;
  }
  .details__text p {
    margin-top: 12px;
  }
  @media screen and (min-width: 768px) {
    .details__text {
      margin-top: 45px;
      margin-inline: auto;
      text-align: center;
    }
  }

  .details__sub-heading {
    font-size: 18px;
    margin-top: 36px;
    color: #5589c9;
    text-align: center;
    font-weight: 400;
  }
  @media screen and (min-width: 768px) {
    .details__sub-heading {
      margin-top: 45px;
    }
  }

  .details__ex-box {
    margin-top: 16px;
    max-width: 600px;
    margin-inline: auto;
  }
  @media screen and (min-width: 768px) {
    .details__ex-box {
      margin-top: 26px;
      max-width: 100%;
      width: -webkit-fit-content;
      width: -moz-fit-content;
      width: fit-content;
    }
  }

  .details__ex {
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: 16px;
    background: #fff;
  }
  @media screen and (min-width: 768px) {
    .details__ex {
      margin-top: 22px;
      padding-block: 26px;
      padding-left: 30px;
    }
  }

  .price__inner {
    padding-inline: 20px;
  }

  .price__dl {
    margin-top: 38px;
    width: 261px;
    margin-inline: auto;
  }
  @media screen and (min-width: 768px) {
    .price__dl {
      margin-top: 64px;
      width: 460px;
    }
  }

  .price__dl-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: 1px solid #c2c2c2;
    padding-block: 6px;
  }
  @media screen and (min-width: 768px) {
    .price__dl-row {
      font-size: 24px;
      font-weight: 400;
      padding-block: 14px;
    }
  }

  .price__dl-row.strikethrough {
    position: relative;
    padding-bottom: 26px;
  }

  .price__dl-row.strikethrough::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 33%;
    height: 2px;
    background: #ff416a;
  }
  @media screen and (min-width: 768px) {
    .price__dl-row.strikethrough::after {
      top: 43%;
    }
  }

  .strikethrough-text {
    color: #ff416a;
    font-size: 14px;
    font-weight: 400;
    margin-top: -28px;
  }
  @media screen and (min-width: 768px) {
    .strikethrough-text {
      font-size: 16px;
    }
  }

  .faq__inner {
    padding-inline: 20px;
    margin-inline: auto;
  }
  @media screen and (min-width: 768px) {
    .faq__inner {
      max-width: 900px;
    }
  }

  summary {
    display: block;
  }
  summary::-webkit-details-marker {
    display: none;
  }

  .faq__items {
    margin-top: 40px;
  }

  .faq__item {
    border-bottom: 1px solid #000;
    font-size: 16px;
    line-height: normal;
  }

  .faq__question {
    padding-block: 20px 24px;
    padding-left: 16px;
    position: relative;
  }
  .faq__question::before,
  .faq__question::after {
    content: "";
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    background: #000;
  }
  .faq__question::before {
    right: 20px;
    width: 20px;
    height: 2px;
  }
  .faq__question::after {
    right: 29px;
    width: 2px;
    height: 20px;
    -webkit-transition: rotate 0.3s ease;
    transition: rotate 0.3s ease;
  }
  @media (any-hover: hover) {
    .faq__question:hover {
      cursor: pointer;
    }
  }

  details[open] .faq__question::after {
    rotate: 90deg;
  }

  .faq__question-text {
    list-style: none;
    position: relative;
    padding-inline: 47px 50px;
  }
  .faq__question-text::before {
    content: "Q";
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    left: 0;
    font-size: 32px;
    line-height: 24px;
    color: #5589c9;
    font-family: "Montserrat", sans-serif;
  }

  .faq__answer {
    padding: 16px 0 16px 16px;
    background: #f5f5f5;
  }

  .faq__answer-text {
    list-style: none;
    position: relative;
    padding-inline: 47px 20px;
  }
  .faq__answer-text::before {
    content: "A";
    position: absolute;
    top: 2px;
    left: 0;
    font-size: 32px;
    line-height: 24px;
    color: #5589c9;
    font-family: "Montserrat", sans-serif;
  }

  .cta {
    background: #eef6ff;
    padding-block: 60px;
  }
  @media screen and (min-width: 768px) {
    .cta {
      padding-block: 120px;
    }
  }

  .cta__inner {
    padding-inline: 20px;
  }

  .cta__text {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
  }

  .cta__buttons {
    margin-top: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 14px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  @media screen and (min-width: 768px) {
    .cta__buttons {
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      -ms-flex-direction: row;
      flex-direction: row;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
      gap: 40px;
    }
  }

  .cta__button {
    display: inline-block;
    border-radius: 50px;
    width: 260px;
    padding-block: 16px;
    text-align: center;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
  }
  .cta__button a {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: "Montserrat", sans-serif;
    color: #fff;
  }
  .cta__button:hover {
    opacity: 0.8;
    cursor: pointer;
  }
  .cta__button--x {
    background: #0f1419;
    -webkit-box-shadow: 4px 3px 26px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 4px 3px 26px 0px rgba(0, 0, 0, 0.16);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
  }
  .cta__button--x img {
    width: 20px;
  }
  .cta__button--contact {
    background: -webkit-gradient(
      linear,
      left top,
      right top,
      color-stop(43.03%, #5589c9),
      color-stop(97.75%, #2188de)
    );
    background: linear-gradient(90deg, #5589c9 43.03%, #2188de 97.75%);
    -webkit-box-shadow: 4px 3px 26px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 4px 3px 26px 0px rgba(0, 0, 0, 0.16);
  }
}
