:root {
  --navy: #2B5E8C;
  --blue: #2FA9F5;
  --yellow: #FFD95A;
  --line: #27C24C;
  --white: #ffffff;
  --text: #16325c;
  --muted: #5b6e8d;
  --pale-blue: #eaf7ff;
  --pale-yellow: #fff7d9;
  --card-border: #bfe6fb;
  --shadow: 0 16px 38px rgba(3, 43, 108, 0.12);
  --soft-shadow: 0 8px 22px rgba(3, 43, 108, 0.10);
  --hero-lead-size: clamp(18px, 5vw, 22px);
  --hero-title-size: clamp(42px, 13vw, 58px);
  --section-title-size: 18px;
  --body-size: 12px;
  --card-title-size: 14px;
  --button-size: 15px;
  --highlight-bg: #FFD95A;
  --highlight-text: #032B6C;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(47, 169, 245, 0.12), transparent 32%),
    linear-gradient(180deg, var(--site-bg, #f7fbff) 0%, #eef8ff 100%);
  color: var(--text);
  font-family: var(--font-base, "Noto Sans JP"), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.phone-preview {
  width: min(100%, 430px);
  margin: 0 auto;
  background: var(--white);
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(3, 43, 108, 0.06), 0 24px 70px rgba(3, 43, 108, 0.16);
}

.lp {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 58%, #eff9ff 100%);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--soft-shadow);
  white-space: nowrap;
}

.hero {
  position: relative;
  padding: 86px 16px 12px;
  background:
    radial-gradient(circle at 80% 20%, rgba(47, 169, 245, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f3fbff 58%, #dff5ff 100%);
  border-bottom: 1px solid rgba(47, 169, 245, 0.16);
}

.hero-top-row {
  position: absolute;
  top: 18px;
  left: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-logo {
  position: relative;
  width: 108px;
  max-width: 32%;
  height: auto;
}

.hero-top-text {
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
  width: min(60%, 240px);
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -54px;
  width: 280px;
  height: 150px;
  border-radius: 60% 40% 0 0;
  background: rgba(47, 169, 245, 0.22);
  transform: rotate(-8deg);
}

.hero-bg-dot {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 217, 90, 0.58);
  filter: blur(1px);
}

.dot-1 {
  top: 106px;
  left: -22px;
  width: 72px;
  height: 72px;
}

.dot-2 {
  right: 18px;
  top: 122px;
  width: 28px;
  height: 28px;
  background: rgba(47, 169, 245, 0.18);
}

.hero-badges,
.hero-title-wrap,
.hero-detail-layout {
  position: relative;
  z-index: 2;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.pill {
  padding: 9px 12px;
  font-size: 12px;
}

.hero-badges strong {
  color: var(--navy);
  font-size: 13px;
  line-height: 1.3;
  text-align: right;
}

.hero-title-wrap {
  width: 100%;
  margin-bottom: 0;
}

.hero-lead {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: var(--hero-lead-size, clamp(18px, 5vw, 22px));
  line-height: 1.35;
  font-weight: 900;
}

.hero h1 {
  margin: 14px 0 0;
  width: 100%;
  color: var(--navy);
  font-size: var(--hero-title-size, clamp(42px, 13vw, 58px));
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: none;
}

.hero-subcopy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-line;
}

.hero-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44%;
  align-items: start;
  gap: 14px;
  margin-top: 20px;
  min-height: 120px;
}

.hero-copy {
  min-width: 0;
  align-self: end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-sub {
  display: inline-flex;
  position: relative;
  top: -18px;
  width: max-content;
  white-space: nowrap;
  margin: 10px 0 14px;
  padding: 12px 14px;
  border-radius: 20px;
  background: var(--yellow);
  color: var(--navy);
  font-size: var(--card-title-size, 14px);
  line-height: 1.35;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(255, 217, 90, 0.34);
}

.hero-checks {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.3;
}

.hero-checks span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
}

.hero-checks svg {
  width: 13px;
  height: 13px;
}

.hero-visual {
  position: relative;
  align-self: end;
  min-width: 0;
  margin-left: -18px;
  margin-right: -6px;
  margin-bottom: -8px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 34% 2% 0 6%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 169, 245, 0.16), transparent 70%);
}

.hero-visual img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 16px 20px rgba(3, 43, 108, 0.13));
  transform: translateY(-3mm);
}

.sparkle,
.sparkle::after {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--blue);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
}

.sparkle::after {
  content: "";
  transform: scale(0.54) translate(28px, 24px);
  opacity: 0.5;
}

.sparkle-1 {
  left: 4px;
  top: 36px;
}

.sparkle-2 {
  right: 4px;
  top: 122px;
  transform: scale(0.78);
  opacity: 0.72;
}

