@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%;
}

/*--------------------------------------------------
見出しタグ設定（スマホ）
-----------------------------------------------------*/
h2 {
  margin: 0em 0em;
  padding: 0;
  font-size: 1.6em;
  font-weight: bold;
  text-align: center;
}
.header {
  width: 100%;
  margin: 0em auto;
  display: block;
}
/*--------------------------------------------------
全体レイアウト／背景設定（スマホ）
-----------------------------------------------------*/
/*全体エリア（全体背景を設定するにはここ）*/
.main {
  
}
/*記事(ボディ)エリア*/
.article {
  background-color: #fff;
  border-left: none;
  border-right: none;
  font-size: 1em; 
}
/*記事(ボディ)エリアの行間*/
.article p {
  line-height: 1.6;
}

.article{
	width: 100%;
}

/*カラム全体の幅を変更する*/
.top_image_in,.section_inr {
  width: 100%;
  margin: 0 auto; /*真ん中に要素を置きたいときに使う*/
}

  /*--------------------
ファーストビュー設定
--------------------*/
  .fv_pc {
    display: none;
  }

  .fv_sp {
    display: block;
  }

  .top_image {
    width: 100%;
    height: auto;
  }

  .top_image_in {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .top_image_in img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
 /*------------------------------------------------
動画の設定
-----------------------------------------------------*/

  .movie-section {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .movie_sub_head {
    height: auto;
    width: 100%;
    text-align: center;
  }

  .movie_sub_head .pc-img {
    display: none;
  }

  .movie_sub_head .sp-img {
    display: block;
    width: 100%;
  }

  .video {
    width: 90%;
    height: auto;
  }

  .video video {
    width: 110%;
    height: auto;
  }
 /*------------------------------------------------
セクションの設定
-----------------------------------------------------*/
/* 悩み */
.section_nayami {
  padding: 1em 0.3em 2em; 
}
.section_nayami h2{
  margin-bottom: 1em;
}
.nayami_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  max-width: 768px;
  margin: 0 auto;
}
  .nayami_grid img {
    width: calc(50% - 1em); /* 2列用 */
  }
  
/* 提案 */
.section_teian {
  padding: 1em 0em .3em;
}

.text-overlay {
  position: absolute;
  top: 3%; /* 上から位置。画像の上半分に調整 */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
}


  .teian-box{
    background-color: #DDD2C3;
    padding: .5em 0em; 
  }
  /* 矢印 */
  .centered-image {
    display: block;
    margin: .5em auto;
    width: 5%;
  }

  .section_hikaku{
    padding: 0em .5em .5em;
    margin-top: 0;
  }


/* 特徴 */
.section_tokutyo{
  background: linear-gradient(135deg, #74CA97, #A1D8A5, #3DBF8F, #58A86A); /* 左上から鮮やかで明るい緑へ */  
}
.div_tokutyo {
  background-color: #fff;
  padding:0.5em 0em 0em;
  margin: 1em .5em 0em;
  border-radius: 10px;
}
.div_jisseki {
  margin: .5em 0em;
}
/* 5つの特徴 */
.section_5point {
  background-color: #f0f8f4; /* 薄いグリーン背景 */
  padding: .5em .5em;
}
.box_point {
  background-color: #fff;
  margin-bottom: 1em;
  padding: .5em .5em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.box_point img {
  display: block;
}
.box_point img:last-of-type {
  margin-bottom: 1em;
}

/* コスパ最強 */
.section_saikyo {
  padding: 1em .3em;
  margin: 0 auto;
}


/* 月額費用 */
.price {
  width: 100%;  /* テーブルの幅を設定 */
  margin: 0 auto ;  /* テーブルを中央寄せ */
  border-collapse: collapse; /* テーブルセルを1つにまとめる */
  font-size: 1em;
}

.price th, .price td {
  border: 2px solid #fff;
  background-color: #f0f8f4; /* 薄いグリーン背景 */
  border-radius: 0 15px 15px 0;
  padding: 1em;
  width: 30%;  /* thとtdに同じ幅を設定 */
}

.price th {
  background-color: #74CA97;  /* 見出しの背景色も#74CA97に変更 */
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-radius: 15px 0 0 15px;
  position: relative;
}

.price th::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-left: 10px solid #74CA97;  /* グラデーション色を#74CA97に変更 */
  z-index: 2;
}

.price th::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 2px);
  transform: translateY(-50%);
  border: 12px solid transparent;
  border-left: 12px solid #fff;
  z-index: 1;
}


/*------------------------------------
    ステップのスタイリング
------------------------------------*/
.section_flow {
  background-color: #f5f9f5;
  padding: 1em .5em;
}
.steps-container {
  grid-template-columns: 1fr;
}

.step-item {
  margin-bottom: 2em;
}

.triangle {
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.step-icon img {
  max-width: 40%;
  margin-bottom: .3em;
}

/* 下向きの三角形画像 */
.step-item::after {
  top: 103%; /* ボックスの下に配置 */
  right: 50%; /* ボックスの中央に配置 */
  transform: translateX(50%) rotate(0deg); /* 画像を下向きに回転 */
}

/*--------------------
動画セクション
--------------------*/
.movie_sub_head {
  padding: 0 .5em 0;
  margin-bottom: .2em;
}
 
.video {
    padding: 0 1rem;
  }

/*--------------------------------------------------
CTAエリア
-----------------------------------------------------*/
.area_cta {
  padding: 1em .5em;
}
.area_cta_inr {
  background-color: #fff;
  padding: 1em .5em;
  overflow: auto;
}
.area_cta_inr_left {
  float: none;
  width: 100%;
}
.area_cta_inr_right {
  float: none;
  width:100%;
	margin-top: 1em;
}


/*--------------------
よくある質問
--------------------*/
/* FAQ セクション */
.section_faq {
  padding: 1em .5em;
}

/* アコーディオンのスタイル */
.accordion {
  margin-top: 0.5em;
}

.accordion-item {
  margin: 0em;
  overflow: hidden; /* コンテンツがはみ出さないようにする */
  transition: margin-bottom 0.3s ease;
}

.accordion-header {
  width: 100%;
  padding: 1em;
  text-align: left;
  font-size: 1em;
  background-color: #74CA97;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #58a86a;
}

/* アコーディオンのコンテンツ */
.accordion-content {
  padding: .5em; /* 初期状態のパディング */
  background-color: #ffffff;
  border-radius: 8px;
  max-height: 0;  /* 初期状態で高さを0にして隠す */
  opacity: 0;     /* 初期状態で非表示 */
  overflow: hidden;
  transition: 
    max-height 0.5s ease, /* 元のアニメーション時間に戻す */
    opacity 0.8s ease;    /* 不透明度のアニメーション */
}

/* アコーディオンを開くとき */
.accordion-item.active .accordion-content {
  max-height: 500px;  /* 開いた時に最大高さを設定 */
  opacity: 1;     /* コンテンツを表示 */
}

/* + ボタン */
.accordion-icon {
  font-size: 1.5em;
  font-weight: bold;
  color: #fff;
}

/* アコーディオンのアイコンの回転 */
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}


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

}






