@charset "UTF-8";

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 Header
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

@media screen and (max-width: 20000px) {
header {
	width: 100%;
	height: 80px;
	box-sizing: border-box;
	position: relative;
	z-index: 1000;
	font-size: 115%;
}
#headerCover {
	width: 100%;
	height: 80px;
	box-sizing: border-box;
	background: #FFFFFF;
	box-shadow: 0px 5px 5px -5px rgba(0,0,0,0.05);
}
#headerInner {
	width: calc(100% - 100px);
	height: 80px;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
	position: relative;
	min-width: 960px;
}
header h1 {
	width: 100%;
	height: 16px;
	font-size: 70%;
	font-weight: 500;
	margin: 0 0 -5px 0;
	vertical-align: bottom;
	padding: 10px 0 0 0;
}
.headerAnimation {
	position: fixed;
	top: 0;
	left: 0;
  	height: 60px !important;
	box-shadow: 0px 3px 3px -3px rgba(0,0,0,0.1) !important;
	animation: uekara 0.5s; 
  	animation-iteration-count: 1;
	z-index: 110;
}
.headerInnerAnimation {
	width: 100%;
	animation: uekara .25s; 
  	animation-iteration-count: 1; 
}
.headerInnerAnimation h1 {
	display: none;
}
.navAnimation {
	margin: 8px 0 0 0 !important;
}
.navAnimation li:first-child {
	margin-top: 0 !important;
}
.navAnimation a:hover {
	color: #2292d2 !important;
}
header nav ul li:first-child a::after {
	display: none;
}
}
@keyframes uekara { 
 	0%   { transform:  translate(0px, -100%);    }
	100%  { transform:  translate(0px, 0px);   } 
} 

/*------------ Navigation ------------*/

@media screen and (max-width: 20000px) {
header nav {
	width: 100%;
	margin: 0;
	transition: .1s;
}
header nav ul {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
header nav ul li:first-child {
	width: 280px;
	font-size: 40px;
	font-weight: 900;
	font-family: 'Squada One', cursive;
	margin-top: -3px;
}
header nav ul li:first-child span {
	color: #2292d2;
}
header nav ul li a {
	font-size: 80%;
	color: #333;
	text-decoration: none;
	margin: 0;
	padding: 0;
	font-weight: 500;
	position: relative;
}
header nav ul li a:hover {
	color: #2292d2;
}
header nav ul li a::after {
	position: absolute;
  	bottom: -6px;
  	left: 0;
  	content: "";
  	width: 100%;
  	height: 2px;
 	background: #2292d2;
  	transform: scale(0, 1);
  	transform-origin: center top;
  	transition: transform .3s;
}
header nav ul li a:hover::after {
  	transform: scale(1, 1);
}
.hiddencheckbox {
	display: none;
}
header nav ul li p a {
	font-size: 110%;
	color: #333333;
	font-weight: 500;
	text-decoration: none;
}
header nav ul li p a::after {
	display: none;
}
header nav ul li i {
	display: none !important;
}
.fa-phone-square {
	transform: rotate(90deg);
	margin-right: 7px;
}
}
@media screen and (max-width: 768px) {
	header, #headerCover {
		width: 100%;
		height: 58px;
		float: left;
		position: fixed;
		top: 0;
		left: 0;
		min-width: 100%;
	}
	#headerInner {
		width: 100%;
		height: 58px;
		position: relative;
		min-width: 100%;
	}
	.headerInnerAnimation h1 {
		display: block;
		color: #333333;
	}
	header nav  {
		width: 100%;
		height: auto;
		float: none;
		z-index: 2;
	}
	header h1 {
		width: calc(100% - 2rem);
		height: 10px;
		font-size: 10px;
		font-weight: 500;
		margin: 0 auto;
		padding: 0.8rem 0 0 0;
	}
	header h1::before {
		width: auto;
		height: 24px;
		content: 'Advanced';
		font-family: 'Squada One', cursive;
		font-size: 30px;
		display: block;
		position: absolute;
		top: 2rem;
		left: 1rem;
	}
	header h1::after {
		width: auto;
		height: 24px;
		content: 'Plan';
		font-family: 'Squada One', cursive;
		font-size: 30px;
		display: block;
		position: absolute;
		top: 2rem;
		left: 12rem;
		color: #2292d2;
	}
	header nav ul {
		width: 80%;
		height: calc(100vh - 58px);
		list-style-type: none;
		margin: 0;
		padding: 10% 0 30%;
		box-sizing: border-box;
		box-shadow: 0px 5px 5px -5px rgba(0,0,0,0.1) inset;
		display: flex;
		flex-direction: column;
	}
	header nav ul li:first-child {
		width: 100%;
		font-size: 40px;
		font-weight: 900;
		padding-top: 1rem;
		padding-left: 2rem;
		box-sizing: border-box;
		margin-bottom: 0;
	}
	header nav ul li {
		padding-left: 2rem;
		margin-right: auto;
	}
	header nav ul li a {
		color: #FFFFFF;
	}
	header nav ul li a::after {
		display: none;
	}
	header nav ul li p a {
		color: #2292d2;
	}
	.menuicon {
		width: 30px;
		height: 18px;
		cursor: pointer;
		display: block;
		position: absolute;
		top: calc(2rem + 2px);
		right: 1rem;
		z-index: 999;
	}
	.menuicon::before {
		box-shadow: #2292d2 0 8px 0;
		height: 2px;
		transform-origin: top right;
		width: 29px;
	}
	.menuicon::after {
		bottom: 0;
		height: 2px;
		transform-origin: right bottom;
		width: 29px;
	}
	.menuicon::before, .menuicon::after {
		background: #2292d2;
		display: block;
		content: '';
		position: absolute;
		transition: box-shadow 0.1s linear, transform 0.1s 0.1s;
	}
	.menu {
		width: 100%;
		height: 100vh;
		position: absolute;
		background: rgba(0,0,0,.8);
		top: 58px;
		left: 100%;  
		transition: left 0.2s ease-out;
	}
	.hiddencheckbox:checked ~ .menuicon::before {
		box-shadow: transparent 0 0 0;
 		transform: rotate(-45deg) translate3d(0px,-3px,0);
	}
	.hiddencheckbox:checked ~ .menuicon::after {
		transform: rotate(45deg) translate3d(0px,3px,0);
	}
	.hiddencheckbox:checked ~ .menu {
		left: 20%;
		box-shadow: -5px 10px 10px 0px rgba(0,0,0,.25);
	}
	header nav ul li i {
		display: inline-block;
		margin: 0 0.5rem 0 0;
	}
	.fade {
		width: 100%;
		height: 10000vh;
		background: rgba(0,0,0,.5);
		z-index: 100;
		position: absolute;
		top: 0;
		left: 0;
	}
	/*---- Animation ----*/
	
	.navAnimation {
		margin: 0 0 0 0 !important;
	}
	.headerInnerAnimation .menu {
		top: 60px !important;
	}
	
	a[href^="tel:"] {
		pointer-events: none;
	}
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 Footer
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

