@charset "utf-8";
/* CSS Document */
/*----------------------------------------
PC用のレイアウト（768px以上で表示）
----------------------------------------*/
/*--------------------
レイアウト共通設定（PC）
--------------------*/
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-size: 1.6em;
  font-family: "Hiragino Mincho Pro", "Noto Serif JP", "YuMincho", "MS PMincho", serif;
  font-weight: normal;
  color: #4B4B4B;
}

a {
  text-decoration: underline;
}
a:link,
a:visited {
  color: #39f;
}
a:hover,
a:active {
  color: #f60;
}

p {
  margin: 0 !important;
  padding: 0 !important;
}

section {
  clear: both;
  overflow: auto;
}

/*--------------------
見出しタグ設定（PC）
--------------------*/
h2 {
  margin: 0em 0em;
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
}

.header {
  width: 70%;
  margin: 0em auto;
  display: block;
}

/*--------------------
全体レイアウト/背景設定（PC用）
--------------------*/
.main {
  background: linear-gradient(135deg, #e8fdf5, #f4fbe2, #dff8dc, #a0e0d2);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.article {
  background-color: #fff;
  max-width: 950px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.top_image_in,
.section_inner {
  max-width: 950px;
  margin: 0 auto;
}


/*--------------------------------------------------
ファーストビュー設定
-----------------------------------------------------*/

  /* PCの画像表示 */
  .fv_pc {
    display: block;
  }
  /* スマホ画像は非表示 */
  .fv_sp {
    display: none;
  }

  /* PC用背景設定 */
  .top_image {
    background-image: url('../images/top_image_bg_pc.webp');  /* PC用背景画像 */
    background-size: cover;  /* 背景画像を画面全体にフィット */
  }



/*--------------------
セクションの設定
--------------------*/
/* 悩み */
.section_nayami {
  background: url('../images/nayami_bg.webp') no-repeat center center; /* 画像を中央に配置 */
  background-size: cover; /* 背景画像を全体にフィットさせる */
  padding: 2em 3em 3em;
}
.section_nayami h2{
  margin-bottom: 1em;
}


.nayami_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  max-width: 950px;
  margin: 0 auto;
}

.nayami_grid img {
  width: calc(33.333% - 1.4em); /* 3列用（gapの分引く） */
  height: auto;
}
.centered-image {
  display: block;
  margin: 1em auto;
  width: 3%;
}
/* 提案 */
.section_teian {
  padding: 2em 0em 1em;
}
.section_teian h2{
  white-space: nowrap;
}

.visual-box {
  position: relative;
}

.visual-box img {
  display: block;
}

.text-overlay {
  position: absolute;
  top: 5%; /* 上から位置。画像の上半分に調整 */
  left: 35%;
  transform: translateX(-50%);
}
.text-overlay_left {
  position: absolute;
  top: 10%; /* 上から位置。画像の上半分に調整 */
  left: 50%;
  transform: translateX(-50%);
}
.teian-box{
  background-color: #DDD2C3;
  padding: 1em 0;
  
}
.section_hikaku{
  padding: 0em 2em 2em;
  margin-top: 0;
}

/* 特徴 */
.section_tokutyo{
  background: linear-gradient(135deg, #74CA97, #A1D8A5, #3DBF8F, #58A86A); /* 左上から鮮やかで明るい緑へ */  
}
.div_tokutyo {
  background-color: #fff;
  padding:1em 0em 0em;
  margin: 2em 2em 0em;
  border-radius: 10px;
}

.div_jisseki {
  margin: 2em 0em;
}

/* 5つの特徴 */
 .section_5point {
  background-color: #f0f8f4; /* 薄いグリーン背景 */
  padding: 2em 2em;
}

.box_point {
  background-color: #fff;
  margin-bottom: 2em;
  padding: 1em 2em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.box_point img {
  display: block;
  border-radius: 6px;
}

.box_point img:last-of-type {
  margin-bottom: 1.5em;
}
/* コスパ最強 */
.section_saikyo {
  background: url('../images/saikyo_bg.webp') no-repeat center center; /* 画像を中央に配置 */
  background-size: cover; /* 背景画像を全体にフィットさせる */
  margin: 0 auto;
}

/* 月額費用 */
.price {
  width: 80%;  /* テーブルの幅を設定（必要に応じて調整） */
  max-width: 700px; /* 最大幅を設定 */
  margin: 0 auto 2em;  /* テーブルを中央寄せ */
  border-collapse: collapse; /* テーブルセルを1つにまとめる */
  font-size: 1.4em;

}

.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: 2em 2em;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  align-items: stretch; /* 高さを揃える */
}

.step-item {
  background-color: #ffffff;
  padding: 1em;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%; /* 高さを固定 */
}

.step-number {
  font-size: 1.5em;
  color: #74CA97;
  font-weight: bold;
}

.step-icon img {
  max-width: 50%;
  margin-bottom: .5em;
}

/* 右向きの三角形画像 */
.step-item {
  position: relative;
}

.step-item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1.5em; /* 右側に配置 */
  transform: translateY(-50%) rotate(-90deg); /* 画像を右向きに回転 */
  width: 0;
  height: 0;
  background: url('../images/yaji.webp') no-repeat center center; /* 三角形の画像を指定 */
  background-size: contain; /* 画像の大きさを調整 */
  width: 15px; /* 画像の幅 */
  height: 15px; /* 画像の高さ */
}

/* 5つ目のstep-itemに対して三角形を消す */
.step-item:nth-child(5)::after {
  content: none; /* 5番目のステップには三角形を表示しない */
}



/*--------------------
動画セクション
--------------------*/
.movie-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
  flex-wrap: nowrap;
}

