/************ 1. 共通 ****************/
html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}
*, *::before, *::after {
    box-sizing: border-box;
}
.winter-gift2026_box {
    text-align: center;
}
.winter-gift2026_main img {
    width: 100%;
}

/************ 2. タイトル・テキスト ****************/
.m_title {
    font-size: var(--fz37);
    color: #C2584A;
    text-align: center;
    padding: 100px 0 40px;
}
.m_title img {
    width: 80px;
}
.m_title p {
    line-height: 1.4;
    letter-spacing: 0.05em;
}
.m_title.intro {
    color: #4A2212;
    letter-spacing: 0.05em;
    font-size: var(--fz36);
}
.m_title.intro span {
    color: #C2584A;
}
.m_text {
    font-size: var(--fz20);
    text-align: center;
    line-height: 5.2rem;
}

/************ 3. 商品一覧 ****************/
/* ランキング */
.m_box_4 {
    padding: 0 5.5% 0;
}
.pic_box {
    position: relative;
}
.ranking-icon {
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-size: var(--fz20);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 0.4em; /* 数字の位置微調整 */
    z-index: 10;
}
.rank-1 {
    background: url(https://gigaplus.makeshop.jp/agemochiya/img/figure_ribon1.png) center center/contain no-repeat;
}
.rank-2 {
    background: url(https://gigaplus.makeshop.jp/agemochiya/img/figure_ribon2.png) center center/contain no-repeat;
}
.rank-3 {
    background: url(https://gigaplus.makeshop.jp/agemochiya/img/figure_ribon3.png) center center/contain no-repeat;
}
.rank-4 {
    background: url(https://gigaplus.makeshop.jp/agemochiya/img/figure_ribon4.png) center center/contain no-repeat;
}

/* 3カラム */
.pic {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: flex-start;
    gap: 15px;
}
.pic > div {
    padding: 40px 30px 35px;
    background-color: #fff;
    border-radius: 10px;
    width: calc((100% - (15px * 2)) / 3);
}

/* 商品 */
.pic_box img {
    width: 70%;
}
.pic_box .p_title {
    font-family: var(--noto);
    font-size: var(--fz18);
    text-align: left;
    padding: 10px 0;
    display: inline-block;
    line-height: 3.5rem;
}
.pic_box .b_price {
    font-size: var(--fz24);
    font-family: "Noto Sans JP";
    text-align: center;
}
.pic_box .b_price span {
    font-size: var(--fz14);
    padding-left: 10px;
}
.pic_box a .b_btn {
    background-color: #C2584A;
    border-radius: 100px;
    padding: 10px;
    color: #fff;
    width: 80%;
    margin: 15px auto 10px;
    font-family: "Noto Sans JP";
    font-size: var(--fz14);
	max-width: 260px;
}
#nanairo .pic_box a .b_btn {
    background-color: #9F7344;
}
#hanahukiyose .pic_box a .b_btn {
    background-color: #CC5D6E;
}
#irodori .pic_box a .b_btn {
    background-color: #C2814A;
}
#giftkan .pic_box a .b_btn {
    background-color: #5C956E;
}
#minican .pic_box a .b_btn {
    background-color: #E8C721;
}

/************ 4. ご予算から選ぶ ****************/
.yosan_txt {
    text-align: center;
    line-height: 4.5rem;
    font-size: var(--fz17);
}
.btn_link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0 40px;
}
.btn_link li {
    width: 32%;
    max-width: 390px;
}
.btn_link > li > a {
    opacity: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1em;
    color: #fff;
    font-size: var(--fz22);
    font-family: "Zen Maru Gothic", serif;
    background: #679D68;
    border-radius: 5px;
    box-sizing: border-box;
    transition: all .3s ease;
}
.btn_link > li:nth-child(1) > a {
    background: #C2A64A;
}
.btn_link > li:nth-child(2) > a {
    background: #C2984A;
}
.btn_link > li:nth-child(3) > a {
    background: #C2864A;
}
/* 矢印（ご予算ボタン・一覧ボタン共通） */
.arw_btn .arw,
.btn_link .arw {
    position: absolute;
    top: 50%;
    right: 0.7em;
    display: block;
    width: 1.3em;
    transform: translateY(-50%);
}
.btn_link .arw::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
}
.btn_link .arw::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
}

