@charset "UTF-8";
@charset "UTF-8";
@charset "utf-8";
@charset "UTF-8";
@charset "UTF-8";
@charset "UTF-8";
@charset "UTF-8";
@charset "UTF-8";
@charset "UTF-8";


/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
*/
/*SANGOの子テーマ用CSS*/


/* 共通設定 */

body {
	position: relative;
}

/* 中身が空（または改行のみ）のpタグを非表示にする */
.entry-content p:empty {
    display: none;
}

/* パンくずリスト非表示 */

.page .breadcrumb,
.breadcrumb {
    display: none;
}

/* ―――――――――――
フォント関連
―――――――――――  */
.font-extra-small {
    font-size: 0.55rem;
}

/* ―――――――――――
追従
―――――――――――  */
/* 1. 投稿ページのフッター（ロゴ周辺）をスタジオと同じグレーにする */
.single-post .sng-footer {
    background-color: #f7f7f7 !important;
}

/* 2. ボタンの帯：透過の白 ＆ 上の線なし */
.pk-final-wrapper {
    position: fixed !important;
    bottom: -150px; 
    left: 0 !important;
    width: 100% !important;
    height: auto !important; 
    min-height: 90px !important; 
    background-color: rgba(255, 255, 255, 0.5) !important; /* ★透過の白 */
	padding-top: 15px !important;
    padding-bottom: 18px !important;
    border-top: none !important; /* ★上の線を消去 */
    z-index: 2147483647 !important;
    display: none;
    align-items: center;
    justify-content: center;
}

.pk-final-wrapper.is-active {
    display: flex !important;
}

/* 3. ボタンの横幅：PCでしっかり長く見せる */
.pk-final-container {
    width: 95% !important;
    max-width: 1100px !important; /* ★ここを広げてPCサイズを確保 */
}

/* 4. ボタン本体：角丸8px */
.pk-final-btn {
    display: block !important;
    width: 80% !important;
    background-color: #74b684 !important;
    background-image: none !important;
    color: #ffffff !important;
    padding: 16px 0 !important;
    border-radius: 8px !important; /* ★角丸8px */
    text-align: center !important;
    font-weight: bold !important;
    text-decoration: none !important;
    font-size: 1.4em !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    line-height: 1.6 !important;
	margin: 16px auto;
}

/* ブレイクポイント */
@media screen and (max-width: 768px) {
	.pk-final-btn {
    	width: 98% !important;
    	font-size: 16px !important;
		margin: 0 auto;
	}
}

/* ―――――――――――
H1 & アイキャッチ
―――――――――――  */
/* H1コンテナ自体の余白をゼロにする */
.featured-image-container {
    line-height: 1 !important;
    font-size: 0 !important;
}

/* パンくずリスト下の余白を少し詰める */
.entry-header .breadcrumb {
    padding-bottom: 0;
    margin-bottom: 4px; /* 本文との最低限の距離 */
}

/* 画像下のメタ情報（日付など）との間の距離を */
.featured-image-container + .entry-meta {
    line-height: 1.2 !important; /* 行間を詰める */
}

/* 本文エリアの一番上の余白（PR表記などがある場所）を詰める */
.entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* 画像自体の下の隙間を完全に消す */
.featured-image-as-h1 {
    display: block !important;
    vertical-align: bottom !important;
    margin-bottom: 0 !important;
}

/* ―――――――――――
クラス装飾 */
―――――――――――  */

.center {
	text-align: center;
}

.cited {
	font-size : 9px;
	text-align : right;
	position: relative;
	bottom: 0;
}

.wp-container-core-column-is-layout-86a5d6f3 > * + * {
    margin-block-start: 1.5rem;
}


/* ―――――――――――
凡庸
―――――――――――  */

/* ボタン */
.btn_g {
    display: inline-block;
    background-color: #5caa65;
    color: #fff;
    font-size: 1.6em;
    line-height: 1.3;
    text-decoration: none;
    letter-spacing: .15em;
    padding: .8em 1em;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .2), 0 2px 3px -2px rgba(0, 0, 0, .15);
    -webkit-tap-highlight-color: transparent;
    transition: .3s ease-out;
    width: 85%;
    margin-bottom: 40px;
}

