/* -------------------------
   検索フォーム
-------------------------- */
.plan-search-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.search-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
    background-color: #f9f9f9;
    padding: 0 20px 10px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.plan-results h3 {
  grid-column: 1 / -1; /* grid を全部またぐ */
}

/* チェックボックスを非表示にする */
.checkbox-group input[type="checkbox"] {
  display: none;
}

/* ラベルをボタン風に */
.checkbox-group label {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 2px solid #e20773;
  border-radius: 20px;
  background: #fff;
  color: #e20773;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  text-align: center;
  min-width: 100px; /* スマホでも押しやすい */
}

/* ホバー時 */
.checkbox-group label:hover {
  background: #ffe6f1;
}

/* チェック時に色を反転 */
.checkbox-group input[type="checkbox"]:checked + label {
  background: #e20773;
  color: #fff;
  border-color: #e20773;
}

/* 検索ボタン */
.search-submit button {
  display: inline-block;
  width: 100%;
  padding: 1rem;
  background: #e20773;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-submit button:hover {
  background: #c90664;
}
.search-actions {
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.btn-submit {
    background-color: #FF6700;
    width: 400px;
    border: none;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
}

/* -------------------------
   プラン一覧
-------------------------- */
.plan-search-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
/* フィルターで非表示のカード */
.plan-card.hidden {
    display: none;
}
.plan-results {
  display: grid;
  margin-top: 2rem;
}
.plan-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  overflow: hidden;
  justify-content: space-between;
}
.plan-card-content {
    flex: 1;
}
.plan-card-left {
  flex: 1;
}
/* 画像 */

.plan-card img {
  width: 100%;
  height: 200px; /* 固定高さ（必要に応じて調整） */
  object-fit: cover; /* はみ出す部分は切り抜き */
  border-radius: 0; /* 角丸なし */
  display: block;
}

.plan-card-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #333;
    margin-top: 20px;
}

.plan-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.plan-info-table th {
  text-align: left;
  padding: 6px 10px;
  background: #f9f9f9;
  font-weight: bold;
  width: 120px;
}

.plan-info-table td {
  padding: 6px 10px;
}

.plan-detail-btn {
    text-align: center;
}

.plan-detail-btn a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #e20773; /* ボタンの色 */
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.plan-detail-btn a:hover {
  background-color: #c10661; /* ホバー時は少し濃く */
}
.plan-detail-btn:focus {
  outline: 3px solid rgba(194, 6, 97, 0.25);
  outline-offset: 2px;
}


/* チェックボックスボタン */
.plan-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.plan-button-group input[type="checkbox"] { display: none; }
.plan-btn {
    display: inline-block;
    padding: 5px 10px;
    background-color: #B3C100;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    user-select: none;
}

.plan-card-box {
    display: flex;
    flex-direction: column;
}

/* プランカード内タグボタン */
.plan-tags { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 5px;
    color: #fff;
}
.plan-tag-btn {
    display: inline-block;
    padding: 5px 10px;
    background-color: #B3C100;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    transition: background-color 0.3s;
}
.plan-tag-btn:hover { 
    background-color: #9aa100; 
}

/* 検索件数 */
.search-count { 
    font-weight: bold; margin: 10px 0; 
    grid-column: 1 / -1; /* grid を全部またぐ */
    padding-left: 20px;
}
.search-item-link {
    display: block; /* 親が flex の場合は必須 */
}
.search-title {
    margin: 5px 0 10px;
    font-size: 1em;
    word-break: break-word;
    overflow-wrap: break-word;
}
.search-item {
    margin-bottom: 30px;
    height: auto; /* 高さ固定している場合は auto に */
    overflow: visible; /* hiddenなら変更 */
}

.search-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.search-item-thumb img {
    width: 100%;
    height: auto;
    display: block;
}


.search-pagination {
    text-align: center;
}
/* クリアボタン */
#clear-filters {
    padding: 20px 40px;
    background-color: #888;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.plan-tag-btn:hover {
    background-color: #9aa100; /* ホバー時の色 */
    color: #fff;
}
.plan-tag-btn a:visited {
    color: #fff;
}

