@charset "UTF-8";

/* CSS Document */
/*-------------------------------------------------------------------------------------
PC用レイアウト（768px以上スクリーン）
----------------------------------------------------------------------------------------*/
/*--------------------------------------------------
共通設定(PC)
-----------------------------------------------------*/
/*body全体の初期スタイル調整*/
body {
  font-size: 62.5%; /*emの計算をしやすくするための定番設定*/
  font-family: "ヒラギノ角ゴ ProN", sans-serif;
  font-weight: normal;
  color: #333;
  line-height: 1.8;
}
/*リンク文字の設定*/
a {
  text-decoration: none;
    
}

/*ブラウザのCSSをリセット*/
p {
  margin: 0 !important;
  padding: 0 !important;
    color: #333;
}
/*セクションエリアの共通設定*/
section {
  clear: both;
  overflow: auto;
}
/*--------------------------------------------------
上部固定ヘッダー設定
-----------------------------------------------------*/
/*上部固定ヘッダー全体*/
.header {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 5000;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  overflow: auto;
}
/*ヘッダー内部をカラム幅にする*/
.header_inr {
  max-width: 1050px;
  margin: 0 auto;
  overflow: hidden;
}
/*ヘッダーのロゴ*/
.header_logo {
  width: 22%;
  float: left;
  padding: 1.5em 0 ;
}
/*ヘッダーの問い合わせボタン*/
.header_btn {
  width: 28%;
  float: right;
    margin: 1em 0.2em;
}


/*--------------------------------------------------
全体レイアウト／背景設定（PC）
-----------------------------------------------------*/
/*全体エリア（全体背景を設定するにはここ）*/
.main {
  overflow: hidden;
}
/*記事(ボディ)エリア*/
.article {
  font-size: 1.7em; /*=17px*/


 
}
/*記事(ボディ)エリアの行間*/
.article p {
  line-height: 1.7;
  letter-spacing: 0.5px;
}

.article{
	width: 100%;
}

/*カラム全体の幅を変更する*/
.top_image_in,.section_inr {
  width: 1050px;
  margin: 0 auto; 
  
}
.pc_img { display: block !important; }
.sp_img { display: none !important; }


/*--------------------------------------------------
ファーストビュー設定
-----------------------------------------------------*/
.top_image {
  background-image: url("../images/top_image_back.jpg");
  background-repeat: no-repeat;
  background-position: top center;
}
.top_image_in img {
  width: 100%;
  
}


/*--------------------------------------------------
CTA
-----------------------------------------------------*/
.sec_cta {
  background-color: #174ca2;
  padding: 1em 0 2em;
}

.sec_cta p {
  text-align: center;
  color: #fff;
}

.zenkoku {
  width: 30%;
  margin: 0 auto 1em;
}


.ctn_cta {
  padding: 1em 0 0;
}
.btn_tel {
  float: left;
  width: 48%;
}
.btn_mail {
  float: right;
  width: 48%;
}


/*--------------------------------------------------
スライダー/事例
-----------------------------------------------------*/

.slider {
  margin: 10px auto ;
  max-width: 1000px;
}
.slider-img {
  margin: 0 5px;
}
.slider-img img {
  height: auto;
  width: 100%;
}

/*--------------------------------------------------
見出しタグ設定（PC）
-----------------------------------------------------*/
  
h2 {
  font-size: 2em;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 1px;
  margin: 10px 0  ;
  text-align: center;
}

.midashi_grade {
  background-image: url("../images/bg_grade.svg");
  background-size: cover;
  padding: 1em 0;
}


h3 {
  font-size: 1.6em;
  color: #174ca2;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .5px;
  margin: 0 0 15px ;
  padding: 7px;

  }

  .heading {
  position: relative;
  display: block;
  padding-bottom: 0.3em;
  
}

.heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #174ca2;

  /* アニメーション用 */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s ease;
}

/* 表示されたら伸ばす */
.heading.is-active::after {
  transform: scaleX(1);
}

h4 {
  font-size: 1.6em;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .5px;
  padding: 0 3px 7px;
  margin: 0 0 7px ;
  color: #174ca2;
position: relative;
}