/* ブレイクポイント */

@media screen and (max-width: 768px) {
	.btn_g {
		font-size: 1.1em;
		line-height: 1.5;
		padding: 1em .3em;
		width: 100%;
	}
}

/* 2つ横並びボタン（追従などに） */
.btn-wrap {
 display: flex;
 justify-content:center;
 gap: 10px;
}
.btn-wrap a {
  width:140px;
 background: #1466b3;
 color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
 font-weight: bold;
 text-align: center;
 padding: 10px 10px;
  font-size:11px;
}
.btn-wrap a:nth-child(2){
  background:#041b68;
}


/* ―――――――――――
テーブル
―――――――――――  */

/* 角丸調整 */
table tr:first-child td:last-child {
	border-top-right-radius: calc(var(--sgb--custom--box-radius, 6)* 1px);
	border-top: 0 !important;
}

table tr:last-child td:last-child {
	border-bottom-right-radius: calc(var(--sgb--custom--box-radius, 6) * 1px);
	border-bottom: 0 !important;
}

.sng-inline-btn {
	font-size: 12px;
}

.scroll-hint-icon-wrap {
	z-index: 10;
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-radius: calc(var(--sgb--custom--box-radius)*1px);
}

/* trとtdの始めの行列 */
table tr td:first-child {
    padding: 7px;
    border-right: var(--sgb-table-border-width, 2px) solid var(--sgb-main-color);
    border-bottom: var(--sgb-table-border-width, 2px) solid var(--sgb-main-color);
    background-color: #f8f9fa;
    text-align: center;
    font-weight: 700;
    white-space: nowrap;
    background-color: #f8f9fa;
    color: #414040;
}

/* ―――――――――――
続きを読む
―――――――――――  */
.grad-wrap {
	text-align: center;
}

.grad-btn {
    position: relative;
    display: inline-block;
    padding: 0.25em 0.5em;
    text-decoration: none;
    color: #FFF;
    background: #9f9f9f;
    border-bottom: solid 2px #b7b7b7;
    border-radius: 4px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
    font-weight: bold;
	width: 280px;
}

.grad-btn:active {
    border-bottom: solid 2px #8d8d8d;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}

.grad-btn:hover {
  opacity: 60%;
}

.grad-btn::before {
  content: "続きを読む"
}

.grad-item {
  position: relative;
  overflow: hidden;
  height: 80px; /*隠した状態の高さ*/
}

.grad-item::before {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px; /*グラデーションで隠す高さ*/
  background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
  background: linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
  content: "";
}

.grad-trigger {
  display: none; /*チェックボックスは常に非表示*/
}

.grad-trigger:checked ~ .grad-btn::before {
  content: "閉じる" /*チェックされていたら、文言を変更する*/
}

.grad-trigger:checked ~ .grad-item {
  height: auto; /*チェックされていたら、高さを戻す*/
}

.grad-trigger:checked ~ .grad-item::before {
  display: none; /*チェックされていたら、grad-itemのbeforeを非表示にする*/
}


/* ―――――――――――
 消去系
―――――――――――  */
/* 1. お問い合わせフォームを包む枠自体の余白を消す */
.contact-form-container {
    width: 100%;
    margin: 0 auto;
    line-height: 0; /* 下に生まれる微細な隙間を消す */
}

/* 2. Googleフォームの下に続く「空のp」や「テーマのフッター」を消去 */
/* お問い合わせページ、運営者情報ページなど特定のページだけで効かせます */
.page-id-623 .entry-content > p:last-child,
.page-id-623 .article-footer,
.page-id-623 #comments {
    display: none !important;
}

/* 3. フォーム自体の高さを「中身ギリギリ」に攻める */
/* heightの数値を、送信ボタンが見える限界まで小さくしてください */
.contact-form-container iframe {
        height: 1150px !important; /* PC用：送信ボタンの下が少し切れるくらいが綺麗です */
}

