@charset "utf-8";
/*
Template: 
Theme Name: 
*/

/* -----------------------------------------------------------
	header(PC)
----------------------------------------------------------- */

header {
    width: 100%;
    height: auto;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0px 1px 2px rgb(0 0 0 / 20%);
    z-index: 9999;
}

#header-box {
    width: 100%;
    height: 80px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

#header-box h1 {
    width: 220px;
    margin-left: 2%;
    text-align: left;
}

#header-box h1 a {
    font-family: "Russo One", sans-serif;
    font-size: 40px;
    color: var(--secondary-color);
    line-height: 1;
    font-weight: 400;
    text-decoration: none;
}

#header-box h1 a .sub {
    font-family: var(--font-family-base);
    font-size: 18px;
    font-weight: 600;
    display: block;
}

#header-box h1 a:hover {
    text-decoration: none;
    opacity: 0.7;
    transition: 0.5s;
}

#navi_header {
    width: calc(100% - 270px);
    height: 80px;
}

nav .menu-header-navi-container {
    width: 100%;
}

ul#menu-header-navi-pc {
    width: 100%;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0;
}

ul#menu-header-navi-pc li {
    line-height: 1;
    text-decoration: none;
}

ul#menu-header-navi-pc li a {
    width: 100%;
    height: 80px;
    display: inline-block;
    color: var(--font-color-base);
    text-decoration: none;
    padding: 30px 45px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
}

ul#menu-header-navi-pc li#safety a {
    padding: 30px 20px;
}

ul#menu-header-navi-pc li#header-contact a {
    color: #fff;
    background: var(--primary-color);
    position: relative;
    z-index: 2;
}

ul#menu-header-navi-pc li a:hover {
    text-decoration: none;
    color: #fff;
    background: var(--primary-color);
    transition: none;
}

ul#menu-header-navi-pc li#header-contact a:hover {
    text-decoration: none;
    color: #fff;
}

ul#menu-header-navi-pc li#header-contact a::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #5ab6ea;
    transform-origin: left;
    transform: scale(0, 1);
    transition: transform .3s;
    z-index: -1;
}

ul#menu-header-navi-pc li#header-contact a:hover::after {
    transform-origin: left bottom;
    transform: scale(1, 1);
}

ul#menu-header-navi-pc li ul.sub-menu {
    visibility: hidden;
    opacity: 0;
    width: 100%;
    display: flex;
    position: absolute;
    left: 0;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -1px 0 rgb(0 0 0 / 20%);
}

ul#menu-header-navi-pc li:hover ul.sub-menu {
    visibility: visible;
    opacity: 1;
    background: var(--background-color1);
    z-index: 99;
}

ul#menu-header-navi-pc li ul.sub-menu li {
    width: 350px;
    height: 0;
    overflow: hidden;
}

ul#menu-header-navi-pc li:hover ul.sub-menu li {
    overflow: visible;
    height: 180px;
}

ul#menu-header-navi-pc li ul.sub-menu li a {
    width: 300px;
    height: 180px;
    padding: 0;
    letter-spacing: 0.5px;
    line-height: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

ul#menu-header-navi-pc li ul.sub-menu li a .header-navi-img {
    width: 163px;
    height: 115px;
    margin-right: 15px;
    overflow: hidden;
}

ul#menu-header-navi-pc li ul.sub-menu li a img {
    height: 115px;
    transition: transform .6s ease;
}

ul#menu-header-navi-pc li ul.sub-menu li a::after {
    content: none;
}

ul#menu-header-navi-pc li ul.sub-menu li a:hover {
    color: #333;
    background: none;
}

ul#menu-header-navi-pc li ul.sub-menu li a:hover img {
    transform: scale(1.1);
}

.overlay,
nav.side-menu,
.nav-box,
.sp_tel {
    display: none;
}


@media screen and (max-width: 1680px) {


ul#menu-header-navi-pc li a {
    padding: 30px 30px;
    font-size: 16px;
}

ul#menu-header-navi-pc li#safety a {
    padding: 30px 30px;
}

