:root {
  --bg: #f7f3ec;
  --surface: #fffdf9;
  --surface-strong: #fff7eb;
  --text: #1f1c18;
  --muted: #5f5a52;
  --border: #ded4c7;
  --accent: #c86c2f;
  --accent-deep: #9c4d1d;
  --accent-soft: #f0ddcc;
  --shadow: 0 14px 40px rgba(57, 38, 18, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 244, 228, 0.85), transparent 34%),
    linear-gradient(180deg, #faf5ee 0%, #f7f3ec 100%);
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 243, 236, 0.82);
  border-bottom: 1px solid rgba(222, 212, 199, 0.7);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a,
.footer-links a,
.text-link {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--text);
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.service-card,
.comparison-card,
.mini-card,
.cta-box,
.not-found-card {
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(222, 212, 199, 0.95);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-copy {
  padding: 36px;
}

.hero-panel {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.panel-card {
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffaf3 0%, #fff4e7 100%);
  border: 1px solid #eadbc9;
}

.panel-card-accent {
  background: linear-gradient(180deg, #f4e4d4 0%, #f9efe5 100%);
}

.panel-label,
.eyebrow,
.section-kicker,
.card-eyebrow {
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.panel-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.lead,
.section-heading p,
.service-content p,
.mini-card p,
.cta-box p,
.faq-list p,
.not-found-card p {
  margin: 0;
  color: var(--muted);
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 10px 24px rgba(156, 77, 29, 0.2);
}

.button-secondary {
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
}

.hero-points,
.feature-list,
.panel-card ul {
  margin: 22px 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.section {
  padding: 36px 0;
}

.section-tint {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.72) 0%, rgba(250, 245, 238, 0.86) 100%);
  border-top: 1px solid rgba(222, 212, 199, 0.55);
  border-bottom: 1px solid rgba(222, 212, 199, 0.55);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading.narrow {
  max-width: 680px;
}

.cards {
  display: grid;
  gap: 24px;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  background: linear-gradient(180deg, #fff8f0 0%, #f4ebdf 100%);
  aspect-ratio: 14 / 8;
  object-fit: cover;
}

.service-content {
  padding: 24px;
}

.feature-list {
  margin-bottom: 24px;
}

.comparison-card {
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

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

.comparison-table thead th {
  background: #fff7eb;
}

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

.mini-card {
  padding: 22px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 20px 22px;
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin-top: 12px;
}

.cta-box {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  padding: 24px 0 44px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.not-found-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.not-found {
  width: min(calc(100% - 32px), 760px);
}

.not-found-card {
  padding: 36px;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-up,
  .four-up,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-box {
    display: grid;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-copy,
  .service-content,
  .cta-box,
  .not-found-card {
    padding: 24px;
  }

  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tr {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
  }

  .comparison-table tbody tr:last-child {
    border-bottom: none;
  }

  .comparison-table th,
  .comparison-table td {
    border: none;
    padding: 4px 0;
  }
}