@media screen and (max-width: 768px) {
    .contact-form-container iframe {
        height: 1450px !important; /* スマホ用：実機で見て調整してください */
    }
}


/* 共通お問い合わせボタン */
.contact_btn {
    display: inline-block;
    background-color: #203a45;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: opacity 0.2s;
}

.contact_btn:hover {
    opacity: 0.8;
}

/* =========================================
   マップボタンのデザイン（右寄せ＆コンパクト化）
========================================= */
.map-app-btn-area {
    text-align: right;
}

.map-app-btn {
    display: inline-block;
    background: #4285f4;
    color: #fff !important;
    text-align: center;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

.map-app-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    color: #fff !important;
}

.map-app-btn i {
    margin-right: 6px;
    font-size: 1.1em;
}

@media screen and (max-width: 520px) {
    .map-app-btn {
        padding: 3px 8px !important;
        font-size: 11px !important;
    }
}


/* ==================================
   カスタムフッター（.footer_cus）
================================== */
/* --- PCレイアウト --- */
.footer_cus_inner {
  display: flex;
  justify-content: space-between;
  padding: 40px 20px;
  max-width: 1080px; /* サイト幅に合わせて調整 */
  margin: 0 auto;
}

.footer_cus_col {
  box-sizing: border-box;
}

/* ▼▼ カラムの幅と配置の修正 ▼▼ */
.col_left { 
  width: 22%; /* ロゴエリアを狭めに（折り返さないギリギリのゆとり） */
  text-align: center; /* ロゴ・タイトル・ボタンを中央揃えに！ */
}
.col_center, .studio_col_right { 
  width: 35%; /* メニュー側を広く取って「同幅」の均等感を無くす */
}

/* サイトタイトル（タグライン）のフォントサイズを落とす */
.col_left .tagline {
  font-size: 0.8rem; /* 文字を小さめに調整 */
  margin-top: 8px;
}

/* --- デザイン装飾 --- */
.col_left .btn_wrap {
  margin-top: 20px;
}
.col_left .contact_btn {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: bold;
}

/* タイトルの下線 */
.footer_cus_col .col_title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0; /* 下線の色 */
}

/* リストの装飾 */
.footer_cus_list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}
.footer_cus_list a {
  text-decoration: none;
  color: #666;
  font-size: 13px;
}
.footer_cus_list a:hover {
  text-decoration: underline;
}

.copyright_wrap {
  text-align: center;
  padding: 20px 0;
  font-size: 11px;
  color: #999;
}

/* --- スマホ・レスポンシブ（768px以下） --- */
@media screen and (max-width: 768px) {
  .footer_cus_inner {
    flex-wrap: wrap;
    padding: 40px 15px;
    justify-content: center; /* コンテンツ全体を中央に寄せる */
  }
  
  /* 1. 左カラム（ロゴ・タイトル・ボタン）を全幅＆中央揃えに */
  .col_left {
    width: 100%;
    margin-bottom: 40px;
    text-align: center; /* ★ロゴとボタンをド真ん中に！ */
  }
  
  /* 2. メニューとインフォを横並びに */
  .col_center, .studio_col_right {
    width: 45%; /* 余白を持たせてスッキリさせるため45%に */
  }
  
  /* スマホの時は少し文字を小さく */
  .footer_cus_col .col_title {
    font-size: 1rem;
  }
  .footer_cus_list a {
    font-size: 12px;
  }
}


/* =========================================
   フッターメニューをまとめて中央寄せ
========================================= */
.footer_menus_wrapper {
    display: flex;
    justify-content: center; /* 2つのブロックをまとめて中央へ */
    gap: 80px; /* PCでの2つのブロックの間の隙間（お好みで調整してください） */
    width: 100%;
    margin: 20px auto 30px; /* 上下の余白 */
}

/* PC：既存の幅指定(35%)を無効化して、中身のサイズに合わせる */
.footer_menus_wrapper .col_center,
.footer_menus_wrapper .studio_col_right {
    width: auto !important; 
    min-width: 200px; /* メニューが縮みすぎないように保護 */
}

