/* みなみスポーツマッサージ鍼整骨院。見本(materials/mina-spo-sample-v6.html)の見た目をもとにしている */
:root{
  --navy:#0e2a5a; --navy2:#1b4a8f; --sky:#7cc8f0; --sky-strong:#2a86c8; --sky-soft:#edf7fd; --line:#cfe6f5;
  --text:#0e2a5a; --muted:#4f6480; --red:#c62828;
  --serif:"Hiragino Mincho ProN","Yu Mincho","YuMincho","Noto Serif JP","IPAPMincho","IPAMincho",serif;
  --bar-h:62px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;overflow-anchor:none}
body{margin:0;background:#fff;color:var(--text);line-height:1.8;
  font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Yu Gothic","Meiryo","IPAPGothic",sans-serif}
a{color:inherit}
img{display:block;max-width:100%}
.wrap{max-width:820px;margin:0 auto}
[hidden]{display:none !important}
h1,h2,h3,.catch,.sub,.quote,.bigquote,.intro p,.tagline .ja{font-feature-settings:"palt"}
.ph{display:inline-block;max-width:100%}

/* 上に付いてくるバー(R4) */
.bar{position:sticky;top:0;z-index:30;background:#fff;box-shadow:0 1px 0 var(--line),0 4px 14px rgba(14,42,90,.06)}
.bar-in{max-width:820px;margin:0 auto;height:var(--bar-h);display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px 0 12px}
.brand{display:flex;align-items:center;gap:6px;text-decoration:none;min-width:0}
.logo-mark{width:38px;height:32px}
.logo-name{width:auto;height:12px}
.acts{display:flex;gap:4px;flex:none}
.act{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:52px;height:50px;border-radius:10px;
  background:var(--sky-soft);border:1px solid var(--line);color:var(--navy);text-decoration:none;font:inherit;font-size:10px;
  font-weight:700;line-height:1.15;cursor:pointer;padding:0;text-align:center}
.act svg{width:20px;height:20px}
.act.primary{background:var(--sky);border-color:var(--sky)}
.act small{display:block;font-size:9px;font-weight:400;color:var(--muted)}
.menu-btn{background:#fff;list-style:none}
.menu-btn::-webkit-details-marker{display:none}
.menu-wrap[open] .menu-btn{background:var(--sky-soft)}
.menu{position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid var(--line);
  box-shadow:0 12px 24px rgba(14,42,90,.14);max-height:calc(100vh - var(--bar-h));overflow:auto}
.menu ul{list-style:none;margin:0 auto;padding:8px 12px 14px;max-width:820px;display:grid;grid-template-columns:1fr 1fr;gap:6px}
.menu a{display:block;padding:11px 12px;border-radius:10px;background:var(--sky-soft);text-decoration:none;font-weight:700;font-size:14px}
@media (max-width:379px){ .brand .logo-name{display:none} }

/* ボタン */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:0 20px;border-radius:999px;
  font-weight:700;font-size:15px;text-decoration:none;border:0;cursor:pointer;font-family:inherit;line-height:1.3;text-align:center}
.btn-sky{background:var(--sky);color:var(--navy)}
.btn-outline{background:#fff;color:var(--navy);border:2px solid var(--sky)}
.btn-block{display:flex;width:100%}

/* 写真の枠(写真がまだ無いときは、種類の名前を入れた仮の枠。R20) */
.photo{position:relative;display:flex;align-items:flex-end;padding:10px;border-radius:14px;color:#fff;font-size:12px;line-height:1.4;
  background:linear-gradient(135deg,var(--navy2) 0%,#3b78bd 55%,var(--sky) 100%);aspect-ratio:4/3;overflow:hidden}
.photo::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(45deg,rgba(255,255,255,.07) 0 12px,transparent 12px 24px)}
.photo span{position:relative;background:rgba(14,42,90,.6);padding:4px 8px;border-radius:6px}
.photo.has-photo{padding:0}
.photo.has-photo::before{display:none}
.photo.has-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* 中身がまだ無い欄 */
.pending{display:inline-block;margin:0;padding:4px 16px;border-radius:999px;background:var(--sky-soft);border:1px solid var(--line);
  color:var(--muted);font-size:14px;font-weight:700;letter-spacing:.1em}

/* トップ:最初の画面 */
.hero{position:relative;color:#fff;overflow:hidden;
  background:linear-gradient(160deg,rgba(14,42,90,.95) 0%,rgba(27,74,143,.9) 60%,rgba(124,200,240,.78) 100%),
    repeating-linear-gradient(45deg,#1b4a8f 0 14px,#2a5fae 14px 28px)}
.hero .wrap{position:relative;padding:44px 20px 34px}
.hero .catch{font-family:var(--serif);font-size:36px;line-height:1.45;margin:0 0 16px;font-weight:700;letter-spacing:.02em}
.hero .sub{font-family:var(--serif);font-size:19px;margin:0 0 18px;font-weight:700}
.hero .lead{margin:0;font-size:15px;line-height:2;opacity:.96}
.hero .station{display:inline-block;margin:18px 0 0;font-size:13px;line-height:1.8;background:rgba(255,255,255,.14);border-radius:999px;padding:4px 12px}
.hero .tag{margin:16px 0 0;font-size:11px;letter-spacing:.3em;opacity:.8}
.hero-photo{position:absolute;right:10px;top:10px;font-size:12px;line-height:1.4}
.hero-photo span{display:inline-block;background:rgba(14,42,90,.6);color:#fff;padding:4px 8px;border-radius:6px}
.hero-photo.has-photo{inset:0}
.hero-photo.has-photo img{width:100%;height:100%;object-fit:cover;opacity:.35}

.intro{text-align:center;padding:40px 16px 8px}
.intro .logo-full{width:190px;height:auto;margin:0 auto 18px}
.intro p{font-family:var(--serif);font-size:min(20px,4.6vw);font-weight:700;margin:0}

/* 欄の共通 */
.block{padding:44px 16px}
section{scroll-margin-top:calc(var(--bar-h) + 8px)}
.alt{background:var(--sky-soft)}
h2{margin:0 0 20px;font-size:22px;line-height:1.45;text-align:center}
h2 .en{display:block;font-size:11px;letter-spacing:.3em;color:var(--sky-strong);font-weight:700;margin-bottom:2px}
h2::after{content:"";display:block;width:36px;height:3px;background:var(--sky);border-radius:2px;margin:10px auto 0}
h2.serif{font-family:var(--serif)}
p{margin:0 0 12px}
.prose p{font-size:15px}
.center{text-align:center}
.more{margin-top:18px;text-align:center}

/* 特長 */
.features{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.feature{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 10px;text-align:center;font-weight:700;font-size:14px;line-height:1.5}
.feature p{margin:0}
.feature svg{width:44px;height:44px;padding:9px;border-radius:50%;background:var(--navy);color:#fff;display:block;margin:0 auto 8px}

/* 理念 */
.philo{background:#fff;border-radius:16px;padding:18px;margin-bottom:12px;border:1px solid var(--line)}
.philo .label{font-size:12px;letter-spacing:.2em;color:var(--sky-strong);font-weight:700;margin:0;text-align:left;line-height:1.8}
.philo h2.label::after{display:none}
.philo h3,.philo .philo-title{font-family:var(--serif);font-size:20px;line-height:1.6;margin:4px 0 10px;font-weight:700}
.philo p{font-size:15px}
.philo p:last-child{margin-bottom:0}
ol.rules{margin:0;padding:0;list-style:none}
ol.rules li{padding:14px 0;border-top:1px solid var(--line);font-size:15px}
ol.rules li:first-child{border-top:0;padding-top:4px}
ol.rules h3{font-family:inherit;font-size:16px;line-height:1.6;margin:0 0 4px}
ol.rules p{margin:0}

/* 院長メッセージ・院長紹介 */
.msg{display:grid;grid-template-columns:110px 1fr;gap:16px;align-items:start}
.msg .photo{aspect-ratio:3/4}
.msg .quote{font-family:var(--serif);font-size:22px;font-weight:700;margin:0 0 10px}
.who{margin:12px 0 0}
.who p{margin:0}
.who .role{font-size:12px;color:var(--muted)}
.who .name{font-size:20px;font-weight:700;line-height:1.4}
.who .roman{font-size:10px;letter-spacing:.2em;color:var(--sky-strong);margin-bottom:10px}
.licenses{list-style:none;padding:0;margin:0 0 12px;display:flex;flex-wrap:wrap;gap:6px}
.licenses li{font-size:12px;font-weight:700;background:var(--sky-soft);border:1px solid var(--line);border-radius:6px;padding:3px 8px}
.page-head{background:var(--navy);color:#fff;text-align:center;padding:30px 16px}
.page-head h1{margin:0;font-size:24px;line-height:1.4}
.page-head .en{display:block;font-size:11px;letter-spacing:.3em;color:var(--sky);font-weight:700}
.bigquote{font-family:var(--serif);font-size:23px;line-height:1.7;font-weight:700;text-align:center;margin:0 0 26px}
.profile{display:grid;grid-template-columns:120px 1fr;gap:16px;align-items:start;margin-bottom:28px}
.profile .photo{aspect-ratio:3/4}
.profile .who{margin:0}
h2.side{font-family:var(--serif);font-size:20px;text-align:left;margin:28px 0 12px;padding-left:12px;border-left:4px solid var(--sky)}
h2.side::after{display:none}
.profile + h2.side,.symptom:first-child h2.side{margin-top:0}

/* 料金 */
.menu-cards{display:grid;gap:10px}
.menu-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px}
.menu-card .no{display:inline-flex;width:26px;height:26px;border-radius:50%;background:var(--navy);color:#fff;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.menu-card h3{margin:6px 0 2px;font-size:17px}
.menu-card .time{font-size:12px;color:var(--muted);margin:0 0 6px}
.menu-card p{font-size:14px;margin:0}
.plan{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:18px}
.plan-head{background:var(--navy);color:#fff;display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;padding:12px 14px}
.plan-head .no{flex:none;width:28px;height:28px;border-radius:50%;background:#fff;color:var(--navy);display:flex;align-items:center;justify-content:center;font-weight:700}
.plan-head h2{margin:0;font-size:18px;line-height:1.3;text-align:left}
.plan-head h2::after{display:none}
.plan-head .time{margin-left:auto;font-size:11px;background:#fff;color:var(--navy);font-weight:700;border-radius:999px;padding:3px 10px}
.plan-body{padding:14px}
.plan-body p{font-size:14px}
.plan-body .summary .note{display:block;margin-top:8px;font-size:12px;color:var(--muted)}
table{width:100%;border-collapse:collapse;font-size:14px;background:#fff}
th,td{border-bottom:1px solid var(--line);padding:9px 8px;text-align:left;vertical-align:middle}
thead th{background:#e3f1fb;color:var(--navy);font-size:12px;font-weight:700}
td.num,th.num{text-align:right;white-space:nowrap;font-weight:700}
tr.best td{background:var(--navy);color:#fff}
.fee{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.fee div{background:var(--sky-soft);border-radius:10px;padding:8px;text-align:center;font-size:13px}
.fee b{display:block;font-size:18px}
.points{display:grid;gap:8px;margin-top:12px}
.points div{background:var(--sky-soft);border-radius:10px;padding:10px 12px}
.points p{margin:0;font-size:13px}
.points .point-title{color:var(--navy);display:flex;align-items:center;gap:6px;font-weight:700}
.points svg{width:18px;height:18px;color:#d4a017}
.tagline{text-align:center;margin-top:22px;color:var(--navy2)}
.tagline .ja{font-family:var(--serif);font-size:17px;font-weight:700;margin:0}
.tagline .en{font-size:12px;letter-spacing:.2em;margin:4px 0 0}

/* 診療時間 */
.hours th,.hours td{text-align:center;padding:9px 3px}
.hours td.off{color:var(--red);font-weight:700}
.hours td.sat{font-weight:700;font-size:12px;line-height:1.35;background:var(--sky-soft)}
.hours tbody th{background:#fff;font-size:12px;white-space:nowrap}
.hours-text{list-style:none;padding:0;margin:14px 0 0;font-size:15px}
.hours-text li{padding:2px 0}
.hours-text .holiday{font-weight:700}
.hours-text .holiday span{color:var(--red)}

/* アクセス・ご予約 */
dl.info{margin:0 0 14px}
dl.info dt{font-size:12px;color:var(--muted)}
dl.info dd{margin:0 0 10px;font-weight:700}
.ryakuzu{margin:0;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.ryakuzu svg{display:block;width:100%;height:auto}
.ryakuzu figcaption{font-size:13px;padding:8px 12px 10px;color:var(--muted);line-height:1.6}
.two{display:grid;grid-template-columns:1fr;gap:12px;margin:14px 0}
.ways{display:grid;gap:10px}
.way{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px}
.way h3{margin:0 0 10px;font-size:16px}
.way p{font-size:14px;margin:0 0 10px}
.way .pending{margin-bottom:0}
.way .tel-number{font-size:20px;font-weight:700}
.way-note span{display:block}
.way-note span + span{display:inline-block;margin-top:6px;background:var(--sky-soft);border:1px solid var(--line);border-radius:999px;padding:2px 12px;font-size:13px;font-weight:700}
.list{margin:0;padding-left:1.2em;font-size:14px}
.mini-cta{display:grid;gap:10px;max-width:420px;margin:0 auto}

.gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.news{list-style:none;margin:0;padding:0}
.news li{display:flex;gap:14px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.news li time{flex:none;color:var(--muted);font-size:13px}
.symptoms{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.symptoms li{background:#fff;border:1px solid var(--line);border-radius:999px;padding:4px 12px;font-size:14px;font-weight:700}
.symptom{margin-bottom:24px}

.trainer{background:var(--navy);color:#fff;border-radius:16px;padding:20px}
.trainer h2{margin:0 0 14px;font-size:18px;text-align:left}
.trainer h2 .en{color:var(--sky)}
.trainer h2::after{margin:10px 0 0}
.trainer .pending{margin-bottom:14px}

footer{background:var(--navy);color:#fff;font-size:13px}
footer .wrap{padding:30px 16px}
footer p{margin:0}
.foot-logo{display:inline-flex;align-items:center;gap:8px;background:#fff;border-radius:12px;padding:8px 12px}
.foot-name{margin:12px 0 6px;font-weight:700}
.foot-en,.foot-words-en{font-size:11px;letter-spacing:.25em;opacity:.9}
.foot-links{list-style:none;padding:0;margin:14px 0;display:grid;gap:6px}
.foot-links li{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.foot-links a{font-weight:700}
.foot-links span{font-size:12px;opacity:.85}
.foot-script{margin-top:6px;font-family:var(--serif);font-style:italic;font-size:15px;opacity:.9}
.foot-words{margin-top:14px;font-family:var(--serif);opacity:.9}
.foot-copy{margin-top:6px;opacity:.7}

/* 小窓(popover。電話の案内とトレーナーの案内) */
[popover]{display:none}
[popover]:popover-open{display:block}
[popover].is-open{display:block}
.notice{position:fixed;inset:auto;top:calc(var(--bar-h) + 12px);left:50%;transform:translateX(-50%);margin:0;z-index:60;
  width:min(92vw,440px);border:0;border-radius:16px;padding:18px 18px 16px;background:#fff;color:var(--text);
  box-shadow:0 16px 40px rgba(14,42,90,.28);font-size:15px;line-height:1.7}
.notice::backdrop{background:rgba(14,42,90,.35)}
.notice p{margin:0 0 14px}
.notice .notice-title{font-weight:700;font-size:17px;margin-bottom:8px}
.notice .pending{display:inline-block}

/* 確認用:感想を送る(公開の前だけ。本番には入れない) */
.fb-ribbon{background:#fff6e5;color:#8a5300;border-bottom:1px dashed #e2a640;font-size:12px;line-height:1.5}
.fb-ribbon .wrap{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 12px}
.fb-ribbon .fb-open{flex:none;min-height:34px;padding:0 14px;font-size:12px;background:var(--sky-strong);color:#fff}
.fb-block{padding:22px 16px;background:#fff6e5;border-top:1px dashed #e2a640}
.fb-block p{font-size:13px;color:#8a5300;margin:0 0 10px}
.notice.feedback{max-height:calc(100vh - var(--bar-h) - 24px);overflow:auto}
.fb-note{font-size:13px;color:var(--muted);background:var(--sky-soft);border-radius:10px;padding:10px 12px}
.fb-group{margin:18px 0 2px;font-size:13px;font-weight:700;color:var(--sky-strong)}
.fb-item{border-top:1px solid var(--line);padding:12px 0}
.fb-item .fb-q{font-weight:700;font-size:14px;line-height:1.5;margin:0 0 8px}
.fb-item .fb-q small{display:block;font-weight:400;color:var(--muted);font-size:12px}
.fb-opts{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.fb-opts button{border:1px solid #9fc9e3;background:#fff;color:var(--navy);border-radius:999px;padding:8px 14px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.fb-opts button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.feedback textarea{display:block;width:100%;font:inherit;font-size:16px;padding:9px 11px;border:1px solid #9fc9e3;border-radius:10px;color:var(--text)}
.feedback .fb-out{font-size:13px;line-height:1.6;background:var(--sky-soft)}
.fb-want{font-size:13px;margin:14px 0 0;padding:10px 12px;background:var(--sky-soft);border-radius:10px}
.fb-want ul{margin:4px 0 0;padding-left:1.2em}
.fb-label{font-size:13px;font-weight:700;margin:14px 0 4px}
.fb-status{min-height:1.5em;font-size:13px;color:var(--sky-strong);margin:6px 0}
.fb-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}

@media (min-width:760px){
  .menu-cards{grid-template-columns:repeat(3,1fr)}
  .features{grid-template-columns:repeat(4,1fr)}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .two{grid-template-columns:1fr 1fr}
  .ways{grid-template-columns:repeat(3,1fr)}
  #first .ways{grid-template-columns:repeat(2,1fr)}
  .hero .catch{font-size:48px}
  .msg{grid-template-columns:160px 1fr}
  .profile{grid-template-columns:180px 1fr}
}

