/*
Theme Name: tt5-tenshi-child
Template: twentytwentyfive
Author: あなたの名前（任意）
Description: Twenty Twenty-Five の子テーマ
Version: 1.0
*/
:root {
  --blue:#5fb0e3;     /* 見出しバー */
  --light:#eef7fb;    /* ペール水色の背景 */
  --accent:#ff6699;   /* バナー系アクセント */
  --text:#234;        /* ベース文字 */
  --muted:#6c7a89;    /* 補助文字 */
  --max: 1200px;      /* コンテンツ幅 */
  --radius: 12px;
  --mask-alpha: .85;       /* 左右の色の濃さ（0〜1）*/
  --mask-fade:  68%;       /* どの位置まで色を残すか */
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text);
  background: url("/static/img/bg-flower.png") no-repeat fixed center/cover, #f7fbfd;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========== Utility ========== */
.container { width: min(100%, var(--max)); margin-inline: auto; }
.grid { display: grid; gap: 20px; }
.btn { display:inline-grid; place-items:center; height:40px; padding:0 16px; border-radius:999px; background:var(--blue); color:#fff; font-weight:700; }
.tag { display:inline-block; padding:.25rem .5rem; border-radius:999px; background:#fff; border:1px solid #d7e9f6; font-size:.75rem; color:var(--muted); }
.bar-title { background: var(--blue); color:#fff; padding:10px 14px; border-radius: var(--radius); font-weight:700; letter-spacing:.08em;font-size: 30px; }
.hamburger,.sp-tel{ display:none; }
/* ========== Header ========== */
.site-header { background:#fff; border-bottom: 1px solid #e5eef5; top: 0; z-index: 50; }
.site-header__top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding: 14px 0; }
.logo { display:flex; align-items:end; gap:14px; }
.logo__img { height:120px; }
.logo__sub { font-size:.78rem; color:var(--muted); letter-spacing:.08em; }
.header-info { text-align:right; }
.header-info__open { font-weight:700; letter-spacing:.06em; }
.header-info__tel { font-size:1.1rem; color: var(--blue); font-weight:700; }

/* ===== Global Nav ===== */
.g-nav,
.site-footer{
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
  background: linear-gradient(#f7fbff, #eef7fb);
}

.g-nav__inner {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px; /* li同士の余白 */
  padding: 10px 0;
  justify-content: center;
  list-style: none;
  margin: 0;
}

.g-nav__inner li {
  list-style: none;
}

.g-nav__inner a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  color: #406;
  transition: all .2s ease;
}

/* hover時 */
.g-nav__inner a:hover {
  background: var(--light);
  color: var(--blue);
}

/* 現在ページを強調 */
.g-nav__inner .current-menu-item > a,
.g-nav__inner .current-menu-parent > a,
.g-nav__inner .current-menu-ancestor > a {
  background: #fff;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
}
/* ============================
   Main Contents Grid
   ============================ */
#wrap-main-container-grid{
  display: grid;
  grid-template-columns: 3fr 1fr; /* 75% : 25% */
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  box-sizing: border-box;
}

/* 左右の要素 */
#wrap-main-contents { grid-column: 1; }
#sidebar { grid-column: 2; }



/* NEWS */
.news-list{padding-inline-start: 0;}
.news-item{ list-style: none;}
.news-link{
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e7eef5;
}
.news-link:hover .news-title{
  text-decoration: underline;
}

/* 黒い小バッジ */
.badge {
  display: inline-block;
  width: 90px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  border-radius: 4px;
  background: #f144a1; 
}


/* 日付・NEW・タイトル */
.news-date{
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: .95rem;
}
.label-new{
  color: var(--accent);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .05em;
}
.news-title{
  font-size: 1rem;
  color: var(--text);
}

/* 右の“ニュース一覧 →”の丸ボタン */
.more{
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.btn-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: .95rem;
}
.btn-pill:hover{
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(95,176,227,.18);
}



/* ========== Sections ========== */
section { margin: 30px 0; }
.cards { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:0 8px 24px rgba(0,0,0,.06); display:flex; flex-direction:column; }
.card__thumb { aspect-ratio: 4/3; object-fit:cover; }
.card__body { padding: 12px; display:grid; gap:6px; }
.card__meta { font-size:.82rem; color:var(--muted); }
.card__time { margin-top:2px; font-weight:700; color:#2a5; }

/* ========== Ranking ========== */
.ranking { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.rank-card { position:relative; }
.rank-badge { position:absolute; left:10px; top:10px; background:gold; color:#612; font-weight:700; padding:6px 10px; border-radius:999px; box-shadow:0 6px 16px rgba(0,0,0,.15); }

/* ===== Footer Nav ===== */
.site-footer{
  margin-top: 48px;
  padding-top: 16px;
  border-bottom: none;
}
#footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;                /* li間の余白 */
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

#footer-nav li {
  list-style: none;
}

#footer-nav a {
  display: block;
  padding: 4px 6px;
  font-size: .9rem;
  color: #406;
  opacity: .85;
  transition: all .2s ease;
}

#footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
  color: var(--blue);
}
.copyright { text-align:center; color:#8aa; margin-top:14px; font-size:.85rem; }



/* ========== contents ========== */


/* system */
/* system ページ用 */
.system-course h2 {
  font-size: 1.4rem;
  margin: 0 0 10px;
  color: var(--blue);
  border-left: 5px solid var(--blue);
  padding-left: 10px;
}

.system-course .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent); /* ピンク寄りのアクセント */
}

.system-course .card__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



/* ===== Recruit base (scoped) ===== */
.recruit {
  --border: rgba(35, 51, 68, .18);   /* = #234 の薄枠 */
  --shadow: 0 8px 22px rgba(0,0,0,.08);
  color: var(--text);
  line-height: 1.8;
}

.recruit.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ヒーロー帯コピー */
.recruit__hero {
  background: var(--light);
  border-left: 6px solid var(--accent);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.recruit__hero .catch { 
  color: var(--accent);
  font-weight: 700; 
  font-size: clamp(18px, 2.3vw, 22px);
  margin: 0 0 6px;
}
.recruit__hero .sub {
  color: var(--text);
  font-weight: 600;
  margin: 0 0 10px;
}

/* 見出しバー */
.recruit__title {
  margin: 28px 0 14px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 14px;
  letter-spacing: .02em;
  box-shadow: var(--shadow);
}

/* ===== テーブル ===== */
.recruit__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; /* 角丸を効かせる */
  box-shadow: var(--shadow);
  table-layout: fixed; /* レイアウト安定 */
}

.recruit__table th,
.recruit__table td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.recruit__table th {
  width: 26%;
  min-width: 180px;
  color: #fff;
  background: linear-gradient(180deg, var(--blue), #4aa0d3);
  font-weight: 700;
}

.recruit__table tr:last-child th,
.recruit__table tr:last-child td {
  border-bottom: none;
}

/* テーブル内の補助要素 */
.recruit__table a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.recruit__table .line-contact {
  margin-top: 10px;
}

/* ===== フォーム（プレースホルダー用フロント） ===== */
.recruit__form {
  margin-top: 34px;
}
.wpcf7-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.wpcf7-form .form-group {
  margin-bottom: 14px;
}
.wpcf7-form label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.wpcf7-form .req { color: var(--accent); }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--light);
  color: var(--text);
  outline: none;
  transition: box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.wpcf7-form textarea { min-height: 160px; resize: vertical; }

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(95, 176, 227, .18); /* --blue */
}