/* リストの中身は左寄せをしっかりキープ */
.footer_menus_wrapper .col_title,
.footer_menus_wrapper ul {
    text-align: left !important;
}

/* スマホ表示時の調整（既存の横並びを維持する安全策） */
@media screen and (max-width: 768px) {
    .footer_menus_wrapper {
        gap: 10px; /* スマホでは隙間を狭く */
        justify-content: center;
    }
    .footer_menus_wrapper .col_center,
    .footer_menus_wrapper .studio_col_right {
        width: 45% !important; /* スマホ用の45%幅を再適用 */
        min-width: auto;
    }
}


/* コピーライトエリア：ヘッダーと同じ水色 */
.copyright_wrap {
    display: block;
    background-color: #d9f3f7; 
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #c8e6eb;
    margin-top: 40px;
}

#copyright {
    margin: 0;
    font-size: 11px;
    color: #6a8c92;
}


/* 1. 外枠：Flexboxで確実に横並び */
body.single-studio .studio-header-meta {
    display: flex;
    flex-direction: row; /* 強制的に横並び */
    align-items: center;
    margin: 15px 0 25px;
    padding: 0;
}

/* 2. PRラベル：右側に明確なマージンを確保 */
body.single-studio .pr-label-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    height: 18px;
    padding: 0 8px;
    border: 1px solid #ccc;
    color: #888;
    border-radius: 2px;
    margin-right: 16px; /* 10pxだと狭いため16pxに変更。これで「すきまなし」を解消。 */
    line-height: 1;
    flex-shrink: 0; /* ラベルが潰れないように固定 */
}

/* 3. 日付：ラベルと垂直センターを一致させる */
body.single-studio .studio-date-text {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: #888;
    height: 18px;
    line-height: 1;
}

body.single-studio .studio-date-text i {
    margin-right: 6px;
    font-size: 11px;
}

/* ―――――――――――
PRと日付
―――――――――――  */
/* PRと日付を横並びにする箱 */
.pr-meta-wrapper {
    display: flex;
    align-items: center; /* 縦方向を中央揃え */
    gap: 12px;           /* PRと日付の間の距離 */
    margin-top: 4px;    /* アイキャッチ画像との距離 */
}

/* PRラベル自体の余白リセット */
.pr-label-custom {
    margin: 0 !important;
    font-size: 10px;
    padding: 1px 5px;
    border: 1px solid #ccc;
    color: #888;
    line-height: 1.4;
    border-radius: 2px;
}

/* 日付エリアの余白リセット */
.entry-header .entry-meta {
	margin-top: 8px;
    margin: 0 8px !important;
    padding: 0 !important;
    border: none !important;
}


