@charset "utf-8";
/* ============================================================
   #2887 新出品価格方式リリース記念キャンペーン 詳細ページ
   (/campaign/new_price_rule)

   部品は侍ジャパン (#2484) のページ (campaign.css の .cp_*) をそのまま使い、
   このファイルには支給デザインにあって campaign.css に無い部品だけを置く。
   セレクタは .cpn_ 接頭辞で閉じる。色は campaign.css の変数 (--cp-ink 等) を使う。
   ============================================================ */

/* -- 改行の出し分け (PC だけ折る) -- */
@media screen and (max-width: 899px){
    .cpn_br-pc{ display: none; }
}

/* ============================================================
   ファーストビュー: 見出しの上の緑のラベル、見出しは2行
   ============================================================ */
.cpn_mv__label{
    margin: 0 0 12px;
}
.cpn_mv__label span{
    display: inline-block;
    padding: 4px 18px;
    background: var(--c-green-dark);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .04em;
    /* バナーの「期間限定」と同じく斜めの札にする */
    -webkit-clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
            clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.cpn_mv__ttl{
    white-space: normal;
    font-size: 40px;
}
.cpn_mv__lead em{
    font-size: 30px;
}
.cpn_mv .cp_mv__note{
    font-size: 13px;
    line-height: 1.6;
}
/* 2つ目のボタンは文言が長いので、枠 (324px) ではなく文字の幅で取り、1つ目を細くして横に並べる。
   ボタンが横並びになる 1101px 以上だけ。900〜1100px と SP は campaign.css でボタンを縦に積んでおり、
   そこで flex-basis を変えると高さに効いてボタンの間が空く */
@media screen and (min-width: 1101px){
    .cpn_mv .cp_mv__cta > li:first-child{
        -webkit-box-flex: 0;
            -ms-flex: 0 1 200px;
                flex: 0 1 200px;
    }
    .cpn_mv .cp_mv__cta > li:last-child{
        -webkit-box-flex: 0;
            -ms-flex: 0 1 auto;
                flex: 0 1 auto;
    }
}
.cpn_mv .cp_mv__cta .cp_btn{
    white-space: nowrap;
}
.cpn_mv .cp_mv__cta .cp_btn--ghost{
    padding: 8px 40px 8px 16px;
    font-size: 16px;
}
@media screen and (max-width: 899px){
    .cpn_mv__label span{ font-size: 14px; }
    .cpn_mv__ttl{ font-size: 26px; }
    .cpn_mv__lead em{ font-size: 21px; }
    .cpn_mv .cp_mv__note{ font-size: 12px; }
    .cpn_mv .cp_mv__cta .cp_btn{ white-space: normal; }
}

/* ============================================================
   新出品価格方式リリースのお知らせ (アイコン + 文 + ボタン)
   ============================================================ */
.cpn_news{
    display: -ms-grid;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin: 0 0 24px;
    padding: 18px 24px;
    border: 1px solid var(--c-info-line, #cfe3c4);
    border-radius: var(--r-md);
    background: var(--c-green-tint);
}
.cpn_news__icon{
    line-height: 0;
}
.cpn_news__ttl{
    margin: 0 0 6px;
    color: var(--cp-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}
.cpn_news__text{
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}
.cpn_news__cta{
    margin: 0;
}
.cpn_news__cta .cp_btn{
    min-width: 0;
    padding: 10px 44px 10px 20px;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
}
@media screen and (max-width: 899px){
    .cpn_news{
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }
    .cpn_news__icon svg{ width: 52px; height: auto; }
    .cpn_news__ttl{ font-size: 17px; }
    .cpn_news__cta{ grid-column: 1 / -1; }
    .cpn_news__cta .cp_btn{ display: block; }
}

/* ============================================================
   セクション (見出しは左に緑の斜めの棒)
   ============================================================ */
.cpn_sec{
    margin: 0 0 28px;
}
.cpn_sec__ttl{
    position: relative;
    margin: 0 0 14px;
    padding-left: 22px;
    color: var(--cp-ink);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}
.cpn_sec__ttl::before{
    content: "";
    position: absolute;
    left: 4px;
    top: .2em;
    bottom: .2em;
    width: 7px;
    background: var(--c-green-dark);
    -webkit-transform: skewX(-18deg);
            transform: skewX(-18deg);
}
.cpn_sec__ttl em{
    color: var(--cp-red);
    font-size: 1.3em;
    font-style: normal;
    line-height: 1;
}
@media screen and (max-width: 899px){
    .cpn_sec__ttl{ font-size: 20px; padding-left: 18px; }
}

/* ============================================================
   キャンペーン概要 (4つの枠)
   ============================================================ */
.cpn_summary__term{
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--cp-ink);
}
.cpn_summary__term-label{
    display: inline-block;
    margin-right: 10px;
    padding: 2px 12px;
    border-radius: var(--r-sm);
    background: var(--cp-ink);
    color: #fff;
    font-size: 14px;
    vertical-align: 2px;
}
.cpn_summary{
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cpn_summary__item{
    padding: 14px 16px;
    border: 1px solid var(--c-border-light);
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: var(--sh-1);
}
.cpn_summary__head{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--cp-ink);
    font-size: 18px;
    font-weight: 700;
}
.cpn_summary__text{
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}
.cpn_summary__text strong{
    color: var(--cp-ink);
}
.cpn_summary__num{
    margin: 0;
    color: var(--cp-red);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}
.cpn_summary__num strong{
    font-size: 52px;
}
/* ワイヤーの指定:「新方式利用が必須」と誤解されないよう、はっきり書く */
.cpn_summary__note{
    margin: 10px 0 0;
    padding: 8px 14px;
    border-left: 5px solid var(--c-green-dark);
    background: var(--c-green-tint);
    color: var(--cp-ink);
    font-size: 15px;
    font-weight: 700;
}
@media screen and (max-width: 899px){
    .cpn_summary{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .cpn_summary__item{ padding: 10px 12px; }
    .cpn_summary__head{ font-size: 16px; }
    .cpn_summary__text{ font-size: 13px; }
    .cpn_summary__num strong{ font-size: 40px; }
    .cpn_summary__term{ font-size: 15px; }
    .cpn_summary__note{ font-size: 14px; }
}

/* ============================================================
   景品紹介 (写真3つ + 「3点セット」)
   ============================================================ */
.cpn_goods{
    display: -ms-grid;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border: 1px solid var(--c-border-light);
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: var(--sh-1);
}
.cpn_goods__list{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cpn_goods__item{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.cpn_goods__item img{
    display: block;
    max-width: 100%;
    height: auto;
}
.cpn_goods__item--towel{ flex: 0 1 360px; }
.cpn_goods__item--folder{ flex: 0 1 200px; }
.cpn_goods__item--tumbler{ flex: 0 1 100px; }
.cpn_goods__name{
    padding: 3px 16px;
    border-radius: 999px;
    background: var(--cp-blue-tint);
    color: var(--cp-ink);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}
.cpn_goods__name small{
    margin-right: 6px;
    color: var(--c-green-dark);
    font-size: 12px;
}
.cpn_goods__set{
    text-align: center;
}
.cpn_goods__set-ttl{
    margin: 0;
    color: var(--cp-ink);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}
.cpn_goods__set-num{
    margin: 4px 0 10px;
    color: var(--cp-red);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}
.cpn_goods__set-num strong{
    font-size: 64px;
}
/* 月桂樹 (SVG) で「3点セット」を左右から挟む */
.cpn_goods__set-num{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.cpn_laurel{
    flex: none;
    width: 36px;
    height: 76px;
    margin-bottom: -6px;
}
.cpn_laurel--r{
    -webkit-transform: scaleX(-1);
            transform: scaleX(-1);
}
.cpn_svgdefs{
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}
.cpn_goods__note{
    margin: 0;
    color: var(--c-text-sub);
    font-size: 12px;
}
@media screen and (max-width: 899px){
    .cpn_goods{
        grid-template-columns: minmax(0, 1fr);
        padding: 14px 12px;
    }
    /* 写真3つを1行に並べる。幅は写真の縦横比に合わせて配分 (タオル横長・タンブラー細長) */
    .cpn_goods__list{
        display: grid;
        grid-template-columns: 1.5fr 1fr .8fr;
        gap: 8px;
    }
    .cpn_goods__item img{ width: 100%; }
    .cpn_goods__item--tumbler img{ width: 70%; margin: 0 auto; }
    .cpn_goods__name{ padding: 2px 6px; font-size: 11px; }
    .cpn_goods__name small{ display: none; }
    .cpn_goods__set-ttl{ font-size: 18px; }
    .cpn_goods__set-ttl br{ display: none; }
    .cpn_goods__set-num{ font-size: 22px; }
    .cpn_goods__set-num strong{ font-size: 48px; }
    .cpn_laurel{ width: 28px; height: 58px; }
}

/* ============================================================
   当選チャンス: campaign.css の .cp_chance の右に「1社最大3口」
   ============================================================ */
.cpn_chance{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    gap: 20px;
}
.cpn_chance .cp_chance{
    flex: 1 1 auto;
    margin: 0;
}
.cpn_chance__max{
    flex: none;
    margin: 0;
    padding: 12px 22px;
    border: 3px solid var(--c-green-dark);
    border-radius: var(--r-md);
    background: #fff;
    color: var(--cp-ink);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}
.cpn_chance__max strong{
    color: var(--cp-red);
    font-size: 40px;
}
@media screen and (max-width: 899px){
    .cpn_chance{ flex-direction: column; gap: 10px; }
    .cpn_chance .cp_chance{ width: 100%; }
    .cpn_chance__max{ font-size: 17px; }
    .cpn_chance__max strong{ font-size: 32px; }
}

/* ============================================================
   3ステップの下の「成約すれば自動エントリー」(ワイヤーの指定で大きめ)
   ============================================================ */
.cpn_entry{
    margin: 14px 0 0;
    padding: 12px 16px;
    border-radius: var(--r-md);
    background: var(--cp-ink);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}
@media screen and (max-width: 899px){
    .cpn_entry{ font-size: 17px; }
}

/* ============================================================
   対象条件・抽選について (項目と中身の2列)
   ============================================================ */
.cpn_grid{
    margin-bottom: 12px;
}
.cpn_cond{
    display: -ms-grid;
    display: grid;
    grid-template-columns: 6em minmax(0, 1fr);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}
.cpn_cond dt,
.cpn_cond dd{
    margin: 0;
    padding: 7px 4px;
    border-bottom: 1px solid var(--c-border-light);
}
.cpn_cond dt{
    color: var(--cp-ink);
    font-weight: 700;
}
.cpn_caution{
    height: auto;
    margin-bottom: 28px;
}

/* ============================================================
   最終CTA: 2つ目のボタン「新出品価格方式について詳しく見る」は 16 文字あり、
   SP では1行に収まらず右にはみ出していた (375px で実測)。一段小さくし、折り返しも許す
   ============================================================ */
@media screen and (max-width: 899px){
    .cpn .cp_last__cta .cp_btn--ghost{
        padding-left: 16px;
        padding-right: 40px;
        font-size: 15px;
        white-space: normal;
    }
}
