@charset "UTF-8";

/* 全体CSS */
main {
    color: #5e5247;
}

.inner1200 {
    max-width: 1200px;
    margin: 0 auto;
}

/* タイトル */
.fd_ttl {
    position: relative;
    width: 100%;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.fd_ttl::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top, right, bottom, left: 0; と同じ */
    background-image: url(../img/foodaward/ttl_back_1030.png);
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
}

h2.ttl {
    line-height: 1.5;
}

/* YOUTUBEコンテナ */
.yt_container {
    padding: 80px 0;
    max-width: 740px;
    margin: 0 auto;
}

.yt_container_txtArea {
    font-size: 26px;
    color: #837b70;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.yt_container_embed {
    margin: 0 auto;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.yt_container_embed>iframe {
    width: 100%;
    height: 100%;
    border: 10px solid #e3c693;
    border-radius: 12px;
}

/* 過去動画テキストリンク */
.c_link_container {
    padding: 0;
    max-width: 740px;
    margin: 0 auto;
}

.c_link_container .ttl {
    margin-right: 0 auto;
    font-size: 26px;
}

.c_link_list {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 80px;
    font-size: 16px;
    text-align: left;
    border-collapse: collapse;
    word-break: break-word;
}

.c_link_list td {
    border-bottom: 1px solid #E3C693;
    padding: 16px;
    width: 100%;
}

/* タブ */
/* --- タブの見た目（最小限） --- */
.Tabs-tablist {
    display: flex;
    gap: 4px;
    margin-top: 24px;
}

.Tabs-tablist [role="tab"] {
    font-size: clamp(1rem, 0.946rem + 0.27vw, 1.25rem);
    padding: 10px 80px;
    background: #7b6c6b;
    color: #fff;
    opacity: 0.5;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
}

.Tabs-tablist [role="tab"][aria-selected="true"] {
    background: #7b6c6b;
    color: #fff;
    border-color: #333;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    opacity: 1;
}

.Tabs-panel {
    border: 1px solid #7b6c6b;
    padding: 40px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.u-hidden {
    display: none;
}

@media screen and (max-width: 480px) {
    .Tabs-tablist [role="tab"] {
        padding: 10px 20px;
    }
}

/* 商品詳細 */
.food-award-item {
    margin-top: 90px;
    padding-bottom: 90px;
    border-bottom: 1px solid #7b6c6b;
}

.food-award-item:last-child {
    border-bottom: none;
}


.product_detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.procut_thum {
    position: relative;
    /* width: 100px;
    height: auto; */
}

.procut_thum img {
    width: 100%;
}

.ib_awardmark {
    position: absolute;
    top: 0;
    left: 0;
}

.ib_awardmark img {
    width: 160px;
    height: auto;
    /* filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.2)); */
}
@media screen and (max-width: 580px) {
    .ib_awardmark img {
        width: 23vw;
    }
}

.product_info {
    max-width: 500px;
}

.pd_name {
    background-color: #fbf9f7;
    color: #5e5247;
    font-size: clamp(0.938rem, 0.87rem + 0.34vw, 1.25rem);
    padding: 0.6em 0;
    position: relative;
}

.pd_name_deco {
    position: absolute;
    top: -4em;
    left: -2.5em;
}

.pd_txt {
    margin-top: 35px;
    line-height: 2;
    text-align: left;
}

/* 会社詳細 */
.company_detail {
    display: grid;
    grid-template-columns: 30% 65%;
    gap: 5%;
    margin-top: 50px;
}

.company_thum {
    aspect-ratio: 1 / 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.company_info li {
    display: grid;
    grid-template-columns: 20% 75%;
    text-align: left;
    gap: 5%;
    border-bottom: solid 1px #cbcbc3;
    padding: 1em 0;
}

/* Googleマップ */
.company_map {
    margin-top: 65px;
}

.fd_ttl img {
    width: 100%;
    max-width: 976px;
    height: auto;
}

/* ▼レスポンシブ */

@media screen and (max-width:1200px) {
    .inner1200 {
        width: 88%;
    }
}

@media screen and (max-width:1120px) {
    .product_detail {
        flex-direction: column;
    }

    .product_info {
        margin-top: 20%;
    }
}

@media screen and (max-width:740px) {
    .fd_ttl img {
        width: 100%;
        /* height: 200px; */
        height: auto;
    }

    .yt_container {
        width: 88%;
        padding: 10% 0;
    }

    .yt_container_txtArea .txt {
        font-size: 3.5vw;
    }

    .yt_container_txtArea .bnr img {
        width: 27vw;
    }

    .c_link_container {
        width: 88%;
        margin-top: 3%;
        margin-bottom: 10%;
    }

    .c_link_list {
        margin-top: 5%;
        margin-bottom: 15%;
    }

    tbody,
    .c_link_list,
    .c_link_list tr,
    .c_link_list td,
    .c_link_list td.left,
    .c_link_list td.right {
        display: block;
        width: 100%;
    }

    .c_link_list {
        margin-top: 24px;
    }
    
    .c_link_list td {
        padding: 12px;
        border-bottom: none;
    }

    .c_link_list tr+tr {
        border-top: 1px solid #E3C693;
    }

    .c_link_list tr:last-child {
        border-bottom: 1px solid #E3C693;
    }
}

@media screen and (max-width:700px) {
    .food-award-item {
        margin-top: 10%;
        padding-bottom: 10%;
    }

    .procut_thum {
        margin-top: 10%;
    }

    .company_detail {
        display: block;
        /* grid-template-columns: 1fr; */
    }

    .company_thum {
        width: 70%;
        margin: 0 auto;
    }

    .pd_name_deco {
        top: -3em;
        left: -1.5em;
    }

    .pd_name_deco img {
        width: 40vw;
    }
}