
@charset "UTF-8";

/*---------- header ----------*/

/*---------- main ----------*/
select {
  padding: .5rem;
  border: 1px solid #ccc;
  margin: 0 0 .3rem 0;
}
.fl_top_part_mv .page-image {
  clip-path: none;
}
.fl_contact_form {
  padding: 10rem 0 5rem;
  position: relative;
}
.fl_contact_form .deco_img {
  width: 25rem;
  z-index: 1;
  position: absolute;
  top: 6rem;
  left: calc(50% + 350px);
  transform: translateY(-50%) translateX(-50%);
}
/* フォーム全体を囲む外枠スタイル */
.form-container {
  border: 1px solid #ebebeb; /* 外枠の灰色の線 */
  border-width: 10px;
  max-width: 700px; /* 最大幅 */
  margin: 20px auto; /* 中央寄せ */
  background-color: #ffffff; /* 白背景 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); /* 軽い影をつける */
}
/* 各項目のコンテナ */
.wpcf7 form .form-group {
  display: flex; /* 横並び */
  align-items: flex-start; /* タイトルを上寄せ */
  padding: 15px 0;
  position: relative; /* 赤線と灰色線の調整に使用 */
}
/* 各項目の上に罫線を表示（タイトル幅に赤線、右側に灰色線） */
.wpcf7 form .form-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20rem; /* タイトルの幅に合わせた赤線 */
  border-top: 1px solid red; /* 赤色の上線 */
}
.wpcf7 form .form-group::after {
  content: "";
  position: absolute;
  top: 0;
  left: 20rem; /* 赤線の終わりから開始 */
  right: 0; /* フォームの右端まで灰色の上線 */
  border-top: 1px solid #ccc; /* 灰色の上線 */
}
/* タイトル部分のスタイル */
.wpcf7 form .form-group label {
  width: 22rem; /* タイトル部分の幅 */
  min-width: 22rem; /* タイトル部分の幅 */
  padding-right: 10px;
  padding-left: 15px;
  color: #333;
  font-size: 1.4rem;
  font-weight: bold;
  display: flex; /* フレックスボックスにする */
  align-items: center; /* 縦方向の中央寄せ */
  margin: 0;
  box-sizing: border-box;
}
/* 必須表示のスタイル */
.wpcf7 form .form-group label .required {
  display: block;
  background-color: red; /* 背景色を赤に */
  color: white; /* 文字色を白に */
  padding: 0px 4px; /* 四角い領域に余白を追加 */
  font-size: 0.8em;
  border-radius: 4px; /* 角を少し丸める */
  margin-left: 5px;
}
.wpcf7 form .form-group .multi_input {
  padding-right: 20px;
}
/* 入力フィールドのスタイル */
.wpcf7 form .form-group input[type="text"],
.wpcf7 form .form-group input[type="email"],
.wpcf7 form .form-group input[type="tel"],
.wpcf7 form .form-group textarea {
  flex: 1;
  width: 100%;
  padding: 8px;
  background-color: transparent;
  outline: none;
  border: 1px solid #ccc; /* 全体を囲む灰色の線 */
  padding-left: 10px;
  margin-right: 20px; /* 内側の余白 */
  margin-top: 5px; /* 上の余白 */
  margin-bottom: 5px; /* 下の余白 */
  box-sizing: border-box;
  border-radius: 4px; /* 入力欄の角を丸くする */
}
.wpcf7 form span {
  display: contents; /* 見た目に影響しないように設定 */
}
input.send_btn {
  position: relative;
  display: block;
  padding: 1rem 4rem;
  cursor: pointer;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #C30D23 0%, #9A2413 100%);
  border: none;
  border-radius: 3px;
  font-weight: bold;
  width: fit-content;
  overflow: visible;
  margin: 1rem auto 3rem auto;
}
input.send_btn::after {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  right: -22px;
  border-style: solid;
  border-width: 44px 0 0 44px;
  border-color: transparent transparent transparent #9A2413;
}
input.send_btn:hover {
  background: linear-gradient(180deg, #A50B1F 0%, #871F10 100%);
}
input.send_btn::after:hover {
  border-color: transparent transparent transparent #7F1B10;
}



.fl_top_inquiry {
  background-color: #FEFBF2;
  padding: 4rem 0 6rem;
}
.fl_top_inquiry .frame {
  padding: 0;
  text-align: center;
}
.fl_top_inquiry .title {
  font-size: 2rem;
  font-weight: bold;
  padding: 1rem 0;
  background-color: #fff;
  margin-bottom: 2rem;
}
.fl_top_inquiry .md_right .title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.fl_top_inquiry .inquiry_box {
  margin-top: 4rem;
  width: 100rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 4rem auto 0;
}
.fl_top_inquiry .md_col1 {
  width: 100%;
  padding: 6rem;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fl_top_inquiry .tel_img {
  width: 15rem;
  height: auto;
}
.fl_top_inquiry .title img  {
  width: 15rem;
  margin-right: 2rem;
}
.fl_top_inquiry .tel_box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 0 2rem;  
}
.fl_top_inquiry .tel_box img {
  width: 3rem;
  margin-right: 1rem;
}
.fl_top_inquiry .tel_box a {
  font-size: 3.5rem;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 2rem;
}
.fl_top_inquiry .tel_box .info_img {
  width: 17.6rem;
  height: auto;
}
.fl_top_inquiry .md_col3 {
  margin-top: 4rem;
  width: 30%;
  padding: 6rem 6rem 2rem;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.fl_top_inquiry .md_col3 h3 {
  line-height: 1.5;
  margin-top: 2rem;
  width: 100%;
}
.fl_top_inquiry .inquiry_arrow {
  margin: 2rem auto 0;
  width: 4.5rem;
  height: auto;
}
.fl_top_inquiry .inquiry_img {
  width: fit-content;
}
/*---------- footer ----------*/

/*==========================================================================
■ PC版のみ
==========================================================================*/
@media screen and (min-width: 769px) {

/*---------- header ----------*/


/*---------- main ----------*/

main {
  padding-top: 10rem;
}
.fl_wrap {
  position: relative;
}
.frame {
  padding: 0 5rem;
  margin: 0 auto;
}

.fl_commitment_mv{
  padding: 3rem 0 10rem;
  }
  .fl_commitment_mv .frame{
    display:flex;
    position: relative;
  }
  .fl_commitment_mv .frame .page-title{
    padding-top: 3rem;
  }
  .fl_commitment_mv .frame .page-title h2{
   font-size: 5rem;
  }
  .fl_commitment_mv .frame .page-title p{
  padding-bottom: 5rem;
  }
  .fl_commitment_mv .frame .page-title a{
    display: inline-block;
  }
  .fl_commitment_mv .frame .page-title span{
    font-size: 1.2rem;
    color: #C1C1C1;
  }
  .fl_commitment_mv .frame .page-title img{
    position: absolute;
    bottom: -2rem;
    left: 25rem;
    max-width: 150px;
  }
  .fl_commitment_mv .frame .page-image{
    position: relative;
    right: calc(50% - 50vw);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  
  .fl_commitment_explanation{
    padding: 3rem 0 20rem;
  }
  .fl_commitment_explanation .frame{
    position: relative;
  }
  .fl_commitment_explanation img{
    max-width: 20rem;
    margin:auto;
  }
  .fl_commitment_explanation .explanation{
    padding: 5rem 40rem 5rem 15rem;
    position:relative;
  }
  .fl_commitment_explanation .explanation img{
    position:absolute;
    top: 20rem;
    right: 15rem;
  }
  .fl_commitment_explanation .frame::after{
    position: absolute;
    content: "";
    width: 100vw;
    height: 46rem;
    border-radius: 50rem 50rem 0rem 0rem;
    background-color: #FEFBF2;
    z-index: -2;
    top: 17rem;
    left:0;
  }
  .fl_commitment_article .frame .col2-1st,
  .fl_commitment_article .frame .col2-2nd{
    display: flex;
  }
  .fl_commitment_article .frame .col2-2nd{
    margin: 15rem 0;
  }
  .fl_commitment_article .frame .col2-1st .md_right,
  .fl_commitment_article .frame .col2-2nd .md_left{
    width: 50%;
    padding: 12rem;
  }
  .fl_commitment_article .frame .col2-1st .md_left,
  .fl_commitment_article .frame .col2-2nd .md_right{
    width: 50%;
    background-size: cover;
    background-position: center;
  }


  

/*---------- footer ----------*/

}

/*==========================================================================
■ Tab版
==========================================================================*/
@media screen and (min-width: 769px) and (max-width: 1024px) {
/*---------- header ----------*/

/*---------- main ----------*/


/*---------- footer ----------*/


}


/*==========================================================================
■ SP版
==========================================================================*/
@media screen and (max-width: 768.98px) {


/*---------- header ----------*/

/*---------- main ----------*/

.fl_commitment_mv{
  margin:0 0 10rem 0;
}
.fl_commitment_mv .page-title{
 position: relative; 
}
.fl_commitment_mv .frame .page-title a{
  display: inline-block;
  font-size: 1.2rem;
}
.fl_commitment_mv .frame .page-title span{
  font-size: 1.2rem;
  color: #C1C1C1;
}
.fl_commitment_mv .page-image{
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.fl_commitment_mv .page-title img{
  width: 7rem;
  position: absolute;
  bottom: -1rem;
  right: 10rem;
}
.fl_commitment_explanation{
    margin:0 0 10rem 0;
}
.fl_commitment_explanation .frame{
  position: relative;
}
.fl_commitment_explanation .frame::after{
  position: absolute;
  content: "";
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 47rem;
  border-radius: 15rem 15rem 0rem 0rem;
  background-color: #FEFBF2;
  z-index: -2;
  top: 11rem;
}
.fl_commitment_explanation img{
  width: 15rem;
  margin: auto;  
}
.explanation img{
  width: 10rem;
  margin: 2rem auto;
}
.fl_commitment_article{
  margin:0 0 10rem 0;
}
.fl_commitment_article .frame .col2-2nd{
display: flex;
flex-direction: column-reverse;
}
.fl_commitment_article .frame .col2-1st,
.fl_commitment_article .frame .col2-2nd{
  margin: 5rem 0;
}
.title-num {
  position: relative;
  margin: 2rem 0 1rem 0;
}
.fl_commitment_article .frame .col2-1st .md_left,
.fl_commitment_article .frame .col2-2nd .md_right{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 40%;
}
.wpcf7 form .form-group {
  flex-wrap: wrap;
}
.wpcf7 form .form-group .multi_input {
  padding: 0;
}
.wpcf7 form .form-group label {
  width: 100%;
}
.wpcf7 form .form-group input[type="text"], 
.wpcf7 form .form-group input[type="email"], 
.wpcf7 form .form-group input[type="tel"], 
.wpcf7 form .form-group textarea {
  margin: .5rem 1.5rem;
  width: calc(100% - 3rem);
}
select {
  margin: 0 0 .3rem 1.5rem;
}


.fl_contact_form .deco_img {
  width: 15rem;
  top: 9rem;
  left: 75%;  
}
.fl_top_inquiry .md_col1 {
  flex-wrap: wrap;
}
.fl_top_inquiry .tel_img {
  width: 10rem;
}
.fl_top_inquiry .md_right .title {
  justify-content: center;
}
.fl_top_inquiry .title img {
  margin: 0 0 2rem;
}
.fl_top_inquiry .tel_box {
  flex-wrap: wrap;
}
.fl_top_inquiry .tel_box a {
  letter-spacing: 0;
}
.fl_top_inquiry .md_col3 {
  width: 100%;
}
/*---------- footer ----------*/

}
/*---------- レイアウト微調整 ----------*/
@media screen and (max-width: 1000px) {
.fl_top_inquiry .inquiry_box {
  width: 100%;
}
.fl_top_inquiry .md_col1 {
  padding: 2rem;
}
.fl_top_inquiry .md_col3 {
  margin: 2rem 1rem 0;
  padding: 2rem 2rem 2rem;
}
}
@media screen and (max-width: 920px) {
.facility_heading, .subsidy_heading {
  flex-wrap: wrap;
}
.facility_heading, .subsidy_heading .red_btn {
  margin-left: 0;
}
}
@media screen and (max-width: 800px) {
.fl_top_subsidy .swiper-button-prev {
  position: absolute;
  top: 8rem;
  left: 25rem;
}
.fl_top_subsidy .swiper-button-next {
  position: absolute;
  top: 8rem;
  left: 32rem;
}
}
@media screen and (max-width: 476px) {
.fl_top_subsidy .swiper-button-prev {
  position: absolute;
  top: 12.5rem;
  left: 23rem;
}
.fl_top_subsidy .swiper-button-next {
  position: absolute;
  top: 12.5rem;
  left: 29rem;
}
}
@media screen and (max-width: 350px) {
.fl_top_subsidy .swiper-button-prev, 
.fl_top_subsidy .swiper-button-next {
  width: 34px;
  height: 34px;
  border-radius: 17px;
}
.fl_top_subsidy .swiper-button-prev:after, 
.fl_top_subsidy .swiper-button-next:after {
  color: #fff;
  font-size: 1.4rem;
}
.fl_top_subsidy .swiper-button-prev {
  position: absolute;
  top: 13rem;
  left: 23rem;
}
.fl_top_subsidy .swiper-button-next {
  position: absolute;
  top: 13rem;
  left: 27rem;
}
}
@media screen and (max-width: 325px) {
.main_visual_copy .pcDisNon {
  display: none;
}
.top_subsidy .swiper-slide {
  width: 30rem;
}
.top_subsidy .item .subsidy_img {
  border-radius: 15rem;
}
}




