:root {
  --bg: #f5f7fb;
  --bg-elevated: #ffffff;
  --bg-soft: #eef2ff;
  --accent: #2563eb; /* ブルー */
  --accent-soft: rgba(37, 99, 235, 0.1);
  --accent2: #f97316; /* オレンジ */
  --border: #e2e8f0;
  --text: #111827;
  --subtext: #6b7280;
  --radius-lg: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "ヒラギノ角ゴ ProN", "Yu Gothic", "メイリオ", sans-serif;
  background: radial-gradient(circle at top, #e0f2fe 0, #f5f7fb 45%, #eff6ff 100%);
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

/* ===== HEADER ===== */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.logo-main {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 20px;
}
.logo-sub {
  font-size: 11px;
  color: var(--subtext);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.header-right {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--subtext);
}

.lang-link {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(148, 163, 184, 0.18);
}

.pill {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.18);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
}

/* ===== HERO ===== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 32px;
  margin-bottom: 56px;
}

.hero-left h1 {
  font-size: 30px;
  margin: 0 0 12px;
  letter-spacing: 0.06em;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.25);
  font-size: 12px;
  margin-bottom: 18px;
}

.hero-highlight span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.hero-lead {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--subtext);
  line-height: 1.6;
}

.hero-lead-strong {
  color: var(--text);
  font-weight: 600;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.hero-badge {
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 4px 10px;
  color: var(--subtext);
  background: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #f9fafb;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.btn-primary:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(148, 163, 184, 0.25);
}

.hero-note {
  font-size: 11px;
  color: var(--subtext);
}

.hero-right {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 14px 14px 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-thumb-label {
  font-size: 11px;
  color: var(--subtext);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-thumb-note {
  font-size: 11px;
  color: var(--subtext);
}

.hero-thumb {
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  background: #f9fafb;
  /* min-height: 180px; ← 消すか、必要なら100〜150px程度に下げる */
  display: block;
}

.hero-thumb-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: contain;
}


.hero-thumb-placeholder {
  opacity: 0.7;
  font-size: 12px;
  color: var(--subtext);
  text-align: center;
  padding: 24px;
}

/* ===== SECTIONS / LAYOUT ===== */

.section {
  margin-bottom: 56px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-sub {
  font-size: 13px;
  color: var(--subtext);
  line-height: 1.6;
}

.section-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 6px;
}

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

/* ===== CARD ===== */

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 18px 16px 16px;
  box-shadow: 0 8px 22px rgba(148, 163, 184, 0.18);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.card p {
  margin: 0;
  font-size: 12px;
  color: var(--subtext);
  line-height: 1.6;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 10px;
  color: var(--subtext);
  margin-bottom: 8px;
  background: #f9fafb;
}

.card-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent2);
}

/* ===== HIGHLIGHT BOX ===== */

.highlight-box {
  background: linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.08),
      rgba(236, 252, 203, 0.04)
    ),
    #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 18px 16px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 20px;
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.18);
}

.highlight-box p {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--subtext);
}

.highlight-list {
  margin: 8px 0 0;
  padding-left: 16px;
  font-size: 12px;
  color: var(--subtext);
}

.highlight-extra {
  margin-top: 10px;
  font-size: 12px;
  color: var(--subtext);
}

.highlight-image {
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--subtext);
  text-align: center;
  padding: 16px;
  background: #f9fafb;
}

/* ===== PRICING ===== */

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-main {
  background: var(--bg-elevated);
  border-radius: 22px;
  border: 1px solid var(--border);
  padding: 20px 18px 18px;
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.22);
}

.pricing-main h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.price {
  font-size: 24px;
  font-weight: 700;
  margin: 6px 0 2px;
}

.price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--subtext);
  margin-left: 4px;
}

.pricing-note {
  font-size: 11px;
  color: var(--subtext);
  margin-bottom: 12px;
}

.pricing-features {
  font-size: 12px;
  color: var(--subtext);
  margin: 8px 0 14px;
  padding-left: 18px;
}

.pricing-sub {
  font-size: 11px;
  color: var(--subtext);
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.pricing-side {
  font-size: 12px;
  color: var(--subtext);
  background: var(--bg-elevated);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 16px 14px 14px;
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.16);
}

.pricing-side h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.pricing-side ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.pricing-side-note {
  margin-top: 8px;
}

/* ===== FAQ ===== */

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-size: 12px;
  box-shadow: 0 8px 22px rgba(148, 163, 184, 0.18);
}