/* ページネーション全体 */
.search-pagination {
    text-align: center;
    margin: 2em 0;
}

/* 各ページ番号ボタン */
.search-pagination .page-numbers {
    display: inline-block;
    margin: 0 4px;
    padding: 10px 16px;
    background-color: #333; /* 背景色 */
    color: #fff; /* 文字色 */
    border: 1px solid #333; /* ボーダー */
    text-decoration: none;
    transition: all 0.2s ease;
}

/* 現在ページ */
.search-pagination .current {
    background-color: #144D2E; /* 現在ページは別色 */
    border-color: #144D2E;
    color: #fff;
    font-weight: bold;
}

/* ホバー時 */
.search-pagination .page-numbers:hover {
    background-color: #555;
    border-color: #555;
    color: #fff;
}

/* -------------------------
   プラン個別ページ
-------------------------- */

.plan-detail-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px; /* タイトルとタグの間隔 */
}

.plan-tags {
    display: flex;
    gap: 6px;
}

.plan-tag {
    background: #f2f2f2;
    color: #333;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 4px;
}
.single-plan-container {
    max-width: 1200px;
    width: 90%;
    margin: 2rem auto;
}
.plan-card-content h4 {
    font-size: 1.3em; 
    margin: 15px auto 10px;
    }
    
.plan-detail-card {
    background: #fff;
    overflow: hidden;
}

.plan-detail-image img {
    width: 100%;
    height: 300px; /* 高さ固定 */
    object-fit: cover;
    border-radius: 0;
}

.plan-detail-content {
    padding: 24px;
}

.plan-detail-title {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #333;
}

.plan-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.plan-detail-table th,
.plan-detail-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}

.plan-detail-table th {
    background: #fafafa;
    font-weight: 600;
    width: 150px;
    text-align: left;
}

.plan-back-btn a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e20773;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease;
}
.plan-back-btn a:visited  {
	color: #fff;
}

.plan-back-btn a:hover {
    background-color: #c10661;
    margin: 0 auto;
}
.plan-back-btn {
    text-align: center;
}

.flex-box {
    display: flex;
    gap: 40px;
}

/* シンプルなコーチ紹介用レイアウト */
.coach-single-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.coach-photo {
    flex: 1 1 300px;
}

.coach-photo img {
    width: 100%;
    height: auto;
}

.coach-info {
    flex: 2 1 500px;
}

.coach-name {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.coach-title {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 20px;
}

.coach-intro {
    font-size: 1em;
    line-height: 1.8;
}

/* アーカイブ用コーチカードレイアウト */
.coach-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    display: grid;
}

.coach-card {
    overflow: hidden;
    background: #f9f9f9;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.coach-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.coach-card-content a {
    text-decoration: none;
}
.coach-card-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.coach-card-subtitle {
    font-size: 1em;
    color: #555;
    margin-bottom: 10px;
}

.coach-card-excerpt {
    font-size: 0.95em;
    line-height: 1.5;
}

.back_to_top {
    margin-bottom: 80px;
}

/* -------------------------
   テンプレート
-------------------------- */
.lower-page {
    margin: 0 auto;
    width: 90%;
    max-width: 800px;
}
.lower-page p {
    margin: 0 auto;
}

/* -------------------------
   投稿アーカイブ
-------------------------- */

/* 768px 〜 1200px の範囲 */
@media screen and (min-width: 768px) and (max-width: 1200px) {
	.grid-news {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
	}
}
@media screen and (max-width: 768px) {
	.grid-news {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
	}
}
@media screen and (min-width: 1201px) {
	.news-card {
		width: calc(33.333% - 14px);
	}
}


