/* the 8 用の上書き：店内写真のくすみブルー・木目ベージュに合わせた配色 */
.theme-4{--ink:#4a5f6e;--accent:#6f8ba1;--pale:#eef2f5;--line:#d6dfe6;--paper:#fdfdfc}
.theme-4 .header .button{background:#7f97ab;color:#fff}
.theme-4 .header .button:hover{background:#6f8ba1}
.theme-4 .care-item:hover{background:#f6f1ea}
.sun{background:#cfe0ec}
.hero-english{color:#8aa0b2}
.header .button{text-decoration:none}

/* オーナー写真（差し替えるまでの仮枠） */
.owner-photo{width:220px;aspect-ratio:1;border-radius:50%;background:var(--pale);display:grid;place-items:center;margin-top:30px;font:12px var(--en);letter-spacing:.2em;color:var(--accent)}
.owner-en{display:block;font:10px var(--en);letter-spacing:.18em;color:var(--accent);margin-top:6px}

/* 料金表 */
.price-table{text-align:left}
.price-table thead th{font-size:11px;color:var(--accent)}
.price-table tbody th{font-weight:500}
.price-table td:last-child{text-align:right;font:18px var(--en);color:var(--ink)}
.price-table td:nth-child(2){color:var(--ink);opacity:.7}
#price .fine{margin-top:20px!important}

/* 使用機器 */
.machine{background:#fff;border-radius:0!important}
.machine .care-grid{grid-template-columns:repeat(2,1fr)}
.machine .care-item{cursor:default}
.machine .tag{display:inline-block;margin-top:12px}
.machine .care-item h3{margin-top:12px}
.machine .care-item p{max-width:none}

/* アクセス */
.access table{text-align:left}
.access tbody td{color:var(--ink)}
.access .map{width:100%;height:260px;border:0;margin-top:25px;border-radius:20px;filter:grayscale(.3)}

.mobile-cta a{display:flex;align-items:center;justify-content:center;gap:6px}
@media (max-width:800px){.machine .care-grid{grid-template-columns:1fr}.owner-photo{width:160px}}
.mobile-cta>a:last-child{background:var(--accent);color:#fff}
.hero-four .arch-photo img{object-position:52% center}

/* お知らせ・ブログ：記事が3件以上でも見出しの列に入り込まないように */
.news-strip{grid-template-columns:200px 1fr}
.news-strip h2{grid-row:1 / span 20;align-self:start;padding-top:9px;line-height:1.6}
.news-strip details{grid-column:2;min-width:0}
.news-strip details+details{border-top:1px dashed var(--line)}
.news-strip summary{padding:14px 0}
.news-strip summary .tag{flex-shrink:0}
.news-strip summary time{flex-shrink:0}
.news-strip details p{margin-bottom:12px;border-radius:12px}
@media (max-width:800px){
  .news-strip{grid-template-columns:1fr;padding:22px 24px}
  .news-strip h2{grid-row:auto;padding-top:0}
  .news-strip details{grid-column:1}
  .news-strip summary{display:grid;grid-template-columns:auto auto 1fr;gap:4px 10px}
  .news-strip summary .plus{grid-column:3;grid-row:1;justify-self:end}
  .news-strip summary{line-height:1.7}
  .news-strip .news-title{grid-column:1 / -1;grid-row:2;padding-right:28px}
}
.access-guide{margin-top:14px;line-height:2}

/* 料金表：チケットと月謝の2つの表 */
.price-groups{display:grid;gap:40px;min-width:0}
.price-table caption{font-family:var(--serif);font-size:17px;color:var(--ink)}
.price-table td:last-child{white-space:nowrap}
.price-notes{list-style:none;padding:0;margin:0;font-size:12px;line-height:1.9;opacity:.85}
.price-notes li::before{content:'※';margin-right:4px;color:var(--accent)}
@media (max-width:600px){.price-table{font-size:11px}.price-table th,.price-table td{padding:12px 4px}.price-table td:nth-child(2){white-space:nowrap}}
/* 料金の先頭（「月額」「¥」）を縦にそろえる */
.price-table td:last-child{text-align:left;font-variant-numeric:tabular-nums;padding-left:16px}

/* 使用機器：写真を少し暗くして背景に */
.machine .care-item.has-bg{position:relative;overflow:hidden;background-size:cover;background-position:center;color:#fff;isolation:isolate;position:relative}
.machine .care-item.has-bg::before{content:'';position:absolute;inset:0;background:rgba(25,25,25,.55);z-index:-1}
.machine .care-item.has-bg:hover{background-color:transparent}
.machine .care-item.has-bg small,.machine .care-item.has-bg h3,.machine .care-item.has-bg p{color:#fff}
.machine .care-item.has-bg .tag{background:rgba(255,255,255,.2);color:#fff}
/* 機器の背景写真の彩度を落とす（モノクロ寄り） */
.machine .care-item.has-bg{background-image:none!important}
.machine .care-item.has-bg .bg{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center;filter:grayscale(.85)}
/* 住所を目立たせる */
.access .access-address{font-family:var(--serif);font-size:17px;color:var(--ink);letter-spacing:.06em;line-height:1.9}
/* 営業時間表：行の上下余白をそろえる */
.access tbody th,.access tbody td{padding:16px 5px;vertical-align:middle;line-height:2}
.access tbody th{vertical-align:top}

/* ロゴ画像：元のロゴから文字だけを切り抜いたもの（背景は透過） */
.brand .logo{width:auto;height:52px;object-fit:contain}
.access .brand .logo{height:80px}
@media (max-width:800px){.brand .logo{height:44px}.access .brand .logo{height:68px}}

/* 携帯：文節の途中で改行しない（改行位置は <wbr> で指定） */
@media (max-width:800px){
  .clinic-copy p,.care-item p,.steps p,.access-guide,.price-notes li,.price-table th,.feature-list li,.fine{word-break:keep-all;overflow-wrap:break-word}
}
/* 携帯：アイコンなしのカードなので1列で表示（文章が細い列に入らないように） */
@media (max-width:800px){.care-item{display:block;padding:24px 48px 24px 22px}.machine .care-item{padding-right:22px}}
/* 携帯だけの改行 */
.sp-br{display:none}
@media (max-width:800px){.sp-br{display:inline}}
/* 小さい携帯：料金表が画面からはみ出さないように詰める */
@media (max-width:430px){
  .price-table{letter-spacing:0}
  .price-table td:nth-child(2){width:5em}
  .price-table thead th:last-child{white-space:nowrap}
  .price-table td:last-child{font-size:14px;padding-left:6px}
  .price-table tbody th{overflow-wrap:anywhere}
}
/* 時間の列：「60分」と「×月4回」の2行で表示 */
.price-table td:nth-child(2){white-space:nowrap;line-height:1.7}
@media (max-width:340px){.price-table td:last-child{font-size:13px;padding-left:2px}.price-table td:nth-child(2){font-size:10px}}
/* 携帯：料金表の幅を画面の余白内に固定（どの端末でも他のセクションと同じ幅に） */
@media (max-width:600px){
  .price-table{table-layout:fixed;width:100%}
  .price-table thead th:nth-child(2){width:74px}
  .price-table thead th:nth-child(3){width:84px}
  .price-table td:nth-child(2){width:auto}
  .price-table td:last-child{padding-left:4px}
  .price-table tbody th{overflow-wrap:break-word}
}
/* 携帯：料金の注意書きを小さくして幅内に収める */
@media (max-width:600px){
  .price-notes{font-size:10.5px;line-height:1.8;letter-spacing:.02em;min-width:0}
  .price-notes li{padding-left:1.3em;text-indent:-1.3em;overflow-wrap:anywhere}
  .price-notes li::before{margin-right:.3em}
}
@media (max-width:340px){
  .price-table thead th:nth-child(2){width:66px}
  .price-table thead th:nth-child(3){width:72px;font-size:9.5px}
  .price-table tbody th{word-break:normal;font-size:10.5px}
}
/* 携帯：メニュー名と時間が重ならないように（iPhoneの文字自動拡大を止め、列の間に余白を確保） */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media (max-width:600px){
  .price-table thead th:nth-child(2){width:68px}
  .price-table thead th:nth-child(3){width:78px;font-size:10px}
  .price-table tbody th{padding-right:10px;overflow-wrap:anywhere}
  .price-table td:nth-child(2){font-size:10px;padding-left:2px;padding-right:2px}
  .price-table td:last-child{font-size:13px}
}
@media (max-width:350px){
  .price-table thead th:nth-child(2){width:60px}
  .price-table thead th:nth-child(3){width:64px;font-size:9px}
  .price-table tbody th{word-break:normal;font-size:10px;padding-right:8px}
  .price-table td:last-child{font-size:12px;padding-left:2px}
  .price-table th,.price-table td{padding-left:2px}
}
/* 住所：建物名の途中で改行しない */
.access .access-address{word-break:keep-all}
