:root {
  --bg: #fffafc;
  --surface: #ffffff;
  --surface-alt: #fff3f8;
  --text: #2d2430;
  --muted: #6d5b66;
  --line: #edd9e4;
  --accent: #c6508b;
  --accent-strong: #a83870;
  --accent-soft: #f8dbe8;
  --hub: #1a8fa8;
  --hub-strong: #0f6f86;
  --hub-soft: #e7f6fa;
  --shadow: 0 18px 45px rgba(106, 52, 82, 0.12);
  --radius: 24px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #ffeef5 0, transparent 32%),
    radial-gradient(circle at 90% 8%, #e8f8fc 0, transparent 28%),
    linear-gradient(180deg, #fffafc 0%, #fff 100%);
  line-height: 1.8;
}
a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 252, 0.88);
  border-bottom: 1px solid rgba(237, 217, 228, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  display: block;
  width: 140px;
  height: auto;
}
.brand-mark {
  display: inline-block;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1.5px solid rgba(200, 80, 139, 0.35);
  font-family: "Avenir Next", "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 28px;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--accent-strong);
  text-transform: uppercase;
  margin-right: -0.18em;
  font-feature-settings: "kern" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
}
.brand-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-social:hover { opacity: 0.88; text-decoration: none; }
.brand-social img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(106, 52, 82, 0.16);
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}
.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.nav-item a { color: inherit; }
.nav-item a.is-active { color: var(--accent-strong); }

.hero { padding: 64px 0 36px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}
.hero-card,
.panel,
.service-card,
.quote-card,
.contact-card,
.hub-card,
.step-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hub-card { padding: 28px; }
.hub-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}
.hub-card p,
.hub-card li {
  color: var(--muted);
}
.hub-card p { margin: 0; }
.hub-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}
.hero-card { padding: 40px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 13px;
}
h1 {
  margin: 18px 0;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero-lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 42rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s ease;
}
.button-primary {
  background: var(--accent);
  color: #fff;
}
.button-primary:hover {
  background: var(--accent-strong);
  text-decoration: none;
}
.button-secondary {
  border-color: var(--line);
  color: var(--text);
  background: #fff;
}
.button-secondary:hover {
  background: var(--surface-alt);
  text-decoration: none;
}
.button-hub {
  background: var(--hub);
  color: #fff;
}
.button-hub:hover {
  background: var(--hub-strong);
  text-decoration: none;
  color: #fff;
}
.hero-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat {
  padding: 16px;
  background: var(--surface-alt);
  border-radius: 18px;
}
.stat strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
}
.stat span {
  color: var(--muted);
  font-size: 13px;
}
.panel {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.panel h2,
.section-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}
.panel p { margin: 0; color: var(--muted); }
.hub-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--hub-soft);
  color: var(--hub-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.panel-address {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--hub-soft);
  color: var(--text);
  font-size: 14px;
}

main section { padding: 34px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 48rem;
}

.need-grid,
.service-grid,
.step-grid {
  display: grid;
  gap: 20px;
}
.need-grid,
.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.service-card,
.quote-card,
.contact-card,
.need-card,
.step-card {
  padding: 28px;
}
.need-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.need-card h3,
.service-card h3,
.contact-card h3,
.step-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}
.need-card p,
.service-card p,
.contact-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
}
.service-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.service-card li { margin: 0 0 6px; }
.service-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
}
.service-badge.hub {
  background: var(--hub-soft);
  color: var(--hub-strong);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
}
.hub-band {
  background:
    linear-gradient(130deg, #fff 0%, #e7f6fa 46%, #fff3f8 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hub-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}
.note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.footer {
  padding: 32px 0 48px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}
.bottom-nav,
.bottom-bars,
.ship-global-bottom-nav,
.ship-global-bottom-panel {
  display: none;
}

@media (max-width: 960px) {
  .hero-grid,
  .need-grid,
  .service-grid,
  .step-grid,
  .hub-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-card,
  .panel,
  .service-card,
  .need-card,
  .step-card,
  .contact-card,
  .hub-card {
    padding: 24px;
  }
  .hero-stats { grid-template-columns: 1fr; }
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 0;
  }
  .brand-logo { width: 120px; }
  .brand-mark {
    font-size: 22px;
    letter-spacing: 0.14em;
    margin-left: 8px;
    padding-left: 10px;
  }
  .brand-social img { width: 30px; height: 30px; }
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .nav {
    display: none;
    flex-direction: column;
    flex-basis: 100%;
    width: 100%;
    gap: 0;
    padding: 4px 0 6px;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 7px 4px;
    border-bottom: 1px solid rgba(237, 217, 228, 0.7);
    line-height: 1.25;
    font-size: 14px;
  }
  .nav-item:last-child { border-bottom: 0; }
  .bottom-bars {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    background: rgba(255, 250, 252, 0.96);
    border-top: 1px solid rgba(237, 217, 228, 0.95);
    backdrop-filter: blur(14px);
    box-shadow: 0 -8px 24px rgba(106, 52, 82, 0.08);
  }
  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: static;
    min-height: 56px;
    padding: 4px 4px 2px;
    background: transparent;
    border-top: 0;
    box-shadow: none;
  }
  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 48px;
    padding: 4px 2px;
    border-radius: 14px;
    color: var(--text);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }
  .bottom-nav-item:hover,
  .bottom-nav-item:focus-visible,
  .bottom-nav-item.is-active {
    background: var(--surface-alt);
    color: var(--accent-strong);
    text-decoration: none;
  }
  .bottom-nav-icon { font-size: 22px; line-height: 1; }
  .ship-global-bottom-nav {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    background: #fff3f8;
    border-top: 1px solid rgba(237, 217, 228, 0.95);
  }
  .ship-global-bottom-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 32px;
    margin: 0;
    padding: 0 8px calc(4px + env(safe-area-inset-bottom, 0px));
    border: 0;
    background: transparent;
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
  }
  .ship-global-bottom-chevron {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-135deg) translateY(1px);
    transition: transform 0.2s ease;
  }
  .bottom-bars.is-open .ship-global-bottom-chevron {
    transform: rotate(45deg) translateY(-2px);
  }
  .ship-global-bottom-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    z-index: 3;
    max-height: min(58vh, 420px);
    overflow-y: auto;
    padding: 10px 12px 12px;
    background: #ffffff;
    border-top: 1px solid rgba(237, 217, 228, 0.95);
    box-shadow: 0 -10px 28px rgba(106, 52, 82, 0.12);
  }
  .bottom-bars.is-open .ship-global-bottom-panel,
  .ship-global-bottom-panel:not([hidden]) {
    display: block;
  }
  .ship-global-bottom-category + .ship-global-bottom-category {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
  }
  .ship-global-bottom-category-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 800;
  }
  .ship-global-bottom-links { display: grid; gap: 4px; }
  .ship-global-bottom-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 7px 8px;
    border-radius: 10px;
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }
  .ship-global-bottom-links a img {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }
  .ship-global-bottom-links a:hover,
  .ship-global-bottom-links a.is-active {
    background: var(--surface-alt);
    text-decoration: none;
  }
  body { padding-bottom: calc(102px + env(safe-area-inset-bottom, 0px)); }
  .footer { padding-bottom: 24px; }
}
