@charset "utf-8";

@media screen and (max-width: 1200px) {
    /* common
    ------------------ */

    body {
        font-size: 12px;
    }

    /* 見出し */
    .h2_sub {
        font-size: 0.75rem;
    }

    .h2.mincho {
        font-size: clamp(1.375rem, 5vw, 1.75rem);
    }

    .h2.gothic {
        font-size: clamp(20px, 5.3vw, 30px);
    }

    .h3 {
        padding: clamp(14px, 3.73vw, 29px) 0;
        font-size: clamp(18px, 4.8vw, 20px);
    }

    .h4 {
        padding: 9.7px clamp(8px, 2.24vw, 25.97px);
        font-size: clamp(18px, 4.8vw, 20px);
        border-left: 2px solid #dbc086;
    }

    .paragraph {
        font-size: clamp(14px, 3.73vw, 16px);
    }

    .blockquote {
        min-width: 310px;
        padding: 1.6em 1.093em;
        font-size: clamp(15px, 4vw, 18px);
    }

    .header_adjustment {
        height: clamp(132px, 34.5vw, 200px);
    }

    /* header
    ------------------ */

    .header_wrap {
        height: clamp(62px, 16.5vw, 100px);
    }

    .title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .message_bar {
        height: clamp(30px, 8vw, 45px);
    }

    .sp_icon_bar {
        display: block;
        color: #ffffff;
        background-color: #dbc086;
    }

    .sp_icon {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 38px;
    }

    .sp_icon a {
        height: clamp(40px, 10vw, 55px);
        align-content: center;
        display: block;
        position: relative;
        margin-left: -0.5em;
        padding-left: 2em;
    }

    .sp_icon_item a::before {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%); /* 垂直方向に中央揃え */
        width: 1.7em; /* アイコンの幅 */
        height: 1.7em; /* アイコンの高さ */
        margin-left: -1.8em;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .sp_icon_item.category a::before {
        background-image: url("category-icon.svg");
        margin-top: 0.1em;
    }

    .sp_icon_item.gift a::before {
        background-image: url("gift-icon.svg");
    }

    .sp_icon_item.faq a::before {
        background-image: url("faq-icon.svg");
    }

    /* ハンバーガーメニュー */

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle .toggle_menu_bg {
        position: fixed;
        left: 0;
        top: clamp(62px, 16.5vw, 100px);
        display: block;
        width: 100%;
        height: calc(100% - clamp(62px, 16.5vw, 100px));
        background: rgba(0, 0, 0, 0.5);
        transition: all 0.3s ease;
        opacity: 0;
        pointer-events: none;
    }

    .menu-toggle.isOpen .toggle_menu_bg {
        opacity: 1;
        pointer-events: auto;
    }

    .toggle_menu_list {
        display: block;
    }

    .menu-toggle.isOpen .bar:nth-child(1),
    .menu-toggle.effect .bar:nth-child(1) {
        transform: rotate(45deg) translate(2px, 8px); /* 線1 */
    }

    .menu-toggle.isOpen .bar:nth-child(2),
    .menu-toggle.effect .bar:nth-child(2) {
        opacity: 0; /* 線2 */
    }

    .menu-toggle.isOpen .bar:nth-child(3),
    .menu-toggle.effect .bar:nth-child(3) {
        transform: rotate(-45deg) translate(2px, -8px); /* 線3 */
    }

    .menu-toggle.isOpen .toggle_menu_list {
        left: 0%; /* ホバー時に表示 */
    }

    .toggle_sub_menu {
        display: flex;
        flex-direction: column;
        max-height: 0; /* 初期の高さを0に設定 */
        overflow: hidden; /* 内容がはみ出ないように隠す */
        transition: max-height 0.3s ease; /* 高さのトランジション */
        background-color: #f3f3f3;
    }

    .toggle_sub_menu.isOpen {
        max-height: 238px; /* 必要に応じて適切な最大高さを設定 */
    }

    .toggle_menu_list .signup.my-true {
        display: none;
    }

    .toggle_menu_list .login.my-true {
        display: none;
    }

    .toggle_menu_list .logout.my-false {
        display: none;
    }

    .header_menu {
        display: none;
    }

    .sp_icon_group {
        display: flex;
        gap: 1rem;
    }

    .icon {
        width: max-content;
        height: max-content;
    }

    .icon img {
        width: 24px;
        height: auto;
    }

    .search_bar {
        box-sizing: border-box;
    }

    .search_box {
        position: relative;
        width: 100%;
        max-width: 603px;
        height: 36px;
    }

    .search_trigger img {
        transition: opacity 0.3s ease; /* アニメーションの設定 */
    }

    .search_input {
        font-size: 0.75rem;
		height: 100%!important;/*追加*/
padding: 0 0 0 3em !important;/*追加*/
margin: 8px 0 0 0 !important;/*追加*/

    }

    /* footer
    ------------------ */

    .footer_wrap {
        gap: 30px;
    }

    .footer_menu_list {
        flex-wrap: wrap;
        border-top: 0.5px solid #ffffff;
        border-bottom: 0.5px solid #ffffff;
        font-size: 0.75rem;
    }

    .footer_menu_item {
        flex: unset;
        width: 50%;
        box-sizing: border-box;
        border-left: unset;
    }

    .footer_menu_item:nth-child(1),
    .footer_menu_item:nth-child(2) {
        border-bottom: 0.5px solid #ffffff;
    }

    .footer_menu_item:nth-child(even) {
        border-left: 0.5px solid #ffffff;
    }

    .footer_menu_item:last-child {
        border-right: unset;
    }

    .picto_icon::before {
        left: 0;
        margin-left: 1.5em;
    }

    .footer_bottom_menu_list {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        box-sizing: border-box;
        font-size: 0.75rem;
    }

    .footer_bottom_menu_item div {
        margin: 0 auto;
        padding: 0 1.5em;
    }

    .arrow_icon::after {
        right: 0;
        margin-right: 1.5em;
    }

    .copyright {
        height: 41.25px;
    }

    .fixed_container {
        bottom: 80px;
    }

    .page_top_button {
        width: 40.42px;
        height: 40.42px;
        margin-right: 7.336px;
    }

    .fixed_faq div {
        width: 40.42px;
        height: 40.42px;
        margin-right: 7.336px;
    }

    .for_corporations_pc div {
        display: none;
    }

    .for_corporations_sp div {
        display: block;
        width: 58.69px;
        height: 40.42px;
        margin-right: 8.536px;
        padding-left: 28.72px;
        color: #ffffff;
        align-content: center;
        font-size: 0.6rem;
        font-weight: 700;
        background-color: rgba(219, 192, 134, 0.9);
        border-radius: 6px;
        box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.3);
        box-sizing: border-box;
        position: relative;
    }

    .for_corporations_sp div::before {
        position: absolute;
        content: "";
        display: block;
        width: 14px;
        height: 14px;
        top: 50%;
        left: 0;
        transform: translateX(50%) translateY(-50%);
        background-image: url("office.svg");
        background-size: cover;
        background-repeat: no-repeat;
    }

    /* detail main
    ------------------ */
    .detail_section.cart_in {
        margin-top: clamp(16.8px, 4vw, 20px);
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .img_wrap {
        margin: 0 auto;
    }

    .text_wrap {
        width: 100%;
        margin: 0 auto;
    }

    .detail_main_img {
        width: 100%;
        margin: 0 auto;
    }

    .main_image_wrap .prev_button,
    .main_image_wrap .next_button {
        width: 40px;
    }

    .detail .tag {
        font-size: clamp(11px, 2.93vw, 13px);
    }

    .detail .text_wrap .h2.gothic {
        margin-top: 12.67px;
    }

    .detail .text_wrap .number_of_reviews {
        font-size: clamp(16px, 4.26vw, 18px);
    }

    /* 価格表記 */
    .price {
        font-size: clamp(22px, 5.86vw, 30px);
    }

    .price .tax {
        font-size: clamp(14px, 3.73vw, 18px);
    }

    .delivery_date {
        padding-bottom: 1.65em;
    }

    .requested_date {
        flex-direction: column;
        align-items: flex-start;
    }

    .requested_date_select_wrapper {
        width: 100%;
        flex-grow: 0;
    }

    .requested_date_select {
        height: clamp(46px, 12.2vw, 50px);
    }

    .requested_quantity {
        font-size: 0.875rem;
        padding-top: 1.75em;
    }

    .quantity_wrap input {
        width: clamp(50px, 0.133vw, 72.52px);
        height: clamp(40.75px, 1.08vw, 58px);
        font-size: 0.875rem;
    }

    button.quantity_button {
        width: clamp(50px, 13.3vw, 70px);
        height: clamp(40px, 10.6vw, 56px);
        font-size: clamp(19px, 5vw, 28px);
    }

    button.cart_in_button {
        height: clamp(55px, 14.6vw, 76px);
        font-size: clamp(16px, 4.26vw, 20px);
    }

    .detail .text_wrap button.cart_in_button {
        margin-top: 0.95em;
    }

    /* 見出し上側マージン */
    .description_area .h2.gothic,
    .description_area .paragraph,
    .description_area .h3,
    .description_area .h4,
    .description_area .blockquote {
        margin-top: clamp(25px, 6.67vw, 37px);
    }

    .detail_img_pc {
        display: none;
    }

    .detail_img_sp {
        display: block;
        width: 100%;
        /* aspect-ratio: 1.56 / 1; */
        margin: clamp(25px, 6.67vw, 37px) auto 0;
    }

    .overview_wrap {
        padding-top: clamp(17.66px, 4.7vw, 45.8px);
        padding-bottom: clamp(26.58px, 7vw, 49.57px);
    }

    .overview_wrap .sub_heading {
        font-size: 1.125rem;
    }

    .overview_wrap .table {
        margin-top: clamp(17.66px, 4.7vw, 24.6px);
    }

    .row {
        gap: 19px;
        font-size: 0.8125rem;
    }

    .row.allergen.isOpen {
        height: clamp(650px, 170vw, 830px);
    }

    .allergen.toggle_menu {
        padding-top: 20.61px;
        flex-direction: column;
        justify-content: space-between;
        gap: 26.58px;
    }

    .allergen.toggle_menu.isOpen {
        max-height: 830px; /* 必要に応じて適切な最大高さを設定 */
    }

    .allergen_list_wrap {
        width: 100%;
        gap: 10.57px;
    }

    .allergen_list_top,
    .allergen_list_bottom,
    .labeling {
        width: 100%;
    }

    .float_container {
        height: 60px;
        padding: 7.5px;
    }

    .cart_in_button.float {
        height: 45px;
        /*width: 100%;*/
    }

    /* .float_container.at-overview {
        opacity: 0;
    } */
}

@media screen and (max-width: 428px) {
    .float_container {
        left: 50%;
        transform: translateX(-50%);
    }

    .float_container {
        width: 100%;
    }
}
