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

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

header {
    width: 100%;
    height: auto;
    display: flex;
    overflow: hidden;
    position: relative;
    flex-direction: column;
    box-shadow: 0px 1px 2px rgb(0 0 0 / 20%);
    z-index: 999;
}

header:after {
    content: " ";
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
}

#header-box {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    flex-direction: column;
}

#h1_header {
    width: 100%;
    padding: 15px 10px 0;
}

#header-box .logo {
    width: 220px;
    margin: 15px auto 10px;
}

#header-box .logo a {
    text-decoration: none;
}

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

#header-box h1 {
    font-size: 14px;
    font-weight: var(--font-weight-base);
}

#header_contact {
    display: flex;
    flex-direction: row;
}

#navi_header {
    height: 55px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

nav .menu-header-navi-container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

ul#menu-header-navi-pc, ul#menu-header-navi-pc li, ul#menu-header-navi-pc li a {
    zoom: 1;
}

ul#menu-header-navi-pc {
    width: 100%;
    height: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

ul#menu-header-navi-pc li {
    width: 150px;
    line-height: 1;
    text-decoration: none;
    position: relative;
}

ul#menu-header-navi-pc li#menu-item-28,
ul#menu-header-navi-pc li#menu-item-29 {
    width: 125px;
}

ul#menu-header-navi-pc li#menu-item-31,
ul#menu-header-navi-pc li#menu-item-32,
ul#menu-header-navi-pc li#menu-item-34 {
    width: 200px;
}

ul#menu-header-navi-pc li a {
    width: 100%;
    height: 55px;
    display: inline-flex;
    color: var(--font-color-base);
    text-decoration: none;
    font-size: 15px;
    font-weight: var(--font-weight-base);
    line-height: 1;
    align-items: center;
    justify-content: center;
    position: relative;
}

ul#menu-header-navi-pc li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ebebeb;
    -webkit-transition: -webkit-transform .3s cubic-bezier(.43,.05,.17,1);
    transition: -webkit-transform .3s cubic-bezier(.43,.05,.17,1);
    transition: transform .3s cubic-bezier(.43,.05,.17,1);
    transition: transform .3s cubic-bezier(.43,.05,.17,1),-webkit-transform .3s cubic-bezier(.43,.05,.17,1);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: right;
    transform-origin: right;
    z-index: 100;
}

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

ul#menu-header-navi-pc li a:hover::after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: left;
    transform-origin: left;
}

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


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

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

.mail_header {
    width: 195px;
}

a.header_more_btn {
    width: 195px;
}

}


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

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

header {
    width: 100%;
    height: 60px;
    margin: 0 auto;
}

#header_desc,
#header-box,
.side-open .nav-box,
nav.pc {
    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: 2px solid var(--font-color-base);
    border-bottom: 2px solid var(--font-color-base);
    top: -webkit-calc(50% - 12px);
    top: -moz-calc(50% - 12px);
    top: calc(50% - 12px);
    height: 12px;
}

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

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

.wrapper .logo {
    width: 170px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    top: 6px;
}

.wrapper .logo a {
    font-size: 25px;
    font-weight: var(--font-weight-base);
    letter-spacing: 1px;
    line-height: 1;
    display: block;
    text-decoration: none;
    color: var(--font-color-base);
    text-align: left;
}

.wrapper .logo a .sub {
    font-size: 12px;
}

.wrapper .logo 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;
    z-index: 5;
    display: block;
    overflow: auto;
    background: #fff;
}

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

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

.side-menu li a:hover {
    text-decoration: none;
}

.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.webp)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);
}

}