/* -------------------------
   投稿個別
-------------------------- */
.post-main-visual img, .post-content img {
    width: 100%;
    height: auto;
}
.post-content p a, .post-content p a img {
    width: 300px!important;
}
.back-to-blog {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

/* -------------------------
   共通パーツ 体験申し込みボタンとLINEボタン
-------------------------- */
.trial-lesson-cta {
    margin: 100px 0 auto;
    padding-top: 30px;
    text-align: center;
    border-top: 1px #f2f2f2 solid;
}

.btn-pink {
    display: inline-block;
    background: #ff4f7a;
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    width: calc(75% - var(--wp--style--block-gap, .5em) * .25);
    max-width: 600px;
}
.btn-pink:visited {
    background: #ff4f7a;
    color: #fff;
}
.btn-pink:hover {
    background: #d63d62;
    color: #fff;
}

.line-text {
    margin-top: 20px;
    font-size: 16px;
}

.line-button img {
    max-width: 300px;
    margin-top: 10px;
}

/* -------------------------
   404
-------------------------- */

.not-found-page {
    margin: 80px auto;
}

/* -------------------------
   検索結果
-------------------------- */

.search-results-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* -------------------------
/*ContactForm7カスタマイズ*/
-------------------------- */

/* コンテナ */
.contact-flex {
  width: 80%;
  margin: 0 auto;
  border: 3px solid #e5e5e5;
  border-radius: 4px;
  padding: 20px;
  box-sizing: border-box;
}

/* 行 */
.form-row {
  display: flex;
  align-items: flex-start;
  border-top: 1px solid #e5e5e5;
  padding: 12px 0;
}

/* ラベル側 */
.form-label {
  width: 30%;
  background-color: #ebedf5;
  padding: 10px;
  font-weight: bold;
  box-sizing: border-box;
}

/* 入力フィールド側 */
.form-field {
  width: 70%;
  padding: 10px;
  box-sizing: border-box;
}

/* 入力要素 */
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  padding: 8px;
  font-size: 1em;
  box-sizing: border-box;
}

.form-field textarea {
  min-height: 120px;
}

/* プレースホルダー */
.form-field ::placeholder {
  color: #797979;
}

/* 必須ラベル */
.CF7_req {
  font-size: .9em;
  padding: 4px 6px;
  background: #f79034; /* オレンジ */
  color: #fff;
  border-radius: 3px;
  margin-right: .5em;
}

/* 任意ラベル */
.CF7_unreq {
  font-size: .9em;
  padding: 4px 6px;
  background: #bdbdbd; /* グレー */
  color: #fff;
  border-radius: 3px;
  margin-right: .5em;
}

/* ご相談内容のチェックボックスを横並び */
.checkbox-inline {
  display: flex;
  flex-wrap: wrap; /* 画面幅が狭いときは折り返す */
  gap: 1em; /* チェックボックス同士の余白 */
  align-items: center;
}

.checkbox-inline label {
  display: flex;
  align-items: center;
  gap: .3em; /* チェックボックスとテキストの間隔 */
}
/* ご相談内容のチェックボックス横並び */
.contact-form-01 .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;   /* スマホでは折り返し */
  gap: 2em;          /* 選択肢同士の余白 */
  align-items: center;
}

.contact-form-01 .wpcf7-list-item {
  margin: 0; /* デフォルトの余白をリセット */
}

.wpcf7-spinner {
display: block!important;
}

.contact-form-01 .wpcf7-checkbox {
    flex-direction: row;
}
.form-field input {
    width: inherit;
}
.wpcf7-list-item {
    display: flex;
}
.form-field .checkbox-inline p {
    margin: 0
}


/* -------------------------
 LP
-------------------------- */

.lp-mv {
    width: 100%;
}

