@charset "UTF-8";

/* common
-------------------------------------*/
*,
*::before,
*::after { box-sizing: border-box; }
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
	outline:0;
}
html {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}
body {
	background:#fff;
	color: #000;
	/* font-family: "M+ C Type-1 (basic latin) Regular","M+ Type-1 (general-j) Regular","ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif; */
	font-family: "M PLUS 1p","ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}
h1, h2, h3 {
	letter-spacing: 0.1em;
	font-weight: 300;
}
h1 {
	margin-bottom: .5rem;
}
h2 {
	margin-bottom: 1rem;
}
h1 { font-size: 2rem; line-height: 1.35; letter-spacing: -.08rem; }
h2 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
@media screen and (max-width: 768px) {
	h2 {
		font-size: 1.65rem;
	}
}
h3 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }
ul {
	list-style-type: none;
}
ul ul {
	margin: 0.25rem 0 0.5rem 1rem;
	font-size: 95%;
}
li { margin-bottom: 0.25rem; }
img {
	max-width: 100%;
	height: auto;
	border: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 100%;
}
th, td {
  padding: 1em 1em;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child { padding-left: .5em; }
td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
input, button, textarea, select { font: inherit; }
iframe { width: 100%; }
:focus{ outline: 0; }
a {
	color: #444;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
table, p, ul { margin-bottom: 1rem; }
.clearfix:after, footer .inner:after {
	content: "";
	display: block;
	clear: both;
}
.clearfix:before, footer .inner:before {
	content: "";
	display: block;
	clear: both;
}
.clearfix, footer .inner { display: block; }
.full-width { width: 100%; }
.sp-display { display: none; }
.sp-none { display: inherit; }
@media screen and (max-width: 768px) {
	.sp-display { display: inherit; }
	.sp-none { display: none !important; }
}

/* header
-------------------------------------*/
header {
	border-top: 3px solid #009fff;
}
header h1 a {
	color: #009FFF;
	font-weight: bold;
	letter-spacing: 1px;
	text-shadow: 2px 1px 0px #009fff40;
}
.header {
	display: flex;
	flex-direction: row;
	padding: .5rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid #000;
}
nav.header-nav ul {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	list-style: none;
	margin: .5rem 0 0 0;
}
nav.header-nav li {
	flex: 1 0 auto;
	text-align: center;
}
nav.header-nav li a {
	line-height: 2.70em;
    text-align: center;
    width: 100%;
}

@media screen and (min-width: 769px) {
	nav.header-nav li {
		border-left: 1px solid #E1E1E1;
	}
	nav.header-nav li:last-child {
		border-right: 1px solid #E1E1E1;
	}
	.header-box {
		display: none;
	}
	#open,#close {
		display: none !important;
	}
	#navi {
		display: block !important;
	}
}

@media screen and (max-width: 768px) {
	.header {
		flex-direction: column;
		/* margin-bottom: 10px; */
	}
	.header #open,#close  {
		position: absolute;
		top: 20px;
		right: 12px;
	}
	/* nav ul {
		flex-direction: column;
	} */
	nav.header-nav ul {
		margin: 0;
	}
	nav.header-nav li:nth-child(n+2) {
		border-left: 1px solid #E1E1E1;
	}
	.header li {
		padding-top: 0;
	}
	#open {
		display: block;
		background: url(../img/button.png);
		background-repeat: no-repeat;
		background-size: contain;
		width: 50px;
		height: 50px;
		border: none;
		position: absolute;
		top: 5px;
		right: 12px;
	}
	#close  {
		display: block;
		background: url(../img/button2.png);
		background-repeat: no-repeat;
		background-size: contain;
		width: 50px;
		height: 50px;
		border: none;
		position: absolute;
		top: 6px;
		right: 12px;
	}
	/* スマホ時はメニューを非表示 */
	#navi {
		display: none;
	}
}
    
/* top image
-------------------------------------*/
.top-img {
	height: 25vw;
	position: relative;
}
.top-catchcopy {
	position: absolute;
	text-align: center;
	z-index: 99;
	color: #fff;
	height: 100%;
	width: 100%;
	font-size: 2.4rem;
	letter-spacing: .4rem;
	text-shadow: 0 0 5px #000000ee;
}
@media screen and (max-width: 768px) {
	.top-img {
		height: 80vw;
		background-image: url(../img/main_top.jpg);
		background-size: 180%;
		background-position: 35% 55%;
	}
	.top-catchcopy {
		font-size: 1.8rem;
		letter-spacing: initial;
	}
}
.top-catchcopy div {
	position: absolute;
	width: 100%;
}
.top-catchcopy div:first-child {
	line-height: 2em;
}
.top-catchcopy div:last-child {
	bottom: 0px;
	line-height: 1.8em;
}

@keyframes anime-zoom {
	0% {
		opacity: 0;
	}
	16% {
		opacity: 1;
	}
	34% {
		opacity: 1;
	}
	50% {
		opacity: 0;
		transform: scale(1.2);
		z-index:9;
	}
	100% { opacity: 0 }
}
@keyframes anime-top-down {
	0% {
		opacity: 0;
	}
	16% {
		opacity: 1;
	}
	34% {
		opacity: 1;
	}
	50% {
		opacity: 0;
		background-position: center 40%;
		z-index:9;
	}
	100% { opacity: 0 }
}

