.cp_allstyle {
    width: 100%;
    color: #333;
    font-feature-settings: "pwid";
    letter-spacing: 0.05em;
    font-size: 16px;
}

.cp_topicpath,
h1.cp_h1,
.cp_intro,
.cp_targets,
.cp_allstyle h2,
.cp_pp,
.coupon_container {
    width: 950px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

h1.cp_h1 {
    margin-top: 0;
    margin-bottom: 0;
}

h1.cp_h1 img {
    display: block;
    width: 100%;
    height: auto;
}

.cp_intro {
    font-size: 1.2em;
    line-height: 1.8;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

/* マーカー */
.marker {
    position: relative;
    display: inline-block;
    font-weight: bold;
    z-index: 0;
}

.marker::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.1em;
    width: 100%;
    height: 0.6em;
    background: #ffeb3b;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    animation: marker 1s ease forwards;
}

@keyframes marker {
    to {
        transform: scaleX(1);
    }
}

/* 丸番号 */
.maru {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.5em;
    border-radius: 50%;
    color: #55D3E6;
    background-color: #FFE600;
    text-align: center;
    line-height: 1.5em;
}

/* セクション見出し */
.cp_allstyle h2 {
    margin-top: 50px;
    margin-bottom: 1em;
    padding: 0.4em;
    font-size: 1.4em;
    font-weight: bold;
    color: #fff;
    background: #55D3E6;
    text-align: left;
}

/* 共通コンテンツ */
.cp_pp {
    line-height: 1.8;
}

.cp_pp p {
    font-size: 1.2em;
}

.cp_pp ul {
    margin: 0 0 1em;
    padding-left: 1.5em;
    list-style: disc;
}

.cp_pp li + li {
    margin-top: 0.45em;
}

.cp_pp li p {
    margin: 0;
}

p.summary {
    font-size: 1.2em;
}

.summary span {
    font-weight: bold;
}

.cp_htu img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1em;
}

.coupon_guide_img {
    display: block;
    margin-top: 1.2em;
    border: 1px solid #55D3E6;
    box-sizing: border-box;
}

/* こんな人におすすめ */
.cp_targets {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    margin-bottom: 20px;
}

.cp_target_box {
    position: relative;
    flex: 1;
    padding: 25px 20px 20px;
    border: 2px solid #55D3E6;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    text-align: center;
}

.cp_target_tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 14px;
    border-radius: 20px;
    color: #fff;
    background: #FF8219;
    font-weight: bold;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

p.cp_target_title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8em;
    margin: 10px 0 12px !important;
    color: #55D3E6 !important;
    font-size: 1.1em !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

p.cp_target_text {
    margin: 0 !important;
    color: #444 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    text-align: left !important;
}

/* 商品一覧 */
.coupon_container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.cp_details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
    background: #ECFAFC;
    box-sizing: border-box;
}

.cp_details h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2em;
    margin: 0 0 0.7em;
    color: #55D3E6;
    font-size: 1.3em;
    font-weight: bold;
    line-height: 1.35;
    text-align: center;
}

.shipping,
.flex_box {
    width: 100%;
    height: 100%;
}

.flex_box {
    display: flex;
    flex-direction: column;
}

.flex_box > a.imgHover {
    display: block;
}

.flex_box img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
}

.cp_product_info {
    margin-top: 0.85em;
    padding: 0.8em;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
}

.cp_product_label {
    margin: 0 0 0.4em;
    color: #55D3E6;
    font-size: 0.95em;
    font-weight: bold;
}

.cp_product_list {
    margin: 0;
    padding-left: 1.3em;
    font-size: 0.82em;
    line-height: 1.55;
}

.cp_product_list li + li {
    margin-top: 0.25em;
}

.cp_product_list a {
    color: #285fd5;
    text-decoration: underline;
}

.cp_product_list a:hover {
    opacity: 0.7;
}

.cp_exclusion {
    margin: 0.85em 0 0;
    color: #c0392b;
    font-size: 0.85em;
    font-weight: bold;
    line-height: 1.5;
}

/* クーポン表示 */
.cp_firstcoupon {
    width: 100%;
    margin: 1em 0 0;
    text-align: center;
    box-sizing: border-box;
}

.cp_firstcoupon_box {
    margin-top: 0.8em;
}

.copy_code {
    padding: 0.5em;
    color: #000;
    background: #fff;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    word-break: break-all;
}

.cp_firstcoupon_box .copy_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25em;
    width: 86%;
    margin: 14px auto 18px;
    padding: 0.55em 0.4em;
    border: 2px solid #ff7600;
    border-radius: 5px;
    color: #ff7600;
    background: #fff;
    font: inherit;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.3;
    cursor: pointer;
    box-sizing: border-box;
    transition: 0.2s;
}

.cp_firstcoupon_box .copy_btn:hover {
    opacity: 0.65;
}

.cp_firstcoupon_box .copy_btn.copied {
    color: #fff;
    background: #ff7600;
}

.copy_btn .material-symbols-outlined {
    font-size: 1.15em;
}

/* 商品詳細ボタン */
a.btn_mt23 {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 1em 0.3em;
    border-radius: 5px;
    color: #fff;
    background: #FF8219;
    font-size: 1.15em;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

a.btn_mt23:hover {
    opacity: 0.7;
    transition: 0.3s;
}

/* トップへ戻る */
.topback {
    margin-top: 8em;
    text-align: center;
}

.topback a {
    display: inline-block;
    padding: 10px 80px;
    border-radius: 5px;
    color: #fff;
    background: #285fd5;
    font-size: 1.8em;
    text-decoration: none;
}

.topback a:hover {
    opacity: 0.7;
    transition: 0.5s;
}

/* タブレット・スマートフォン */
@media screen and (max-width: 980px) {
    .cp_topicpath,
    h1.cp_h1,
    .cp_intro,
    .cp_targets,
    .cp_allstyle h2,
    .cp_pp,
    .coupon_container {
        width: calc(100% - 32px);
    }

    .coupon_container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    .cp_allstyle {
        font-size: 15px;
    }

    .cp_topicpath,
    h1.cp_h1,
    .cp_intro,
    .cp_targets,
    .cp_allstyle h2,
    .cp_pp,
    .coupon_container {
        width: calc(100% - 24px);
    }

    .cp_intro {
        font-size: 1.05em;
        line-height: 1.75;
    }

    .cp_targets {
        flex-direction: column;
        gap: 28px;
    }

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

    .cp_details {
        padding: 16px;
    }

    .cp_details h3 {
        min-height: 0;
        font-size: 1.25em;
    }

    .flex_box img {
        height: auto;
        max-height: 360px;
    }

    .cp_allstyle h2 {
        margin-top: 40px;
        font-size: 1.2em;
    }

    .cp_pp p,
    p.summary {
        font-size: 1em;
    }

    .topback {
        margin-top: 5em;
    }

    .topback a {
        width: calc(100% - 48px);
        padding: 12px 0;
        font-size: 1.3em;
        box-sizing: border-box;
    }
}
