﻿@charset "utf-8";
/* CSS Document */
@import "clear.css";

@keyframes fadein{
    from{
		opacity: 0;
		transform: translatey(20px);
		transition: opacity 1.5s, transform 1s;
    }
    to{
		opacity: 1;
		transform: translatey(0);
    }
}

img {
	animation-name: fadein;
	animation-duration: 1s;
}

a:hover {
	transition: border .2s;
}

a img:hover {
	transition: opacity .3s;
	opacity: 0.7;
}

h2 {
	color: #2c4d76;
	text-align: center;
}

h2 span {
	font-family: 'Cabin', sans-serif;
	font-weight: 600;
	display: block;
}

h3 span {
	font-family: 'Cabin', sans-serif;
	font-weight: 600;
	font-size: 2rem;
	display: block;
	margin-bottom: 5px;
}

h4 {
	font-size: 1.2rem;
	margin: 15px 0;
}

h4,h5 {
	color: #444;
	font-weight: 600;
}

h5 {
	margin-bottom: 5px;
}



#service {
	background: #caf3ff url("../images/service_bg.png") no-repeat;
	background-size: cover;
}

#service li>a {
	display: block;
	position: relative;
	height: 100%;
}

#service h3 {
	color: #fff;
	text-align: center;
	position: absolute;
	line-height: 2rem;
	width: 100%;
	top: 40%;
	z-index: 1;
}

footer {
	text-align: center;
}

#copyright {
	background: #004986;
	color: #fff;
	text-align: center;
	padding: 15px 0;
}

#menu_1 h3 {
	color: #346768;
}

#menu_2 h3 {
	color: #da3e4c;
}

#menu_3 h3 {
	color: #437c11;
}

#menu_4 h3 {
	color: #57a8c0;
}

.container {
	background: url("../images/bg.png") fixed;
	background-size: contain;
}

.service_list dd {
	background: #fff;
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}

#company {
	display: flex;
	flex-wrap: wrap;
	border-top: solid #ccc 1px;
}

#company dt {
	font-weight: 500;
}

#company dt,#company dd {
	border-bottom: solid #ccc 1px;
}

#privacy dt {
	margin-bottom: 30px;
}

#privacy li {
	margin: 10px 0 20px;
}

#privacy li ul {
	margin-left: 1rem;
}

#privacy li ul li {
	margin-bottom: 10px;
}

#privacy h6 {
	margin: 10px 0;
	font-weight: 600;
	color: #888;
}

@media (min-width: 1025px) {
	.pc_none,.sp_menu {
		display: none;
	}
	
	header {
		animation-name: fadein;
		animation-duration: 1s;
		background: rgba(255,255,255,0.9);
		border-radius: 6px;
		-webkit-border-radius: 6px;
		-moz-border-radius: 6px;
		box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
		position: fixed;
		right: 3%;
		top: 15px;
		width: 40%;
		z-index: 999;
	}
	
	header h1 {
		display: none;
	}
	
	header h1 img {
		height: 60px;
	}
	
	nav ul {
		display: flex;
		justify-content: space-around;
		padding: 25px 0 0;
		height: 60px;
	}
	
	
	nav a {
		display: inline-block;
		padding: 3px 0;
	}
	
	nav a:hover {
		border-bottom: solid #231815 3px;
	}
	
	#main {
		height: 100vh;
		overflow: hidden;
		position: relative;
	}
	
	#main span {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
	}
	
	#greeting {
		text-align: center;
		padding: 60px 0;
		line-height: 3rem;
	}
	
	.header_fixed {
		animation-name: fadein;
		animation-duration: 3s;
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 94%;
	}
	
	.header_fixed nav {
		width: 50%;
	}
	
	.header_fixed h1 {
		margin-left: 2%;
		display: block;
		line-height: 0;
	}
	
	h2 span {
		font-size: 3rem;
	}
	
	#service {
		padding: 90px 0;
	}
	
	#service ul {
		display: flex;
		justify-content: space-around;
		margin: 45px 3% 0;
	}
	
	#service li {
		background: #000;
		line-height: 0;
		width: 20%;
	}
	
	#service img {
		position: relative;
		z-index: 0;
	}
	
	footer {
		padding: 90px 0;
	}
	
	footer h1 {
		margin-bottom: 15px;
	}
	
	.container {
		padding: 180px 0 90px;
	}
	
	.service_list {
		display: flex;
		align-items: flex-end;
		position: relative;
		margin: 60px 5%;
	}
	
	.service_list dt {
		width: 35%;
		z-index: 1;
	}
	
	.service_list dd {
		padding: 30px;
		margin-left: -3%;
		margin-bottom: 45px;
		z-index: 2;
		width: 35%;
	}
	
	.service_list h3 {
		margin-bottom: 30px;
	}
	
	.reverse {
		flex-direction: row-reverse;
	}
	
	.reverse dd {
		margin-right: -3%;
	}
	
	#company_img {
		margin: 60px 3%;
		height: 480px;
		overflow: hidden;
	}
	
	#company {
		margin: auto;
		width: 640px;
	}
	
	#company dt {
		width: 200px;
	}
	
	#company dt,#company dd {
		padding: 25px 0;
	}
	
	#company dd {
		width: 440px;
	}
	
	#privacy {
		margin: 60px auto;
		width: 960px;
	}
}