@media screen and (max-width: 20000px) {
footer {
	width: 100%;
	height: auto;
	float: left;
	background: #FFFFFF;
	border-top: 1px solid rgba(0,0,0,.04);
}
footer ul {
	width: 1040px;
	margin: 60px auto 40px;
	display: flex;
	justify-content: center;
	line-height: 2;
}
footer ul li dl {
	width: 100%;
	display: flex;
	flex-direction: column;
	margin: 0 30px;
}
footer ul li ul {
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	line-height: 2;
}
footer ul li ul li {
	margin: 0 30px;
}
footer ul a {
	color: #333333;
	font-weight: 500;
	transition: .3s;
	font-size: 13px;
}
footer ul a:hover {
	color: #2292d2;
}
address {
	width: 100%;
	color: #333;
	margin: 10px auto 30px;
	text-align: center;
	font-size: 12px;
}
#footerlogo a {
	width: 100%;
	font-size: 500%;
	text-align: center;
	display: block;
	color: #333333;
	letter-spacing: 0;
}
#copyright {
	width: 100%;
	border-top: 1px solid rgba(255,255,255,.1);
	box-shadow: 0 -1px 0 0 rgba(0,0,0,.1);
	height: 60px;
	line-height: 60px;
	text-align: center;
	float: left;
	font-size: 70%;
	color: #FFFFFF;
	background-image: linear-gradient(to right, #434343 0%, black 100%);
}
}
@media screen and (max-width: 768px) {
	footer {
		z-index: 11;
	}
	footer ul {
		width: calc(100% - 4rem);
		margin: 3rem auto 2rem;
		display: flex;
		justify-content: space-between;
	}
	footer ul li dl,  footer ul li ul {
		width: 100%;
		display: flex;
		flex-direction: column;
		margin: 0;
		padding: 0;
		line-height: 1.75;
	}
	footer ul li ul li {
		margin: 0;
	}
	footer ul a {
		font-size: 11px;
	}
	address {
		margin: 1rem auto 3rem;
		font-size: 90%;
	}
	#footerlogo a {
		font-size: 300%;
	}
	#copyright {
		height: 6rem;
		line-height: 6rem;
	}
}

/*------------ Breadcrumbs ------------ */

@media screen and (max-width: 20000px)  {
#breadcrumbs {
	width: calc(100% - 100px);
	margin: 0 auto;
	height: 60px;
	line-height: 58px;
	font-size: 70%;
	border-top: 1px solid rgba(0,0,0,.04);
	background: #FFFFFF;
	display: flex;
	justify-content: space-between;
}
.subpage #breadcrumbs {
	background: none;
}
#breadcrumbs ol li {
	display: inline-block;
}
#breadcrumbs ol li:first-child a {
	color: #333333;
}
#breadcrumbs ol li::before {
	content: ">";
	margin: 0 10px;
}
#breadcrumbs ol li:first-child::before {
	content: "";
	margin: 0;
}
}
@media screen and (max-width: 768px)  {
#breadcrumbs {
	width: calc(100% - 2rem);
	margin: 0 auto;
	height: 4rem;
	line-height: 4rem;
	font-size: 70%;
	border-top: 1px solid rgba(0,0,0,.04);
	background: #FFFFFF;
	display: flex;
	justify-content: space-between;
}
#breadcrumbs ol li::before {
	margin: 0 0.25rem;
}
}