@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =====================================================
   命名ルール
   ・トップの各セクション：.home-content + .home-◯◯（例：.home-profile）
   ・共通のカード：.media-cards（.is-col2 / .is-col3 / .is-compact）＋ .media-card
     （画像なしは .is-plain、順番のあるカードは .is-accent、ボタンが枠線のときは .is-ghost）
     ＋ .media-card__◯◯
   ・セクション専用の部品：◯◯-card、◯◯-step のように、場所名を先頭に
===================================================== */


/* =====================================================
   0. 全体設定
===================================================== */
:root {
  --btn-main: #0273d4;
  --btn-main-hover: #025bb0;
}
li a:hover { color: #4081cf; }

/* 角丸・リスト */
.radius-sm { border-radius: 6px; }
.radius-md { border-radius: 12px; }
.radius-lg { border-radius: 20px; }
.list-none { list-style-type: none; }

/* ページ内リンクの飛び先（固定ヘッダーに隠れないように） */
#top-voice,
#top-service-cards,
#top-free,
#session-price,
#session-entry,
#concept {
  scroll-margin-top: 100px;
}


/* =====================================================
   1. 固定ページ共通の見出し（トップ以外）
   ※ カードのタイトル（.media-card__title）と、
     投稿リストの記事タイトル（.p-postList__title）は、除く
===================================================== */
body:not(.top) .post_content h2:not(.home-content h2):not(.p-postList__title) {
  margin: 72px 0 28px !important;
  padding: 14px 22px !important;
  border: none !important;
  border-radius: 8px;
  background: #dbeaf4 !important;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  color: #16384e;
}
body:not(.top) .post_content h2:not(.home-content h2):not(.p-postList__title)::before,
body:not(.top) .post_content h2:not(.home-content h2):not(.p-postList__title)::after {
  content: none !important;
}

body:not(.top) .post_content h3:not(.home-content h3):not(.media-card__title):not(.p-postList__title) {
  margin: 56px 0 20px !important;
  padding: 10px 16px !important;
  border: none !important;
  border-left: 4px solid #0273d4 !important;
  border-radius: 0 6px 6px 0;
  background: #f2f6fa !important;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
  color: #16384e;
}
body:not(.top) .post_content h3:not(.home-content h3):not(.media-card__title):not(.p-postList__title)::before,
body:not(.top) .post_content h3:not(.home-content h3):not(.media-card__title):not(.p-postList__title)::after {
  content: none !important;
}

body:not(.top) .post_content h4:not(.home-content h4) {
  display: inline-block;
  margin: 28px 0 12px !important;
  padding: 4px 16px !important;
  border: none !important;
  border-radius: 999px;
  background: #e3f1f8 !important;
  font-size: 15px;
  font-weight: 700;
  color: #025bb0;
}
body:not(.top) .post_content h4:not(.home-content h4)::before,
body:not(.top) .post_content h4:not(.home-content h4)::after {
  content: none !important;
}

/* スマホ：見出しの帯を小さくする */
@media (max-width: 600px) {
  body:not(.top) .post_content h2:not(.home-content h2):not(.p-postList__title) {
    margin: 48px 0 20px !important;
    padding: 12px 16px !important;
    font-size: 20px;
  }
  body:not(.top) .post_content h3:not(.home-content h3):not(.media-card__title):not(.p-postList__title) {
    margin: 40px 0 16px !important;
    padding: 8px 12px !important;
    font-size: 18px;
  }
}


/* =====================================================
   2. 共通部品
===================================================== */
/* 固定ページのボタン：サイトの青にそろえる */
body:not(.top) .post_content .swell-block-button__link {
  background-color: var(--btn-main) !important;
  color: #fff !important;
}
body:not(.top) .post_content .swell-block-button__link:hover {
  background-color: var(--btn-main-hover) !important;
}

/* メインビジュアルのボタン */
.c-mvBtn__btn {
  background-color: var(--btn-main) !important;
  color: #fff !important;
  border-radius: 999px;
}
.c-mvBtn__btn:hover {
  background-color: var(--btn-main-hover) !important;
}

/* セクション見出し：英語ラベル＋日本語タイトル */
.sec-label {
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #0273d4;
}
h2.sec-title {
  margin: 0 0 32px;
  padding: 0;
  border-left: none;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: #16384e;
}

