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

/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */

.mainvisual,.contents1,.contents2,.contents3,.contents4,.contents5,.contents6,.contents7,.contents8,.contents9{
	margin-bottom: 100px;
}

main article ul li a{
	display: inline-block;
	border: 2px solid #000;
	background-color: rgba(255,255,255,0.5);
	line-height: 1;
	border-radius: 10px;
	margin-top: 30px;
	padding: 20px 40px;
}

main article ul li a:hover{
	color: #fff;
	background-color: rgba(0,0,0,0.8);
	text-shadow: 1px 1px 0px #ccc;
	transition: all .5s;
}

.mainvisual{
	height: 500px;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	background-image: url("../img/mainimage.png");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
}

.mainvisual p{
	font-size: 2em;
	color: #000;
	text-align: center;
}

.mainvisual p span{
	display: inline-block;
	background-color: #fff;
	margin: 0 0 30px 0;
	padding: 10px 40px;
	opacity: 0.7;
}
	
.mainvisual nav{
	display: none;
	position: absolute;
	bottom: 5px;
}

.mainvisual nav ul{
	display: flex;
	justify-content: center;
}

.mainvisual nav ul li:after{
	content: '|';
	margin-right: 5px;
}

.mainvisual nav ul a:hover{
	text-decoration: underline;
}

h2{
	font-size: 1.3em !important;
	font-weight: bold !important;
	letter-spacing: 10px;
	margin: 0 0 50px 0 !important;
}

