@charset "utf-8";

/*==================================================

    レスポンシブCSS

===================================*/

/* 土台 */
#header {
    position: fixed !important;
    z-index: 9999 !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #fff;
    box-shadow: 0 4px 25px rgba(0, 0, 0, .05);
}

#header .inner {
    padding: 0 4%;
    height: 100%;
    display: flex;
    align-items: center;
}

.pc-nav {
    display: none;
}

/* ヘッダーロゴ */
.header-logo {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.header-logo a {
    display: inline-block;
    transition: all .4s;
}

@media(min-width: 1025px) {
    .header-logo a:hover {
        opacity: .6;
    }
}

/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    position:fixed;
    z-index: 999;
	bottom:-120%;
    left:0;
	width:100%;
    height: 100vh;
	background:#FFEB00;
	transition: all 0.6s;
}

#g-nav.panelactive{
    bottom: 0;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    width: 55%;
    top:53%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav li{
	list-style: none;
}

#g-nav li.no-link {
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: .05em;
}

#g-nav li a{
    position: relative;
	color: #333;
	text-decoration: none;
	padding: 0 0 15px 30px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 500;
}

#g-nav li a::before {
    position: absolute;
    top: 29%;
    left: 5px;
    content: "";
    width: 10px;
    height: 2px;
    background-color: #3064B0;
}

#g-nav li.no-link a {
    padding: 0;
    font-weight: bold;
}

#g-nav li.no-link a::before {
    content: none;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
	bottom:0;
	right: 0;
	z-index: 9999;
	cursor: pointer;
    width: 100%;
    height:70px;
    background-color: #FFEB00;
}

/*×に変化*/
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 47%;
    width: 30px;
    height: 3px;
    border-radius: 2px;
	background-color: #333;
}

.openbtn span:nth-of-type(1) {
	top:22px;
}

.openbtn span:nth-of-type(2) {
	top:30px;
}

.openbtn span:nth-of-type(3) {
	top:38px;
}

.openbtn span:nth-of-type(3)::after {
	content:"Menu";
	position: absolute;
	top:5px;
	left:0px;
    letter-spacing: .1em;
	color: #333;
	font-size: 0.6rem;
    font-weight: bold;
	text-transform: uppercase;
}

.openbtn.active span:nth-of-type(1) {
    top: 22px;
    left: 47%;
    transform: translateY(6px) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 34px;
    left: 47%;
    transform: translateY(-6px) rotate(45deg);
}

.openbtn.active span:nth-of-type(3)::after {
	content:"Close";
    transform: translateY(0) rotate(-45deg);
	top:9px;
	left:10px;
}

/*==================================================
    タブレットCSS
===================================*/

@media(min-width:600px) {

}

/*==================================================
    デスクトップCSS
===================================*/

@media(min-width:1025px) {
    #header {
        height: 100px;
    }

    #header .inner {
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .openbtn {
        display: none;
    }

    #g-nav {
        display: none;
    }

    .circle-bg {
        display: none;
    }

    .pc-nav {
        display: block;
    }

    .header-logo {
        max-width: 250px;
        margin: 0;
    }

    .pc-nav ul {
        display: flex;
        justify-content: space-between;
    }

    .pc-nav ul li {
        position: relative;
    }

    .pc-nav ul li a ,
    .pc-nav ul li.has-child span {
        display: inline-block;
        margin-right: 40px;
        text-align: center;
        letter-spacing: .05em;
        font-size: 14px;
        transition: all .4s;
        font-weight: 500;
    }

    .pc-nav ul li a:hover {
        color: #1D9BF0;
    }

    .pc-nav ul li a span {
        display: block;
        font-size: 10px;
        letter-spacing: .05em;
        margin-top: 10px;
    }

    .pc-nav ul li.has-child ul {
        position: absolute;
        display: flex;
        flex-direction: column;
        left:0;
        top:59px;
        z-index: 4;
        background:#1D9BF0;
        width:180px;
        visibility: hidden;
        opacity: 0;
        transition: all .3s;
    }
    /*hoverしたら表示*/
    .pc-nav li.has-child:hover > ul,
    .pc-nav li.has-child ul li:hover > ul,
    .pc-nav li.has-child:active > ul,
    .pc-nav li.has-child ul li:active > ul{
        visibility: visible;
        opacity: 1;
    }

    /*ナビゲーションaタグの形状*/
    .pc-nav li.has-child ul li a{
        color: #fff;
        border-bottom:solid 1px rgba(255,255,255,0.6);
        display: block;
        padding: 20px;
        margin-right: 0;
        text-align: start;
        transition: all .4s;
    }

    .pc-nav li.has-child ul li:last-child > a{
        border-bottom:none;
    }

    .pc-nav li.has-child ul li a:hover,
    .pc-nav li.has-child ul li a:active{
        background:#FFEB00;
        color: #333;
    }
}