@charset "UTF-8";
/* CSS Document */


@media only screen and (max-width : 768px) {

/*-------------------------------------------------------------------------------------
スマホ用レイアウト（768px以下スクリーン）
----------------------------------------------------------------------------------------*/

/*--------------------------------------------------
共通設定(スマホ)
-----------------------------------------------------*/
	
/*body全体の初期スタイル調整*/
body {
	width: 100%;
  -webkit-text-size-adjust:100%;
	-ms-text-size-adjust:100%;
}

/*--------------------------------------------------
見出しタグ設定（スマホ）
-----------------------------------------------------*/
    
    
/*--------------------------------------------------
全体レイアウト／背景設定（スマホ）
-----------------------------------------------------*/
/*全体エリア（全体背景を設定するにはここ）*/
.main {
  background-color: #f2f2f2;
}
/*記事(ボディ)エリア*/
.article {
  background-color: #fff;
  border-left: none;
  border-right: none;
  font-size: 1.6em; /*=16px*/
}
/*記事(ボディ)エリアの行間*/
.article p {
  line-height: 1.8;
}
/*カラム全体の幅を変更する*/
.article, .top_image_in {
  width: 100%;
  margin: 0 auto; /*真ん中に要素を置きたいときに使う*/
}
/*--------------------------------------------------
ファーストビュー設定
-----------------------------------------------------*/
.top_image {
  background-image: none;
}
.top_image_in img {
  width: 100%;
}
/*--------------------------------------------------
CTA
-----------------------------------------------------*/
.area_cta {
  position: relative;
}
.btn_cta_form {
  position: absolute;
  bottom: 3%;
  left: 2%;
  width: 96%;
  margin: 1.5em auto 0;

}
/*--------------------------------------------------
開催日程
-----------------------------------------------------*/

.sec_schedule {
  background-color: #f9e1e1;
  padding: 2em 0;
}

table{
  width: 95%;
}


.btn_schedule {
  width: 95%;
  margin: 2em auto 0;
}



/*--------------------------------------------------
ビフォーアフター
-----------------------------------------------------*/
.sec_ba {
  padding: 2em 0.5em;

}
.tit_ba {
  width: 90%;
  margin: 1em auto 2em;
}

.ctn_ba {
  margin: 1em 0;
}
.box_ba {
  background-color: #f9e1e1;
  padding: 0 0.5em 1em;
}
.box_ba_inr {
  background-color: #fff;
  padding: 1em 0.5em;
  border-radius: 15px;
}
/*--------------------------------------------------
理由
-----------------------------------------------------*/
.sec_reason {
  padding: 2em 0.5em;
}
.tit_reason {
  width: 95%;
  margin: 1em auto 2em;
}
.box_reason {
  margin: 1em 0em ;
}
.txt_reason {
  padding: 1em;
  margin-top: 1em;
  background-color: #fff;
  border-radius: 15px;
}

/*--------------------------------------------------
受講者の声
-----------------------------------------------------*/
.sec_voice {
  padding: 2em 0.5em;

}
.tit_voice {
  width: 90%;
  margin: 1em auto 2em;
}
.box_voice {
  background: rgba(255, 255, 255, .8);
  padding: 1em 0.5em;
  border-radius: 15px;
  margin: 1em 0;
}

.read-more-003 {
  position: relative;
  padding: 1em;
}

.read-more-003 p {
  position: relative;
  max-height: 100px; /* 開く前に見せたい高さを指定 */
  margin-bottom: 10px;
  overflow: hidden;
  transition: max-height 1s;
}

.read-more-003:has(:checked) p {
  max-height: 100%;
}

.read-more-003 p::after {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .9) 50%, hsla(0, 0%, 100%, .9) 0, #fff);
  content: '';
}

.read-more-003:has(:checked) p::after {
  content: none;
}

.read-more-003 label {
  display: flex;
  align-items: center;
  gap: 0 4px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: .4em 1.2em;
  border-radius: 1px;
  background-color: #41ad95;
  color: #fff;
}

.read-more-003 label:hover {
  background-color: #fff;
  color:#41ad95;
  cursor: pointer;
}

.read-more-003:has(:checked) label {
  display: none;
}

.read-more-003 label::after {
  display: inline-block;
  width: 10px;
  height: 5px;
  background-color: #fff;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
}

.read-more-003 label:hover::after{
  background-color: #41ad95;
}

.read-more-003 input {
  display: none;
}

/*--------------------------------------------------
メッセージ
-----------------------------------------------------*/
.box_message {
  background-color: #bee3db;
  padding: 2em 0.5em;
}
.box_message_inr {
  background-color: #fff;
  padding: 1em 0.5em;
  border-radius: 15px;
}


.tit_message {
  width: 95%;
  margin: 0.5em auto 1em;
}
.name {
  width: 50%;
  float: right;

}


/*--------------------------------------------------
FAQ
-----------------------------------------------------*/
.sec_faq {
  background-image: url("../images/bg_faq.jpg");
  background-size: cover;
  padding: 2em 0.5em;
}
.tit_faq {
  width: 65%;
  margin: 2em auto;
}


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

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

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

/* Question部分 */
.accordion-open {
  display: block;
  padding: 0.5em 2em 0.5em 0.5em;
  background: #fff;
  border: 2px solid #41ad95;
  cursor: pointer;
  margin: 5px 0;
  position: relative;
  color: #41ad95;
  font-weight: bold;
  text-align: left;
  /* 変更部分 */
}

/* 開閉状態を示すアイコン+の作成 */
.accordion-open::before,
.accordion-open::after {
  content: '';
  width: 15px;
  height: 2px;
  background: #41ad95;
  position: absolute;
  top: 50%;
  right: 3%;
  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: #f9e1e1;
  padding: 10px 1.5em;

}

/*--------------------------------------------------
お問い合わせフォーム
-----------------------------------------------------*/
h2 {
  font-size: 1.6em;
}

.sec_form {
  background-image: url("../images/bg_form.jpg");
  background-size: cover;
  padding: 2em 0.5em;
}
.box_form {
  background-color: #fff;
  padding: 1em 0.5em;
  border-radius: 15px;
}




    /*--------------------------------------------------
下部固定ヘッダー（スマホ）
-----------------------------------------------------*/
     
#sp_btn {
    display: block!important;
    width: 100%;
    background:rgba(0,0,0,0.5);
    text-align: center;
    padding: 0.8em 0.5em ;
    transition: .8s;
}
    
.sp_line {
width: 49%;
float: left;
}
.sp_form {
  width: 49%;
  float: right;
  }
  

.fixed {
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 10000;
    
}
/*footerまでスクロールしたら消す*/
.is-hidden {
  visibility: hidden;
  opacity: 0;
  }
  

/*--------------------------------------------------
フッター部分
-----------------------------------------------------*/
.footer {
    background-color: #303030;
    padding: 2em 0em 10em;
    text-align: center;
    font-size: 1.4em;
    color: #fff;
  }
  .footer a {
    color: #fff;
      text-decoration: none;
  }

}