/* 見出しの中のマスコット・アイコンの大きさと位置をそろえる */
.home-content h2 img,
.home-content h3 img {
  height: 1.5em;
  width: auto;
  vertical-align: -0.25em;
  margin-right: 0.3em;
}

/* 本文のテキストリンク（クラスのない、ふつうのリンク）
   ボタン・カード内のリンクなど、クラスがあるものは、それぞれのルールを使う */
.post_content a:not([class]) {
  color: var(--btn-main-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.post_content a:not([class]):hover {
  color: var(--btn-main);
}

/* ----- 共通カード（media-card）-----
   並び：.media-cards に .is-col2 または .is-col3（タイトルを小さくするときは .is-compact も）
   カード：.media-card（画像なしは .is-plain、順番のあるカードは .is-accent、ボタンが枠線なら .is-ghost）
   部品：__img / __body / __tag / __title / __sub / __text / __for / __link / __q
   ボタン：カードの中のSWELLボタンに自動で効く（クラスは不要）
*/
.media-cards {
  display: grid !important;
  gap: 24px;
  width: 100%;
  max-width: none;
  align-items: stretch;
}
.media-cards > .wp-block-group__inner-container {
  display: contents !important;
}
.media-cards.is-col2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.media-cards.is-col3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .media-cards.is-col3 { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .media-cards.is-col2 { grid-template-columns: 1fr; }
}
.media-cards.is-col4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.media-cards.is-col4 .media-card.is-plain {
  padding: 22px !important;
}
@media (max-width: 1000px) {
  .media-cards.is-col4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .media-cards.is-col4 { grid-template-columns: 1fr; }
}

.media-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #dbe3ea;
  border-radius: 12px;
  overflow: hidden;
  padding: 0 !important;
  box-shadow: 0 2px 10px rgba(22, 56, 78, 0.06);
}
.media-card.is-plain {
  padding: 28px !important;
}
.media-card > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

/* 章など、順番のあるカード：上に青い線。PCは、タイトルのまわりを広げる */
.media-card.is-accent {
  border-top: 4px solid var(--btn-main-hover);
}
@media (min-width: 601px) {
  .media-card.is-accent > .wp-block-group__inner-container {
    gap: 20px;
  }
  .media-card.is-accent .media-card__title::after {
    margin-top: 16px;
  }
}

/* カードの中の余白は、gap だけで管理する（ブロックの標準の余白を消す）
   ボタンは、カードの下にそろえるため、対象から外す */
.media-card .wp-block-group__inner-container > *:not(.swell-block-button) {
  margin-block: 0 !important;
}

.media-card__img { margin: 0 !important; }
.media-card__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}

