.main-navigation ul ul.sub-menu {
    box-shadow: none;
    display: block;
    float: none;
    position: static;
    padding-left: 20px;
}

#menuToggle input {
    display: none;
}

    .menu-item-has-children ul a:after {
        content: '';
        display: inline-block;
        width: 12px;
        height: 12px;
        background-color: currentColor;
        -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11.6 11.6"><polyline fill="none" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="3.9,1.3 0.5,1.3 0.5,11.1 10.3,11.1 10.3,7.3"/><line fill="none" stroke="black" stroke-miterlimit="10" x1="5.4" y1="6.2" x2="11.1" y2="0.5"/><polyline fill="none" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="11.1,4.8 11.1,0.5 6.8,0.5"/></svg>') no-repeat center;
        mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11.6 11.6"><polyline fill="none" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="3.9,1.3 0.5,1.3 0.5,11.1 10.3,11.1 10.3,7.3"/><line fill="none" stroke="black" stroke-miterlimit="10" x1="5.4" y1="6.2" x2="11.1" y2="0.5"/><polyline fill="none" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="11.1,4.8 11.1,0.5 6.8,0.5"/></svg>') no-repeat center;
        margin-left: 10px;
    }


@media screen and (min-width: 1200px) {
    .site-header .nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .main-navigation {
        width: auto;
        margin-left: auto;
    }

    .main-navigation ul#primary-menu  {
        background: #ffffff;
        display: flex;
        align-items: center; 
        gap: 1.5rem;
        padding: 10px 40px;
        border-radius: 3rem;
    }

    .main-navigation ul ul {
        background: #ffffff;
        box-shadow: none;
        display: block;
        margin-top: 30px;
    }

    .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul {
        left: auto;
    }

    .main-navigation a {
        display: inline-block;
        text-decoration: none;
        color: #24324b;
        font-size: 1.142rem;
        font-weight: 600;
        letter-spacing: 0.08rem;
        padding: 5px 8px;
        transition: color 0.3s;
    }

    .main-navigation a:hover,
    .main-navigation a:focus {
        color: #0073aa;
    }

    header .mail {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #1f7dcc;
        margin-left: 20px;
        padding: 10px;
        border-radius: 3rem;
        width: 60px;
        height: 60px;
    }

    header .mail:hover {
        background: #3ac8e1;;
    }

    header .mail::before {
        content: '';
        background-image: url(../images/common/icon_mail.svg);
        background-size: cover;
        background-position: center;
        width: 23px;
        height: 18px;
        display: inline-block;
    }

    .main-navigation li {
        position: relative;
    }

    .menu-item-has-children .arrow-icon {
        background: #1f7dcc;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin-left: 10px;
        width: 30px;
        height: 30px;
        border-radius: 2rem;
    }

    .menu-item-has-children .arrow-icon::after {
        content: '\2335';
        display: inline-block;
        color: #ffffff;
        transition: 0.3s;
        justify-content: center;
        align-items: center;
        position: relative;
        top: -3px;
        padding: 3px 9px 1px 9px;
    }

    .menu-item-has-children > a.active .arrow-icon::after {
        top: 3px;
        transform: scaleY(-1);
    }

    .sub-menu {
        display: none !important;
        left: auto;
        padding: 5px 15px 15px 15px !important;
        position: relative !important;
        border-radius: 8px;
    }

    .sub-menu li {
        border-bottom: 3px dotted #1f7dcc;
        padding: 5px 0;
        text-align: center;
    }

    .sub-menu.active {
        display: block !important;
        left: auto;
        position: absolute !important;
    }

    header .cart a {
        font-size: 0;
        position: relative;
    }

    header .cart a::before {
        content: '';
        display: block;
        width: 26px;
        height: 26px;
        background-image: url('../img/common/icon_cart.svg');
        background-size: cover;
    }

    header .info {
        display: none;
    }

}

@media screen and (max-width: 1200px) {
    header .nav {
        display: flex;
    }

    header nav {
        position: relative;
    }

    #menuToggle {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 12px;
        right: 0;
        left: auto;
        z-index: 2;
        -webkit-user-select: none;
        user-select: none;
    }

    #menuToggle input {
        display: flex;
        width: 40px;
        height: 44px;
        position: absolute;
        cursor: pointer;
        opacity: 0;
        top: -8px;
        right: -5px;
        z-index: 2000000;
    }

    #menuToggle::after {
        content: 'MENU';
        display: inline-block;
        font-size: 9px;
        position: relative;
        color: #ffffff;
        z-index: 999999;
    }

    .open #menuToggle::after {
        color: #1f7dcc;
    }

    #menuToggle > span {
        display: flex;
        width: 32px;
        height: 2px;
        margin-bottom: 5px;
        position: relative;
        background: #ffffff;
        border-radius: 3px;
        z-index: 10000;
        transform-origin: 5px 0px;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
            background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
            opacity 0.55s ease;
    }

    .scrolled #menuToggle > span {
        background: #0097dc;
    }

    .scrolled #menuToggle::after {
        color: #0097dc;
        transition: 0.3s;
    }

    #menuToggle > span:first-child {
        transform-origin: 0% 0%;
    }

    #menuToggle > span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }

    #menuToggle input:checked~span {
        opacity: 1;
        transform: rotate(28deg) translate(3px, 2px);
        background: #1f7dcc;
        transition: 0.3s;
    }

    #menuToggle input:checked~span:nth-child(1) {
        left: -1px;
    }

    #menuToggle input:checked~span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    #menuToggle input:checked~span:nth-last-child(2) {
        transform: rotate(-28deg) translate(0, 2px);
        left: 1px;
    }

    #primary-menu li {
        display: block;
        padding: 15px 0;
        transition-delay: 2s;
    }

    #primary-menu > li {
        border-bottom: 1px solid #cccccc;
    }

    .main-navigation a {
        display: inline-block;
    }

    #menuToggle input:checked ~ .menu-menu-1-container ul {
        transform: translateX(0);
    }

    #menuToggle .inner {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: #f6f5f1;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        color: #24324b;
        transition: right 0.3s ease;
        z-index: 9999;
        padding: 5rem 1.5rem 2rem;
    }

    #menuToggle input:checked ~ .inner {
        right: 0;
    }

    #menuToggle .inner #primary-menu {
        display: block;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    #menuToggle .inner #primary-menu li {
        /* margin-bottom: 1rem; */
    }

    #menuToggle .inner #primary-menu a {
        display: inline-block;
        color: #24324b;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 600;
        padding: 10px 0;
    }

    #menuToggle .inner .info {
        padding-top: 1rem;
        font-size: 1rem;
    }

    .main-navigation ul ul.sub-menu li {
        padding: 0 !important;
    }

    #menuToggle ul ul.sub-menu a::before {
        content: '-';
        display: inline;
        margin-right: 8px;
    }

    header .tel2 {
        margin-top: 2rem;
    }

    header .tel2, header .time {
        text-align: center;
    }

    header .btn1 {
        margin: 0 auto;
        margin-top: 2rem;
    }

}
