@charset "UTF-8";
/* CSS Document */

/* -------------------------------- 

Primary style

-------------------------------- */
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

@-ms-viewport {
	width: auto!important;
	initial-scale: 1;
}


body.overflow-hidden {
  overflow: hidden;
}

a {
  color: white;
  text-decoration: none;
}

/* -------------------------------- 

Main components 

-------------------------------- */
html{
	overflow: hidden;
}

html, body {
  height: 100%;
}

header {
/*  display: flex;
  align-items: center;*/
  position: fixed;
  width: 100%;
  height: 85px;
  background: transparent;
  z-index: 10;
  transition: background-color 0.2s;
}

nav{
	display: none;
}



/** メニュー開閉ボタン */
    .navopen {
        position: fixed;
        top: 0; right: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        width: 85px;
        height: 85px;
        margin: auto;
        background: rgba(0,0,0,0.8);
		background: #206ff0;
        transition: background-color 0.2s;
        z-index: 100;
    }
    .navopen:hover {
        background: rgba(28,78,149,0.8);
    }
    .navopen .icon {
        display: block;
        position: relative;
        width: 30%;
        height: 2px;
        border-radius: 2px;
        background: white;
    }
    .navopen .icon::before,
    .navopen .icon::after {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: white;
        transition: top 0.2s, transform 0.2s;
    }
    .navopen .icon::before { top: -6px; }
    .navopen .icon::after { top: 6px; }

    .navopen.active .icon { height: 0; }
    .navopen.active .icon::before { top: 0; transform: rotate(45deg); }
    .navopen.active .icon::after { top: 0; transform: rotate(-45deg); }

/** ナビ */
    nav {
        display: block;
        width: 350px;
        position: fixed;
        top: 85px;
        right: 0;
        bottom: 0;
        perspective: 1000px;
        opacity: 0;
        transition: opacity 0.3s;
        z-index: 1000;
        pointer-events: none;
    }
    nav.active {
        opacity: 1;
        pointer-events: all;
    }
    nav .navinner {
        width: 100%;
        height: 100%;
        padding: 30px 60px;
        color: white;
        background: rgba(21,82,180,0.8);
        font-size: 16px;
        font-weight: 300;
        transform: rotateY(90deg);
        transform-origin: right center;
        transition: transform 0.3s;
    }
    nav.active .navinner {
        transform: none;
    }
    nav li ul {
        display: none;
    }
    nav li a {
        display: block;
        position: relative;
        padding: 15px 15px;
        line-height: 1.7;
		color: #fff;
		text-decoration: none;
    }
    nav li a:hover {
		color: #7aa8ea;
    }
    nav li a:not(.expand)::before {
        content: "";
        display: block;
        position: absolute;
        top: 1px; left: 1px; bottom: 0;
        width: 5px;
        height: 5px;
        margin: auto;
        border-top: 1px solid white;
        border-right: 1px solid white;
        transform: rotate(45deg);
    }
    nav li a.expand::before {
        content: "";
        display: block;
        position: absolute;
        top: 1px; left: 0; bottom: 0;
        width: 9px;
        height: 1px;
        margin: auto;
        background: white;
    }
    nav li a.expand::after {
        content: "";
        display: block;
        position: absolute;
        top: 1px; left: 4px; bottom: 0;
        width: 1px;
        height: 9px;
        margin: auto;
        background: white;
    }
    nav li a.expand + ul {
        display: block;
        position: absolute;
        top: 0; right: 350px; bottom: 0;
        padding: 20px 30px;
        width: 350px;
        background: rgba(0,0,0,0.7);
        transform: rotateY(90deg);
        transform-origin: right center;
        transition: all 0.3s;
        opacity: 0;
        visibility: hidden;
    }
    nav li a.expand.active + ul {
        opacity: 1;
        transform: none;
        visibility: visible;
        overflow: auto;
    }
    nav li a.expand + ul li {
        opacity: 0;
        transform: translateX(-30px);
        transition: all 0.2s 0.2s;
    }
    nav li a.expand.active + ul > * {
        opacity: 1;
        transform: none;
    }

    @media (max-width: 767px) {
        .navopen {
            width: 50px;
            height: 50px;
        }
        nav {
            width: calc(100% - 10px);
        top: 50px;
        }
        nav .navinner {
            padding: 10px;
        }
        nav li a.expand + ul {
            left: 35px;
            width: calc(100% - 35px);
            background: rgba(33, 33, 33, 0.95);
            z-index: 150;
        }
    }



/*FOOTER*/