h4:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  content: '';
  border-radius: 1px;
  background-image: -webkit-gradient(linear, right top, left top, from(#4fa7ef), to(#91d985));
  background-image: -webkit-linear-gradient(right, #4fa7ef 0%, #91d985 100%);
  background-image: linear-gradient(to left, #4fa7ef 0%, #91d985 100%);
}

/*--------------------------------------------------
sectionの設定
-----------------------------------------------------*/

.section_01 {
  background-color: #eee;
    padding: 3em 0em;

}

.section_02 {
  background-color: #fff;
    padding: 3em 0em;
}

.section_03 {
  background-image: url("../images/bg_sec03.jpg");
  background-size: cover;
  background-position: bottom center;
    padding: 3em 0em ;
}

.section_04 {
  background-color: #e7f7f6;
    padding: 3em 0em;

}

.section_05 {
  background-image: url("../images/bg_sec05.jpg");
  background-size: cover;
    padding: 3em 0em;

}

.section_06 {
  background-image: url("../images/bg_houganshi.jpg");
    padding: 3em 0em ;
}


/*--------------------------------------------------
悩み
-----------------------------------------------------*/
.tit_sec01 {
  width: 35%;
  margin: 0 auto ;
}

.ctn_kadai {
  display: flex;
  justify-content: space-between;
  padding: 1em 0 1em;
}
.box_kadai {
  width: 24%;
}

/*--------------------------------------------------
point
-----------------------------------------------------*/
.tit_point {
  display: block;
  width: 900px;
  margin: 0 auto 0;
}
.ctn_point {
  padding-top: 2em;
}
.img_point01 {
  float: left;
  width: 50%;
  padding: 3em 0 0;
}
.txt_point01 {
  float: right;
  width: 50%;
  padding-left: 1.5em;
}
.img_point02 {
  float: right;
  width: 50%;
  padding: 5em 0 0;

}
.txt_point02 {
  float: left;
  width: 50%;
padding-right: 1.5em;

}


/*--------------------------------------------------
動画
-----------------------------------------------------*/
.tit_movie {
    display: flex;
    align-items: center;
    justify-content: center; /* ← これが決定打 */
    gap: 12px;               /* ← 文字と線の距離を固定 */
    font-size: 1.2em;
    font-weight: 300;
    margin: 0;
}

.tit_movie::before,
.tit_movie::after {
    content: "";
    flex: 1;
    max-width: 40px;         /* ← 線の最大長だけ制限 */
    height: 2px;
    background-color: #174ca2;
}
/* ここが重要 */
.title-text {
    display: inline;        /* 1塊にする */
    white-space: normal;    /* スマホ改行OK */
}

strong {
    font-weight: 600;
    color: #174ca2;
}


.youtube-wrap {
  padding: 1em 0 3em;
    display: flex;
    justify-content: center;
}

.youtube-wrap iframe {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16 / 9;
}

.tit_jisseki {
  display: block;
  width: 35%;
  margin: 0 auto 0;
}





/*--------------------------------------------------
reason
-----------------------------------------------------*/
.heading08 {
	font-size: 26px;
  text-align: left;
}

.heading08 span {
	display: flex;
	align-items: center;
	color: #174ca2;
	font-size: 18px;
	text-transform: uppercase;
}

.heading08 span::before {
	content: '';
	display: inline-block;
	margin-right: 20px;
	width: 40px;
	height: 1px;
	background-color: #174ca2;
}

.num_reason {
  width: 60%;
  margin-bottom: 15px;
}

.txt_reason01 {
  float: left;
  width: 40%;
  padding-top: 3em;
}
.img_reason01 {
  float: right;
  width: 57%;
}

.txt_reason02 {
  float: right;
  width: 40%;
  padding-top: 3em;
}
.img_reason02 {
  float: left;
  width: 57%;
}


/*--------------------------------------------------
voice
-----------------------------------------------------*/
.tit_voice {
  width: 40%;
  margin: 1em auto;
}



.ctn_voice {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 2em -2em 1em;
}

.box_voice {
  width: 32.5%;
  background-color: #fff;
  border: 3px solid #174ca2;
  padding: 1em 0.5em;
  border-radius: 15px;
  margin-bottom: 1em;
}
.box_voice p{
  line-height: 1.4;
}

/*--------------------------------------------------
 Message
-----------------------------------------------------*/
.img_message {
  float: left;
  width: 38%;
  margin-top: 2em;
}
.txt_message {
  float: right;
  width: 60%;
  background: rgba(29,61,79,0.7);
  padding: 2em 1em;
  margin-top: 2em;
}
.name {
  padding: 0 0 1em;
  border-bottom: 1px solid #fff;
  margin-bottom: 1.5em;
}
.name img{
  width: 70%;
}

.txt_message p{
  color: #fff;
}

/*--------------------------------------------------
Flow
-----------------------------------------------------*/
.tit_flow {
  width: 45%;
  margin: 0 auto;
}


.flow_design01 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow_design01 ul {
  padding: 1em 0 0;
}

.flow_design01 li {
  list-style-type: none;
}

.flow_design01 dd {
  margin-left: 0;
}
.flow_design01 dt {
 text-align: center;

}


.flow01 > li {
  position: relative;
  list-style: none;
}

.flow01 > li:not(:last-child) {
  margin-bottom: 40px;
}

.flow01 > li dl {
  box-sizing: border-box;
  width: 100%;
  padding: 20px 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 3px solid #174ca2;
  background-color: #fff;
  border-radius: 10px;
  position: relative;
}

.flow01 > li:not(:last-child) dl::before,
.flow01 > li:not(:last-child) dl::after {
  content: "";
  border: solid transparent;
  position: absolute;
  top: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.flow01 > li:not(:last-child) dl::before {
  border-width: 25px;
  border-top-color: #174ca2;
}

.flow01 > li:not(:last-child) dl::after {
  border-width: 20px;
  border-top-color: #fff;
}

.flow01 > li dl dt img {
  width: 300px;
  margin-right: 1em;
}

@media(max-width: 650px) {
  .flow01 > li:not(:last-child) {
    margin-bottom: 30px;
  }

  .flow01 > li dl {
    display: block;
    width: 90%;
    margin: 0 auto;
    padding: 10px 15px;
  }

  .flow01 > li dl dt {
    margin-right: 0;
  }

.flow01 > li dl dt img {
  width: 90%;
  margin: 0 auto 1em;
}


}

/*--------------------------------------------------
フェードイン
-----------------------------------------------------*/

.fadein {
    opacity : 0;
    transform: translateY(10px);
    transition: all 2s;
}
.fadedown {
    opacity : 0;
    transform: translateY(-10px);
    transition: all 1s;
}


/*左からフェードイン*/
.fadeinleft {
    opacity : 0;
    transform: translateX(-20px);
    transition: all 1.5s;
}
/*右からフェードイン*/
.fadeinright {
    opacity : 0;
    transform: translateX(20px);
    transition: all 1.5s;
}
.zoomin {
    opacity: 0;
  }
  
  .zoomin.is-active {
    animation: zoomIn 1.2s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
  }
  
  @keyframes zoomIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
  
    100% {
        opacity: 1;
        transform: scale(1);
    }
  }
  
  .popup {
    opacity: 0;
  }
  
  .popup.is-active {
    animation: popup 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1 forwards;
  }
  
  @keyframes popup {
    0% {
        transform: translateY(40px) scale(0.8);
        opacity: 0;
    }
  
    100% {
        transform: translateY(0) scale(1.0);
    }
  
    80%,
    100% {
        opacity: 1;
    }
  }
  


/*--------------------------------------------------
よくある質問
-----------------------------------------------------*/
.accordion {
    max-width: 95%;
    padding: 0em 0;
    text-align: left;
    margin: 0 auto;
}

/*------------------------------

ここからアコーディオンのCSS

------------------------------*/
/* チェックボックスは非表示 */
.accordion-hidden {
    display: none;
}

/* Question部分 */
.accordion-open {
    display: block;
    padding: 1.5em 4em 1.5em 1em;
    border-bottom: 2px solid #174ca2;
    cursor: pointer;
    margin: 5px 0;
    position: relative;
    font-weight: bold;
    font-size: 1.1em;
    text-align: left;
    /* 変更部分 */
}

/* 開閉状態を示すアイコン+の作成 */
.accordion-open::before,
.accordion-open::after {
    content: '';
    width: 20px;
    height: 3px;
    background: #f8931d;
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

/* 一本は縦にして+を作る */
.accordion-open::after {
    transform: translateY(-50%) rotate(90deg);
    transition: .5s;
}

/* アコーディオンが開いたら縦棒を横棒にして-にする */
.accordion-hidden:checked + .accordion-open:after {
    transform: translateY(-50%) rotate(0);
}

/* Answer部分 */
.accordion-close {
    display: block;
    height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    transition: 0.5s;
    /* 表示速度の設定 */
}

/* チェックボックスにチェックが入ったらAnswer部分を表示する */
.accordion-hidden:checked + .accordion-open + .accordion-close {
    height: auto;
    opacity: 1;
    background: #ebf9eb;
    padding: 10px 1.5em;

}

/*--------------------------------------------------
form
-----------------------------------------------------*/
.section_form {
background-color: #e1f5fe;
padding: 3em 0;
}



    /*--------------------------------------------------
下部固定ヘッダー（スマホ）
-----------------------------------------------------*/
     
#sp_btn {
        display: none!important;
}

.section_pp {
  padding: 4em 0;
}

/*--------------------------------------------------
フッター部分
-----------------------------------------------------*/
.footer {
  background-color: #174ca2;
  padding: 2em 2em ;
  text-align: center;
  font-size: 1.4em;
    color: #fff;
}
.footer a {
  color: #fff;
}
.footer p {
  color: #fff;
}