/* ==========================================================
   東京都 水道手続き窓口 LP - style.css
   ========================================================== */

:root {
  --color-primary:        #1648B0;
  --color-primary-dark:   #0F2E80;
  --color-primary-light:  #2D6EE0;
  --color-accent-blue:    #1E5BD6;
  --color-bg-pale:        #EAF3FF;
  --color-bg-card:        #F4F9FF;
  --color-bg:             #FFFFFF;
  --color-text:           #1A1A1A;
  --color-text-sub:       #555555;
  --color-required:       #FF5A3C;
  --color-optional:       #9AA3AE;
  --color-urgent-bg:      #FFF5E5;
  --color-urgent-text:    #FF8C1A;
  --color-phone-yellow:   #FFB23F;
  --color-border:         #E4ECF7;
  --color-side-bg:        #EAF3FF;
  --shadow-card:          0 4px 16px rgba(30, 91, 214, 0.08);
  --shadow-btn:           0 6px 14px rgba(30, 91, 214, 0.28);

  --header-h: 64px;
  --footer-h: 64px;

  --font-jp:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}

* , *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-jp);
  color: var(--color-text);
  background: var(--color-side-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

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

/* ==========================================================
   App container (mobile-first, max 480px on PC)
   ========================================================== */
.app {
  max-width: 480px;
  margin: 0 auto;
  background: var(--color-bg);
  min-height: 100vh;
  position: relative;
  padding-bottom: calc(var(--footer-h) + env(safe-area-inset-bottom));
  box-shadow: 0 0 40px rgba(30, 91, 214, 0.06);
  overflow: hidden;
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: 0 2px 8px rgba(30, 91, 214, 0.05);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-bg-pale);
  display: grid;
  place-items: center;
}
.brand-mark img { width: 28px; height: 28px; }

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.hamburger {
  width: 44px; height: 44px;
  border: none; background: transparent;
  display: grid; place-items: center; gap: 3px;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Mobile menu */
.menu {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 12px 20px rgba(0,0,0,.08);
  transform: translateY(-150%);
  transition: transform .25s ease;
  z-index: 60;
  border-top: 1px solid var(--color-border);
}
.menu.open { transform: translateY(0); }
.menu ul { list-style: none; margin: 0; padding: 8px 0; }
.menu li a {
  display: block;
  padding: 16px 22px;
  font-weight: 700;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}
.menu li:last-child a { border-bottom: none; }
.menu li a:hover { background: var(--color-bg-pale); }

/* ==========================================================
   FV
   ========================================================== */
.fv {
  position: relative;
  padding: 32px 18px 24px;
  background: url("../images/fv-back.png") center top / cover no-repeat,
              linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 100%);
}
.fv__card {
  margin-top: 18px;
  background: #fff;
  border-radius: 18px;
  padding: 20px 16px 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  text-align: center;
}
.fv__lead {
  font-size: clamp(15px, 4.4vw, 19px);
  font-weight: 800;
  margin: 0;
  line-height: 1.45;
  color: var(--color-text);
  letter-spacing: 0;
  text-align: center;
}
.fv__divider {
  margin: 8px auto 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary-light);
}
.fv__divider::before,
.fv__divider::after {
  content: "";
  flex: 1;
  border-top: 1.5px dotted #BBD2F0;
}
.fv__divider span {
  font-size: 14px;
}
.fv__desc {
  font-size: clamp(12px, 3.4vw, 14px);
  color: var(--color-text);
  margin: 0;
  line-height: 1.6;
  text-align: center;
  font-weight: 500;
}

.fv__card .btn-main {
  margin: 16px 0 0;
}
.fv__card .sub-cta {
  margin: 10px 0 0;
}