.media-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px;
  box-sizing: border-box;
}
.media-card__body > .wp-block-group__inner-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-card__tag {
  align-self: flex-start;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e3f1f8;
  font-size: 13px;
  font-weight: 500;
  color: #025bb0;
}
.media-card__title {
  margin: 0;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  color: #16384e;
  text-wrap: pretty;
}
.media-card__title::before {
  content: none !important;
}
.media-card__title::after {
  content: "" !important;
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 12px;
  background: var(--btn-main);
  border-radius: 2px;
}
/* タイトルを小さくする並び（章のカード、継続講座など） */
.media-cards.is-compact .media-card__title {
  font-size: 18px;
}
.media-card__sub {
  margin: -6px 0 0;
  font-size: 14px;
  color: #4b5b6b;
}
.media-card__text {
  flex: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  text-wrap: pretty;
}
.media-card__for { /* こんな方に／お客様の声のお名前 */
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e3ebf1;
  font-size: 14px;
  line-height: 1.8;
  color: #4b5b6b;
}
.media-card__link {
  margin: 0;
  font-size: 14px;
  text-align: center;
}
.media-card__link a { color: #025bb0; }

/* 「こんな方に」を本文のすぐ下に置く（本文の長さがそろっているカード向け） */
.media-cards.is-for-top .media-card__text {
  flex: none;
}

/* ボタン：中央寄せ、いちばん下にそろえる */
.media-card .swell-block-button {
  margin: auto 0 0 !important;
  text-align: center !important;
}
.media-card .swell-block-button__link {
  min-width: 220px;
  background-color: var(--btn-main) !important;
  color: #fff !important;
}
.media-card .swell-block-button__link:hover {
  background-color: var(--btn-main-hover) !important;
}
/* ボタンが枠線タイプのカード */
.media-card.is-ghost .swell-block-button__link {
  background: transparent !important;
  border: 2px solid #025bb0;
  color: #025bb0 !important;
  font-weight: 700;
}

/* 声を並べるカード（.media-cards.is-voice）
   カードの中は、声と名前を1人分ずつグループにまとめる */
.media-cards.is-voice .media-card__for {
  margin-top: 8px !important;
  padding-top: 0;
  border-top: none;
}
/* 2人目からのグループの上に線 */
.media-cards.is-voice .media-card .wp-block-group + .wp-block-group {
  margin-top: 8px !important;
  padding-top: 20px;
  border-top: 1px solid #e3ebf1;
}
/* 「こんな方に」を上に寄せる並びでも、リンクはカードの一番下に */
.media-cards.is-for-top .media-card__link {
  margin-top: auto !important;
}

/* 背景なし：ブロックに設定した背景色を、消したいときに使う */
.bg-none {
  background: transparent !important;
}

/* ----- 動画（Lazy Load for Videos）----- */

/* 動画を並べる：PCは2列、スマホは1列（グループに video-grid を付ける） */
.video-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.video-grid > .wp-block-group__inner-container {
  display: contents !important;
}
.video-grid .wp-block-embed {
  margin: 0 !important;
}
@media (max-width: 700px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* サムネイル：ピクセル指定を打ち消して、枠の幅に合わせる（16:9） */
.lazy-load-youtube,
.lazy-load-youtube .lazy-load-div {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
}

/* タイトルを読みやすくする */
.lazy-load-youtube .lazy-load-info {
  top: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}
.lazy-load-youtube .lazy-load-info .titletext {
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* 動画の枠：16:9の余白と、二重に出る空白を消す（ページのすべての動画） */
.post_content .wp-block-embed__wrapper {
  position: static !important;
  padding: 0 !important;
  margin: 0 !important;
}
.post_content .wp-block-embed__wrapper::before {
  display: none !important;
  padding: 0 !important;
  content: none !important;
}
.post_content .wp-block-embed.is-type-video,
.post_content figure.wp-block-embed {
  padding: 0 !important;
}

/* 章の一覧（カードの中のリスト） */
.media-card .chapter-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  font-size: 15px;
  line-height: 1.6;
}
.media-card .chapter-list li {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid #e3ebf1;
}
.media-card .chapter-list li:first-child {
  padding-top: 4px;
  border-top: none;
}
.media-card .chapter-list li::before {
  content: none !important;
}
.chapter-time {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #4b5b6b;
}

/* 価格の表示 */
.price-box {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #dbe3ea;
  border-radius: 12px;
  text-align: center;
}
.price-box__price {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: #16384e;
}
.price-box__note {
  margin: 8px 0 0;
  font-size: 13px;
  color: #4b5b6b;
}
/* 価格の箱：特典の説明（左寄せ）とボタン */
.price-box__benefit {
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid #e3ebf1;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}
.price-box .swell-block-button {
  margin: 24px 0 0 !important;
}
/* ----- 次に進める先のボタンの箱（プロフィールなど）-----
   グループに .profile-cta、枠線にしたいボタンに .is-ghost
*/
.profile-cta {
  margin-top: 80px !important;
  padding: 48px 24px !important;
  border-radius: 16px;
  background: #eff6fa;
  text-align: center;
}
.profile-cta p {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 700;
  color: #16384e;
}
.profile-cta .swell-block-button__link {
  min-width: 240px;
  font-size: 15px;
  border: 2px solid var(--btn-main);
}
@media (max-width: 599px) {
  .profile-cta p {
    font-size: 16px;
    text-wrap: balance;
  }
  .profile-cta .swell-block-button__link {
    min-width: 0;
    font-size: 14px;
  }
}
body:not(.top) .post_content .profile-cta .is-ghost .swell-block-button__link {
  background: #fff !important;
  border: 2px solid #025bb0;
  color: #025bb0 !important;
}
body:not(.top) .post_content .profile-cta .is-ghost .swell-block-button__link:hover {
  background: #e3f1f8 !important;
}
/* PC・タブレットは中央寄せ、スマホは左寄せ（文節で折り返す） */
.text-center-pc {
  text-align: center;
  word-break: auto-phrase;
  text-wrap: pretty;
}
@media (max-width: 599px) {
  .text-center-pc { text-align: left; }
}
/* =====================================================
   3. トップページ
===================================================== */

/* ----- メインビジュアル ----- */
.top #content { padding-top: 0 !important; }
.p-mainVisual.-margin-on {
  padding: 16px;
  padding-bottom: 0;
}
.p-mainVisual__textLayer { justify-content: space-evenly; }

/* キャッチ（サブコピーとの間を詰める） */
.p-mainVisual__slideTitle {
  margin-bottom: -1.4em;
  text-shadow: 2px 2px 4px rgb(13 13 13 / 76%);
}

/* サブコピー */
.p-mainVisual__slideText {
  margin-top: 0;
  font-size: 16px;
  line-height: 1.9;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.7);
}

/* 名前の行 */
.mv-name {
  display: block;
  margin-bottom: 0.6em;
}

/* スマホだけ改行 */
.br-sp { display: none; }

/* スマホ */
@media (max-width: 599px) {
  .p-mainVisual__slideTitle {
    font-size: 22px;
    line-height: 1.6;
    word-break: auto-phrase;
    text-wrap: balance;
  }
  .p-mainVisual__slideText {
    font-size: 13px;
    word-break: auto-phrase;
  }
  .br-sp { display: inline; }
}
@media (min-width: 960px) {
  .p-mainVisual__slideText { line-height: 1.7; }
}
/* トップ：Service（カラム）の文章側の余白を調整 */
.home-service .wp-block-column:last-child {
  padding-right: 0 !important;
}

/* ----- サービス（リッチカラム版）-----
   統合しない（リッチカラムのため、media-card とは別のしくみ） */

.home-service h2:not(.p-postList__title) { border-left: none; font-size: 0.8em !important; }
.home-service h2.border-bottom { border-bottom: 1px solid !important; padding-left: 1rem; padding-bottom: 7px; }
.home-service h3 { font-weight: normal; font-size: 1.1rem; }
.home-service h3::before { content: none; }

.home-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center; /* 植物側（左）を優先して見せる */
  border-radius: 12px;
}
@media (min-width: 960px) {
  .home-service-text {
    padding-left: clamp(24px, 4vw, 80px) !important;
    padding-right: 0 !important;
  }
}
/* サービスのカード：写真の下の余白を消して、テキストの枠とくっつける */
.home-content.home-service figure.wp-block-image {
  margin-bottom: 0 !important;
}

.home-service .home-service-cards img {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.service-label {
  display: inline-block;
  max-width: 8em;
  margin: 0 0 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e3f1f8;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: #1b5e83;
}
.home-content.home-service h3 {
  margin: 10px 0 15px;
  padding: 0;
  font-size: 1.3em;
  font-weight: bold;
  color: #04384c;
}

/* サービスカードの高さとボタン位置をそろえる（サービスの中だけに限定） */
.home-content.home-service .swell-block-columns__inner { align-items: stretch !important; }
.home-content.home-service .swell-block-columns__inner > .swell-block-column {
  display: flex !important;
  flex-direction: column !important;
}
.home-content.home-service .swell-block-column > .wp-block-group {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  height: 100% !important;
}
.home-content.home-service .swell-block-column > .wp-block-group > .wp-block-group__inner-container,
.home-content.home-service .swell-block-column .wp-block-group.has-background,
.home-content.home-service .swell-block-column .wp-block-group.has-background > .wp-block-group__inner-container {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}
.home-content.home-service .swell-block-column .swell-block-button {
  margin-top: auto !important;
  text-align: center !important;
}
/* サービスのボタンの色 */
.home-content.home-service .swell-block-button__link {
  background-color: var(--btn-main) !important;
  color: #fff !important;
}
.home-content.home-service .swell-block-button__link:hover {
  background-color: var(--btn-main-hover) !important;
}
/* サービスのカード：タブレットで2列のとき、3枚目を中央に */
@media (min-width: 600px) and (max-width: 959px) {
  .home-service-cards .swell-block-columns__inner {
    justify-content: center;
  }
}

/* ----- ブログ ----- */
.home-content.home-blog { border-top: solid 1px #ccc; }

/* ----- ご参加者の声 -----
   構造：.home-voice ／ .voice-cols → .voice-col ×3 → .voice-head, .voice-card ×2, .voice-more（計4つ）
   4列のとき：.voice-cols--4 → .voice-col ×4 → .voice-head, .voice-card ×1, .voice-more（計3つ） */
.home-content.home-voice .sec-title { margin-bottom: 8px; }
.home-content.home-voice .voice-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}
.home-content.home-voice .voice-count {
  margin: 4px 0 28px;
  font-size: 14px;
  color: #4b5b6b;
}

.home-content.home-voice .voice-cols {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto);
  column-gap: 32px;
  row-gap: 24px;
  width: 100%;
  max-width: none;
}
.home-content.home-voice .voice-cols > .wp-block-group__inner-container,
.home-content.home-voice .voice-col > .wp-block-group__inner-container {
  display: contents !important;
}
.home-content.home-voice .voice-col {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
}
@media (max-width: 900px) {
  .home-content.home-voice .voice-cols {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 32px;
  }
  .home-content.home-voice .voice-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    grid-row: auto;
  }
}

