@charset "UTF-8";

@media print, screen and (min-width:1200px) {

#topHead,
#topHeadCo {
position: fixed;
width: 100%;
height: 94px;
top: 0;
left: 0;
z-index: 500;
transition: .3s;
}

#topHeadCo {
background-color: #fff;
}

#topHead.fixed {
background-color: #fff;
}

#topHead #logo,
#topHeadCo #logo {
position: absolute;
background: url("../img/logo_w.png") no-repeat;
background-size: 282px;
width: 282px;
height: 47px;
left: 30px;
top: 22px;
}

#topHeadCo #logo {
background: url("../img/logo.png") no-repeat;
background-size: 282px;
}

#topHead #logo a span,
#topHeadCo #logo a span {
width: 282px;
height: 47px;
font-size: 0;
display: block;
text-indent: -10000px;
}

#topHead.fixed #logo {
background: url("../img/logo.png") no-repeat;
background-size: 282px;
}

#topHead #globalNav ul,
#topHeadCo #globalNav ul {
position: absolute;
margin: auto;
right: 30px;
top: 30px;
display: flex;
justify-content: flex-end;
z-index: 501;
}

#topHead #globalNav ul li,
#topHeadCo #globalNav ul li {
position: relative;
text-align: left;
}

#topHead #globalNav ul li::after,
#topHeadCo #globalNav ul li::after {
color: #fff;
content: "／";
margin: 0 20px;
}

#topHeadCo #globalNav ul li::after {
color: var(--txtColor);
}

#topHead #globalNav ul li:nth-of-type(4)::after,
#topHead #globalNav ul li:nth-of-type(5)::after,
#topHeadCo #globalNav ul li:nth-of-type(4)::after,
#topHeadCo #globalNav ul li:nth-of-type(5)::after {
content: "";
}

#topHead #globalNav ul li a,
#topHeadCo #globalNav ul li a {
position: relative;
font-weight: 400;
color: #fff;
text-decoration: none;
}

#topHeadCo #globalNav ul li a {
color: var(--txtColor);
}

#topHead.fixed #globalNav ul li a {
color: var(--txtColor);
}

#topHead #globalNav ul li a::after,
#topHeadCo #globalNav ul li a::after {
position: absolute;
background-color: #fff;
content: "";
width: 100%;
height: 1px;
bottom: -5px;
left: 0;
transform: scale(0, 1);
transform-origin: left top;
transition: all 0.3s ease;
}

#topHeadCo #globalNav ul li a::after {
background-color: var(--themeColor);
}

#topHead #globalNav ul li a:hover::after,
#topHeadCo #globalNav ul li a:hover::after {
transform: scale(1, 1);
}

#topHead.fixed #globalNav ul li::after {
color: var(--txtColor);
}

#topHead.fixed #globalNav ul li a::after,
#topHeadCo.fixed #globalNav ul li a::after {
background-color: var(--themeColor);
}

#topHead .navContact a,
#topHeadCo .navContact a {
position: relative;
background-color: var(--themeColor);
width: 180px;
height: 46px;
color: #fff;
text-align: center;
display: block;
margin-left: 10px;
padding: 0;
border: 1px solid var(--txtColor);
border-radius: 5px;
line-height: 41px;
top: -8px;
}

#topHeadCo .navContact a {
color: #fff !important;
}

#topHead .navContact a:after,
#topHeadCo .navContact a:after {
display: none;
}

#topHead.fixed .navContact a {
color: #fff !important;
}

#topHead .navContact a:hover,
#topHeadCo .navContact a:hover {
background-color: #fff;
color: var(--themeColor) !important;
border: 1px solid var(--themeColor);
}

#topHead,
#topHead #logo,
#topHead #globalNav ul,
#topHead #call,
#topHead #contact{
transition: all .3s ease;
}

.openbtn {
display: none;
}

.gNav,
#btnContact {
display: none !important;
}

.globalSubNav {
position: absolute;
background-color: #fff;
width: 235px;
font-size: 1.5rem;
margin: auto;
padding: 16px 24px 20px;
display: none !important;
white-space: nowrap;
left: -24px;
top: 42px !important;
overflow: visible;
transition: .6s;
z-index: 510;
box-shadow: 0 3px 6px rgba(0,0,0,.16);
}

.globalSubNav li {
margin-left: 0 !important;
text-align: left !important;
}

.globalSubNav li::after {
display: none;
}

.globalSubNav li a {
color: var(--txtColor) !important;
}

.globalSubNav li a:hover {
color: var(--themeColor) !important;
}

.globalSubNav li a::after {
display: none;
}

