@charset "utf-8";

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

　ここから全サイズ適用

================================*/
/*リンク*/
.bnr {
  text-align: center;
}
.bnr a:hover img {
  opacity: 0.8;
}

/*画像*/
img {
  max-width: 100%;
  height: auto;
}
.pic {
  text-align: center;
}

/*タイトル*/
#contents .ttl01 {
  margin-bottom: 30px;
  padding-bottom: 8px;
  background: url(../common/img/ttl_bg.png) no-repeat center bottom;
  color: #7fa22e;
  font-size: 27px;
  font-weight: bold;
  text-align: center;
}
#contents .ttl02 {
  position: relative;
  padding-left: 70px;
  color: #7fa22e;
  font-size: 24px;
  font-weight: bold;
  text-align: left;
}
#contents .ttl02::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 60px;
  margin: auto 0;
  padding-top: 16px;
  background-color: #8ab32d;
  border-radius: 5px;
  color: #fff;
  text-align: center;
}
#contents .ttl02.num01::before {
  content: "1";
}
#contents .ttl02.num02::before {
  content: "2";
}
#contents .ttl02.num03::before {
  content: "3";
}
#contents .ttl02.num04::before {
  content: "4";
}
#contents .ttl02.num05::before {
  content: "5";
}
#contents .ttl02 > .small {
  font-size: 20px;
}
#contents .ttl02 > .sub {
  color: #6f3507;
  font-size: 20px;
}
#contents .ttl03 {
  margin-bottom: 25px;
  padding-bottom: 3px;
  border-bottom: 2px solid #6f3507;
  color: #8ab32d;
  font-size: 24px;
  font-weight: bold;
  text-align: left;
}
#contents .ttl03 > .sub {
  display: inline-block;
  padding: 0 16px;
  background-color: #8ab32d;
  border-radius: 3px;
  color: #fff;
  font-size: 16px;
  font-weight: normal;
}
#contents .ttl04 {
  color: #7fa22e;
  font-size: 24px;
  text-align: center;
  width: 601px;
  height: 53px;
  background: url(./img/sec02_ttl.png) no-repeat center center;
  margin: -22px auto 50px;
  line-height: 1.6em;
}
#contents .box_ttl01 {
  padding: 8px 16px;
  background-color: #fae559;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
#contents .point_ttl {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
}
#contents .flow_ttl {
  text-align: center;
}

/*文字装飾*/
#contents span.bold {
  font-weight: bold;
}
#contents span.small {
  font-size: 14px;
  font-weight: normal;
}
#contents span.red {
  color: #e55324;
}
#contents span.orange {
  color: #f58272;
}
#contents span.ocher {
  color: #b57645;
}
#contents span.green {
  color: #8ab32d;
}
#contents span.line_orange {
  display: inline-block;
  padding-left: 8px;
  padding-right: 8px;
  background: linear-gradient(transparent 60%, #fbb983 60%);
}

/*リスト*/
#contents .disc_list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 16px;
  font-size: 17px;
}
#contents .disc_list li:before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #fbb983;
  border-radius: 50%;
}
#contents .box03 dl + .asterisk_list {
  margin-left: 16px;
}
#contents .asterisk_list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 16px;
  font-size: 14px;
}
#contents .asterisk_list li:before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
}

/*定義リスト*/
.txt_dl01 dt {
  position: relative;
  margin-bottom: 4px;
  padding-left: 16px;
  font-size: 18px;
  font-weight: bold;
}
.txt_dl01 dd {
  padding-left: 16px;
}
.txt_dl02 dt {
  float: left;
  position: relative;
  padding-left: 16px;
  font-size: 18px;
  font-weight: bold;
}
.txt_dl02 dt::after {
  content: "：";
  font-weight: normal;
}
.txt_dl01 dt::before,
.txt_dl02 dt::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  height: 18px;
  margin: auto 0;
  background-color: #ffe799;
  border-radius: 2px;
}

/*ボックス*/
#contents .box01 {
  margin: 0 auto;
  padding: 30px 3%;
  border: 2px solid #fae559;
  background-color: #fffdf0;
  border-radius: 10px;
}
#contents .box02 {
  margin: 0 auto;
  padding: 30px 3%;
  border: 2px solid #9db76b;
  background-color: #f9fbf5;
  border-radius: 10px;
}
#contents .box03 {
  padding: 30px 3%;
  background-color: #fff;
  border-radius: 10px;
}

/*フレックスボックス - 親要素*/
#contents .flexbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap; /*アイテムを上から下に折り返しする*/
}
#contents .flexbox.between {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between; /*水平方向：両端のアイテムを余白を空けずに配置し、その他は均等配置*/
}
#contents .flexbox.center {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center; /*アイテムを中央に寄せる*/
}
#contents .flexbox.re {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

/*黄色矢印*/
#contents .flexbox.flow_box .col {
  position: relative;
}

#contents .flexbox.flow_box .col::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 16px;
  background: url(../common/img/yajirushi.png) no-repeat left top/contain;
}
#contents .flexbox.flow_box .col:last-child::after {
  content: none;
}

