/*--------header--------*/ #header { background-color: #fff; position: relative; z-index: 1000; min-height: 80px; } .header-container { width: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; background-color: #fff; box-sizing: border-box; padding: 12px 24px; align-items: center; position: fixed; z-index: 1000; min-height: 80px; border-bottom: 1px solid #cfcece; } .header-list { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; display: -webkit-box; display: -ms-flexbox; display: flex; justify-content: flex-end; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; -ms-flex-wrap: wrap; flex-wrap: wrap; opacity: 1; } #header h1 img{ max-width: 224px; width: 100%; } .nav { display: flex; justify-content: flex-end; gap: 8px 20px; padding-left: 24px; flex-wrap: wrap; max-width: 820px; width: 100%; box-sizing: border-box; position: static; z-index: 2000; } #header-nav li { font-size: 14px; } #header-nav li a:hover { opacity: 0.7; } .header-nav-active > a { color: #ed1c24; border-bottom: 2px solid #ed1c24; } ul.dropmenu li ul { visibility: hidden; width: 100%; background-color: #fff; box-shadow: 0 0 4px #ccc; margin-top: 0px; } ul.dropmenu li:hover ul { visibility: visible; width: 180px; padding: 0px 20px; } .dli-chevron-down-header { display: inline-block; vertical-align: middle; color: #333; line-height: 1; width: 0.5em; height: 0.5em; border: 0.1em solid currentColor; border-left: 0; border-bottom: 0; box-sizing: border-box; transform: translateY(-25%) rotate(135deg); margin-left: 10px; } .has-child { position: relative; } .sub-menu { position: absolute; background-color: #fff; } #header-nav li .sub-menu li { padding: 10px 0; border-bottom: 1px solid #ccc; } #header-nav li .sub-menu li:last-child { border-bottom: none; } .tel { padding-left: 32px; box-sizing: border-box; } .tel-hour { display: block; font-size: 12px; text-align: right; } .tel-number { font-size: 24px; font-weight: bold; width: 175px; display: block; margin: 0; text-align: right; font-family: 'Roboto Condensed', sans-serif; } .header-tel { display: flex; align-items: center; justify-content: end; } .header-tel p strong { font-weight: 700; font-size: 24px; } .tel-icon { width: 18px; } .sns-icons { display: -webkit-box; display: -ms-flexbox; display: flex; justify-content: space-around; width: 120px; padding-left: 32px; box-sizing: border-box; } .sns-icons li { max-width: 32px; width: 100%; } .et-social-facebook { background-color: #1877f2!important; border-radius: 24px; width: 32px; height: 32px; position: relative; } .et-social-twitter { background-color: #00aced!important; border-radius: 24px; width: 32px; height: 32px; position: relative; } .et-social-instagram { background-color: #ea2c59!important; border-radius: 24px; width: 32px; height: 32px; position: relative; } .et-social-line { background-color: #07c655!important; border-radius: 24px; width: 32px; height: 32px; position: relative; } .path_insta { width: 17px; position: absolute; top: 50%; left: 50%; transform: translateY(-50%) translateX(-50%); } .path_twitter { width: 17px; position: absolute; top: 50%; left: 50%; transform: translateY(-50%) translateX(-50%); } .path_facebook { width: 25px; position: absolute; top: 50%; left: 50%; transform: translateY(-50%) translateX(-50%); } .header-btn { max-width: 180px; width: 100%; text-align: right; margin-left: 4px; } .header-btn a { border-radius: 6px; font-size: 16px; background-color: #ed1c24; border: 2px solid #ed1c24; padding:8px 12px 6px; display: inline-block; text-align: center; box-sizing: border-box; white-space:nowrap; color: #fff; font-weight: bold; } .header-btn a:hover { background-color: #fff; border: 2px solid #ed1c24; color: #ed1c24; transition: 0.2s; } /* header section-end */ /* mini-header section-start */ .mini-header-wrapper { max-width: 1140px; width: 100%; margin: 0 auto; } #mini-header { background-image: url(https://static.cms.flux.jp/w/37hKWwin26/images/mini-header-pc.png); background-repeat: no-repeat; background-position: left bottom; background-size: cover; padding-top: 64px; padding-right: 9vw; padding-bottom: 76px; padding-left: 9vw; text-align: center; } #mini-header h2 { font-size: 40px; font-weight: bold; color: #333; } /* mini-header section-end */ @media screen and (max-width: 980px) { .sp-img { display: block; } .pc-img { display: none; } /* header section-start */ .header { min-height: 80px; } .header-logo { max-width: 180px; width: 100%; margin: 0 auto 0 0; } .header-nav-active a { border: none; } .sub-menu { position: static; } .sub-menu li { margin: 0 30px; } .header-container { overflow: visible; justify-content: end; } .menu { list-style: none; position: absolute; width: 100%; height: auto; left: 0; margin-top: 52px; padding: 0 0 10px 0; clear: both; background: var(--background-navbar); transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s; transform: scale(1, 0); transform-origin: top; background-color: #fff; } .menu-btn:checked ~ .menu { transform: scale(1, 1); transform-origin: top; position: fixed; z-index: 2; top: 20px; left: 0; width: 100%; height: 80dvh; background-color: #fff; overflow-y: auto; transition: .4s ease; } .menu a { font-weight: 500; font-size: 16px; text-transform: capitalize; opacity: 0; transition: 0.5s; } .menu li { border-top: 1px solid #f0f0f0; padding: 15px 20px; margin: 0 0px; opacity: 0; transition: 0.5s; } .menu-btn:checked ~ .menu a, .menu-btn:checked ~ .menu li { opacity: 1; transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s; display: block; width: 100%; box-sizing: border-box; padding: 15px 20px; } .menu-btn:checked ~ .menu li { padding: 0; } .sub-menu { padding: 0 20px; } .menu-btn { display: none; } .menu-icon { display: inline-block; position: relative; cursor: pointer; padding: 24px 0px 24px 14px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .navicon { background: #7c7c7c; display: block; height: 2px; width: 26px; position: relative; transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s; } .navicon:before, .navicon:after { content: ""; display: block; height: 100%; width: 100%; position: absolute; background: #7c7c7c; transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s; } .navicon:before { top: 9px; } .navicon:after { bottom: 9px; } .menu-btn:checked ~ .menu-icon .navicon:before { transform: rotate(-45deg); } .menu-btn:checked ~ .menu-icon .navicon:after { transform: rotate(45deg); } .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before { top: 0; } .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after { bottom: 0; } .menu-btn:checked ~ .menu-icon .navicon { background: rgba(0, 0, 0, 0); transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s; } .tel-icon { width: 24px; } .tel-number { width: 24px; } .tel { margin-bottom: 8px; } /* header section-end */ /* mini-header section-start */ #mini-header { padding-top: 64px!important; padding-right: 9vw!important; padding-bottom: 76px!important; padding-left: 9vw!important; } #mini-header h2 { font-size: 40px; } /* mini-header section-end */ } @media screen and (max-width: 480px) { /* header section-start */ .header-container { min-height: 80px; } .header-btn a { padding: 8px; font-size: 14px; } .header-logo { max-width: 180px; } .menu-icon { padding: 24px 0px 24px 14px; } .header-btn { max-width: 118px; width: 100%; text-align: right; margin-left: 4px; } .navicon { width: 24px; } .navicon:before { top: 7px; } .navicon:after { bottom: 7px; } .tel-icon { display: none; } .tel { display: none; } /* header section-end */ #mini-header h2 { font-size: 32px; } #mini-header { padding-top: 40px!important; padding-right: 5vw!important; padding-bottom: 48px!important; padding-left: 5vw!important; } }