.home-content.home-voice .voice-head {
  margin: 0 !important;
  padding-bottom: 4px;
  border-bottom: 2px solid #16384e;
}
.home-content.home-voice .voice-head__label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 500;
  color: #025bb0;
}
.home-content.home-voice .voice-head__title {
  margin: 0;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #16384e;
}
.home-content.home-voice .voice-head__title::before,
.home-content.home-voice .voice-head__title::after {
  content: none !important;
}

.home-content.home-voice .voice-card {
  margin: 0 !important;
  padding: 24px;
  background: #fff;
  border: 1px solid #dbe3ea;
  border-radius: 12px;
  box-shadow: none;
  box-sizing: border-box;
}
.home-content.home-voice .voice-card__text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.95;
  color: #243342;
}
.home-content.home-voice .voice-card__name {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #4b5b6b;
}

.home-content.home-voice .voice-more,
.home-content.home-voice .voice-video {
  font-size: 15px;
  font-weight: 500;
}
.home-content.home-voice .voice-more { margin: 0 !important; }
.home-content.home-voice .voice-video {
  margin: 36px 0 0;
  text-align: center;
}
.home-content.home-voice .voice-more a,
.home-content.home-voice .voice-video a {
  color: #025bb0;
  text-decoration: none;
}
.home-content.home-voice .voice-more a::after,
.home-content.home-voice .voice-video a::after {
  content: " →";
}
.home-content.home-voice .voice-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
  color: #4b5b6b;
}
/* 4列（声は各列1つ） */
.home-content.home-voice .voice-cols.voice-cols--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  column-gap: 24px;
}
.home-content.home-voice .voice-cols--4 .voice-col {
  grid-row: span 3;
}
.home-content.home-voice .voice-cols--4 .voice-card {
  padding: 20px;
}
@media (max-width: 1100px) {
  .home-content.home-voice .voice-cols.voice-cols--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    row-gap: 40px;
  }
}
@media (max-width: 900px) {
  .home-content.home-voice .voice-cols.voice-cols--4 {
    grid-template-columns: 1fr;
  }
  .home-content.home-voice .voice-cols--4 .voice-col {
    grid-row: auto;
  }
}
/* ----- プロフィール ----- */
.home-content.home-profile .profile-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto;
}
.home-content.home-profile .profile-photo img {
  width: 160px !important;
  height: 160px !important;
  object-fit: cover;
  object-position: left center;
  border-radius: 50%;
  border: 4px solid #fff;
  box-sizing: border-box;
}
.home-content.home-profile .profile-caption {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px;
  color: #2f4a60;
}
.home-content.home-profile .profile-name {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: #16384e;
}
.home-content.home-profile .profile-lead {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #2f4a60;
}

