@font-face {
    font-family: 'Din 1451 Alt';
    src: url('../fonts/din1451alt.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Din 1451 Alt', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
    padding: 0;
    margin: 0;
    -webkit-font-smoothing:subpixel-antialiased;
}

#elementFormwork,#getCountURL {
    display: none;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-sizing: border-box;
    height: 120px;
    border: #777;
    z-index: 2000;
}
#header .icons_frame {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    background-color: white;
    position: relative;
    z-index: 10;
}
#header .icon_position {
    display: inline-block;
    height: 100%;
    width: fit-content;
    margin: 0 auto;
    position: relative;
}
#header #logo.icon_position {
    margin-left: 0;
}
#header #favorite.icon_position {
    margin-right: 15px;
}
#header #cart.icon_position {
    margin-left: 0;
    margin-right: 0;
}
#header #menu.icon_position {
    margin-left: 0;
    margin-right: 0;
}
#header .icon_position a {
    display: flex;
    text-decoration: none;
    color: unset;
    padding: 20px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    align-content: center;
    height: 100%;
    position: relative;
}

#header #logo.icon_position a span {
    display: block;
    background-image: url("../img/sc-logo.svg");
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    box-sizing: border-box;
    width: 150px;
    height: 100%;
}
#header #cart.icon_position a span {
    display: block;
    background-image: url("../img/cart.svg");
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 50px;
    height: 100%;
}
#header #favorite.icon_position a span {
    display: block;
    background-image: url("../img/like.svg");
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 50px;
    height: 100%;
}
#header #menu.icon_position a {
    padding: 0;
    width: 120px;
}
#header #menu.icon_position a span,#header #menu.icon_position a::before,#header #menu.icon_position a::after {
    display: block;
    height: 6px;
    border-radius: 3px;
    width: 40%;
    transform: translate(-50%, -50%) rotate(0deg);
    top: 50%;
    left: 50%;
    position: absolute;
    background-color: #000;
    content: '';
    transition: all .3s;
}
#header #menu.icon_position a::before {
    transform: translate(-50%, calc(-50% + 17px)) rotate(0deg);
}
#header #menu.icon_position a::after {
    transform: translate(-50%, calc(-50% - 17px)) rotate(0deg);
}

#header #menu.icon_position a:has( #menu_open:checked) span {
    /* transform: translate(-50%, -50%) rotate(0deg); */
    /* width: 6px; */
    transform: translate(-50%, -50%) rotate(-45deg);
}
#header #menu.icon_position a:has( #menu_open:checked)::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
#header #menu.icon_position a:has( #menu_open:checked)::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

#itemsNum,#favoritesNum {
    position: absolute;
    top: 25px;
    right: 0px;
    color: #fff;
    background-color: #000;
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 20px;
    height: 20px;
    font-size: 16px;
    line-height: 16px;
}

#menu_open {
    display: block;
    opacity: 0;
    border: none;
    padding: 0;
    margin: 0;
    line-height: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}


#menu-itself_back {
    position: fixed;
    width: 100%;
    top: 120px;
    left: 0;
    height: 100%;
    visibility: hidden;
    pointer-events: none;
    z-index: 5;
    background-color: #77777799;
    transition: all .3s;
    opacity: 0;
    overflow: scroll;
}
#menu-itself {
    position: relative;
    width: 100%;
    max-width: 1200px;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    transition: all .3s;
    background-color: white;
    padding-top: 80px;
}
#menu-itself > div {
    margin: 0 auto;
    width: 88%;
}
#menu-itself .main_links {
    padding-bottom: 40px;
    border-bottom: 2px solid gray;
}

#menu-itself .main_links a {
    margin-bottom: 60px;
    display: block;
    font-size: 56px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

#menu-itself .sub_links {
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 80px;
}
#menu-itself .sub_links a {
    margin-bottom: 60px;
    display: block;
    font-size: 28px;
    text-decoration: none;
    color: #000;
}

#header:has( #menu_open:checked) #menu-itself_back {
    visibility: visible;
    pointer-events: all;
    opacity: 1;
}
#header:has( #menu_open:checked) #menu-itself {
    top: 0;
}






.base {
    position: relative;
}

#view_frame {
    width: 100%;
    max-width: 1200px;
    height: calc(100vh - 120px);
    top: 120px;
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
    font-size: 1500px;
    margin: 0 auto;
}
#view_frame::-webkit-scrollbar{
    display: none;
}


