@charset "UTF-8";

/*-----特別企画 FOODEX WINE-----*/
:root {
    --main-purple: #7801B7;
    --main-red: #E80100;
    --accent-gold: #F3D567;
    --bg-dark: #363636;
    --text-gray: #333333;
    --btn-grad: linear-gradient(138deg, #844798 0%, rgba(132, 71, 152, 1) 51%, #ed3737 100%);

    /* Fluid Typography Scale */
    --fz-p: clamp(0.875rem, 0.7205rem + 0.7273vw, 1.375rem);
    --fz-h2: clamp(1.375rem, 0.7375rem + 3vw, 3.4375rem);
    --fz-h3: clamp(1.25rem, 0.8929rem + 1.7857vw, 2.5rem);
    --fz-h4: clamp(1.25rem, 0.9795rem + 1.2727vw, 2.125rem);

    /* スタイルのカプセル化を強めるためのリセット */
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    color: var(--text-gray);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
}

.bg_wine_line {
    background: url(../img/tokubetsu2026/fw_bk_line_w.webp) no-repeat top center;
    background-size: auto;
    /*background-attachment: fixed;*/
    position: relative;
    z-index: 1;

    @media only screen and (max-width : 786px) {
        background: url(../img/tokubetsu2026/fw_bk_line_w_sp.webp) no-repeat top center;
        background-size: cover;
    }

}

.bg_wine_line:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.bg_wine_img {
    background: url(../img/tokubetsu2026/fw_bk_img02.jpg) no-repeat top center;
    background-size: auto;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.bg_wine_img:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(249, 238, 255, 0.9);
    z-index: 1;
}

#foodex_wine {
    --wine_color: #7802b7;

    h1,
    h2,
    h3 {
        color: var(--wine_color);
    }

    #breadcrumbBox .breadcrumb li a {
        color: #ffffff;
    }

    .k_wine_bg {
        background: url(../img/tokubetsu2026/bg_wine.png) no-repeat center bottom !important;
        background-size: cover !important;
        background-attachment: fixed;
        position: relative;
        z-index: 1;
    }

    /* .k_wine_bg {
        background: url(../img/title_bk/title_k-wine.jpg) no-repeat center center !important;
        background-size: cover !important;
        background-attachment: fixed;
        position: relative;
        z-index: 1;
    } */

    #title {
        h1 {
            z-index: 3;
            position: relative;
        }

        h1 img {
            width: clamp(100px, 50vw, 500px);
        }

        h1:before {
            content: none;
            margin-top: 0;
        }

        .sab_title {
            /*position: absolute;
            bottom: -50px;
            left: 0;*/
            font-size: clamp(0.875rem, 0.6432rem + 1.0909vw, 1.625rem);
            font-weight: 700;
            color: #ffffff;
            margin-top: 15px;
        }
    }

    .contents_inner_lp {
        position: relative;
        flex-direction: column;

        @media screen and (max-width: 650px) {
            /*padding-top: 30px;*/
        }

        figure {
            position: absolute;
            bottom: -15px;
            right: 0;
            z-index: 1;

            @media only screen and (max-width : 786px) {
                display: none;

            }
        }

    }

    #kfood_data {
        background: #040404cc;
    }

    #toku_kread {
        .contents {
            position: relative;
            z-index: 5;
        }
    }

    #wine_achieve {
        background-color: #ffffff;

        .flex-container {
            /*align-items: center;*/
            gap: 5%;

            figure {
                text-align: right;
            }

            @media only screen and (max-width : 786px) {
                display: block;
            }

            .left-box {
                width: 70%;
            }

            .right_box {
                width: 380px;
                height: 480px;
                overflow: hidden;
                position: relative;
                /* 必要に応じて */

                .right_box img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    /* これがトリミングの鍵 */
                    object-position: center;
                    /* 画像の表示位置を中央に調整 (必要に応じて) */
                }
            }

            @media only screen and (max-width : 860px) {
                .left-box {
                    width: 100%;
                }

                .right_box {
                    display: none;
                }
            }

        }

        .tokutyo_box {
            display: flex;
            /*flex-direction: column;*/
            justify-content: space-between;
            gap: 30px;
            list-style: none;

            /*width: 70%;*/
            @media only screen and (max-width : 786px) {
                gap: 3%;
                width: 100%;
                padding: 0;
            }

            li {
                display: flex;
                gap: 2%;
                align-items: center;
                justify-content: center;

            }
        }

        .ach_box {
            /*border: 2px solid var(--wine_color);*/
            background: rgba(255, 255, 255, 0.7);
            border-radius: 25px;
            display: flex;
            align-items: center;
            flex-direction: column;
            gap: 5%;
            justify-content: center;
            padding: 25px 0;
            width: 100%;
            background-color: var(--wine_color);


            h4 {
                position: relative;
                margin-bottom: 0;

                figure {
                    color: var(--wine_color);
                    padding: 18px;
                    background: #fff;
                    border: 0.5px solid var(--wine_color);
                    border-radius: 70%;
                    width: 130px;
                    height: 130px;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    img {
                        width: 100%;
                        height: 90px;
                    }

                    p {
                        line-height: 1.8em;
                    }

                }

                figcaption {
                    position: absolute;
                    font-weight: bold;
                    bottom: 5px;
                    left: 0;
                    right: 0;
                    font-size: 1rem;
                }
            }

            p {
                margin-top: 30px;
                line-height: 1.8em;
                color: #ffffff;
            }

        }

        @media only screen and (max-width : 786px) {
            .fig_box {
                flex-direction: column;
                gap: 15px;
            }
        }


    }

    /*wine 取り組み2*/
    #wine_achieve02 {
        .contents {
            z-index: 10;
            position: relative;
        }

        .flex-container {
            align-items: center;
            gap: 5%;

            @media only screen and (max-width : 786px) {
                flex-direction: column-reverse;
                gap: 30px;
            }
        }

        ul.tokutyo_box {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 50px;
            list-style: none;
            width: 75%;

            @media only screen and (max-width : 786px) {
                gap: 30px;
                width: 100%;
            }

            li {
                display: flex;
                gap: 2%;
                align-items: center;
                justify-content: center;

                h4 {
                    font-weight: 800;
                    width: 13rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 3%;
                    line-height: 1.2em;
                    /* padding: 3px; */
                    margin: 0;
                    font-size: clamp(1.375rem, 0.2545rem + 5.2727vw, 5rem);
                    color: #fff;
                    text-shadow: 1px 1px 0 var(--wine_color), -1px -1px 0 var(--wine_color), -1px 1px 0 var(--wine_color), 1px -1px 0 var(--wine_color), 0px 1px 0 var(--wine_color), 0 -1px 0 var(--wine_color), -1px 0 0 var(--wine_color), 1px 0 0 var(--wine_color);
                    font-style: italic;

                    span {
                        font-size: 0.3em;
                        color: var(--wine_color);
                        text-shadow: none;
                        font-style: normal;
                        letter-spacing: 0.2em;
                    }
                }

                .box_right {
                    width: calc(100% - 15rem);

                    h5 {
                        text-align: left;
                        font-size: clamp(1.125rem, 0.9705rem + 0.7273vw, 1.625rem);
                        border-bottom: 1px solid var(--wine_color);
                        margin-bottom: 0.5em;

                    }


                    p {
                        text-align: left;
                        line-height: 1.6em;
                    }

                }


            }

        }

        figure {
            width: 25%;
        }

        @media only screen and (max-width : 786px) {
            ul.tokutyo_box {
                li {
                    flex-direction: column;

                    .box_right {
                        width: 100%;
                    }


                }
            }

            figure {
                width: 60%;
            }
        }

    }


    .ach_box {
        border-radius: 15px;
        display: flex;
        justify-content: center;
        padding: 30px 0;
        width: 80%;
    }


    #pavilion {
        .contents {
            position: relative;
            z-index: 3;
        }

        h4 {
            text-align: center;

            span.red_box {
                background: var(--red-color);
                color: #fff;
                padding: 0.2em 0.5em;
            }
        }

        .pavi_p {
            position: absolute;
            left: 9.2em;
            top: -1em;
            font-weight: 600;
            font-size: 25px;
            padding-bottom: 0.5em;
            color: #3f3f3f;

        }

        .plan-t_box {
            background-color: rgba(134, 35, 240, 0.3);
            border-radius: 7px;
            padding: 20px;

            p {
                font-size: clamp(1.125rem, 1.0091rem + 0.5455vw, 1.5rem);
                text-align: center;
                line-height: 2em;
                letter-spacing: 0.2em;

                span {
                    letter-spacing: 0.1em;
                    font-weight: 900;
                }
            }
        }

        .p_fl {
            display: flex;
            gap: 5%;

            @media only screen and (max-width : 786px) {
                flex-direction: column;
                gap: 5vh;

            }

            .p_fl_inner {
                width: 100%;
            }

            ul.list_dot {
                margin-top: 10px;

            }

            ul.list_dot li {
                margin-top: 0.3em;
                font-size: clamp(1rem, 0.9227rem + 0.3636vw, 1.25rem);
            }

            ul.list_dot li:before {
                color: rgb(120, 2, 183, 0.3);
            }

            ul.list_dot li:first-child::before {
                color: var(--wine_color);
                content: '\f45c';
            }


            .text_voice {
                line-height: 1.8em;
            }

        }

        .img_man {
            float: right;
            margin: 0 0 15px 20px;
            width: clamp(80px, 40%, 200px);
        }

        .fee_box {
            display: flex;
            justify-content: space-between;
            gap: 1%;

            @media only screen and (max-width : 786px) {
                flex-direction: column;
                gap: 2vh;

            }

            .fee_box_arrow {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 3%;
                font-size: 3em;
                color: var(--wine_color);

                @media only screen and (max-width : 786px) {
                    width: 100%;
                    text-align: center;

                }
            }

            .fee_box_usually {
                width: 59%;
                background-color: #eeeeee;

                @media only screen and (max-width : 786px) {
                    width: 100%;

                }

                h5 {
                    background: #000;
                    color: #ffffff;
                    margin-bottom: 0;
                    padding: 0.5em;
                }

                .fee_box_usually_bt {
                    padding: 15px;
                    display: flex;
                    justify-content: space-between;
                    gap: 3%;

                    @media only screen and (max-width : 790px) {
                        flex-direction: column;
                        gap: 1vh;

                    }

                    .fee_box_usually_bt_l {
                        display: flex;
                        justify-content: center;
                        flex-direction: column;
                        text-align: center;

                        .price_box {
                            background: #ffffff;
                            padding: 10px;
                        }

                        .plus_box {
                            margin: 10px auto;
                            font-size: 2em;
                        }
                    }

                    .fee_box_usually_bt_r {
                        display: flex;
                        justify-content: center;
                        flex-direction: column;

                        p {
                            line-height: 1.8em;

                            @media only screen and (max-width : 786px) {
                                text-align: center;
                                margin-top: 10px;

                            }
                        }
                    }
                }
            }

            .fee_box_special {
                width: 45%;
                background-color: rgb(241, 222, 253);
                position: relative;
                overflow: visible;

                @media only screen and (max-width : 786px) {
                    width: 100%;

                }

                h4 {
                    background: var(--wine_color);
                    color: #ffffff;
                    margin-bottom: 0;
                    padding-left: clamp(100px, 30%, 220px);
                    text-align: left;
                }

                .fee_box_special_bt {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    padding: 15px;
                    height: calc(100% - 51px);

                    p {
                        text-align: left;
                        font-weight: bold;
                        color: var(--red-color);
                        font-size: clamp(1.5rem, 0.8045rem + 3.2727vw, 3.75rem);
                        padding-left: clamp(70px, 28%, 230px);

                        .small01 {
                            font-size: 0.65em;
                        }

                        .small02 {
                            font-size: 0.3em;
                            font-weight: normal;
                            color: #000;
                        }
                    }
                }

                .img_30com {
                    position: absolute;
                    overflow: visible;
                    top: 0;
                    bottom: 0;
                    left: 10px;
                    margin: auto 0;
                    /*height: 100%;*/
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    width: clamp(60px, 25%, 200px);

                    @media only screen and (max-width : 786px) {
                        top: -60px;

                    }


                    img {
                        width: 100%;
                        height: auto;
                        /* 古いブラウザで表示を安定させるため */
                        aspect-ratio: 1 / 1;
                        /* 縦横比を1:1に設定 */
                    }
                }

            }
        }

        .text_limit {
            display: flex;
            justify-content: center;
            align-items: center;

            .limit_box {
                font-size: 1rem;
                border: 1px solid #3f3f3f;
                color: #3f3f3f;
                padding: 0.3em;
                margin-right: 1em;
            }

            .days_box {
                color: var(--red-color);
                font-weight: 900;
                font-size: clamp(1.5rem, 0.8045rem + 3.2727vw, 3.75rem);

                span.small {
                    font-size: 0.5em !important;
                }
            }
        }

    }

    /*wine */
    #wine_report {
        text-align: center;

        p {
            line-height: 2em;
        }



        .flex-container {
            gap: 10px 10px;
            flex-wrap: wrap;

            figure {
                width: calc(calc(100% - 20px) / 3);

                @media only screen and (max-width : 786px) {
                    width: calc(calc(100% - 10px) / 2);

                }
            }
        }

    }

}