/*　PCサイズ　*/
@media screen and (min-width:1000px) {
.plan-results {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.filter-toggle {
    display: none; /* PCでは絞り込みボタン非表示 */
  }    
}

/*　PC・タブレットサイズ　*/
@media screen and (min-width: 768px) {

main {
    padding-top: 50px; /* ← ヘッダー分だけ余白を追加 */
}    

.btn-submit {
    font-size: 1.125em;
}
    
.search-item {
    flex: 0 0 30%; /* PC時：3列に近い幅 */
}    
    
.coach-archive-container {
    grid-template-columns: repeat(3, 1fr);
}
}

/*　タブレット・SPサイズ　*/
@media screen and (max-width:1000px) {

/* 絞り込みボタン表示 */
.filter-toggle-container {
  display: flex;
  justify-content: flex-end; /* ← 右寄せ */
  margin-bottom: 16px; /* 下に余白が必要なら */
}    
    
.filter-toggle {
    display: inline-flex;
    align-items: center;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1rem;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    color: #666;
}
  #searchArea {
    display: none;
  }
     #searchArea.open {
    display: block;
  }

  /* （オプション）閉じるボタンのスタイル */
  .search-area .close-filter {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: .4rem .6rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fafafa;
  }
    
.accordion-title {
    cursor: pointer;
    position: relative;
    font-size: 1em;
}
}

/*　タブレットサイズ　*/
@media screen and (min-width:768px) and (max-width:1000px) {
.plan-results {
   grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
}
}


/*　SPサイズ　*/
@media screen and (max-width: 767px) {
.flex-box {
    flex-direction: column;
}
.btn-submit {
    width: 200px;
}    
main {
    padding-top: 30px; /* ← ヘッダー分だけ余白を追加 */
}
.plan-card-image {
    display: none;
  }
.plan-results {
   grid-template-columns: 1fr;
}
.form-row {
    flex-direction: column;
  }
.form-label,
.form-field {
    width: 100%;
  }
.plan-detail-content .flex-box {
    flex-direction: column;
}
    .plan-card-content h4 {
       margin: 5px auto 15px; 
    }
    
/* 送信ボタン */
.wpcf7 input.wpcf7-submit {
  background-color: #f79034;
  border: 0;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .3s ease;
}

.wpcf7 input.wpcf7-submit:hover {
  background-color: #e07a25;
}

.CF7_btn {
  text-align: center;
  margin-top: 20px;
}
    
.search-item {
        flex: 0 0 calc(50% - 5px); /* 2列に調整、gapの半分を引く */
    }

}
/* -------------------------
 LP
-------------------------- */
.lp-content * {
}
/* SVG内のtext要素にフォントを適用 */
.svg text {
  }
.mv {
    position: relative;
    width: 100%;
}
.lp-mv {
    width: 100%;
    position: relative;
    height: auto;
}
.lp-container {
    max-width: 800px;
    margin: 0 auto;
    width: 80%;
}
.mv-price-area {
    margin: 0 auto;
    flex-direction: column;
    box-shadow: 2px 2px 2px 2px gray;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background-color: #fff;
    max-width: 800px;
}
.mv-price-list {
    display: flex;
}
.mv-price-list-item {
    flex: 1;
    margin-right: 10px;
}
.mv-price-list img{
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}
.lp-content {
	padding: 0!important;
}

.lp-content section.no-margin {
    margin: 0;
}

.title-lp {
    background-color: #333;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 0;
    margin-bottom: 0;
}

/* --- 見出し画像のアニメーション設定 --- */

/* 初期状態：透明、少しだけ下に下げておく（その場が良い場合はtranslateを削除） */
.fade-in {
    opacity: 0;
    transform: translateY(10px); 
    /* 「じんわり」させるため、少し長めの1.5秒に設定 */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    will-change: opacity, transform;
}

/* 画面内に入った時の状態：不透明になり、元の位置に戻る */
.fade-in.is-show {
    opacity: 1;
    transform: translateY(0);
}

/*　LP 体験レッスン　全体共通*/

.title-lp-text {
    align-content: center;
    vertical-align: baseline;
    max-width: 800px;
}
	.title-lp-text.big {
	width: 95%;
	}
.title-lp-text.small {
	width: 70%;
	}
.trial-lesson-img {
    max-height: 450px;
}
.trial-lesson {
    background-color: #52b532;
}
.trial-contents {
    display: flex;
    max-width: 800px;/* コンテンツ幅を800px */
    margin: 0 auto;
    padding-bottom: 80px;
    gap: 20px;
}
.trial-text, .trial-img {
    flex: 1;
    color: #fff;
}

