:root {
  --font-base: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --color-primary: #0077c8;
  --color-primary-dark: #005a96;
  --color-accent: #00a0e9;
  --color-background: #f5fbff;
  --color-text: #1e2a35;
  --color-muted: #5c6b7a;
  --color-border: #dde9f3;
  --shadow-soft: 0 16px 40px rgba(0, 85, 130, 0.12);
  --shadow-card: 0 10px 20px rgba(0, 45, 85, 0.12);
  --max-width: 1100px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: #ffffff;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 18px rgba(0, 45, 85, 0.1);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.brand-main {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.95rem;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  padding: 0;
  margin: 0;
  font-weight: 500;
}

.site-nav a {
  color: var(--color-muted);
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--color-primary);
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
}

.cta-phone span {
  font-size: 0.85rem;
  font-weight: 400;
}

.hero {
  position: relative;
  padding: calc(var(--header-height) + 48px) 0 80px;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.65), transparent 55%),
    radial-gradient(circle at 90% 16%, rgba(0, 119, 200, 0.35), transparent 40%),
    linear-gradient(135deg, rgba(0, 119, 200, 0.18) 0%, rgba(0, 160, 233, 0.05) 60%, rgba(255, 255, 255, 0) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: radial-gradient(circle at 20% 10%, rgba(0, 160, 233, 0.25), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(142, 214, 255, 0.3), transparent 60%);
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

.page-hero {
  padding: calc(var(--header-height) + 36px) 0 60px;
  background: linear-gradient(135deg, rgba(0, 119, 200, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}

.page-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(1.8rem, 2.2vw + 1rem, 2.6rem);
}

.page-hero-lede {
  max-width: 720px;
  color: var(--color-muted);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(245, 251, 255, 1) 90%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: stretch;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 3vw + 0.8rem, 2.8rem);
  margin: 16px 0;
}

.hero-lede {
  color: var(--color-muted);
  margin-bottom: 24px;
}

.hero-alert {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 90, 90, 0.95), rgba(255, 180, 0, 0.85));
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 15px 30px rgba(245, 85, 85, 0.35);
  transform: translateY(-12px);
}

.hero-alert strong {
  font-weight: 800;
}

.hero-alert-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-alert-text {
  font-size: 0.95rem;
  display: inline-flex;
  gap: 6px;
}

.hotline-banner {
  margin: 18px 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(0, 119, 200, 0.15), rgba(0, 160, 233, 0.05));
  border: 1px solid rgba(0, 119, 200, 0.25);
  box-shadow: 0 12px 28px rgba(0, 119, 200, 0.12);
  color: var(--color-text);
  font-weight: 600;
}

.hotline-banner .highlight {
  font-size: 1.2em;
  color: var(--color-primary);
  font-weight: 800;
}

.badge-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: #ff5b5b;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  animation: pulse 1.4s infinite;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(0, 119, 200, 0.12);
  border: 1px solid rgba(0, 119, 200, 0.08);
  display: grid;
  gap: 6px;
}

.hero-stats strong {
  font-size: 1.1rem;
  color: var(--color-primary-dark);
}