/* =========================================================
   横スクロールヒント：自動適用対応版（本体エンジン）
========================================================= */
.u-scroll-hint {
    position: relative !important;
    display: block !important; /* ← テーブルには絶対に必要！口コミには後で対抗魔法をかけます */
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* スマホ・タブレットの時の「↔ スクロールできます」表示設定 */
@media (max-width: 1023px) {
    .u-scroll-hint::before {
        content: "↔ スクロールできます";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 100;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        font-size: 14px;
        font-weight: bold;
        padding: 10px 20px;
        border-radius: 20px;
        white-space: nowrap;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    /* 触れたら消す */
    .u-scroll-hint.is-scrolled::before {
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
    }
}

/* =========================================================
   口コミの横並び死守 ＆ PCでのヒント非表示設定（ジェミオの対抗魔法）
========================================================= */
/* u-scroll-hintの「強制縦並び魔法」に勝つため、クラスを2つ繋げてねじ伏せる！ */
.review_container.u-scroll-hint {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
}

/* 口コミカードの横幅指定（潰れないように絶対防御） */
.review_item {
    flex: 0 0 320px !important; 
    width: 320px;
    max-width: 85vw;
    box-sizing: border-box;
    /* この下の背景色やパディングは、今まで通り書いてあるものをそのまま残してください！ */
}

/* PC（768px以上）の時は、口コミに不要なヒント（指アイコンや影など）を完全に消し去る */
@media (min-width: 768px) {
    .review_container.u-scroll-hint::before,
    .review_container.u-scroll-hint::after {
        display: none !important;
    }
}

/* =========================================================
   スマホ・タブレット時のテーブル「右側の謎の余白」を消す
========================================================= */
/* SANGOテーマが767px以下でテーブルを強制ブロック化するのを防ぎ、構造を保つ！ */
.entry-content table,
.wp-block-table.is-style-sango-table-responsive table {
    display: table !important;
    width: 100% !important;
}


/* =========================================================
   店舗情報テーブル (.studio-detail-table) のデザイン調整
========================================================= */
.studio-detail-table {
    width: 100% !important;
    border-collapse: collapse !important; /* 隙間をなくして二重線を防止 */
    margin: 1em 0 2em !important;
    border: 1px solid #e0e0e0 !important; /* テーブル全体の囲み線 */
    background: #fff;
    table-layout: fixed; /* セルの幅を固定して安定させる */
}

.studio-detail-table th,
.studio-detail-table td {
    padding: 15px !important;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #e0e0e0 !important; /* 全てのセルに等しく細い線を引く */
    vertical-align: middle;
}

.studio-detail-table th {
    width: 30%; /* 見出しの幅を固定 */
    background-color: #f9f9f9; /* 見出しに薄い色をつけて視認性アップ */
    color: #333;
    font-weight: bold;
    text-align: center;
}

.studio-detail-table td {
    width: 70%;
    color: #555;
    text-align: left;
}

/* スマホでの調整：テーブルが窮屈にならないように */
@media (max-width: 767px) {
    .studio-detail-table th {
        width: 25%;
        padding: 10px !important;
        font-size: 13px;
    }
    .studio-detail-table td {
        padding: 10px !important;
        font-size: 13px;
    }
}

/* --- 特長タグ（もしあれば）のスタイル --- */
.studio-feature-tag {
    display: inline-block;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    margin: 2px;
    font-size: 12px;
    color: #666;
}

/* =========================================================
   比較テーブル
========================================================= */
.studio-compare-table th,
.studio-compare-table td {
    text-align: center !important;
    vertical-align: middle;
}
.studio-compare-table td:first-child {
    text-align: left !important; /* スタジオ名だけは左寄せが見やすいです */
}

:where(figure) {
    margin: 0 0 0.5em;
}

/* =========================================
   プログラム一覧（横スクロールカード・画像付き）
========================================= */
.program-scroll-wrapper {
    background: #edf6ff;
    /* ▼ 右端切れ対策：wrapper側の左右paddingを消してスクロール領域を画面端まで伸ばす */
    padding: 20px 0; 
    border-radius: 8px;
}

.program-card-list {
    display: flex;
    gap: 15px;
    margin: 0;
    /* ▼ 右端切れ対策：リスト側に左右のpadding（20px）を持たせる */
    padding: 0 20px 15px 20px; 
    list-style: none !important;
}

/* ▼ 右端切れ対策のダメ押し（Safariのバグ防止用・透明な壁を作る） */
.program-card-list::after {
    content: "";
    flex: 0 0 1px;
}

.program-card {
    flex: 0 0 280px; 
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* ▼ 新規追加：画像のスタイル */
.program-card-thumb {
    width: 100%;
    height: 130px; /* 画像の高さを指定。お好みで調整してください */
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f0f0f0; /* 画像が読み込まれるまでの背景色 */
}

.program-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像の比率を保ったまま、いい感じに枠を埋める */
    display: block;
}

.program-card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.program-card-title span {
    display: inline;
    font-size: 12px;
    color: #888;
    font-weight: normal;
    margin-top: 4px;
}

.program-card h4 {
	margin: 0;
}

.program-stats {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.program-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #1a73e8; 
    background: #f4f8ff;
    padding: 8px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: bold;
}

.program-desc {
    font-size: 13px;
    color: #444;
    line-height: 1.5;
    margin: 0;
    margin-top: auto;
}


/* =========================================
   メタ情報ページ用CSS
========================================= */

/* メタ情報ページ共通スタイル */
.meta-page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 40px;
    color: #333;
    line-height: 1.8;
	font-family: inherit;
}

/* ヘッダー・見出し */
/* WP標準の記事タイトル(H1)へのデザイン適用 */
h1.typesquare_option {
    text-align: center !important;
    font-size: 26px !important;
    margin-top: 20px;
    position: relative;
    padding: 15px;
    letter-spacing: 0.05em;
    font-weight: bold;
    border: none !important; /* テーマのデフォルト線を消す */
}

/* タイトル下の装飾線 */
h1.typesquare_option::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 2px;
    background-color: #F59F9F;
}

