@charset "UTF-8";

:root {
  --main-color: #00a551;
  --sub-color: #f1bf36;
  --line-color: #e0e0e0;
  --text-color: #444444;
  --bg-color: #f2faf6;
  --bg-gray: #f8f8f8;
  --selection-color: rgb(67, 133, 175 , 0.1);
}

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

  *タイトル

================================================================================================================================== */
/* --------------------------------------------------
ベース設定
-------------------------------------------------- */
h2.wp-block-heading {
  margin-top: 100px;
}

h3.wp-block-heading, h4.wp-block-heading, h5.wp-block-heading, h6.wp-block-heading {
  margin-top: 50px;
}

/* --------------------------------------------------
h2
-------------------------------------------------- */
h2.wp-block-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  padding: 15px 30px;
  background: var(--main-color);
  border-radius: 10px;
  color: #ffffff;
  font-size: 150%;
  overflow: hidden;
}

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

/* --------------------------------------------------
h3
-------------------------------------------------- */
h3.wp-block-heading {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-bottom: 25px;
  padding: 8px 30px;
  background: var(--bg-color);
  border-left: 10px solid var(--main-color);
  border-radius: 7px;
  font-size: 20px;
}

/* --------------------------------------------------
h4
-------------------------------------------------- */
h4.wp-block-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  padding: 0 0 0 27px;
  font-size: 18px;
}

h4.wp-block-heading::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  display: block;
  width: 12px;
  height: 12px;
  background: var(--main-color);
}

/* --------------------------------------------------
h5
-------------------------------------------------- */
h5.wp-block-heading {
  margin-bottom: 25px;
  color: var(--main-color);
  font-size: 18px;
}

/* --------------------------------------------------
h6
-------------------------------------------------- */
/* --------------------------------------------------
最初のh2と連続したタイトルの設定
-------------------------------------------------- */
h2.wp-block-heading:first-of-type, 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 !important;
}

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

  *ボタンコンテナ

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

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

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

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

.b-button-container :where(.wp-block) {
  margin: 0 !important;
}

.b-button-container .b-button-wrapper--admin .block-editor-block-list__layout {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
  width: 100%;
}

.b-button-container .b-button-wrapper--admin.align-left .block-editor-block-list__layout {
  justify-content: flex-start;
}

.b-button-container .b-button-wrapper--admin.align-center .block-editor-block-list__layout {
  justify-content: center;
}

.b-button-container .b-button-wrapper--admin.align-right .block-editor-block-list__layout {
  justify-content: flex-end;
}

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

  *ボタン

================================================================================================================================== */
.b-simple-button__link {
  position: relative;
  display: inline-block;
  min-width: 250px;
  padding: 10px 60px 11px 50px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 300px;
  color: #ffffff;
  font-size: 105%;
  letter-spacing: 0.15em;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.b-simple-button__link::after {
  content: "\f061";
  position: absolute;
  top: 50%;
  right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  padding: 0 0 0 2px;
  background: #ffffff;
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--main-color);
  font-size: 10px;
  transform: translateY(-50%);
  transition: background 0.2s, color 0.2s;
}

.b-simple-button__link--coming {
  pointer-events: none;
  overflow: hidden;
}

.b-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.65);
  color: white;
  font-size: 90%;
  transform: translate(-50%, -50%);
}

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

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

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

  *リスト（ul）

================================================================================================================================== */
/* --------------------------------------------------
リストスタイル
-------------------------------------------------- */
.b-list {
  border-radius: 15px;
}

.b-list > .wp-block {
  margin: 0 !important;
}

.b-list--none {
  padding: 0;
}

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

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

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

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

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

.b-list-disp--horizontal {
  display: flex;
  flex-flow: wrap;
  gap: 15px 25px;
}

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

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

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

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

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

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

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

.b-list-type--number li {
  position: relative;
  padding: 6px 0 10px 50px;
  list-style: none;
}

.b-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;
  font-size: 14px;
  line-height: 1;
}

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

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

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

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

  *アコーディオン

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

.b-accordion__inner {
  position: relative;
  z-index: 1;
}

.b-accordion__title {
  position: relative;
  z-index: 1;
  padding: 20px 50px 20px 30px;
  background: var(--bg-color);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s, color 0.2s;
}

.b-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;
}

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

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

.b-accordion__contents {
  display: none;
  margin: 10px 0 0;
  padding: 20px 30px;
  background: var(--bg-gray);
  border-radius: 10px;
}

.b-accordion__contents .b-accordion__inner > *:not(:last-child) {
  margin: 0 auto 1em;
}

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

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

.b-accordion--faq .b-accordion__title > .b-accordion__inner::before {
  content: "Q.";
  color: var(--main-color);
}

.b-accordion--faq .b-accordion__contents > .b-accordion__inner::before {
  content: "A.";
  color: #c52b2b;
}
