:root{
  --bg:#ffffff;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#e2e8f0;

  --brand:#2563eb;
  --brand2:#22c55e;
  --accent:#f59e0b;

  --tint:#f7fafc;
  --radius:18px;
  --shadow: 0 18px 50px rgba(15, 23, 42, .10);
  --shadow2: 0 10px 28px rgba(15, 23, 42, .08);
}

*{ box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  height: 100%;
  overflow-x: hidden;
}

body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main{
  flex: 1 0 auto;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{ width:min(1120px, 92vw); margin:0 auto; }

/* ===============================
   Header / Nav
================================ */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  border-bottom:1px solid rgba(226,232,240,.7);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo__mark{
  width:34px;
  height:34px;
  border-radius:12px;
  background:
    radial-gradient(10px 10px at 30% 35%, rgba(255,255,255,.9), rgba(255,255,255,0)),
    linear-gradient(135deg, rgba(37,99,235,.95), rgba(34,197,94,.9));
  box-shadow: var(--shadow2);
}

.logo__text{
  font-weight:800;
  letter-spacing:.02em;
}

.logo{
  display: flex;
  align-items: center;
}

.logo__image{
  height: 40px;
  width: auto;
  display: block;
}

.nav{
  display:flex;
  align-items:center;
  gap:16px;
}

.nav a{
  color:var(--muted);
  font-weight:700;
  font-size:14px;
}

.nav a:hover{ color:var(--ink); }

.nav__cta{
  padding:10px 14px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(37,99,235,.95), rgba(34,197,94,.9));
  color:#fff !important;
  box-shadow: var(--shadow2);
}

/* Mobile: nav__cta を非表示（下優先） */
@media (max-width: 768px){
  .nav__cta{
    display: none !important;
  }
}

/* ===============================
   Hero
================================ */
.hero{
  position:relative;
  padding:24px 0 24px;
  overflow:hidden;
}

.hero__bg{
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(900px 420px at 20% 15%, rgba(37,99,235,.18), rgba(255,255,255,0)),
    radial-gradient(900px 420px at 85% 10%, rgba(245,158,11,.14), rgba(255,255,255,0)),
    radial-gradient(900px 520px at 70% 90%, rgba(34,197,94,.14), rgba(255,255,255,0));
  filter:saturate(1.05);
  pointer-events:none;
}

.hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap:28px;
  align-items:center;
}

@media (max-width: 920px){
  .hero__inner{ grid-template-columns:1fr; }
}

.badge-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.badge{
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  background:rgba(37,99,235,.10);
  color:rgba(37,99,235,.95);
  border:1px solid rgba(37,99,235,.14);
}

.badge--soft{
  background:rgba(34,197,94,.10);
  color:rgba(21,128,61,.95);
  border-color:rgba(34,197,94,.18);
}

.badge--line{
  background:rgba(245,158,11,.10);
  color:rgba(180,83,9,.95);
  border-color:rgba(245,158,11,.18);
}

.hero__title{
  font-size: clamp(30px, 4vw, 44px);
  line-height:1.08;
  margin:0 0 10px;
  letter-spacing:.02em;
}

.hero__lead{
  margin:0 0 14px;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}

.hero__bullets{
  margin:0 0 18px;
  padding-left:18px;
  color:var(--ink);
}

.hero__bullets li{
  margin:6px 0;
  color:rgba(15,23,42,.92);
}

.hero__cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:16px 0 55px;
}

/* ===============================
   Buttons / Pills / Utilities
================================ */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  border:1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
}

.btn--primary{
  color:#fff;
  background:linear-gradient(135deg, rgba(37,99,235,.95), rgba(34,197,94,.9));
}

.btn--ghost{
  background:#fff;
  border-color:var(--line);
  color:var(--ink);
}

.btn--full{ width:100%; }

.trust-row{
  margin-top:10px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}

@media (max-width: 920px){
  .trust-row{ grid-template-columns:1fr; }
}

.trust{
  border:1px solid rgba(226,232,240,.9);
  background:rgba(255,255,255,.68);
  border-radius:16px;
  padding:12px 12px;
}

.trust__k{
  font-size:12px;
  font-weight:900;
  color:var(--muted);
  margin-bottom:6px;
}

.trust__v{ font-weight:900; }

.pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  margin-right:8px;
}

.pill--ok{
  background:rgba(34,197,94,.12);
  color:rgba(21,128,61,.95);
  border:1px solid rgba(34,197,94,.2);
}

.muted{ color:var(--muted); }
.small{ font-size:12px; }