#topHead #globalNav ul li:hover .globalSubNav,
#topHeadCo #globalNav ul li:hover .globalSubNav {
display: block !important;
animation: fadeIn 0.3s ease-in 0s forwards;
}

@keyframes fadeIn {
0% {
display: none;
opacity: 0;
}

1% {
display: block;
opacity: 0;
}

100% {
display: block;
opacity: 1;
}
}

}

@media print, screen and (max-width:1199px) {

#topHead,
#topHeadCo {
position: fixed;
width: 100%;
height: 60px;
top: 0;
left: 0;
margin: 0 auto;
z-index: 500;
transition: .3s;
}

#topHeadCo {
background-color: #fff;
}

#topHead.fixed {
background-color: #fff;
}

#topHead #logo,
#topHeadCo #logo {
position: absolute;
background: url("../img/logo_w.png") no-repeat;
background-size: 220px;
width: 220px;
height: 37px;
margin: auto;
transform: .3s;
z-index: 1501;
left: 15px;
top: 11px;
}

#topHeadCo #logo {
background: url("../img/logo.png") no-repeat;
background-size: 220px;
}

#topHead #logo a span,
#topHeadCo #logo a span {
width: 220px;
height: 37px;
font-size: 0;
display: block;
text-indent: -10000px;
}

#topHead.fixed #logo {
background: url("../img/logo.png") no-repeat;
background-size: 220px;
width: 220px;
}

#topHead #globalNav ul,
#topHeadCo #globalNav ul,
.globalSubNav {
display: none;
}

#topHead #contact,
#topHeadCo #contact {
display: none;
}

.openbtn {
position: fixed;
width: 30px;
height: 30px;
top: 15px;
right: 20px;
cursor: pointer;
z-index: 9999;
}

.openbtn span {
position: absolute;
background-color: #fff;
width: 30px;
height: 1px;
display: inline-block;
margin: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;
transition: all .4s;
}

.openbtn span {
background-color: var(--themeColor);
}

.openbtn.fixed span {
background-color: var(--themeColor);
}

.openbtn span:nth-of-type(1) {
top: -11px;
}

.openbtn span:nth-of-type(2) {
top: 11px;
}

.openbtn.active span:nth-of-type(1) {
background-color: var(--themeColor);
top: 0;
left: 0;
transform: translateY(-2px) rotate(-45deg);
width: 30px;
}

.openbtn.active span:nth-of-type(2) {
background-color: var(--themeColor);
top: 0;
left: 0;
transform: translateY(-2px) rotate(45deg);
width: 30px;
}

.gNav {
position: fixed;
background-color: #fff;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0;
top: 0;
transition: all 0.3s;
display: none;
}

.gNav.panelactive {
opacity: 1;
z-index: 999;
}

.gNav ul {
position: absolute;
width: auto;
margin: 0 auto;
top: 40%;
left: 50%;
transform: translateY(-40%) translateX(-50%);
}

.gNav ul li {
position: relative;
text-align: left;
margin: 20px auto;
padding-left: 20px;
}

.gNav ul li::before {
position: absolute;
background-color: var(--themeColor);
width: 12px;
height: 1px;
content: "";
margin: auto;
top: 0;
bottom: 0;
left: 0;
}

.gNav ul li a {
position: relative;
font-size: 1.4rem;
color: var(--txtColor);
text-decoration: none;
margin: 0;
padding: 0;
line-height: 1.5;
}

.gNav ul li a span {
font-family: var(--font-literata);
font-size: 1rem;
font-weight: 700;
color: var(--themeColor);
display: block;
}

.gNav ul li a::after {
position: absolute;
background-color: var(--themeColor);
content: "";
width: 100%;
height: 2px;
bottom: -12px;
left: 0;
-webkit-transform: scale(0, 1);
transform: scale(0, 1);
-webkit-transform-origin: left top;
transform-origin: left top;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}

#topHead #btnCall {
position: fixed;
background-color: #fafafa;
width: 205px;
height: 50px;
font-size: 1rem;
font-weight: 700;
color: var(--themeColor);
transition: .3s;
line-height: 1.3;
z-index: 0;
right: 0;
top: 80px;
}

#topHead #btnCall {
position: fixed;
background-color: var(--themeColor);
width: 100%;
height: 42px;
font-size: 1rem;
font-weight: 700;
color: #fff;
padding: 8px 0 10px;
display: flex;
justify-content: center;
align-items: center;
transition: .3s;
line-height: 1;
z-index: 0;
left: 0;
top: 60px;
}

#topHead #btnCall span {
font-family: var(--font-literata);
font-size: 2.2rem;
font-weight: 700;
}

}