/*　LP お悩み　全体共通*/

.nayami {
    background-color: #ccc;
    padding-top:80px;
    padding-bottom: 80px;
}

.nayami .title-lp-text {
    max-width: 600px;
}
.title-lp02 {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    padding-bottom: 20px;
}

.nayami-contents {
  display: grid;
  /* 800pxを最大幅とし、6つの等間隔な列を作ります */
  grid-template-columns: repeat(6, 1fr); 
  max-width: 800px;
  margin: 0 auto;
  gap: 50px; /* 画像同士の隙間 */
}

.nayami-contents img {
  width: 100%;
  height: auto;
  /* 画像の大きさを統一するため、アスペクト比を固定するとさらに綺麗です */
  aspect-ratio: 1 / 1; 
  object-fit: contain; /* SVGが切れないように全体を表示 */
}

/* --- 上段（2枚）の設定 --- */
/* 1枚目：2列目から始まり、2マスタ分（3列目の終わりまで）使う */
.nayami-contents img:nth-child(1) {
  grid-column: 2 / 4;
}
/* 2枚目：4列目から始まり、2マスタ分（5列目の終わりまで）使う */
.nayami-contents img:nth-child(2) {
  grid-column: 4 / 6;
}

/* --- 下段（3枚）の設定 --- */
/* 3枚目〜5枚目：それぞれ2マスタずつ使い、1行（6列）をピッタリ埋める */
.nayami-contents img:nth-child(3) { grid-column: 1 / 3; }
.nayami-contents img:nth-child(4) { grid-column: 3 / 5; }
.nayami-contents img:nth-child(5) { grid-column: 5 / 7; }

/*　LP メリット　*/

/* 初期状態：透明で、20pxほど下に下げておく */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    will-change: opacity, transform;
}

/* 画面内に入った時の状態 */
.fade-up.is-show {
    opacity: 1;
    transform: translateY(0);
}

.merit-title {
    font-size: 2em;
    color: #fff;
}
.merit01 {
    background-size: cover;
    background-position: center;
    /* レイアウトの設定 */
    min-height: 500px;         /* セクションの高さ */
    display: flex;             /* Flexboxを開始 */
    align-items: center;       /* 中身を上下中央に（お好みで） */
}
.tag-container {
    padding-top: 20px;
}

/* キラッと光るエフェクトの本体 */
.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
}

/* JavaScriptで「is-show」がついたらアニメーション開始 */
.cta-button.is-show::before {
    animation: shine 1.5s ease-out infinite; /* infiniteで繰り返し、1回で良ければ消す */
}

/* 光が左から右へ駆け抜けるアニメーション */
@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 150%;
    }
}

@media (min-width: 788px) {
	/* MV PC */
    .lp-sp {
        display: none;
    }
	.mv-price-area {
    padding: 30px;
	}
	.cta {
    margin: 16% auto 80px;
	}
	/* TRIAL PC */
	.trial-contents {
    padding-top: 80px;
	}
    .merit01.right.two-vision-plus {
    background-image: url("../img/lp/merit-img-background01.jpg");
    }
    .merit01.left.alltime {
    background-image: url("../img/lp/merit-img-background02.jpg");
    }
	.merit01.right.private {
    background-image: url("../img/lp/merit-img-background04.jpg");
    }
    .merit01.left.improvement {
    background-image: url("../img/lp/merit-img-background03.jpg");
    }    
    .merit01 {
    padding: 50px;             /* 画面端にピッタリくっつかないよう余白 */
    }
    .right {
    justify-content: flex-end; /* 中身を右側に寄せる */
    }
    .left {
    justify-content: flex-start; /* 中身を右側に寄せる */
    }
    .price, .reservation {
    padding: 80px 0;
    }
    .btn-push {
        max-width: 750px;
        width: 80%;
        padding: 30px 25px;
    }
    .btn-push span {
  font-size: 3em;
    }
    .mv-price-area {
    width: 50%;
    }
    .bubble-container {
      width: 80%;
      margin: 0 auto 60px;
    }
    .merit-explanation {
        width: 43%;
    }
    .trial-text, .trial-img {
    width: 50%;
    }
}

