@charset "utf-8";

/*######################
 ヘッダー用CSS
=================*/


#header {
    height: 70px;
    background: rgba(51, 51, 51, 0.8);
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, .02);
    z-index: 9999;
    position: fixed;
    top: 0;
    width:100%;
}
#header .inner {
    /*max-width: 1000px;*/
    margin: auto;
    padding: 0 15px;
}
.global-nav {
        display: flex;
        justify-content: space-around;
}
.global-nav ul{
    display: flex;
    justify-content: space-around;
}
.logo-txt{
    display: table;
    height: 70px;
    float: left;
}
.logo-txt span{
    color: #e2487c;
    font-weight: bold;
    font-family: ゴシック;
    display: table-cell;
    font-size: 28px;
    letter-spacing: 1px;
    vertical-align: middle;
}
.tell-number{
    display: table;
    height: 70px;
}
.tell-number span{
    color: #fff;
    font-weight: bold;
    display: table-cell;
    font-size: 19px;
    vertical-align: middle;
}
.global-nav > ul > li > a {
        display: table;
        height: 70px;
        text-align: center;
        padding: 0 1.6em;
        position: relative;
}
.global-nav .cv-mail a {
    font-size: 15px;
    font-weight: bold;
    display: table-cell;
    vertical-align: middle;
    color: #fff;
    line-height: 1.4;
    background-color: #e2487c;
    height: 0px;
    padding:0.4em 2.0em;
    position: relative;
    transition: all .2s;
    overflow: hidden;
}
@media(max-width: 1296px){
    .logo-txt span {
    color: #e2487c;
    font-weight: bold;
    display: table-cell;
    font-size: 24px;
    vertical-align: middle;
     padding-right: 0px;
}
   .global-nav ul li a {
        padding: 0 0.5em;
        display: table;
        height: 70px;
        text-align: center;
        position: relative;
}
    .global-nav .cv-mail a {
    font-size: 15px;
    font-weight: bold;
    display: table-cell;
    vertical-align: middle;
    color: #fff;
    line-height: 1.4;
    background-color: #e2487c;
    height: 0px;
    padding: 0.5vw 1.5em;
    position: relative;
    transition: all .2s;
    overflow: hidden;
}
   .tell-number span{
    color: #fff;
    font-weight: bold;
    display: table-cell;
    font-size: 20px;
    vertical-align: middle;
   }
}
.global-nav > ul > li > a:after {
        content: "";
        background-color: #fcc900;
        width: 0;
        height: 4px;
        position: absolute;
        left: 0;
        bottom: 0px;
        opacity: 1;
        transition: all .2s;
}
.global-nav > ul > li > a:hover {
        text-decoration: none;
}
.global-nav > ul > li > a:hover:after,
.global-nav > ul > li.gn-tgl.act > a:after {
        width: 100%;
}
.global-nav > ul > li .in-nav.global-nav {
        width: 100%;
        background-color: rgba(0, 0, 0, .7);
        position: absolute;
        top: 96px;
        left: 0;
        transition: all .2s;
        height: 0;
        opacity: 0;
        z-index: -1;
        overflow: hidden;
}
.global-nav > ul > li.gn-tgl.act .in-nav.global-nav {
        height: auto;
        opacity: 1;
        z-index: 1;
}
.global-nav > ul > li .in-nav.global-nav ul {
        max-width: 1000px;
        margin: auto;
        padding: 0 15px;
}
.global-nav > ul > li .in-nav.global-nav ul li {
        width: 25%;
        float: left;
        text-align: center;
}
.global-nav > ul > li .in-nav.global-nav ul li a {
        display: block;
        font-weight: bold;
        color: #fff;
        padding: 0 15px;
        height: 70px;
        line-height: 70px;
        transition: all .2s;
    }
.global-nav > ul > li .in-nav.global-nav ul li a:hover {
        text-decoration: none;
        background-color: rgba(255, 255, 255, .3);
    }
.global-nav .cv-mail {
        padding-top: 10px;
        padding-left: 1.25em;
}
.global-nav > ul > li > a span {
    display: table-cell;
    vertical-align: middle;
    font-size: 15px;
    font-weight: bold;
}
.global-nav .cv-mail a:hover {
    background-color: #ff558e;
}
.global-nav .cv-mail a:after {
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.2);
    transform: rotate(-45deg);
    position: absolute;
    top: -10%;
    left: -105%;
    transition: .6s ease;
}
.global-nav .cv-mail a:hover:after {
    animation: cv-submit-hover .8s ease;
}
@keyframes cv-submit-hover {
    0% {left: -100%;}
    100% {left: 100%;}
}
#burger-icon{
    display: none;
}
@media (max-width: 1090px) {
#header {
    background: rgba(51, 51, 51, 0.8);
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, .02);
    height: 60px;
    padding:0 15px;
    position: relative;
}
.logo-txt{
    height: 60px;
}
.global-nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #e2487c;
    display: none;
}
/*.global-nav ul{
    display: flex;
    justify-content: space-around;
}*/
.global-nav ul li{
    font-weight: bold;
}
.global-nav ul li.tell-number{
    border-bottom: none;
}
.global-nav ul li a{
    cursor: pointer;
}
#burger-icon{
    background-color: #e2487c;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 10%;
    right: 2%;
    cursor: pointer;
    text-align: center;
    transition: all .2s ease;
    transform-origin: 50% 50%;
    display: block;
}
#burger-icon span {
    width: 30px;
    height: 4px;
    display: block;
    background: #fff;
    position: relative;
    left: 20%;
    top: -15%;
    transition: all .2s ease;
}
#burger-icon .top {
    transform: translateY(20px);
    transform-origin: center center;
}
#burger-icon .middle {
    transform: translateY(27px);
}
#burger-icon .bottom {
    transform: translateY(34px);
    transform-origin: center center;
}
#header #burger-icon.act .middle {
    background: rgba(255, 255, 255, 0);
    transform:translate(100px,27px);
    display: none;
}
#header #burger-icon.act .top {
    transform: rotate(-45deg) translate(-21px,20px);
    transform-origin:center center;
}
#header #burger-icon.act .bottom {
    transform: rotate(45deg) translate(17px,18px);
    transform-origin:center center;
}
/*#black-back {
    position: fixed;
    width: 100%;
    height: 120%;
    z-index: 99;
    top: 0;
    left: 0;
    display: none;
}*/
}