/* --------- Base --------- */

:root{
  --bg: #edf5fb;            /* サイト全体の淡いブルー背景 */
  --ink: #0f172a;           /* 見出しなどの濃い文字色（slate-900） */
  --muted: #64748b;         /* 補助テキスト（slate-500） */
  --card: #ffffff;
  --line: #e6eef6;          /* 罫線も青み寄りに */
  --brand: #2563eb;         /* メインブルー（blue-600） */
  --accent: #60a5fa;        /* アクセント（blue-400） */
  --pill: #1d4ed8;          /* ラベル等の濃いブルー */
  --hero-from: #eff6ff;     /* ヒーローの青系グラデその1 */
  --hero-to: #e0f2fe;       /* ヒーローの青系グラデその2 */
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
  --radius: 16px;
}
html,body{height:100%;}
html{font-feature-settings: "palt";}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  line-height:1.6;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none}
.container{max-width:1100px; margin:0 auto; padding:0 16px;}
.btn{display:inline-block; padding:10px 16px; border-radius:12px; font-weight:600; border:1px solid transparent;}
.btn--brand{background:var(--brand); color:#fff;}
.btn--line{border-color: var(--brand); color:var(--brand); background:#fff;}
.btn--ghost{border-color:#d1d5db; background:#fff;}
.chip{display:inline-block; padding:6px 12px; border-radius:999px; border:1px solid var(--line); background:#f8fbff; font-size:14px}
.card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);}
.grid{display:grid; gap:20px;}
.grid-2{grid-template-columns: repeat(2, minmax(0,1fr));}
.grid-3{grid-template-columns: repeat(3, minmax(0,1fr));}
.grid-4{grid-template-columns: repeat(4, minmax(0,1fr));}
.section{padding:56px 0; background:#fff; border-top:1px solid var(--line);}
.section.alt{background:#fafafa;}
h1,h2,h3{line-height:1.25; margin:0 0 8px;}
h1{font-size: clamp(28px, 3vw + 8px, 40px);}
h2{font-size: 24px; margin-bottom: 16px;}
h3{font-size: 18px;}
p.lead{color:var(--muted); margin:0}
small, .muted{color:var(--muted);}
.space-y > * + *{margin-top:12px}

/* --------- Header --------- */
.header{position:sticky; top:0; z-index:20; backdrop-filter:saturate(120%) blur(8px); background:rgba(255,255,255,.9); border-bottom:1px solid var(--line);}
.header__inner{display:flex; align-items:center; justify-content:space-between; padding:12px 16px;}
.brand{display:flex; align-items:center; gap:12px; font-weight:800;}
.brand__logo{width:32px; height:32px; border-radius:8px; background:#e5e7eb;}
.nav{display:none; gap:20px; align-items:center; font-size:14px;}
.nav a{opacity:.9}
.nav a:hover{opacity:1}
.nav .btn{font-size:14px}
@media (min-width: 768px){ .nav{display:flex;} }

/* --------- Hero --------- */
.hero{
  background: radial-gradient(1200px 500px at 20% -50%, var(--hero-from), transparent 70%),
              radial-gradient(1200px 500px at 100% 0%, var(--hero-to), transparent 60%),
              #fff;
  border-top:1px solid var(--line);
}
.hero__wrap{display:grid; grid-template-columns:1fr; gap:24px; padding:64px 0;}
.hero__media{border-radius:20px; background:#e5e7eb; aspect-ratio:16/9; border:1px solid var(--line);}
@media (min-width: 900px){ .hero__wrap{grid-template-columns: 1.1fr .9fr;} }

/* --------- Availability --------- */
.avail{transform: translateY(-24px); position:relative; z-index:5;}
.avail__box{padding:20px; border-radius:20px;}
.week{display:grid; grid-template-columns: repeat(7,1fr); gap:10px; margin-top:10px;}
.week__day{display:flex; flex-direction:column; gap:8px; align-items:stretch; text-align:center; font-size:14px;}
.week__cell{border:1px solid var(--line); border-radius:12px; padding:10px 0; background:#fff; box-shadow:var(--shadow); font-weight:700;}
.legend{display:flex; align-items:center; justify-content:space-between; font-size:12px; color:var(--muted); margin-top:10px;}
.legend .btn{opacity:.6; pointer-events:none}

/* --------- Stats --------- */
.stats .card{padding:18px; text-align:center;}
.stats .label{font-size:12px; color:var(--muted)}
.stats .val{margin-top:6px; font-size:20px; font-weight:800}

/* --------- Services --------- */
.svc .card{padding:16px;}
.thumb{aspect-ratio:16/9; background:#e5e7eb; border-radius:12px; border:1px solid var(--line);}
.card .actions{display:flex; gap:10px; margin-top:12px;}
.pill{display:inline-block; padding:2px 8px; border-radius:999px; font-size:12px; color:#fff; background:var(--pill);}

/* --------- Price table --------- */
.table{border:1px solid var(--line); border-radius:16px; overflow:hidden; background:#fff;}
.table .row{display:grid; grid-template-columns:1.2fr .8fr .8fr; padding:14px 16px;}
.table .row.head{background:#f3f4f6; font-weight:700; font-size:14px;}
.table .row:nth-child(even){background:#fafafa;}
.table .row .price{font-weight:800}

/* --------- Area chips --------- */
.chips{display:flex; flex-wrap:wrap; gap:8px;}

/* --------- Reviews --------- */
.review.card{padding:16px;}
.ske{height:14px; width:140px; background:#e5e7eb; border-radius:6px; margin-bottom:10px;}
.ske.small{width:100px}
.review p{font-size:14px; color:var(--muted); margin:0}

/* --------- Contact --------- */
.form{display:grid; grid-template-columns:1fr; gap:12px;}
.field{display:block; font-size:14px;}
.field label{display:block; margin-bottom:6px; color:var(--muted)}
.input{width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:#fff;}
.textarea{min-height:120px;}

/* --------- Footer --------- */
.footer{background:#fafafa; border-top:1px solid var(--line); padding:32px 0; color:var(--muted); font-size:14px;}
.social{display:flex; gap:8px; margin-top:10px;}
.social .chip{background:#eef2ff; border-color:#e5e7eb}

/* --------- Sticky CTA --------- */
.floating{position:fixed; right:16px; bottom:16px; display:flex; gap:10px; z-index:30}
.floating .btn{border-radius:16px; box-shadow:var(--shadow);}

/* --------- Utilities --------- */
.mb-0{margin-bottom:0}
.mt-8{margin-top:8px}
.mt-16{margin-top:16px}
.mt-24{margin-top:24px}
.center{display:flex; align-items:center; gap:12px}
.between{display:flex; align-items:center; justify-content:space-between}


/* custom-logo（WPが出力）を既存デザインに馴染ませる */
.brand .custom-logo {
  width: 32px;       /* 既存 .brand__logo と同じ見た目に */
  height: 32px;
  border-radius: 8px;
  object-fit: cover; /* 正方形にトリミング */
}
.brand .custom-logo-link { /* the_custom_logo は <a> で出ることが多い */
  display: inline-flex;
  align-items: center;
}
.brand__name { font-weight: 800; } /* 念のため */