.ta-right{ text-align: right; }

.btn-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.section-cta{
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.btn--pill{
  border-radius: 999px;
  padding: 12px 18px;
}

.cta-arrow{
  margin-left: 8px;
  opacity: .9;
}

.m-0{ margin: 0; }

/* ===============================
   Photo Card（下優先の最終版）
================================ */
.photo-card{
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background:#fff;
  border:1px solid rgba(226,232,240,.8);
}

.photo-card__cap{ padding:14px 14px 16px; }
.cap__title{ font-weight:1000; }
.cap__sub{
  color:var(--muted);
  margin-top:4px;
  font-size:14px;
  line-height:1.6;
}

/* 画像（下優先の最終版） */
.photo-card img,
.therapy-swiper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================
   Sections / Cards / Steps
================================ */
.section{ padding:48px 0; }

.section--tint{
  background: var(--tint);
  border-top:1px solid rgba(226,232,240,.7);
  border-bottom:1px solid rgba(226,232,240,.7);
}

.section__head{ margin-bottom:18px; }

.h2{
  margin:0 0 8px;
  font-size:24px;
  letter-spacing:.01em;
}

.lead{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.cards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

@media (max-width: 920px){
  .cards3{ grid-template-columns:1fr; }
}

.card{
  border:1px solid rgba(226,232,240,.9);
  background:#fff;
  border-radius: var(--radius);
  padding:16px;
  box-shadow: 0 8px 22px rgba(15,23,42,.06);
}

.card h3{ margin:0 0 8px; font-size:16px; }
.card p{ margin:0; color:var(--muted); line-height:1.75; }

.steps{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}

.step{
  display:flex;
  gap:12px;
  padding:14px;
  border-radius: var(--radius);
  border:1px solid rgba(226,232,240,.9);
  background:#fff;
}

.step__num{
  min-width:34px;
  height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-weight:1000;
  color:#fff;
  background:linear-gradient(135deg, rgba(37,99,235,.95), rgba(34,197,94,.9));
}

.step__title{ font-weight:1000; margin-bottom:4px; }
.step__text{ color:var(--muted); line-height:1.7; }

/* ===============================
   Contact / Form / FAQ
================================ */
.contact-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:14px;
  align-items:start;
}

@media (max-width: 920px){
  .contact-grid{ grid-template-columns:1fr; }
}

.contact-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:12px 0 14px;
}

.pill-btn{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
  color:var(--ink);
}

.form__row{ display:grid; gap:6px; margin-bottom:12px; }
.form label{ font-weight:900; font-size:13px; }

.form input, .form textarea, .form select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(226,232,240,.95);
  outline:none;
  font-size:14px;
}

.form input:focus, .form textarea:focus{
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

/* checkboxの影響打ち消し */
.form input[type="checkbox"]{
  width: auto;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
}

.faq{ display:grid; gap:10px; }

.faq__item{
  border:1px solid rgba(226,232,240,.9);
  background:#fff;
  border-radius: var(--radius);
  padding:12px 14px;
}

.faq__item summary{ cursor:pointer; font-weight:1000; }
.faq__a{ margin-top:8px; color:var(--muted); line-height:1.75; }

/* ===============================
   Checks
================================ */
.checks{
  /* デフォルトは通常の流れ（スマホ1列） */
}

@media (min-width: 768px){
  .checks{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
  }
}

.check{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  line-height: 1.3;
}

.check input[type="checkbox"]{
  flex: 0 0 auto;
  margin: 0;
  transform: scale(1.05);
}

/* ===============================
   Form disclosure / more
================================ */
.form__more{ display: none; }

@media (min-width: 901px){
  form.form--smart.is-open .form__more{
    display: block;
  }
}

@media (max-width: 900px){
  .form__more{
    display: block;
  }
}

.form-disclosure{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  margin: 6px 0 12px;
  padding: 12px 12px;
  background: #fff;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
}

/* ===============================
   Footer（下優先 + responsive）
================================ */
.footer{
  padding:26px 0;
  background:#0b1220;
  color:rgba(255,255,255,.9);
  flex-shrink: 0;
}

.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
}

.footer__brand{ font-weight:1000; }
.footer .muted{ color:rgba(255,255,255,.65); }

@media (max-width: 900px){
  .footer__inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer__brand{ margin-bottom: 4px; }

  .footer__meta{
    font-size: 13px;
    line-height: 1.6;
  }
}