.section {
  margin: 14px 12px;
  padding: 14px 12px 16px;
  border: 1px solid rgba(47, 169, 245, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: var(--section-title-size, 18px);
  line-height: 1.3;
  font-weight: 900;
  white-space: nowrap;
}

.section-heading p {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.heading-line {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(47, 169, 245, 0.75), transparent);
}

.problem-grid,
.reason-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.problem-card,
.reason-card,
.service-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
  box-shadow: 0 8px 18px rgba(3, 43, 108, 0.07);
}

.problem-card {
  display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 8px;
    min-height: 86px;
    padding: 10px;
  }

  .card-icon,
  .reason-icon,
  .service-icon,
  .area-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
  }

  .card-icon svg {
    width: 44px;
    height: 44px;
    color: var(--blue);
  }

.problem-card p {
  margin: 0;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 900;
}

.solution-band {
  margin: 10px 12px 12px;
  padding: 15px 14px;
  text-align: center;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(47, 169, 245, 0.18), rgba(255, 217, 90, 0.35), rgba(47, 169, 245, 0.18)),
    #ffffff;
  border: 1px solid rgba(47, 169, 245, 0.25);
}

.solution-band h2 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 900;
}

.solution-band p {
  margin: 7px 0 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.75;
}

.reason-card {
  position: relative;
  padding: 12px 10px 13px;
  overflow: hidden;
  text-align: center;
}

.reason-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  background: rgba(47, 169, 245, 0.1);
}

.reason-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
}

.reason-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  line-height: 1;
}

.reason-icon svg {
  width: 42px;
  height: 42px;
  color: var(--navy);
}

.reason-card h3,
.service-card h3,
.price-row h3 {
  margin: 7px 0 0;
  color: var(--navy);
  font-size: var(--card-title-size, 14px);
  line-height: 1.35;
  font-weight: 900;
}

.reason-card p,
.service-card p {
  position: relative;
  z-index: 1;
  margin: 7px 0 0;
  color: var(--text);
  font-size: 11px;
  line-height: 1.6;
}

.service-card {
  position: relative;
  padding: 12px 10px;
  text-align: center;
}

.service-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
}

.service-icon {
    height: 56px;
  }

  .service-icon svg {
    width: 68px;
    height: 54px;
    color: var(--navy);
  }

.price-table {
  display: grid;
  gap: 8px;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #f7fcff);
}

.price-row h3 {
  margin: 0;
}

.price-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.price-row strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 8px 9px;
  border-radius: 999px;
  background: var(--pale-yellow);
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  border: 1px solid rgba(255, 217, 90, 0.9);
}

.price-note,
.area-note {
  margin: 10px 2px 0;
  padding: 10px 11px;
  border-radius: var(--radius-sm);
  background: rgba(255, 217, 90, 0.22);
  color: var(--text);
  font-size: 11px;
  line-height: 1.7;
}

.area-map-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #f7fcff);
}

.area-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: var(--pale-blue);
  }

.area-icon svg {
  width: 50px;
  height: 50px;
  color: var(--blue);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.area-list li {
  padding: 6px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  border: 1px solid rgba(47, 169, 245, 0.36);
  font-size: 11px;
  line-height: 1;
}

.final-cta {
  position: relative;
  margin: 14px 12px 0;
  padding: 20px 14px 16px;
  border-radius: 26px 26px 18px 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(47, 169, 245, 0.45), transparent 38%),
    linear-gradient(135deg, #032B6C, #07539d 72%, #032B6C);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.final-cta::before {
  left: -40px;
  top: -60px;
}

.final-cta::after {
  right: -44px;
  bottom: -64px;
}

.final-cta h2,
.final-cta p,
.cta-stack {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin: 0;
  color: var(--white);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 900;
}

.final-cta p {
  margin: 8px 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.75;
}

.cta-stack {
  display: grid;
  gap: 9px;
}

.cta-button {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 12px;
  border-radius: 18px;
  color: var(--white);
  text-align: left;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.cta-button:hover,
.cta-button:focus-visible,
.bottom-btn:hover,
.bottom-btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.cta-button:active,
.bottom-btn:active {
  transform: translateY(1px) scale(0.98);
}

.is-tel {
  background: var(--blue);
}

.is-line {
  background: #53c96a;
}

.is-quote {
  background: var(--yellow);
  color: var(--navy);
}

.cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
}

.cta-icon svg {
  width: 32px;
  height: 32px;
}

.cta-texts {
  display: grid;
  gap: 3px;
}

.cta-texts strong {
  font-size: var(--button-size, 15px);
  line-height: 1.2;
  font-weight: 900;
}

.cta-texts small {
  font-size: 10px;
  line-height: 1.2;
  opacity: 0.88;
}

.cta-arrow {
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.line-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--line);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.lp-footer {
  padding: 18px 16px 8px;
  color: var(--muted);
  text-align: center;
}

.lp-footer strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
}