.fv__title-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
}
.fv__title {
  font-size: clamp(22px, 6.6vw, 30px);
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #0F2540;
  margin: 0;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
.fv__drop {
  position: relative;
  font-size: 22px;
  top: -6px;
}
.fv__drop--left, .fv__drop--right { position: relative; left: auto; right: auto; top: -6px; }

.fv__circle {
  margin: 14px auto 0;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(30,91,214,.10);
}
.fv__circle img { width: 54px; height: 54px; }

.fv__card {
  margin-top: 22px;
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  text-align: center;
}
.fv__lead {
  font-size: clamp(15px, 4.4vw, 19px);
  font-weight: 800;
  margin: 0;
  line-height: 1.55;
  color: var(--color-text);
  letter-spacing: 0;
  text-align: center;
}
.fv__divider {
  margin: 14px auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary-light);
}
.fv__divider::before,
.fv__divider::after {
  content: "";
  flex: 1;
  border-top: 1.5px dotted #BBD2F0;
}
.fv__divider span {
  font-size: 14px;
}
.fv__desc {
  font-size: clamp(12px, 3.4vw, 14px);
  color: var(--color-text);
  margin: 6px 0 0;
  line-height: 1.75;
  text-align: center;
  font-weight: 500;
}

/* ==========================================================
   Main CTA
   ========================================================== */
.btn-main {
  display: block;
  position: relative;
  margin: 18px 18px 0;
  padding: 12px 36px 14px 14px;
  background: linear-gradient(180deg, #1E5BD6 0%, #0F2E80 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow:
    0 10px 20px rgba(15, 46, 128, 0.40),
    inset 0 1px 0 rgba(255,255,255,.30);
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
  container-type: inline-size;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 14px 24px rgba(15,46,128,.50); }
.btn-main:active { transform: translateY(0); }
.btn-main .btn-sub {
  display: block;
  font-size: clamp(11px, 6cqi, 13px);
  font-weight: 600;
  opacity: .96;
  margin-bottom: 1px;
}
.btn-main .btn-main-text {
  display: block;
  font-size: clamp(13px, 8.5cqi, 21px);
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}
.btn-main .btn-arrow {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

/* Sub CTAs */
.sub-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 18px 0;
}
.sub-cta__btn {
  position: relative;
  background: #fff;
  border: 2px solid #B9D3F7;
  border-radius: 12px;
  padding: 10px 26px 10px 38px;
  font-weight: 800;
  font-size: clamp(11px, 3.2vw, 14px);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  line-height: 1.3;
  transition: all .15s ease;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.sub-cta__btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.sub-cta__icon {
  position: absolute;
  left: 8px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  display: grid; place-items: center;
}
.sub-cta__icon svg { width: 22px; height: 22px; }
.sub-cta__arrow {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-bg-pale);
  color: var(--color-primary);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 12px;
}

/* ==========================================================
   3-Step
   ========================================================== */
.steps {
  margin: 22px 18px 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 14px 12px 14px;
  box-shadow: var(--shadow-card);
}
.steps__title {
  text-align: center;
  font-size: clamp(16px, 4.6vw, 19px);
  font-weight: 800;
  margin: 0 0 0;
  line-height: 1.3;
}
.steps__title .num {
  display: inline-block;
  font-size: clamp(28px, 8.4vw, 34px);
  color: var(--color-primary);
  font-weight: 900;
  vertical-align: -4px;
  margin: 0 3px;
  line-height: 1;
}
.steps__title .sparkle {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: -2px;
  margin-left: 4px;
}

.steps__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 2px;
}
.step {
  text-align: center;
  position: relative;
  align-self: end;
}
.step--woman {
  align-self: end;
}
.steps__women {
  width: 100%;
  max-width: 100px;
  margin: 0 auto;
  display: block;
}
.step__circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--color-bg-pale);
  margin: 14px auto 6px;
  display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(30,91,214,.06);
  position: relative;
}
.step__circle img { width: 36px; height: 36px; object-fit: contain; }
.step__badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(15,46,128,.25);
  line-height: 1;
}
.step__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
}
.step__arrow {
  align-self: center;
  margin-top: 16px;
  color: var(--color-primary-light);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -2px;
}

/* ==========================================================
   Phone block
   ========================================================== */
