@charset "utf-8";

@media screen and (max-width: 1200px) {
    /* common
    ------------------ */

    body {
        font-size: 12px;
    }

    /* 見出し */
    .h2.english {
        font-size: clamp(1.5625rem, 2.5vw, 2.25rem);
        margin-bottom: clamp(21.5px, 3vw, 40px);
    }

    .h2_sub {
        font-size: 0.75rem;
    }

    .h2.mincho {
        font-size: clamp(1.375rem, 5vw, 1.75rem);
    }

    .h3 {
        font-size: clamp(18px, 4.8vw, 20px);
    }

    .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: 500px; /* 必要に応じて適切な最大高さを設定 */
    }

    .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;
    }

    /* special main
    ------------------ */
    .special_kv {
        display: none;
    }

    .special_kv_sp {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .special_anchor_wrap {
        width: auto;
        height: auto;
        margin: 15px clamp(1rem, 2.5vw, 40px) 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
        border-bottom: unset;
    }

    .special_anchor_list {
        width: 100%;
        flex-wrap: wrap;
        gap: 7px;
    }

    .special_anchor_wrap li {
        width: calc(50% - 6px);
        height: 45px;
        font-size: 0.857rem;
        border: 1px solid #dbc086;
    }

    .special_anchor_wrap li::after {
        transform: translateX(-0.5em) translateY(-50%);
        width: 1.8em; /* アイコンの幅 */
        height: 1.8em; /* アイコンの高さ */
        background-size: contain;
        background-repeat: no-repeat;
    }

    .special_anchor_item {
        width: 100%;
        height: 100%;
        padding: unset;
        font-size: 0.75rem;
        text-align: center;
        display: block;
    }

    .gift_catalog_button {
        width: 100%;
        height: 43px;
    }

    .special_message {
        width: auto;
        margin: 30px clamp(1rem, 2.5vw, 40px) 64.71px;
    }

    h2.english.special {
        font-size: clamp(25px, 6.67vw, 36px);
        margin-bottom: unset;
    }

    h2.english.special::after {
        width: clamp(38px, 10.13vw, 56px);
    }

    .h3.mincho.horizon {
        width: auto;
        text-align: center;
        font-size: clamp(20px, 5.3vw, 32px);
        letter-spacing: 1px;
        padding: 0;
        margin: 20px auto 18px;
    }

    .special.paragraph {
        width: auto;
        margin: 0 clamp(1rem, 2.5vw, 40px);
        text-align: left;
        font-size: clamp(13px, 3.46vw, 15px);
        line-height: 2.07;
        white-space: wrap;
    }

    .special.horizon .h3.mincho.horizon {
        margin: 20px 0 18px;
        text-align: left;
    }

    .special.horizon .special.paragraph {
        margin: 0;
    }

    .special.vertical {
        width: 92%;
        margin: 0 clamp(1rem, 2.5vw, 40px);
    }

    .special.vertical.right {
        transform: translateX(0);
    }

    .special.vertical.left {
        transform: translateX(0);
    }

    .gift_ranking.card {
        width: 152px;
    }

    .gift_ranking.card img {
        width: 152px;
    }

    .gift_ranking .h3 {
        font-size: 0.8125rem;
        height: 42px;
    }

    .gift_ranking.card p {
        margin-top: -1.5rem;
    }

    .gift_ranking_container .prev_button {
        width: 40px;
        height: 40px;
        top: 95px;
    }

    .gift_ranking_container .next_button {
        width: 40px;
        height: 40px;
        top: 95px;
    }

    .card.rank::after {
        width: 30.7px;
        height: 49.57px;
    }

    .card.rank.rank1::after {
        background-image: url("rank-tag-1.svg");
    }

    .gift_ranking .cart_in_button {
        padding-left: 1rem;
    }

    /* ギフトサービス */
    .gift_service_container {
        padding: clamp(10px, 2.67vw, 50.34px) clamp(10px, 2.67vw, 23px)
            clamp(35.66px, 9.5vw, 71.27px);
        gap: clamp(10px, 2.67vw, 23px);
    }

    .service_content_wrap {
        padding: clamp(1rem, 2.5vw, 27px);
    }

    .impressive_large .service_content_wrap {
        flex-direction: column;
        gap: 1.387em;
        position: unset;
    }

    .simple_large .service_content_wrap {
        flex-direction: column;
        align-items: center;
        gap: 1.387em;
    }

    .impressive_large .actual_element {
        width: 100%;
    }

    .impressive_large .pseudo_element {
        display: none;
    }

    .impressive_large .content_image,
    .simple_large .content_image {
        width: 100%;
    }

    .impressive_large .content_image {
        position: unset;
        margin-top: 1.387em;
    }

    .small_wrap {
        flex-direction: column;
        gap: clamp(10px, 2.67vw, 23px);
    }

    /* ギフトカタログ */
    .tab_list {
        justify-content: space-around;
    }

    .tab_content {
        padding: clamp(30px, 2.67vw, 50.34px) 6.5px 35.66px;
        justify-content: center;
        row-gap: 34px;
        column-gap: 14.26px;
    }

    .gift_catalog.card {
        width: 152px;
    }

    .gift_catalog.card img {
        width: 152px;
    }

    .gift_catalog .h3 {
        font-size: 0.8125rem;
        height: 42px;
    }

    .gift_catalog.card p {
        margin-top: -1.5rem;
    }

    .gift_catalog .cart_in_button {
        padding-left: 1rem;
    }
}

