:root {
    --primary-color: #2196F3;
    --secondary-color: #4CAF50;
    --accent-color: #FFC107; /* 目立たせるためのアクセントカラー */
    --surface-color: #f4f4f4;
    --text-color: #333;
    --heading-font: 'Noto Sans JP', sans-serif;
    --body-font: 'Noto Sans JP', sans-serif;
}

body {
    font-family: var(--body-font);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--text-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 900px; /* 少し狭めて読みやすく */
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-top: 0; /* Added margin-top: 0 */
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
}

.accent {
    color: var(--primary-color);
}

.note {
    font-size: 0.9rem;
    color: #777;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn--primary:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

.btn.line {
    background: #00B900;
}

.btn.line:hover {
    background: #00a300;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    justify-content: center; /* ロゴを中央に */
    align-items: center;
}

.brand__logo {
    max-height: 20px;
    height: auto;
}

/* Hero */
.hero {
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
}

.hero__sub-title {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.hero__title {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0 0 1rem; /* Changed margin-top to 0 */
    line-height: 1.3;
}

.hero .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero__image-comparison {
    margin: 0 auto;
}

.hero__image-comparison img {
    max-width: 450px;
    margin-bottom: 1rem;
}

.comparison-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.comparison-text strong {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Savings */
.savings-example {
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.savings-example__title {
    font-size: 1.2rem;
    margin-top: 0;
}

.savings-amount {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.savings-amount span {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0 0.25rem;
}

.savings-total {
    font-size: 1.2rem;
    font-weight: 700;
}

.savings-total span {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
}

.savings-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #777;
}

.family-example {
    margin-top: 2.5rem;
    border-color: var(--secondary-color);
}
.table-scroll-wrapper {
    overflow-x: auto;
    margin: 1.5rem auto; /* Center the wrapper */
    max-width: 600px; /* Match table max-width */
}
.family-savings-table {
    width: 100%; /* Fill the wrapper */
    min-width: 500px; /* Ensure table has a minimum width to show scrollbar */
    border-collapse: collapse;
    font-size: 0.9rem;
    display: table; /* Use table display type for proper centering */
}
.family-savings-table th, .family-savings-table td {
    border: 1px solid #ddd;
    padding: 0.75em;
    text-align: center;
    white-space: nowrap; /* Prevent line breaks */
}
.family-savings-table th {
    background-color: var(--surface-color);
}
.family-savings-table tfoot {
    font-weight: bold;
    background-color: var(--surface-color);
}
.family-savings-table tfoot strong {
    color: var(--primary-color);
    font-size: 1.2em;
}
.family-payback {
    background: none;
    padding: 1rem 0 0;
    border-top: 2px dashed #ccc;
    margin-top: 1.5rem;
}

.payback-estimate {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 10px;
    background: var(--surface-color);
    text-align: center;
}
.payback-estimate h4 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
.payback-estimate p {
    margin-bottom: 0.5rem;
}

/* Support */
.surface-muted {
    background: var(--surface-color);
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.support-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.support-item__number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 1rem;
}

.after-follow {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.after-follow h3 {
    margin-top: 0;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-item {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.feature-item h3 + p {
    min-height: 5.5em;
}

.feature-item h3 .accent {
    color: var(--secondary-color);
    display: inline-block;
    margin-right: 0.5rem;
}

.info-box {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
    text-align: left;
    font-size: 0.9rem;
}
.info-box p {
    margin: 0;
}
.info-box p + p {
    margin-top: 0.5rem;
}

/* Pricing */
.price-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
    text-align: center;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0;
}

.tax {
    font-size: 1.2rem;
    font-weight: 700;
}

.price-description {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.payment-methods {
    text-align: center;
}

.payment-methods img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.payment-methods p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* FAQ */
.faq-item {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Disclaimer */
.disclaimer-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    font-size: 0.9rem;
}

.disclaimer-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.75em;
}

.disclaimer-list li::before {
    content: "※";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Recommended Device */
.recommended-device {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
    text-align: left;
}

.recommended-device h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-top: 0;
    text-align: center;
}

.recommended-device .price {
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.recommended-device h5 {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.25rem;
}

.reasons-list {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
}

.reasons-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.reasons-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Quality Details */
.quality-details {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
    text-align: left;
    font-size: 0.9rem;
}

.quality-details dl {
    margin-top: 1rem;
    margin-bottom: 0;
}

.quality-details dt {
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.quality-details dd {
    margin-left: 0;
    margin-bottom: 1rem;
    padding-left: 1em;
    border-left: 3px solid var(--surface-color);
}

.quality-details dd:last-child {
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background: #222;
    color: #eee;
    padding: 40px 0 20px;
}

.site-footer .section-header h2 {
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: #333;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.contact-note {
    text-align: center;
    margin-top: 2rem;
}

.footer-info {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-info p {
    margin: 0.5rem 0;
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
}

/* Responsive */
@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .hero__title {
        font-size: 3.5rem;
    }

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

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================
   Area (対応エリア) — Monochrome / No Animation
========================= */
#area {
  position: relative;
  overflow: hidden;
}

#area .section-header h2 {
  letter-spacing: .02em;
  color: #111; /* 見出しもモノクロに */
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  align-items: stretch;
}

/* カード：白背景＋薄い枠のみ。影・グラデ・アニメ無し */
.area-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb; /* 薄いグレー枠 */
  border-radius: 14px;
  padding: 16px 16px 12px 16px;
  box-shadow: none;
  transition: none; /* アニメ無効 */
  isolation: isolate;
}

/* 装飾レイヤ無効化（グラデ不要） */
.area-card::before { content: none; }

.area-card:hover,
.area-card:focus-within {
  border-color: #cbd5e1; /* 触れたときだけ、ほんの少しだけ濃く（アニメ無し） */
}

/* タイトル行：ピンは黒、文字は濃いグレー */
.area-card__name {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 900;
  font-size: 1.05rem;
  color: #111;
  margin-bottom: .35rem;
}

.area-card__name::before {
  content: "";
  width: 18px;
  height: 18px;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 24 24'><path d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5z'/></svg>")
        center / contain no-repeat;
  background: #111; /* 黒 */
  opacity: 1;
}

.area-card__detail {
  font-size: .92rem;
  color: #555;
}

/* バッジ：薄い灰、文字はやや濃い灰、枠も灰 */
.area-badges {
  margin-top: .5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.area-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
  background: #f5f5f5;
  color: #333;
  border: 1px solid #dddddd;
  white-space: nowrap;
}

/* リンク：モノクロ。下線は点線→実線にしてもOK */
.area-links {
  margin-top: 14px;
  text-align: center;
  font-size: .95rem;
}
.area-links a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #bbb;
  padding-bottom: 1px;
}
.area-links a:hover {
  border-bottom-color: #111;
}

/* CTA：薄いグレー背景＋グレー枠のみ */
.area-cta {
  margin-top: 18px;
  padding: 14px 16px;
  background: #f7f7f7;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-align: center;
  font-size: .95rem;
  color: #333;
}
.area-cta strong { color: #111; }

/* ダーク背景上（surface-muted）でも白カードで維持 */
.section.surface-muted .area-card {
  background: #fff;
}

/* レスポンシブ微調整 */
@media (min-width: 992px) {
  .area-grid { gap: 16px; }
  .area-card { padding: 18px; }
}