.lp-footer p {
  margin: 6px 0 0;
  font-size: 10px;
  line-height: 1.7;
}

.bottom-fixed-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: min(100%, 430px);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(47, 169, 245, 0.25);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
  box-shadow: 0 -12px 30px rgba(3, 43, 108, 0.12);
}

.bottom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  border-radius: 18px;
  color: var(--white);
  box-shadow: 0 10px 18px rgba(3, 43, 108, 0.14);
  transition: transform 0.18s ease, filter 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.bottom-btn svg {
  width: 22px;
  height: 22px;
}

.bottom-btn strong {
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
}

.bottom-tel {
  background: var(--blue);
  color: #ffffff;
}

.bottom-line {
  background: #53c96a;
}

.section-animate {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 389px) {

  .hero h1 {
    font-size: 43px;
  }

  .hero-sub {
    font-size: 12px;
  }

  .hero-detail-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    width: 58%;
    margin: 8px 0 0 auto;
  }

  .section-heading h2 {
    font-size: 16px;
  }

  .problem-card {
    grid-template-columns: 36px 1fr;
    padding: 9px 8px;
  }

  .problem-card p,
  .reason-card p,
  .service-card p {
    font-size: 10px;
  }
}

@media (min-width: 431px) {
  .phone-preview {
    margin-top: 28px;
    margin-bottom: 28px;
    border-radius: 30px;
    overflow: hidden;
  }

  .bottom-fixed-cta {
    border-radius: 22px 22px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .section-animate {
    opacity: 1;
    transform: none;
  }
}

/* content.jsで画像アイコン・絵文字アイコン・文字アイコンに変更した時の表示調整 */
.icon-image {
  width: 1em;
  height: 1em;
  object-fit: contain;
}

.emoji-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: 1em;
  line-height: 1;
}

.label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 22px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--line);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.card-icon .icon-image,
.card-icon .emoji-icon {
    width: 44px;
    height: 44px;
    font-size: 42px;
  }

  .reason-icon .icon-image,
  .reason-icon .emoji-icon {
    width: 42px;
    height: 42px;
    font-size: 40px;
  }

  .service-icon .icon-image,
  .service-icon .emoji-icon {
    width: 68px;
    height: 54px;
    font-size: 52px;
  }

  .area-icon .icon-image,
  .area-icon .emoji-icon {
    width: 50px;
    height: 50px;
    font-size: 46px;
  }

  .cta-icon .icon-image,
  .cta-icon .emoji-icon {
    width: 32px;
    height: 32px;
    font-size: 30px;
  }

  .bottom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

.bottom-icon svg,
.bottom-icon .icon-image,
.bottom-icon .emoji-icon {
    width: 26px;
    height: 26px;
    font-size: 26px;
  }

/* content.js の [[ ]] / {{ }} / ** ** / 《 》 で使う強調表示 */
.text-marker {
  display: inline;
  padding: 0 0.18em;
  border-radius: 0.25em;
  background: linear-gradient(transparent 55%, var(--highlight-bg, #FFD95A) 55%);
  color: var(--highlight-text, #032B6C);
  font-weight: 900;
}

.text-accent {
  color: var(--blue);
  font-weight: 900;
}

.hero h1 .text-accent {
  display: inline-block;
  animation: hero-brand-color 10000ms ease-in-out infinite,
             hero-brand-wave 10000ms ease-in-out infinite;
  transform-origin: center;
}

@keyframes hero-brand-color {
  0% {
    color: var(--navy);
  }
  40% {
    color: var(--blue);
  }
  70% {
    color: #FF6B7F;
  }
  100% {
    color: var(--navy);
  }
}

@keyframes hero-brand-wave {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-4px) rotate(-1deg);
  }
  50% {
    transform: translateY(2px) rotate(0.5deg);
  }
  75% {
    transform: translateY(-2px) rotate(-0.5deg);
  }
}

.text-strong {
  font-weight: 900;
}

.text-kenten {
  font-weight: 900;
  text-emphasis-style: filled dot;
  text-emphasis-color: var(--blue);
  -webkit-text-emphasis-style: filled dot;
  -webkit-text-emphasis-color: var(--blue);
  text-emphasis-position: over right;
  -webkit-text-emphasis-position: over right;
}

/* designType 切り替え用 */
.lp-design-premium .section {
  border-color: rgba(3, 43, 108, 0.20);
}

.lp-design-clean .hero {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.lp-design-friendly .section,
.lp-design-friendly .problem-card,
.lp-design-friendly .reason-card,
.lp-design-friendly .service-card {
  border-radius: 26px;
}

.lp-design-friendly .hero h1 {
  text-shadow: 0 5px 0 rgba(255, 217, 90, 0.22);
}