/* H2の見出しデザイン（H1に合わせて中央寄せ＋下線） */
.meta-page-container h2 {
    text-align: center;
    font-size: 20px;
    margin: 60px 0 30px;
    padding-bottom: 12px !important;
    position: relative;
    border: none !important; /* 以前の左線を消す */
    background: none;
}

.meta-page-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: var(--wp--preset--color--sango-main);
}

/* テーブルのスタイル */

.meta-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.meta-table th, .meta-table td {
    padding: 20px;
    text-align: left;
}

.meta-table th {
    width: 30%;
    background-color: #fcfcfc;
    font-weight: bold;
}

@media screen and (max-width: 600px) {
    .meta-table th, .meta-table td {
        display: block;
        width: 100%;
    }
	.meta-table th{
	border-right: none;
	}
}

/* リストスタイル */

.meta-table .meta-list {
    list-style: none; /* デフォルトの「・」を消す */
    padding: 0;
    margin: 0;
}

.meta-content  .meta-list {
    list-style: none; /* デフォルトの「・」を消す */
    padding: 0;
    margin: 0;
	background: #fdfbfb;
}

.meta-list li {
    position: relative;
    padding-left: 1.5em; /* アイコン分の余白 */
    margin-bottom: 0.5em;
}

/* シェブロンマーク（＞）の作成 */
.meta-list li::before {
    content: '';
    position: absolute;
    left: 0.2em;
    top: 0.9em; /* 位置の微調整 */
    width: 6px;   /* マークの幅 */
    height: 6px;  /* マークの高さ */
    border-top: 2px solid #50b1a0;  /* 指定のグリーン系カラー */
    border-right: 2px solid #50b1a0; /* 指定のグリーン系カラー */
    transform: rotate(45deg); /* 45度回転させて「＞」にする */
}

/* お問い合わせページの埋め込みフォームを整える */
.page-id-623 .entry-content iframe {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    border: none; /* Googleフォームの境界線を消す */
}

/* 「meta-page-container」の枠組みを使う場合 */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
}

/* 策定日・運営者情報のボックス調整 */
.meta-footer-info {
    display: inline-block; /* 中身の幅に合わせる */
    text-align: left;      /* テキストは左寄せ */
}

.meta-footer-info-wrapper {
    text-align: right;     /* ボックス自体を右に寄せる */
    margin-top: 40px;      /* 上との余白 */
    font-size: 0.9em;
    color: #666;
}

.meta-footer-info p {
    margin: 0;
}


/**
 * ページ内リンクナビゲーション
 */
:root {
    --nav-color: #8bbad3;
}

/* --- 案A：タイル型（studio-nav-tile） 改良版（Flexbox） --- */
.studio-nav-tile {
    margin: 2em 0 0;
}

.studio-nav-tile ul {
    display: flex; /* GridからFlexboxに変更！ */
    flex-wrap: wrap; /* 画面端までいったら自動で折り返す */
    gap: 10px;
    list-style: none !important;
    padding: 0;
    margin: 0;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.studio-nav-tile li {
    /* スマホは2列ベース。奇数で余った最後の1個は「自動で」横幅いっぱいに伸びる魔法！ */
    flex: 1 1 calc(50% - 10px);
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .studio-nav-tile li {
        /* PCは、項目が4個でも5個でも6個でも、自動で横1列に均等割り！ */
        flex: 1 1 0;
    }
}

@media (max-width: 769px) {
	.studio-nav-tile ul {
		gap: 0px 10px;
	}
}

.studio-nav-tile a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 12px 8px;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.2s;
}

