/* --- 基本設定 --- */
:root {
    --primary-color: #3498db;
    /* メインカラー (青系) */
    --secondary-color: #2c3e50;
    /* サブカラー (濃いグレー) */
    --accent-color: #e67e22;
    /* アクセントカラー (オレンジ) */
    --background-color: #f9f9f9;
    /* 背景色 */
    --text-color: #333;
    /* テキストカラー */
    --white-color: #ffffff;
    --border-color: #ddd;
}

body {
    font-family: 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white-color);
    font-size: 18px;
    /* ベースフォントサイズを大きく */
    -webkit-text-size-adjust: 100%;
    /* スマホでの文字サイズ自動調整を無効化 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    line-height: 1.4;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    /* 少し余白を広げる */
}

h3 {
    font-size: 2.2rem;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 25px;
}

p {
    margin-bottom: 1.5em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

.pc-only {
    display: inline;
    /* PCでは表示 */
}

/* --- ヘッダー --- */
#header {
    background-color: var(--white-color);
    padding-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#header h1 {
    margin: 0 0 15px 0;
    color: #6e767d;
    font-size: 1.2rem;
}

#header nav {
    width: 100%;
    margin-bottom: 20px;
}

#header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

#header nav ul li a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    white-space: nowrap;
    /* メニュー項目が改行しないように */
}

#header nav ul li a:hover {
    color: var(--primary-color);
}

#header .logo-container {
    width: 100vw;
    background-image: url('img/header_bk.webp');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
    display: flex;
    justify-content: center;
}

#header .logo {
    max-width: 1200px;
    width: 100%;
    height: auto;
    display: block;
}

/* --- CTAボタン --- */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-color), #f39c12);
    color: var(--white-color) !important;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 20px 45px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-button.large {
    font-size: 1.8rem;
    padding: 28px 70px;
}

/* --- 最重要コンバージョンボタン（月額プラン開始） --- */
.cta-button.primary-conversion {
    background: linear-gradient(45deg, #e74c3c, #c0392b, #922b21);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: var(--white-color) !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    border: 3px solid #ffffff;
    position: relative;
    overflow: hidden;
}

.cta-button.primary-conversion::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button.primary-conversion:hover::before {
    left: 100%;
}

.cta-button.primary-conversion:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.6);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- キャッチコピー セクション --- */
.cacp {
    background: #008dd3;
    color: var(--white-color);
    text-align: center;
    padding: 20px 15px;
}

.cacp p {
    margin: 8px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cacp .hero-sub-title {
    font-size: 1.3rem;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cacp .hero-sub-p {
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    line-height: 1.4;
    margin: 0;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* --- 1. ファーストビュー --- */
#hero {
    background: linear-gradient(135deg, #0082d5, #5556df);
    color: var(--white-color);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0 0 20px;
    color: var(--white-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    color: #ffd900;
    font-size: 1.3em;
    display: block;
    margin-top: 10px;
}

.hero-description {
    font-size: 1.3rem;
    margin: 0 auto 40px;
    max-width: 700px;
    color: #bdc3c7;
    /* 少し薄い白 */
}

.hero-visual {
    margin: 40px auto;
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-visual p {
    color: #bdc3c7;
    font-size: 1.4rem;
    margin: 0;
}

/* --- 2. 悩み・課題の提示 --- */
#problem {
    background-color: var(--background-color);
}

.problem-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.problem-list li {
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 20px 20px 60px;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-bottom: 0;
    /* gapで余白を管理 */
}

.problem-list li::before {
    content: "😩";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
}

/* --- 3. 解決策の提示 --- */
#solution {
    background-color: #fff;
}

.solution-item {
    background-color: #fdfdfd;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.solution-item h4 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 0;
}

.solution-item p strong {
    font-size: 1.2em;
    color: var(--accent-color);
}

.solution-cta {
    text-align: center;
    margin-top: 50px;
}

/* --- 4. 主な機能紹介 --- */
#features {
    background-color: var(--background-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 3列から2列に変更 */
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-card-image {
    width: 100%;
    overflow: hidden;
    text-align: center;
    margin-top: 17px;
}

.feature-card-image img {
    width: 90%;
    height: 90%;
    object-fit: cover;
}

.feature-card-content {
    padding: 30px;
    /* パディングを増やして読みやすく */
}

.feature-card-content h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    /* フォントサイズを少し大きく */
    line-height: 1.3;
}

.feature-card-content p {
    line-height: 1.7;
    color: #666;
    font-size: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        /* モバイルでは1列 */
        gap: 30px;
    }

    .feature-card-image {
        height: 200px;
        /* モバイルでは画像を少し小さく */
    }

    .feature-card-content {
        padding: 20px;
    }

    .feature-card-content h4 {
        font-size: 1.2rem;
    }
}

/* --- 5. ご利用の流れ --- */
.flow-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: center;
}

.flow-step {
    flex: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.flow-step h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* --- 6. 価格・プラン --- */
#price {
    background-color: var(--background-color);
    text-align: center;
}

.price-box {
    background-color: var(--white-color);
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.price-box .plan-name {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.price-box .price-value {
    font-size: 4rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.price-box .price-value span {
    font-size: 1.2rem;
    color: var(--text-color);
}

.price-box ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    display: inline-block;
}

.price-box ul li {
    margin-bottom: 10px;
}

.price-box ul li::before {
    content: '✔';
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
}

.risk-free {
    margin-top: 50px;
}

.risk-free h3 {
    border: none;
    padding: 0;
    font-size: 2.4rem;
    color: var(--secondary-color);
}

.risk-free p {
    max-width: 600px;
    margin: 20px auto 40px;
}

.cta-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

/* --- 7. よくある質問 (FAQ) --- */
#faq {
    background-color: #fff;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 25px 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}

.faq-item dt {
    font-weight: bold;
    font-size: 1.4rem;
    position: relative;
    padding-left: 35px;
}

.faq-item dt::before {
    content: 'Q.';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.faq-item dd {
    margin: 10px 0 0 0;
    padding-left: 35px;
    position: relative;
}

.faq-item dd::before {
    content: 'A.';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* --- 8. 利用規約 --- */
#terms {
    background-color: #fff;
}

#terms .terms-heading {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

#terms .terms-subheading {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 10px;
    padding-left: 20px;
}

#terms p {
    margin-bottom: 12px;
    line-height: 1.7;
    padding-left: 20px;
}

#terms p:first-of-type {
    padding-left: 0;
    /* 最終更新日はパディングなし */
}

/* --- 9. 特定商取引法に基づく表記 --- */
#tokusho {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.tokusho-table {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tokusho-row {
    display: table-row;
}