/* ===============================
   FAB / Mini Note
================================ */
.fab{
  position:fixed;
  right:14px;
  bottom:19%;
  z-index:80;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.fab__btn{
  padding:12px 14px;
  border-radius:999px;
  color:#fff;
  font-weight:1000;
  background:linear-gradient(135deg, rgba(37,99,235,.95), rgba(34,197,94,.9));
  box-shadow: var(--shadow);
}

.fab__btn--tel{
  background:rgba(15,23,42,.92);
  text-align: center;
}

.mini-note{
  border:1px dashed rgba(226,232,240,.95);
  border-radius:16px;
  padding:12px 14px;
  background:rgba(255,255,255,.6);
}

.mini-note__title{ font-weight:1000; margin-bottom:4px; }
.mini-note__text{ color:var(--muted); line-height:1.7; }

/* ===============================
   cards2（PC 2列 / Mobile 1列）
================================ */
.cards2{
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 901px){
  .cards2{
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.cards2 .card{
  display: flex;
  flex-direction: column;
}

.cards2 .card .btn{
  margin-top: auto;
}

/* ===============================
   Access / Map（下優先の最終版）
================================ */
.access-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 901px){
  .access-grid{
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
  }
}

.access-list{ margin: 0; }
.access-list dt{ font-weight: 600; margin-top: 12px; }
.access-list dd{ margin: 4px 0 0 0; color: #333; }

.map-card{
  padding: 0;
  overflow: hidden;
  min-height: 360px;
  border-radius: 18px;
}

@media (min-width: 901px){
  .map-card{
    min-height: 420px;
  }
}

.map-card iframe{
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ===============================
   HQ link
================================ */
.hq-link{
  margin-top: 16px;
  padding-top: 12px;
}

.hq-link a{
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-decoration: none;
  color: #374151;
}

.hq-link__logo{
  width: auto;
}

.hq-link__text{
  font-size: 0.85rem;
  line-height: 1.3;
  width: 100%;
  text-align: right;
}

.hq-link a:hover{
  opacity: 0.8;
}

/* ===============================
   Lists
================================ */
.list{
  margin: 0;
  padding-left: 1.1em;
}

.list li{
  margin: 6px 0;
}

/* ===============================
   Swiper inside photo-card（下優先の最終版）
================================ */
.therapy-swiper{
  width: 100%;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
}

.therapy-swiper .swiper-wrapper{
  max-width: 100%;
  height: 100%;
}

.therapy-swiper .swiper-slide{
  height: 100%;
  width: 100% !important;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.therapy-swiper .swiper-pagination{
  bottom: 82px;
}

.therapy-swiper .swiper-button-prev,
.therapy-swiper .swiper-button-next{
  color: rgba(15,23,42,.55);
}

.therapy-swiper .swiper-button-prev:after,
.therapy-swiper .swiper-button-next:after{
  font-size: 18px;
}

/* ===============================
   Hours / Flow / Program
================================ */
.hours{ display:grid; gap:10px; margin-top:10px; }
.hours__row{ display:grid; grid-template-columns: 52px 1fr; gap:10px; align-items:center; }
.hours__day{ font-weight:900; color:var(--ink); }
.hours__times{ display:flex; gap:8px; flex-wrap:wrap; }

.hours__pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(226,232,240,.95);
  background:#fff;
  font-weight:900;
  font-size:13px;
}

.hours__off{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(15,23,42,.06);
  color:rgba(15,23,42,.65);
  font-weight:900;
  font-size:13px;
}

.program-grid{ display:block; gap:16px; }
.program-concept, .program-flow{ margin-bottom:16px; }

@media (min-width: 901px){
  .program-grid{
    display: grid;
    grid-template-columns: 2fr 1.55fr;
    gap: 32px;
    align-items: start;
  }
  .program-concept, .program-flow{ margin-bottom:0; }
}

.day-flow{ list-style:none; padding:0; margin: 10px 0 0; }

.day-flow__item{
  display:grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(226,232,240,.9);
}

.day-flow__num{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 32px;
  height: 28px;
  border-radius: 999px;
  background: rgba(37,99,235,.10);
  color: rgba(37,99,235,.95);
  font-weight: 900;
}

.day-flow__title{ font-weight: 900; line-height:1.3; }

.day-flow__sub{
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  word-break: keep-all;
}

/* デフォルト（スマホ）：縦並び */
.section-group--pc-2col{
  display: block;
}

.hours-flow-grid{
  display: block;
}

@media (min-width: 901px){
  .hours-flow-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }
}

/* スマホのみ */
@media (max-width: 900px){
  #flow{
    padding-top: 48px;
  }
}

