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

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

  *レイアウト

================================================================================================================================== */
@media screen and (max-width: 768px) {
  .wp-block-image :is(.alignright, .alignleft) {
    float: none;
    margin: 0 auto;
  }

  .wp-block-image :is(.alignright, .alignleft) img {
    width: 100% !important;
    max-width: none;
  }
}

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

  *タイトル

================================================================================================================================== */
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;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
}

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: 25px 35px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 150%;
}

h2.wp-block-heading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  display: block;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border: 1px solid #cfb880;
  transform: translate(-50%, -50%);
}

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

h3.wp-block-heading {
  padding: 15px 25px;
  border: 1px solid var(--main-color);
  font-size: 120%;
}

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

h4.wp-block-heading {
  position: relative;
  width: fit-content;
  padding: 10px 22px 10px 25px;
  background: #f9f9f9;
  border-left: 5px solid var(--main-color);
  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: 20px 25px;
    font-size: 135%;
  }

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

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

  *ボタンコンテナ

================================================================================================================================== */
.button-wrapper {
  display: flex;
  flex-flow: wrap;
  gap: 13px 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 {
  position: relative;
  display: inline-block;
  padding: 7px 80px 7px 30px;
  background: #b28575;
  border-radius: 1000px;
  font-family: "classico-urw", "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #ffffff;
  font-size: 100%;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-align: center;
  vertical-align: bottom;
  overflow: hidden;
  transition: background 0.2s, color 0.2s;
}

.simple-button_link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  z-index: 2;
  display: block;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: right 0.3s, background 0.3s;
}

.simple-button_link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  z-index: 1;
  display: block;
  width: 55px;
  height: 1px;
  background: #ffffff;
  opacity: 0.3;
  transform: translateY(-50%);
  transition: background 0.3s;
}

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

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

a.simple-button_link:hover {
  background: var(--main-color);
  color: #ffffff;
}

a.simple-button_link:hover::before {
  right: 60px;
}

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

  *リスト（ul）

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

.list--none {
  padding: 0;
}

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

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

@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: 12px;
  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: 0px;
  left: 7px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: var(--main-color);
  font-size: 100%;
}

.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);
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.3s, color 0.2s;
}

.accordion_title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 2;
  width: 12px;
  height: 1px;
  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: 12px;
  height: 1px;
  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-family: "classico-urw", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 140%;
  line-height: 1;
  transform: translateY(-50%);
}

.accordion--faq .accordion_title > .accordion_inner::before {
  content: "Q.";
  color: var(--main-color);
}

.accordion--faq .accordion_contents > .accordion_inner::before {
  content: "A.";
  color: #c52b2b;
}
