@import url(common.css);

/* ///////////////////////////////////

#hero

/////////////////////////////////// */
#hero {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  background: linear-gradient(90deg, rgba(45, 124, 47, 0.08), rgba(68, 163, 70, 0.08));
}

/*------------------------------------------
			H1タグ（ページタイトル）
------------------------------------------*/
h1 {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8em 5px;
  font-size: clamp(21px, 5vw, 30px);
  font-weight: bold;
}
h1 span {
  display: block;
  font-size: clamp(16px, 1.8vw, 18px);
  padding-bottom: 0.5em;
}

.h1_text_only h1 {
  width: calc(100% - 40px);
  max-width: 750px;
  margin: 0 auto 0.6em;
  box-sizing: border-box;
  text-align: center;
  border-radius: 50px;
  background-color: #c9dfb2;
  color: var(--just_green);
}
.h1_text_only img {
  display: block;
  box-shadow: var(--shadow);
  margin: auto;
  box-sizing: border-box;
}
.first_section h1 {
  width: calc(100% - 40px);
  max-width: 700px;
  margin: 0 auto 0.6em;
  box-sizing: border-box;
  text-align: center;
  border-radius: 50px;
  background-color: #c9dfb2;
  color: var(--just_green);
}

.first_section img {
  display: block;
  box-shadow: var(--shadow);
  margin: auto;
  box-sizing: border-box;
}
.first_section .lead_text {
  width: calc(100% - 20px);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 2em 0 0;
}
.first_section .lead_text p {
  line-height: 1.6;
}

.h1_wap img {
  display: block;
  margin: auto;
}
@media only screen and (max-width: 768x) {
  .h1_wap img {
    display: block;
    max-width: 380px;
    margin: auto;
  }
}

/*------------------------------------------
			h2タグ（中見出し）
------------------------------------------*/
h2 {
  font-weight: bold;
  font-size: clamp(20px, 5vw, 25px);
}
.h2_wap {
  padding: 1em 1.5em;
  width: 99%;
  margin: 0 1em 10px 5px;
  position: relative;
  border-bottom: solid 3px #d7d7d7;
}
.h2_wap::before {
  background-color: #669933;
  border-radius: 5px;
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 80%;
  text-align: center;
}
.h2_wap::after {
  background-color: #cbffd3;
  border-radius: 5px;
  content: "";
  position: absolute;
  top: 5px;
  left: 18px;
  width: 8px;
  height: 80%;
}
.h2_green {
  background-color: var(--main_green);
  color: #fff;
  padding: 1.5em;
}
/* h2下線_見出しデザイン */
/* --------------------------- */
.h2_block h2 {
  text-align: center;
  font-size: clamp(28px, 1.8vw, 30px);
  margin-bottom: 1em;
}
.h2_block h2::after {
  content: "";
  position: relative;
  display: block;
  width: 5rem;
  height: 3px;
  margin: 0.8em auto 0;
  background-color: var(--just_green) !important;
  border: unset;
  top: unset;
  left: unset;
  bottom: unset;
}
.h2_block p {
  text-align: center;
}

/*h2短い左右線_中央寄せ*/
/* --------------------------- */
.side_borderh2 {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  border: 0;
  padding-bottom: 1em;
}
.side_borderh2:before,
.side_borderh2:after {
  content: "";
  width: 30px;
  height: 1px;
  background-color: currentColor !important;
  /*Lightning見出しデザイン設定のCSS対策*/
  position: unset;
  border: unset;
  margin-left: unset;
  margin-right: unset;
  flex-grow: unset;
}
.side_borderh2:before {
  margin-right: 14px;
}
.side_borderh2:after {
  margin-left: 14px;
}
/* -------------------------------------------------------------------------
 ◯ タグ風デザイン見出し
------------------------------------------------------------------------- */
.heading-8 {
  display: inline-block;
  position: relative;
  padding: 0.5em 0.7em;
  border-radius: 50px 0 0 50px;
  background-color: #0074c8;
  color: #fff;
  font-size: clamp(20px, 3.52vw, 23px);
}

.heading-8::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 13px;
  border-radius: 50%;
  background: #fff;
}

/*------------------------------------------
			h3タグ（小見出し）
------------------------------------------*/
h3 {
  font-size: clamp(18px, 5vw, 22px);
  font-weight: bold;
}
.h3_wap {
  position: relative;
  padding: 0.1em 0 0.3em 2.2em;
  width: 100%;
  margin: 0 0 15px 0;
  border-bottom: 2px solid #d3edfb;
  box-shadow: 0px 4px 0px 0px #669933;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: bold;
}
.h3_wap::after {
  position: absolute;
  content: "";
  bottom: 35%;
  left: 0.8em;
  width: 12px;
  height: 12px;
  background-color: var(--main_green);
  transform: rotate(45deg);
}
h4 {
  font-size: clamp(16px, 5vw, 18px);
  font-size: clamp(16px, 5vw, 18px);
}

.h4_wap {
  padding: 0.5em 0.3em;
  background: #c6e2f8;
  border-left: 12px double #0168b3;
  margin: 0.5em;
  font-size: clamp(16px, 5vw, 18px);
}
@media only screen and (max-width: 768px) {
  h2 {
    line-height: 1.4;
    padding-left: unset;
  }

  h3 {
    font-size: 17px;
    line-height: 1.4;
  }
}