.phone-block {
  margin: 18px 18px 0;
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: 14px 14px 14px;
  border: 1px solid var(--color-border);
  text-align: center;
}
.phone-block__title {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.phone-block__title::before,
.phone-block__title::after {
  content: "";
  display: inline-block;
  width: 2px; height: 20px;
  background: var(--color-primary);
}
.phone-block__title::before { transform: rotate(-22deg); }
.phone-block__title::after  { transform: rotate(22deg); }
.phone-block__free {
  font-size: 12px;
  color: var(--color-text-sub);
  margin: 6px 0 0;
  font-weight: 600;
}
.phone-block__number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(22px, 7vw, 28px);
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.1;
  white-space: nowrap;
}
.phone-block__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-bg-pale);
  display: grid; place-items: center;
  color: var(--color-primary);
}
.phone-block__icon svg { width: 22px; height: 22px; }
.phone-block__hours {
  font-size: clamp(9px, 2.6vw, 12px);
  color: var(--color-text-sub);
  margin: 4px 0 0;
  line-height: 1.5;
  white-space: nowrap;
}

/* ==========================================================
   Lifeline banner
   ========================================================== */
.lifeline {
  margin: 22px 18px 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 14px 42px 14px 12px;
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: transform .15s ease;
}
.lifeline:hover { transform: translateY(-2px); }
.lifeline__img {
  width: 84px;
  max-width: 100%;
}
.lifeline__body {
  min-width: 0;
}
.lifeline__title {
  font-size: clamp(13px, 3.7vw, 15.5px);
  font-weight: 900;
  margin: 0 0 4px;
  line-height: 1.4;
  display: block;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.lifeline__title .burst {
  width: 16px;
  height: auto;
  display: inline-block;
  vertical-align: top;
  position: relative;
  top: -6px;
  margin-left: 1px;
}
.lifeline__desc {
  font-size: clamp(10.5px, 2.9vw, 12px);
  color: var(--color-text-sub);
  margin: 0;
  line-height: 1.55;
}
.lifeline__arrow {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(15,46,128,.3);
}

/* ==========================================================
   Form
   ========================================================== */
.form-section {
  margin: 22px 18px 0;
  background: #fff;
  border-radius: 18px;
  padding: 22px 18px 26px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.form-head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
}
.form-head__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-bg-pale);
  display: grid; place-items: center;
}
.form-head__icon img { width: 32px; height: 32px; }
.form-head__title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.form-section__intro {
  margin: 14px 0 4px;
  font-size: 12px;
  color: var(--color-text-sub);
  line-height: 1.65;
}
.form-section__divider {
  border: none;
  border-top: 1px dashed #C9D7EB;
  margin: 18px 0 14px;
}

.field {
  display: block;
  margin-bottom: 18px;
}
.field__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: nowrap;
}
.field__label {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text);
  order: 2;
}
.badge {
  display: inline-block;
  flex-shrink: 0;
  order: 1;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--color-required);
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.badge--optional {
  background: var(--color-optional);
}
.field__help {
  display: block;
  font-size: 12px;
  color: var(--color-text-sub);
  margin: 2px 0 8px;
  line-height: 1.55;
}
.field__control {
  position: relative;
  display: block;
}
.field__input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 13px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  color: var(--color-text);
  transition: border .15s, box-shadow .15s;
}
.field__input::placeholder { color: #B7C2D2; }
.field__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 91, 214, 0.12);
}
.field__input--date {
  padding-left: 42px;
  padding-right: 38px;
  appearance: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231E5BD6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231E5BD6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat, no-repeat;
  background-position: 12px center, right 14px center;
}
.field__error {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--color-required);
  font-weight: 700;
}
.field.has-error .field__input { border-color: var(--color-required); background: #FFF6F4; }
.field.has-error .field__error { display: block; }

.form-submit {
  display: block;
  width: 100%;
  position: relative;
  margin-top: 20px;
  padding: 16px 30px 16px 10px;
  background: linear-gradient(180deg, #1E5BD6 0%, #0F2E80 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: clamp(10px, 3.6vw, 17px);
  font-weight: 900;
  letter-spacing: 0;
  box-shadow:
    0 10px 20px rgba(15, 46, 128, 0.40),
    inset 0 1px 0 rgba(255,255,255,.30);
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  text-align: center;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 24px rgba(15,46,128,.50); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-submit__arrow {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  line-height: 1;
}
.form-submit.loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border: 3px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.form-submit.loading .form-submit__text,
.form-submit.loading .form-submit__arrow { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-section__privacy {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--color-text-sub);
}
.form-section__privacy a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 700;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: #E9F7EE;
  border: 1px solid #B7E0C2;
  color: #1B6F3A;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.form-success.show { display: block; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq-section {
  margin: 28px 18px 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 22px 16px 22px;
  box-shadow: var(--shadow-card);
}
.faq-section__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 900;
}
.faq-section__title-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-bg-pale);
  display: grid; place-items: center;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 900;
  border: 2px solid var(--color-primary);
}
.faq {
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
}
.faq__q {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 44px 14px 14px;
  list-style: none;
  cursor: pointer;
  position: relative;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.5;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q-mark {
  color: var(--color-primary);
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}
.faq__q-toggle {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: var(--color-primary);
}
.faq__q-toggle::before,
.faq__q-toggle::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  border-radius: 1px;
  transition: transform .25s ease;
}
.faq__q-toggle::before { width: 16px; height: 2.5px; }
.faq__q-toggle::after  { width: 2.5px; height: 16px; }
.faq[open] .faq__q-toggle::after { transform: rotate(90deg); }
.faq__a {
  padding: 0 14px 14px 32px;
  font-size: 13.5px;
  color: var(--color-text-sub);
  line-height: 1.75;
}

