* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー画像 */
.header-image {
    width: 100%;
    height: auto;
    display: block;
}

.header-image.pc {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
}

.header-image.sp {
    display: none;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .header-image.pc {
        display: none;
    }

    .header-image.sp {
        display: block;
    }
}

/* ヘッダー */
header {
    background: linear-gradient(135deg, #FF8E53 0%, #FF6B6B 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.6rem;
    }
}

/* セクション */
section {
    padding: 60px 20px;
}

section:nth-child(even) {
    background-color: #fafafa;
}

h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #FF6B6B;
    text-align: center;
}

h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #FF6B6B;
}

p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* ボタン */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    margin: 30px auto;
    display: block;
    text-align: center;
    max-width: 400px;
    position: relative;  /* ← ここに追加 */
    overflow: hidden;    /* ← ここに追加 */
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

input.cta-button {
    width: 100%;
    cursor: pointer;
    border: none;
}

@media (max-width: 768px) {
    .cta-button {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
}

/* ハイライトボックス */
.highlight-box {
    background-color: #fff5f0;
    border: 2px solid #FF6B6B;
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
}

.highlight-box ul {
    list-style: none;
    padding-left: 0;
}

.highlight-box ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
}

.highlight-box ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FF6B6B;
    font-weight: bold;
    font-size: 1.3rem;
}

/* ステップボックス */
.step-box {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 10px;
}

/* イメージプレースホルダー */
.image-placeholder {
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    padding: 60px 20px;
    text-align: center;
    color: #999;
    margin: 30px 0;
    border-radius: 10px;
}

/* 実績セクション */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 強調テキスト */
.emphasis {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF6B6B;
    text-align: center;
    margin: 30px 0;
    line-height: 1.6;
}

.large-text {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin: 40px 0;
}

/* アコーディオン */
.accordion {
    margin: 30px 0;
}

.accordion-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #FF8E53 0%, #FFA94D 100%);
}

.accordion-header::after {
    content: "▼";
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.accordion-content.active {
    max-height: 2000px;
    padding: 25px;
}

/* スマホでアコーディオン内の余白を狭める */
@media (max-width: 768px) {
    .accordion-content.active {
        padding: 20px 15px;
    }
}

.accordion-content p {
    line-height: 1.8;
    color: #555;
}

.note {
    background-color: #fff5f0;
    border: 1px solid #FF6B6B;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    font-size: 0.95rem;
    color: #666;
    text-align: center;
}

/* 感想カード */
.testimonial-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.testimonial-card .top-section {
    background: white;
    padding: 30px;
    text-align: center;
}

.testimonial-card .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #f0f0f0;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #999;
    border: 4px solid #FF6B6B;
}

.testimonial-card .name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.testimonial-card .earnings-label {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    font-size: 0.85rem;
    padding: 6px 15px;
    border-radius: 20px;
    margin-right: 15px;
    font-weight: 600;
}

.testimonial-card .earnings-amount {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: #FF6B6B;
    vertical-align: middle;
}

.testimonial-card .content-section {
    padding: 30px;
    padding-top: 10px;
}

/* スマホで感想文BOXと吹き出しの隙間を狭める */
@media (max-width: 768px) {
    .testimonial-card .content-section {
        padding: 15px 5px;
    }
    
    .testimonial-card .testimonial-title {
        margin-bottom: 15px;
        padding-top: 5px;
    }
}

.testimonial-card .testimonial-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF6B6B;
    margin-bottom: 15px;
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-top: 2px solid #f0f0f0;
}

.testimonial-card .text-bubble {
    background: #f8f8f8;
    padding: 15px 10px;
    border-radius: 15px;
    position: relative;
    margin-bottom: 25px;
}

.testimonial-card .text-bubble::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #f8f8f8;
}

.testimonial-card .text-bubble .text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
}

.testimonial-card .earnings-image {
    width: 100%;
    height: 180px;
    background: #e0e0e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #999;
}

/* CTA セクション */
.cta-section {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FFA94D 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section .cta-button {
    background: white;
    color: #FF6B6B;
}

.cta-section .cta-button:hover {
    background: #f5f5f5;
}

/* ボタンの光るアニメーション */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}




/* 黄色マーカー */
.highlight-marker {
    background: linear-gradient(transparent 60%, #ffff99 60%);
    padding: 0 4px;
}

/* セクション画像 */
.section-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
}

.section-image.pc {
    display: block;
}

.section-image.sp {
    display: none;
}

@media (max-width: 768px) {
    .section-image.pc {
        display: none;
    }

    .section-image.sp {
        display: block;
    }
}

/* 節約ハイライト */
.savings-highlight {
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #FF6B6B;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    color: #333;
    margin: 30px 0;
}

/* 注意事項ボックス（候補1：グレー系） */
.caution-box {
    border: 2px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0;
    background: white;
}

.caution-header {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.caution-content {
    padding: 24px 28px;
}

.caution-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

.divider {
    border-bottom: 1px dotted #ddd;
    margin: 16px 0;
}

/* 情報ボックス */
.info-box {
    background-color: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px 30px;
    margin: 30px 0;
}

.info-box p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.8;
}

.info-box .small-note {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 8px;
}

/* info-box内の最後の要素の下余白を削除 */
.info-box p:last-child,
.info-box .small-note:last-child {
    margin-bottom: 0;
}

/* 記事サンプル（WP風） */
.article-sample {
    background: #fff;
    padding: 30px;
    line-height: 1.9;
    color: #333;
}

