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

.wrap {
	max-width: 1280px;
	padding: 0 40px;
	margin: auto;
}
section.wrap {
	max-width: 1040px;
}
.space-s { margin-bottom: 20px !important; }
.space-m { margin-bottom: 40px !important; }
.space-l { margin-bottom: 80px !important; }

/* ------------------------------------------------------------【header】*/
body > header div.wrap {
	padding-top: 20px;
}
header h1 {
	color: #1c50a1;
	font-size: 16px;
	line-height: 1;
	font-weight: 900;
	display: flex;
	flex-direction: column;
	align-items: center;
}
header h1 span {
	width: 100%;
	max-width: 400px;
}
header button.menu {
	display: none;
}
header nav ul {
	display: flex;
	width: 100%;
	justify-content: center;
}
header nav a {
	color: #009fe8;
	font-size: 16px;
	line-height: 1.3;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 0.5em;
}
header nav a:hover {
	color: #00aeeb;
	text-decoration: underline;
}

/* --------------------------------------------------------------【main】*/
main {
	display: flex;
	flex-direction: column;
}
main > section {
	padding: 80px 0;
}
div.slide {
	order: -1;
}
.heading {
	color: #009fe8;
	font-size: 32px;
	line-height: 1;
	font-weight: 900;
	text-align: center;
}
article {
	padding-top: 80px;
}
article footer {
	background-color: #009fe8;
}
article footer div.wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 944px; /* ブレイクポイント毎 */
}
article footer div.cont {
	flex: 1 0 0%;
	width: 100%;
	max-width: 600px;
}

article footer span.ie {
	width: 240px;
}
article footer p {
	color: #FFF;
	font-size: 20px;
	line-height: 1.5;
	font-weight: 900;
	margin: -0.4em 0;
}
article footer p img.sp {
	display: none;
}
article footer address {
	display: flex;
	width: 100%;
}
article footer a {
	font-size: 20px;
	line-height: 1.3;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50%;
	height: 80px;
	padding: 0 0.25em;
}
article footer a.tel_btn {
	color: #009fe8;
	background-color: #fccf00;
	border-radius: 10px 0 0 10px;
}
article footer a.tel_btn span.icon {
	width: 40px;
}
article footer a.tel_btn span.text {
	display: flex;
	flex-direction: column;
}
article footer a.inquiry_btn {
	color: #fff;
	background-color: #1c50a1;
	border-radius: 0 10px 10px 0;
}
a.btn {
	color: #FFF;
	background-color: #1c50a1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 44px;
	max-width: 240px;
	border-radius: 4px;
	margin: auto;
}
a.btn:hover {
	background-color: #009fe8;
}

/* -------------------------------------------------------------【about】*/
article#about section ul {
	display: flex;
	flex-wrap: wrap;
	margin: -15px;
}
article#about section li {
	display: flex;
	flex-direction: column;
	width: 33.33%;
	padding: 15px;
}
article#about section h3 {
	color: #1c50a1;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 900;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 2.9em;
	padding-bottom: 0.3em;
}
article#about section span img {
	border-radius: 2px;
}
article#about section p.text {
	width: 100%;
	padding: 0.6em 0;
	margin: 0 auto auto;
}
article#about section dl {
	font-size: 12px;
	line-height: 1.5;
	padding: 0.25em 0.5em;
	border: dotted 1px;
	/*margin-bottom: auto;*/
}

article#about section dt:after {
	content: "▼"
}
article#about section dd {
	line-height: 1.5;
}
article#about section dd span.indent {
	display: block;
	text-indent: -1em;
	margin-left: 1em;
}
/* 非表示
article#about section p.price {
	font-size: 20px;
	line-height: 1.5;
	font-weight: 900;
	text-align: center;
	margin: 0.6em 0 0;
	border-bottom: double 3px;
}*/

