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

h1.cp_h1 {
    width: 950px;
    margin: auto;
}

h1.cp_h1 img {
    width: 100%;
}

.cp_intro {
    width: 950px;
    font-size: 1.2em;
    margin: 1.5em auto;
}

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

.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;
    border-radius: 50%;
    text-align: center;
    line-height: 1.5em;
    margin-right: 0.5em;
}

h2 .maru {
    color: #0096e6;
    background-color: #faf014;
}

.maru:not(h2 .maru) {
    color: #0096e6;
    background-color: #faf014;
}

/* 詳細ボックス */
.cp_details {
    width: calc((100% - 40px) / 3);
    background: #e7f5ff;
    padding: 2%;
    box-sizing: border-box;
}

.cp_details h2 {
    color: #faf014;
    background: #0096e6;
    padding: 0.4em;
    margin: 0 0 1em;
    font-size: 1.4em;
    font-weight: bold;
    text-align: left;
}

.cp_details h3 {
    color: #0096e6;
    margin: 0 0 0.5em;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    
    /* 横並びの画像位置を揃えるための追加設定 */
    min-height: 2.8em;           /* ① 2行分の高さを一律で確保（必要に応じて3em等に調整） */
    line-height: 1.4;            /* 行間を適切に設定 */
    display: flex;               /* ② ここから下は1行のタイトルを上下中央に寄せるための設定 */
    align-items: center;         
    justify-content: center;     
}

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

/* 「.copy_btn」の手前に「.cp_firstcoupon_box」をつけて優先度を上げます */
.cp_firstcoupon_box .copy_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;                  /* ★横幅を80%に固定 */
    margin: 20px auto;         /* ★中央寄せにし、ボタンの下に10pxの余白を作ります */
    font-size: 1.1em;            
    font-weight: bold;
    color: #FF7600;              
    background: #fff;     
    border: 2px solid #FF7600;   
    border-radius: 5px;          
    padding: 0.5em 0;
    transition: .2s;
    cursor: pointer;
    box-sizing: border-box;
}

.copy_code {
    font-size: 1.6em;
    font-weight: bold;
    color: #000;
    background: #fff;
    padding: 0.5em;
    transition: .4s;
    text-align: center;
}

.copy_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;                  /* ★横幅を80%に指定 */
    margin: 0 auto;              /* ★中央配置にする */
    font-size: 1.1em;            
    font-weight: bold;
    color: #FF7600;              
    background: transparent;     
    border: 2px solid #FF7600;   
    border-radius: 5px;          
    padding: 0.5em 0;
    transition: .2s;
    cursor: pointer;
    box-sizing: border-box;
}

.copy_btn:hover {
    opacity: 0.6;
}

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

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

/* 価格・割引 */
.discount_rate {
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    background: #0096e6;
    padding: 0.1em 0.3em;
    margin: 0 0.5em 0.5em 0;
}

.discount_rate_mokuji {
    display: inline-block;
    font-size: 1em;
    font-weight: bold;
    color: #0096e6;
    padding: 0 0.3em;
    line-height: 1.5em;
}

.price {
    font-size: 1.2em;
}

/* 商品セクション */
.shipping {
    width: 100%;
}

.shipping h3 {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 1em;
    color: #000;
}

.flex_box {
    width: 100%;
}

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

.flex_box div {
    width: 100%;
    box-sizing: border-box;
}

/* セクション見出し */
.cp_allstyle h2 {
    width: 950px;
    margin: 50px auto 1em;
    padding: 0.4em;
    font-size: 1.4em;
    font-weight: bold;
    color: #ffffff;
    background: #0096e6;
    text-align: left;
    box-sizing: border-box;
}

/* 共通コンテンツ */
.cp_pp {
    width: 950px;
    margin: auto;
}

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

.cp_pp h3 {
    width: 100%;
    font-size: 1.4em;
    color: #e60064;
    border-bottom: 1px solid;
    margin: 0 0 1em;
    padding-bottom: 0.3em;
    display: inline-block;
}

.cp_pp h3:nth-of-type(n+2) {
    margin-top: 50px;
}

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

.cp_period p {
    font-size: 1.4em;
}

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

/* クーポン商品一覧 */
.coupon_container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 950px;
    margin: auto;
}

.coupon_container::after {
    content: "";
    width: calc((100% - 40px) / 3);
}

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

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

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

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

.summary span {
    font-weight: bold;
}

/* ==========================================
   こんな人におすすめ（横並びレイアウト）
========================================== */
.cp_targets {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 950px;
    margin: 45px auto 20px;
    box-sizing: border-box;
}

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

/* 上部のラベルタグ */
.cp_target_tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff7700; /* バンフー様のオレンジ */
    color: #fff;
    font-weight: bold;
    padding: 2px 14px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    white-space: nowrap; /* タグ内の文字の折り返しを防ぐ */
}

/* タイトル（2行になっても高さが揃う設定） */
p.cp_target_title {
    font-size: 1.1em !important;
    font-weight: bold !important;
    color: #0096e6 !important;
    margin: 10px 0 12px !important;
    text-align: center !important;
    min-height: 2.8em;           /* 2行分の高さを確保 */
    display: flex;               
    align-items: center;         /* 上下中央揃え */
    justify-content: center;     /* 左右中央揃え */
    line-height: 1.4 !important;
}

/* 説明文 */
p.cp_target_text {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #444 !important;
    text-align: left !important;
    margin: 0 !important;
}