@charset "utf-8";

/* オンライン用「こんなお悩みありませんか」のh2 */
main h2.e {
  margin: 0 auto; /* 左右のマージンを自動に設定して中央揃え */
  padding: 0;
  font-size: 2rem;
  font-weight: normal;
  display: flex;
  flex-direction: column-reverse;
  align-items: center; /* 中央揃えに変更 */
  width: 100%; /* 幅を100%に設定 */
  text-align: center; /* テキストを中央揃えに */
  text-wrap: balance;
}

/* オンライン用「充実のコンテンツ」のh2 */
main h2.f {
  align-items: center; /*見出しをセンタリングする場合*/
  padding: 0 0 25px 0;
}

/* ここは“絶対に切らない”塊 */
.nowrap {
  white-space: nowrap;
}

/* さすがに極小端末で溢れる時の保険（必要なら） */
@media (max-width: 400px) {
  h2.e .nowrap {
    white-space: normal;
  }
}

/*オンライン　キャッチコピー（画像）*/

/* デフォルト（PCなど大きめ画面） */
.catch-copy-wrapper {
  position: absolute;
  top: clamp(-330px, -21vw, -100px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(380px, 89vw, 1140px);
  z-index: 100;
  pointer-events: none;
}

.catch-text-online {
  display: block;
  width: 100%;
  height: auto;
}

/* 見出し本体は中央寄せ（任意） */
h2.e{ text-align:center; }

/* 基本はそのまま（前回のまま） */
.qwrap{
  position: relative;
  display: inline-block;
  padding-inline: clamp(1.0em, 2.2vw, 2.2em);
}

.question-img{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(28px, calc(1.1em + 2.2vw), 120px);
  height: auto;
  pointer-events: none;
}
.question-img.left  { left: 0;  transform: translate(-65%, -50%) rotate(-16deg); }
.question-img.right { right: 0; transform: translate( 65%, -50%) rotate( 16deg); }


@media screen and (max-width: 457px) {
  .question-img.left {
    transform: translate( 40%, -50%) rotate(-16deg);
  }

  .question-img.right {
    transform: translate(-40%, -50%) rotate(16deg);
  }
}

/* 解決　右上の★ とピンクのスタイル */
.pink{
  position: relative;   /* ← これだけでOK */
  /* display:inline;     ← デフォルトなので書かなくてOK */
  /* white-space: nowrap;← 付けていたら外す（親に .nowrap があるなら不要） */
}

/* 星は擬似要素で「解決」の右上に吸着 */
.pink::after{
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  transform: translate(-40%, -55%) rotate(10deg);
  width:  clamp(18px, 1em, 32px);
  height: clamp(18px, 1em, 32px);
  background: url(../../online/images/twinkle.png) center/contain no-repeat;
  pointer-events: none;
  z-index: 1;  /* 念のため文字より手前に */
}


/* 猫の足あと */
.box1 .catwalk-area {
  position: relative; /* ← 重要：absoluteの基準 */
}

.catwalk-img {
  width: clamp(88px, 15vw, 170px); /* 最小100px〜最大170pxの間で調整 */
  height: auto;
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* 猫の足あとの位置～楽しく学べるコミュニティ～右側の足あと */
.catwalk-img.right {
  top: clamp(80px, 14vh, 240px);   
  right: clamp(40px, 9vw, 200px);
  transform: translateY(-45%) rotate(10deg);
}

@media (max-width: 600px) {
  .catwalk-img.right {
    top: clamp(16px, 28vw, 142px);
    right: clamp(3px, 1vw, 10px);
    width: clamp(60px, 15vw, 100px);
  }
}

@media (max-width: 460px) {
  .catwalk-img.right {
    top: clamp(16px, 14vw, 100px);
    right: clamp(3px, 1vw, 10px);
  }
}


/* 猫の足あとの位置～楽しく学べるコミュニティ～左側の足あと */
.catwalk-img.left {
  bottom: 3%;
  left: clamp(33px, 10vw, 180px);
  transform: translateY(-50%) rotate(-30deg);
}

/* 猫の足あとの位置～お悩み解決3つのポイント～右側の足あと */
.bg1 .catwalk-img-section.right {
  top: clamp(80px, 14vh, 240px);   
  right: clamp(40px, 9vw, 200px);
  transform: translateY(-45%) rotate(-40deg); /* 反対方向に回転 */
}

/* 猫の足あとの位置～お悩み解決3つのポイント～左側の足あと */
.bg1 .catwalk-img-section.left {
  position: absolute;
  left: 16vw;
  bottom: 70px; /* セクションの下からの位置 */
  width: 170px;
  transform: rotate(20deg);
}

/* 猫の足あとの位置～学びやすい環境～右側の足あと */
.bg2 .catwalk-img-section.right {
  position: absolute;
  top: 20%;
  width: 170px; /* 画像の幅（調整可能） */
  right: 20vw; /* 右に配置 */
  transform: translateY(-45%) rotate(-40deg); /* 反対方向に回転 */
}

/* 猫の足あとの位置～学びやすい環境～左側の足あと */
.bg2 .catwalk-img-section.left {
  position: absolute;
  left: 16vw;
  bottom: 350px; /* セクションの下からの位置 */
  width: 170px;
  transform: rotate(20deg);
}

/*box1 男女初心者のイラスト
---------------------------------------------------------------------------*/
.box1 .beginner {
  display: block;
  width: clamp(
    160px,
    20vw,
    300px
  ); /* 最小160px〜最大300pxの間で画面幅に応じて調整 */
  margin: 0 auto;
}

/* picture 内の img を親いっぱいに */
.box1 .beginner img {
  display: block;
  width: 100%;
  height: auto;
}

/* （念のため source もブロック化）*/
.box1 .beginner source {
  display: block;
}

/*こんなお悩みありませんか
---------------------------------------------------------------------------*/
.problem {
  text-align: center;
  margin: clamp(30px, 6vw, 80px) 0;
}

/* 矢印の仕切り */
.arrow-img {
  position: absolute;
  left: 50%;
  top: 0; /* ← 前セクションに食い込ませない */
  transform: translateX(-50%);
  width: clamp(160px, 40vw, 280px);
  height: auto;
  margin: 0;
  pointer-events: none;
}

.arrow-img img {
  display: block;
  width: 100%;
  height: 100%;
}

/*「ゆうきともオンラインに入会する3つのメリット」
---------------------------------------------------------------------------*/
/* POINT番号 */
.reason-list__point {
  display: inline-block;
  text-align: center;
  font-size: 14px;
  color: white;
  background-color: #ff5f94;
  padding: 2px clamp(24px, 8vw, 50px); /* ← 横の余白をレスポンシブに */
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  white-space: nowrap; /* ← 改行されないように */
}

/* 下記不要 */

/* タイトル */
.reason-list__title {
  text-align: center;
  font-size: clamp(16px, 2.5vw, 20px); /* ← スマホでは16px、PCでは最大20px */
  font-weight: bold;
  margin-bottom: clamp(4px, 1vw, 8px); /* ← 余白も滑らかに調整 */
}

/* サブタイトル */
.reason-list__title-sub {
  text-align: center;
  font-size: clamp(14px, 2vw, 16px);
  color: #3fb4ce;
  margin-bottom: clamp(6px, 1.5vw, 12px);
}

/* 説明文 */
.reason-list__desc {
  text-align: left;
  font-size: clamp(13px, 1.8vw, 14px);
  color: #555;
  line-height: 1.6;
}

/* 説明文の中のリスト */
.reason-list__desc ul {
  margin: clamp(4px, 1vw, 8px) 0 clamp(10px, 2vw, 15px) clamp(5px, 2vw, 10px);
}

.reason-list__desc ol {
  margin: clamp(4px, 1vw, 8px) 0 clamp(10px, 2vw, 15px) clamp(10px, 2vw, 15px);
}

/* リストのスタイル（● を付ける） */
.reason-list__desc ul li {
  list-style-type: disc;
  margin-bottom: clamp(4px, 1vw, 6px);
} /* 数字付きリスト */
.reason-list__desc ol li {
  list-style-type: decimal; /* 数字リスト */
}

/* 矢印アイコン */
.list2 i.fas.fa-angle-down {
  position: absolute;
  bottom: 10px; /* ボックスの下端から10px上に配置 */
  left: 50%;
  transform: translateX(-50%);
  display: block;
  font-size: 24px;
  color: #a1a3a6;
}

/* === お悩み解決 3つのポイント（完全版） === */

/* ベース：1列 */
.three-point-grid {
  display: grid;
  --gap: 20px; /* ← ギャップを変数化 */
  gap: var(--gap);
  grid-template-columns: 1fr; /* スマホは1列 */
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
  justify-items: stretch;
}

/* 画像の揺れ対策 */
.three-point figure {
  margin: 0;
}
.three-point picture {
  display: block;
  width: 100%;
}
.three-point picture img {
  display: block;
  width: 100%;
  height: auto; /* 画像全体を見せたいなら auto */
  object-fit: contain;
}

/* カード（等高） */
.three-point {
  position: relative;
  background: #fff;
  padding: 0 20px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 414px〜：2段。ポイント1は中央に1カラム分の幅で表示 */
@media (min-width: 414px) {
  .three-point-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* <a> がグリッドアイテム。p1だけ“見た目”の幅を1カラム分に制限して中央へ */
  .three-point-grid > a.three-point-link:nth-of-type(1) {
    grid-column: 1 / -1; /* 行としては全幅を確保 */
    justify-self: center; /* 行の中央に配置 */
    width: calc((100% - var(--gap)) / 2); /* 1カラム分の幅にする ←これが肝 */
  }
}

/* 768px〜：3列に戻して均等幅 */
@media (min-width: 768px) {
  .three-point-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .three-point-grid > a.three-point-link:nth-of-type(1) {
    grid-column: auto; /* 配置リセット */
    justify-self: stretch; /* 幅制限も解除 */
    width: auto;
  }
}
/* クリック領域とホバー */
.three-point-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.three-point-link:hover .three-point {
  transform: translateY(-2px);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/*ポイント1・ポイント2のエリア */
.bg1 {
  position: relative;
  /* 矢印の高さ(80px) + 下の余白(12px) */
  padding-top: calc(80px + 12px);
}

.bg2 {
  position: relative; /* 子要素の絶対配置の基準にする */
  padding-top: 40px;
}

/*オンラインコンテンツ内容紹介
---------------------------------------------------------------------------*/
/* センター寄せリストのスタイル */
.centered-list2 {
  display: block;
  margin: 0 auto;
  text-align: left;
  list-style: disc;
  padding: 0 8px;
  width: clamp(200px, 95%, 600px);
  transition: transform 0.3s ease;
}

/* リスト項目 */
.centered-list2 li {
  text-align: left;
  margin: 5px 0;
  font-size: clamp(16px, 5vw, 30px); /* ← スマホでは小さく、PCでは最大30pxに */
  line-height: 1.4;
}

/* 画面が狭くなるにつれて右の方へ */

@media screen and (max-width: 1191px) {
  .centered-list2 {
    transform: translateX(10%);
  }
}

@media screen and (max-width: 768px) {
  .centered-list2 {
    transform: translateX(14%);
  }
}

@media screen and (max-width: 600px) {
  .centered-list2 {
    transform: translateX(10%);
  }
}

/* コンテナ内の要素を横並びにする */
.content-container2 {
  max-width: 100%;
  overflow-x: hidden; /* 横スクロールを防ぐ */
  justify-content: center; /* 横方向の中央寄せ */
  flex-wrap: wrap; /* スマホ時は縦並び */
  display: flex;
}

/* 画像部分の設定 */
.content-container2 .image img {
  width: clamp(
    280px,
    65vw,
    350px
  ); /* 最小285px〜最大350pxで画面幅に応じて調整 */
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: clamp(12px, 4vw, 20px) clamp(16px, 6vw, 40px); /* 上下・左右の余白もレスポンシブに */
  display: block;
}

/* 説明文の設定その1 */
.content-container2 .description {
  max-width: 500px;
  text-align: left;
  margin-top: 20px; /* 上に20pxの余白を追加 */
}

/* 説明文の設定その2 */
.content-container2 .description2 {
  max-width: 500px;
  text-align: left;
}

/* 説明文の段落に対するスタイル */
.content-container2 .description p {
  font-size: clamp(16px, 2vw, 20px); /* ← スマホでは16px、PCでは最大20pxに */
  line-height: 1.6;
  margin-bottom: 1em;
}

/* 横並びのときだけ reverse を効かせる */
@media screen and (min-width: 1191px) {
  .content-container2.reverse {
    flex-direction: row-reverse;
  }
}

/* 縦並びのときはすべて順番そのまま（説明 → 画像） */
@media screen and (max-width: 1190px) {
  .content-container2 {
    flex-direction: column;
    align-items: center;
  }

  .content-container2 .description p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* 逆順のスタイル */
.content-container2.reverse {
  flex-direction: row-reverse; /* 画像と説明文の順序を逆にする */
}

/* ゆうきともに質問できる！ */
.custom-layout {
  display: flex;
  align-items: flex-start; /* 上揃えで配置 */
  flex-wrap: wrap; /* 画面が狭いとき折り返す */
  gap: 58px; /* 画像と説明文の間に余白を作る */
}

.custom-layout .image {
  flex: 1; /* 画像の幅を小さめに */
  max-width: 20%; /* 必要に応じて調整 */
}

.custom-layout .image img {
  width: 100%; /* 画像を親要素の幅に合わせる */
  height: auto; /* 縦横比を維持 */
}

.custom-layout .description2 {
  flex: 2; /* 説明文の幅を広げる */
  max-width: 45%; /* 説明文の最大幅を調整 */
  padding-left: 10px; /* 画像との間に適度な余白を */
}

/* スマホ対応（画面幅800px以下） */
@media screen and (max-width: 800px) {
  .custom-layout {
    flex-direction: column; /* 縦に並べる */
    align-items: center; /* 中央揃え */
  }

  .custom-layout .image,
  .custom-layout .description2 {
    max-width: 100%; /* スマホでは幅いっぱいに */
    text-align: center; /* テキストを中央揃え */
  }

  .custom-layout .description2 {
    padding-left: 0; /* スマホでは余白をなくす */
  }
}

/* 「そんなにあっても全部観る自信がないなぁ」の画像 */
.center-image {
  text-align: center;
  margin: clamp(20px, 5vw, 40px) 0; /* 上下の余白もレスポンシブに */
}

.center-image img {
  width: clamp(
    300px,
    80vw,
    600px
  ); /* 最小200px〜最大600pxの間で画面幅に応じて変化 */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 説明文の設定その3 */
.content-container2 .description2 {
  max-width: 500px;
  text-align: left;
  margin-left: 30px;
}

.point-box {
  margin: 0; /* ボックス自体を中央寄せ、下に余白追加 */
  background: #fff; /* 背景色を白に変更 */
  border-left: 5px solid #b76619; /* 左ボーダーを残しつつ強調 */
  border-radius: 12px; /* 角を少し丸く */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 影を少し強調 */
  width: 100%; /* ボックス幅を広げる */
  max-width: 900px; /* 最大幅を指定 */
}

.point-box h3 {
  font-size: 24px; /* タイトル文字を少し大きく */
  color: #74325c;
  display: flex;
  align-items: center;
  font-weight: bold;
  margin-bottom: 15px;
}

.point-box h3 i {
  margin-right: 15px;
  color: #3fb4ce;
  font-size: 28px; /* アイコンサイズ調整 */
}

.point-box h4.point-number {
  font-size: 18px;
  color: #3fb4ce;
  margin-bottom: 20px;
  font-weight: normal;
}

.content-container2.vertical-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* 中央ボックス */
.point-box-centered {
  max-width: 1100px;
  text-align: center;
  padding: 0 1rem;
}

.point-box-centered h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: #3fb4ce;
  line-height: 1.3;
}

.point-box-centered h4 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #444;
  line-height: 1.3;
}

/* featureリスト */

.feature-list {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  gap: 0.5rem; /* 適度な間隔を確保 */
  flex-wrap: nowrap; /* 折り返し防止 */
}

.feature-box {
  display: flex;
  flex-direction: column; /* ←中身を縦並びに */
  align-items: flex-start; /* ← 左寄せにする */
  text-align: left; /* ← テキストも左揃え */
  width: 30%; /* 調整して横3つ収まるように */
  transition: width 0.3s ease;
}

/* picture.feature-icon に対しては、アイコン領域の大きさだけ決める */
.feature-icon {
  display: block; /* ブロック化 */
  width: 80px; /* アイコン領域の幅 */
  height: 80px; /* アイコン領域の高さ */
  margin: 0 auto 8px; /* 中央寄せ＋下に余白 */
}

/* その中の <img> は領域いっぱいにフィットさせる */
.feature-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain; /* 縦横比を保って収める */
}

/* flexbox のアイテム自体は幅30%のまま */
.feature-box {
  width: 30%;
  /* その他の設定はそのままでOK */
}

.feature-list li {
  flex: 1 1 33%;
  background: #f8f9fb;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.feature-list li i {
  font-size: 2.2rem;
  color: #007bff;
  margin-bottom: 0.5rem;
  display: block;
}

.list-icon {
  width: 50px;
  height: 50px;
  margin-right: 8px;
  vertical-align: middle;
}

@media screen and (max-width: 900px) {
  .feature-list {
    flex-wrap: wrap;
  }

  .feature-box {
    width: 45%;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 600px) {
  .feature-box {
    width: 100%;
  }
}

@media screen and (max-width: 400px) {
  .feature-list {
    flex-wrap: wrap !important;
    flex-direction: column;
    align-items: center;
  }

  .feature-box {
    width: 100% !important;
    margin-bottom: 1rem;
  }
}

/* 背景色個別指定（例） */
.feature-list li:nth-child(1) {
  background: #e3f2fd; /* 明るい青 */
}

.feature-list li:nth-child(2) {
  background: #e8f5e9; /* 明るい緑 */
}

.feature-list li:nth-child(3) {
  background: #fff3e0; /* 明るいオレンジ */
}

/* 下部画像 */
.bottom-image img {
  width: 70%; /* ← 画面幅の80%に収まるように */
  max-width: 500px; /* ← どんなに大きくても600pxまで */
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto; /* 中央寄せ */
}

.point-box:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* ホバー時に影を強く */
  transform: translateY(-5px); /* ボックスの動きを追加 */
  transition: all 0.3s ease-in-out; /* スムーズな動き */
}

/* 吹き出しボックス（中央寄せ） */
.speech-bubble {
  position: relative;
  width: 700px;
  height: auto; /* 高さは内容に応じて調整 */
  padding: 20px;
  background: #f5f5f5;
  border-radius: 15px;
  border: 2px solid #ccc; /* 枠線 */
  font-size: 20px;
  color: #333;
  text-align: left;
  display: flex;
  flex-direction: column; /* 縦に並べる */
  align-items: center; /* 中の要素を中央寄せ */
  justify-content: center;
  margin: 30px auto; /* 左右中央寄せ */
}

/* 吹き出しの三角部分（外側の枠） */
.speech-bubble::before {
  content: "";
  position: absolute;
  bottom: -12px; /* 位置調整 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #ccc; /* 外枠の色 */
}

/* 吹き出しの三角部分（内側の背景） */
.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px; /* 位置調整 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #f5f5f5; /* ボックスと同じ背景色 */
}

/* リストのスタイル */
.speech-bubble ul {
  list-style-type: disc; /* 通常の丸リスト */
  padding-left: 20px; /* 左の余白 */
  text-align: left;
}

.speech-bubble li {
  margin-bottom: 10px; /* リスト間の余白 */
}

/* 吹き出しの下のアイコンとテキスト */
.bubble-footer {
  display: flex;
  align-items: center; /* 縦の中央揃え */
  justify-content: center; /* 横の中央揃え */
  margin: 70px 0 0 0;
  font-size: 28px;
}

/* アイコンの設定 */
.bubble-footer img {
  width: 150px;
  height: 150px;
  margin-right: 10px; /* アイコンとテキストの間隔 */
}

/* お悩み解決猫の画像 */
.cat-image {
  text-align: center;
  margin: 2rem 0;
}

.cat-image img {
  width: clamp(100px, 30vw, 200px);
  height: auto;
  max-width: 100%;
}

/*よく頂く質問ブロック
---------------------------------------------------------------------------*/
/*faqブロック全体*/
.faq {
  background: #5e5c5a; /*背景色*/
  color: #fff; /*文字色*/
  position: relative;
  padding-left: var(--space-small);
  padding-right: var(--space-small);
  overflow-x: hidden;
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width: 600px) {
  .faq {
    display: flex;
    flex-direction: row-reverse; /*左右の並びをデフォルトと逆に*/
    justify-content: space-between;
  }
}

/*faq内のh2見出し*/
.faq h2 {
  margin: 0;
  padding: 0;
  font-size: 2rem; /*文字サイズを2倍*/
  font-weight: 200; /*文字を細く*/
  letter-spacing: 0.4em; /*文字間隔を広くする*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width: 600px) {
  /*faq内のh2見出し*/
  .faq h2 {
    writing-mode: vertical-lr; /*日本語は縦書き。英語は90度回転。*/
    margin-right: 11vw; /*右側に画面18%程度のスペースを空ける。そこに英語の飾り文字を入れる為。*/
  }
}

/*右側の英語の飾り文字*/
.faq h2 .kazari {
  line-height: 1;
  font-size: 0.9rem; /*文字サイズ90%*/
}

/*画面幅600px以上の追加指定*/
@media screen and (min-width: 600px) {
  /*右側の英語の飾り文字*/
  .faq h2 .kazari {
    font-size: 17vw; /*文字サイズ*/
    position: absolute;
    right: 0px;
    top: var(--space-large);
    color: rgba(
      255,
      255,
      255,
      0.05
    ); /*文字色。255,255,255は白のことで、0.05は色が5%出た状態。*/
  }
}

*質問と回答*/ .cp_qa *,
.cp_qa *:after,
.cp_qa *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.cp_qa {
  display: flex;
  flex-direction: column;
  align-items: center; /* 中央寄せ */
}

.cp_qa .cp_actab {
  position: relative;
  overflow: hidden;
  width: 64%;
  margin-left: 18vw;
  color: #515151;
}

.cp_qa .cp_actab input {
  position: absolute;
  opacity: 0;
}

/* 質問 */
.cp_qa .cp_actab label {
  font-weight: bold;
  line-height: 1.6em;
  position: relative;
  display: block;
  margin: 0 0 0 0;
  padding: 0.5em 2em 0.5em 2.5em;
  cursor: pointer;
  text-indent: 1em;
  border-radius: 0.5em;
  background: rgba(255, 255, 255.255);
}
.cp_qa .cp_actab label::before {
  font-family: serif;
  font-size: 0.8em;
  margin-left: -2em;
  padding-right: 0.5em;
  content: "Q";
  color: #ff5f94;
}
.cp_qa .cp_actab label:hover {
  transition: all 0.3s;
  color: #04a7cd;
}

/* --質問の＋アイコン */
.cp_qa .cp_actab label::after {
  font-size: 1.3em;
  font-weight: bold;
  line-height: 2em;
  position: absolute;
  top: 0;
  right: 0;
  content: "＋";
  display: inline-block;
  width: 2em;
  height: 2em;
  -webkit-transition: transform 0.4s;
  transition: transform 0.4s;
}

/* 答え */
.cp_qa .cp_actab .cp_actab-content {
  position: relative;
  overflow: hidden;
  max-height: 0;
  padding: 0 0 0 2.5em;
  -webkit-transition: max-height 0.2s ease;
  transition: max-height 0.2s ease;
  border-radius: 0 0 0.5em 0.5em;
}
.cp_qa .cp_actab .cp_actab-content::before {
  font-family: serif;
  font-size: 1.5em;
  position: absolute;
  margin: 0.4em 0 0 -1em;
  padding: 0;
  content: "A";
}
.cp_qa .cp_actab .cp_actab-content p {
  margin: 1em 1em 1em 0;
}

/* 質問を開いた時の仕様 */
.cp_qa .cp_actab input:checked ~ .cp_actab-content {
  max-height: 1500px;
  border: 10px solid rgb(84 79 79 / 16%);
  background-color: #f7f7f7;
}

/* 質問をクリックした時のアイコンの動き */
.cp_qa .cp_actab input:checked ~ label {
  color: #894c08;
  border-radius: 0.5em 0.5em 0 0;
}

/* 質問をクリックした時の+の動き */
.cp_qa .cp_actab input[type="checkbox"]:checked + label::after {
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

@media screen and (max-width: 600px) {
  /* FAQ全体の余白調整 */

  /* 見出しの文字サイズを少し小さく */
  .faq h2 {
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 1em;
  }

  /* kazari（飾り文字）は非表示にするか小さく */
  .faq h2 .kazari {
    font-size: 3rem;
    position: static;
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.1);
    margin-top: 0.5em;
  }

  /* 質問ブロックの幅を広げる */
  .cp_qa .cp_actab {
    width: 90%;
    margin-left: 0;
  }

  /* 質問と回答の余白調整 */
  .cp_qa .cp_actab label {
    padding: 0.8em 1em;
    font-size: 1rem;
  }

  .cp_qa .cp_actab .cp_actab-content {
    padding: 0 2em;
  }
}

@media screen and (min-width: 600px) and (max-width: 850px) {
  .cp_qa .cp_actab {
    width: 80%; /* 幅を広げる */
    margin-left: auto; /* 左余白を解除して中央寄せ */
    margin-right: auto;
  }
}

/* セクター */
#sector {
  position: relative; /* 子要素の絶対配置の基準にする */
  padding-bottom: 50px;
}

#sector-vimeo {
  background-color: #f5f4ec;
}

