/* web.css — Easy Push Webページ共通スタイル */

/* ─── CSS Variables ─── */
:root {
  /* Brand */
  --brand-100: #FEEEDC;
  --brand-500: #F67C50;
  --brand-600: #D3583A;
  --brand-yellow-gray: #F4F2ED;

  /* Semantic — Background */
  --bg-base: #FFFFFF;

  /* Semantic — Text */
  --text-high: #2E2C23;
  --text-low: #817E6E;

  /* Semantic — Divider */
  --divider-middle: #DEDCD0;
  --divider-high: #C1BEAF;

  /* Semantic — Text (extended) */
  --text-middle: #535042;
  --text-inverse: #FFFFFF;

  /* Border Radius */
  --radius-lg: 8px;
}

/* ─── Reset ─── */
* {
  box-sizing: border-box;
}

/* ─── Body ─── */
body {
  margin: 0;
  padding: 24px;
  background: var(--bg-base);
  color: var(--text-high);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

/* ─── Layout ─── */
.container {
  max-width: 720px;
  margin: 0 auto;
}

/* ─── Utility ─── */
.text-muted {
  color: var(--text-low);
}

/* ─── Header ─── */
.header {
  text-align: center;
  padding: 48px 0 40px;
}

.header h1 {
  margin: 0 0 12px 0;
  font-size: 2rem;
  color: var(--text-high);
  letter-spacing: -0.5px;
}

.header .subtitle {
  font-size: 1.125rem;
  color: var(--text-low);
  margin: 0;
}

.header .tagline {
  font-size: 1.125rem;
  color: var(--text-low);
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

/* ─── Updated date ─── */
.updated {
  color: var(--text-low);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

/* ─── Typography ─── */
h2 {
  font-size: 1.25rem;
  color: var(--text-high);
  margin-top: 32px;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.0625rem;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text-high);
}

p {
  margin: 0 0 16px 0;
}

ul, ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

li {
  margin: 4px 0;
}

/* ─── Links ─── */
a {
  color: var(--brand-500);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ─── Divider ─── */
hr {
  border: none;
  border-top: 1px solid var(--divider-high);
  margin: 32px 0;
}

/* ─── Table of Contents ─── */
.toc {
  background: var(--brand-yellow-gray);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.toc h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1rem;
  border-bottom: none;
}

.toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc li {
  margin: 8px 0;
}

.toc a {
  color: var(--brand-500);
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

/* ─── Note box ─── */
.note-box {
  margin: 16px 0;
  padding: 16px 20px;
  border: 1px solid var(--brand-500);
  background: var(--brand-100);
  border-radius: var(--radius-lg);
}

.note-box strong {
  color: var(--brand-600);
}

/* ─── Blockquote ─── */
blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--brand-500);
  background: var(--brand-yellow-gray);
  color: var(--text-high);
}

/* ─── Table ─── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

th, td {
  border: 1px solid var(--divider-high);
  padding: 12px 16px;
  text-align: left;
}

th {
  background: var(--brand-yellow-gray);
  font-weight: 600;
}

/* ─── Section (index page) ─── */
section {
  margin-bottom: 48px;
}

section h2 {
  margin-top: 0;
  margin-bottom: 12px;
  border-bottom-width: 1px;
  border-bottom-color: var(--divider-high);
}

section p {
  color: var(--text-high);
}

/* ─── Feature list ─── */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-high);
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-low);
}

/* ─── Download buttons ─── */
.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid var(--divider-high);
  color: var(--text-high);
  background: var(--brand-yellow-gray);
}

.btn:hover {
  background: var(--divider-high);
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-500);
  color: var(--text-inverse);
  border-color: var(--brand-500);
}

.btn-primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-note {
  font-size: 0.8125rem;
  color: var(--text-low);
  margin-top: 8px;
}

/* ─── Limited Use box ─── */
.limited-use-box {
  background: var(--brand-yellow-gray);
  border: 1px solid var(--divider-high);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}

.limited-use-box p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-high);
}

/* ─── Footer (shared pattern) ─── */
.footer-inner {
  border-top: 1px solid var(--divider-middle);
  padding: 24px 48px;
  font-size: 12px;
  color: var(--text-low);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.footer-copyright {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  color: var(--text-low);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer {
  margin-top: 48px;
}

@media (max-width: 480px) {
  .footer-inner {
    flex-direction: column;
    gap: 16px;
  }

  .footer-copyright {
    order: 2;
  }

  .footer-links {
    order: 1;
  }
}

/* ==========================================================
   Document Page — Terms, Privacy Policy
   ========================================================== */

.doc-page {
  background: var(--brand-yellow-gray);
  font-family: 'Noto Sans JP', sans-serif;
}

.doc-page .footer {
  background: var(--brand-yellow-gray);
}

/* ==========================================================
   TOP Page — Easy Push Landing Page
   ========================================================== */

.top-page {
  margin: 0;
  padding: 0;
  background: var(--brand-yellow-gray);
  font-family: 'Noto Sans JP', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Hero Section --- */
.top-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px 0 200px;
}

.top-hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1376px;
  width: 100%;
}

.top-hero-logo {
  flex-shrink: 0;
}

.top-logo-img {
  width: 370px;
  height: auto;
  display: block;
}

.top-hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 423px;
}

.top-heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.167;
  color: var(--text-high);
  margin: 0;
  padding: 0;
  border: none;
  text-align: left;
}

.top-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-high);
  margin: 0;
}

/* --- Store Buttons --- */
.top-buttons {
  display: flex;
  gap: 16px;
  padding-bottom: 8px;
}

.top-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 240px;
  padding: 16px 24px;
  background: var(--text-high);
  color: var(--text-inverse);
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  border-radius: 16px;
  box-shadow: 0px 5px 0px 0px black;
  position: relative;
  transition: transform 0.1s, box-shadow 0.1s;
}

.top-store-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.top-store-btn:hover {
  text-decoration: none;
  color: var(--text-inverse);
  transform: translateY(2px);
  box-shadow: 0px 3px 0px 0px black;
}

.top-store-btn:active {
  transform: translateY(5px);
  box-shadow: 0px 0px 0px 0px black;
}

.top-store-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* --- Limited Use --- */
.top-limited-use {
  padding: 0 80px 24px;
  text-align: center;
}

.top-limited-use p {
  font-size: 12px;
  line-height: 1.333;
  color: var(--text-low);
  margin: 0;
}

.top-limited-use a {
  color: var(--text-low);
  text-decoration: underline;
}

.top-limited-use a:hover {
  color: var(--text-middle);
}

/* --- TOP Footer (no margin-top, shared .footer-inner handles the rest) --- */

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
  .top-hero {
    padding: 48px 24px 32px;
  }

  .top-hero-inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .top-logo-img {
    width: 240px;
  }

  .top-hero-content {
    max-width: 100%;
  }

  .top-heading {
    font-size: 18px;
    line-height: 1.333;
    text-align: center;
  }

  .top-description {
    font-size: 14px;
    line-height: 1.43;
    text-align: left;
  }

  .top-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .top-store-btn {
    width: 280px;
  }

  .top-limited-use {
    padding: 0 24px 16px;
    text-align: left;
  }

  .top-limited-use p {
    font-size: 11px;
    line-height: 1;
  }

}
