@charset "UTF-8";

/*=============================================
見出しに関するCSS
=============================================*/
/*---------------------------------
下層ページタイトル部分
----------------------------------*/
.l-page-head {
  background: url(../img/top/bg-m.png) no-repeat left top;
  border-bottom: 6px solid #1861AB;
  padding: 10px 0 0 0;
}

/*-----------------------------------------------------
ページ見出し
-----------------------------------------------------*/
.c-heading-page {
  font-size: clamp(1.8rem, 1.8vw, 2.0rem);
  text-align: center;
}
.c-heading-page p {
  background: url(../img/common/bg-heading-leaf-long.png) no-repeat center bottom;
  padding-bottom: 40px;
}

/*-----------------------------------------------------
セクション見出し
-----------------------------------------------------*/
.c-heading-sec__blue {
  font-size: clamp(2.6rem, 4.3636363636vw, 5.2rem);
  font-weight: bold;
  text-align: center;
  color: #1861AB;
  line-height: 1.3;
  margin-bottom: 50px;
}
.c-heading-sec__blue span {
  display: block;
  color: #333;
  font-size: clamp(1.2rem, 1.4545454545vw, 1.6rem);
  font-weight: normal;
}

/*-----------------------------------------
一番最初の文字を大きく
-----------------------------------------*/
.c-heading-first-letter {
  font-weight: bold;
  color: #333;
  font-size: clamp(1.8rem, 2.1818181818vw, 2.4rem);
  padding-bottom: 2px;
}
.c-heading-first-letter::first-letter {
  font-size: clamp(2.1rem, 2.9090909091vw, 3.2rem);
}

/*-----------------------------------------------------
ボーダーが右に動く見出し（主にセクション見出しに使用）
-----------------------------------------------------*/
@-webkit-keyframes border-flow {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
@keyframes border-flow {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
.c-heading-border__blue {
  font-size: clamp(1.8rem, 2.1818181818vw, 2.4rem);
  font-weight: bold;
  display: inline-block;
  padding-bottom: 8px;
  position: relative;
  line-height: 1.3;
  margin-bottom: 20px;
  /*要素が画面の中央に来たらアニメーションをつける
  （JSにて画面中央に来たらclass="is-show"を追加してアニメーション開始）*/
}
.c-heading-border__blue.is-show::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #3c79be;
  -webkit-animation: border-flow 0.8s forwards ease-in;
          animation: border-flow 0.8s forwards ease-in;
}

.c-delay01 {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

/*-----------------------------------------------------
短いボーダーが左に動く見出し（セクション見出しに使用）
-----------------------------------------------------*/
@-webkit-keyframes border-short-flow {
  0% {
    width: 0;
  }
  100% {
    width: 100px;
  }
}
@keyframes border-short-flow {
  0% {
    width: 0;
  }
  100% {
    width: 100px;
  }
}
.c-heading-border-short__blue {
  font-size: clamp(1.8rem, 2.1818181818vw, 2.4rem);
  font-weight: bold;
  display: inline-block;
  padding-bottom: 8px;
  position: relative;
  line-height: 1.3;
  margin-bottom: 20px;
  /*要素が画面の中央に来たらアニメーションをつける
    （JSにて画面中央に来たらclass="is-show"を追加してアニメーション開始）*/
}
.c-heading-border-short__blue.is-show::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #3c79be;
  -webkit-animation: border-short-flow 0.3s forwards ease-in;
          animation: border-short-flow 0.3s forwards ease-in;
}

.c-heading-border-short__blue-delay01 {
  font-size: clamp(1.8rem, 2.1818181818vw, 2.4rem);
  font-weight: bold;
  display: inline-block;
  padding-bottom: 8px;
  position: relative;
  line-height: 1.3;
  margin-bottom: 20px;
}
.c-heading-border-short__blue-delay01.is-show {
  -webkit-animation-delay: 10s;
          animation-delay: 10s;
}
.c-heading-border-short__blue-delay01.is-show::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #3c79be;
  -webkit-animation: border-short-flow 0.3s forwards ease-in;
          animation: border-short-flow 0.3s forwards ease-in;
}

.c-heading-border-short__blue-delay02 {
  font-size: clamp(1.8rem, 2.1818181818vw, 2.4rem);
  font-weight: bold;
  display: inline-block;
  padding-bottom: 8px;
  position: relative;
  line-height: 1.3;
  margin-bottom: 20px;
}
.c-heading-border-short__blue-delay02.is-show {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.c-heading-border-short__blue-delay02.is-show::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #3c79be;
  -webkit-animation: border-short-flow 0.3s forwards ease-in;
          animation: border-short-flow 0.3s forwards ease-in;
}

.c-heading-border-short__blue-delay03 {
  font-size: clamp(1.8rem, 2.1818181818vw, 2.4rem);
  font-weight: bold;
  display: inline-block;
  padding-bottom: 8px;
  position: relative;
  line-height: 1.3;
  margin-bottom: 20px;
}
.c-heading-border-short__blue-delay03.is-show {
  -webkit-animation-delay: 1.5s;
          animation-delay: 1.5s;
}
.c-heading-border-short__blue-delay03.is-show::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #3c79be;
  -webkit-animation: border-short-flow 0.3s forwards ease-in;
          animation: border-short-flow 0.3s forwards ease-in;
}