.slide {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
@media screen and (max-width: 768px) {
	.slide {
		display: none; 
	}
}

.main_img {
	z-index: 10;
	opacity: 0;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	left: 0;
	top: 0;
	animation: anime-zoom 18s 0s infinite;
}
.main_img:nth-of-type(2) {
	background-position: center 20%;
	animation: anime-top-down 18s 0s infinite;
	animation-delay: 6s;
}
.main_img:nth-of-type(3) {
	background-position: center 10%;
	animation: anime-top-down 18s 0s infinite;
	animation-delay: 12s;
}

/* main contents
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 3rem 0;
	padding: 2rem 0;
}
section:last-of-type {
	margin-bottom: 0;
}

.contents-section:nth-child(2n) {
	background-color: #f4f4f4;
}

.container {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 1.2rem;
	position: relative;
}
.row {
	display: flex;
	flex-direction: column;
	padding: 0;
	width: 100%;
}
.col {
	display: block;
	flex: 1 1 auto;
	margin-left: 0;
	max-width: 100%;
	width: 100%;
}
@media screen and (min-width: 769px) {
	.container {
		padding: 0;
	}
	.row {
		display: flex;
		flex-direction: row;
		padding: 0 0 1.2rem 0;
	}
	.col {
		margin-left: 4%;
	}		
	.col:first-child { 
		margin-left: 0; 
	}
	.col.span-quarter {
		flex: 0 0 30.6666666667%;
		max-width: 30.6666666667%;
	}
	.col.span-half {
		flex: 0 0 48%;
		max-width: 48%;
	}
	.col.span-three-quarters {
		flex: 0 0 65.3333333333%;
		max-width: 65.3333333333%;
	}
	.col.span-full {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.case-area {
	width: 100%;
	position: relative;
	overflow: hidden;
}
.case-area img {
	transition: 1s all;
	object-fit: cover;
	height: 100%;
	aspect-ratio: 1 / 1.618;
}
.case-area img:hover {
	transform: scale(1.2,1.2);
	transition: .5s all;
}
.case-discription {
	width: 100%;
	position: absolute;
	bottom: 0;
	background-color: #f4f4f4cc;
	/* height: 20%; */
	aspect-ratio: 1.618 / 1;
	padding: 1rem;
}

/* copy
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 3px solid #009fff;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 3rem;
}

/* contact
-------------------------------------*/
.contact-box {
	border: 1px solid #ccc;
	text-align: center;
	padding: 2rem 0;
}

.start-call {
	cursor: pointer;
}
.start-mail {
	cursor: pointer;
}

.table {
	margin: 4rem 0;
}
.table th {
	width: 280px;
}

.contact_phone_icon {
	width: 15vmin;
	height: 15vmin;
	display: inline-block;
	padding: 0 1rem 2rem;
}
.contact_phone_icon_inner {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: #009fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.contact_phone_icon_inner svg {
	width: 50%;
	opacity: 1;
}
@media screen and (max-width: 768px) {
	.col:nth-child(n+2) {
		margin-top: 1.2rem;
	}
	.contact_phone_icon {
		width: 45vw;
		height: 45vw;
	}
}

/* about
-------------------------------------------------*/
#content-about table {
	width: 100%;
}
#content-about td {
	font-size: 0.9em;
}
#content-about td ul {
	list-style: none;
}
.access-map {
	height: 100%;
	max-height: 450px;
}
@media screen and (max-width: 768px) {
	.access-map {
		height: 280px;
	}
}

/* support area
-------------------------------------------------*/
.support-area {
	height: 100%;
	width: 100%;
}
.support-area-map {
	width: 100%;
	padding: 2rem 3rem;
	background-color: #fff;
}
.support-area-pref {
	margin-top: 1%;
	width: 49%;
	display: inline-block;
	border-radius: 5px;
	padding: 3rem 0px 2.6rem 0px;
	font-size: 1.2rem;
	color: white;
	text-align: center;
}
.support-area-pref-main {
	transform: scale(1.1);
	box-shadow: 0px 0px 5px #003010ff;
	font-size: 1.6rem;
}
@media screen and (max-width: 768px) {
	.support-area-map {
		padding: 2rem 1rem;
	}
}

/* footer
-------------------------------------------------*/
footer {
	color: #fff;
	background-color: #009fff;
}
footer .container {
	padding: 1rem 0 2rem 0;
}
#footer-nav ul {
	display: flex;
	justify-content: center;
	list-style: none;
	margin-bottom: 0;
}
#footer-nav ul li {
	margin: 0;
	padding: 0 1em;
}
@media screen and (max-width: 768px) {
	#footer-nav ul li {
		padding: 0 .5em;
	}
}
#footer-nav ul li:nth-child(n+2) {
	border-left: 1px solid #fff;
}
#footer-nav ul li a {
	color: #fff;
}
/*footer .company-name {
	font-weight: bold;
	font-size: 1.3em;
}*/

/* copyright
-------------------------------------------------*/
.copyright {
	text-align: center;
	padding: 1rem 0;
	background-color: #009fff; /* #21abff */
	font-size: 0.8em;
}
.copyright a {
	color: #fff;
	text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	table th {
		width: 100%;
		display: block;
	}	
	table td {
		display: block;
	}
}