/*========= ナビゲーションのためのCSS ===============*/

/*アクティブになったエリア*/
#head-inq-nav.panelactive, #inq-nav.panelactive, #inq-nav2.panelactive {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
	top: 0;
	width:100%;
    height: 100vh;
}

/*丸の拡大*/
.circle-bg{
    position: fixed;
	z-index:3;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgb(88,178,220);
    background: linear-gradient(0deg, rgba(88,178,220,1) 40%, rgba(160,216,239,1) 60%);
    /*丸のスタート位置と形状*/
	transform: scale(0);/*scaleをはじめは0に*/
	right:-100px;
    top:50%;
    transition: all .6s;/*0.6秒かけてアニメーション*/
    z-index: 21;
    opacity: .95;
}
@media (min-width: 600px) {
    .circle-bg {
        top: 50%;
        right: -100px;
    }
}
.flightPlane {
    content:'';
    background-size: contain;
    background-repeat: no-repeat;
    width:35vw;
    height:calc((46 / 65) * 100vw);
    max-width: 200px;
    max-height: 100px;
    position: fixed;
    top: 50%;
    right:-35vw;
}

.circle-bg.circleactive{
	transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}
.flightPlane.flightToLeft {
    background-image:url(../img/airplane.png);
    z-index: 1000;
    animation-name:LeftFlight;
animation-duration:.7s;
animation-delay:.1s;/*0.1 秒遅らせて出現*/
animation-timing-function: linear;
animation-fill-mode:forwards;
}
.flightPlane.flightToRight {
    background-image: url(../img/ca1.png);
    max-width:160px;
    height:calc((65 / 45) * 100vw);
    max-height:325px;
    animation-name:RightFlight;
animation-duration:1.2s;
animation-delay: 0s;
animation-timing-function: linear;
animation-fill-mode:forwards;
}

@media (min-width: 600px) {
    .flightPlane.flightToRight {
        animation-duration: 2s;
    }
}

@keyframes LeftFlight {
    0% {
        /* transform: scale(0); */
        right:-35%;
    }
    100% {
        right: 100%;
        top: 35%;
    }
}
@keyframes RightFlight {
    0% {
        /* transform:scale(0); */
        right:100%;
        top: 30%;
    }
    100% {
        right: -35%;
        top: 50%;
    }
}

/*ナビゲーションの縦スクロール*/
.inq-nav-list{
    display: none;/*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
#head-inq-nav.panelactive .inq-nav-list, #inq-nav.panelactive .inq-nav-list, #inq-nav2.panelactive .inq-nav-list {
     display: block; /*クラスが付与されたら出現*/
}
#head-inq-nav.panelactive .inq-nav-list:before, #inq-nav.panelactive .inq-nav-list:before, #inq-nav2.panelactive .inq-nav-list:before {
    content:'';
    background-image: url(../img/maskfor.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 32vw;
    height: inherit;
    max-width: 200px;
    max-height: 142px;
    position: fixed;
    top: 10%;
    right: 4%;
    filter:drop-shadow(1px 5px 5px #00000055);
}
#head-inq-nav.panelactive .inq-nav-list:after, #inq-nav.panelactive .inq-nav-list:after, #inq-nav2.panelactive .inq-nav-list:after {
    content:'';
    background-image: url(../img/maskfor.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 20vw;
    height: inherit;
    max-width: 150px;
    max-height: 106px;
    position: fixed;
    bottom: 5%;
    left: 20%;
    transform:rotateY(180deg);
    filter:drop-shadow(1px 5px 5px #00000055);
}

/*ナビゲーション*/
#head-inq-nav ul, #inq-nav ul, #inq-nav2 ul {
    opacity: 0;/*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    width: 90%;
    max-width: 560px;
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    padding: 3em 0;
}

/*背景が出現後にナビゲーションを表示*/
#head-inq-nav.panelactive ul, #inq-nav.panelactive ul, #inq-nav2.panelactive ul {
    opacity:1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#head-inq-nav.panelactive ul li, #inq-nav.panelactive ul li, #inq-nav2.panelactive ul li {
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.2s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}


/*リストのレイアウト設定*/
#head-inq-nav li {
    text-align: center; 
    list-style: none;
    color: #24343b;
    font-weight: bold;
    padding: 5px;
    font-size: 1.2rem;
}
#inq-nav li, #inq-nav2 li {
	text-align: center; 
	list-style: none;
    color: #fff;
    font-weight: bold;
    padding: 10px;
}

#head-inq-nav li:nth-of-type(5) {
    padding-top:2.5em;
}

#head-inq-nav li h3, #inq-nav li h3, #inq-nav2 li h3 {
    color: #fff;
    line-height: 1.4em;
    font-size: 2.1rem;
    text-shadow: 0 2px 3px #516b77;
    margin: 0;
}
#head-inq-nav li h3 span, #inq-nav li h3 span, #inq-nav2 li h3 span {
    display: inline-block;
}

#head-inq-nav li p, #inq-nav li p, #inq-nav2 li p {
    font-size: 1.4rem;
    margin: 0 auto;
}

#head-inq-nav li a, #inq-nav li a, #inq-nav2 li a {
    color: #24343b;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    width: 100%;
    max-width: 210px;
    margin: 0.5em auto;
    background: #fff;
    border: 1px solid #a4c9da;
    border-radius: 20px;
    box-shadow: 0px 4px 10px -8px #000;
    font-size: 1.4rem;
    transition: all .2s linear;
}

#head-inq-nav li a:hover, #inq-nav li a:hover, #inq-nav2 li a:hover {
    background: #da3c41;
    color: #fff;
    border-color: #fff;
    transform: scale(1.05);
}

#head-inq-nav li.close-list a, #inq-nav li.close-list a, #inq-nav2 li.close-list a {
    font-size: small;
    width: 35%;
    max-width: 120px;
}
#head-inq-nav li.close-list a:hover, #inq-nav li.close-list a:hover, #inq-nav2 li.close-list a:hover {
    background: #002060;
}