.wpcf7-form input[type="radio"] { margin-right: 6px; }

.wpcf7-form .form-submit {
  margin-top: 10px;
}
.wpcf7-form .form-submit input {
  appearance: none;
  border: none;
  border-radius: var(--radius);
  padding: 12px 18px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .06s ease, filter .2s ease;
}
.wpcf7-form .form-submit button:hover { filter: brightness(1.05); }
.wpcf7-form .form-submit button:active { transform: translateY(1px); }



/* 細かなユーティリティ */
.recruit img { max-width: 100%; height: auto; }
.recruit p { margin: 0 0 10px; }


/* === グリッド === */
.t-grid {
  display: grid;
  gap: 20px;
}

.t-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}



/* === カード === */
.t-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
  border: 2px solid var(--blue);
}
.t-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.t-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  position: relative;
}

/* ========== 名前横の小バッジ（NEW / PickUp） ========== */
.t-card__name {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.t-card__age { margin-left: 2px; }

.t-card__flags {
  display: inline-flex;
  gap: 6px;
  margin-left: 4px;
}

.t-flag {
  display: inline-block;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  border-radius: 4px;
}
.t-flag--new { background: var(--accent); } /* ピンク */
.t-flag--pickup { background: #e39b5f; } /* 水色 */

/* ========== ランキング（金） ========== */
/* Xロゴは左上（.t-card__x）にある想定なので、ランキングは右上へ */
.t-card__x {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 30; 
}
.t-card__x img { width: 24px; height: 24px; display: block; }
.t-card__x img:hover{opacity: 0.6;}
.t-card__rank {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 25;
}
.rank-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #3a2b00;
  background: linear-gradient(180deg, #f8e7a6, #e4c763 60%, #d4b34a);
  border: 1px solid #caa339;
  box-shadow:
    0 1px 0 rgba(255,255,255,.5) inset,
    0 2px 8px rgba(0,0,0,.18);
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
  border-radius: 6px;
  letter-spacing: .02em;
}

/* ========== 既存タグ（2カラム固定・中央寄せ）の維持 ========== */
.t-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 2px;
  padding: 0;
  list-style: none;
}
.t-tag {
  flex: 0 0 calc(50% - 3px);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  color: var(--text);
  background: var(--light);
  border: 1px solid var(--blue);
  box-sizing: border-box;
}

/* サムネイル */
.t-card__thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  z-index: 1;
  margin-bottom: 0;
  max-height:250px ;
}
.t-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 250px;
  border-radius:10px 10px 0 0;
}