/* ---------------------------------------------------------【strengths】*/
article#strengths section ul {
	display: flex;
	flex-wrap: wrap;
	/*border: solid 5px #40b7ee;*/
}
article#strengths section li {
	display: flex;
	flex-direction: column;
	width: 50%;
}
article#strengths section li/*:not(:last-child)*/ {
	padding: 60px 40px;
}
article#strengths section li:first-child,
article#strengths section li:nth-child(4),
article#strengths section li:nth-child(5)/*,
article#strengths section li:last-child*/ {
	color: #FFF;
	background-color: #40b7ee;
}
article#strengths section li:nth-child(2),
article#strengths section li:nth-child(3),
article#strengths section li:nth-child(6),
article#strengths section li:nth-child(7) {
	background-color: #FFF;
}
article#strengths section h3 {
	display: flex;
	flex-direction: column;
	align-items: center;
}
article#strengths section h3 b {
	color: #1c50a1;
	font: 40px/1 'Anton', sans-serif;
}
article#strengths section h3 span {
	font-size: 24px;
	line-height: 1.3;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 3em;
}
article#strengths section p {
	padding-bottom: 2.1em;
	margin: 0.6em 0 auto;
}
article#strengths section span {
	width: 100%;
}
article#strengths section span img {
	border-radius: 2px;
}
/*article#strengths section li:last-child {
	justify-content: flex-end;
	align-items: center;
}
article#strengths section li:last-child h4 {
	font-size: 32px;
	line-height: 1.3;
	position: relative;	
}
article#strengths section li:last-child h4:before,
article#strengths section li:last-child h4:after {
	content: "";
	position: absolute;
	background-color: #FFF;
	height: 100%;
	width: 2px;
	margin: auto;
	top: 0;
	bottom: 0;
}
article#strengths section li:last-child h4:before {
	left: -30px;
	transform: rotate(-25deg);
}
article#strengths section li:last-child h4:after {
	right: -30px;
	transform: rotate(25deg);
}
article#strengths section li:last-child span {
	width: 100%;
	max-width: 400px;
}*/


/* -----------------------------------------------------------【works】*/
section#works ul {
	display: flex;
	flex-wrap: wrap;
	margin: -20px;
}
section#works li {
	display: flex;
	flex-wrap: wrap;
	align-content: space-between;
	padding: 20px;
	width: 25%;
}
section#works li a {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	align-content: space-between;
}
section#works li a * {
	width: 100%;
}
section#works li h4 {
	line-height: 1.3;
	margin: -0.15em 0 0.85em;
}
section#works li h4:after {
	content: " 様";
}
section#works li dl {
	background-color: #fff;
	line-height: 1.3;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	padding: 0.35em;
	margin-top: 0.5em;
}
section#works li dt:after {
	content: "：";
}
section#works li dt {
	max-width: 5em;
}
section#works li dd {
	flex: 1 0 0%;
}

/* -----------------------------------------------------------【inquiry】*/
section#inquiry {
	background-image: url(../img/bk.jpg);
	background-size: cover;
}
section#inquiry form {
	max-width: 800px;
	margin: auto;
}
section#inquiry form {
	line-height: 1.5;
}
section#inquiry dl {
	display: flex;
	flex-wrap: wrap;
	align-items: strech;
	margin-bottom: 0.5em;
}
section#inquiry dt,
section#inquiry dd {
	background-color: #bfe7f9;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 0.5em 1em;
}
section#inquiry dt:not(:last-of-type),
section#inquiry dd:not(:last-child) {
	margin-bottom: 1em;
}
section#inquiry dt {
	color: #00aeeb;
	font-weight: 700;
	justify-content: center;
	width: 25%;
	padding-right: 0;
}
section#inquiry dd {
	width: 75%;
}
section#inquiry dd:last-child {
	padding: 1em;
}
section#inquiry label {
	display: flex;
	align-items: center;
	width: 100%;
	height: 44px;
}
/* ---- 改行コントロール ---- */
section#inquiry label br {
	display: none;
}
section#inquiry dd ol,
section#inquiry dd ul {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}
section#inquiry dd ol {
	margin-bottom: 0;
}
section#inquiry dd ol li {
	padding-right: 1em;
}
section#inquiry dd ul li {
	width: 33.33%;
}
section#inquiry section#form h4,
section#inquiry section#form h3 {
	line-height: 1.5;
	margin: -0.25em 0 0.75em;
}
section#inquiry p.error_messe {
	background-color: #bfe7f9;
	width: 100%;
	max-width: 800px;
	padding: 0.5em;
	margin: 0 auto 1em;
}
section#inquiry p.error_messe:last-of-type {
	margin-bottom: 2em;
}
section#inquiry p.conf {
	margin: -0.25em 0 0.75em;
}
section#inquiry table {
	max-width:800px;
	margin:auto;
}
section#inquiry tr {
	display: block;
	margin-bottom: 1em;
}
section#inquiry th,
section#inquiry td {
	background-color: #bfe7f9;
	vertical-align: middle;
	padding: 0.75em 1em;
}
section#inquiry th {
	color: #00aeeb;
	width: 240px;
	max-width: 30%;
}
section#inquiry td {
	width: 560px;
	max-width: 70%;
}
section#inquiry form + a {
	display: none !important;
}

