/* ============ 基本 ============ */
:root{--max:480px;--ink:#222;--sub:#777;--line:#e9e9e9;--bg:#fff;--soft:#faf7ee;--key:#fdf18b;--key-d:#d8b833;--choco:#4a3b33;--radius:14px;--shadow:0 10px 24px rgba(0,0,0,.08);--header-h:56px;--fixedbar-h:48px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic Medium","Yu Gothic",Meiryo,sans-serif;line-height:1.7}
body{padding-top:calc(var(--header-h) + var(--safe-top));}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--max);margin:0 auto;padding:0 14px}
.center{text-align:center}
.page-main{padding:0}
/* PC用（780px以上の画面のとき） */
@media (min-width: 780px) {
  :root {
    --max: 780px; /* ← PCでは広く */
  }
}
/* ============ ヘッダー（固定） ============ */
.rf-header{position:fixed;top:0;left:0;right:0;height:calc(var(--header-h) + var(--safe-top));z-index:1000;background:#fff;border-bottom:1px solid #ececec}
.rf-header__inner{max-width:1080px;margin:0 auto;padding:0 14px;height:calc(var(--header-h) + var(--safe-top));padding-top:var(--safe-top);display:flex;align-items:center;justify-content:space-between}
.rf-header__logo img{
  display:block;
  height: calc(var(--header-h) - 2px); /* ← ここがミソ：ヘッダ内側の高さに合わせる */
  width: auto;              /* 比率維持で横は自動 */
}
/* ==== ハンバーガーアイコン ==== */
.rf-hamburger {
  position: relative;
  width: 48px;
  height: 48px;
  border: none;
  background: #4a3b33; /* 茶色 */
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}

/* ←この部分が今多分欠けてる（線が見えない原因） */
.rf-hamburger__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.rf-hamburger__bar {
  width: 24px;
  height: 2px;
  background-color: #fff;  /* ←これが白線！ */
  border-radius: 2px;
  transition: transform 0.35s ease-in-out, opacity 0.35s ease-in-out;
}

/* クリック時の×変化 */
.rf-hamburger.open .rf-hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.rf-hamburger.open .rf-hamburger__bar:nth-child(2) {
  opacity: 0;
}
.rf-hamburger.open .rf-hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}



/* ===== Drawer ===== */
.rf-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.rf-drawer[hidden] { display: none; }
.rf-drawer:not([hidden]) { display: block; }

/* 背景：半透過こげ茶 */
.rf-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05); /* ← ごくわずかに影を残す程度 */
  backdrop-filter: none;
}

/* パネル：右からスライド */
.rf-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background: rgb(67 65 63 / 90%);
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 20px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  animation: slideIn 0.35s ease;
  box-shadow: -6px 0 20px rgba(0, 0, 0, 0.25);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* 閉じるボタン */
.rf-drawer__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  opacity: 0.9;
}
.rf-drawer__close:hover {
  opacity: 1;
}

/* 電話ヘッダ */
.rf-drawer__head {
  width: 100%;
  background: rgba(90, 74, 65, 0.9); /* サイト全体のカラーと統一 */
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 10px 10px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 1.1em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ナビゲーション */
.rf-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

/* 各項目 */
.rf-drawer__nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 5px 18px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.rf-drawer__nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}
.rf-drawer__nav a::after {
  content: "›";
  color: #fdf18b;
  font-weight: 900;
  font-size: 1.3em;
}








