@charset "utf-8";
/* CSS Document */

    #navbarServiceMenu > ul > li > a { padding-left: 1rem; color: #252525; background-color: #eee; letter-spacing: 1px; font-size: 1rem; }
    #navbarServiceMenu > ul > li > a:hover { color: #fff; background-color: #999; }
    #navbarServiceMenu > ul > li.nav-item.active > a { color: #fff; background-color: #259139; }

@media (min-width: 992px) {
    #navbarServiceMenu > ul > li > a { padding: 0 .75rem; color: #252525; letter-spacing: 1px; }
    #navbarServiceMenu > ul > li > a { color: #252525; background-color: rgba(255,255,255,0.7); letter-spacing: 1px; font-size: .9rem; }
    #navbarServiceMenu > ul > li:nth-child(1) > a { border-color: #449d44; border-style: solid; border-width: 0px 0px 4px 0px; }
    #navbarServiceMenu > ul > li:nth-child(2) > a { border-color: #1c469c; border-style: solid; border-width: 0px 0px 4px 0px; }
    #navbarServiceMenu > ul > li:nth-child(3) > a { border-color: #e71418; border-style: solid; border-width: 0px 0px 4px 0px; }
    #navbarServiceMenu > ul > li:nth-child(4) > a { border-color: #fdd538; border-style: solid; border-width: 0px 0px 4px 0px; }
    #navbarServiceMenu > ul > li:nth-child(5) > a { border-color: #7c4226; border-style: solid; border-width: 0px 0px 4px 0px; }
    #navbarServiceMenu > ul > li.nav-item.active > a { color: #fff; background-color:#259139; }
}
@media (min-width: 992px) {
    #navbarServiceMenu > ul > li > a { font-size: 1rem; }
}
    #news h1, #contact h1 { display: block; background: url(../../assets/img/bg_title.gif); height: 2.25rem;}
    span.title {
        margin: 0 20px;
        padding: 8px 10px 8px 15px;
        display: inline-block;
        font-weight: bold;
        letter-spacing: 2px;
        color: #252525;
        background-color: #fbfbfb;
    }

/* =========================================================
   DPE TOP (style-top.css)
   ========================================================= */


/* =========================================================
   1) MAKE（サービス一覧カード）
   構造（現状HTML）：
   .make-grid > .card > a.make-card
   → gridの制御は “.make-grid直下の.card” に指定する
   ========================================================= */

#dpe-make{
    padding-top: 8px;
}
@media (min-width: 768px){
    #dpe-make{ padding-top: 0; }
}

/* グリッド本体 */
#dpe-make .make-grid{
    display: grid;
    grid-template-columns: 1fr; /* sm以下は1列 */
    gap: 1rem;
}

/* md以上：2列 */
@media (min-width: 768px){
    #dpe-make .make-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* lg以上：3列 */
@media (min-width: 992px){
    #dpe-make .make-grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* featured（プレミアムライン）は常に “横幅いっぱい” にする
   ※ 重要：grid-itemは .make-grid直下の .card
*/
#dpe-make .make-grid > .card:first-child{
    grid-column: 1 / -1;
}

/* lg以上は2カラム分（3列のうち2列） */
@media (min-width: 992px){
    #dpe-make .make-grid > .card:first-child{
        grid-column: span 2;
    }
}

/* make-card（リンク本体）
   - 見た目のcardらしさ（枠/影/角丸）は .card に任せる
   - aタグは“中身のレイアウトとクリック領域”を担当
*/
#dpe-make .make-card{
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .14s ease, filter .14s ease;
    position: relative;
}
#dpe-make .make-card:hover{
    transform: translateY(-3px);
    filter: brightness(99%);
}

/* 画像エリア */
#dpe-make .make-img{
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
#dpe-make .make-img::after{
    content:"";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0,0,0,.06) 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: .22;
}

/* featuredのみ画像比率をワイドに */
#dpe-make .make-card.featured .make-img{
    aspect-ratio: 16 / 9;
}

