:root {
  --primary: #1565c0;
  --on-primary: #ffffff;
  --primary-container: #d6e3ff;
  --on-primary-container: #001b3d;
  --secondary: #006a6a;
  --background: #f7f9fc;
  --surface: #ffffff;
  --on-surface: #1a1c1e;
  --on-surface-variant: #44474e;
  --outline: #c4c7cf;
  --bar: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", "Roboto", "Hiragino Sans", sans-serif;
  color: var(--on-surface);
  background: var(--background);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--primary);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bar);
  box-shadow: 0 1px 2px rgba(26, 28, 30, 0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-surface);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.mark {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 9px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 4px;
  font-size: 0.88rem;
}

.nav a {
  color: var(--on-surface-variant);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 20px;
}

.nav a:hover {
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.nav a[aria-current="page"] {
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 32px;
}

.kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.lede {
  margin: 0;
  font-size: 1rem;
  max-width: 38rem;
  color: var(--on-surface-variant);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-primary:hover {
  background: #0d47a1;
}

.btn-ghost {
  background: var(--primary-container);
  color: var(--on-primary-container);
}

.phone {
  width: min(280px, 100%);
  margin: 0 auto;
  background: #e8eef6;
  border: 8px solid #1a1c1e;
  border-radius: 28px;
  padding: 10px 10px 16px;
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.12);
}

.phone-bar {
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px;
  padding: 8px 4px 40px;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.tile span {
  font-size: 0.62rem;
  color: var(--on-surface-variant);
  max-width: 52px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-fab {
  width: 40px;
  height: 40px;
  margin-left: auto;
  margin-right: 8px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 0 64px;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(26, 28, 30, 0.06);
}

.card h2 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  color: var(--on-surface-variant);
  font-size: 0.94rem;
}

.legal {
  padding: 32px 0 72px;
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal h2 {
  font-size: 1.05rem;
  margin-top: 32px;
  color: var(--on-primary-container);
}

.legal p,
.legal li {
  color: var(--on-surface-variant);
}

.meta {
  color: var(--on-surface-variant);
  font-size: 0.85rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(26, 28, 30, 0.06);
}

th,
td {
  border-bottom: 1px solid var(--outline);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

tr:last-child th,
tr:last-child td {
  border-bottom: none;
}

th {
  width: 30%;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-weight: 700;
  font-size: 0.88rem;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--outline);
  padding: 24px 0 32px;
  color: var(--on-surface-variant);
  font-size: 0.85rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--on-surface-variant);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary);
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .phone {
    order: -1;
  }

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

  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0 12px;
  }

  th {
    width: 36%;
  }
}