.tokusho-label,
.tokusho-content {
    display: table-cell;
    vertical-align: top;
    /* ここを top に設定 */
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.tokusho-label {
    width: 30%;
    background-color: #f5f5f5;
    font-weight: bold;
}

.tokusho-content {
    width: 70%;
    line-height: 1.6;
    word-wrap: break-word;
}

.tokusho-row:last-child {
    border-bottom: none;
}

.tokusho-label {
    background-color: #f8f9fa;
    padding: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    border-right: 1px solid #e9ecef;
    min-width: 200px;
    flex-shrink: 0;
}

.tokusho-content {
    padding: 20px;
    line-height: 1.7;
    flex: 1;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .tokusho-row {
        flex-direction: column;
    }

    .tokusho-label {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        min-width: auto;
    }

    .tokusho-label,
    .tokusho-content {
        padding: 15px;
    }
}

/* --- 10. フッター --- */
footer {
    background-color: var(--secondary-color);
    color: #bdc3c7;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-links a {
    color: #bdc3c7;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white-color);
}

.copyright {
    font-size: 0.9rem;
}


/* ------------------------------------------- */
/* --- PC版専用の調整 --- */
/* ------------------------------------------- */
@media (min-width: 769px) {
    .hero-visual {
        max-width: 800px;
        margin: 50px auto;
        padding: 20px;
    }

    .hero-image {
        max-width: 90%;
        width: auto;
        height: auto;
    }
}

/* ------------------------------------------- */
/* --- レスポンシブ対応 (スマートフォン向け) --- */
/* ------------------------------------------- */
@media (max-width: 768px) {

    /* --- 基本設定 --- */
    .container {
        padding: 0 15px;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    h3 {
        font-size: 1.5rem;
    }

    section {
        padding: 60px 0;
    }

    .pc-only {
        display: none;
        /* スマホでは <br class="pc-only"> を非表示 */
    }

    /* --- ヘッダー --- */
    #header h1 {
        font-size: 1.8rem;
    }

    /* ナビゲーションを横スクロール可能に */
    #header nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        /* スムーズなスクロール */
    }

    #header nav ul {
        justify-content: flex-start;
        /* 左寄せで開始 */
        padding: 5px 10px;
        gap: 25px;
    }

    /* --- キャッチコピー --- */
    .cacp .hero-sub-title {
        font-size: 1rem;
        white-space: normal;
        /* 折り返しを許可 */
    }

    .cacp .hero-sub-p {
        font-size: 1.1rem;
    }

    /* --- ファーストビュー (#hero) --- */
    #hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-title .highlight {
        font-size: 1.3em;
        /* 2remの1.3倍 */
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-visual {
        aspect-ratio: auto;
        /* アスペクト比を解除 */
        height: 250px;
        margin: 20px 0;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* --- 悩み (#problem) --- */
    .problem-list li {
        font-size: 1rem;
        padding: 15px 15px 15px 50px;
    }

    .problem-list li::before {
        left: 15px;
        font-size: 1.5rem;
    }

    /* --- 機能紹介 (#features) --- */
    .feature-grid {
        grid-template-columns: 1fr;
        /* 1カラムにする */
    }

    .feature-card-image {
        height: 180px;
    }

    /* --- ご利用の流れ (#flow) --- */
    .flow-steps {
        flex-direction: column;
        /* 縦並びにする */
        gap: 40px;
    }

    /* --- 価格 (#price) --- */
    .price-box {
        padding: 30px 20px;
    }

    .price-value {
        font-size: 2.8rem;
    }

    .risk-free h3 {
        font-size: 1.6rem;
    }

    .cta-button {
        font-size: 1.1rem;
        padding: 15px 30px;
    }

    .cta-button.large {
        font-size: 1.2rem;
        padding: 20px 30px;
        width: 100%;
        box-sizing: border-box;
        /* paddingを含めて幅100%に */
    }

    /* --- FAQ (#faq) --- */
    .faq-item {
        padding: 20px 0;
    }

    .faq-item dt {
        font-size: 1.1rem;
        padding-left: 30px;
        line-height: 1.5;
    }

    .faq-item dd {
        padding-left: 30px;
        line-height: 1.6;
    }

    /* --- フッター --- */
    .footer-links {
        flex-direction: column;
        /* リンクを縦並びに */
        gap: 15px;
    }
}

/* ------------------------------------------- */
/* --- より小さい画面向けの追加対応 --- */
/* ------------------------------------------- */
@media (max-width: 480px) {

    /* 文字の縦書き防止 */
    * {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
    }

    .cacp p,
    .cacp .hero-sub-title,
    .cacp .hero-sub-p {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* コンテナの幅をさらに調整 */
    .container {
        padding: 0 10px;
    }

    /* フォントサイズの調整 */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .cacp .hero-sub-title {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .cacp .hero-sub-p {
        font-size: 1rem;
    }

    .hero-image {
        width: 95%;
        margin: 0 auto;
    }
}

.feature-card-image img {
    border: 2px solid #3498db;
}

/* 説明書リンクのスタイル */
.manual-link {
    text-align: center;
    margin: 20px 0;
}

.manual-link a {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: var(--white-color) !important;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.manual-link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #45a049, #4CAF50);
}

/* --- 取得できる商品情報（ファーストビュー下） --- */
.product-info-feature {
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin: 35px auto 30px auto;
    padding: 0;
    max-width: 800px;
    width: 100%;
    text-align: left;
    /* border-left: 4px solid var(--primary-color); ← 横のボーダー削除 */
    position: relative;
    display: block;
}

.product-info-feature h3 {
    font-size: 3.35rem;
    color: #ffd900;
    margin-top: 0;
    margin-bottom: 16px;
    border: none;
    padding-left: 0; /* ボーダーがないのでパディングも0に */
    letter-spacing: 0.04em;
    font-weight: 700;
    text-align: center;
}

.product-info-feature ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-info-feature ul li {
    font-size: 1.05rem;
    padding-left: 28px;
    margin-bottom: 10px;
    position: relative;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.18);
    letter-spacing: 0.01em;
}

.product-info-feature ul li::before {
    content: "";
    display: inline-block;  
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, var(--accent-color) 60%, #ffd900 100%);
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    position: absolute;
    left: 0;
    top: 2px;
    box-shadow: 0 2px 8px rgba(230,103,34,0.12);
}
.product-info-feature ul li:last-child {
    margin-bottom: 0;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .product-info-feature {
        padding: 0;
        max-width: 100%;
        margin: 40px 0 18px 0;
        /* border-left-width: 3px; ← 削除 */
    }
    .product-info-feature h3 {
        font-size: 2.05rem;
        margin-bottom: 10px;
        padding-left: 0;
        text-align: center;
    }
    .product-info-feature ul {
        padding-left: 0;
    }
    .product-info-feature ul li {
        font-size: 0.97rem;
        padding-left: 24px;
        margin-bottom: 7px;
    }
    .product-info-feature ul li::before {
        width: 14px;
        height: 14px;
        top: 2px;
    }
}

/* style2.css */
h1, .h1-alternative {
    width: 100%;
    margin: 0 0px 16px 0;
    padding: 8px;
    font-size: 2.5rem;
    line-height: 1.2;
    color: #1e73d9;
    text-align: center;
    position: relative;
    display: inline-block;
    border-bottom: 4px groove #18abf3;
}


h1 span, .h1-alternative span {
    display: inline-block;
    position: relative;
}

h1 span::before, .h1-alternative span::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    z-index: -1;
}

h1-alternative {
    font-size: 2.2rem;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}