@charset "utf-8";

/* -----------------------------------------------------------
	header
----------------------------------------------------------- */

header {
    min-width: 1100px;
    height: auto;
    overflow: hidden;
}

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

#header-box {
    width: 1100px;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
}

.logo_area {
    float: left;
    width: 800px;
}

.logo {
    clear: both;
    float: left;
    height: auto;
    font-size: 32px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    margin: 20px 0 5px;
}

.logo a:before {
    content: "";
    display: block;
    background: url(http://kataoka-denki.com/wp-content/uploads/logo.png) no-repeat;
    background-size: 50px;
    height: 50px;
    width: 50px;
    vertical-align: middle;
    float: left;
    margin-right: 10px;
    position: relative;
    top: -12px;
}

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

header .logo a:hover {
    text-decoration: none;
    opacity: 0.7;
}

header h1 {
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 0;
    text-align: left;
    padding: 9px 0;
    line-height: 100%;
}

header h2 {
    float: left;
    height: auto;
    font-size: 17px;
    font-weight: 500;
    color: #00a0e6;
    line-height: 100%;
    margin: 35px 0 5px 20px;
}

.contact_header {
    width: 300px;
    height: auto;
    display: block;
    float: right;
    text-align: right;
    margin-top: 18px;
    overflow: hidden;
}

.tel_header {
    height: 45px;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 0;
    font-family: tauri, "Noto Sans Japanese", Meiryo, sans-serif;
}

.tel_header:before {
    content: "\f095";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 27px;
    padding-right: 5px;
    vertical-align: middle;
    position: relative;
    top: -5px;
}

.time_header {
    font-size: 13px;
    margin-bottom: 0;
}

.sp_tel {
    display: none;
}

nav.pc {
    height: 45px;
    background: #00a0e6;
}

nav .menu-header-navi-container {
    clear: both;
    width: 1100px;
    height: 45px;
    text-align: center;
    margin: 0 auto;
}

ul#navi, ul#navi li, ul#navi li a {
    display: block;
    zoom: 1;
    height: 45px;
    color: #fff;
}

ul#navi li {
    float: left;
    width: 183px;
}

ul#navi li#menu5 {
    float: left;
    width: 185px;
}

ul#navi li a:before {
    content: "";
    display: block;
    height: 45px;
    width: 1px;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
}

ul#navi li#menu5 a:after {
    content: "";
    display: block;
    height: 45px;
    width: 1px;
    position: absolute;
    top: 0;
    right: 0;
    background: #fff;
}

ul#navi li#menu1 a,
ul#navi li#menu2 a,
ul#navi li#menu3 a,
ul#navi li#menu4 a,
ul#navi li#menu5 a,
ul#navi li#menu6 a {
    color: #fff;
    padding: 9px;
    font-size: 17px;
    position: relative;
    z-index: 10;
    background: #00a0e6;
}

ul#navi li#menu1 a:hover,
ul#navi li#menu2 a:hover,
ul#navi li#menu3 a:hover,
ul#navi li#menu4 a:hover,
ul#navi li#menu6 a:hover {
    color: #fff !important;
    text-decoration: none;
    background: #f8b417;
}

ul#navi li#menu5 a {
    color: #fff !important;
    text-decoration: none;
    background: #f8b417;
}

ul#navi li#menu5 a:hover {
    color: #fff !important;
    text-decoration: none;
    background: #fac609;
}

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


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

header {
    min-width: 100%;
    height: 40px;
}

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

.nav-box {
    height: 40px;
    width: 100%;
    display: block;
    background: #fff;
    position: fixed;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
    top: 0;
    z-index: 9999;
}

.side-menu-btn {
    position: fixed;
    font-size: 16px;
    top: 5px;
    right: 10px;
    width: auto;
    height: 25px;
    cursor: pointer;
    z-index: 4;
    color: #333;
    display: block;
}

.side-menu-btn:before {
    content: "\f0c9";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #333;
    font-size: 24px;
    position: relative;
    top: 3px;
    padding-right: 5px;
}

.wrapper .logo_sp {
    display: block;
    position: absolute;
    font-size: 16px;
    font-weight: 500;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
    width: 175px;
    height: 22px;
    z-index: 1;
}

.wrapper .logo_sp:before {
    content: "";
    display: block;
    background: url(http://kataoka-denki.com/wp-content/uploads/logo.png) no-repeat;
    background-size: 30px;
    height: 30px;
    width: 30px;
    vertical-align: middle;
    float: left;
    margin-right: 5px;
    position: relative;
    top: -4px;
}

.wrapper .logo_sp a {
    color: #333;
    text-decoration: none;
}

.wrapper .logo_sp a:hover {
    text-decoration: none;
}

.sp_tel {
    display: block;
    width: 95%;
    height: auto;
    color: #fff;
    text-align: left;
    margin: 0 auto;
    padding: 10px 5px;
}

.sp_tel a:before {
    content: "\f095";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 23px;
    margin-right: 5px;
    vertical-align: middle;
    position: relative;
    top: -5px;
}

.sp_tel a {
    font-size: 26px;
    color: #fff;
    font-family: Tauri;
}

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

.sp_tel p {
    color: #fff;
    font-size: 11px;
    margin-bottom: 0;
    margin-left: -5px;
}

nav.side-menu ul {
    width: 100%;
    height: 100%;
}

.side-menu li {
    border-bottom: 1px solid #fff;
}

.side-menu li a:before {
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding-right: 6px;
    vertical-align: middle;
    height: 30px;
    position: relative;
    top: 1px;
    float: left;
}

.side-menu li a {
    color: #fff;
    padding: 15px;
    line-height: 140%;
    display: block;
}

.side-open nav.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    text-align: left;
    font-size: 16px;
    z-index: 5;
    background: #00a0e6;
    display: block;
    overflow: auto;
}

.side-menu li a:hover {
    color: #fff;
    background: #f8b416;
    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::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;
    display: block;
}

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

}