@charset "UTF-8";
:root {
  --headerHeight: 125px;
  --paddingSection: 64px;
  --paddingLR: 20px;
  --color_green: #2A837C;
  --color_green_bg: #D8EEEB;
  --color_green_hover: #246E68;
  --color_blue: #1C60A2;
  --color_blue_bg: #3B78B4;
  --color_blue_hover: #163a5e;
  --color_lightblue: #2978C7;
  --color_lightblue_bg: #EFF4F9;
  --color_lightblue_hover: #215588;
  --color_orange: #D54101;
  --color_orange_bg: #813A1C;
  --color_orange_hover: #813A1C;
  --color_red: #CF000E;
  --color_gray_bg: #F5F5F5;
  --color_border: #BEBEBE;
  --border_radius: 20px;
}
@media screen and (max-width: 959px) {
  :root {
    --headerHeight: 64px;
    --paddingSection: 40px;
    --border_radius: 10px;
  }
}

/*==========
タイトル
==========*/
.wp-block-post-content h1,
.mce-content-body h1,
h1:not([class]),
h1.wp-block-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color_green);
  line-height: 1.25;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 0.75em;
  position: relative;
}
.wp-block-post-content h1::after,
.mce-content-body h1::after,
h1:not([class])::after,
h1.wp-block-heading::after {
  content: "";
  width: 3.125em;
  height: 0.125em;
  background-color: var(--color_green);
  border-radius: 100px;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}
@media screen and (max-width: 959px) {
  .wp-block-post-content h1,
.mce-content-body h1,
h1:not([class]),
h1.wp-block-heading {
    font-size: 1.375rem;
  }
}

.wp-block-post-content h2,
.mce-content-body h2,
h2:not([class]),
h2.wp-block-heading {
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.25;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--color_green);
  margin-bottom: 0.75em;
}
.wp-block-post-content h2::after,
.mce-content-body h2::after,
h2:not([class])::after,
h2.wp-block-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: var(--color_green);
  margin-top: 0.25em;
  z-index: 1;
}
.wp-block-post-content h2:not(:first-child),
.mce-content-body h2:not(:first-child),
h2:not([class]):not(:first-child),
h2.wp-block-heading:not(:first-child) {
  margin-top: 2.5rem;
}
@media screen and (max-width: 959px) {
  .wp-block-post-content h2,
.mce-content-body h2,
h2:not([class]),
h2.wp-block-heading {
    font-size: 1.25rem;
  }
}

.wp-block-post-content h3,
.mce-content-body h3,
h3:not([class]),
h3.wp-block-heading {
  font-size: clamp(1.25rem, 1.75vw, 1.75rem);
  font-weight: 700;
  color: var(--color_lightblue);
  margin-bottom: 1.5rem;
}
.wp-block-post-content h3:not(:first-child),
.mce-content-body h3:not(:first-child),
h3:not([class]):not(:first-child),
h3.wp-block-heading:not(:first-child) {
  margin-top: 2.5rem;
}
@media screen and (max-width: 959px) {
  .wp-block-post-content h3,
.mce-content-body h3,
h3:not([class]),
h3.wp-block-heading {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

/*==========
余白設定
==========*/
.wp-block-image:not(:first-child),
.wp-block-columns:not(:first-child) {
  margin-top: 1.5rem;
}
.wp-block-image:not(:last-child),
.wp-block-columns:not(:last-child) {
  margin-bottom: 1.5rem;
}

/*==========
画像角丸
==========*/
.wp-block-image:not(.no_radius) img:not(.no_radius) {
  border-radius: var(--border_radius);
}