.c-heading-border-short__blue-delay04 {
  font-size: clamp(1.8rem, 2.1818181818vw, 2.4rem);
  font-weight: bold;
  display: inline-block;
  padding-bottom: 8px;
  position: relative;
  line-height: 1.3;
  margin-bottom: 20px;
}
d .c-heading-border-short__blue-delay04.is-show {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}
d .c-heading-border-short__blue-delay04.is-show::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #3c79be;
  -webkit-animation: border-short-flow 0.3s forwards ease-in;
          animation: border-short-flow 0.3s forwards ease-in;
}

.c-heading-border-short__blue-delay01.is-show::before {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}

.c-heading-border-short__blue-delay02.is-show::before {
  -webkit-animation-delay: 0.8s;
          animation-delay: 0.8s;
}

.c-heading-border-short__blue-delay03.is-show::before {
  -webkit-animation-delay: 1.3s;
          animation-delay: 1.3s;
}

.c-heading-border-short__blue-delay04.is-show::before {
  -webkit-animation-delay: 1.5s;
          animation-delay: 1.5s;
}

/*-----------------------------------------
一番最初の文字を大きく
-----------------------------------------*/
.c-heading-first-letter {
  font-weight: bold;
  color: var(--blue-main);
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  padding-bottom: 2px;
}
.c-heading-first-letter::first-letter {
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
}

/*------------------------------------------------------
テキスト強調用　背景と下向三角付
------------------------------------------------------*/
.c-heading-down {
  text-align: center;
}
.c-heading-down p {
  background: #1861AB;
  text-align: center;
  margin: 30px auto;
  padding: 20px 5%;
  display: inline-block;
  position: relative;
  color: #fff;
  font-size: clamp(1.6rem, 1.7272727273vw, 2.1rem);
}
.c-heading-down p::after {
  width: 0;
  height: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  margin: 0 0 0 -40px;
  border: 30px solid transparent;
  border-top-color: #1861AB;
  content: "";
}

/*------------------------------------------------------
下層ページ・ページタイトル
------------------------------------------------------*/
.c-heading-page {
  font-size: clamp(1.6rem, 1.8vw, 1.8rem);
  text-align: left;
}

.c-heading-page__sub {
  font-size: clamp(1.8rem, 3.2727272727vw, 3.6rem);
  color: #1861AB;
  text-align: center;
  padding-bottom:0.5em;
}

/*------------------------------------------------------
大きめ・太いタイトル（主にh3やh4に使用）
------------------------------------------------------*/
.c-heading-bold {
  margin-bottom: 30px;
  font-weight: bold;
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
}

/*------------------------------------------------------
左にボーダーあり
------------------------------------------------------*/

.heading-border-black{
    background-color: #333;
}
.heading-border-blue{
    background:#1861AB;
}
.heading-borders-pink{
    background:#FF69B4;
}
.heading-border-yellow{
    background:#FFD700;
}

.c-heading-border-left{
  font-weight: bold;
  position: relative;
  font-size: var(--headingBorderLeftFontSize);
  margin: 1em 0 1em 0.5em;
  padding-left: 0.5em;
}

.c-heading-border-left::before {
  content: "";
  background-color: var(--headingBorderLeftColor);
  width: 6px;
  height: 1em;
  position: absolute;
  left: -10px;
  top: 8px;
}






.c-heading-border-left__black {
  font-weight: bold;
  position: relative;
}
.c-heading-border-left__black::before {
  content: "";
  background-color: #333;
  width: 6px;
  height: 1.2em;
  position: absolute;
  left: -10px;
  top: 8px;
}

.c-heading-border-left__yellow {
  font-weight: bold;
  position: relative;
  font-size: clamp(1.6rem, 2vw, 2rem);
  margin: 1em 0 1em 0.5em;
  padding-left: 0.5em;
}
.c-heading-border-left__yellow::before {
  content: "";
  background-color: yellow;
  width: 12px;
  height: 1em;
  position: absolute;
  left: -10px;
  top: 8px;
}

.c-heading-border-left__blue {
  font-weight: bold;
  position: relative;
  font-size: clamp(1.4rem, 18vw, 1.8rem);
  margin: 1em 0 1em 0.5em;
}
.c-heading-border-left__blue::before {
  content: "";
  background-color: var(--blue-main);
  width: 6px;
  height: 1em;
  position: absolute;
  left: -10px;
  top: 8px;
}






/*------------------------------------------------------
枠あり・背景（黄）はみ出し
------------------------------------------------------*/
.c-heading-yellow-bg {
  background: #f9e867;
  padding: 0 0 5px 5px;
  font-weight: bold;
  position: relative;
  line-height: 1.5em;
  margin-bottom: 1em;
}
.c-heading-yellow-bg::before {
  position: absolute;
  inset: -5px 5px 5px -5px;
  border: 1px solid #333;
  content: "";
}

.c-heading-yellow-number {
  font-size: clamp(2.3rem, 2.3636363636vw, 2.6rem);
  margin-right: 0.5em;
}