.hero-stats span {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.hero-direct {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.hero-direct-call {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(0, 160, 233, 0.18));
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 14px 28px rgba(0, 119, 200, 0.18);
  border: 1px solid rgba(0, 119, 200, 0.15);
  display: grid;
  gap: 6px;
}

.hero-direct-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.hero-direct-number {
  font-size: clamp(1.4rem, 2.4vw + 0.6rem, 1.9rem);
  font-weight: 800;
  color: var(--color-primary-dark);
  text-decoration: none;
}

.hero-direct-number:hover {
  text-decoration: underline;
}

.hero-direct-note {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hero-direct-reasons {
  margin: 0;
  padding-left: 20px;
  color: var(--color-muted);
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 20px;
  align-content: start;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: -18% -12% 10% 30%;
  background: radial-gradient(circle at top, rgba(0, 160, 233, 0.35), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(0, 119, 200, 0.25), transparent 55%);
  z-index: -1;
  pointer-events: none;
}

.hero-callout {
  background: linear-gradient(140deg, rgba(0, 160, 233, 0.2), rgba(0, 119, 200, 0.55));
  border-radius: 22px;
  padding: 24px;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 90, 150, 0.25);
  display: grid;
  gap: 12px;
}

.hero-callout-lead {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.3rem, 1.6vw + 0.6rem, 1.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-callout-lead span {
  font-size: 1.4em;
}

.hero-callout-text {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-callout .cta-outline {
  align-self: start;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-callout .cta-outline:hover {
  background: rgba(255, 255, 255, 0.18);
}

.phone-link {
  color: var(--color-primary);
  font-weight: 700;
}


.trust-strip {
  background: linear-gradient(180deg, rgba(0, 119, 200, 0.08) 0%, rgba(255, 255, 255, 1) 90%);
  padding: 36px 0;
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.trust-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(0, 119, 200, 0.12);
  box-shadow: 0 10px 20px rgba(0, 119, 200, 0.12);
}

.trust-item p {
  margin: 0;
  display: grid;
  gap: 4px;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.trust-item strong {
  font-size: 1rem;
  color: var(--color-primary-dark);
}

.trust-icon {
  font-size: 1.6rem;
}

.social-proof {
  background: linear-gradient(180deg, #ffffff 0%, rgba(0, 119, 200, 0.08) 100%);
}

.social-proof-header {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.social-proof-header mark {
  background: rgba(255, 211, 140, 0.35);
  padding: 0 6px;
  border-radius: 6px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(0, 119, 200, 0.12);
  box-shadow: 0 12px 24px rgba(0, 45, 85, 0.12);
  display: grid;
  gap: 12px;
  color: var(--color-text);
}

.testimonial-card footer {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.testimonial-rating span {
  background: linear-gradient(120deg, #ffd700, #ff8c00);
  -webkit-background-clip: text;
  color: transparent;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.social-proof-cta {
  margin-top: 28px;
  text-align: center;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.social-proof-cta a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.faq {
  background: linear-gradient(180deg, rgba(0, 160, 233, 0.08) 0%, rgba(255, 255, 255, 1) 90%);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.faq-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(0, 119, 200, 0.18);
  box-shadow: 0 14px 28px rgba(0, 90, 150, 0.1);
  display: grid;
  gap: 12px;
}

.faq-item h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
}

.faq-item p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.sp-only {
  display: none;
}
.hero-kicker {
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.cta-primary,
.cta-secondary,
.cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cta-primary {
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff;
}

.cta-secondary {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #ffffff;
}

.cta-outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.cta-primary:hover,
.cta-secondary:hover,
.cta-outline:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

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

.hero-points li::before {
  content: '✔';
  color: var(--color-accent);
  margin-right: 8px;
}

.hero-points li {
  color: var(--color-muted);
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.hero-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 119, 200, 0.08);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: grid;
  gap: 12px;
  font-weight: 500;
  color: var(--color-muted);
}

.hero-card-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.hero-card-footer span {
  color: var(--color-muted);
}

.phone-link {
  color: var(--color-primary);
  font-weight: 600;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--color-background);
}

.section h2 {
  font-size: clamp(1.6rem, 2vw + 0.8rem, 2.2rem);
  margin-bottom: 16px;
}

.section-lede {
  color: var(--color-muted);
  margin-bottom: 40px;
}

.pricing-intro .section-lede {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 24px rgba(0, 65, 120, 0.08);
}

.feature-item h3 {
  margin-top: 0;
  color: var(--color-primary);
}

.pricing-header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.pricing-intro {
  display: grid;
  gap: 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.pricing-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 32px;
  border: 1px solid rgba(0, 119, 200, 0.15);
  box-shadow: 0 18px 34px rgba(0, 90, 150, 0.12);
}

.pricing-card h3 {
  margin: 0 0 18px;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pricing-card h3::after {
  content: '';
  display: inline-block;
  height: 2px;
  flex: 1;
  min-width: 120px;
  background: linear-gradient(90deg, rgba(0, 119, 200, 0.45), rgba(0, 160, 233, 0));
}

.pricing-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(0, 119, 200, 0.12), rgba(0, 160, 233, 0.08));
  border: 1px solid rgba(0, 119, 200, 0.18);
  color: var(--color-primary-dark);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 119, 200, 0.14);
}

.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 160, 233, 0.12);
  color: var(--color-primary-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.price-tag-featured {
  background: linear-gradient(120deg, #ffb347, #ff6b6b);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(255, 107, 107, 0.35);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.price-table thead th {
  background: linear-gradient(120deg, rgba(0, 119, 200, 0.7), rgba(0, 160, 233, 0.6));
  color: #ffffff;
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
}

.price-table th,
.price-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr.table-featured {
  background: rgba(255, 236, 209, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 153, 102, 0.35);
}

.price-table tbody tr:nth-child(even):not(.table-featured) {
  background: rgba(0, 119, 200, 0.04);
}

.price-table ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--color-muted);
}

.price-table tbody th {
  color: var(--color-text);
  font-weight: 600;
  width: 38%;
}

.price-table tbody td:nth-child(2) {
  white-space: nowrap;
  text-align: center;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.cta-strip {
  background: linear-gradient(135deg, rgba(0, 119, 200, 0.92), rgba(0, 160, 233, 0.8));
  color: #ffffff;
  padding: 42px 0;
  position: relative;
  overflow: hidden;
}

.cta-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.35), transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.25), transparent 50%);
  pointer-events: none;
  opacity: 0.9;
}

.cta-strip-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.cta-strip-lede {
  font-size: clamp(1.2rem, 1.6vw + 0.8rem, 1.6rem);
  font-weight: 700;
  margin: 0 0 8px;
}

.cta-strip-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-strip-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.areas-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 28px;
}

.areas-list ul {
  padding-left: 18px;
  color: var(--color-muted);
}

.areas-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(0, 119, 200, 0.1);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.work-card {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.work-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.work-card figcaption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(5, 28, 44, 0) 0%, rgba(5, 28, 44, 0.8) 100%);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.floating-phone {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-phone-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff7b54, #ffb347);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 18px 32px rgba(255, 123, 84, 0.35);
  animation: float 3s ease-in-out infinite;
}

.floating-phone-number {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.floating-phone-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.floating-phone.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}

.contact {
  background: linear-gradient(180deg, rgba(0, 119, 200, 0.08) 0%, rgba(255, 255, 255, 1) 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}

.contact-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(230, 244, 255, 0.85));
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.contact-card.single {
  max-width: 560px;
}

.contact-card dl {
  margin: 24px 0 0;
}

.contact-card dt {
  font-weight: 700;
  color: var(--color-primary);
}

.contact-card dd {
  margin: 4px 0 16px;
  color: var(--color-muted);
}


.contact-cta {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.contact-cta .cta-primary {
  align-self: start;
  justify-self: start;
}

.privacy-note {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.site-footer {
  background: #051c2c;
  color: rgba(255, 255, 255, 0.85);
  padding: 32px 0 16px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: center;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-contact,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.privacy {
  padding: 40px 0 80px;
  background: #f8fbff;
}

.privacy h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: var(--color-primary-dark);
}

.privacy h3:first-of-type {
  margin-top: 24px;
}

.privacy ol {
  margin: 0 0 24px 20px;
  padding: 0;
  color: var(--color-muted);
  display: grid;
  gap: 8px;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: -1;
  }

  .hero-alert {
    justify-self: stretch;
  }

  .hero-visual {
    order: -1;
  }

  .hero-direct {
    grid-template-columns: 1fr;
  }

  .pricing-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }

  .pricing-highlight {
    justify-content: center;
  }

  .areas-wrapper,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .cta-strip-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-strip-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    padding: 12px 18px;
    margin-right: 24px;
    box-shadow: var(--shadow-card);
    transform-origin: top right;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.is-active {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .cta-phone {
    display: none;
  }

  .floating-phone {
    right: 16px;
    left: 16px;
  }

  .floating-phone-button {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }

  .trust-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 560px) {
  body {
    font-size: 0.95rem;
  }

  .hero {
    padding: calc(var(--header-height) + 24px) 0 60px;
  }

  .hero-alert {
    flex-direction: column;
    text-align: center;
  }

  .feature-item,
  .pricing-card,
  .contact-card {
    padding: 22px;
  }

  .work-card {
    min-height: 120px;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-direct-reasons {
    padding-left: 16px;
  }

  .hero-callout,
  .hero-card {
    text-align: center;
  }

  .hero-callout .cta-outline {
    justify-content: center;
    width: 100%;
  }

  .trust-strip-inner {
    grid-template-columns: 1fr;
  }

  .sp-only {
    display: inline;
  }

  .pricing-card {
    padding: 24px;
  }

  .price-table {
    display: block;
    width: 100%;
  }

  .price-table thead {
    display: none;
  }

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

  .price-table tr {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 22px rgba(0, 90, 150, 0.08);
  }

  .price-table th,
  .price-table td {
    display: grid;
    grid-template-columns: minmax(12ch, 45%) 1fr;
    gap: 8px;
    padding: 0;
    border: none;
    text-align: left;
    word-break: break-word;
  }

  .price-table th::before,
  .price-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--color-primary-dark);
  }

  .price-table tbody th {
    font-size: 1.05rem;
  }

  .price-table tbody td:nth-child(2) {
    justify-content: flex-start;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 91, 91, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 91, 91, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 91, 91, 0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ==== Mobile: Pricing tables as cards (<= 640px) ==== */
@media (max-width: 640px) {

  /* ヘッダーは非表示にして行を“カード”に */
  #pricing .price-table thead { display: none !important; }

  /* 行全体をカード化 */
  #pricing .price-table tbody tr {
    display: grid !important;
    grid-template-columns: 1fr auto;           /* 左: タイトル / 右: 価格 */
    grid-template-areas:
      "title price"
      "desc  desc";
    gap: 10px 12px;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0, 90, 150, 0.08);
  }

  /* 連続カードの間隔 */
  #pricing .price-table tbody { display: grid; gap: 16px; }

  /* 既存の“ラベル表示”を抑止（カードでは不要） */
  #pricing .price-table th::before,
  #pricing .price-table td::before { content: none !important; display: none !important; }

  /* 左上：タイトルセル（th） */
  #pricing .price-table tbody th[scope="row"] {
    grid-area: title;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    font-size: 1.06rem;
    font-weight: 700;
    color: var(--color-text);
  }

  /* 右上：価格セル（2列目のtd） */
  #pricing .price-table tbody td:nth-child(2) {
    grid-area: price;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    justify-self: end;
    align-self: start;
    text-align: right;
  }

  /* 下段：説明セル（3列目以降をまとめて下段に流す） */
  #pricing .price-table tbody td:nth-child(n+3) {
    grid-area: desc;
    margin-top: 6px;
    padding: 0 !important;
    border: 0 !important;
    color: var(--color-muted);
    line-height: 1.6;
  }

  /* 価格タグを少し大きく＆指で押しやすく */
  #pricing .price-tag {
    padding: 6px 14px;
    font-size: 0.98rem;
    box-shadow: 0 8px 16px rgba(0, 160, 233, 0.18);
  }

  /* “おすすめ”行の強調（table-featured）もカード調整 */
  #pricing .price-table tbody tr.table-featured {
    background: linear-gradient(180deg, rgba(255,236,209,0.85), #fff);
    box-shadow: inset 0 0 0 1px rgba(255, 153, 102, 0.35), 0 12px 24px rgba(255, 153, 102, 0.18);
  }

  /* 行内の箇条書き（“内訳”など）もカードに馴染むよう微調整 */
  #pricing .price-table ul {
    padding-left: 18px;
    margin: 4px 0 0;
    display: grid;
    gap: 6px;
  }
}

@media (max-width: 640px) {

  /* 金額セル */
  #pricing .price-table tbody td:nth-child(2) {
    grid-area: price;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    justify-self: center;
    align-self: start;
    text-align: center;
  }

  /* 金額ラベル */
  #pricing .price-tag {
    display: inline-block;
    max-width: 120%;        /* カードからはみ出さないように最大幅制御 */
    padding: 6px 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    background: #e6f5ff;
    color: #0077cc;
    text-align: center;

    /* 改行を許可してはみ出し防止 */
    white-space: normal;    
    word-break: break-word; /* 長い数値でも折り返し可能に */
    line-height: 1.4;
  }
}