@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
*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@700&display=swap");

/* 内容は固定ページのブロック、見た目はここに置く。写真は権利確認が済むまで実寸の仮画像を置く */
:root {
  --vb-accent: #5a7d45; /* 2026-11-14 濃すぎるとのことで #3f5f2b から薄くした。白い文字とのコントラスト 4.7 */
  --vb-accent-dark: #476836; /* 同じ日に #2c4420 から */
  --vb-text: #1f2a1c;
  --vb-muted: #5b6157;
  --vb-sand: #f4f1ea;
  --vb-pale: #e8eee2;
  --vb-line: #dfe4da;
  --vb-ball: #d7c94a;
  --vb-warm: #fff8e8;
}

.post_content { font-family: "Noto Sans JP", sans-serif; color: var(--vb-text); }
.l-header__bar { display: none; }
body:has(.vb-top) .c-pageTitle,
body:has(.vb-top) .p-breadcrumb,
body:has(.vb-top) #breadcrumb { display: none; }
body:has(.vb-top) #content,
body:has(.vb-top) .l-mainContent__inner,
body:has(.vb-top) .post_content { margin-top: 0; padding-top: 0; }
.post_content .vb-top { margin: 0; }
.vb-top > .wp-block-group__inner-container > * { margin-top: 0; margin-bottom: 0; }

.vb-band {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 48px max(24px, calc(50vw - 576px));
}
.vb-sand { background: var(--vb-sand); }
.vb-pale { background: var(--vb-pale); }

.post_content .vb-eyebrow { margin: 0 0 8px; color: var(--vb-accent); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; }
.post_content .vb-h {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--vb-text);
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  line-height: 1.4;
}
.post_content .vb-h::before, .post_content .vb-h::after { display: none; }
.post_content .vb-note { margin: 0 0 28px; color: var(--vb-muted); font-size: 14px; line-height: 1.8; }