.home-content.home-profile .profile-timeline {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: none;
}
.home-content.home-profile .profile-timeline > .wp-block-group__inner-container {
  display: contents !important;
}
@media (max-width: 1100px) {
  .home-content.home-profile .profile-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-content.home-profile .profile-timeline { grid-template-columns: 1fr; }
}

.home-content.home-profile .profile-step {
  margin: 0 !important;
  background: #fff;
  border-radius: 10px;
  border-top: 4px solid #0273d4;
  padding: 20px 16px;
  box-sizing: border-box;
}
.home-content.home-profile .profile-step__label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  color: #025bb0;
}
.home-content.home-profile .profile-step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  text-wrap: pretty;
}
.home-content.home-profile .profile-step.is-now {
  background: #16384e;
  border-top-color: #16384e;
}
.home-content.home-profile .profile-step.is-now .profile-step__label,
.home-content.home-profile .profile-step.is-now .profile-step__text {
  color: #fff;
}

.home-content.home-profile .swell-block-button__link {
  background-color: var(--btn-main) !important;
  color: #fff !important;
}
.home-content.home-profile .swell-block-button__link:hover {
  background-color: var(--btn-main-hover) !important;
}


/* =====================================================
   4. 固定ページ別
===================================================== */
/* カードが並ぶページは広めにする（動画講座・継続講座・無料コンテンツ・サンクスページ） */
.page-id-12323,/*動画講座*/
.page-id-12322,/*継続講座*/
.page-id-12687,/*無料コンテンツ*/
.page-id-10282,/*サンクスページ*/
.page-id-4261,/*講座・イベント案内*/
.page-id-22,/*ブログ一覧*/
.page-id-26/*お客様の声*/{
  --article_size: 1000px;
}