/* ==========================================================
   Security / Trust
   ========================================================== */
.security {
  margin: 24px 18px 0;
  background: var(--color-bg-pale);
  border-radius: 18px;
  padding: 22px 16px 18px;
}
.security__head {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
}
.security__icon {
  width: 72px; height: 72px;
  display: grid; place-items: center;
}
.security__icon img { width: 60px; height: 60px; }
.security__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 900;
}
.security__desc {
  margin: 0;
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.7;
}

.trust-links {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.trust-link {
  display: grid;
  grid-template-columns: 36px 1fr 22px;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px;
  font-weight: 800;
  font-size: 15px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: transform .15s ease;
}
.trust-link:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.trust-link img { width: 28px; height: 28px; object-fit: contain; }
.trust-link__arrow {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 18px;
  justify-self: end;
}

/* ==========================================================
   Footer info
   ========================================================== */
.foot-info {
  margin: 26px 18px 24px;
  font-size: 11.5px;
  color: var(--color-text-sub);
  text-align: center;
  line-height: 1.7;
}

/* ==========================================================
   Urgent floating bubble
   ========================================================== */
.urgent {
  position: fixed;
  right: max(12px, calc(50vw - 240px + 12px));
  bottom: calc(var(--footer-h) + 8px + env(safe-area-inset-bottom));
  background: #fff;
  border: 1.5px solid #FFD89C;
  border-radius: 14px;
  padding: 8px 12px 8px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 50;
  box-shadow: 0 6px 16px rgba(255, 140, 26, 0.25), 0 2px 6px rgba(0,0,0,.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.urgent.is-shown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.urgent::after {
  content: "";
  position: absolute;
  right: 56px;
  bottom: -7px;
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #FFD89C;
}
.urgent::before {
  content: "";
  position: absolute;
  right: 57px;
  bottom: -5px;
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fff;
  z-index: 1;
}
.urgent::after {
  content: "";
  position: absolute;
  right: 60px;
  bottom: -8px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #FFD89C;
}
.urgent::before {
  content: "";
  position: absolute;
  right: 61px;
  bottom: -6px;
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid var(--color-urgent-bg);
  z-index: 1;
}
.urgent__icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-phone-yellow);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.urgent__icon svg { width: 20px; height: 20px; }
.urgent__text {
  font-size: 11px;
  line-height: 1.35;
  color: var(--color-text);
}
.urgent__head {
  display: block;
  font-size: 12.5px;
  font-weight: 900;
  color: var(--color-urgent-text);
  margin-bottom: 1px;
}

@keyframes pulseUp {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ==========================================================
   Modal
   ========================================================== */
.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalIn .22s ease;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 48, .55);
  backdrop-filter: blur(2px);
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 32px 20px 22px;
  box-shadow: 0 20px 50px rgba(10, 22, 48, .35);
  text-align: center;
  animation: modalPanelIn .25s ease;
}
.modal__close {
  position: absolute;
  top: 8px; right: 8px;
  width: 36px; height: 36px;
  border: none; background: transparent;
  font-size: 24px;
  color: var(--color-text-sub);
  border-radius: 50%;
  line-height: 1;
}
.modal__close:hover { background: var(--color-bg-pale); }
.modal__icon {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  display: grid; place-items: center;
  background: var(--color-bg-pale);
  border-radius: 50%;
}
.modal__icon img { width: 34px; height: 34px; object-fit: contain; }
.modal__icon svg { width: 30px; height: 30px; }
.modal__icon svg { width: 30px; height: 30px; }
.modal__icon--lifeline {
  width: 88px; height: 88px;
  background: transparent;
}
.modal__icon--lifeline img { width: 80px; height: 80px; }
.modal__title {
  margin: 0 0 12px;
  font-size: clamp(16px, 4.4vw, 19px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--color-text);
}
.modal__body {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--color-text);
  text-align: left;
}
.modal__body strong {
  color: var(--color-primary);
  font-weight: 800;
}
.modal__bullets {
  list-style: none;
  padding: 12px 14px;
  margin: 0 0 16px;
  background: var(--color-bg-card);
  border-radius: 10px;
  text-align: left;
}
.modal__bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--color-text);
}
.modal__bullets li + li { margin-top: 4px; }
.modal__bullets li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--color-primary);
  font-weight: 900;
  font-size: 14px;
}
.modal__phone {
  background: var(--color-bg-pale);
  border-radius: 12px;
  padding: 12px 12px 10px;
  margin: 0 0 16px;
}
.modal__phone-label {
  display: block;
  font-size: 11px;
  color: var(--color-text-sub);
  font-weight: 700;
  margin-bottom: 2px;
}
.modal__phone-num {
  display: block;
  font-size: clamp(22px, 6.8vw, 26px);
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin: 2px 0 6px;
  white-space: nowrap;
}
.modal__phone-hours {
  display: block;
  font-size: 11.5px;
  color: var(--color-text-sub);
  line-height: 1.5;
}
.modal__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  position: relative;
  padding: 14px 14px;
  background: linear-gradient(180deg, #1E5BD6 0%, #0F2E80 100%);
  color: #fff;
  border-radius: 12px;
  font-size: clamp(13px, 3.8vw, 16px);
  font-weight: 900;
  letter-spacing: 0;
  box-shadow:
    0 10px 20px rgba(15, 46, 128, 0.40),
    inset 0 1px 0 rgba(255,255,255,.30);
  transition: transform .15s ease;
  white-space: nowrap;
}
.modal__cta:hover { transform: translateY(-2px); }
.modal__cta--ghost {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: none;
}
.modal__cta-arrow { font-size: 18px; line-height: 1; }
.modal__note {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--color-text-sub);
  line-height: 1.5;
}
body.modal-open { overflow: hidden; }
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPanelIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================
   Sticky bottom CTA
   ========================================================== */
.bottom-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 45;
  display: flex;
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding-bottom: env(safe-area-inset-bottom);
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 -4px 12px rgba(30, 91, 214, 0.08);
}
.bottom-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: var(--footer-h);
  font-weight: 900;
  font-size: clamp(11px, 3.2vw, 14px);
  text-align: center;
  line-height: 1.2;
  position: relative;
  white-space: nowrap;
}
.bottom-cta__btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.bottom-cta__btn--web {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid #B9D3F7;
  border-radius: 10px;
  margin: 6px 4px 6px 8px;
}
.bottom-cta__btn--tel {
  background: linear-gradient(180deg, #1E5BD6 0%, #0F2E80 100%);
  color: #fff;
  border-radius: 10px;
  margin: 6px 8px 6px 4px;
  box-shadow: 0 6px 14px rgba(15,46,128,.35);
}
.bottom-cta__sub {
  display: block;
  font-size: clamp(9px, 2.5vw, 10px);
  font-weight: 700;
  opacity: .94;
  margin-top: 1px;
}

/* ==========================================================
   PC layout
   ========================================================== */
@media (min-width: 720px) {
  body {
    background:
      linear-gradient(180deg, #E8F1FC 0%, #DCE9F8 100%) fixed;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