/* ボタン */
.post_content .wp-block-buttons { gap: 12px; margin: 8px 0 0; }
.post_content .wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 26px;
  background: var(--vb-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.post_content .vb-btn-sub .wp-block-button__link { border: 1px solid var(--vb-accent); background: #fff; color: var(--vb-accent); }

/* メインビジュアル（景色） */
.post_content .vb-hero { min-height: 380px; align-items: center; justify-content: flex-start; }
.vb-hero .wp-block-cover__inner-container { width: 100%; color: #fff; }
.post_content .vb-hero p { margin: 0 0 16px; color: #fff; }
.post_content .vb-hero .vb-eyebrow { color: #fff; font-size: 13px; letter-spacing: 0.26em; }
.post_content .vb-hero h1 {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 44px;
  line-height: 1.35;
}
.post_content .vb-hero h1::before, .post_content .vb-hero h1::after { display: none; }
.post_content .vb-hero .vb-btn-sub .wp-block-button__link { border: 0; color: var(--vb-text); }

/* 目的別のナビ */
.vb-tiles > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.post_content .vb-member { margin: 14px 0 0; padding: 10px 14px; border: 1px solid var(--vb-line); border-radius: 10px; background: #fff; font-size: 14px; }
.post_content .vb-member a { font-weight: 700; }
.vb-tiles > .wp-block-group__inner-container > * { margin: 0 !important; }
.post_content .vb-tile { margin: 0; }
.post_content .vb-tile a {
  display: block;
  height: 100%;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--vb-line);
  border-radius: 12px;
  background: #fff;
  color: var(--vb-muted);
  font-size: 12px;
  line-height: 1.6;
  text-decoration: none;
}
.post_content .vb-tile a strong { display: block; margin-bottom: 4px; color: var(--vb-text); font-size: 17px; }
.post_content .vb-tile a:hover { border-color: var(--vb-accent); }

/* 実績の数字とコーチ */

.post_content .vb-num { margin: 0; padding: 18px; border-radius: 12px; background: var(--vb-pale); color: var(--vb-muted); font-size: 13px; line-height: 1.6; }
.post_content .vb-num strong { display: block; color: var(--vb-accent-dark); font-family: "Noto Serif JP", serif; font-size: 28px; line-height: 1.35; }
.vb-coach { width: 100%; padding: 22px; border: 1px solid var(--vb-line); border-radius: 18px; background: #fff; }
.post_content .vb-coach-role { margin: 0 0 2px; color: var(--vb-accent); font-size: 12px; font-weight: 700; }
.post_content .vb-coach-name { margin: 0 0 10px; font-family: "Noto Serif JP", serif; font-size: 24px; font-weight: 700; }
.post_content .vb-coach ul { margin: 0; font-size: 14px; line-height: 1.7; }
.post_content .vb-cards { margin-bottom: 24px; }

/* 写真。優先は情報で、写真は雰囲気を添える大きさに抑える */
.post_content .wp-block-image img { display: block; width: 100%; height: auto; }
.post_content .vb-wide { margin: 0 0 24px; }
.post_content .vb-wide img { border-radius: 10px; }
.post_content .vb-after { margin: 14px 0 0; }
.vb-coach > .wp-block-group__inner-container { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }
.post_content .vb-coach .wp-block-image { margin: 0; }
.post_content .vb-coach .wp-block-image img { border-radius: 10px; }
.post_content .vb-coach .vb-num { margin: 0 0 10px; padding: 8px 12px; }
.post_content .vb-coach .vb-num strong { font-size: 22px; }
.vb-result.wp-block-columns, .vb-info.wp-block-columns { align-items: flex-start; gap: 20px; margin: 0 0 16px; }
.vb-result > .wp-block-column:last-child, .vb-info > .wp-block-column:last-child { flex: 0 0 240px; }
.post_content .vb-result .wp-block-image, .post_content .vb-info .wp-block-image { margin: 0; }
.post_content .vb-result .wp-block-image img, .post_content .vb-info .wp-block-image img { border-radius: 10px; }
.post_content .vb-result .wp-block-table, .post_content .vb-info .wp-block-table { margin: 0; }
.post_content .vb-info .vb-label { margin: 16px 0 6px; padding: 0; border: 0; background: none; color: var(--vb-accent); font-size: 14px; font-weight: 700; }
.post_content .vb-info .vb-label::before, .post_content .vb-info .vb-label::after { display: none; }
.post_content .vb-info .vb-label:first-child { margin-top: 0; }
.vb-profile.wp-block-columns { flex-wrap: nowrap; gap: 16px; margin: 0 0 16px; }
.vb-profile > .wp-block-column:first-child { flex: 0 0 240px; }
.vb-coachgrid > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 16px; margin-bottom: 24px; }
.vb-coachgrid .vb-mini { margin: 0; }
.post_content .vb-mini .wp-block-image { margin: 0 0 8px; }
.post_content .vb-mini .wp-block-image img { border-radius: 8px; }
.post_content .vb-mini p { margin: 0 0 2px; }
.post_content .vb-mini .vb-card-title { font-size: 15px; }
.post_content .vb-mini .vb-card-text { font-size: 12px; line-height: 1.6; }

/* カード */
.vb-cards.wp-block-columns { gap: 20px; margin: 0; }
.vb-cards .wp-block-column { display: flex; }
.vb-card { width: 100%; padding-bottom: 22px; overflow: hidden; border: 1px solid var(--vb-line); border-radius: 18px; background: #fff; }
.post_content .vb-card p { margin: 0 22px 8px; }
.post_content .vb-card .wp-block-image { margin: 0 0 14px; }
.post_content .vb-card-title { font-size: 19px; font-weight: 700; }
.post_content .vb-card-text { color: var(--vb-muted); font-size: 14px; line-height: 1.75; }
.post_content .vb-card-price { color: var(--vb-accent); font-size: 15px; font-weight: 700; }
.post_content .vb-card-price a { color: inherit; }

/* 表 */
.post_content .wp-block-table { margin: 0 0 24px; overflow-x: auto; }
.post_content .wp-block-table table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.post_content .wp-block-table th, .post_content .wp-block-table td { padding: 10px 12px; border: 1px solid var(--vb-line); text-align: left; }
.post_content .wp-block-table thead th { background: var(--vb-pale); color: var(--vb-text); font-weight: 700; }

/* 時間割の開閉 */
.post_content .wp-block-details { margin: 0 0 10px; border: 1px solid var(--vb-line); border-radius: 10px; background: #fff; }
.post_content .wp-block-details summary { padding: 14px 16px; font-size: 16px; font-weight: 700; cursor: pointer; }
.post_content .wp-block-details > *:not(summary) { margin-right: 12px; margin-left: 12px; }

/* ページ内の見出しリンク */
.post_content .vb-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.post_content .vb-jump li { margin: 0; padding: 0; }
.post_content .vb-jump li::before { display: none; }
.post_content .vb-jump a { display: block; padding: 8px 14px; border: 1px solid var(--vb-accent); border-radius: 18px; color: var(--vb-accent); font-size: 14px; text-decoration: none; }

/* 流れ */
.post_content .vb-steps { padding: 0; list-style: none; counter-reset: s; }
.post_content .vb-steps li { position: relative; margin: 0 0 12px; padding: 14px 16px 14px 56px; border-radius: 12px; background: #fff; font-size: 15px; line-height: 1.7; counter-increment: s; }
.post_content .vb-steps li::before { content: counter(s); position: absolute; top: 14px; left: 16px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--vb-accent); color: #fff; font-weight: 700; line-height: 28px; text-align: center; transform: none; }

/* 体験フォーム */
.vb-form { display: grid; gap: 14px; max-width: 560px; padding: 20px; border: 1px solid var(--vb-line); border-radius: 14px; background: #fff; }
.vb-form p { margin: 0; }
.vb-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 700; }
.vb-form input:not([type="checkbox"]):not([type="submit"]), .vb-form select { width: 100%; min-height: 46px; padding: 8px 10px; border: 1px solid #bfc6b8; border-radius: 8px; background: #fff; font-size: 16px; }
.vb-form .wpcf7-acceptance label { display: inline; font-weight: 400; }
.vb-form input[type="submit"] { width: 100%; min-height: 52px; border: 0; border-radius: 26px; background: var(--vb-accent); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.vb-form input[type="submit"]:disabled { background: #9aa394; cursor: not-allowed; }
.vb-form small { color: var(--vb-muted); font-size: 12px; font-weight: 400; }

/* ページ全体の無料体験の案内 */
.vb-cta { margin: 56px 0 0; padding: 28px 24px; border-radius: 14px; background: var(--vb-pale); text-align: center; }
.post_content .vb-cta p { margin: 0 0 10px; }
.post_content .vb-cta .vb-cta-title { font-family: "Noto Serif JP", serif; font-size: 22px; font-weight: 700; }
.post_content .vb-cta .vb-note { margin-bottom: 18px; }
.vb-cta .wp-block-buttons { justify-content: center; }

/* フッターのSNS */
.l-footer .c-iconList { justify-content: center; gap: 8px; }
.l-footer .c-iconList__link { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 22px; }

/* コースカード全体をリンクにする */
.vb-card { position: relative; transition: box-shadow 0.2s; }
.vb-card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); }
.post_content .vb-card .vb-card-price a::after { content: ""; position: absolute; inset: 0; }

/* クラスの説明 */
.post_content .vb-classes table th:first-child, .post_content .vb-classes table td:first-child { width: 26%; }

/* 割引額 */
.post_content .vb-minus { color: #c0392b; white-space: nowrap; }

/* 地図 */
.vb-map iframe { display: block; width: 100%; height: 340px; border: 0; border-radius: 14px; }
.vb-map-large { margin-bottom: 16px; }
.vb-map-large iframe { height: 460px; }
.vb-access.wp-block-columns { align-items: stretch; gap: 28px; margin: 0; }
.post_content .vb-access .wp-block-table { margin: 0 0 16px; }
.post_content .vb-access .wp-block-buttons { margin: 0 0 12px; }

/* お知らせ */
.post_content .wp-block-latest-posts { margin: 0 0 16px; padding: 0; }
.post_content .wp-block-latest-posts li { display: flex; flex-direction: column-reverse; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--vb-line); }
.post_content .wp-block-latest-posts li::before { display: none; }
.post_content .wp-block-latest-posts a { color: var(--vb-text); }
.post_content .wp-block-latest-posts time { color: var(--vb-muted); font-size: 12px; }
/* 一覧のサムネイル: 縦長の写真を横長の枠で切るとき、真ん中でなく上寄りで切って顔を入れる（2026-11-28 本人の指示） */
.p-postList__thumb .c-postThumb__img { object-position: 50% 25%; }
/* 人が写真の下の方にいる写真だけ真ん中で切る（ファイル名で指定） */
.p-postList__thumb .c-postThumb__img[src*="IMG_3393"],
.p-postList__thumb .c-postThumb__img[data-src*="IMG_3393"] { object-position: 50% 50%; }

/* スマホ下部の固定メニュー */
@media (max-width: 959px) {
  body { padding-bottom: 60px; }
  .c-headLogo.-img .c-headLogo__link { padding: 2px 0; }
  #fix_bottom_menu { display: block !important; right: 0; bottom: 0; left: 0; z-index: 90; background: #fff; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12); }
  #fix_bottom_menu .menu_list { display: flex; margin: 0; padding: 0; list-style: none; }
  #fix_bottom_menu .menu_btn { display: none; }
  #fix_bottom_menu .menu-item { flex: 1; margin: 0; border-left: 1px solid var(--vb-line); }
  #fix_bottom_menu .menu-item a { display: flex; align-items: center; justify-content: center; height: 56px; color: var(--vb-text); font-size: 13px; font-weight: 700; text-decoration: none; }
  #fix_bottom_menu .menu-item a i { display: none; }
  #fix_bottom_menu .menu-item:nth-child(2) a { background: var(--vb-accent); color: #fff; }
  .p-fixBtnWrap { bottom: 72px; }
}

@media (max-width: 781px) {
  .c-headLogo__link { font-size: 15px !important; white-space: nowrap; }
  .vb-band { padding-top: 32px; padding-bottom: 32px; }
  .vb-map iframe { height: 260px; }
  .vb-map-large iframe { height: 300px; }
  .post_content .vb-hero h1 { font-size: 34px; }
  .post_content .vb-h { font-size: 25px; }
  .vb-tiles > .wp-block-group__inner-container { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .vb-coach > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 14px; }
  .post_content .vb-coach .wp-block-image { max-width: 180px; }
  .vb-profile.wp-block-columns { flex-wrap: wrap; }
  .vb-profile > .wp-block-column:first-child { flex: 0 0 100%; }
  .post_content .vb-profile .wp-block-image { max-width: 180px; }
  .vb-coachgrid > .wp-block-group__inner-container { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .post_content .vb-hero { min-height: 300px; }
  .post_content .vb-hero .vb-eyebrow, .post_content .vb-hero .vb-btn-sub { display: none; }
  .vb-result > .wp-block-column:last-child, .vb-info > .wp-block-column:last-child { flex: 1 1 100%; }
  .post_content .vb-result img, .post_content .vb-info img, .post_content .vb-wide img { height: 96px; object-fit: cover; }
  /* カードは写真を左に小さく置き、スクロールを減らす */
  .vb-card > .wp-block-group__inner-container { display: grid; grid-template-columns: 88px 1fr; column-gap: 12px; padding: 12px; }
  .vb-card { padding-bottom: 0; }
  .post_content .vb-card .wp-block-image { grid-row: span 3; margin: 0; }
  .post_content .vb-card .wp-block-image img { height: 88px; object-fit: cover; border-radius: 8px; }
  .post_content .vb-card p { margin: 0 0 4px; }
  .post_content .vb-card .vb-card-title { font-size: 16px; }
  .post_content .vb-card .vb-card-text { font-size: 13px; line-height: 1.6; }
  .post_content .vb-num strong { font-size: 22px; }
  .post_content .vb-tile a { min-height: 78px; padding: 12px; }
  .post_content .vb-tile a strong { font-size: 15px; }
  .post_content .wp-block-button, .post_content .wp-block-button__link { width: 100%; }
}

/* ===== 2026-11-23 デモでページに埋め込んでいた見た目を本番用にここへ移した（demo/build.js の COACH_CSS と HERO_SWAP の style） =====
   本番（wp/）でこのファイルを置いたら、トップとコーチのページの HTML ブロックから <style>〜</style> を消す（HERO_SWAP の <script> は残す）。
   デモには両方あっても同じ指定が重なるだけで、見た目は変わらない */

/* 西村・土屋コーチの資格の行 */
.post_content .vb-qual.vb-qual-main { margin: 0 0 12px; line-height: 1.6; color: var(--vb-accent-dark, #476836); font-size: 15px; font-weight: 700; }
.post_content .vb-coach .vb-qual { margin-bottom: 10px; }
.post_content .vb-coach .vb-qual.vb-qual-main { font-size: 14px; }
.post_content .vb-profile .vb-coach-role { margin: 0 0 4px; }

/* トップのメインビジュアル（動画 → 写真 3 枚のカルーセル） */
.vb-hero .wp-block-cover__image-background { display: none; }
.vb-hero-anim.is-playing { height: 56.25vw; min-height: 0 !important; padding: 0 !important; }
.vb-hero-anim.is-playing .wp-block-cover__inner-container, .vb-hero-anim.is-playing .vb-hero-dots { display: none; }
.vb-hero-anim video.wp-block-cover__video-background { object-fit: cover; object-position: 50% 26%; }
.vb-hero .vb-hero-slides { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.vb-hero .vb-hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.vb-hero .vb-hero-slides img.is-prev { opacity: 1; transition: none; }
.vb-hero .vb-hero-slides img.is-active { opacity: 1; z-index: 1; }
.vb-hero.is-done .wp-block-cover__inner-container { animation: vbHeroIn 0.9s ease 0.5s both; }
.post_content .vb-hero p, .post_content .vb-hero h1 { text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 0 16px rgba(0,0,0,.4); }
.vb-hero-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3; display: flex; justify-content: center; gap: 4px; }
.vb-hero-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.vb-hero-dots button::before { content: ''; display: block; width: 10px; height: 10px; margin: auto; border-radius: 50%; background: rgba(255,255,255,.5); box-shadow: 0 0 4px rgba(0,0,0,.5); }
.vb-hero-dots button[aria-current="true"]::before { background: #fff; }
.post_content .vb-hero.is-done { padding-bottom: 48px; }
@keyframes vbHeroIn { from { opacity: 0; } }
.vb-hero-skip { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: none; padding: 8px 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: var(--vb-accent, #5a7d45); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; cursor: pointer; }
.vb-hero-skip:hover { background: var(--vb-accent-dark, #476836); }
.vb-hero-anim.is-playing .vb-hero-skip { display: block; }
@media (max-width: 599px) { .vb-hero-skip { right: 10px; bottom: 10px; padding: 6px 14px; font-size: 12px; } }
