/* ============================================
   水道のお引越し手続き 受付窓口 LP
   Palette: 明るい爽やかな水色 (#4FC3F7 系)
   ============================================ */

:root {
  --c-primary: #4FC3F7;          /* メイン水色 */
  --c-primary-deep: #0288D1;     /* 深い青（CTA・アクセント） */
  --c-primary-darker: #01579B;   /* 見出し・信頼感 */
  --c-primary-soft: #E1F5FE;     /* 極淡水色（背景） */
  --c-primary-softer: #F4FBFE;   /* さらに淡い水色 */
  --c-cyan: #29B6F6;             /* サブアクセント */
  --c-orange: #FF8A3D;           /* CTA用ワンポイント */
  --c-text: #1A2B3C;
  --c-text-sub: #4A6274;
  --c-line: #D6ECF7;
  --c-white: #FFFFFF;
  --c-warn: #E53935;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(2, 136, 209, 0.08);
  --shadow: 0 8px 28px rgba(2, 136, 209, 0.12);
  --shadow-lg: 0 20px 50px rgba(2, 136, 209, 0.18);

  --container: 1120px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--c-primary-darker);
  letter-spacing: 0.02em;
}
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(2, 136, 209, 0.28);
  flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; fill: #fff; }
.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  min-width: 0;
}
.logo-main {
  font-size: 16px;
  font-weight: 800;
  color: var(--c-primary-darker);
  letter-spacing: 0.03em;
  text-align: center;
  white-space: nowrap;
}
.logo-sub {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-primary-deep);
  letter-spacing: 0.32em;
  padding: 3px 10px;
  background: var(--c-primary-soft);
  border-radius: 4px;
  align-self: center;
  white-space: nowrap;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-primary-darker);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.header-tel small {
  display: block;
  font-size: 11px;
  color: var(--c-text-sub);
  font-weight: 500;
  letter-spacing: 0;
}
.btn-header-mail {
  padding: 10px 18px;
  background: var(--c-primary-deep);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s, background .15s;
}
.btn-header-mail:hover { transform: translateY(-1px); background: var(--c-primary-darker); }

/* ============================================
   Hero — Full-bleed background image
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 100px 0 90px;
  isolation: isolate;
}

/* 背景画像レイヤー */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: opacity .4s ease;
}
/* 背景画像はそのまま見せるため、青トーンは掛けずごく薄い明度補正のみ */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.12) 100%);
}

/* コンテンツラッパー */
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.hero-copy {
  max-width: 820px;
  width: 100%;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* eyebrow バッジ */
.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.hero-copy .eyebrow::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: #B3E5FC;
  box-shadow: 0 0 0 4px rgba(179, 229, 252, 0.35);
}