@media (max-width: 787px) {
	/* MV SP */
    .lp-pc {
        display: none;
    }
	.mv-price-area {
    padding: 20px 10px 15px 15px;
	}
	.cta {
    margin: 18vh auto 50px;
	}
    .merit01.right {
        background-image: url("../img/lp/merit-img-background-lesson-sp.jpg");
    }
    .merit01.left {
        background-image: url("../img/lp/merit-img-background-sp.jpg");
    }    
    .reservation {
    padding: 50px 10px;
    }

	/* TRIAL LESSON SP */
	.trial-contents {
	flex-direction: column;
    text-align: center;
    padding-top: 30px;
	}
	.trial-text {
    display: flex;
	width: 90%;
  	margin: 0 auto;
	}
	.trial-text h3 {
	padding-left: 10px;
	}
	.trial-text h3 img {
        width: 90%;
    }
	/* お悩み　SP */
	.nayami-contents {
		overflow: hidden; /* 横から出てくる際のハミ出し防止 */
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	/* アニメーションの共通設定 */
	.js-fade {
		opacity: 0;
		transition: transform 0.8s ease-out, opacity 0.8s ease-out;
	}
	/* 奇数番目（1, 3, 5枚目）＝ 左寄せ */
	.nayami-contents img:nth-child(odd) {
		align-self: flex-start; /* 左に寄せる */
		margin-left: 5%;        /* 左端にぴったり付きすぎないよう余白を作る */
	}

	/* 偶数番目（2, 4枚目）＝ 右寄せ */
	.nayami-contents img:nth-child(even) {
		align-self: flex-end;   /* 右に寄せる */
		margin-right: 5%;       /* 右端にぴったり付きすぎないよう余白を作る */
	}
	.nayami-contents img + img {
    /* gapを0にしたので、ここでのマイナスマージンが
       ダイレクトに「重なり」として反映されます。
    */
    margin-top: -60px; 
	}
	/* 左から来るもの */
	.fade-left {
		transform: translateX(-50px);
	}

	/* 右から来るもの */
	.fade-right {
		transform: translateX(50px);
	}

	/* 画面内に入った時の状態 */
	.js-fade.is-show {
		opacity: 1;
		transform: translateX(0);
	}
    .nayami-contents {
    grid-template-columns: 1fr; /* 1列にする */
    }
    .nayami-contents img {
    grid-column: auto !important; /* 上記の指定をリセット */
    max-width: 250px; /* スマホで大きすぎないよう調整 */
	width: 50%;
    margin: 0 auto;
    }

    .btn-push {
    width: 80%;
    max-width: 500px;
    padding: 20px;
    }
    .btn-push span {
      font-size: 23px;
    }
    
    .merit-explanation {
        width: 80%;
        margin: 20vh auto 0;
        padding: 20px;
    }
    .blue-bg {
        background-color: #009ae6;
    }
    .green-bg {
        background-color: #52b532;
    }
    .merit-title {
    margin-top: 0;
        margin-bottom: 10px;
    }
    .price {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .price-item {
        width: 90%;
        margin: 0 auto;
    }
    .mv-price-area {
    width: 80%;
    }
    .btn-arrow {
        width: 10px;
    }
    .bubble-container {
        flex-direction: column;
        margin-bottom: 60px;
    }
    .reservation-title {
    margin: 0;
    }
    .trial-img {
    align-content: center;
	margin: 0 auto;	
	}
	.trial-lesson-img {
    max-width: 100%;
	}
}

.merit-explanation p {
    color: #fff;
}

.tag {
    background-color: #333;
    padding: 8px;
    color: #d7b825;
}


/*　LP 料金表　*/

.price {
    background-image: url("../img/lp/price-img-background.jpg");
    background-size: cover;
    background-position: center;
    /* レイアウトの設定 */
    min-height: 500px;         /* セクションの高さ */
    display: flex;             /* Flexboxを開始 */
    flex-direction: column;
    align-items: center;       /* 中身を上下中央に（お好みで） */
}
.price-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
}

/*　LP 申し込み方法　*/

.bubble-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #fff;         /* 背面を隠すための背景色 */
  border: 2px solid #009ae6;   /* 枠線の色と太さ */
  border-radius: 0;         /* 角丸なし（四角形） */
  /* サイズ指定 */
  max-width: 800px;
  box-sizing: border-box;   /* paddingを幅に含める設定 */
}

