@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&display=swap');

body {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    line-height: 1.6;
    background: url(../img/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

#sec-10000,
#sec-30000,
#sec-teiki {
    background: #fff;
    max-width: 1200px;
    margin: 2em auto;
}

/* ヘッダー */
.nav-inner {
    max-width: 1000px;
    margin: 1em auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-inner ul {
    display: flex;
    flex-wrap: wrap;
}

.nav-inner li {
    font-size: 1.3rem;
    margin: 0.2em;
}

.nav-inner li a {
    padding: 0.5em;
    margin: 0 1.5em;
    position: relative;
    text-align: center;
    display: inline-block;
    color: #000;
    font-weight: bold;
}

#top .nav-inner li a{
    padding: 0.3em;
    margin: 0 0.5em;
}

.msg {
    text-align: center;
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    font-weight: bold;
    max-width: 1200px;
    padding: 0 0.5em;
    margin: 0 auto;
}

.msg span {
    color: #b81a35;
    font-size: clamp(1rem, 2.4vw, 1.4rem);
}

#top .msg{
    margin-bottom: 2em;
}

#furusato-tax-teiki .msg {
    margin: 2em auto;
}

.header {
    background: url(../img/TOP_kanban-01.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
    text-align: center;
    height: 380px;
}

.logo {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-width: 400px;
    max-height: 400px;
    object-fit: contain;
}

.campaign-info {
    text-align: center;
    padding: 1em 1em;
    background-color: #b81a35;
}

.campaign-title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.3em;
    line-height: 2.4rem;
}

.campaign-title span {
    font-size: 1.3rem;
}

.campaign-period {
    font-size: 1.5rem;
    font-weight: bold;
    background: #ffffcc;
    display: inline-block;
    padding: 0 1em;
    border-radius: 20px;
    margin-bottom: 0.3em;
}

.subject {
    text-align: center;
    width: min(90%, 1000px);
    margin: 0 auto;
    padding: 2em 1em 0;
    /* border: solid 2px #b81a35;
    border-radius: 12px; */
}

.subject h2 {
    font-size: clamp(1.4rem, 3.6vw, 1.8rem);
}

.inf-present .txt-red {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: bold;
    color: #b81a35;
    text-align: center;
}

.inf-present .txt-red span.big {
    font-size: clamp(1.2rem, 3.2vw, 1.6rem);
    line-height: 1.2;
}

.inf-present .txt-red span.small {
    font-size: clamp(0.8em, 2vw, 1rem);

}

.txt-black {
    font-size: clamp(1rem, 2.6vw, 1.2rem);
    font-weight: bold;
    color: #5a3c01;
    text-align: left;
    margin: 1em auto 0;
    text-align: center;
}

.txt-black span {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
}

.inf-present {
    text-align: center;
    margin: 1.5em auto;
    padding: 0 1em;
}

.inf-present img {
    width: clamp(140px, 30vw, 180px);
    height: auto;
}


.list-present {
    width: min(80vw,  940px);
    margin: 0 auto;
    background-color: #fff;
    overflow: hidden;
    text-align: left;
    border: 2px solid #b81a35;
    border-radius: 16px;
    padding: 2vw 2vw;
}

.list-present dt {
    margin: 0;
    padding: 0.5em;
    font-weight: 700;
    font-size: clamp(1.0rem, 4vw, 1.3rem);
    color: #a10f2a;
}

.list-present dt:first-of-type {
    border-top: none;
}

.list-present dd {
    margin: 0;
    padding: 0.5em;
    font-size: clamp(1rem, 2.6vw, 1.2rem);
    line-height: 1.4;
    color: #333;
    font-weight: bold;
}

.list-present dd small {
    font-size: clamp(0.85rem, 2vw, 1rem);
}

@media (max-width: 959px) {
    .list-present dt {
        border-bottom: 1px dashed #e4c7cd;
    }
}

@media (min-width: 960px) {
    .list-present {
        display: grid;
        grid-template-columns: 230px 1fr;
        column-gap: 1em;
        row-gap: 0;
        padding: 1em;
    }

    .list-present dt {
        grid-column: 1;
    }

    .list-present dd {
        grid-column: 2;
    }

    .list-present dd:last-child {
        border-bottom: none;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    padding: 10px;
    max-width: 1200px;
}

#furusato-tax .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 8px;
    padding: 0 2em 2em;
    max-width: 1200px;
    margin: 0 auto;
}

#furusato-tax-teiki .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 8px;
    padding: 0 2em 2em;
    max-width: 1200px;
    margin: 0 auto 2em;
}

.product-card a.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card {
    margin: 0;
}

.product-card.is-new .new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #be1e2d;
    color: #ffffcc;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    animation: new-badge-pop 1.6s ease-in-out infinite;
}

@keyframes new-badge-pop {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.12);
    }
}

.image-placeholder {
    background-color: #999;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.description {
    font-size: 1rem;
    /* margin-top: 4px; */
    font-weight: bold;
    color: #333;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 最大2行でカット */
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: 3em;
    /* 2行分の高さ確保（フォントサイズ1.5em想定） */
    line-height: 1.5em;
    /* 行の高さ設定 */
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 2px;
    color: #9e1a25;
}

.action-button {
    margin-top: 10px;
    background-color: #be1e2d;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.action-button:hover {
    background-color: #9e1a25;
}

.product-card a.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    border: 1px solid transparent;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    border-radius: 6px;
    position: relative;
}

.product-card a.product-link:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    border-color: #ddd;
}

/* ボタン風デザイン（見た目だけ） */
.action-button {
    margin-top: px;
    background-color: #aa965c;
    color: white;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 4px;
    pointer-events: none;
    /* 子要素がリンクを妨げないように */
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 正方形にする（IE非対応） */
    object-fit: cover;
    /* トリミングして中央表示 */
    border-radius: 6px;
}

#furusato-tax .product-image,
#furusato-tax-teiki .product-image {
    width: 100%;
    height: auto;
    aspect-ratio: unset;
}

/* レスポンシブ対応（スマホ用） */
@media (max-width: 768px) {
    .header {
        height: 42vw;
        padding: 1vw 0;
    }

    .logo img {
        width: 42vw;
        height: 42vw;
    }

    .campaign-title {
        font-size: 6.6vw;
        line-height: 6.9vw;
        margin-bottom: 2vw;
    }

    .campaign-title span {
        font-size: 4.6vw;
    }

    .campaign-period {
        font-size: 4.6vw;
    }

    .msg {
        font-size: clamp(1.1rem, 3.8vw, 1.4rem);
    }

    .msg span {
        font-size: clamp(1.3rem, 4.8vw, 1.6rem);
    }

    .product-grid {
        gap: 8px;
        /* モバイルではさらに狭めてもOK */
        padding: 8px;
        /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
        grid-template-columns: repeat(2, 1fr);
    }

    #furusato-tax .product-grid,
    #furusato-tax-teiki .product-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 8px;
    }

    .product-card a.product-link {
        padding: 3px;
    }

    .action-button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .inf-present {
        flex-wrap: nowrap;
        align-items: self-start;
        padding: 0;
    }

    .inf-present ul {
        width: 100%;
        padding-left: 0;
    }

    .inf-present ul li {
        /* text-align: left; */
    }



    .nav-inner li a {
        margin: 0 auto 0.5em;
        padding: 0 0.5em;
    }

    .nav-inner ul {
        justify-content: center;
    }

    .nav-inner li {
        margin: 0;
    }

    #sec-10000,
    #sec-30000,
    #sec-teiki {
        background: none;
    }

    .subject {
        background: #fff;
        padding: 1em 0;
    }

}