/* ----- 個人セッション：声の1列を、2枚横並びにする ----- */
.home-content.home-voice .voice-cols--single {
  grid-template-columns: 1fr;
  grid-template-rows: none;
}
.home-content.home-voice .voice-cols--single .voice-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
  grid-row: auto;
  gap: 24px;
}
.home-content.home-voice .voice-cols--single .voice-head,
.home-content.home-voice .voice-cols--single .voice-more {
  grid-column: 1 / -1;
}
@media (max-width: 700px) {
  .home-content.home-voice .voice-cols--single .voice-col { grid-template-columns: 1fr; }
}
/* カードの中の質問（お客様の声など） */
.media-card__q {
  margin: 2.8em 0 1em 0;
  padding-left: 0.8em;
  border-left: 3px solid var(--btn-main);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: #16384e;
}
/* ----- FAQ（アコーディオンに Q・A をつける）-----
   アコーディオンブロックに .is-faq を付けたときだけ効く
*/

/* 質問：Q の箱と文字を横に並べる */
.swell-block-accordion.is-faq .swell-block-accordion__label {
  display: flex;
  align-items: flex-start;
  gap: 0.8em;
}

/* Q・A の箱（共通の見た目：四角・透明・線だけ） */
.swell-block-accordion.is-faq .swell-block-accordion__label::before,
.swell-block-accordion.is-faq .swell-block-accordion__body::before {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2em;
  height: 2.2em;
  border: 1px solid #333;
  border-radius: 0;
  background: transparent;
  color: #333;
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1;
}

/* Q */
.swell-block-accordion.is-faq .swell-block-accordion__label::before {
  content: "Q";
}

/* A：答えの左上に置く */
.swell-block-accordion.is-faq .swell-block-accordion__body {
  position: relative;
  padding-left: 3.8em;
}
.swell-block-accordion.is-faq .swell-block-accordion__body::before {
  content: "A";
  position: absolute;
  top: 1em;
  left: 1em;
}
/* =====================================================
   お問い合わせフォーム（Contact Form 7）
   フォームを <div class="c-form"> で囲んだときだけ効く
   ※ Turnstile の位置指定だけは、フォーム全体（.wpcf7-form）に効く
===================================================== */