/************ 5. シリーズから選ぶ ****************/
.m_box_3 .cate_cont {
    background-color: #F2F1EB;
    padding: 6.5% 5% 0;
    margin: 20px 0;
    border-radius: 10px;
}
.series_label {
    color: #C2584A;
    font-size: var(--fz18);
    letter-spacing: .14em;
}
.series_num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    background: #C2584A;
    color: #fff;
    font-size: var(--fz28);
    font-weight: 400;
    letter-spacing: .15em;
	padding-left: .1em;
    padding-bottom: .1em;
}
.teiban_cont_tit {
    font-size: var(--fz31);
    margin: 0 0 35px;
    letter-spacing: 0.05em;
	color: #C2584A;
}
.teiban_cont {
    padding: 0 0 6.5%;
}
.teiban_cont .s_item_pic {
    margin-top: 40px;
}

/* 区切りライン */
.heading-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em; /* アイコンと線の間隔 */
	margin-bottom: 6%;
}
.heading-with-lines .line {
    height: 3px;
    flex-grow: 1;
    border-radius: 9999px;
}
.heading-with-lines .line.left {
    background-color: #EB8175;
}
.heading-with-lines .line.right {
    background-color: #EBCB73;
}
.heading-with-lines .icon {
    width: 60px;
    height: auto;
    display: block;
}

/* カテゴリー 各ビジュアル */
.product-hero {
    position: relative;
    width: 100%;
    /* 左右の余白：通常は5%、広い画面ではテキスト領域が最大1120pxに収まるよう自動で広げる */
    padding: 6.5% max(8%, calc((100% - 1120px) / 2)) 6%;
}
.product-bg img {
    display: none;
}
#irodori .product-hero {
    background: url("https://gigaplus.makeshop.jp/agemochiya/img/2026winter-gift/irodori.webp") 40% center/cover no-repeat;
}
#hanahukiyose .product-hero {
    background: url("https://gigaplus.makeshop.jp/agemochiya/img/2026winter-gift/hanahukiyose.webp") 55% center/cover no-repeat;
}
#nanairo .product-hero {
    background: url("https://gigaplus.makeshop.jp/agemochiya/img/2026winter-gift/nanairo.webp") 40% center/cover no-repeat;
}
#giftkan .product-hero {
    background: url("https://gigaplus.makeshop.jp/agemochiya/img/2026winter-gift/giftkan.webp") 55% center/cover no-repeat;
}
#minican .product-hero {
    background: url("https://gigaplus.makeshop.jp/agemochiya/img/2026winter-gift/minican.webp") 55% center/cover no-repeat;
}
/* テキストを上に配置 */
.product-hero .product-text {
    width: 33%;
    text-align: left;
}
.teiban_cont:nth-of-type(odd) .product-hero .product-text {
    margin-right: auto;
}
.teiban_cont:nth-of-type(even) .product-hero .product-text {
    margin-left: auto;
}
.product-hero .product-text h2 {
    font-size: var(--fz26);
    margin: 0 0 5px;
    line-height: 1.5;
}
.product-hero .separator {
    border-top: 2px dotted #4A2212;
    width: 100%;
    margin: 20px 0;
}
.product-hero .desc {
    font-size: var(--fz16);
    line-height: 2;
}
/* 「商品一覧を見る」ボタン */
.product-hero .btn {
    display: block;
    width: 80%;
    margin: 30px auto 0;
    padding: 12px 45px;
    background: #6FAFE6;
    color: #fff;
    font-family: "Noto Sans JP";
    font-size: var(--fz14);
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s;
	max-width: 300px;
}
#nanairo .product-hero .btn {
    background: #9F7344;
}
#hanahukiyose .product-hero .btn {
    background: #CC5D6E;
}
#irodori .product-hero .btn {
    background: #C2814A;
}
#giftkan .product-hero .btn {
    background: #5C956E;
}
#minican .product-hero .btn {
    background: #E8C721;
}
.product-hero .btn:hover {
    background: #9c734b;
}

/* 一覧ボタン（矢印付き）：summer-gift2026 より移植 */
.arw_btn {
    max-width: 325px;
    width: 60%;
    margin: 30px auto 80px;
    font-family: "Zen Maru Gothic", serif;
    text-align: center;
}
.arw_btn a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1em;
    color: #4A2212;
    font-size: var(--fz19);
    border-radius: 5px;
    border: 1.5px solid #4A2212;
    transition: all .3s ease;
    box-sizing: border-box;
}
.arw_btn .arw::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #4A2212;
}
.arw_btn .arw::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    width: 7px;
    height: 7px;
    background: #4A2212;
    border-radius: 50%;
    transform: translateY(-50%);
}
/* ミニ缶一覧ボタン */
.mini-can_btn {
    font-family: "Zen Maru Gothic", serif;
    background-color: #C2584A;
    border-radius: 5px;
    width: 80%;
    margin: 7% auto 0;
    font-size: var(--fz20);
    text-align: center;
    max-width: 510px;
    letter-spacing: 0.06em;
}
.mini-can_btn a {
    display: block;
    color: #fff !important;
    text-decoration: none;
    border: 0;
}
.arw_btn.mini-can_btn .arw {
    right: 2.7em;
}
.arw_btn.mini-can_btn .arw::before,
.arw_btn.mini-can_btn .arw::after {
    background: #fff;
}