/* ------------------------------------------------------------【footer】*/
body > footer {
	padding: 20px 0;
}
body > footer div.wrap,
footer div.office {
	display: flex;
	flex-wrap: wrap;
}
footer div.office div.item {
	margin-right: 20px;
	max-width: 22em;
}
footer div.office h2 {
	color: #1c50a1;
	line-height: 1.3;
	margin: -0.15em 0 0.35em;
}
footer div.office p {
	line-height: 1.5;
	margin: -0.25em 0;
}
footer div.office-ys {
	text-align: center;
	width: 200px;
	margin-left: auto;
}
footer div.office-ys p {
	margin: 0;
}
footer div.office-ys p strong {
	color: #1c50a1;
}
footer div.office-ys p a {
	display: block;
}
footer div.office-ys p a:hover {
	opacity: 0.5;
}
footer p.copr {
	font: 80%/1.3 'Overpass', sans-serif;
	text-align: center;
	width: 100%;
	padding-top: 0.85em;
	border-top: solid 1px #999;
	margin-bottom: -0.15em;
}

/* ---- ie ---- */
@media all and (-ms-high-contrast: none){
	article#about section h3 picture,
	article#about section span,
	article#strengths section li,
	article#strengths section span,
	article footer span.ie,
	article,
	footer div.office-ys {
		min-height: 0%;
	}
	article footer div.cont {
		flex: 0 1 auto;
	}
}