/* バッジ */
.t-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius);
  color: #fff;
}
.t-card__badge--new { background: var(--accent); }
.t-card__badge--pickup { background: var(--blue); }

/* 本文 */
.t-card__body {
  padding: 12px 12px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.t-card__name {
  font-size: 1rem;
  font-weight: 700;
  margin: 6px 0;
  color: var(--text);
}
.t-card__age {
  font-weight: 400;
  font-size: .9em;
  margin-left: 4px;
  color: var(--muted);
}

.t-card__spec {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 6px;
}

/* 出勤時間ラベル */
.t-card__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #3db4e7; /* 水色 */
  color: #fff;
  font-weight: bold;
  padding: 4px 10px;
  margin-top: 6px;
  border-radius: 0; /* 角丸なし */
  font-size: 0.9rem;
  line-height: 1.4;
}

.t-card__time-icon {
  margin-right: 6px;
  font-size: 1rem; /* emoji/アイコンサイズ */
  display: inline-block;
}
.t-card__time-icon img{
  width: 13px;
}

/* === ページネーション === */
.t-pagination {
  margin-top: 28px;
  text-align: center;
}
.t-pagination ul {
  list-style: none;
  display: inline-flex;
  gap: 6px;
  padding: 0;
  margin: 0;
}
.t-pagination li a,
.t-pagination li span {
  display: block;
  padding: 6px 12px;
  border-radius: var(--radius);
  background: var(--light);
  color: var(--text);
  text-decoration: none;
  font-size: .9rem;
  transition: background .18s ease;
}
.t-pagination li a:hover {
  background: var(--blue);
  color: #fff;
}
.t-pagination li .current {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}
/* タグ群（2カラム並び） */
.t-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 3px 0;
  padding: 0;
  list-style: none;
  padding-bottom: 12px;
}