/* メインコピー */
.hero h1 {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: clamp(28px, 4.6vw, 52px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(1, 40, 70, 0.35);
}
.hero h1 .hero-headline-sub { display: block; }
/* 「水道の引越し手続き」タイル飾り（添付画像を参考にした青タイル×白文字）
   9文字×タイル（幅1.28em・枠線border-box込み、gap4px×8箇所=32px固定）が
   ヒーロー内側の横幅（100vw − 左右パディング48px）に必ず収まるよう、
   逆算した係数でフォントサイズを決定する。安全マージンも確保し、
   端末やフォントレンダリングの誤差があっても2行に落ちないようにする。 */
.hero h1 .tile-word {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
  width: 100%;
  font-size: clamp(14px, calc(7.8vw - 6px), 42px);
  letter-spacing: normal;
}
.hero h1 .tile-line {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: inherit;
}
.hero h1 .tile-char {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.28em;
  height: 1.28em;
  background: var(--c-primary);
  color: #fff;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  box-sizing: border-box;
  letter-spacing: normal;
}
.hero h1 .accent {
  color: #FFF176;
  font-weight: 900;
}
.hero h1 .marker {
  background: linear-gradient(transparent 62%, rgba(255, 241, 118, 0.55) 62%);
  padding: 0 4px;
}
.hero .lead {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.9;
  color: #fff;
  font-weight: 700;
}
.hero .lead span.lead-highlight {
  display: inline;
  background: rgba(2, 90, 155, 0.28);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 4px 10px;
  border-radius: 6px;
}
.hero .lead strong {
  color: #FFF176;
  font-weight: 800;
}

/* バッジ行 */
.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  padding: 0;
}
.hero-badges li {
  background: rgba(1, 42, 74, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px 8px 30px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(1, 40, 70, 0.4);
  position: relative;
}
.hero-badges li::before {
  content: "";
  position: absolute;
  left: 12px; top: 50%;
  width: 10px; height: 6px;
  border-left: 2px solid #FFF176;
  border-bottom: 2px solid #FFF176;
  transform: translateY(-70%) rotate(-45deg);
}

/* CTA */
.hero-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-tel-large,
.btn-mail-large {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  line-height: 1.2;
}
.btn-tel-large {
  background: linear-gradient(135deg, #ff9a4a 0%, var(--c-orange) 100%);
  color: #fff;
}
.btn-tel-large .btn-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.btn-tel-large .btn-text { display: flex; flex-direction: column; align-items: flex-start; }
.btn-tel-large .num { font-size: 24px; letter-spacing: 0.03em; font-weight: 900; }
.btn-tel-large small { font-size: 11px; font-weight: 600; opacity: .95; margin-bottom: 2px; }

.btn-mail-large {
  background: #fff;
  color: var(--c-primary-darker);
  font-size: 15px;
}
.btn-mail-large .btn-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary-deep);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.btn-tel-large:hover, .btn-mail-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}
.hero-note {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(1, 40, 70, 0.30);
}

.sp-only { display: none; }

/* ============================================
   Section base
   ============================================ */
.section {
  padding: 80px 0;
}
.section.tinted {
  background: linear-gradient(180deg, var(--c-primary-softer) 0%, #fff 100%);
}
.section.deep {
  background: linear-gradient(160deg, var(--c-primary-darker) 0%, var(--c-primary-deep) 100%);
  color: #fff;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  display: inline-block;
  color: var(--c-primary-deep);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.section.deep .section-eyebrow { color: #B3E5FC; }
.section-title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--c-text);
  letter-spacing: 0.01em;
}
.section.deep .section-title { color: #fff; }
.section-title .accent { color: var(--c-primary-deep); }
.section.deep .section-title .accent { color: #81D4FA; }
.section-lead {
  margin-top: 16px;
  font-size: 16px;
  color: var(--c-text-sub);
}
.section.deep .section-lead { color: rgba(255,255,255,0.86); }

/* ============================================
   Features (3 columns)
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: "Poppins", "Helvetica Neue", sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--c-primary-soft);
  line-height: 1;
}
.feature-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary-soft), #fff);
  border: 2px solid var(--c-primary);
  display: grid; place-items: center;
  margin: 0 auto 20px;
  color: var(--c-primary-deep);
}
.feature-icon svg { width: 36px; height: 36px; }
.feature-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-primary-darker);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 14px;
  color: var(--c-text-sub);
  line-height: 1.85;
}

/* ============================================
   Free Service Explainer
   ============================================ */
.free-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--c-line);
}
.free-service h3 {
  font-size: 26px;
  font-weight: 900;
  color: var(--c-primary-darker);
  margin-bottom: 18px;
  line-height: 1.4;
}
.free-service h3 .highlight {
  background: linear-gradient(transparent 60%, #FFF176 60%);
  padding: 0 4px;
}
.free-service p {
  color: var(--c-text-sub);
  line-height: 1.9;
  margin-bottom: 12px;
}
.free-service .info-list {
  margin-top: 20px;
  padding: 20px;
  border-radius: 14px;
  background: var(--c-primary-softer);
  border-left: 4px solid var(--c-primary);
}
.free-service .info-list dt {
  font-weight: 800;
  color: var(--c-primary-darker);
  font-size: 13px;
  margin-bottom: 4px;
}
.free-service .info-list dd { font-size: 14px; color: var(--c-text); margin-bottom: 10px; }
.free-service .info-list dd:last-child { margin-bottom: 0; }
.free-service-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-primary-soft), #B3E5FC);
  position: relative;
  box-shadow: var(--shadow);
}
.free-service-visual img { width:100%; height:100%; object-fit: cover; }