/* 内部要素のリセットとタイポグラフィの適用 */
.wine_feature * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.wine_feature p,
.wine_feature li {
    font-size: var(--fz-p);
}

.wine_feature h1.tw-text-white {
    color: #F3D567 !important;
}

#foodex_wine .wine_feature h2 {
    font-size: var(--fz-h2) !important;
    line-height: 1.2;
    font-weight: 900;
    color: #000;
}

#foodex_wine .wine_feature .bg-dark-custom h2 {
    color: #FFF;
}

.wine_feature h3 {
    font-size: var(--fz-h3) !important;
    line-height: 1.3;
    font-weight: 700;
}

.wine_feature h3.tw-text-left {
    text-align: left !important;
}

.wine_feature .themettl {
    line-height: 1.5rem;
}

.wine_feature h4 {
    font-size: var(--fz-h4) !important;
    line-height: 1.4;
    font-weight: 700;
}

/* ユーティリティクラス */
.wine_feature .text-main-red {
    color: var(--main-red);
}

.wine_feature .text-main-purple {
    color: var(--main-purple);
}

.wine_feature .text-accent-gold {
    color: var(--accent-gold);
}

.wine_feature .bg-dark-custom {
    background-color: var(--bg-dark);
}

/* 特殊フォント強調 */
.wine_feature .serif-emphasis {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.25rem, 1rem + 2vw, 2.5rem);
    letter-spacing: 0.1em;
    line-height: 1.4;
}

