/* ==============================
product-detail.css
============================== */

.product_detail {
    background: #fff;
}

.product_detail .mw1200 {
    max-width: 980px;
}

/* ===== ヘッダー（キャッチ + メニュー名） ===== */
.product_header {
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

figure.product_map_figure {
  max-width: 350px;
}

.product_catch {
    font-size: 20px;
    line-height: 1.7;
    letter-spacing: 0.06em;
    margin-bottom: 1.4em;
    color: #464646;
    opacity: 0.9;
}

.product_name {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.04em;
    margin: 0 0 1.6em;
    padding-bottom: 12px;
    position: relative;
}

.product_name::after {
    content: "";
    display: block;
    width: 72px;
    height: 2px;
    background: linear-gradient(to right,
            rgba(70, 70, 70, 0.9),
            rgba(70, 70, 70, 0.15));
    margin-top: 10px;
}

/* ===== ブロック共通 ===== */
.product_block {
    padding: 36px 3%;
    border-top: 1px solid #cecece;
}

.product_block_title {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 14px;
    letter-spacing: 0.03em;
    position: relative;
    padding-left: 14px;
}

.product_block_title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: #464646;
    border-radius: 50%;
}

/* ===== 箇条書き：特徴 ===== */
.product_list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.product_list:has(+p) {
    margin-bottom: 1.0em;
}

.product_list li {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    padding: 14px 16px;
    line-height: 1.65;
}

.product_list li strong {
    display: inline-block;
    margin-bottom: 6px;
    font-weight: 600;
}

/* ===== チェックリスト：こんなお悩みに ===== */
.check_list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.check_list li {
    position: relative;
    display: flex;
    gap: 6px;
}

.check_list li::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: #fff;
    position: relative;
    top: 4px;
}

.check_list li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0.7em;
    width: 9px;
    height: 5px;
    border-left: 2px solid #464646;
    border-bottom: 2px solid #464646;
    transform: rotate(-45deg);
}

/* ===== 番号リスト（メカニズム/流れ） ===== */
.number_list {
    margin: 14px 0 0;
    padding: 0;
    counter-reset: num;
    display: grid;
    gap: 12px;
}

.number_list li {
    list-style: none;
    position: relative;
    padding: 14px 16px 14px 52px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    line-height: 1.7;
}

.number_list li::before {
    counter-increment: num;
    content: counter(num);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 13px;
    background: #464646;
    color: #fff;
}

/* ===== 効果リスト（横並び/折り返し） ===== */
.effect_list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 10px;
}

.effect_list li {
    list-style: none;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 13px;
    line-height: 1.2;
}

/* ===== 注意事項 OK / NG ===== */
.note_columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 14px;
}

.note_columns>div {
    border-radius: 6px;
    padding: 16px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
}

.note_columns h5 {
    margin: 0 0 10px;
    font-size: 15px;
    letter-spacing: 0.03em;
}

.note_columns ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.note_columns li {
    list-style: none;
    position: relative;
    padding-left: 18px;
    line-height: 1.6;
    font-size: 14px;
}

.note_columns li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
}

/* 見出しで“OK/NG”のニュアンスをさりげなく */
.note_columns>div:first-child h5 {
    padding-left: 10px;
    border-left: 3px solid rgba(0, 0, 0, 0.35);
}

.note_columns>div:last-child h5 {
    padding-left: 10px;
    border-left: 3px solid #464646;
}

/* ===== 価格 ===== */
.price_list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.price_list li {
    list-style: none;
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.00));
    font-size: 16px;
    color: #464646;
}

.price_list li strong {
    padding-right: 9px;
}

/* ===== 韓国式肌育プログラム：仕組み/メカニズム専用 ===== */
.product_mechanism {
    margin-top: 32px;
}

/* 小見出し（CHARISについて / 5つのアプローチ） */
.product_mechanism .product_subtitle {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 24px 0 12px;
    padding-left: 12px;
    position: relative;
}

.product_mechanism .product_subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 4px;
    height: 1.1em;
    background: #464646;
    opacity: 0.35;
    border-radius: 2px;
}

/* 説明ボックス（落ち着いたカード） */
.product_mechanism .product_note {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(70, 70, 70, 0.12);
    border-radius: 6px;
    padding: 18px 18px 16px;
    margin: 12px 0 18px;
}

/* 箇条書き（3つ軸） */
.product_mechanism .product_bullets {
    margin: 10px 0 10px 18px;
    padding: 0;
}

.product_mechanism .product_bullets li {
    position: relative;
    padding-left: 14px;
    margin: 8px 0;
    line-height: 1.7;
}

.product_mechanism .product_bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(70, 70, 70, 0.45);
}

/* 5つのアプローチ（番号付き） */
.product_mechanism .product_steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    gap: 14px;
}

.product_mechanism .product_steps>li {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(70, 70, 70, 0.10);
    border-radius: 6px;
    padding: 16px 16px 14px;
    position: relative;
}

.product_mechanism .product_steps>li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 12px;
    left: 12px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 13px;
    background: rgba(70, 70, 70, 0.10);
    color: #464646;
}

.product_mechanism .product_steps_title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    padding-left: 40px;
    line-height: 1.5;
}

.product_mechanism .product_steps .text_style01 {
    margin: 0;
    padding-left: 40px;
}

/* ===== ダイヤモンドピール：仕組み/メカニズム専用 ===== */
.product_mechanism--diamond .mechanism_keypoints {
    margin: 14px 0 16px;
    padding: 16px 18px;
    border-radius: 6px;
    border: 1px solid rgba(70, 70, 70, 0.12);
    background: rgba(255, 255, 255, 0.75);
    position: relative;
    overflow: hidden;
}

.product_mechanism--diamond .mechanism_keypoints_list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.product_mechanism--diamond .mechanism_keypoints_list li {
    position: relative;
    padding-left: 18px;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

.product_mechanism--diamond .mechanism_keypoints_list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(70, 70, 70, 0.55);
}

/* ===== スマホ ===== */
@media (max-width: 767px) {
    .product_header {
        flex-direction: column;
        gap: 20px;
    }

    .product_detail .mw1200 {
        max-width: 100%;
    }

    .product_catch {
        font-size: 17px;
        margin-bottom: 1.2em;
    }

    .product_name {
        font-size: 22px;
    }

    .product_block {
        margin-top: 34px;
        padding-top: 18px;
    }

    .product_block_title {
        font-size: 16px;
    }

    .number_list li {
        padding: 12px 12px 12px 48px;
    }

    .number_list li::before {
        left: 12px;
        top: 12px;
    }

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

    .product_mechanism .product_subtitle {
        font-size: 16px;
    }

    .product_mechanism .product_steps>li {
        padding: 14px 14px 12px;
    }

    .product_mechanism .product_steps_title {
        font-size: 15px;
    }

    .product_mechanism--diamond .mechanism_keypoints {
        padding: 14px 14px;
    }

    .product_mechanism--diamond .mechanism_keypoints_list li {
        font-size: 15px;
        padding-left: 16px;
    }
}