/* =========================================================【pc/tablet】*/
@media screen and (max-width: 959px) {
	.wrap {
		padding: 0 30px;
	}
	.space-m { margin-bottom: 30px !important; }
	.space-l { margin-bottom: 60px !important; }
	
	/* ------------------------------------------------------------【header】*/
	header h1 span {
		max-width: 300px;
	}
	header nav a {
		text-decoration: underline;
	}
	header nav a:hover {
		text-decoration: none;
	}
	
	/* --------------------------------------------------------------【main】*/
	main > section {
		padding: 60px 0;
	}
	article {
		padding-top: 60px;
	}

	/* ---------------------------------------------------------【strengths】*/
	article#strengths section li:not(:last-child) {
		padding: 40px 30px;
	}
	article#strengths section li:last-child h4 {
		font-size: 24px;
	}
	
	/* ------------------------------------------------------------【footer】*/
	body > footer div.wrap {
		flex-direction: column;
		align-items: center;
	}
	footer div.office-ys {
		margin: 0 auto 15px;
	}
	footer div.office {
		justify-content: center;
		margin: 0 -10px;
	}
	footer div.office div.item {
		width: 260px;
		margin: 0 10px;
	}
	
	/* -------------------------------------------------------------【works】*/
	section#works ul {
		margin: -15px;
	}
	section#works li {
		padding: 15px;
	}
	
	/* -----------------------------------------------------------【inquiry】*/
	section#inquiry dd ul li {
		width: 50%;
	}
}

	/* =========================================================【tablet/sp】*/
	@media screen and (max-width: 799px) {
		/* ------------------------------------------------------------【header】*/
		header nav ul {
			flex-wrap: wrap;
		}
		header nav li {
			width: 50%;
		}
		
		/* --------------------------------------------------------------【main】*/
		.heading {
			font-size: 28px;
		}
		article footer p,
		article footer a {
			font-size: 18px;
		}
		article footer a.tel_btn span.icon {
			width: 30px;
		}
		article footer a {
			height: 60px;
		}
		article footer a.inquiry_btn {
			text-align: center;
		}
		article footer span.ie {
			width: 200px;
		}
		
		/* -------------------------------------------------------------【about】*/
		article#about section h3 {
			font-size: 18px;
		}
		article#about section h3 small {
			font-size: 14px;
			display: block;
		}
		
		/* ---------------------------------------------------------【strengths】*/
		article#strengths section h3 b {
			font-size: 32px;
		}
		article#strengths section li:last-child h4:before {
			left: -20px;
			transform: rotate(-20deg);
		}
		article#strengths section li:last-child h4:after {
			right: -20px;
			transform: rotate(20deg);
		}
		
		/* -------------------------------------------------------------【works】*/
		section#works li {
			width: 33.33%;
		}
		
		/* -----------------------------------------------------------【inquiry】*/
		section#inquiry dd {
			flex-direction: column;
		}
		section#inquiry dt,
		section#inquiry dd {
			padding: 1em 20px;
			width: 100%;
		}
		section#inquiry dt {
			padding-bottom: 0;
			margin-bottom: 0 !important;
		}
		section#inquiry dd input[type="text"] {
			height: 100%;
		}
		section#inquiry dd ol li {
			width: 50%;
		}
		section#inquiry label + label {
			margin-top: 10px;
		}
	}
	
		/* ================================================================【sp】*/
		@media screen and (max-width: 639px) {
			
			/* ------------------------------------------------------------【header】*/
			header h1 span {
				max-width: 200px;
			}
			header nav button.menu {
				font-size: 12px;
				line-height: 1;
				background-color: transparent;
				display: flex;
				flex-direction: column;
				align-items: center;
				width: 100%;
				max-width: 320px;
				border: none;
				margin: auto;
			}
			header nav button.menu img {
				width: 20px;
			}
			header nav ul {
				display: none;
				flex-firection: column;
			}
			header nav li {
				width: 100%;
			}
			
			/* --------------------------------------------------------------【main】*/
			article {
				padding-top: 40px;
			}
			article footer div.wrap {
				flex-direction: column;
				padding-top: 30px;
			}
			article footer div.cont {
				flex: 0 1 auto;
				margin-bottom: 20px;
			}
			article footer span.ie {
				width: 320px;
			}
			
			/* -------------------------------------------------------------【about】*/
			article#about section li {
				width: 50%;
			}
			
			/* ---------------------------------------------------------【strengths】*/
			article#strengths section ul {
				flex-direction: column;
				align-items: center;
			}
			article#strengths section li{
				width: 100%;
				max-width: 480px;
			}
			article#strengths section li:nth-child(odd) {
				color: #333;
				background-color: #FFF !important;
			}
			article#strengths section li:nth-child(even) {
				color: #FFF !important;
				background-color: #40b7ee !important;
			}
			article#strengths section p {
				padding-bottom: 0;
				margin: -0.4em auto 0.6em;
			}
			/*article#strengths section li:last-child {
				flex-direction: row;
				justify-content: space-between;
			}
			article#strengths section li:last-child h4 {
				margin: auto;
			}
			article#strengths section li:last-child h4:before,
			article#strengths section li:last-child h4:after {
				height: 2px;
				width: 100%;
				right: 0;
				left: 0;
			}
			article#strengths section li:last-child h4:before {
				top: -120px;
				transform: rotate(5deg);
			}
			article#strengths section li:last-child h4:after {
				bottom: -120px;
				transform: rotate(-5deg);
			}
			article#strengths section li:last-child span {
				max-width: 200px;
			}*/

			/* -----------------------------------------------------------【inquiry】*/
			section#inquiry label br {
				display: block;
			}



			.space-l { margin-bottom: 40px !important; }
		}
			/* ================================================================【sp】*/
			@media screen and (max-width: 479px) {
				.wrap {
					padding: 0 20px;
				}
				.space-s { margin-bottom: 10px !important; }
				.space-m { margin-bottom: 20px !important; }
				.space-l { margin-bottom: 30px !important; }
				
				/* --------------------------------------------------------------【main】*/
				article footer address {
					flex-direction: column;
					align-items: center;
				}
				article footer a {
					font-size: 16px;
					flex-direction: row;
					width: 100%;
					max-width: 320px;
					height: 44px;
					border-radius: 4px !important;
					overflow: hidden;
				}
				article footer a.tel_btn {
					margin-bottom: 10px;
				}
				article footer span.ie {
					width: 240px;
				}
				
				/* -------------------------------------------------------------【about】*/
				article#about section ul {
					margin: -10px;
				}
				article#about section li {
					padding: 10px;
				}
				
				/* ---------------------------------------------------------【strengths】*/
				article#strengths section li/*:not(:last-child)*/ {
					padding: 30px 20px;
				}
				/*article#strengths section li:last-child h4 {
					font-size: 18px;
				}
				article#strengths section li:last-child h4:before {
					top: -90px;
				}
				article#strengths section li:last-child h4:after {
					bottom: -90px;
				}
				article#strengths section li:last-child span {
					max-width: 150px;
				}*/
				
				/* -------------------------------------------------------------【works】*/
				section#works ul {
					margin: -10px;
				}
				section#works li {
					padding: 10px;
					width: 50%;
				}
			}
			@media screen and (max-width: 361px) {
				/* ---------------------------------------------------------【strengths】*/
				/*article#strengths section li:last-child h4:before,
				article#strengths section li:last-child h4:after {
					display: none;
				}
				article#strengths section li:last-child span {
					max-width: 100px;
				}*/
			}