@charset "UTF-8";

@media print, screen and (min-width:1200px) {

#topHead {
position: fixed;
background-color: #fafafa;
width: 100%;
height: 110px;
top: 0;
left: 0;
right: 0;
margin: 0 auto;
z-index: 500;
transition: .3s;
}

#topHead.fixed {
background-color: #fff;
}

#topHead #logo {
position: absolute;
background: url("../img/logo_kuma.svg") no-repeat;
background-size: 145px;
width: 145px;
height: 80px;
margin: auto;
transform: .3s;
z-index: 1501;
left: 30px;
top: 5px;
}

#topHead #logo a span {
width: 145px;
height: 80px;
font-size: 0;
display: block;
text-indent: -10000px;
}

#logoAllLinkReforms {
position: absolute;
font-family: var(--font-kodchasan);
font-size: 1rem;
font-weight: 700;
color: var(--bearColor);
z-index: 1501;
left: 50px;
top: 86px;
}

#topHead #globalNav ul {
position: absolute;
margin: auto;
right: 160px;
top: 37px;
display: flex;
justify-content: flex-end;
z-index: 501;
}

#topHead #globalNav ul li {
text-align: center;
margin-left: 25px;
}

#topHead #globalNav ul li a {
position: relative;
font-size: 1.4rem;
font-weight: 700;
color: var(--bearColor);
text-decoration: none;
margin: 0;
padding: 0;
line-height: 1;
}

#topHead #globalNav ul li a::after {
position: absolute;
background-color: var(--themeColor);
content: "";
width: 100%;
height: 2px;
bottom: -8px;
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 #globalNav ul li a:hover::after {
transform: scale(1, 1);
}

#topHead #contact a {
position: absolute;
background-color: var(--themeColor);
width: 130px;
height: 120px;
font-size: 1.4rem;
font-weight: 700;
color: #fff;
padding: 15px 0;
top: 0;
right: 0;
border-left: 2px solid var(--themeColor);
border-bottom: 2px solid var(--themeColor);
border-radius: 0 0 0 30px;
box-shadow: 2px 2px 0 #fff;
line-height: 1.3;
transition: .3s;
z-index: 5;
}

#topHead #contact a i {
font-size: 2.7rem;
margin-bottom: 5px;
}

#topHead #contact a:hover {
background-color: #fff;
color: var(--themeColor);
}

#topHead #btnCall {
position: fixed;
background-color: #fafafa;
width: 270px;
height: 80px;
font-size: 1.1rem;
font-weight: 700;
color: var(--themeColor);
padding-top: 18px;
border-left: 2px solid var(--themeColor);
border-bottom: 2px solid var(--themeColor);
border-radius: 0 0 0 30px;
transition: .3s;
line-height: 1.3;
z-index: 0;
right: 0;
top: 110px;
}

#topHead #btnCall i {
margin-right: 5px;
}

#topHead.fixed #btnCall {
background-color: #fff;
}

#topHead #btnCall:hover {
background-color: var(--themeColor);
color: #fff;
}

#topHead #btnCall span {
font-family: var(--font-kodchasan);
font-size: 2.5rem;
font-weight: 700;
display: block;
}

.openbtn {
display: none;
}

.gNav,
#btnContact {
display: none !important;
}

}

@media print, screen and (max-width:1199px) {

#topHead {
position: fixed;
background-color: #fafafa;
width: 100%;
height: 90px;
top: 0;
left: 0;
margin: 0 auto;
z-index: 500;
transition: .3s;
}

#topHead.fixed {
background-color: #fff;
}

#topHead #logo {
position: absolute;
background: url("../img/logo_kuma.svg") no-repeat;
background-size: 110px;
width: 110px;
height: 61px;
margin: auto;
transform: .3s;
z-index: 1501;
left: 20px;
top: 8px;
}

#topHead #logo a span {
width: 110px;
height: 61px;
font-size: 0;
display: block;
text-indent: -10000px;
}

#logoAllLinkReforms {
position: absolute;
font-family: var(--font-kodchasan);
font-size: 1rem;
font-weight: 700;
color: var(--bearColor);
z-index: 1501;
left: 28px;
top: 68px;
}

#topHead #globalNav ul {
display: none;
}

#topHead #contact {
display: none;
}

.openbtn {
position: fixed;
width: 30px;
height: 30px;
top: 30px;
right: 20px;
cursor: pointer;
z-index: 9999;
}

.openbtn span {
position: absolute;
background-color: var(--themeColor);
width: 30px;
height: 2px;
display: inline-block;
margin: auto;
left: 0;
right: 0;
top: 0;
bottom: 0;
transition: all .4s;
}

.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: #fff;
top: 0;
left: 0;
transform: translateY(-2px) rotate(-45deg);
width: 30px;
}

.openbtn.active span:nth-of-type(2){
background-color: #fff;
top: 0;
left: 0;
transform: translateY(-2px) rotate(45deg);
width: 30px;
}

.gNav {
position: fixed;
background-color: var(--themeColor);
width: 100%;
height: 100vh;
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: 100%;
top: 30%;
left: 50%;
transform: translateY(-30%) translateX(-50%);
}

.gNav ul li {
text-align: center;
margin: 20px auto;
}

.gNav ul li a {
position: relative;
font-size: 1.4rem;
font-weight: 700;
color: #fff;
text-decoration: none;
margin: 0;
padding: 0;
line-height: 1;
}

.gNav ul li a span {
font-family: var(--font-kodchasan);
font-size: 1rem;
font-weight: 600;
display: block;
letter-spacing: .05em;
}

.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);
border-left: 2px solid var(--themeColor);
border-bottom: 2px solid var(--themeColor);
border-radius: 0 0 0 20px;
transition: .3s;
line-height: 1.3;
z-index: 0;
right: 0;
top: 90px;
}

#topHead #btnCall i {
margin-right: 5px;
}

#topHead.fixed #btnCall {
background-color: #fff;
}

#topHead #btnCall span {
font-family: var(--font-kodchasan);
font-size: 2rem;
font-weight: 700;
display: block;
}

#btnContact {
position: fixed;
background-color: var(--themeColor);
width: 260px;
height: 60px;
font-size: 1rem;
font-weight: 700;
color: #fff;
padding-top: 12px;
border-radius: 0 15px 15px 0;
transition: .3s;
line-height: 1.3;
z-index: 400;
left: 0;
bottom: 45px;
}

#btnContact span {
font-size: 1.5rem;
display: block;
}

#btnContact i {
margin-right: 5px;
}

}