/* 基本設定 */
:root {
    --primary-color: #007bff; /* メインカラー (青系) */
    --secondary-color: #ffc107; /* アクセントカラー (黄色系) */
    --text-color: #333;
    --bg-color: #f9f9f9;
    --white: #fff;
    --danger-color: #dc3545; /* 警告色 (赤系) */
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
    margin: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
}

.section-lead {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.sp-only { display: none; }

/* ヘッダー */
.header {
    background: var(--bg-color);
    padding: 10px 0;
    text-align: center;
    font-size: 0.9rem;
}
.header h1 {
    font-size: 1rem;
    margin: 0;
}

/* シリーズナビゲーション */
.series-nav {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #eee; /* 区切り線 */
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7つのアイテムを均等に配置 */
    gap: 15px; /* アイテム間の隙間 */
    text-align: center;
}

.series-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.series-item img {
    height: 120px;
    object-fit: contain; /* アスペクト比を維持 */
    margin-bottom: 10px;
}

.series-item p {
    font-size: 0.85rem; /* テキストサイズ */
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    color: var(--text-color);
}


/* 1. ファーストビュー */
.hero {
    background-color: #000;
    background-size: cover;
    background-position: center;
    padding: 80px 0; /* 上下のpaddingを維持 */
    color: var(--white);
    text-align: center;
}
.hero-text {
    padding: 40px; /* PC表示時のpadding */
    display: inline-block; /* PCでは中央寄せのために必要 */
}
.hero-subtitle {
    font-size: 1.2rem;
    margin: 0;
}
.hero-title {
    font-size: 3.5rem;
    margin: 10px 0 20px;
    line-height: 1.4;
    word-break: keep-all;
}
.hero-points {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    display: inline-block;
}
.hero-points li {
    background: url('image/icon-check.png') no-repeat left center;
    padding-left: 30px;
    margin-bottom: 10px;
    text-align: left;
}
.hero-points li span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

/* CTAボタン共通スタイル */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    padding: 20px 60px;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-align: center;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.hero-buttons .cta-button {
    padding: 15px 30px;
    font-size: 1.2rem;
    width: 100%;
    max-width: 400px;
}

/* 2. 共感・問題提起 */
.problem { background-color: var(--bg-color); }
.problem-list {
    list-style: none;
    padding: 20px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto 40px;
}
.problem-list li {
    background: url('image/icon-alert.png') no-repeat left center;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.problem-list li:last-child { margin-bottom: 0; }
.problem .section-lead strong {
    font-size: 1.5rem;
    color: var(--primary-color);
}


/* 3. 解決策・ベネフィット */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}
.solution-item {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0;
    overflow: hidden;
}
.solution-item img {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    display: block;
}
.solution-item-content {
    padding: 30px;
}
.solution-item h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 10px;
}


/* 4. 比較 */
.comparison { background-color: var(--bg-color); }
.table-wrapper { overflow-x: auto; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.comparison-table th, .comparison-table td {
    border: 1px solid #ddd;
    padding: 15px;
}
.comparison-table th {
    background-color: #f2f2f2;
}
.comparison-table .our-product {
    background-color: #e6f3ff;
}
.comparison-table td:first-child { text-align: left; }
.comparison-table td { font-size: 1.2rem; }
.comparison-table td.our-product { color: var(--primary-color); font-weight: bold; }


/* 5. お客様の声 */
.voice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.voice-card {
    display: flex;
    align-items: center;
    background: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
}
.voice-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
}
.voice-card h4 {
    margin: 0 0 5px;
    color: var(--primary-color);
}
.voice-card p {
    margin: 0;
}

/* 6. ご利用の流れ */
.how-to { text-align: center; }

/* 7. FAQ */
.faq-item {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 15px;
}
.faq-item h3 { margin: 0 0 10px; }
.faq-item p { margin: 0; }

/* 8. クロージング */
.closing {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}
.closing .section-title, .closing .closing-text { color: var(--white); }

.closing .store-category {
    margin-top: 40px;
}

.closing .store-title {
    font-size: 1.5rem;
    color: var(--white);
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 3px solid;
    margin-bottom: 25px;
}

.closing .store-title.amazon {
    border-color: #FF9900;
}

.closing .store-title.yahoo {
    border-color: #FF0033;
}

/* フッター */
.footer {
    background: #333;
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

.button-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.button-grid .cta-button {
    flex: 1 1 200px;
    padding: 12px 10px;
    font-size: 1rem;
    background: #333;
}

.closing .button-grid .cta-button {
    flex-basis: 28%;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.closing .amazon-buttons .cta-button {
    background: #FF9900;
    background-image: none;
}

.closing .yahoo-buttons .cta-button {
    background: #FF0033;
    background-image: none;
}

.features {
    background-color: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    background-color: var(--bg-color);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}

.feature-item img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0 0 10px;
}

.feature-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.warning {
    background-color: var(--bg-color);
}
.warning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}
.warning-item {
    background: var(--white);
    border: 2px solid var(--danger-color);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}

.warning-item img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    opacity: 1;
    display: block;
}

.warning-item-content {
    padding: 0 30px 30px;
}

.warning-item-content h3 {
    color: var(--danger-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.warning-item-content p {
    text-align: left;
    font-size: 0.9rem;
}


.installation-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.installation-steps figure {
    margin: 0;
    text-align: center;
    flex: 1;
    max-width: 400px;
}

.installation-steps figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
    font-weight: bold;
}


/* レスポンシブ対応 (タブレット・スマートフォン) */
@media (max-width: 900px) {
    .section-title { font-size: 1.4rem; }
    .sp-only { display: block; }
    .hero-title { font-size: 1.6rem; } /* ▼▼▼ 1.8remから変更 ▼▼▼ */
    .hero-text {
         padding: 40px 20px;
         display: block;
         width: auto;
    }
    .hero-points {
        display: block;
        max-width: fit-content;
    }

    .series-nav .container {
        padding: 0;
    }
    .series-grid {
        display: flex;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 15px;
        gap: 20px;
    }
    .series-item {
        min-width: 100px;
        flex-shrink: 0;
    }
    .series-item img {
        height: 90px;
    }

    .solution-grid { grid-template-columns: 1fr; }
    .voice-card { flex-direction: column; text-align: center; }
    .voice-card img { margin: 0 0 15px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .warning-grid { grid-template-columns: 1fr; }
    .comparison-table td { font-size: 1rem; padding: 10px 5px; }
    .installation-steps {
        flex-direction: column;
        align-items: center;
    }
    .closing .button-grid .cta-button {
        flex-basis: 40%;
    }
}