/* ============ ヒーロー ============ */
.hero{position:relative;overflow:hidden;}
.hero .kv {
	margin: 0;
}
.hero .kv img{
  display:block;
  width:100%;
  height:auto;   /* 画像の比率を保持して縮小。常に全体表示 */
}
.hero .label{position:absolute;left:8px;top:8px;background:#00000066;color:#fff;border-radius:8px;padding:6px 10px;font-size:12px}

/* ============ ミニメニュー ============ */
.minimenu{ --gap:12px; --radius:6px; --bar:3px; margin:14px 0 18px; }
.minimenu, .minimenu *{ box-sizing: border-box; }

/* ●と余白のリセット（どのマークアップでも効くよう二重指定） */
.minimenu ul,
.minimenu-list{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 自動段組み（最小幅150pxを確保して 1〜n カラム） */
.minimenu-list,
.minimenu > ul{
  display: grid !important;
  gap: var(--gap) !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
}

/* カード本体 */
.minimenu a{
  position: relative;
  writing-mode: horizontal-tb !important; /* 縦書き干渉を無効化 */
  text-orientation: mixed !important;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line, #e9e9e9);
  border-radius: var(--radius);
  color: inherit; text-decoration: none;
  min-height: 48px; /* タップ面積確保 */
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}

/* テキスト */
.minimenu a *{
  background: none !important; box-shadow: none !important; border: 0 !important; /* テーマ干渉リセット */
}
.minimenu .mm-text{ line-height: 1.3; }
.minimenu .mm-label{ font-weight: 700; letter-spacing: .01em; }
.minimenu .mm-sub{ display: block; margin-top: 2px; font-size: 12px; color: #666; }

/* 右端の控えめな矢印 */
.minimenu a::after{
  content: ""; margin-left: auto; width: 6px; height: 6px;
  border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(-45deg); opacity: .28;
  transition: opacity .15s ease, margin .1s ease;
}
.minimenu a:hover::after{ opacity: .5; margin-right: 2px; }

/* すごく狭い端末の保険（1カラムに） */
@media (max-width: 340px){
  .minimenu-list, .minimenu > ul{ grid-template-columns: 1fr !important; }
}

/* ============ テキスト & 見出し ============ */
.intro-center{text-align: center;}
.section{padding:18px 0}
.h2{font-weight:900;text-align:center;margin:8px 0 14px;letter-spacing:.06em}
.h2 em{color:#a36a36;font-style:normal}

/* ============ カード/ボタン他 ============ */
.categ{margin:8px 0 12px;padding:10px 12px;border:1px dashed #e6e1dc;border-radius:6px;background:#fff;text-align:center}
.c-head{font-weight:900;color:#7a4b2f;margin-bottom:6px;letter-spacing:.02em}
.c-list{list-style:none;padding:0;margin:0}
.c-list li{display:block;text-align:center;margin:2px 6px}
.c-list li::before{content:"・";margin-right:.4em;color:#333}
.btn-line{margin-top:12px}
.more{display:inline-block;background:var(--key);border-radius:7px;padding:10px 20px;font-weight:900;border:1px solid #00000010}
.more:hover{background:var(--key-d)}
.more:active{transform:translateY(1px)}
.link-btn.emphasis{font-weight:900;color:#c00;background:none;border:none;text-decoration:underline}

/* ============ 画像ブロック ============ */
.reserve-image,.shop-image{margin:12px 0;text-align:center}
.reserve-image img,.shop-image img{max-width:100%;height:auto;display:inline-block;border-radius:10px}
/* PC（幅780px以上）の場合だけ60%に */
@media (min-width: 780px) {
  .reserve-image img,
  .shop-image img {
    max-width: 60%;
  }
}

/* ============ タイル2枚 ============ */
/*
.row-tiles{display:grid;grid-template-columns:1fr;gap:10px;margin-top:10px}
.tile{position:relative;border-radius:12px;overflow:hidden}
.tile img{height:120px;width:100%;object-fit:cover;filter:saturate(1.05)}*/
.tile .cap{position:absolute;left:10px;bottom:10px;background:#ffffffcc;padding:6px 10px;border-radius:10px;font-weight:800}
/* ======= バナー行（row-tiles）をレスポンシブ対応 ======= */
.row-tiles {
  display: flex;
  flex-wrap: wrap;       /* スマホ時に折り返し */
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.tile {
  flex: 1 1 48%;         /* 2列並び（PC時） */
  max-width: 380px;      /* 幅制限 */
  display: flex;
  justify-content: center;
  align-items: center;
}

.tile img {
  width: 100%;           /* ←重要：親幅に合わせて拡縮 */
  height: auto;
  display: block;
  border-radius: 8px;
}

/* スマホ（480px以下）では1列に */
@media (max-width: 480px) {
  .tile {
    flex: 1 1 100%;
    max-width: none;
  }
}

/* ============ SNSボタン ============ */
.sns-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.sns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: background-color 0.3s, transform 0.2s;
}

.sns-btn svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* 個別カラー */
.sns-btn.x {
  background-color: #000;
}
.sns-btn.fb {
  background-color: #1877f2;
}

.sns-btn:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

/* ======== ページャー：中央固定 + 先頭/末尾対応 ======== */
.pager {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin: 28px auto 36px;
  font-size: 14px;
  max-width: 600px;
  padding: 0 10px;
}

.pager a {
  color: var(--choco, #4a3b33);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s, opacity 0.2s;
}

.pager a:hover {
  color: var(--key-d, #d8b833);
  opacity: 0.8;
}

.pager .current {
  font-weight: 800;
  color: var(--choco, #4a3b33);
  font-size: 15px;
  text-align: center;
  white-space: nowrap;
  min-width: 70px;
}

/* --- レイアウト調整 --- */
.pager .first {
  position: absolute;
  left: 0;
}

.pager .prev {
  position: absolute;
  left: 80px;  /* 先頭への右隣に配置 */
}

.pager .next {
  position: absolute;
  right: 80px; /* 末尾への左隣に配置 */
}

.pager .last {
  position: absolute;
  right: 0;
}






/* ============ ページ共通 ============ */
.page-title{
  position: relative;
  text-align: center;
  font-weight: 800;
  font-size: clamp(22px, 5.6vw, 30px);
  margin: 8px 0 25px;
}
.page-title::after{
  content:"";
  display:block;
  width: 160px;
  height: 3px;
  margin: 6px auto 0;
  background: var(--key, #fdf18b);
  border-radius: 3px;
}
.intro{
  text-align:center;
  color:#666;
  margin:0 0 16px;
  font-size: 14px;
}
.panel{
  margin: 0 0 10px;
}
.panel-title{
    margin: 0 0 8px;
    padding: 10px 12px;
    background: #f7f7f7;
    border-left: 6px solid var(--key, #fdf18b);
    border-radius: 6px;
    color: var(--choco, #4a3b33);
    font-weight: 800;
    letter-spacing: .02em;
}
.panel-sub {
    position: relative;
    margin: 12px 0 6px;
    padding-left: 10px;
    font-weight: 800;
}
.panel-sub::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2em;
    bottom: .2em;
    width: 4px;
    background: var(--key, #f2d251);
    border-radius: 999px;
}
.dash{
  margin:.2rem 0 0;
  padding-left:1.5em;
}
/* 親の見出しっぽい行 */
.dash .li-title{
	display:block;
	margin:.1rem 0 .2rem;
}

/* 入れ子の箇条書き（丸ポチ or 中黒に） */
.dash .sublist{
  margin:.2rem 0 0 .2em;   /* ちょいインデント */
  padding-left:1.0em;
}
.dash .sublist li{
  list-style: "-  ";      /* 中黒 */
  margin:.22rem 0;
  color:#333;
  font-size: 0.98em;       /* 少しだけ小さくして親子の差を出す */
}
.c-text{
	line-height:1.8;
	color:#333;
}
/*
.media-hero{
	margin-top:10px;
}
.media-hero img{
  width:50%;
  height:auto;
  display:block;
}*/
.media-hero {
  text-align: center;
}
/*
.media-hero img {
  height: auto;
  display: inline-block; 
  margin: 0 auto;
}*/
.hero .kv img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;   /* ← 高さ制限は残す */
  object-fit: contain; /* ← cover → contain に変更 */
  object-position: center;
}
.panel-dl {
  margin: 0;
  padding: 0;
}

.panel-dl .row {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line, #e9e9e9);
}

.panel-dl .row:first-child{
  border-top: 0;
}

.panel-dl dt {
  font-weight: 700;
  color: #4b4b4b;
}

.panel-dl dd{
  margin: 0;
}

@media (max-width: 380px){
  .panel-dl .row{
    grid-template-columns: 1fr;
    gap: 6px 0;
  }
}
/* 番号付きステップ */
.steps{ counter-reset: step; margin: 8px 0 10px; padding: 0; list-style: none; }
.steps li{
  position: relative; padding-left: 2.2em; margin: .5rem 0;
  line-height: 1.7;
}
.steps li::before{
  content: counter(step); counter-increment: step;
  position: absolute; left: 0; top: .15em;
  width: 1.6em; height: 1.6em; display: grid; place-items: center;
  border-radius: 999px; background: var(--key, #f2d251); color: #000;
  font-weight: 800; font-size: .9em;
}
/* 補助テキスト・リンク */
.sub-hint{ margin: .3rem 0 0 0; }
.file-link{ text-decoration: underline; text-underline-offset: 2px; color:#0000ff;}

/* 申込フォームのボタン風リンク（カードではない） */
.link-btn{
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--key, #f2d251); color: #000; font-weight: 800;
  text-decoration: none;
}





/* ============ 施設説明 ============ */
.facility{padding:18px 0}
.facility p{margin:8px 0}
.facility-image{margin:12px 0;text-align:center}
.facility-image img{max-width:90%;height:auto;border-radius:10px;display:inline-block}
.text-red-bold{color:#c00;font-weight:800}
.mt-14{margin-top:14px}
.pics3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:10px}
.pics3 img{height:82px;object-fit:cover;border-radius:10px}

/* ============ CTAカード ============ */
.cta-row{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px}
.cta{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}
.cta img{width:86px;height:50px;object-fit:cover;border-radius:8px}
.cta .title{font-weight:900;font-size:14px}

/* ============ 一覧（ブログ/お知らせ） ============ */
.list{border-top:1px solid var(--line)}
.list .item{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.thumb{width:70px;height:70px;border-radius:6px;object-fit:cover;background:#ddd}
.meta{flex:1}
.date{color:var(--sub);font-size:10px}
.news .item .thumb{width:70px;height:70px}

/* ブログ：タイトルは2行で省略（…） */
.list.blog .item-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-height:1.45;max-height:calc(1.45em * 2);word-break:break-word}

/* ============ 店舗情報 ============ */
.shop{background:#f5f5f5;padding:18px 0}
.shop .info{font-size:13px;color:#555;text-align:center}
.shop .btn-big{display:block;margin:8px auto;background:var(--key);padding:12px 16px;border-radius:7px;font-weight:900;width:220px;text-align:center;border:1px solid #00000010}
.shop .bigimg{margin-top:8px;border-radius:10px;overflow:hidden}
.shop .bigimg img{width:100%;height:auto;display:block}

/* ============ フッター ============ */
footer{margin-top:16px;background:var(--choco);color:#eee}
.footer-nav{padding:12px 0}
.footer-nav ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px}
.footer-nav li{background:#3e312b;color:#ddd;border-radius:8px;padding:10px 12px;font-size:12px}
.footer-nav li a{color:inherit;text-decoration:none;display:block}
@media (min-width:720px){.footer-nav ul{grid-template-columns:1fr 1fr 1fr}}
.copyline{text-align:center;font-size:12px;color:#aaa;padding:12px 0;border-top:1px solid #333}

/* ============ 画面下 固定バー ============ */
.fixedbar{position:fixed;left:0;right:0;bottom:0;z-index:50;background:#005bbb;color:#fff;display:grid;grid-template-columns:1fr 1fr;gap:1px;height:calc(var(--fixedbar-h) + var(--safe-bottom));padding-bottom:var(--safe-bottom)}
.fixedbar a{display:flex;align-items:center;justify-content:center;text-align:center;background:#2b7bff;font-weight:800;padding:0 8px}
.fixedbar a.tel{background:#1a9e52}

/* ============ FAQ ============ */
.faq-wrap{max-width:var(--max);margin:0 auto;padding:0 14px}
.faq-lead{color:#666;font-size:14px;margin:8px 0 14px;text-align:center}
.faq{display:grid;gap:10px}
.faq-item{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.faq-item>summary{cursor:pointer;list-style:none;padding:12px 14px;font-weight:700}
.faq-item>summary::-webkit-details-marker{display:none}
.faq-item[open]>summary{background:#fafafa}
.faq-a{padding:12px 14px;border-top:1px solid var(--line);color:#333;line-height:1.7}

/* ちょい大きめ画面 */
@media (min-width:430px){.row-tiles{grid-template-columns:1fr 1fr}.cta-row{grid-template-columns:1fr 1fr}}

.faq-flow{margin:0;padding-left:1.2em}
.faq-flow li{margin:1rem 0}
.faq-step{font-weight:700;margin:0 0 .4rem}
.faq-figure{margin:.4rem 0 0}
.faq-figure img{max-width:100%;height:auto;display:block;border-radius:10px}
.faq-figure figcaption{margin-top:.4rem;font-size:12px;color:#666}

/* ちょい大きめ画面 */
@media (min-width:430px){.row-tiles{grid-template-columns:1fr 1fr}.cta-row{grid-template-columns:1fr 1fr}}

/* ========== Service (プラン＆費用) 専用 ========== */
.service .wrap{ max-width:720px; }

.service .service-title{
  font-size:18px;
  margin:0 0 14px;
}

/* ===== 紹介文（案3：センター芯＋下線） ===== */
.service .service-intro{ margin:12px 0 14px; padding:4px 2px 0; }
.service .service-intro.is-centerline .intro-catch{
  display:block; text-align:center; margin:0 0 8px;
  font-weight:900; color:var(--choco, #4a3b33);
  font-size:clamp(15px,4.6vw,18px);
  letter-spacing:.02em;
}

.service .service-intro p{
  margin:0; color:#2b2b2b; line-height:1.9; text-align:justify;
}

/* ===== プラン表 ===== */
.service .plan-title{
  font-size:clamp(18px,4.8vw,22px);
  font-weight:800;
  margin:0 0 .4rem;
  text-align: center;
}
.service .plan-lead{ margin:.2rem 0 .6rem; color:#444; }
.service .price-table{
  width:100%; border-collapse:collapse; font-size:15px;
}
.service .price-table th,
.service .price-table td{
  padding:10px 8px;
  border-top:1px solid var(--line, #e9e9e9);
  vertical-align:middle;
}
.service .price-table tr:first-child th,
.service .price-table tr:first-child td{ border-top:0; }
.service .price-table th{ text-align:left; font-weight:700; }
.service .price-table .price{ white-space:nowrap; text-align:right; font-weight:800; }
.service .price-table .meta{ white-space:nowrap; color:#666; text-align:right; }

/* ===== その他サービス（行揃え） ===== */
.service .others-title{
  font-size:clamp(18px,4.8vw,22px);
  font-weight:800;
  margin:0 0 .4rem;
  text-align: center;
}
/* キーバリュー型リスト */
.service .others-list--kv{
  list-style:none; margin:.2rem 0 .6rem; padding:0;
  border:1px solid var(--line, #e9e9e9);
  border-radius:10px; overflow:hidden; background:#fff;
}
.service .others-list--kv li{
  display:grid;
  grid-template-columns:1fr auto;   /* 左：項目 / 右：価格 */
  gap:4px 10px; align-items:baseline;
  padding:10px 12px;
}
.service .others-list--kv li + li{
  border-top:1px dashed var(--line, #e9e9e9);
}
.service .others-list--kv .label{
  min-width:0; position:relative;
}
.service .others-list--kv .value{
  white-space:nowrap; font-weight:800; text-align:right;
}
/* デフォの注記は全幅下段 */
.service .others-list--kv .meta{
  grid-column:1 / -1; color:#666; font-size:12px;
}
/* 「トレーナー指名」行だけ価格の下・右寄せに配置（<li class="has-sub">） */
.service .others-list--kv li.has-sub .meta{
  grid-column:2 / 3; text-align:right;
}

/* カード外の注記（※ 整体のみ…） */
.service .note{ color:#666; font-size:13px; }
.service .note-outside{ margin:6px 2px 0; }

/* ===== ページ下部の大きい写真 ===== */
.service .hero-photo{ margin:14px 0 20px; }
.service .hero-photo img{
  width:100%; height:auto; display:block; border-radius:12px;
}

/* ===== 狭小端末の微調整 ===== */
@media (max-width:360px){
  .service .price-table th,
  .service .price-table td{ padding:8px 6px; }
  .service .others-list--kv .value{ white-space:normal; }
}

/* ========== ブログ ========== */
.post .c-h2{
  --bar: 6px;                       /* 線の太さ（お好みで 4〜8px） */
  position: relative;
  border-left: none;                /* 以前のborder-leftを無効化 */
  padding-left: calc(var(--bar) + 10px); /* 線と文字の間隔 */
  line-height: 1.3;
  font-size: clamp(16px, 4.8vw, 20px);
}

/* .post .c-h2::before{
  content: "" !important;           
  position: absolute;
  left: 0;
  top: 0.15em;                      
  bottom: 0.15em;
  width: var(--bar);
  background: var(--key, #f2d251);
  border-radius: 999px;             
} 
.post .c-h2::after{
  content: none !important;
}*/
/*
.post .c-h2{
  font-size: clamp(20px, 4.8vw, 26px);
  font-weight: 900;
  color: #3a2f28;
  border-bottom: 3px solid #fdf18b;
  padding-bottom: 6px;
  margin-bottom: 14px;
  text-align: center;
}
*/

.post-body img {
  max-width: 100%;
  height: auto !important;   /* 高さ固定を無効化 */
  width: auto !important;    /* 幅固定を無効化（全幅にしたいなら 100% に） */
  display: block;
}
.post-body figure { display: contents; }  /* Safariでも今は概ね可 */

/* テーブル */
.post-body table {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #ddd;
}

.post-body th,
.post-body td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.post-body th {
  background-color: #f8f9fc; /* 淡いグレー */
  font-weight: bold;
  color: #1a1a2b; /* 濃いネイビー */
}

.post-body td {
  background-color: #fff;
  color: #1a1a2b;
}

/* 引用 */
.post-body blockquote {
  border-left: 4px solid #d0d4e0; /* 左の薄いグレーライン */
  margin: 1.5em 0;
  padding: 0.5em 1.5em;
  background: #fff; /* 背景白 */
  color: #1a1a2b;   /* 濃いネイビー寄りの文字色 */
  font-style: normal;
}

.post-body blockquote p {
  margin: 0;
  line-height: 1.8;
}

/* コード */
/* インラインコード (<code>単体) */
.post-body code {
  background: #f8f9fc;
  color: #1a1a2b;
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.95em;
}

/* 複数行コード (<pre><code>...</code></pre> の場合) */
.post-body pre code {
  display: block;
  background: #f8f9fc;
  padding: 1em;
  border: 1px solid #e0e3ea;
  border-radius: 6px;
  overflow-x: auto;
  line-height: 1.6;
  font-size: 0.9em;
  color: #1a1a2b;
}
/* ファイル名バーつきコードブロック全体 */
.post-body [data-filename] {
  border: 1px solid #e0e3ea;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5em 0;
  background: #f8f9fc;
}

/* ファイル名ラベル部分 */
.post-body [data-filename]::before {
  content: attr(data-filename);
  display: block;
  background: #eef0f8;
  color: #1a1a2b;
  font-family: "Inter", "Hiragino Sans", sans-serif;
  font-size: 0.85em;
  padding: 0.4em 0.8em;
  border-bottom: 1px solid #e0e3ea;
}

/* コード本体 */
.post-body [data-filename] pre {
  margin: 0;
  background: #f8f9fc;
  padding: 1em 1.2em;
  overflow-x: auto;
}

.post-body [data-filename] code {
  display: block;
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  color: #1a1a2b;
  line-height: 1.6;
  font-size: 0.9em;
}

.post-body #sign {
  margin-top: 10px;
}




/* ========== Card: 共通コンポーネント ========== */
:root{
  /* 既存にあればそれを優先／なければフォールバック */
  --line: #e9e9e9;
  --card-bg: #fff;
  --card-radius: 6px;
  --card-pad: 14px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.08), 0 1px 0 rgba(0,0,0,.04);
  --shadow-md: 0 6px 20px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 34px rgba(0,0,0,.18), 0 6px 12px rgba(0,0,0,.08);
}

.card{
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
}

/* 中の要素の縦リズムを揃える（任意） */
.card > * + *{ margin-top: .6rem; }

/* よく使うモディファイア */
.card--tight{ padding: 10px; }
.card--loose{ padding: 18px; }
.card--shadow{ box-shadow: 0 1px 0 rgba(0,0,0,.03); }
.card--accent{ border-color: color-mix(in oklab, var(--key, #f2d251) 55%, #ffffff 45%); }
.card--flat{ border: 0; }

/* クリック可能カード用（リンクを含む場合） */
.card--link{ transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease; }
.card--link:hover{
  border-color: color-mix(in oklab, var(--key, #f2d251) 55%, #ffffff 45%);
  box-shadow: 0 6px 18px -12px rgba(0,0,0,.25);
  transform: translateY(-1px);
}

/* 複数カードの並び用グリッド（任意） */
.cards{ display:grid; gap:12px; }
@media (min-width: 720px){ .cards.cards--2{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px){ .cards.cards--3{ grid-template-columns: repeat(3, 1fr); } }

/* 段階別クラス（好きな強さを1つだけ付ける） */
.card--shadow{      box-shadow: var(--shadow-sm) !important; border-color: transparent; }
.card--shadow-md{   box-shadow: var(--shadow-md) !important; border-color: transparent; }
.card--shadow-lg{   box-shadow: var(--shadow-lg) !important; border-color: transparent; }

/* 共通：左右2列の定義リスト（サマリー表や口座情報などに） */
.kv {
  margin: 0;
  padding: 0;
}

.kv__row {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line, #e9e9e9);
}

.kv__row:first-child {
  border-top: 0;
}

.kv dt {
  font-weight: 700;
  color: #4b4b4b;
}

.kv dd {
  margin: 0;
}

@media (max-width: 380px){
  .kv__row {
    grid-template-columns: 1fr;
    gap: 6px 0;
  }
}

/* ============ お問い合わせ（SVGアイコン対応） ============ */
.contact .contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact .contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line, #e9e9e9);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
}

/* --- SVGアイコン --- */
.contact .contact-link .icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--key, #fdf18b);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

.contact .contact-link .icon svg {
  width: 26px;
  height: 26px;
  fill: var(--choco, #4a3b33);
}

/* --- テキスト部分 --- */
.contact .contact-link .label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

/* --- スマホ時に少し小さく --- */
@media (max-width: 480px) {
  .contact .contact-link .icon {
    width: 40px;
    height: 40px;
  }
  .contact .contact-link .icon svg {
    width: 22px;
    height: 22px;
  }
}
/* --- SVG導入後、旧アイコン枠を非表示にする --- */
.contact .contact-link::before {
  content: none !important;
  display: none !important;
}

















/* ============ Access ============ */
/* ===== 定義リスト（DL）共通：1行 = 1レコード ===== */
.access .access-dl{
  margin: 12px 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.access .access-dl .row{
  display: grid;
  grid-template-columns: 7.5em 1fr;  /* デフォ：左ラベル / 右内容 */
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line, #e9e9e9);
}
.access .access-dl .row:first-child{ border-top: 0; }
.access .access-dl dt{ font-weight: 700; color: #4b4b4b; }
.access .access-dl dd{ margin: 0; }
.access .access-dl a{ text-decoration: underline; text-underline-offset: 2px; }

/* ===== 縦積み指定 ===== */
/* 1つ目のDL：2行目(代表者名)以降は “ラベル→内容” の縦並びに */
.access .access-dl:first-of-type .row:nth-child(n+2){
  grid-template-columns: 1fr;
  gap: 6px 0;
}
.access .access-dl:first-of-type .row:nth-child(n+2) dt{ margin: 0 0 4px; }
.access .access-dl:first-of-type .row:nth-child(n+2) dd{ margin: 0; }

/* 2つ目のDL（サービス内容〜運営法人・備考）：全行を縦並びに */
.access .access-dl:nth-of-type(2) .row{
  grid-template-columns: 1fr;
  gap: 6px 0;
}
.access .access-dl:nth-of-type(2) dt{ margin: 0 0 4px; }
.access .access-dl:nth-of-type(2) dd{ margin: 0; }

.access .dash{ margin: 0; padding-left: 1.2em; }

/* ===== 「住所」内の Google マップ埋め込み ===== */
.access .access-dl .map-embed{
  position: relative;
  width: 100%;
  padding-top: 56.25%;       /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
}
.access .access-dl .map-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.access .access-dl .map-link{ margin: 6px 0 0; }
.access .access-dl .map-link a{ text-decoration: underline; text-underline-offset: 2px; }

/* 極小幅の保険：全部縦並び */
@media (max-width: 380px){
  .access .access-dl .row{ grid-template-columns: 1fr; gap: 6px 0; }
}


/* ======= 設備案内ページ（guid.html）専用 ======= */
.guide .media-hero,
.concept .media-hero,
.support .media-hero,
.access .media-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0;
  overflow: hidden;
}

/* スマホ共通 */
.guide .media-hero img,
.concept .media-hero img,
.support .media-hero img,
.access .media-hero img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* PC（780px以上）で調整 */
@media (min-width: 780px) {
  .guide .media-hero img,
  .concept .media-hero img,
  .support .media-hero img,
  .access .media-hero img {
    width: auto;
    max-width: 70%;         /* 横幅を70%に */
    height: 400px;          /* 高さを固定して大きすぎ防止 */
    object-fit: contain;    /* 切れずに全体表示 */
    object-position: center;
    margin: 0 auto;
    display: block;
  }
}

/* よくあるご質問リンク上書き */
.faq-a a {
  color: revert;
  text-decoration: revert;
}

.post-head .c-h2 {
  padding-bottom: 5px;
  border-bottom: 3px solid var(--key);
  text-align: center;
}