@media screen and (max-width: 1024px) {
	.sp_none,nav {
		display: none;
	}
	
	h1 {
		padding: 15px 5% 10px;
	}
	
	header h1 img {
		width: 30%;
	}
	
	h2 {
		margin-bottom: 10px;
	}
	
	h2 span {
		font-size: 2rem;
	}
	
	header {
		position: fixed;
		width: 100%;
		height: 70px;
		z-index: 999;
		background: #fff;
	}

	.sp_menu {
		position: fixed;
		top: 0;
		right: 0;
		width: 0;
		height: 100%;
		transition: width .2s;
	}

	.menu--isOpen {
		width: 40vw;
	}

	.menu__button {
		position: fixed;
		right: 5%;
		top: 13px;
		width: 40px;
		height: 40px;
		background-color: rgba(200, 200, 230, 0);
		border: none;
	}

	.sp_menu span {
		display: block;
		width: 80%;
		margin: auto;
		height: 4px;
		background-color: #7b7060;
		position: absolute;
		left: 0;
		right: 0;
		top: calc((100% - 4px)/2);
		border-radius: 3px;
		transition: .2s;
	}

	.menu__lineTop {
		transform: translateY(-10px);
	}

	.menu__lineBottom {
		transform: translateY(10px);
	}

	.menu--isOpen .menu__lineTop {
		transform: rotate(45deg);  
	}

	.menu--isOpen .menu__lineMiddle {
		opacity: 0;
	}

	.menu--isOpen .menu__lineBottom {
		transform: rotate(-45deg);  
	}

	nav {
		position: relative;
		z-index: 9999;
	}

	nav ul {
		display: flex;
		justify-content: space-around;
		background: #eee;
		border-top: solid #ccc 1px;
		border-bottom: solid #ccc 1px;
	}
	
	nav li a {
		display: block;
		padding: 15px 0;
		font-size: 0.9rem;
	}
	
	#main {
		position: relative;
		padding-top: 70px;
	}
	
	#main span {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 70%;
		height: calc(100% + 70px);
		padding: 0 15%;
		position: absolute;
		top: 0;
		left: 0;
	}
	
	#greeting {
		padding: 45px 5%;
		text-align: center;
		line-height: 1.8rem;
	}
	
	#service {
		padding: 30px 5%;
	}
	
	#service ul {
		margin-top: 30px;
	}
	
	#service li {
		height: 30vh;
		overflow: hidden;
		margin-bottom: 15px;
	}
	
	#service li img {
		margin-top: -180px;
	}
	
	footer {
		padding: 30px 0;
	}
	
	footer h1 img {
		width: 60%;
	}
	
	.container {
		padding: 70px 5% 30px;
	}
	
	.service_list dd {
		margin: 15px 0 30px;
		padding: 15px 5%;
	}
	
	.service_list dd p {
		margin-top: 15px;
	}
	
	#company {
		margin-top: 15px;
	}
	
	#company dt,#company dd {
		padding: 15px 0;
	}
	
	#company dt {
		width: 35%;
	}
	
	#company dd {
		width: 65%;
	}
	
	#privacy {
		margin: 30px 3%;
	}
	
	#privacy ol {
		padding-left: 3%;
	}
}