@charset "UTF-8";
@import url("variables.css");

/* ==================================================================================================================================

  *タイトル

================================================================================================================================== */
h2.wp-block-heading, h3.wp-block-heading, h4.wp-block-heading, h5.wp-block-heading, h6.wp-block-heading {
  position: relative;
  z-index: 1;
  margin: 50px auto 25px 0;
  line-height: 1.65;
}

h2.wp-block-heading + h3.wp-block-heading,
h3.wp-block-heading + h4.wp-block-heading,
h4.wp-block-heading + h5.wp-block-heading,
h5.wp-block-heading + h6.wp-block-heading {
  margin-top: 0;
}

h2.wp-block-heading {
  padding: 20px 35px 22px;
  background: var(--main-color);
  border-radius: 7px;
  color: #ffffff;
  font-size: 150%;
  overflow: hidden;
}

h2.wp-block-heading:not(:first-child) {
  margin-top: 80px !important;
}

h2.wp-block-heading::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -55px;
  z-index: -1;
  display: block;
  width: 200px;
  height: 197px;
  background: url(../images/common/logo_white.svg) no-repeat center/cover;
  opacity: 7%;
  overflow: hidden;
}

h3.wp-block-heading {
  padding: 15px 30px;
  border: 1px solid rgba(146, 130, 96, 0.5);
  border-radius: 8px;
  font-size: 130%;
}

h3.wp-block-heading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  display: block;
  width: calc(100% - 7px);
  height: calc(100% - 8px);
  background: #ffffff;
  border-radius: 5px;
  transform: translate(-50%, -50%);
}

h4.wp-block-heading {
  position: relative;
  width: fit-content;
  padding: 10px 22px 10px 25px;
  background: #f9f9f9;
  border-left: 8px solid var(--main-color);
  border-radius: 5px;
  font-size: 125%;
}

h5.wp-block-heading {
  color: var(--main-color);
  font-size: 120%;
}

h6.wp-block-heading {
  font-size: 110%;
}

@media screen and (max-width: 640px) {
  h2.wp-block-heading {
    padding: 15px 20px;
    font-size: 135%;
  }

  h2.wp-block-heading:not(:first-child) {
    margin-top: 60px !important;
  }

  h2.wp-block-heading::before {
    top: -30px;
    left: -70px;
    width: 150px;
    height: 147px;
  }

  h3.wp-block-heading {
    padding: 15px 20px;
    font-size: 120%;
  }

  h4.wp-block-heading {
    padding: 10px 20px 10px 18px;
    border-left: 6px solid var(--main-color);
    font-size: 120%;
  }

  h5.wp-block-heading {
    font-size: 115%;
  }

  h6.wp-block-heading {
    font-size: 110%;
  }
}

/* ==================================================================================================================================

  *ボタンコンテナ

================================================================================================================================== */
.button-wrapper {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
  width: 100%;
}

.button-wrapper.align-left {
  justify-content: flex-start;
}

.button-wrapper.align-center {
  justify-content: center;
}

.button-wrapper.align-right {
  justify-content: flex-end;
}

/* ==================================================================================================================================

  *ボタン

================================================================================================================================== */
.simple-button_link {
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  width: fit-content;
  min-width: 290px !important;
  padding: 13px 55px 13px 47px;
  border: 1px solid var(--text-color);
  border-radius: 1000px;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--text-color);
  font-size: 100%;
  letter-spacing: 0.15em;
  text-align: center;
  vertical-align: bottom;
  transition: background 0.2s, color 0.2s;
}

.simple-button_link:hover {
  color: var(--text-color);
}

.simple-button_link::after {
  content: "\f061";
  position: absolute;
  top: 50%;
  right: 30px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
  line-height: 1;
  transform: translateY(-50%);
  transition: right 0.2s;
}

.simple-button_link--coming {
  pointer-events: none;
}

.simple-button_link--coming::before {
  content: "準備中";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 300px;
  color: #ffffff;
  transform: translate(-50%, -50%);
}

a.simple-button_link:hover {
  color: var(--text-color);
}

a.simple-button_link:hover::after {
  right: 25px;
}

@media screen and (max-width: 640px) {
  .simple-button_link{
    min-width: 250px !important;
  }
}

/* ==================================================================================================================================

  *リスト（ul）

================================================================================================================================== */
/* --------------------------------------------------
リストスタイル
-------------------------------------------------- */
.list > .wp-block {
  margin: 0 !important;
}