/* ----- 全体 ----- */
.wpcf7-form {
  display: flex;
  flex-direction: column;
}
.c-form {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

/* Contact Form 7 が自動で入れる段落・改行を整える */
.c-form p {
  margin: 0;
}
.c-form__row br {
  display: none;
}

/* ----- 項目 ----- */
.c-form__row {
  margin-bottom: 28px;
}
.c-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #16384e;
}
.c-form__req {
  padding: 2px 8px;
  border-radius: 4px;
  background: #d9534f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}
.c-form .wpcf7-form-control-wrap {
  display: block;
}

/* ----- 入力欄 ----- */
.c-form input[type="text"],
.c-form input[type="email"],
.c-form select,
.c-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c9d6e0;
  border-radius: 8px;
  background: #fff;
  font-size: 16px; /* スマホで入力時に拡大されないように */
  line-height: 1.6;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.c-form textarea {
  min-height: 200px;
  resize: vertical;
}
.c-form input:focus,
.c-form select:focus,
.c-form textarea:focus {
  outline: none;
  border-color: var(--btn-main);
  box-shadow: 0 0 0 3px rgba(2, 115, 212, 0.15);
}
.c-form ::placeholder {
  color: #a0aab4;
}

/* ----- エラー ----- */
.c-form .wpcf7-not-valid {
  border-color: #d9534f;
}
.c-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
}

/* ----- 同意 ----- */
.c-form__agree {
  margin: 8px 0 28px;
  text-align: center;
  font-size: 14px;
}
.c-form__agree .wpcf7-list-item {
  margin: 0;
}
.c-form__agree a {
  color: #025bb0;
  text-decoration: underline;
}

/* ----- 送信ボタン ----- */
.c-form__submit {
  text-align: center;
}
.c-form input[type="submit"] {
  min-width: 240px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  background: var(--btn-main);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.c-form input[type="submit"]:hover {
  background: var(--btn-main-hover);
}
.c-form input[type="submit"]:disabled {
  opacity: 0.5; /* 同意にチェックするまで薄く表示 */
  cursor: not-allowed;
}
/* 送信中のくるくるが場所をとらず、ボタンが中央にくるように */
.c-form .wpcf7-spinner {
  position: absolute;
}

/* ----- Turnstile（Cloudflare）の枠をフォームの下に移す ----- */
.wpcf7-form .wpcf7-turnstile,
.wpcf7-form .cf-turnstile {
  order: 2;
  align-self: center;
  margin-top: 24px;
}
.wpcf7-form .wpcf7-response-output {
  order: 3;
}

/* ----- お客様の声（ページ）----- */
/*.voice-item figure { max-width: 500px !important; margin: 0 auto; }
.anchorLink .swl-has-mb--s { max-width: 66px; }*/

/* ----- お客様の声（/voice/ の下のページ。親ページID：26）----- */
/* 声と声の間を詰める */
#body_wrap.parent-pageid-26 .swell-block-fullWide {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
#body_wrap.parent-pageid-26 .post_content .swell-block-fullWide h2 {
  margin-top: 0 !important;
}
#body_wrap.parent-pageid-26 .post_content .swell-block-fullWide .wp-block-image + h3 {
  margin-top: 32px !important;
}
/* 顔写真：丸くそろえる */
#body_wrap.parent-pageid-26 .swell-block-fullWide .wp-block-image img {
  width: 140px !important;
  height: 140px !important;
  object-fit: cover;
  border-radius: 50%;
}
@media (max-width: 599px) {
  #body_wrap.parent-pageid-26 .swell-block-fullWide {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
}

/* お客様の声：お客さまのリンクボタン（色をそろえて控えめに） */
#body_wrap.parent-pageid-26 .post_content .swell-block-fullWide .wp-block-button__link {
  min-width: auto;
  padding: 10px 20px;
  background: #fff !important;
  border: 1px solid #9fc0e0;
  border-radius: 999px;
  box-shadow: none;
  font-size: 13px !important;
  color: #025bb0 !important;
}
#body_wrap.parent-pageid-26 .post_content .swell-block-fullWide .wp-block-button__link:hover {
  background: #e3f1f8 !important;
}


/* ----- LP用（個人セッション）----- */
.lp-inner { max-width: 960px; }

/* ----- 料金などの表 ----- */
.wp-block-table th:first-child {
  width: 7rem !important;
  white-space: nowrap;
  vertical-align: top;
}
@media (max-width: 768px) {
  .wp-block-table th:first-child { width: 100% !important; }
}