/************ 6. のし・包装サービス ****************/
.m_box_5 {
    margin-top: 130px;
    background-color: #FAF7E3;
    padding: 0 6% 7%;
    border-radius: 10px;
}
.m_box_5 .m_text {
    line-height: 2.5;
    letter-spacing: 0.02em;
}
.gift_wrap {
    margin: 50px 0 0;
    font-family: var(--noto);
    letter-spacing: 0.02em;
    text-align: left;
}
.head_orange {
    font-family: var(--zenmaru);
    letter-spacing: 0;
}
.gift_cont {
    width: 95%;
    margin: 0 auto;
}
p.gift-txt {
    font-size: var(--fz20);
    line-height: 1.6;
}
p.gift-txt.attention {
    margin: 10px 0 35px;
    font-size: var(--fz15);
    line-height: 2;
}
.gift_block {
    margin: 25px 0 0;
    padding: 30px;
    background-color: #F5F1DC;
    border-radius: 10px;
}
p.gift_block_tit {
    font-size: var(--fz20);
    font-weight: 500;
    padding: 0 0 5px 0 !important;
    border-bottom: dotted 1px #999;
}
.gift_block_txt {
    line-height: 1.8;
    margin-top: 15px;
}
.gift_block_li {
    margin: 10px 0 0;
}
.about_noshi {
    display: flex;
    gap: clamp(30px, 4vw, 40px);
}
.about_noshi_item {
    display: flex;
    gap: clamp(25px, 3vw, 35px);
    margin: 30px 0 0;
    align-items: center;
}
.about_noshi_item img {
    width: 45%;
    height: auto;
    display: block;
    border-radius: 10px;
}
.about_noshi_cont {
    width: 45%;
}
p.about_noshi_tit {
    font-size: var(--fz18);
    font-weight: 500;
}
p.about_noshi_txt {
    font-size: var(--fz14);
    margin: 10px 0 0;
}
.gift_cont .gift_bnr img {
    border-radius: 10px;
    margin: 35px 0 0;
    max-width: 500px;
    width: 100%;
}

/* =====================================================
   7. レスポンシブ（ブレークポイント降順）
   ===================================================== */

/* ---------- max-width: 1200px ---------- */
@media only screen and (max-width: 1200px) {
    .pic > div {
        flex: initial;
        width: calc(50% - 7.5px);
        padding: 20px;
    }
    .product-hero .btn {
        width: 100%;
    }
}

/* ---------- max-width: 1020px ---------- */
@media only screen and (max-width: 1020px) {
    .about_noshi_item {
        flex-direction: column;
        gap: 15px;
    }
    .about_noshi_item img,
    .about_noshi_cont {
        width: 100%;
    }
}

/* ---------- max-width: 1000px ---------- */
@media (max-width: 1000px) {
    .product-hero {
        background: none !important;
        padding: 0;
    }
    .product-hero .product-bg {
        display: block;
    }
    .product-hero .product-bg img {
        width: 100%;
        height: auto;
        display: block;
    }
    .product-hero .product-text {
        width: 100%;
        padding: 20px 0;
        text-align: center;
    }
    .product-hero .product-text h2 {
        font-size: var(--fz24);
        margin: 0 0 3px;
    }
    .product-hero .separator {
        margin: 15px 0;
    }
    .product-hero .btn {
        width: 80%;
        max-width: 300px;
    }
}

/* ---------- max-width: 800px ---------- */
@media only screen and (max-width: 800px) {
    .m_title {
        padding: 60px 0 25px;
    }
    .m_title p {
        font-size: var(--fz26);
        line-height: 4rem;
    }
    .m_text {
        line-height: 3.2rem;
        font-size: var(--fz18);
    }
    .m_box_3 {
        margin: 50px 0 0;
    }
    .m_box_3 .cate_cont {
        background-color: #F2F1EB;
        padding: 6.5% 5% 4%;
        margin: 0 0 20px;
        border-radius: 10px;
    }
    .m_box_4 {
        padding: 0;
    }
    .pic_box img {
        width: 90%;
    }
    .pic_box .p_title {
        line-height: 2.5rem;
    }
    .pic_box .b_price span {
        padding-left: 5px;
    }
	.pic_box a .b_btn{
		width: 90%;
	}
    /* ご予算 */
    .yosan_txt {
        line-height: 3rem;
        text-align: start;
    }
    .btn_link {
        flex-wrap: wrap;
    }
    .btn_link li {
        width: 100%;
        margin-bottom: .7em;
    }
    /* シリーズ */
    .teiban_cont {
        padding: 0;
        margin: 0 0 50px;
    }
    .teiban_cont_tit {
        margin: 0 0 15px;
		font-size: var(--fz26);
    }
    .heading-with-lines .icon {
        width: 50px;
    }
    .arw_btn {
        margin: 10px auto 60px;
        width: 90%;
    }
    .mini-can_btn {
        width: 100%;
        margin-top: 40px;
    }
    /* のし・包装 */
    .m_box_5 {
        margin-top: 70px;
    }
    .m_box_5 .m_text {
        line-height: 2;
        font-size: 1.6rem;
        text-align: left;
    }
    .gift_block {
        padding: 20px;
    }
}

