@charset "utf-8";

@media screen and (max-width:767px) {

    .sp_hide {
        display: none !important;
    }

    .pc_hide {
        display: block !important;
    }

    .pc-br {
        display: none;
    }

    br.sp-br {
        display: block;
    }

    body.menu-open {
        height: 100%;
        overflow: hidden;
    }

    .header {
        width: 100%;
        padding: 0;
        z-index: 256;
    }

    .header.open {
        min-height: 100vh;
    }

    .header:before {
        display: none;
    }

    .header_mainmenu {
        display: block;
        position: relative;
    }

    .header_logo_container {
        width: 70px!important;
    }

    .header_mainmenu .midnight-content {
        top: 30px!important;
        left: 8.9%!important;
        width: 70px!important;
    }

    .header_nav_list {
        position: absolute;
        left: 0;
        background-color: #fff;
        margin: 0;
        display: none;
        height: 100vh;
        width: 100%;
        z-index: 30;
        transition: all 0.3s;
        animation: fade_in_menu 0.5s ease-out 0s forwards;
        overflow: hidden;
    }

    @keyframes fade_in_menu {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .header_nav_item {
        margin-top: 160px;
        margin-left: 0;
        animation: slide_in_menu 0.5s ease-out 0s forwards;
    }

    @keyframes slide_in_menu {
        from {
            opacity: 0;
            transform: translate(-20%);
        }

        to {
            opacity: 1;
            transform: translate(5%);
        }
    }

    .header_nav_item:nth-child(n+2) {
        margin-top: 42px;
    }

    .header_nav_link {
        color: #000;
        font-size: 18px;
    }

    .header_nav_link:hover {
        border-bottom: none;
    }

    .header_hamburger_menu {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        padding: 30px 8.9%;
        width: 100%;
        z-index: 50;
        background-color: white;
        display: none;
    }

    .hamburger_menu_icon {
        position: relative;
        top: -6px;
        width: 30px;
        height: 30px;
        z-index: 100;
    }

    .top_line {
        position: absolute;
        top: 8px;
        background-color: #000;
        width: 30px;
        height: 1.8px;
        transition: all 0.3s;
    }

    .top_line.transform {
        transform: translateY(4px) rotate(45deg);
    }

    .bottom_line {
        position: absolute;
        top: 16px;
        right: 0;
        background-color: #000;
        width: 24px;
        height: 1.8px;
        transition: all 0.3s;
    }

    .bottom_line.transform {
        transform: translateY(-4px) rotate(-45deg);
        width: 30px;
    }

    .header_hamburger_logo_wrapper {
        width: 70px;
        text-align: center;
    }

    .header_hamburger_logo {
        display: inline-block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .hamburger_copyrights {
        display: block;
        position: relative;
        color: #000;
        font-family: 'Cormorant Garamond', serif;
        font-weight: 600;
        font-size: 11px;
        margin: 60px 0 0 0;
        white-space: nowrap;
    }
    .firstview .sound-button {
        top: 20px;
        right: 20px;
        width: 101px;
    }

    .sound-button[data-sound=off]::before, .sound-button[data-sound=on]::before {
        font-size: 11px;
        line-height: 22px;
    }
    .sound-button[data-sound=off]::after, .sound-button[data-sound=on]::after {
        display: inline-block;
        width: 22px;
        height: 22px;
    }

    .anniversary_message {
        margin: 75px 0 130px;
        padding: 0 8.9%;
    }

    .anniversary_message_text {
        font-size: 13px;
        line-height: 50px;
    }

    .fifty_things {
        margin: 60px 8.9% 115px;
    }

    .fifty_things_top {
        flex-direction: column;
        gap: 10px 0;
        margin: 60px 0 40px 4.68%;
    }

    .fifty_things_container div[class^="column-"] {
        margin-right: 5px;
        margin-left: 5px;
    }
    .fifty_things_container div[class^="column-"] ul {
        display: flex;
        flex-wrap: wrap;
        width: 82.5%;
        margin-top: 18.5%;
        padding: 0 0 0 4.68%;
    }
    .fifty_things_container div[class^="column-"] ul li {
        font-size: 0;
    }
    .fifty_things_container div[class^="column-"] ul li+li {
        margin-top: 10px;
    }
    .fifty_things_container .column-4 {
        margin-top: 50px;
        margin-bottom: 19px;
    }
    .fifty_things_container .column-5 ul li:nth-of-type(1) {
        order: 1;
    }
    .fifty_things_container .column-5 ul li:nth-of-type(2) {
        order: 2;
    }
    .fifty_things_container .column-5 ul li:nth-of-type(3) {
        order: 3;
    }
    .fifty_things_container .column-5 ul li:nth-of-type(4) {
        order: 4;
    }
    .fifty_things_container .column-5 ul li:nth-of-type(5) {
        order: 5;
    }
    /*
    .fifty_things_container .column-5 ul li:nth-of-type(4) {
        width: calc(50% - (9.4px / 2));
    }
    .fifty_things_container .column-5 ul li:nth-of-type(5) {
        width: calc(50% - (9.4px / 2));
        margin-left: 9.4px;
    }
    .fifty_things_container .column-6 ul li:nth-of-type(5) {
        width: calc(50% - (10px / 2));
    }
    .fifty_things_container .column-6 ul li:nth-of-type(6) {
        width: calc(50% - (10px / 2));
        margin-left: 10px;
    }
    */

    .fifty_things_title_bigger_container {
        top: -40px;
        right: -30px;
    }

    .fifty_things_title_bigger {
        left: calc(7vw + 10px);
        font-size: 38px;
        letter-spacing: 0.5em;
        padding-top: 10px;
    }

    .fifty_things_title_number {
        left: 0;
        font-size: 60px;
        padding: 0 0 0 4vw;
    }

    .fifty_things_image_left {
        position: unset;
        width: 100%;
        gap: 10px 0;
    }

    .fifty_things_image_right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 4.1%;
    }

    .fifty_things_title_smaller {
        display: inline-block;
        font-size: 20px;
        font-weight: 400;
        padding: 0;
        margin: 0 4.68%;
    }

    .fifty_things_images_list,
    .vsm-tile.instagram-special_items ul.ecbn-selection-snap {
        grid-template-columns: 1fr 1fr;
        gap: 2.43vw;
        margin: 40px 0 40px 4.68%;
    }

    .fifty_things_container .btn-wrapper {
        width: 79.5%;
        margin-bottom: 56px;
        padding-left: 4.68%;
    }

    .fifty_things_container .more-btn {
        width: 125px;
        height: 36px;
        font-size: 18px;
        letter-spacing: 0;
    }

    .melrose_50th {
        padding: 100px 8.3%;
    }

    /* #melrose_50th */
    .melrose_50th_images_list,
    .vsm-tile.instagram-melrose_50th ul.ecbn-selection-snap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.56vw;
        margin: 0 0 15px;
    }

    .vsm-tile.instagram-melrose_50th ul.ecbn-selection-snap {
        width: 87.3% !important;
        height: auto !important;
    }
    .vsm-title.instagram-melrose_50th .ecbn-selection-widget,
    .vsm-title.instagram-melrose_50th .ecbn-selection-page-wrapper,
    .vsm-title.instagram-melrose_50th .ecbn-selection-content {
        margin: 0 !important;
    }

    .vsm-tile.instagram-melrose_50th li.ecbn-selection-item::before {
        top: 7px;
        left: 5px;
        width: 20px;
        height: 20px;
    }
    .vsm-tile.instagram-melrose_50th li.ecbn-selection-item::after {
        top: 12px;
        left: 10px;
        width: 10px;
        height: 10px;
    }

    .instagram_container {
        top: 7px;
        left: 5px;
        width: 20px;
        height: 20px;
    }

    .melrose_50th_title {
        top: -4em;
        right: -1em;
        font-family: 'Cormorant Garamond';
        font-style: normal;
        font-weight: 400;
        font-size: 30px;
        line-height: 1;
        overflow: hidden;
    }
    .melrose_50th_title span.hash {
        position: relative;
        right: -1vw;
        font-size: 60px;
        padding-bottom: 5px;
    }
    .melrose_50th_title span.number {
        font-size: 40px;
    }

    .melrose_50th_link_wrapper {
        width: 87.3%;
        text-align: center;
    }
    .melrose_50th_link {
        display: inline-block;
        font-size: 18px;
        font-weight: 500;
        margin: 0 0 0;
        line-height: 1;
    }

    .melrose_50th_bottom {
        flex-direction: column;
        gap: 30px 0;
        width: 100%;
        margin: 45px 0 0;
    }

    .melrose_50th_bottom_text {
        order: 1;
    }

    .melrose_50th_bottom_image {
        /* position: relative;
        left: 12vw; */
        width: 100%;
    }

    .melrose_50th_text {
        font-size: 14px;
        font-weight: 500;
        margin: 0;
    }
    .link.check {
        text-align: right;
        margin: 40px 0 0 0;
    }

    .melrose_history_text {
        font-size: 24px;
    }

    .campaign {
        padding: 100px 8.9% 0;
    }

    .campaign_title {
        font-size: 35px;
    }

    .campaign_list {
        flex-direction: column;
        gap: 60px 0;
        margin: 120px 0 0;
    }

    .campaign_item {
        width: 92%;
    }

    .campaign_item:first-child {
        bottom: 0;
    }

    .campaign_item:nth-child(2) {
        left: 8.9vw;
    }

    .campaign_image_title {
        bottom: 20px;
        font-size: 28px;
    }
    .campaign_image_title.ja {
        letter-spacing: 0.25em;
    }

    .campaign_image_text {
        font-size: 24px;
    }

    /* UGC */
    .june_gift {
        padding: 123px 8.9% 0;
    }

    .june_gift_inner {
        flex-direction: column;
        gap: 30px 0;
        position: relative;
        padding: 60px 7.8% 96px;
    }

    .june_gift_text_wrapper {
        width: 100%;
    }

    .june_gift_title {
        font-size: 20px;
        margin: 0 0 30px;
    }

    .june_gift_text {
        font-size: 14px;
        margin: 0;
    }

    .june_gift_image {
        width: 100%;
    }

    .june_gift .link {
        position: absolute;
        right: 7.8%;
        bottom: 40px;
    }

    .instagram_posts {
        padding: 100px 8.9% 0;
    }

    .instagram_posts_list,
    .vsm-tile.instagram-melrose_50th_all ul.ecbn-selection-snap {
        grid-template-columns: 1fr 1fr;
        gap: 2.56vw;
    }

    .instagram_container {
        top: 7px;
        left: 5px;
        width: 20px;
        height: 20px;
    }

    .footer {
        padding: calc(120 / 390 * 100vw) calc(35 / 390 * 100vw) calc(80 / 390 * 100vw);
    }

    .footer_logo {
        width: calc(115 / 390 * 100vw);
    }
    .footer_logo img {
        width: 100%;
    }

    .footer_nav_container {
        flex-direction: column;
        align-items: self-start;
        gap: calc(50 / 390 * 100vw) 0;
        width: 100%;
        margin: calc(50 / 390 * 100vw) 0 0;
    }

    .footer_nav_list {
        display: flex;
        justify-content: space-between;
        gap: unset;
        width: 100%;
        margin: 0;
    }

    .footer_nav_link {
        font-size: calc(13 / 390 * 100vw);
    }
    .footer_nav_item.top {
        order: -1;
    }
    .footer .link {
        width: calc(20 / 390 * 100vw);
    }
    .footer .link img {
        width: 100%;
    }

    .footer_copyrights {
        width: 100%;
        font-size: calc(11 / 390 * 100vw);
        margin: calc(30 / 390 * 100vw) 0 0;
        text-align: center;
    }
    main.top50th .more-btn {
        width: calc(180 / 390 * 100vw);
        height: calc(40 / 390 * 100vw);
        font-size: calc(16 / 390 * 100vw);
    }
    main.top50th section.anniversary-message {
        margin-bottom: calc(109 / 390 * 100vw);
        padding-top: calc(70 / 390 * 100vw);
    }
    main.top50th section.anniversary-message p {
        font-size: calc(13 / 390 * 100vw);
        line-height: calc(35 / 390 * 100vw);
    }
    main.top50th section.fiftty-list {
        margin-bottom: calc(100 / 390 * 100vw);
    }
    main.top50th section.fiftty-list .fiftty-title {
        margin-bottom: calc(34 / 390 * 100vw);
    }
    main.top50th section.fiftty-list .fiftty-title h2 {
        left: 0;
        width: calc(265 / 390 * 100vw);
        margin-bottom: calc(18 / 390 * 100vw);
    }
    main.top50th section.fiftty-list .fiftty-title p {
        margin: 0;
        font-size: calc(14 / 390 * 100vw);
    }
    main.top50th section.fiftty-list ul li:nth-child(odd) {
        background: #F5F5F5;
    }
    main.top50th section.fiftty-list ul li:nth-of-type(6) {
        display: none;
    }
    main.top50th section.fiftty-list ul li a {
        padding: calc(33 / 390 * 100vw) 0 calc(30 / 390 * 100vw);
    }
    main.top50th section.fiftty-list ul li .date {
        gap: 0 calc(10 / 390 * 100vw);
        margin-bottom: calc(23 / 390 * 100vw);
        font-size: calc(13 / 390 * 100vw);
    }
    main.top50th section.fiftty-list ul li .image {
      width: calc(320 / 390 * 100vw);
      margin-bottom: calc(19 / 390 * 100vw);
    }
    main.top50th section.fiftty-list ul li .detail h2 {
      font-weight: 500;
      font-size: calc(22 / 390 * 100vw);
      line-height: calc(30 / 390 * 100vw);
    }
    main.top50th section.fiftty-list .more-btn {
        margin-top: calc(38 / 390 * 100vw);
    }
    main.top50th section.instagram {
        padding: calc(100 / 390 * 100vw) calc(35 / 390 * 100vw);
    }
    main.top50th section.instagram .instagram-title {
        top: calc(-14 / 390 * 100vw);
        right: calc(10 / 390 * 100vw);
        font-size: calc(30 / 390 * 100vw);
        letter-spacing: 0.04em;
    }
    main.top50th section.instagram .instagram-title .hash {
        left: calc(3 / 390 * 100vw);
        padding-bottom: calc(2 / 375 * 100vw);
        font-size: calc(55 / 390 * 100vw);
    }
    main.top50th section.instagram .instagram-title .number {
        padding: calc(1 / 375 * 100vw) 0 calc(5 / 375 * 100vw);
        font-size: calc(40 / 390 * 100vw);
    }
    main.top50th section.instagram .isntagram-list {
        width: 100%;
    }
    main.top50th section.instagram .isntagram-list .ecbn-selection-snap {
        gap: calc(10 / 390 * 100vw);
    }
    main.top50th section.instagram .isntagram-list .ecbn-selection-snap .ecbn-selection-item {
        width: calc(130 / 390 * 100vw)!important;
    }
    main.top50th section.instagram .isntagram-list li.ecbn-selection-item::before {
        content: "";
        position: absolute;
        top: calc(7 / 390 * 100vw);
        left: calc(5 / 390 * 100vw);
        width: calc(20 / 390 * 100vw);
        height: calc(20 / 390 * 100vw);
    }
    main.top50th section.instagram .isntagram-list li.ecbn-selection-item::after {
        top: calc(12 / 390 * 100vw);
        left: calc(10 / 390 * 100vw);
        width: calc(9 / 390 * 100vw);
        height: calc(9 / 390 * 100vw);
    }
    main.top50th section.melrose-history .melrose-history-text {
        font-size: calc(24 / 390 * 100vw);
    }
    main.top50th section.top-campaign {
        width: calc(320 / 390 * 100vw);
        padding-top: calc(100 / 390 * 100vw);
    }
    main.top50th section.top-campaign h2 {
        top: calc(65 / 390 * 100vw);
        left: calc(-11 / 390 * 100vw);
        font-size: calc(33 / 390 * 100vw);
        letter-spacing: 0.06em;
    }
    main.top50th section.top-campaign .campaign-banner {
        width: calc(270 / 390 * 100vw);
    }
}
  