/* 連結された大きなしっぽ */
.bubble-container::after {
  content: "";
  position: absolute;
  /* しっぽを底辺の中央に配置 */
  bottom: -28px;      /* 線の太さとサイズに合わせて微調整 */
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  
  /* しっぽのサイズ（28px〜40pxでお好みに） */
  width: 50px;       
  height: 50px;
  
  background: inherit;      /* 本体の背景色(白)を引き継いで、本体の線を隠す */
  border-right: 2px solid #009ae6;  /* 右辺 */
  border-bottom: 2px solid #009ae6; /* 下辺 */ 
  z-index: 1;               /* 本体の枠線の上に重ねる */
}

.reservation {
    background-image: url("../img/lp/reservation-img-background.jpg");
    background-size: cover;
    background-position: center;
    /* レイアウトの設定 */
    min-height: 500px;         /* セクションの高さ */
    display: flex;             /* Flexboxを開始 */
    flex-direction: column;
    align-items: center;       /* 中身を上下中央に（お好みで） */
}

.reservation01 {
    background-image: url("../img/lp/reservation-step01-form.svg");
}

.reservation-title {
    font-size: 2em;
    margin: 0;
}

.reservation01 {
    padding: 20px 20px 50px 20px;
}
.reservation-explanation, .reservation-image {
    flex: 1;
}
.reservation-image {
    min-width: 0;
}
.reservation-image img {
  width: 100%;      /* 親の幅（flex:1の幅）に合わせる */
  height: auto;     /* 比率を維持 */
  display: block;
}
.title-tiken-text {
    max-width: 500px;
    width: 80%;
    display: block;
    margin: 0 auto 30px;
}

.cta-last {
    padding-top: 80px;
    padding-bottom: 80px;
}

.btn-push {
  display: flex;
  justify-content: space-between; /* テキストと矢印を両端に */
  align-items: center;
  background: #555;       /* ボタン本体の色 */
  border-radius: 80px;    /* 角の丸み */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  /* ボタンの厚み（影） */
  box-shadow: 0 6px 0 #1a1a1a; 
  transition: all 0.1s;
    margin: 0 auto;
	overflow: hidden;
	position: relative;
}

.btn-push span {
  background: linear-gradient(to top, #d7b825, #fbdb98);
  -webkit-background-clip: text; /* 文字で切り抜く（Safari用） */
  background-clip: text;         /* 文字で切り抜く */
  color: transparent;            /* 文字本来の色を透明にする */
  margin: 0 auto;
    font-style: italic;
    font-feature-settings: "palt" 1;
}

/* ホバー（押し込む動き） */
.btn-push:hover {
  transform: translateY(3px);    /* 3px下に下がる */
  box-shadow: 0 3px 0 #1a1a1a;   /* 影も3px分短くする */
}

/* クリック時（完全に押し込む） */
.btn-push:active {
  transform: translateY(6px);    /* 6px下に下がる */
  box-shadow: none;              /* 影を消す */
}

/* 矢印の間隔など（微調整） */
.arrow {
  margin-left: 10px;
}



/*　PCサイズ　*/
@media screen and (min-width:1000px) {
	
.plan-results {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.filter-toggle {
    display: none; /* PCでは絞り込みボタン非表示 */
  }    
}