/* 左の画像エリア */
.movie_sub_head {
  flex: 0 0 auto;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.movie_sub_head img {
  height: 100%;
  width: auto;
  display: block;
}

/* 右の動画エリア */
.video {
  flex: 0 0 auto;
  height: 600px;
  max-width: 400px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 8px 2px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video video {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

/* PC時の画像表示（縦長） */
.movie_sub_head .pc-img {
  display: block;
}

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



/*--------------------
CTAエリア
--------------------*/
.area_cta {
  background: linear-gradient(135deg, #74CA97, #A1D8A5, #3DBF8F, #58A86A); /* 左上から鮮やかで明るい緑へ */
  padding: 1em 4em 2em;
  
}
/* ＣＴＡへのスクロール用 */
html {
  scroll-behavior: smooth;
}

.area_cta_inr {
  background-color: #fff;
  padding: 1em 2em;
  overflow: auto;
  border-radius: 10px;
}
.area_cta_inr_left {
  float: left;
  width:49.5%;
}
.area_cta_inr_right {
  float: right;
  width: 49.5%;
}

.cta_box {
  border: 3px solid #bfa980;
  box-shadow: 0 8px 8px 2px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  color: fff;
}


/* ホバー効果 */
.area_cta_inr_left a img,
.area_cta_inr_right a img {
  transition: all 0.3s ease;
}

.area_cta_inr_left a:hover img,
.area_cta_inr_right a:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}


/*--------------------
よくある質問
--------------------*/
/* FAQ セクション */
.section_faq {
  padding: 2em;
  background-color: #f5f9f5;
}

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

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

.accordion-header {
  width: 100%;
  padding: 1em;
  text-align: left;
  font-size: 1.2em;
  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 {
  background-color: #a28f70;
  padding: 2rem 0rem 14rem;
  text-align: center;
  font-size: 1.4rem;
  color: #ffffff;
}
.footer a {
  color: #fff;
}

/*--------------------------------------------------
下部固定ヘッダー（PCは非表示）
-----------------------------------------------------*/

/* .fix_menu_smartphone {
  display: block;
  display: flex;
  padding: 0 20% 0;
  background-color: rgba(255, 255, 255, 0);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
} */

.fix_menu_smartphone {
  display: flex;
  justify-content: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  gap: 1rem;
  padding: 1.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.5);
}

.fix_menu_smartphone img {
  width: 100%; /* 親要素(aタグ)に対して100%に変更 */
  display: block;
  margin: 0 auto;
}

.fix_menu_smartphone a {
  /* 最小値300px、最大値384pxの範囲で調整 */
  width: clamp(300px, 30%, 384px);
}

/*--------------------
サンクスページ
--------------------*/
.en{
  font-size: .5em;
  color: #74CA97;
}
.midashi{
  font-weight: normal;
}
.thanks h2{
  margin: 1em auto 1em;
}
.thanks {
  text-align: center; /* テキストを中央寄せ */
}

.thanks .midashi,
.thanks .en {
  text-align: center; /* 見出しも中央寄せ */
}

.thanks .inner {
  margin: 0 auto; /* 中央寄せ */
  max-width: 900px; /* 画面サイズに応じた最大幅 */
  padding: 1em 1em 5em;
}
/*------------------------------------------------------------
スマホ改行コード(スマホ時のみ改行される)
-------------------------------------------------------------*/
 
.sp_br {
  display: none;
}

@media only screen and (max-width : 768px) {
.sp_br {
  display: block;
}
   
}