:root {
  --text: #1f2937;
  --muted: #5f6c7b;
  --line: #d9e4ef;
  --blue: #1565c0;
  --blue-dark: #0f3f78;
  --cyan: #e7f7fb;
  --cyan-strong: #19a7ce;
  --orange: #f28c28;
  --orange-dark: #c96b10;
  --soft: #f7fbff;
  --white: #ffffff;
  --shadow: 0 16px 45px rgba(15, 63, 120, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-dark); font-weight: 800; }
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan-strong));
  border-radius: 8px;
}
.global-nav { display: flex; gap: 6px; align-items: center; }
.global-nav a { color: var(--text); font-size: 16px; font-weight: 700; padding: 8px 12px; border-radius: 8px; }
.global-nav a:hover { background: var(--cyan); text-decoration: none; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue-dark);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
}
.hero, .page-hero { background: linear-gradient(180deg, #eff9ff 0%, #ffffff 82%); }
.hero { padding: 56px 0 36px; }
.page-hero { padding: 48px 0; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 36px; align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.breadcrumb a::after { content: ">"; color: var(--muted); margin-left: 8px; }
.eyebrow { color: var(--blue); font-size: 15px; font-weight: 800; margin: 0 0 8px; }
h1, h2, h3 { color: var(--blue-dark); line-height: 1.35; letter-spacing: 0; }
h1 { font-size: clamp(32px, 6vw, 48px); margin: 0 0 18px; }
h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 16px; }
h3 { font-size: 22px; margin: 0 0 10px; }
.hero-lead { font-size: 20px; color: #324256; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  border: 2px solid transparent;
}
.button:hover { text-decoration: none; }
.button-primary { color: var(--white); background: var(--orange); box-shadow: 0 10px 24px rgba(242, 140, 40, 0.28); }
.button-primary:hover { color: var(--white); background: var(--orange-dark); }
.button-secondary { color: var(--blue-dark); border-color: var(--line); background: var(--white); }
.hero-visual { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 16px; box-shadow: var(--shadow); }
.notice {
  display: block;
  border-left: 5px solid var(--orange);
  background: #fff8ef;
  color: #554334;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 16px;
  margin: 18px 0 0;
}
.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.point-grid, .feature-grid, .compare-grid { display: grid; gap: 16px; }
.point-grid { grid-template-columns: repeat(3, 1fr); }
.point-card, .feature-card, .compare-card, .info-box, .warning-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 63, 120, 0.08);
}
.point-card { color: var(--blue-dark); font-weight: 800; padding: 18px; }
.point-card:hover { border-color: var(--cyan-strong); text-decoration: none; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr); gap: 28px; align-items: start; }
.info-box, .warning-box { padding: 24px; }
.warning-box { background: #fff8ef; border-color: #ffd6a3; }
.check-list, .compare-card ul { padding-left: 0; list-style: none; margin: 0; }
.check-list li, .compare-card li { position: relative; padding-left: 28px; margin: 10px 0; }
.check-list li::before, .compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan-strong);
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card { padding: 24px; }
.feature-card span {
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  margin-bottom: 14px;
  background: var(--cyan);
  position: relative;
}
.feature-card span::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 3px solid var(--blue);
  border-radius: 6px;
}
.icon-step::after { border-left-color: var(--orange); }
.icon-segment::after { border-radius: 50%; }
.icon-user::after { border-radius: 50% 50% 8px 8px; }
.icon-page::after { border-top-color: var(--orange); }
.icon-calendar::after { border-bottom-color: var(--orange); }
.icon-pay::after { border-right-color: var(--orange); }
.table-wrap { width: 100%; overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { border-bottom: 1px solid var(--line); padding: 16px; text-align: left; vertical-align: top; }
th { color: var(--white); background: var(--blue); font-weight: 800; }
tbody tr:nth-child(even) { background: #f9fcff; }
.split-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.split-list article { border-top: 5px solid var(--cyan-strong); background: var(--white); border-radius: 8px; padding: 22px; box-shadow: 0 10px 28px rgba(15, 63, 120, 0.08); }
.compare-grid { grid-template-columns: repeat(2, 1fr); }
.compare-card { padding: 24px; }
.compare-card.good { border-top: 5px solid var(--cyan-strong); }
.compare-card.caution { border-top: 5px solid var(--orange); }
.number-list { counter-reset: item; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.number-list li {
  counter-increment: item;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.number-list li::before {
  content: counter(item);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 800;
}
.faq-list { display: grid; gap: 12px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 0; }
summary { cursor: pointer; color: var(--blue-dark); font-weight: 800; padding: 18px 20px; }
details p { margin: 0; padding: 0 20px 20px; }
.final-cta { color: var(--white); background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }
.final-cta h2, .final-cta .eyebrow, .final-cta p { color: var(--white); }
.final-cta-inner { max-width: 820px; text-align: center; }
.site-footer { border-top: 1px solid var(--line); background: #f7fbff; padding: 28px 0; color: var(--muted); font-size: 16px; }
.footer-grid { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-grid nav, .footer-grid a { display: inline-flex; gap: 14px; color: var(--muted); }
.mobile-cta-banner {
  display: none;
}
.timeline { display: grid; gap: 16px; }
.timeline article { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--cyan-strong); border-radius: 8px; padding: 20px; box-shadow: 0 10px 28px rgba(15, 63, 120, 0.08); }
.timeline article h3 { margin-bottom: 8px; }
.hero-actions + .notice { margin-top: 8px; }
@media (max-width: 860px) {
  body { font-size: 17px; }
  .header-inner { flex-wrap: wrap; min-height: 64px; padding: 10px 0; }
  .site-logo { max-width: calc(100% - 100px); }
  .nav-toggle { display: inline-flex; }
  .global-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 8px 0; }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 12px; background: var(--soft); }
  .hero { padding-top: 32px; }
  .hero-grid, .two-column, .split-list, .compare-grid { grid-template-columns: 1fr; }
  .point-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions, .button { width: 100%; }
  .section { padding: 48px 0; }
}
@media (max-width: 767px) {
  .site-footer { padding-bottom: 118px; }
  .mobile-cta-banner {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 20;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 63, 120, 0.25);
    overflow: hidden;
    background: var(--white);
  }
  .mobile-cta-banner img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1120px); }
  h1 { font-size: 31px; }
  h2 { font-size: 25px; }
  .hero-lead { font-size: 18px; }
  .point-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero-visual { padding: 10px; }
  th, td { padding: 14px; }
}