.t-tag {
  flex: 0 0 calc(50% - 3px); /* 2カラムになるように幅を確保 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  color: var(--text);
  border: 2px solid var(--blue);
  box-sizing: border-box;
}

/* 基準は .t-card（既に position:relative; でOK） */

/* リンク全体を z-index:1 に（これが土台） */
.t-card__link {
  position: relative;  /* ← 追加 */
  z-index: 1;          /* ← 追加 */
}

/* 左上X と 右上ランキングをリンクより前面に */
.t-card__x,
.t-card__rank {
  position: absolute;  /* 念のため明示 */
  z-index: 3;          /* ← ここをリンクより大きく */
  pointer-events: none;/* クリック妨げない */
}

/* それぞれの座標（既存と同じ） */
.t-card__x    { top: 10px; left: 10px; }
.t-card__rank { top: -3px; right: 68px; }

/* Xアイコンだけはクリック可能に戻す */
.t-card__x a { pointer-events: auto; }

.t-card__spec {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 6px;

  /* 1行制御 */
  white-space: nowrap;        /* 折り返さない */
  overflow: hidden;           /* はみ出し非表示 */
  text-overflow: ellipsis;    /* はみ出したら「…」 */
}

/* ===== ランキング色付け（金・銀・銅） ===== */
.ranking-1 .rank-badge {
  background: linear-gradient(180deg, #f8e7a6, #e4c763 60%, #d4b34a);
  color: #3a2b00;
  border-color: #caa339;
}
.ranking-2 .rank-badge {
  background: linear-gradient(180deg, #e9eef3, #cfd7e0 60%, #b9c1cc);
  color: #2e3440;
  border-color: #aeb6c1;
}
.ranking-3 .rank-badge {
  background: linear-gradient(180deg, #f1d1b0, #d8a574 60%, #bf8a59);
  color: #3a2b00;
  border-color: #b67d4e;
}

/* ===== ランキング横3列レイアウト ===== */
/* コンテナをグリッド化（PC:3列 / タブ:2列 / SP:1列） */
.t-list__inner.t-grid,
.t-grid.t-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;               /* カード間の余白 */
}

/* カードの高さを揃え、リンク全体を縦伸びさせる */
.t-list__inner .t-card,
.t-grid .t-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.t-list__inner .t-card__link,
.t-grid .t-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.t-card_comment{
  padding:0 12px 12px;
  font-size: 14px;
}

/* 非表示の切り分け */
.top-schedule .t-card_comment,
.top-ranking .t-card__tags,
.top-ranking .t-card__time{display: none;}

/* ========== Sidebar Card ========== */
sidebar{
  margin-top: 15px;
}
.side-card { top:90px; background:#fff; border-radius:var(--radius); box-shadow:0 8px 24px rgba(0,0,0,.06); overflow:hidden; margin-top: 16px; border: 1px solid var(--blue);}
.side-card__head { background:var(--blue); color:#fff; padding:10px 14px; font-weight:700; font-size: 20px;}
.side-card__body { padding:14px; }

/* コンテナ */
.sidebar-bnr { margin-top: 20px; }

/* PC: 縦1列 */
.sidebar-bnr__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.sidebar-bnr__item img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px; /* お好み */
}


/* page */
.page #wrap-main-contets{
  font-size: 18px;
}

#therapist .t-card_comment,
#schedule .t-card_comment{
  display: none;
}
.t-card__today{
    font-size: 10px;
    background-color: #fff;
    padding:0 3px;
    color: #3db4e7;
    margin-right: 7px;
  }
  /* ==== 週間スケジュール日付ナビ ==== */
.tws-date-nav {
  display: flex;
  justify-content: center;   /* ← 中央寄せ */
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.tws-date-nav li {
  flex: 0 0 auto;            /* ← アイテムサイズを揃える */
}

.tws-date-link {
  display: inline-block;
  min-width: 80px;           /* ← 本日・日付のラベル幅を揃える */
  text-align: center;
  padding: 6px 14px;
  border: 2px solid var(--blue);
  border-radius: 999px; /* pill形状 */
  background: #fff;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}

.tws-date-link:hover {
  background: rgba(61, 180, 231, .08);
  color: var(--blue);
}

.tws-date-link.is-active {
  background: var(--blue);
  color: #fff;
}


/* single */
#wrap-sigle img{
  max-width: 100%;
  height: auto;
}

/* ==============================
   Therapist Single 調整（差分）
   ============================== */
.therapist-single{
  --brand: #3db4e7;          /* サイトの水色 */
  --ink: #1f1f1f;
  --muted: #666;
  --gray-0:#fafafa;
  --gray-1:#f3f4f5;          /* テーブル地 */
  --gray-2:#e6e8ea;          /* 罫線 */
  --gray-3:#cfd4d9;          /* ヘッダー地 */
  --radius: 12px;
}

/* 全体の文字を“少しだけ”小さく（このページだけ） */
.therapist-single,
.therapist-single p,
.therapist-single li{
  font-size: 15px; line-height: 1.75;
}

/* h1：水色＆センタリング */
.therapist-single .therapist-name:first-of-type{
    background-color: var(--brand);
    color: #fff;
    font-weight: 800;
    letter-spacing: .02em;
    margin: 24px 0;
    font-size: 24px;
    padding: 18px;
    text-align: left;
}

/* 左カラムの h2：黒・背景なし・左寄せ */
.therapist-profile-info > .therapist-name{
  color: var(--ink);
  background: none;
  padding: 0;
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: left;
}
.therapist-single .therapist-profile-info .therapist-name{
  margin: 0 0 24px;
    font-size: 20px;
    padding: 14px;
}
.therapist-profile-wrap {
  display: grid;
  grid-template-columns: 3fr 7fr; /* ギャラリー:プロフィール = 4:6 */
  gap: 24px; /* 間の余白 */
  align-items: start;
}

.therapist-x{
  width: 50px;
}
/* プロフィール枠の最低限装飾（背景はそのまま/シンプル） */
.therapist-profile-info{
  background: #fff;
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 16px 16px 48px;
}
.profile-meta{ 
  list-style: none;
  padding: 0;
}
.profile-meta strong{
  color: #f144a1;
}
/* 本日出勤（ピンク指定は維持） */
.therapist-today{
  display: inline-block;
  margin: 18px 0 0;
  padding: 6px 10px;
  background: #f144a1;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
}
.therapist-badges span{
  position: relative;
  border-radius:6px;
  padding: 4px 10px;
  font-size: 12px;
  display: inline-block;
  top: 0;
  left: 0;
  margin: 18px 10px 0 0 ;
}
/* ギャラリー：サムネ横並び（常に row） */
.therapist-gallery .main-photo{
  overflow: hidden;
  background: #000;
  margin-bottom: 10px;
}
.therapist-gallery .main-photo img{
  width: 100%; height: auto; display: block;
}
.therapist-gallery .thumbs{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 常に3列 */
  gap: 10px; /* 余白は好みで */
  max-width: 480px; /* お好みで調整 */
  margin: 15px auto 0;
}
/* サムネボタン */
.therapist-gallery .thumb-btn {
  width: 100%;
  aspect-ratio: 1 / 1;   /* 正方形 */
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: transparent;
}

/* サムネ画像 */
.therapist-gallery .thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 中央を切り抜いてフィット */
  object-position: center;
  display: block;
}
.thumb-btn:hover{ transform: scale(1.03); }
.thumb-btn.is-active{ border-color: var(--brand); }

/* 週間スケジュール：グレー基調＆均等幅 */
.therapist-week{ margin-top: 24px; }
.therapist-week h2{
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--blue);
  font-weight: 800;
}

.therapist-week-table{
  width: 100%;
  table-layout: fixed;              /* 均等幅 */
  border-collapse: collapse;
  background: var(--gray-1);
  border: 1px solid var(--gray-2);
  overflow: hidden;
}
.therapist-week-table th,
.therapist-week-table td{
  text-align: center;
  padding: 10px 6px;
  border: 1px solid var(--gray-2);
  color: var(--ink);
  background: #fff;
}
.therapist-week-table thead th{
  background: #1b1b1b;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.5;
}
.therapist-week-table td.is-empty{ color: var(--muted); background: var(--gray-0); }
.therapist-week-table td.is-closed{
  background: #1b1b1b; color: #fff; font-weight: 800;
}
.therapist-week-table th.is-today,
.therapist-week-table td.is-today{
  background: var(--gray-3);;  /* ほんのり水色で今日を示唆 */
  color: #000;
}