/* ============================================
   Utility bundle (Electricity, Gas, Internet)
   ============================================ */
.utility-bundle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.utility-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.utility-card .u-icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: grid; place-items: center;
  color: #E1F5FE;
}
.utility-card .u-icon svg { width: 32px; height: 32px; }
.utility-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.utility-card p { font-size: 13px; color: rgba(255,255,255,0.82); }

/* ============================================
   Steps
   ============================================ */
.step-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.step-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 46px 24px 28px;
  text-align: center;
  position: relative;
}
.step-item .step-num {
  position: absolute;
  top: -28px; left: 50%; transform: translateX(-50%);
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-deep));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(2, 136, 209, 0.35);
  border: 3px solid #fff;
}
.step-item .step-num small {
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.95;
  margin-bottom: 2px;
}
.step-item .step-num b {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}
.step-item .step-icon {
  width: 64px; height: 64px;
  margin: 12px auto 16px;
  color: var(--c-primary-deep);
}
.step-item .step-icon svg { width: 100%; height: 100%; }
.step-item h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--c-primary-darker);
  margin-bottom: 8px;
}
.step-item p { font-size: 13px; color: var(--c-text-sub); line-height: 1.85; }

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  padding: 20px 60px 20px 68px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  position: relative;
  transition: color .15s;
}
.faq-q::before {
  content: "Q";
  position: absolute;
  left: 22px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-primary-deep);
  color: #fff;
  display: grid; place-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 14px;
}
.faq-q::after {
  content: "";
  position: absolute;
  right: 26px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px;
  border-right: 2px solid var(--c-primary-deep);
  border-bottom: 2px solid var(--c-primary-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s;
}
.faq-item.open .faq-q::after {
  transform: translateY(-20%) rotate(-135deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 24px 0 68px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--c-text-sub);
  position: relative;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 22px; }
.faq-a::before {
  content: "A";
  position: absolute;
  left: 22px; top: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary-deep);
  display: grid; place-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 14px;
}

/* ============================================
   Form
   ============================================ */
.form-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 44px 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--c-line);
}
.form-row {
  margin-bottom: 22px;
}
.form-row label {
  display: block;
  font-weight: 700;
  color: var(--c-primary-darker);
  font-size: 14px;
  margin-bottom: 8px;
}
.form-row label .req {
  display: inline-block;
  background: var(--c-warn);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 700;
  vertical-align: middle;
}
.form-row label .opt {
  display: inline-block;
  background: #B0BEC5;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 700;
  vertical-align: middle;
}
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row input[type="date"],
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--c-text);
  background: var(--c-primary-softer);
  transition: border-color .15s, background .15s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-primary-deep);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(2, 136, 209, 0.12);
}
.form-row textarea { min-height: 100px; resize: vertical; }
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--c-primary-softer);
  border: 1.5px solid var(--c-line);
  padding: 14px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.form-check:hover { border-color: var(--c-primary); }
.form-check input { margin-top: 4px; }
.form-check-label { font-size: 14px; color: var(--c-text); line-height: 1.7; }
.form-check-label strong { color: var(--c-primary-darker); }

/* チップ型チェックボックス（サービス選択・時間帯選択） */
.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.checkbox-grid .chip-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  transition: all .15s ease;
  user-select: none;
  min-height: 44px;
  line-height: 1.3;
}
.checkbox-grid .chip-check:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-softer);
}
.checkbox-grid .chip-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--c-line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all .15s ease;
  margin: 0;
}
.checkbox-grid .chip-check input[type="checkbox"]:checked {
  background: var(--c-primary-deep);
  border-color: var(--c-primary-deep);
}
.checkbox-grid .chip-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.checkbox-grid .chip-check:has(input:checked) {
  border-color: var(--c-primary-deep);
  background: var(--c-primary-softer);
  color: var(--c-primary-darker);
}
.checkbox-grid .chip-check span {
  white-space: nowrap;
}
/* 時間帯グリッドは幅を揃えて4列に、全体を中央揃え */
.checkbox-grid.time-grid {
  justify-content: center;
}
.checkbox-grid.time-grid .chip-check {
  min-width: calc((100% - 30px) / 4);
  justify-content: center;
}
@media (max-width: 700px) {
  .checkbox-grid.time-grid .chip-check {
    min-width: calc((100% - 10px) / 2);
    justify-content: center;
  }
}