footer{
  background: -moz-linear-gradient(top, #546276, #313132);
  background: -webkit-linear-gradient(top, #546276, #313132);
  background: linear-gradient(to bottom, #546276, #313132);
}

.footer-inner{
	max-width: 1080px;
	padding: 50px 20px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	font-size: 1.5rem;
	line-height: 1.8em;
}
.footer-inner .footer-logo{
	width: 20%;
	padding: 0 20px;
}
.footer-inner .footer-logo h1{
	margin-bottom: 20px;
}
.footer-inner .footer-logo .combtn,
.footer-inner .footer-logo .recbtn,
.footer-inner .footer-logo .contactbtn{
	margin: 10px auto;
	font-size: 1.5rem;
	line-height: 1.8rem;
}
.footer-inner .footer-logo .specialbtn{
	margin: 10px auto;
	font-size: 1.3rem;
	line-height: 1.8rem;
}
.footer-inner .footer-logo .combtn a{
	display: block;
	text-align: center;
	padding: 10px;
	background: #1c4e95;
	border-radius: 5px;
	color: #fff;
	text-decoration: none;
}
.footer-inner .footer-logo .recbtn a{
	display: block;
	text-align: center;
	padding: 10px;
	background: #dcb02f;
	border-radius: 5px;
	color: #fff;
	text-decoration: none;
}
.footer-inner .footer-logo .contactbtn a{
	display: block;
	text-align: center;
	padding: 10px;
	background: #057ef1;
	border-radius: 5px;
	color: #fff;
	text-decoration: none;
}
.footer-inner .footer-logo .specialbtn a{
	display: block;
	text-align: center;
	padding: 10px;
	background: #f8bf00;
	border-radius: 5px;
	color: #fff;
	text-decoration: none;
}

.footer-inner .footer-menu{
	width: 80%;
	padding: 0 30px;
}
.footer-inner .footer-menu .fnav{
	display: flex;
	justify-content:space-around;
	align-items: flex-start;
	flex-wrap: wrap;
}
.footer-inner .footer-menu .fnav ul{
	/*width: 33.3333%;*/
	padding: 0 10px;
	color: #fff;
}
.footer-inner .footer-menu .fnav ul ul{
	width: 100%;
	padding: 10px 15px 20px;
	font-size: 1.4rem;
}
.footer-inner .footer-menu .fnav ul ul li a{
	color: #fff;
	text-decoration: none;
}

.footer-add{
	background: #1c4e95;
}
.footer-add .footer-inner {
	background: #1c4e95;
	justify-content: space-between;
	padding: 10px 20px;
}

.footer-add .footer-inner .flink,
.footer-add .footer-inner .copyright{
	font-size: 1.4rem;
	color: #fff;
}
.footer-add .footer-inner .flink a{
	color: #fff;
	text-decoration: none;
}



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

.footer-inner{
	padding: 40px 20px;
	font-size: 1.5rem;
	line-height: 1.8em;
}
.footer-inner .footer-logo{
	width: 25%;
	padding: 0 10px;
	max-width: 200px;
}
	
.footer-inner .footer-logo .combtn,
.footer-inner .footer-logo .recbtn{
	font-size: 1.5rem;
	max-width: 220px;
}

.footer-inner .footer-menu{
	width: 75%;
	padding: 0 20px;
}
.footer-inner .footer-menu .fnav{
	display: flex;
	justify-content:flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
}
.footer-inner .footer-menu .fnav ul{
	width: 50%;
	padding: 0 10px;
	color: #fff;
}
.footer-inner .footer-menu .fnav ul ul{
	width: 100%;
	padding: 10px 0px 20px 10px;
	font-size: 1.4rem;
}
.footer-inner .footer-menu .fnav ul ul li a{
	color: #fff;
}

.footer-add{
	background: #1c4e95;
}
.footer-add .footer-inner {
	background: #1c4e95;
	justify-content: space-between;
	padding: 10px 20px;
}

.footer-add .footer-inner .flink,
.footer-add .footer-inner .copyright{
	font-size: 1.4rem;
	color: #fff;
}
.footer-add .footer-inner .flink a{
	color: #fff;
}
}



@media screen and (max-width: 768px) {
	
.footer-inner .footer-logo{
	width: 100%;
	padding: 0 10px 30px;
}
	
.footer-inner .footer-menu{
	width: 100%;
	padding: 0 ;
}
.footer-inner .footer-logo .combtn,
.footer-inner .footer-logo .recbtn{
	font-size: 1.4rem;
}
.footer-add .footer-inner .flink,
.footer-add .footer-inner .copyright{
	font-size: 1.3rem;
	color: #fff;
	width: 100%;
		text-align: center;
	margin: auto auto 10px;
	}
	.footer-add .footer-inner .copyright{
		text-align: center;
	}
	
}


@media screen and (max-width: 480px) {
	
.footer-inner .footer-logo{
	width: 100%;
	padding: 0 10px;
}
.footer-inner .footer-menu .fnav ul{
	display: none;
}
	
	
	
}