.studio-nav-tile a:hover {
    background: #fdfdfd;
    border-color: var(--nav-color);
    transform: translateY(-2px);
}

.studio-nav-tile i {
    margin-right: 6px;
    color: var(--nav-color);
    font-size: 1.2em;
}

@media (min-width: 768px) {
    .studio-nav-tile a {
        flex-direction: column;
        padding: 15px 5px;
    }
    .studio-nav-tile i {
        margin-right: 0;
        margin-bottom: 6px;
        font-size: 1.5em;
    }
}

/* --- B：横スクロール型（studio-nav-scroll） --- */
.studio-nav-scroll {
    margin: 2em 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.studio-nav-scroll::-webkit-scrollbar {
    display: none;
}
.studio-nav-scroll ul {
    display: flex;
    gap: 12px;
    list-style: none !important;
    padding: 5px; 
    margin: 0;
    width: max-content;
}
.studio-nav-scroll a {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 30px;
    padding: 10px 20px;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 0.85em;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    white-space: nowrap;
}
.studio-nav-scroll i {
    margin-right: 6px;
    color: var(--nav-color);
}

/* =========================================
   追加アップデート分
========================================= */

/* SANGOのデフォルトの囲み線と背景を強制的に消し去る */
.studio-nav-tile ul,
.studio-nav-scroll ul {
    border: none;
    background: transparent;
    box-shadow: none;
}

/* Google Material Iconsの見た目を他のアイコンと揃える調整 */
.studio-nav-tile span.material-symbols-outlined,
.studio-nav-scroll span.material-symbols-outlined {
    color: var(--nav-color);
    margin-right: 6px;
    font-size: 1.2em;
}

@media (min-width: 768px) {
    .studio-nav-tile span.material-symbols-outlined {
        margin-right: 0;
        margin-bottom: 6px;
        font-size: 1.5em;
    }
}


/* =========================================================
   スライダー（行き方）用スタイル（完全決着・超目立つ版！）
========================================================= */
/* 1. スライダー全体のパディングを調整 */
.access-slider-wrapper {
	position: relative;
	margin: 2em .5em 0;
    padding: 0 21px 40px;
}

.swiper-access {
	width: 100%;
	height: auto;
	padding: 10px 0; /* 影が切れないように */
}

/* 2. カード重なりバグを粉砕しつつ高さを揃える最強の魔法！ */
.swiper-access .swiper-wrapper {
    align-items: stretch !important;
}
.swiper-access .swiper-slide {
    height: auto !important;
    /* display: flex; は削除！（重なりの元凶でした） */
}
.swiper-access .access-step-item {
    height: 100% !important; /* スライドの高さにピッタリ合わせる */
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden; /* 画像の突き抜けを完全ブロック！ */
}

/* 画像のはみ出し防止を強化 */
.swiper-access .access-step-img img { 
    width: 100%; 
    max-width: 100% !important; 
    height: auto; 
    border-radius: 6px; 
    margin-bottom: 12px; 
    object-fit: cover; 
}

.swiper-access .access-step-header { font-weight: bold; color: #4a4a4a; margin-bottom: 12px; font-size: 1.1em; border-bottom: 2px solid #ddd; padding-bottom: 6px; }
.swiper-access .access-step-text { line-height: 1.7; font-size: 0.95em; color: #333; flex-grow: 1; }

@media screen and (max-width: 768px) {
    .studio-map-wrapper iframe {
        height: 250px !important;
        min-height: 250px !important;
    }
}

/* 3. 矢印を超・目立つ「リッチデザイン」にリニューアル！ */
.swiper-access .swiper-button-next, 
.swiper-access .swiper-button-prev {
    background-color: #263a43 !important; /* サイトカラーの濃い背景色 */
    color: #ffffff !important; /* 真っ白な矢印 */
    width: 48px !important; 
    height: 48px !important;
    border-radius: 50% !important; /* 完全な丸 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important; /* 濃いめの影で浮かせます */
    border: 2px solid #fff !important; /* 白いフチをつけてクッキリと */
    opacity: 1 !important;
    margin-top: -24px !important; /* 縦位置のズレ調整 */
}
.swiper-access .swiper-button-next:hover, 
.swiper-access .swiper-button-prev:hover {
    background-color: #1a272d !important;
    transform: scale(1.05); /* ホバーで少し大きく */
}
/* 矢印のアイコン自体のサイズと太さ調整 */
.swiper-access .swiper-button-next::after, 
.swiper-access .swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold !important;
}

/* 矢印の位置（スマホでも画面端に綺麗に収まるように） */
.swiper-access .swiper-button-next { right: 4px !important; }
.swiper-access .swiper-button-prev { left: 4px !important; }

/* 下のドットを少し下に逃がす */
.swiper-access .swiper-pagination { bottom: 0 !important; }
.swiper-access .swiper-pagination-bullet-active { background: #263a43 !important; }


/* =========================================================
   体験レッスンの流れ
========================================================= */
.step-flow-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 3em 0;
    position: relative;
    z-index: 1; /* ★ここをひとつの層にまとめることで被りバグを防ぎます */
}
.step-flow-step {
    display: flex;
    align-items: stretch; /* ★ここが最大のポイント！テキストエリアを画像と同じ高さまで伸ばします！ */
    gap: 30px;
}

/* ▼ 左側の画像エリア */
.step-flow-img {
    flex: 0 0 500px;
    max-width: 48%; 
}
.step-flow-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* ▼ 右側のテキストエリア */
.step-flow-info {
    flex: 1;
    position: relative; 
}

/* STEPをつなぐ縦の点線（PCのみ） */
.step-flow-step:not(:last-child) .step-flow-info::before {
    content: "";
    position: absolute;
    left: 24px; 
    top: 50px; 
    bottom: -40px; /* テキストエリアが画像と同じ高さになったので、確実に次のステップまで届きます！ */
    border-left: 2px dotted #263a43; 
    z-index: 0; /* ★数値を下げました */
}

/* STEPバッジとタイトルのセット */
.step-flow-head {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* 丸いSTEPバッジ */
.step-flow-badge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #263a43;
    border-radius: 50%;
    color: #263a43;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    margin-right: 15px;
    position: relative;
    z-index: 1; /* ★数値を下げました */
    flex-shrink: 0;
}
.step-flow-badge span {
    font-size: 18px;
    margin-top: 2px;
}

/* ステップの見出し */
.step-flow-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* 説明テキスト */
.step-flow-text {
    padding-left: 65px; 
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* ▼ 念のための絶対防御！追従ボタンは常に最前面にする ▼ */
.studio-sticky-area {
    z-index: 999 !important;
}

/* =========================================================
   📱 スマホ表示用（縦並び＆順番入れ替え）
========================================================= */
@media (max-width: 767px) {
    .step-flow-wrap {
        gap: 40px; 
    }
    .step-flow-step {
        flex-direction: column; 
        gap: 15px;
    }
    
    /* HTMLの記述順を無視して、テキストを上・画像を下にする */
    .step-flow-info {
        order: 1; 
        width: 100%;
    }
    .step-flow-img {
        order: 2; 
        flex: 100%;
        width: 100%;
        max-width: 100%; 
    }
    
    /* スマホでは点線を消す */
    .step-flow-step:not(:last-child) .step-flow-info::before {
        display: none;
    }
    
    .step-flow-text {
        padding-left: 0;
        margin-top: 10px;
        font-size: 0.95rem; 
    }
    
    .step-flow-badge {
        z-index: 0; 
        width: 45px;
        height: 45px;
        font-size: 10px;
        margin-right: 12px;
    }
    .step-flow-badge span {
        font-size: 16px;
    }
    .step-flow-title {
        font-size: 1.1rem;
    }
}