ul#menu-header-navi-pc li#header-contact a {
    padding: 30px 30px;
}

ul#menu-header-navi-pc li ul.sub-menu li {
    width: 320px;
}

}


/* -----------------------------------------------------------
	header(スマートフォン)
----------------------------------------------------------- */

@media screen and (max-width: 1360px) {

header,
.side-open .nav-box {
    display: none;
}

.nav-box {
    height: 60px;
    width: 100%;
    background: #fff;
    display: block;
    position: fixed;
    box-shadow: 0px 1px 2px rgb(0 0 0 / 20%);
    top: 0;
    z-index: 9999;
}

.side-menu-btn {
    width: 27px;
    height: 27px;
    position: fixed;
    top: 19px;
    right: 15px;
    z-index: 4;
    text-align: center;
}

.menu-btn-icon {
    width: 27px;
    height: 27px;
    position: relative;
    display: block;
}

.side-menu-btn .menu-btn-icon::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 27px;
    z-index: 1;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    top: -webkit-calc(50% - 13px);
    top: -moz-calc(50% - 13px);
    top: calc(50% - 13px);
    height: 13px;
}

.side-menu-btn .menu-btn-icon::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 27px;
    z-index: 1;
    border-top: 3px solid var(--primary-color);
    top: -webkit-calc(50% - -7px);
    top: -moz-calc(50% - -7px);
    top: calc(50% - -7px);
    height: 0;
}

.side-menu-btn:hover {
    opacity: 0.7;
    text-decoration: none;
}

.wrapper h1 {
    width: auto;
    height: 60px;
    text-align: left;
    display: flex;
    position: relative;
    left: 20px;
    justify-content: flex-start;
    align-items: center;
}

.wrapper h1 a {
    font-family: "Russo One", sans-serif;
    font-size: 27px;
    color: var(--secondary-color);
    line-height: 1;
    font-weight: 400;
    font-style: italic;
    text-decoration: none;
}

.wrapper h1 a .sub {
    font-family: var(--font-family-base);
    font-size: 13px;
    font-weight: 600;
    display: block;
}

.wrapper h1 a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.side-open nav.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    text-align: left;
    font-size: 16px;
    display: block;
    overflow: auto;
    background: var(--background-color1);
    z-index: 999;
}

nav.side-menu ul {
    width: 100%;
    height: 100%;
    margin: 30px 0;
}

.side-menu li a {
    color: var(--font-color-base);
    padding: 10px 5px 10px 30px;
    font-weight: 500;
    display: block;
    text-decoration: none;
    position: relative;
}

.side-menu li ul.sub-menu {
    margin: 0 0 0 30px;
    position: relative;
    top: -7px;
}

.side-menu li ul.sub-menu li {
    border-bottom: none;
}

.side-menu li ul.sub-menu li a {
    padding: 10px 5px 0 25px;
}

.side-menu li ul.sub-menu li a::before {
    content: "";
    display: block;
    width: 8px;
    height: 2px;
    background: var(--border-color);
    position: absolute;
    left: 2px;
    top: 24px;
}

.side-menu li a:hover {
    text-decoration: none;
    color: var(--primary-color);
}

.overlay {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    z-index: 3;
}

.overlay::after {
    visibility: hidden;
    position: fixed;
    top: 40%;
    left: 0;
    display: block;
    width: 100%;
    height: 50px;
    color: rgba(255,255,255,0);
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

.side-open .overlay {
    visibility: visible;
    cursor: pointer;
    background: rgba(0,0,0,.7);
}

.side-open .overlay::before {
    content: "";
    background: url(/wp-content/uploads/close_icon.png)no-repeat;
    background-size: 32px;
    width: 32px;
    height: 32px;
    display: block;
    position: absolute;
    top: 10px;
    right: 30px;
}

.side-open .overlay::after {
    visibility: visible;
    color: rgba(255,255,255,.8);
}

.wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    z-index: 2;
}

.side-open .wrapper,
.side-open .overlay {
    -webkit-transform: translate3d(-280px, 0, 0);
    transform: translate3d(-280px, 0, 0);
}

}