/* ---------- max-width: 768px（シリーズ番号・一覧ボタン） ---------- */
@media screen and (max-width: 768px) {
    .series_label {
        font-size: 1.6rem;
    }
    .series_num {
        width: 50px;
        font-size: 2.5rem;
    }
    .arw_btn.mini-can_btn .arw {
        right: 0.5em;
    }
    .arw_btn.mini-can_btn a {
        padding: 20px 25px;
    }
}

/* ---------- max-width: 400px ---------- */
@media screen and (max-width: 400px) {
    .gift_wrap {
        margin: 40px 0 0;
    }
    p.gift-txt {
        font-size: var(--fz17);
        line-height: 1.6;
    }
    p.gift-txt.attention {
        font-size: var(--fz14);
        line-height: 1.8;
    }
    .gift_block {
        margin: 20px 0 0;
        padding: 20px;
    }
    .gift_block_txt {
        line-height: 1.6;
    }
    .about_noshi {
        gap: 20px;
    }
    .about_noshi_item {
        margin: 20px 0 0;
    }
    .gift_cont .gift_bnr img {
        margin: 25px 0 0;
    }
}

/* ---------- max-width: 375px ---------- */
@media screen and (max-width: 375px) {
    .pic > div {
        margin-bottom: 10px;
    }
    .pic_box .p_title {
        font-size: var(--fz16);
    }
    .pic_box .b_price {
        font-size: var(--fz18);
    }
    .pic_box a .b_btn {
        width: 100%;
    }
}


/* ---------- メッセージカード ---------- */
.box01 {
	background: #F2F1EB;
    padding: 4.5%;
    max-width: 1100px;
    margin: 110px auto 0;
	border-radius: 10px;
}
/************ サブタイトル ****************/	
.box01 p, .text{
	font-family: "Noto Sans JP";
    letter-spacing: 1px;
	text-align: start;
}
.box01 h3{
    --icon-gutter: 1.5em;
    --heading-gutter: calc(var(--icon-gutter) + 0.5em);
    --default-heading-margin-top: calc(var(--heading-gutter-top) + var(--icon-gutter));
    position: relative;
    padding: 5px 0 12px 60px;
    font-size: 20px;
    letter-spacing: 0.02em;
    line-height: 1.35;
    color: #DC8356;
	border-bottom: dotted 1px #DC8356;
	text-align: start;
}	
.box01 h3:before {	
	content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 50px;
    height: 3.75em;
    background-image: url(https://gigaplus.makeshop.jp/agemochiya/img/guide_icon.png);
    background-repeat: no-repeat;
    background-position: bottom;
}
/************ テキスト****************/	
p.text {
    font-size: 14px;
}
.box01 .text span {
    color: #E50000;
}

/************ のし ****************/
.noshi_box .noshi_pic {
    display: flex;
    gap: 30px;
}
.noshi_box .noshi_pic img{
    margin-bottom: 30px;
    width: 350px;
    border-radius: 10px;
}
.noshi_box span{
	color: #E50000;
}
.noshi_pic{
	display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.noshi_pic > div {
	text-align: start;
}
.noshi_pic.noshi_card > div:nth-child(1) {
    width: calc(60% - 15px);
}
.noshi_pic.noshi_card > div:nth-child(2) {
    width: calc(40% - 15px);
}
.noshi_pic.noshi_card {
    margin-top: 30px;
}
.noshi_pic.noshi_card img {
    width: 90%;
	max-width: 400px
}
.noshi_pic.noshi_card p.text {
    margin-top: 10px;
}
/************ sp ****************/

@media only screen and (max-width: 480px) {
   .noshi_pic img {
    width: 100%;
	}
	.noshi_pic.noshi_card > div:nth-child(1),
    .noshi_pic.noshi_card > div:nth-child(2) {
        width: 100%;
    }
	.box01 {
    padding: 20px;
    margin: 60px auto 0;
}
}