.list {
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
}

.list--none {
  padding: 0;
}

.list--bg {
  padding: 25px 30px;
  background: var(--bg-color);
  border-radius: 7px;
}

.list--border {
  padding: 25px 30px;
  border: 1px solid var(--main-color);
  border-radius: 7px;
}

@media screen and (max-width: 768px) {
  .list--bg {
    padding: 20px;
  }

  .list--border {
    padding: 20px;
  }
}

/* --------------------------------------------------
表示形式
-------------------------------------------------- */
.list-disp--vertical {
  display: flex;
  flex-flow: column;
  gap: 20px;
}

.list-disp--horizontal {
  display: flex;
  flex-flow: wrap;
  gap: 10px 20px;
}

@media screen and (max-width: 768px) {
  .list-disp--vertical {
    gap: 20px;
  }

  .list-disp--horizontal {
    gap: 10px 20px;
  }
}

/* --------------------------------------------------
リストタイプ
-------------------------------------------------- */
.list-type--circle li {
  position: relative;
  padding: 0 0 0 30px;
  list-style-type: none;
}

.list-type--circle li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 10px;
  display: block;
  width: 5px;
  height: 5px;
  background-color: var(--main-color);
  border-radius: 50%;
}

.list-type--check li {
  position: relative;
  padding: 0 0 0 30px;
  list-style-type: none;
}

.list-type--check li::before {
  content: "\f14a";
  position: absolute;
  top: 1px;
  left: 7px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: var(--main-color);
  font-size: 97%;
}

.list-type--number {
  counter-reset: number;
  gap: 15px 20px;
  padding: 25px 30px;
}

.list-type--number li {
  position: relative;
  padding: 8px 0 8px 55px;
  list-style: none;
}

.list-type--number li::before {
  content: counter(number);
  counter-increment: number;
  box-sizing: border-box;
  position: absolute;
  top: 5px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  padding: 0 0 0 2px;
  background: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  .list-type--circle li {
    padding: 0 0 0 25px;
  }

  .list-type--circle li::before {
    top: 12px;
    left: 10px;
    width: 5px;
    height: 5px;
  }

  .list-type--check li {
    padding: 0 0 0 30px;
  }

  .list-type--check li::before {
    top: 1px;
    left: 7px;
    font-size: 97%;
  }
}

/* ==================================================================================================================================

  *アコーディオン

================================================================================================================================== */
/* --------------------------------------------------
ベース設定
-------------------------------------------------- */
.accordion_item:not(:last-child) {
  margin: 0 auto 15px;
}

.accordion_inner {
  position: relative;
  z-index: 1;
}

.accordion_title {
  position: relative;
  z-index: 1;
  padding: 20px 50px 20px 30px;
  background: var(--bg-color);
  border-radius: 10px;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 110%;
  cursor: pointer;
  transition: background 0.3s, color 0.2s;
}

.accordion_title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 2;
  width: 15px;
  height: 2px;
  background: var(--main-color);
  transform: rotate(90deg);
  transition: transform 0.3s, opacity 0.3s;
}

.accordion_title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 2;
  width: 15px;
  height: 2px;
  background: var(--main-color);
}

.accordion_title.is-active::before {
  opacity: 1;
  transform: rotate(180deg);
}

.accordion_contents {
  display: none;
  margin: 10px 0 0;
  padding: 20px 30px;
}

.accordion_contents .accordion_inner > *:not(:last-child) {
  margin: 0 auto 1em;
}

/* --------------------------------------------------
FAQ
-------------------------------------------------- */
.accordion--faq .accordion_inner {
  padding: 0 0 0 37px;
}

.accordion--faq .accordion_inner::before, .accordion--faq .accordion_inner::after {
  position: absolute;
  top: 47%;
  left: 0;
  font-size: 140%;
  line-height: 1;
  transform: translateY(-50%);
}

.accordion--faq .accordion_title > .accordion_inner::before {
  content: "Q.";
  font-family: "garamond-premier-pro-display", serif;
  font-style: normal;
  font-weight: 300;
  color: var(--main-color);
  font-size: 20px;
}

.accordion--faq .accordion_contents > .accordion_inner::before {
  content: "A.";
  font-family: "garamond-premier-pro-display", serif;
  font-style: normal;
  font-weight: 300;
  color: #c52b2b;
  font-size: 20px;
}