.article-sample .article-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    line-height: 1.5;
    border-bottom: 3px solid #FF6B6B;
    padding-bottom: 15px;
    text-align: left;
}

.article-sample .article-h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin: 35px 0 20px;
    padding-left: 12px;
    border-left: 4px solid #FF6B6B;
    line-height: 1.5;
}

.article-sample .article-h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #444;
    margin: 25px 0 15px;
    line-height: 1.5;
}

.article-sample p {
    font-size: 1rem;
    color: #444;
    line-height: 1.9;
    margin-bottom: 20px;
}

.article-sample strong {
    color: #FF6B6B;
    font-weight: 700;
}

/* 記事タイプアイコングリッド */
.article-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .article-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

.article-type-card {
    background: white;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.article-type-card .icon-wrapper {
    width: 65px;
    height: 65px;
    margin: 0 auto 12px;
    background: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px solid #e8e8e8;
}

.article-type-card .article-type-name {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}

/* 大きな強調テキスト */
.large-emphasis {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin: 30px 0;
    color: #333;
}

/* 特徴アイコングリッド */
.feature-icons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .feature-icons-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
}

.feature-icon-card {
    text-align: center;
    border: 0.5px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background-color: white;
}

.feature-icon-wrapper {
    margin-bottom: 15px;
}

.feature-icon-wrapper img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.feature-text {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
}

/* CTAセクション内の注意事項ボックス（候補2） */
.cta-section .caution-box {
    background: #FFF5F0;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-section .caution-header {
    background: rgba(255, 255, 255, 0.9);
    color: #FF6B6B;
}

.cta-section .caution-content p {
    color: #666;
    text-align: left;
}

/* 黄色マーカーアニメーション */
.highlight-animated {
    background: linear-gradient(to right, #ffeb3b 0%, #ffeb3b 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left center;
    transition: background-size 1.5s ease-out;
    display: inline;
    padding: 0 4px;
}

.highlight-animated.active {
    background-size: 100% 100%;
}

/* 白背景用の黄色マーカーアニメーション（CTAセクション用） */
.highlight-animated-white {
    background: linear-gradient(to right, #ffeb3b 0%, #ffeb3b 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left center;
    transition: background-size 1.5s ease-out;
    display: inline;
    padding: 0 4px;
    color: #333;
}

.highlight-animated-white.active {
    background-size: 100% 100%;
}

/* フッター */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-links .separator {
    margin: 0 15px;
    color: #999;
}

.copyright {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-links {
        font-size: 0.9rem;
    }
    
    .footer-links .separator {
        margin: 0 10px;
    }
}

/* 感想文のフォント変更 */
.testimonial-card .text-bubble .text {
    font-family: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "M PLUS Rounded 1c", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

/* 先頭に戻るボタン */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* 横並び画像 */
.side-by-side-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.side-by-side-images .section-image {
    width: 50%;
    height: auto;
}

@media (max-width: 768px) {
    .side-by-side-images {
        flex-direction: column;
    }
    
    .side-by-side-images .section-image {
        width: 80%;
    }
}

/* ステップボックス内の画像のはみ出し防止 */
.step-box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}

.step-box .section-image {
    max-width: 100%;
    height: auto;
    margin: 10px auto;
}

/* モバイルでのステップボックス調整 */
@media (max-width: 768px) {
    .step-box {
        padding: 20px 10px;
        overflow: hidden;
    }
    
    .step-box img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
        margin: 5px auto;
    }
    
    .step-box .section-image {
        margin: 5px auto;
    }
}

/* スマホで感想文の吹き出し内の余白を狭める */
@media (max-width: 768px) {
    .testimonial-card .text-bubble {
        padding: 20px 15px;
    }
}

/* レビュー記事スタイル */
.review-article {
    padding: 20px 0;
    line-height: 1.8;
}

.review-article h2 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff6b35;
}

.review-article h3 {
    font-size: 1.2em;
    color: #ff6b35;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #ff6b35;
}

.review-article p {
    margin-bottom: 15px;
    color: #333;
}

.review-article ul {
    margin: 20px 0;
    padding-left: 20px;
}

.review-article ul li {
    margin-bottom: 10px;
    color: #333;
    list-style-type: disc;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .review-article h2 {
        font-size: 1.2em;
    }
    
    .review-article h3 {
        font-size: 1.1em;
    }
}

/* アコーディオン内のレビュー記事用の高さ調整 */
.accordion-content.active {
    max-height: 5000px;
}

/* レビュー記事専用アコーディオン */
.accordion-item.review-accordion .accordion-content.active {
    max-height: 6000px;
}

/* h4スタイルをレビュー記事に追加 */
.review-article h4 {
    font-size: 1.05em;
    color: #555;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* カウントダウンタイマー */
.countdown-timer {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    padding: 25px 40px;
    margin: 30px auto;
    max-width: 700px;
    line-height: 1.8;
    position: relative;
    clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.5);
}

.countdown-timer .break {
    display: none;
}

.countdown-timer span:not(.break) {
    display: inline-block;
    margin: 0 3px;
    font-size: 1.8rem;
    color: #FFE66D;
    font-weight: 800;
}

@media (max-width: 768px) {
    .countdown-timer {
        font-size: 1.1rem;
        padding: 20px 30px;
        max-width: 95%;
    }
    
    .countdown-timer .break {
        display: block;
        height: 3px;
    }
    
    .countdown-timer span:not(.break) {
        font-size: 1.4rem;
    }
}