/* PR表記 */
.pr-notice {
  background: var(--soft);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.pr-notice a {
  color: var(--blue);
  text-decoration: underline;
}

/* フッター関連 */
.footer-info-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}
.footer-info-nav a {
  color: var(--muted);
  font-size: 14px;
}
.footer-notice {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.footer-notice p {
  margin: 6px 0;
  font-size: 12px;
}
.footer-notice a {
  color: var(--blue);
  text-decoration: underline;
}

/* 運営者情報ページ用 */
.operator-info {
  line-height: 1.9;
}
.operator-details {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px 16px;
  margin: 24px 0;
}
.operator-details dt {
  font-weight: 700;
  color: var(--blue);
}
.operator-details dd {
  margin: 0;
}

/* プライバシーポリシー・免責事項ページ用 */
.privacy-content,
.disclaimer-content,
.contact-content,
.sitemap-content {
  max-width: 900px;
}
.privacy-content h2,
.disclaimer-content h2,
.contact-content h2,
.sitemap-content h2 {
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--blue);
}
.privacy-content h3,
.disclaimer-content h3,
.contact-content h3,
.sitemap-content h3 {
  margin-top: 20px;
  margin-bottom: 12px;
  color: var(--blue-dark);
}
.privacy-content p,
.disclaimer-content p,
.contact-content p,
.sitemap-content p {
  margin: 12px 0;
}

.warning-box {
  background: #fff3cd;
  border-left: 4px solid var(--orange);
  padding: 16px;
  margin: 16px 0;
  border-radius: 4px;
}

.contact-method {
  background: var(--soft);
  padding: 16px;
  margin: 16px 0;
  border-radius: 8px;
  border-left: 4px solid var(--blue);
}

.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.sitemap-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.sitemap-list a {
  color: var(--blue);
}

.last-update {
  display: block;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