.faq-item dt {
  font-weight: 600;
  margin-bottom: 4px;
}

.faq-item dd {
  margin: 0;
  color: var(--subtext);
}

/* ===== TOKUSHOHO ===== */

.tokushoho {
  background: var(--bg-elevated);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 16px 14px;
  font-size: 12px;
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.16);
}

.tokushoho-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.tokushoho-row:last-child {
  border-bottom: none;
}

.tokushoho-row dt {
  font-weight: 600;
  color: var(--text);
}

.tokushoho-row dd {
  margin: 0;
  color: var(--subtext);
}

/* ===== FOOTER ===== */

footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 16px;
  font-size: 11px;
  color: var(--subtext);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 880px) {
  .hero,
  .highlight-box,
  .pricing,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    margin-bottom: 40px;
  }

  .page {
    padding: 20px 16px 40px;
  }

  .hero-left h1 {
    font-size: 24px;
  }

  .tokushoho-row {
    grid-template-columns: 100px minmax(0, 1fr);
  }
}
/* ===== FONT SIZE OVERRIDES (bigger & easier to read) ===== */

body {
  font-size: 16px;
}

/* 見出し系ちょい大きく */
.hero-left h1 {
  font-size: 32px;
}

.section-title {
  font-size: 22px;
}

.card h3 {
  font-size: 16px;
}

/* 本文テキストを一段階アップ */
.hero-lead,
.section-sub,
.card p,
.highlight-box p,
.highlight-list,
.highlight-extra,
.pricing-note,
.pricing-features,
.pricing-side,
.faq-item dd,
.tokushoho-row dd {
  font-size: 14px;
}

/* バッジとかラベルも少しだけアップ */
.hero-badge,
.hero-highlight,
.card-tag,
.section-tag,
.lang-link,
.pill {
  font-size: 12px;
}

.price {
  font-size: 26px;
}

.btn-primary,
.btn-secondary {
  font-size: 15px;
}

.hero-note,
.pricing-sub,
footer {
  font-size: 12px;
}

/* ===============================
   FONT COLOR IMPROVEMENTS
   =============================== */

/* 本文をしっかり黒寄りに */
body,
p,
.card p,
.hero-lead,
.section-sub,
.highlight-box p,
.highlight-list,
.highlight-extra,
.pricing-note,
.pricing-features,
.pricing-side,
.faq-item dd,
.tokushoho-row dd {
  color: #1a1a1a;
}

/* サブテキストも濃いめのグレーへ */
.subtext,
.hero-note,
footer,
.pricing-sub {
  color: #4a4a4a !important;
}

/* ===============================
   HEADINGS (見出し強調)
   =============================== */

/* H1 / セクションタイトルなど */
.hero-left h1,
.section-title {
  color: #2563eb; /* 強めのブルーでポップに */
  font-weight: 700;
}

/* カードのタイトル */
.card h3 {
  color: #1e3a8a; /* 少し濃いブルー */
  font-weight: 600;
}

/* 小見出しのタグ */
.section-tag,
.card-tag {
  color: #f97316 !important; /* オレンジでアクセント */
  border-color: rgba(249, 115, 22, 0.35) !important;
}

/* ===============================
   LINKS
   =============================== */

a {
  color: #2563eb;
}
a:hover {
  color: #1d4ed8;
}

/* ===============================
   BUTTONS (文字色修正)
   =============================== */

.btn-primary {
  color: #ffffff;
}

.btn-secondary {
  color: #1a1a1a;
}

/* ===============================
   TOKUSHOHO のタイトル強調
   =============================== */
.tokushoho-row dt {
  color: #2563eb;
  font-weight: 700;
}


/* ===== DISCLAIMER BLOCK ===== */

.disclaimer {
  margin-top: 64px;
  margin-bottom: 32px;
}

.disclaimer-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 18px 18px;
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.16);
  margin-bottom: 24px;
}

.disclaimer-box h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #2563eb;
}

.disclaimer-box p {
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.7;
  margin: 0 0 12px;
}

.disclaimer-box ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 1.6;
}

.disclaimer-box ul li {
  margin-bottom: 6px;
}

.highlight-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
}



.setup-accordion-trigger {
  width: 100%;
  background: #f3f4f6;
  color: #111;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.setup-accordion-content {
  display: none;
  margin-top: 16px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
}

#setupContent,
#setupContentEn {
  display: none;
}

/* オプション枠の問い合わせボタン用 */
.contact-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