/* 会員様の声 */
下記の部分、右ボタンで送っても、最後のボックスが隠れて表示されません。
/* 会員様の声 */
.sector-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  padding: 1rem 2rem;
  margin: 0 auto;
}

.sector-track {
  display: flex;
  transition: transform 0.5s ease;
  transform: translateX(-700%);
}

.sector-carousel .list {
  flex: 0 0 calc(25% - 1rem);
  box-sizing: border-box;
  padding: 1rem;
  margin: 0 0.5rem;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 10px;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* タブレット向け（900px以下） */
@media screen and (max-width: 900px) {
  .sector-carousel .list {
    flex: 0 0 calc(33% - 1rem);
  }
}

/* ナビゲーションボタン */
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel-controls .prev,
.carousel-controls .next {
  color: #8b4513;
  background: #fff;
  border: 1px solid #ccc;
  font-size: 1rem;
  padding: 0.6rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.carousel-controls .prev:hover,
.carousel-controls .next:hover {
  background: #eee;
}

/* タブレット向け（768px以下） */
@media screen and (max-width: 768px) {
  .sector-carousel .list {
    flex: 0 0 calc(50% - 1rem);
  }
}

/* スマホ向け（480px以下） */
@media screen and (max-width: 480px) {
  .sector-carousel .list {
    flex: 0 0 100%;
    margin: 0 0.5rem 1rem;
  }
}

/*（コンテンツの紹介ボックス）
---------------------------------------------------------------------------*/

/*ボックスの左上イラスト（1つ目）*/
.box1 .illust1 {
  position: absolute;
  right: 6vw; /*右からの配置場所*/
  top: 5vw; /*上からの配置場所*/
  width: 23vw; /*イラストの幅。*/
  opacity: 0.8; /*透明度。色が20%出た状態。*/
  transform: rotate(-20deg); /*左に20度回転*/
}

/*ボックスの左上イラスト（2つ目）*/
.box1 .illust2 {
  position: absolute;
  right: 0vw; /*右からの配置場所*/
  top: 2vw; /*上からの配置場所*/
  width: 13vw; /*イラストの幅。*/
  opacity: 0.2; /*透明度。色が20%出た状態。*/
  transform: rotate(20deg); /*右に20度回転*/
}

/*ボックスの左上イラスト（3つ目）*/
.box1 .illust3 {
  position: absolute;
  right: 19vw; /*右からの配置場所*/
  top: -11vw; /*上からの配置場所*/
  width: 55%; /*イラストの幅。*/
}

/*box1 男女初心者のイラスト
---------------------------------------------------------------------------*/
.box1 .illust4 {
  width: 20%;
}

.box1 .content-container {
  display: flex;
  flex-direction: row; /* コンテンツを横並びにする */
}

/*月額2,980円
---------------------------------------------------------------------------*/
/* 月額料金のスタイル */
/* 月額料金のスタイル */
.price {
  font-size: clamp(15px, 2vw, 24px); /* ← 画面幅に応じて文字サイズを調整 */
  width: fit-content;
  margin-left: clamp(40%, 59vw, 60%); /* ← 画面幅に応じて右寄せ度合いを調整 */
  margin-right: 0;
  text-align: left;
  transition: all 0.3s ease;
}
/* スマホ表示対応 */
@media screen and (max-width: 768px) {
  .description .price {
    margin-left: auto; /* スマホ時は中央寄せ */
    margin-right: auto;
    text-align: center;
    font-size: 14px;
  }
}

/*動画
---------------------------------------------------------------------------*/
.vimeo-container {
  position: relative;
  width: 90%; /* スマホ向けに広めに */
  aspect-ratio: 16 / 9;
  margin: 20px auto;
}

@media screen and (min-width: 768px) {
  .vimeo-container {
    width: 60%;
  }
}

@media screen and (min-width: 1024px) {
  .vimeo-container {
    width: 40%;
  }
}

.vimeo-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 入会のご案内（ta2 / ta4 共通） */
.ta2-container,
.ta4-container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

/* テーブル本体 */
.ta2,
.ta4 {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  display: table;
  text-align: left;
  font-size: clamp(14px, 1.8vw, 16px);
  border-collapse: collapse;
}

/* テーブルのセルと枠線 */
.ta2,
.ta2 td,
.ta2 th,
.ta4,
.ta4 td,
.ta4 th {
  border: 1px solid #ccc;
  word-break: break-word;
  padding: clamp(8px, 2vw, 15px);
}

/* テーブル見出し行 */
.ta2 th.tamidashi,
.ta4 th.tamidashi {
  width: auto;
  text-align: center;
  background: #eee;
  font-size: clamp(16px, 2vw, 18px);
}

/* 注釈 */
.ta2-container .note,
.ta4-container .note {
  color: #666;
  display: block;
  font-size: clamp(12px, 1.5vw, 14px);
  margin-top: 6px;
}

/* 左側のラベルセル */
.ta2 th,
.ta4 th {
  width: 20%;
  text-align: center;
  font-weight: normal;
}

/* ラベル内の画像 */
.ta2 th img,
.ta4 th img {
  width: 100%;
  height: auto;
}

/* アイコンボックス */
.ta2 td .specialbox,
.ta4 td .specialbox {
  float: left;
  width: clamp(60px, 15vw, 80px);
  height: clamp(30px, 8vw, 40px);
}

.ta2 td .specialbox img,
.ta4 td .specialbox img {
  vertical-align: middle;
}

/* ta2 固有の設定 */
.ta2 {
  font-size: clamp(14px, 1.8vw, 16px);
}

/* ta4 固有の設定 */
.ta4 {
  font-size: clamp(13px, 1.6vw, 14px);
}

.ta4 th.tamidashi {
  font-size: clamp(14px, 1.8vw, 16px);
}

.ta4 td .specialbox {
  width: clamp(50px, 14vw, 70px);
  height: clamp(25px, 7vw, 35px);
}

/* スマホ対応：テーブルを縦スクロール可能に */
@media screen and (max-width: 480px) {
  .ta2,
  .ta4 {
    display: block;
    overflow-x: auto;
    width: 100%;
  }
}
/*サムネイルスライドショー
---------------------------------------------------------------------------*/
/*スライドショーブロック全てを囲むブロック*/
.slide-thumbnail-box {
  overflow-x: hidden;
  padding-left: 0;
  padding-right: 0;
  background-color: #f5f4ec;
}

/*各スライドショーブロックを囲むブロック*/
.slide-thumbnail1 {
  margin-bottom: 6vw; /*下に空けるスペース。スライドショーを２個以上置く場合に上下の画像が重ならないようにする為。*/
}

/*画像たちを囲むブロック*/
.slide-thumbnail1 .img {
  display: flex;
}

/*画像*/
.slide-thumbnail1 .img img {
  padding: 0 1rem; /*上下、左右への画像の余白*/
}

/*偶数番目の画像の垂直位置を少しずらす。垂直位置を並べたいならこのブロックを削除。*/
.slide-thumbnail1 .img div:nth-of-type(even) {
  transform: translateY(3vw);
}

/*右から左へ、左から右へ、のアニメーション*/
.slide-thumbnail1 .rtl,
.slide-thumbnail1 .ltr {
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.slide-thumbnail1 .rtl {
  animation-name: slide-rtl;
}
.slide-thumbnail1 .ltr {
  animation-name: slide-ltr;
}

@keyframes slide-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes slide-ltr {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@media screen and (max-width: 600px) {
  .slide-thumbnail1 .img img {
    transform: scale(1.1);
    margin-bottom: 6.5vw; /* ほんの少し広げる */
  }
}

@media screen and (max-width: 375px) {
  .slide-thumbnail1 .img img {
    transform: scale(1.3);
    margin-bottom: 7vw; /* ほんの少し広げる */
  }
}