.privacy-consent {
  margin: 24px 0 20px;
  padding: 16px;
  background: var(--c-primary-softer);
  border-radius: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--c-text-sub);
}
.privacy-consent a { color: var(--c-primary-deep); text-decoration: underline; font-weight: 700; }

.btn-submit {
  display: block;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  border-radius: 12px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 8px 20px rgba(2, 136, 209, 0.30);
  letter-spacing: 0.05em;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(2, 136, 209, 0.40); }

.form-tel-alt {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px dashed var(--c-line);
  text-align: center;
}
.form-tel-alt p { font-size: 14px; color: var(--c-text-sub); margin-bottom: 12px; }
.form-tel-alt .tel-num {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.form-tel-alt .tel-num-main {
  font-size: 32px;
  font-weight: 800;
  color: var(--c-primary-darker);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.form-tel-alt .tel-num-sub { font-size: 14px; color: var(--c-text-sub); font-weight: 600; white-space: nowrap; }

/* ============================================
   Company info
   ============================================ */
.company-table {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
}
.company-table dl {
  display: grid;
  grid-template-columns: 200px 1fr;
}
.company-table dt,
.company-table dd {
  padding: 18px 24px;
  border-bottom: 1px solid var(--c-line);
  font-size: 14.5px;
}
.company-table dt {
  background: var(--c-primary-softer);
  color: var(--c-primary-darker);
  font-weight: 700;
}
.company-table dd { color: var(--c-text); }
.company-table dl > *:nth-last-child(-n+2) { border-bottom: none; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #0D3B57;
  color: rgba(255,255,255,0.75);
  padding: 44px 0 28px;
  font-size: 13px;
}
.site-footer .foot-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.site-footer .foot-logo {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.site-footer nav a {
  margin-left: 22px;
  color: rgba(255,255,255,0.75);
  transition: color .15s;
}
.site-footer nav a:hover { color: #fff; }
.site-footer .copyright {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 20px;
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

/* ============================================
   Sticky mobile CTA
   ============================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: #fff;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(2, 136, 209, 0.15);
  gap: 10px;
}
.mobile-cta a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  line-height: 1.4;
}
.mobile-cta .m-tel { background: linear-gradient(135deg, #ff9a4a, var(--c-orange)); }
.mobile-cta .m-tel-sub {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.95;
}
.mobile-cta .m-tel-main {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .hero {
    padding: 60px 0 60px;
    min-height: 560px;
  }
  .logo-main { font-size: 14px; }
  .logo-sub { font-size: 10px; letter-spacing: 0.2em; padding: 3px 8px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: 28px; line-height: 1.5; margin-top: 18px; }
  .hero .lead { font-size: 15px; margin-top: 18px; }
  /* MOB版お試しパターン：「水道の引越し手続き」タイルを一番上に繰り上げ、
     eyebrowバッジ（お引越しに伴う水道の手続き受付窓口）を非表示にする。
     元に戻す場合は index.html の .hero-copy から "hero-tile-top" クラスを
     外すか、この1ブロックを削除すればOK（他のCSSには影響なし）。 */
  .hero-tile-top .eyebrow { display: none; }
  .hero-tile-top h1 { margin-top: 0; }
  .hero-badges { gap: 8px; margin-top: 20px; }
  .hero-badges li { font-size: 12px; padding: 6px 14px 6px 26px; }
  .hero-badges li::before { left: 10px; width: 8px; height: 5px; }
  .hero-cta { margin-top: 26px; }
  .btn-tel-large { padding: 14px 20px; }
  .btn-tel-large .num { font-size: 20px; }
  .sp-only { display: inline; }

  .section { padding: 56px 0; }

  .feature-grid { grid-template-columns: 1fr; }
  .free-service { grid-template-columns: 1fr; padding: 28px 24px; }
  .free-service-visual { order: -1; aspect-ratio: 16/10; }

  .utility-bundle { grid-template-columns: repeat(2, 1fr); }
  .step-flow { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }

  .form-wrap { padding: 32px 22px; }
  .form-row-2col { grid-template-columns: 1fr; gap: 16px; }
  .form-row-2col .form-row { margin-bottom: 0; }

  .company-table dl { grid-template-columns: 110px 1fr; }
  .company-table dt, .company-table dd { padding: 14px 16px; font-size: 13.5px; }

  .site-footer .foot-inner { flex-direction: column; align-items: center; text-align: center; }
  .site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; }
  .site-footer nav a { margin-left: 9px; margin-right: 9px; display: inline-block; margin-top: 6px; }

  .header-tel .num { font-size: 17px; }
  .btn-header-mail { padding: 8px 14px; font-size: 13px; }

  body { padding-bottom: 76px; }
  .mobile-cta { display: flex; }
}

@media (max-width: 480px) {
  .site-header .inner { padding: 10px 12px; gap: 6px; }
  .logo { gap: 6px; flex-shrink: 1; min-width: 0; }
  .logo-mark { width: 30px; height: 30px; border-radius: 8px; }
  .logo-mark svg { width: 16px; height: 16px; }
  .logo-main { font-size: 10.5px; }
  .logo-sub { font-size: 8px; padding: 2px 5px; letter-spacing: 0.08em; margin-top: 3px; }
  .btn-header-mail { padding: 6px 9px; font-size: 11px; white-space: nowrap; flex-shrink: 0; }
}

@media (max-width: 360px) {
  .logo-main { font-size: 9.5px; }
  .logo-sub { font-size: 7.5px; padding: 1px 4px; letter-spacing: 0.05em; }
  .btn-header-mail { padding: 6px 8px; font-size: 10px; }
  .form-tel-alt .tel-num-main { font-size: 26px; }
}

@media (max-width: 560px) {
  .header-tel { display: none; }
  .hero { padding: 48px 0 52px; min-height: 520px; }
  .hero h1 { font-size: 24px; }
  .btn-tel-large, .btn-mail-large { width: 100%; justify-content: center; }
  .hero-cta { flex-direction: column; }
  .faq-q { font-size: 15px; padding: 18px 44px 18px 60px; }
  .faq-q::before { left: 16px; width: 28px; height: 28px; font-size: 12px; }
  .faq-a { padding-left: 60px; }
  .faq-a::before { left: 16px; width: 28px; height: 28px; font-size: 12px; }
}

/* ============================================
   Tweaks Panel
   ============================================ */
.tweaks-panel {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 200;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
  padding: 18px 20px;
  width: 260px;
  font-size: 13px;
  display: none;
  border: 1px solid var(--c-line);
}
.tweaks-panel.visible { display: block; }
.tweaks-panel h5 {
  font-size: 14px;
  color: var(--c-primary-darker);
  margin-bottom: 12px;
  font-weight: 800;
}
.tweaks-panel .tweak-row { margin-bottom: 12px; }
.tweaks-panel .tweak-row:last-child { margin-bottom: 0; }
.tweaks-panel .tweak-label {
  display: block;
  font-size: 12px;
  color: var(--c-text-sub);
  margin-bottom: 6px;
  font-weight: 600;
}
.tweaks-panel .tweak-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tweaks-panel .tweak-options button {
  flex: 1;
  min-width: 60px;
  padding: 8px 6px;
  border: 1.5px solid var(--c-line);
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text-sub);
  transition: all .15s;
}
.tweaks-panel .tweak-options button.active {
  border-color: var(--c-primary-deep);
  background: var(--c-primary-deep);
  color: #fff;
}