h2 span{
	background: linear-gradient(transparent 70%, #93c7df 70%);
}

.contents1{
	height: auto;
	text-shadow: 1px 1px 0px #fff; 
	text-align: center;
	background-image: url("../img/mainimage2.png");
	background-position: center bottom;
	background-size: contain;
	background-repeat: no-repeat;
	padding-bottom: 220px;
}

.contents2{
	height: 620px;
	text-shadow: 1px 1px 0px #fff; 
	background-image: url("../img/topimage1.png");
	background-position: bottom;
	background-repeat: no-repeat;
    background-size: 100%;
}

.contents2 ul{
	text-align: center;
}

.contents3{
	height: 620px;
	text-shadow: 1px 1px 0px #fff; 
	text-align: left;
	background-image: url("../images/designimage1.jpg");
	background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100%;
}

.contents3 ul{
	text-align: center;
}

.contents4 div{
	display: block;
}

.contents4 div figure{
	margin-right: 0;
	margin-bottom: 50px;
}

.contents4 div figure:last-child{
	margin-right: 0;
	margin-bottom: 0;
}

.contents4 div ul{
	text-align: center;
}

.contents4 h2{
	text-align: center;
}

.contents5 h2{
	text-align: center;
}

.contents5 div.faq{
	width: 100%;
	font-size: 1em;
}

.contents6{
	display: flex;
	width: 100vw;
	height: 300px;
	overflow: hidden;
}

.contents6 img{
	width: auto;
	height: 100%;
}

.contents9 img{
	width: auto;
	height: 100%;
}

article.contents9 {
    text-align: center;
}

article.contents9 ul {
    display: flex;
    justify-content: center;
}

article.contents9 li {
    margin: 20px 10px;
}

article.contents9 p:last-child  {
    margin-top:20px ;
}

@keyframes loop {
  0% {
	transform: translateX(100%);
  }
  to {
	transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
	transform: translateX(0);
  }
  to {
	transform: translateX(-200%);
  }
}

.contents6 img:first-child {
	animation: loop 50s -25s linear infinite;
}

.contents6 img:last-child {
	animation: loop2 50s linear infinite;
}

.menu__item {
	cursor: pointer;
	display: block;
}

.menu__item__link {
	display: block;
	line-height: 60px;
	background-image: url("../img/faq_mark1.png");
	background-position: center right;
	background-repeat: no-repeat;
	border: none;
	border-bottom: 1px dashed #93c7df;
	border-radius: 0;
	padding: 0;
	position: relative;
	font-size:18px;
}

.menu__item__link:before{
	content: 'Q.';
	font-family: 'Open Sans', sans-serif;
	color: #93c7df;
	padding-right: 10px;
}

.menu__item__link:after {
	display: block;
	line-height: 60px;
	position: absolute;
	text-align: center;
	top: 0;
	right: 0;
}

.menu__item__link:hover{
	color: #000;
	background-color:#D8DDDF;
}

.submenu {
	font-size:1em;
	display: none;
}

.submenu__item a{
	border: none;
}

.contents7{
	display: block;
}

.contents7 ul,.contents8 ul{
	text-align: center;
}

.contents7 .text,.contents7 .image{
	flex-basis: 100%;
}

.contents7 .text,.contents8 .text{
	margin-bottom: 20px;
}

.contents8{
	display: block;
}

.contents8 .text,.contents8 .image{
	flex-basis: 100%;
}

.contents7 .text,.contents8 .text{
	padding: 0;
}

.contents8 .text{
	text-align: left;
}

.contents9 h2{
	text-align: center;
}

.contents9 .col3{
	display: block;
}

.contents9 .col3 .news{
	margin-right: 0%;
	margin-bottom: 50px;
}

.contents9 .col3 .news:last-child{
	margin-right: 0;
	margin-bottom: 0;
}

.contents9 .col3 .news .image{
	margin-top: 20px;
}

.contents9 .col3 .news ul{
	text-align: right;
}

.contents9 .col3 .news a{
	border: 1px solid #000;
	margin-top: 0;
	padding: 10px;
}

.contents9 .new_list{
	text-align: center;
}

main{
	padding: 0 10px;
}

/* -------------------------------------------- */
/* ▼タブレット用デザインとして付け足すデザイン */
/* -------------------------------------------- */
@media (min-width: 768px) {
	h2{
		font-size: 2.5em !important;
	}
	
	.mainvisual{
		/*height: 1000px;*/
	}
	
	.mainvisual p{
		font-size: 2.5em;
	}
	
	.mainvisual nav{
		display: block;
	}

	.contents1{
		height: 650px;
		background-size: cover;
		padding-bottom: 0;
	}

	.contents2{
		height: 500px;
		background-image: url("../img/topimage1.png");
		background-position: right;
		background-size: 70%;
		padding: 0 0 0 5%;
	}
	
	.contents2 ul{
		text-align: left;
	}

	.contents3{
		height: 500px;
		background-image: url("../images/designimage1.jpg");
		background-position: left;
		background-size: 70%;
		text-align: right;
		padding: 0 5% 0 0;
	}
	
	.contents3 ul{
		text-align: center;
	}
	
	.contents3 ul{
		text-align: right;
	}
	
	.contents4 div{
		display: flex;
		justify-content: center;
	}

	.contents4 div figure{
		margin-right: 2%;
		margin-bottom: 0;
	}
	
	.contents4 div figure:last-child{
		margin-right: 0;
		margin-bottom: 0;
	}
	
	.contents5 div.faq{
		width: 70%;
		font-size: 1.8em;
		margin: 0 auto;
	}
	
	.contents5 div.faq dl dt:before{
		padding-right: 40px;
	}
	
	.submenu {
		font-size: 18px;
	}

	.contents7{
		display: flex;
		justify-content:flex-start;
	}

	.contents7 ul{
		text-align: left;
	}
	
	.contents7 .text,.contents7 .image{
		flex-basis: 50%;
	}
	
	.contents7 .text,.contents8 .text{
		margin-bottom: 0;
	}

	.contents8{
		display: flex;
		justify-content:flex-start;
		flex-direction: row-reverse;
	}
	
	.contents8 ul{
		text-align: right;
	}

	.contents8 .text,.contents8 .image{
		flex-basis: 50%;
	}

	.contents7 .text{
		padding: 0 1% 0 5%;
	}
	
	.contents8 .text{
		text-align: right;
		padding: 0 5% 0 1%;
	}
	
	.contents9 .col3{
		display: flex;
		justify-content: center;
	}
	
	.contents9 .col3 .news{
		width: calc(60%/3);
		margin-right: 1%;
	}
	
	main{
		padding: 0;
	}
	
	
.logo img {
    width: 80%;
    margin-bottom: 20px;
}
}

/* ------------------------------------ */
/* ▼PC用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media (min-width: 1920px) {
	
}