/*
  クレイデント LP スタイル
  構成: セクション画像（img01〜img10）積み上げ + 購入ポイント/FAQ/全成分はHTML
  購入ポイント（.cd-cta）は img01・img09 の下部余白に重ねる（.cd-imgcta）
*/

:root{
    --cd-green-deep:  #2F6B35;  /* 見出し・テキストの濃緑 */
    --cd-green:       #4C9A3F;  /* バンド・CTAの緑 */
    --cd-green-light: #8DC63F;  /* チェック・メーターの黄緑 */
    --cd-ink:         #333333;
    --cd-ink-light:   #777777;
    --cd-line:        #DDDDDD;
    --cd-paper:       #F5F7F2;
    --cd-new:         #B10012;  /* NEWバッジ */
}

.claydent{
    margin: 0 auto 50px;
    background: #fff;
    color: var(--cd-ink);
    line-height: 1.7;
    @media(min-width:640px){
        margin: 0 auto 100px;
        max-width: 640px;
        box-shadow: 0px 0px 15px -5px #777;
    }
}

/* セクション画像は余白なしで積み上げる */
.cd-sec img{
    display: block;
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* 5つのこだわり（img04_01〜05 は背景透過PNG。見出し帯は全幅、各項目は余白付き） */
.cd-feature{
    background: #fff;
}
.cd-feature__list{
    padding: 6% 4%;
}
.cd-feature__list img + img{
    margin-top: 6%;
}

/* 購入ポイントを画像下部に重ねるセクション（img01／img09） */
.cd-imgcta{
    position: relative;
}
.cd-imgcta .cd-cta{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    padding-bottom: 3%;
}

/* ===== CTA ===== */
.cd-cta{
    background: #fff;
    text-align: center;
    padding: 0 20px 40px;
    .cd-cta__name{
        font-weight: bold;
        font-size: 2.4rem;
        line-height: 1.3;
        margin: 0;
        @media(min-width:640px){
            font-size: 3.4rem;
        }
        .cd-cta__new{
            display: inline-block;
            vertical-align: 0.25em;
            margin-left: 8px;
            padding: 2px 8px;
            background: var(--cd-new);
            color: #fff;
            font-size: 0.45em;
            font-weight: bold;
            letter-spacing: 0.08em;
            line-height: 1.5;
        }
    }
    .cd-cta__spec{
        font-size: 1.7rem;
        color: var(--cd-ink);
        margin: 8px 0 0;
        @media(min-width:640px){
            font-size: 2.4rem;
        }
    }
    .cd-cta__price{
        display: flex;
        justify-content: center;
        align-items: baseline;
        gap: 2px;
        margin: 8px 0 15px;
        .cd-cta__price-label{
            font-weight: bold;
            font-size: 1.7rem;
            @media(min-width:640px){
                font-size: 2.4rem;
            }
        }
        .cd-cta__price-num{
            font-weight: bold;
            font-size: 2.8rem;
            line-height: 1;
            @media(min-width:640px){
                font-size: 4.0rem;
            }
        }
        .cd-cta__price-unit{
            font-size: 1.7rem;
            @media(min-width:640px){
                font-size: 2.4rem;
            }
        }
    }
    .cd-cta__btn{
        width: 70%;
        margin: 0 auto;
        a{
            position: relative;
            display: block;
            background: var(--cd-green-light);
            color: #fff;
            font-weight: bold;
            padding: 16px;
            font-size: 1.9rem;
            line-height: 1.3;
            text-decoration: none;
            @media(min-width:640px){
                font-size: 2.8rem;
                padding: 24px 16px;
            }
            &::after{
                content: "";
                width: 8px;
                height: 8px;
                border-top: solid 1px #fff;
                border-right: solid 1px #fff;
                transform: rotate(45deg);
                position: absolute;
                top: 50%;
                right: 22px;
                margin-top: -4px;
            }
        }
    }
    
    .cd-cta__prime{
        margin: 5px 0 0;
        a{
            display: inline-flex;
            align-items: center;
            padding: 3px 3px 2px;
            border-bottom: 1px solid var(--cd-ink);
            color: var(--cd-ink);
            font-size: 1.5rem;
            text-decoration: none;
            @media(min-width:640px){
                font-size: 2.0rem;
            }
        }
        /* .cd-sec img の display:block／width:100% を打ち消し、文字の高さに合わせる */
        .prime-logo{
            display: inline-block;
            width: auto;
            height: 1.25em;
        }
        i{
            margin-left: 6px;
        }
    }
    .cd-cta__note{
        margin: 18px 0 0;
        font-size: 1.1rem;
        line-height: 1.6;
        color: var(--cd-ink-light);
        @media(min-width:640px){
            font-size: 1.5rem;
        }
    }
}

/* ===== FAQ ===== */
.faq-area{
    background: var(--cd-paper);
    padding: 30px 15px;
}
.faq-area h3{
    text-align: center;
    color: var(--cd-green-deep);
    font-size: 20px;
    font-weight: bold;
    padding: 5px 0;
    margin: 0 0 10px;
}
.faq-area dl{
    padding: 8px 0;
}
.faq-area dt{
    display: flex;
    align-items: center;
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 14px 15px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.faq-area dt div{
    width: 85%;
    line-height: 1.5;
}
.faq-area dt span{
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 0 0 auto;
}
.faq-area dt span::before,
.faq-area dt span::after{
    content: '';
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 5px;
    background: var(--cd-green);
    position: absolute;
    right: 25%;
    top: 50%;
    transform: translateY(-50%);
}
.faq-area dt span::after{
    transform: translateY(-50%) rotate(90deg);
    transition: 0.3s;
}
.faq-area dt.active span::after{
    transform: rotate(0);
    height: 0px;
}
.faq-area dd{
    font-size: 14px;
    color: #555;
    padding: 12px 15px 0;
}

/* ===== 全成分 ===== */
.mt-area{
    background: #fff;
    padding: 30px 20px;
}
.mt-area h3{
    text-align: center;
    color: var(--cd-green-deep);
    font-size: 20px;
    font-weight: bold;
    padding: 0 0 10px;
    margin: 0;
}
.mt-area p{
    padding: 15px 0;
    margin: 0;
    font-size: 12px;
    color: #555;
    border-top: 1px solid var(--cd-line);
    border-bottom: 1px solid var(--cd-line);
}

@media(min-width:640px){
    .mt-area{
        padding: 50px 30px;
    }
    .faq-area{
        padding: 50px 0;
    }
    .faq-area .wrapper,
    .mt-area .wrapper{
        width: 90%;
        margin: auto;
    }
    .faq-area dt{
        font-size: 20px;
        padding: 18px 20px;
    }
    .faq-area dd{
        font-size: 17px;
    }
    .mt-area p{
        font-size: 15px;
    }
    .faq-area h3,
    .mt-area h3{
        font-size: 26px;
    }
}

/* ===== スクロールアニメーション ===== */
.invisible{
    visibility: hidden;
}
.fadeInUp,
.fadeInLeft,
.fadeInRight{
    animation-duration: 1.2s;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 5%, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.fadeInUp{ animation-name: fadeInUp; }

@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-5%, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.fadeInLeft{ animation-name: fadeInLeft; }

@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(5%, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.fadeInRight{ animation-name: fadeInRight; }