/* ボーダー設定（!important で確実に出す） */
.wine_feature .border-l-red {
    border-left: 8px solid var(--main-red) !important;
}

.wine_feature .border-l-purple {
    border-left: 8px solid var(--main-purple) !important;
}

.wine_feature .border-t-red {
    border-top: 6px solid var(--main-red) !important;
}

.wine_feature .border-t-purple {
    border-top: 6px solid var(--main-purple) !important;
}

.wine_feature .btn-gradient {
    background: var(--btn-grad);
    color: white !important;
    transition: opacity 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.wine_feature .btn-gradient:hover {
    opacity: 0.9;
}

.wine_feature .hero-gradient {
    background: linear-gradient(rgba(54, 54, 54, 0.6), rgba(54, 54, 54, 0.8)),
        url('../img/tokubetsu2026/fv_wine.webp');
    background-size: cover;
    background-position: center;
}

.wine_feature .section-tag {
    display: inline-block;
    padding: 4px 16px;
    background: var(--btn-grad);
    color: white;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.wine_feature .interview-box {
    padding: 2.5rem;
    background-color: #fcfcfc;
    border-left: 4px solid var(--main-purple);
    margin: 2rem 0;
    text-align: left;
}

.wine_feature .case-card {
    transition: all 0.3s ease;
    border-width: 1px;
    border-style: solid;
    border-color: #e5e5e5;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wine_feature .case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: var(--main-purple);
}

.wine_feature #future h3 {
    color: #000;
}

.fade-in {
    animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* デフォルト（スマホ）では非表示、PCサイズ（768px〜）で表示 */
.show-pc {
    display: none !important;
}

/* デフォルト（スマホ）で表示、PCサイズ（768px〜）で非表示 */
.show-sp {
    display: block !important;
}

/* メディアクエリで切り替え */
@media screen and (min-width: 768px) {
    .show-pc {
        display: block !important;
    }

    .show-sp {
        display: none !important;
    }
}