#contents #section30 .flexbox.flow_box.col-5 {
  gap: 20px 0;
}
#contents #section30 .flexbox.flow_box.col-5 .col img {
  max-width: 280px;
}

#contents #section30 .flexbox.flow_box.col-5 .col:first-child {
  flex: 0 0 100%; /* 最初の要素を全幅に */
}

#contents #section30 .flexbox.flow_box.col-5:first-of-type .col:last-child::after {
  content: "";
  position: absolute;
  width: 173px;
  height: 30px;
  background: url(../common/img/yajirushi.png) no-repeat left top/contain;
  transform: none;
  bottom: 0;
  top: 115%;
  right: 0;
  left: 0;
  margin: auto;
}
#contents #section30 .flexbox.flow_box.col-5 .col:last-child {
  flex: 0 0 100%; /* 最後の要素を全幅に */
  margin-bottom: 40px;
}


#contents .flexbox.flow_box.col-5 .col::after {
  content: none;
}

.case_page_link {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 40px;
}
.case_page_link a {
  border-radius: 10px;
  color: #fff;
  flex-basis: 18%;
  text-align: center;
  padding: 15px 0;
  background-color: #8ab32d;
  transition: 0.5s;
}

.case_page_link a:hover {
  opacity: 0.8;
}

#contents .anchor {
  padding-top: 20px;
  margin-top: -20px;
}

/* lead
--------------------------------
#contents #lead .lead_txt {
  margin-right: auto;
  margin-left: auto;
  font-size: 25px;
  font-weight: bold;
  line-height: 1.5em;
  text-align: center;
}

*ボックス*
#contents #lead .box01 {
  position: relative;
  padding-top: 60px;
}
#contents #lead .box_ttl01 {
  position: absolute;
  top: -24px;
  right: 0;
  left: 0;
  width: 300px;
  margin-right: auto;
  margin-left: auto;
}
#contents #lead .box01 .disc_list {
  max-width: 300px;
  margin: 0 auto;
}
*/

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

　ここからPC適用

================================*/
@media (min-width: 897px) {
  /* 共通
  --------------------------------*/
  /*タイトル*/
  #contents .ttl03 > .sub {
    margin-right: 10px;
  }

  /*フレックスボックス - 子要素*/
  #contents .flexbox .col {
    flex-basis: 48%;
  }
  #contents .flexbox.col3 .col {
    flex-basis: calc(100% / 3 - 20px);
  }
  #contents .flexbox.col4 .col {
    flex-basis: calc(100% / 4 - 20px);
  }

  /*黄色矢印*/
  #contents .flexbox.flow_box .col::after {
    right: -60px;
    top: 10%;
    bottom: 0;
    margin: auto 0;
    transform: rotate(-90deg);
  }

  #section13 .col2{
    max-width:595px;
    /*margin:0 auto;*/
  }
  #section13 .col2 .pic img{
    max-width:280.79px;
    margin-left:0;
  }
  
  /* lead
  --------------------------------
  #contents #lead .lead_txt {
    margin-bottom: 80px;
  }
  #contents #lead .lead_txt .line_orange {
    font-size: 45px;
  }
  */

  /*ボックス*/
  #contents #lead .box01 {
    max-width: 80%;
  }
}

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

　ここからTABLET・SP適用

================================*/
@media (max-width: 896px) {
  /* 共通
  --------------------------------*/
  /*タイトル*/
  #contents .ttl03 > .sub {
    margin-right: 10px;
  }
  /*フレックスボックス - 子要素*/
  #contents .flexbox .col {
    flex-basis: 100%;
    margin-bottom: 20px;
  }
  #contents .flexbox .col:last-child {
    margin-bottom: 0;
  }

  #contents #section30 .flexbox.flow_box.col-5 {
    justify-content: center;
    gap: 10px;
  }
  #contents #section30 .flexbox.flow_box.col-5 .col {
    margin-bottom: 0;
    flex: 0 0 30%!important;
  }
  /*黄色矢印*/
  #contents .flexbox.flow_box .col {
    margin-bottom: 40px;
  }
  #contents .flexbox.flow_box .col:last-child {
    margin-bottom: 0;
  }
  #contents .flexbox.flow_box .col::after {
    top: 103%;
    right: 0;
    left: 0;
    margin: 0 auto;
  }

  /* lead
  --------------------------------
  #contents #lead .lead_txt {
    max-width: 80%;
    margin-bottom: 60px;
  }
  #contents #lead .lead_txt .line_orange {
    font-size: 45px;
  }
  */
  .case_page_link a {
    flex-basis: 40%;
  }

}

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

　ここからSP適用

================================*/
@media (max-width: 480px) {
  /* 共通
  --------------------------------*/
  /*タイトル*/
  .pagettl {
    font-size: 30px;
  }

  /* lead
  --------------------------------
  #contents #lead .lead_txt {
    max-width: 100%;
  }
  #contents #lead .lead_txt .line_orange {
    font-size: 30px;
  }
  */
  .case_page_link a {
    flex-basis: 94%;
  }

}
