/* チェックアウトページ専用スタイル */
:root {
  --checkout-bg: #f8f9fa;
  --checkout-text: #202124;
  --checkout-primary: #1a73e8;
  --checkout-border: #dadce0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: auto;
  overflow: auto;
  background: var(--checkout-bg);
}

body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--checkout-text);
  line-height: 1.6;
}

.checkout-header {
  background: #fff;
  border-bottom: 1px solid var(--checkout-border);
  padding: 0.625rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.checkout-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--checkout-text);
}

.checkout-logo img {
  height: 32px;
  width: auto;
}

.checkout-logo-text {
  font-size: 0.875rem;
  font-weight: 700;
}

.checkout-secure-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: #5f6368;
}

.checkout-secure-badge svg {
  width: 16px;
  height: 16px;
  fill: #1e8e3e;
}

.checkout-main {
  min-height: calc(100vh - 120px);
  padding: 1rem 0;
}

.checkout-footer {
  background: #fff;
  border-top: 1px solid var(--checkout-border);
  padding: 1.25rem 0;
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  text-align: center;
}

.checkout-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px;
}

.checkout-footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.checkout-footer-links a {
  color: #5f6368;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s;
}

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

.checkout-copyright {
  font-size: 0.6875rem;
  color: #5f6368;
}

.back-to-lp {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: #5f6368;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s;
}

.back-to-lp:hover {
  color: var(--checkout-primary);
}

.back-to-lp svg {
  width: 14px;
  height: 14px;
}

@media (min-width: 480px) {
  .checkout-header {
    padding: 0.75rem 0;
  }

  .checkout-header-inner {
    padding: 0 1rem;
  }

  .checkout-logo img {
    height: 36px;
  }

  .checkout-logo-text {
    font-size: 1rem;
  }

  .checkout-secure-badge {
    font-size: 0.8125rem;
  }

  .checkout-secure-badge svg {
    width: 18px;
    height: 18px;
  }

  .checkout-main {
    padding: 1.5rem 0;
  }

  .checkout-footer-inner {
    padding: 0 1rem;
  }

  .checkout-footer-links a {
    font-size: 0.8125rem;
  }

  .checkout-copyright {
    font-size: 0.75rem;
  }

  .back-to-lp {
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) {
  .checkout-header {
    padding: 1rem 0;
  }

  .checkout-logo img {
    height: 40px;
  }

  .checkout-logo-text {
    font-size: 1.25rem;
  }

  .checkout-secure-badge {
    font-size: 0.875rem;
  }

  .checkout-main {
    padding: 2rem 0;
  }

  .checkout-footer-links {
    gap: 2rem;
  }

  .checkout-footer-links a {
    font-size: 0.875rem;
  }

  .checkout-copyright {
    font-size: 0.8rem;
  }

  .back-to-lp {
    font-size: 0.875rem;
  }
}
