/* header */ :root { --menuWidth: 300px; } #header { // position: fixed; top: 0; left: 0; width: 100%; z-index: 999; } header { border-bottom: 1px solid #f3f3f3; } .head-right { display: flex; } .logo { display: inline-block; vertical-align: middle; width: 130px; } .header-box { .container { .flex(space-between, center); height: var(--headerHeight); .anim(); } } .menuOverlay { width: 100%; height: calc(100% - var(--header-height)); background: rgba(0, 0, 0, 0.5); position: fixed; top: var(--header-height); left: 0; opacity: 0; visibility: hidden; cursor: pointer; transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out; pointer-events: none; z-index: 4; } .drop { position: relative; &>a:after { content: ""; margin-left: 6px; width: 12px; height: 12px; // background: url(../img/menu-drop.svg) no-repeat center center/contain; display: inline-block; vertical-align: middle; transition: 0.3s; } ul { position: absolute; // background: #fff; // box-shadow: 0 0 20px rgba(0, 0, 0, 0.11); border-radius: 10px; top: 60px; // padding: 10px; left: 0; width: 170px; opacity: 0; visibility: hidden; z-index: 10; .anim(); li { padding: 0; &:last-of-type { border-bottom: 0; } a { display: block; font-size: 15px; padding: 8px 0; border-radius: 5px; opacity: 0.5; color: #000; &:hover { opacity: 1; color: #000; } } } } &:hover { ul li a { color: #000; } a { color: #bd2340; } ul { opacity: 1; visibility: visible; } .drop-bg { opacity: 1; visibility: visible; } .menuOverlay { opacity: 1; visibility: visible; } } } .drop-bg { background: #fff; width: 100%; height: 200px; padding: 20px 0; position: fixed; top: var(--header-height); left: 0; opacity: 0; visibility: hidden; z-index: 5; // display: flex; .anim(0.3s); p { color: #8e8e8e; max-width: 400px; width: 100%; line-height: 1.5; font-size: var(--font22); strong { color: #000; } } // .container, // .home-container { // display: flex; // align-items: center; // } } .header-wrap { display: flex; } .header-box { display: flex; height: var(--header-height); background-color: #ffffff; } .menuBtn { display: flex; align-items: center; } .header-list { .flex(flex-start, center); gap: 40px; li { padding: 7px 0; &:first-child { padding-left: 0; } &:last-child { padding-right: 0; } a { font-size: 16px; // color: #282828; color: #000; font-family: "helvetica_neue_regular"; .anim(); // &:hover { // color: #bd2340; // } } } } .fixHeader { background-color: #ffffff; // box-shadow: 0px 0px 20px rgba(19, 28, 162, 0.1); .header-box .container { height: var(--headerFixedHeight); } } .menuBtn { .button { margin-left: 20px; margin-right: 40px; } } /* side menu */ .menu { display: none; position: relative; } /* side menu */ .menu { display: none; position: relative; margin-left: 16px; z-index: 8; } .mob-navigation li.nav-dropdown-open>ul { display: block; } .nav-wrapper { position: fixed; width: 100vw; height: 100vh; -webkit-transition: -webkit-opacity 0.5s; transition: -webkit-opacity 0.5s; transition: opacity 0.5s; transition: opacity 0.5s, -webkit-opacity 0.5s; right: 0; top: 0; font-size: 14px; pointer-events: none; opacity: 0; display: none; z-index: 7; } .nav-wrapper.show-menu { opacity: 1; pointer-events: all; // z-index: 9; } .js-nav-toggle { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0; color: #bd2340; border: 0px solid #bd2340; // position: absolute; position: fixed; // right: 0; right: 10px; top: 7px; .anim(); } .js-nav-toggle span { position: relative; background-color: #bd2340; height: 2px; display: block; width: 22px; -webkit-transition: all 0.4s; transition: all 0.4s; -webkit-transition-delay: 0.3s; transition-delay: 0.3s; } .js-nav-toggle span:before, .js-nav-toggle span:after { content: ""; position: absolute; display: block; width: 22px; height: 2px; background: #bd2340; left: 0; top: 50%; margin-top: -7px; -webkit-transition: all 0.3s 0.3s; transition: all 0.3s 0.3s; } .js-nav-toggle { &.white-bar { span { background-color: #FFF; &::before, &::after { background: #FFF; } } } } .js-nav-toggle span:before { // box-shadow: 0 14px 0 1px #fff; margin-top: 5px; } .show-menu { .js-nav-toggle { z-index: 99999; background: #bd2340; border-radius: 100%; overflow: hidden; } .js-nav-toggle span:before, .js-nav-toggle span:after { background: #fff; } } .show-menu .js-nav-toggle span { background-color: transparent; } .show-menu .js-nav-toggle span:before { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } .show-menu .js-nav-toggle span:after { -webkit-transform: rotate(45deg); transform: rotate(45deg); } .show-menu .js-nav-toggle span:before, .show-menu .js-nav-toggle span:after { margin-top: 0; // box-shadow: 0 0 0 1px #ee5b2b; } .mob-navigation { position: absolute; left: 0; top: 0; height: 100%; width: 100%; overflow-x: hidden; overflow-y: auto; box-shadow: 0 0 5px 0.2px rgba(255, 255, 255, 0.3); background-color: #fff; } .mob-navigation .nav-toggle { position: absolute; top: 0; left: 0; width: 100%; padding: 16px; background-color: transparent; color: #fff; z-index: 100; cursor: pointer; -webkit-transition: backgroun-color 0.2s; transition: backgroun-color 0.2s; } .mob-navigation .nav-toggle:hover { background-color: transparent; } .mob-navigation .nav-toggle.back-visible .nav-back { opacity: 1; } .mob-navigation .nav-toggle.back-visible .nav-title { -webkit-transform: translateX(30px); transform: translateX(30px); } .mob-navigation .nav-title { position: absolute; left: 0; top: 20px; padding-left: 1em; font-size: 20px; font-family: "helvetica_neue_bold"; -webkit-transition: -webkit-transform 0.3s; transition: -webkit-transform 0.3s; transition: transform 0.3s; transition: transform 0.3s, -webkit-transform 0.3s; color: #fff; } .mob-navigation .nav-back { display: inline-block; position: relative; width: 22px; height: 30px; vertical-align: middle; z-index: 1; opacity: 0; color: #bd2340; -webkit-transition: opacity 0.2s; transition: opacity 0.2s; top: 8px; } .mob-navigation .nav-back:before, .mob-navigation .nav-back:after { content: ""; position: absolute; top: 50%; } .mob-navigation .nav-back:before { left: 40%; width: 9px; height: 9px; border: 2px solid currentcolor; border-right-color: transparent; border-bottom-color: transparent; -webkit-transform: translate(-50%, -50%) rotateZ(-45deg); transform: translate(-50%, -50%) rotateZ(-45deg); } .mob-navigation .nav-back:after { left: 28%; width: 15px; height: 2px; background-color: currentcolor; margin-top: -1px; } .mob-navigation a { display: block; position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0); color: #000; text-decoration: none; -webkit-transition: color 0.15s, background-color 0.15s; transition: color 0.15s, background-color 0.15s; font-size: 1.6em; } .mob-navigation a:hover { color: #aaa; } .mob-navigation ul { list-style: none; padding: 90px 0 0; -webkit-transition: -webkit-transform 0.3s; transition: -webkit-transform 0.3s; transition: transform 0.3s; transition: transform 0.3s, -webkit-transform 0.3s; background-color: #fff; position: absolute; left: 0; top: 0; height: 100%; width: 100%; } .mob-navigation ul ul { display: none; left: 100%; } .mob-navigation li.has-dropdown>a { padding-right: 2.5em; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .mob-navigation li.has-dropdown>a:after { content: ""; position: absolute; top: 50%; right: 1em; width: 12px; height: 12px; border: 2px solid currentcolor; border-left-color: transparent; border-top-color: transparent; -webkit-transform: translateY(-90%) rotateZ(-45deg); transform: translateY(-90%) rotateZ(-45deg); -webkit-transition: -webkit-transform 0.3s; transition: -webkit-transform 0.3s; transition: transform 0.3s; transition: transform 0.3s, -webkit-transform 0.3s; -webkit-transform-origin: 100%; transform-origin: 100%; } .mob-navigation li.nav-dropdown-open>ul { display: block; } .drop { position: relative; &>a::after { content: ""; margin-left: 6px; width: 12px; height: 12px; background: url(../img/menu-drop.svg) no-repeat center center / contain; display: inline-block; vertical-align: middle; transition: 0.3s; } ul { position: absolute; border-radius: 10px; top: 70px; left: 0; width: 170px; opacity: 0; visibility: hidden; z-index: 10; transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out; li { padding: 0; &:last-of-type { border-bottom: 0; } a { display: block; font-size: 14px; padding: 8px 0px; border-radius: 5px; &:focus, &:hover { // background: #eee; color: #e42525; } } } } &:focus, &:hover { ul { opacity: 1; visibility: visible; } ul li a { color: #000; &:hover { color: #bd2340; } } a { color: #bd2340; } .drop-box a { color: #000; } &>a:after { transform: rotate(180deg); transition: 0.3s; } } } // .drop .drop-box { // position: relative; // &>a:after { // content: ""; // width: 12px; // height: 10px; // background: url(../img/menu-drop.svg) no-repeat center center / contain; // display: inline-block; // vertical-align: middle; // transition: 0.3s; // position: absolute; // right: 6px; // top: 12px; // transform: rotate(-90deg); // } // ul { // position: absolute; // background: #fff; // box-shadow: 0 0 20px rgba(0, 0, 0, 0.11); // border-radius: 10px; // top: 0; // padding: 10px; // left: 164%; // width: 270px; // margin-left: -150px; // opacity: 0; // visibility: hidden; // z-index: 999; // .anim(); // li { // padding: 0; // &:last-of-type { // border-bottom: 0; // } // a { // display: block; // font-size: 14px; // padding: 8px 15px; // border-radius: 5px; // color: #000; // } // } // } // &:focus, // &:hover { // ul { // opacity: 1; // visibility: visible; // } // ul li a { // background: #fff; // color: #000; // &:hover { // background: #eee; // color: #e42525; // } // } // a { // background: #eee; // color: #e42525; // } // &>a:after { // right: 1px; // } // } // } @media all and (max-width: 1200px) { .logo { width: 130px; } .navigation { display: none; } .nav-wrapper { display: block; } .header-list { display: none; } .menu { display: flex; align-items: center; justify-content: center; } } @media all and (max-width: 576px) { .internal-link-box a { width: 40%; } } @media all and (max-width: 480px) { .logo { width: 90px; } }