/* テキスト */
#dpe-make .make-name{
    margin: .1rem 0 .4rem;
}
#dpe-make .make-name > h2{
    letter-spacing: 1px;
}
#dpe-make .make-desc{
    margin: 0;
    color: #1c1c1c;
    line-height: 1.6;
}

/* featuredの本文揃え：md以上で左寄せ（元の雰囲気） */
#dpe-make .make-card.featured .make-body{
    text-align: center;
}
@media (min-width: 768px){
    #dpe-make .make-card.featured .make-body{
        text-align: left;
    }
}

/* 画像ラベル（キャンペーン／NEW） */
#dpe-make .make-tag{
    position: absolute;
    left: .6rem;
    top: .6rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .25rem .55rem;
    border-radius: 2px;
    font-weight: 900;
    font-size: .82rem;
    letter-spacing: .04em;
    color: #fff;
    background: #259139;
}
#dpe-make .make-badge-new{
    position: absolute;
    right: .55rem;
    top: .55rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: .78rem;
    letter-spacing: .03em;
    color: #fff;
    background: #e14b3a;
}

/* 画像内の「ガラスフォトプレミアム」（右下） */
#dpe-make .make-glass-photo{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: .25rem .6rem;
    color: #fff;
    font-weight: 900;
    font-size: .9rem;
    letter-spacing: 1px;
    background-color: rgb(0 0 0 / 50%);
}

/* =========================================================
   2) FEATURES（DPE宅配便の特長）
   ========================================================= */

#dpe-features .feat-title {
    margin: 0 0 .35rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 1.35rem;
    color: #222;
    background: none;
}
#dpe-features .feat-lead{
    margin: 0;
    color: #1c1c1c;
    line-height: 1.8;
}

/* 内側の説明パネル（feat-card） */
#dpe-features .feat-card{
    height: 100%;
    background: #f9fbfd;
    border: solid 1px #ddd;
    border-radius: var(--bs-border-radius);
}
#dpe-features .feat-card h2{
    margin: 0 0 .5rem;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: .02em;
}
#dpe-features .feat-card p{
    margin: 0;
    color: #1c1c1c;
    line-height: 1.75;
}

/* pill */
#dpe-features .feat-pill{
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: #f3f3f3;
    font-weight: 900;
    font-size: .88rem;
    margin-top: .75rem;
}

/* 会員メリット（番号つきリスト） */
#dpe-features .merits{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1rem;
    margin: .25rem 0 0;
    padding-left: 0;
    list-style: none;
}
@media (max-width: 991.98px){
    #dpe-features .merits{
        grid-template-columns: 1fr;
    }
}
#dpe-features .merits li{
    position: relative;
    padding-left: 2.25rem;
    color: #1c1c1c;
    line-height: 1.7;
}
#dpe-features .merits li::before{
    content: attr(data-no);
    position: absolute;
    left: 0;
    top: .05rem;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: .85rem;
    color: #fff;
    background: #259139;
}

/* “詳しくはこちら”リンク */
#dpe-features .feat-link{
    display: inline-block;
    margin-top: .75rem;
    text-decoration: none;
}
#dpe-features .feat-link:hover{
    text-decoration: underline;
}

/* =========================================================
   3) PREMIUM（プレミアムライン）
   ========================================================= */

#dpe-premium .premium-title {
    margin: 0 0 .35rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 1.35rem;
    color: #222;
    background: none;
}
#dpe-premium .premium-lead{
    margin: 0;
    color: #1c1c1c;
    line-height: 1.8;
}

/* premium-card（内側の淡色ボックス） */
#dpe-premium .premium-card{
    height: 100%;
    background: #f9fbfd;
    border: solid 1px #ddd;
    border-radius: var(--bs-border-radius);
}
#dpe-premium .premium-card p{
    margin: 0;
    color: #1c1c1c;
    line-height: 1.75;
}