@media screen and (max-width: 900px) {
    .special.horizon {
        height: auto;
    }

    .special.horizon .h3.mincho.horizon {
        width: auto;
        margin: 0 clamp(1rem, 2.5vw, 40px);
        text-align: left;
    }

    .special.horizon.right .h3.mincho.horizon {
        padding-left: unset;
    }

    .special.horizon.left .h3.mincho.horizon {
        padding-right: unset;
    }

    .special.horizon.right .h3.mincho.horizon::after {
        left: 0;
    }

    .special.horizon .image_wrap {
        margin-top: 37.33px;
        padding: 0 0 3px 3px;
        order: 0;
        position: relative;
        top: auto;
    }

    .special.horizon.right .image_wrap {
        align-self: end;
    }

    .special.horizon.left .image_wrap {
        align-self: start;
    }

    .special.horizon .image_wrap img {
        max-width: unset;
    }

    .special.horizon.right .english.decoration {
        transform: rotate(90deg) translateY(calc(-50% - 3px));
    }

    .special.horizon.left .english.decoration {
        transform: rotate(90deg) translateX(100%) translateY(calc(-50% + 3px));
    }

    .special.horizon .special.paragraph {
        width: auto;
        margin: 20.3px clamp(1rem, 2.5vw, 40px) 0;
        font-size: clamp(13px, 3.46vw, 15px);
        line-height: 2.07;
        white-space: wrap;
    }

    .special.horizon.right .special.paragraph,
    .special.horizon.left .special.paragraph {
        padding: 0;
    }

    .special.vertical {
        width: auto;
    }

    .special_vertical_wrap {
        width: 100%;
    }

    .special.vertical .h3.mincho.vertical {
        width: 3.5em;
        margin: 0 0 1.27em;
    }

    .special.vertical.left .h3.mincho.vertical {
        align-self: flex-end;
    }

    .special.vertical .image_wrap img {
        height: clamp(331px, 53.68vw, 420px);
    }
    .special.vertical.right .image_wrap {
        transform: translateX(clamp(1rem, 2.5vw, 40px));
    }

    .special.vertical.left .image_wrap {
        transform: translateX(clamp(-1rem, -2.5vw, -40px));
    }

    .special.vertical.right .special.paragraph {
        padding-left: unset;
    }

    .special.vertical.left .special.paragraph {
        padding-right: unset;
    }
}
