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


/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */
.mainvisual {
    width: 100% !important;
    height: 80%!important;
    background-image: url(../img/mainphotosp.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.scroll #no1 section,.scroll #no2 section,.scroll #no3 section{
	width: 90%;
	background-color: #f2f2f2;
	margin: 100px auto 0 auto;
	padding: 0 10px 50px 10px;
}

.scroll article .title_image{
	display: flex;
	justify-content: center;
}

.scroll #no2 .title_image{
	flex-direction: row-reverse;
}

.scroll #no1 .image,.scroll #no2 .image,.scroll #no3 .image{
	margin: -100px 0 20px 0;
}

.scroll #no1 h1,.scroll #no2 h1,.scroll #no3 h1,.scroll #no4 h1,.scroll #no5 h1{
	font-size: 1.5em;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	margin-top: -100px;
}

.scroll #no1 h1,.scroll #no3 h1{
	margin-right: 5%;
}

.scroll #no2 h1{
	margin-left: 5%;
}

.scroll #no4 section,.scroll #no5 section{
	width: 100%;
	display: flex;
}

.scroll #no4 section .title,.scroll #no5 section .title{
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #f2f2f2;
	text-align: center;
}

.scroll #no4 section .title,.scroll #no4 section .text,.scroll #no5 section .title,.scroll #no5 section .text{
	width: 50%;
	height: 400px;
}

.scroll #no4 section .text,.scroll #no5 section .text{
	font-size: 0.8em;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
}

.scroll #no4 section .text ul,.scroll #no5 section .text ul{
	margin-top: 50px;
}



.scroll #no4 .image,.scroll #no5 .image{
	width: 80%;
	margin: -110px auto 0 auto;
}

.access1 .image_text{
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
}

.access1 .image .text,.access2 .image .text{
	width: 50%;
}

.access1 .image_text h1,.access2 .image_text h1{
	font-size: 2em;
}

.access1 .image_text h1:before,.access2 .image_text h1:before{
	content: '';
	display: inline-block;
	width: 20px;
	height: 15px;

}

.access1 .image_text .image{
	width: 50%;
}

.access1 .image_text .text,.access2 .image_text .text{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 0.8em;
	line-height: 1.5;
	padding: 10px;
}

.access2 .image_text{
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
}

iframe{
	width: 100%;
	height: 300px;
}

.wrapper footer {
    height: auto;
    text-align: center;
    background-color: #fde7f0;
		    border-top: none;
}

/* -------------------------------------------- */
/* ▼タブレット用デザインとして付け足すデザイン */
/* -------------------------------------------- */

@media (min-width: 768px) {	
	.scroll #no1 section,.scroll #no2 section,.scroll #no3 section{
		width: 80%;
		padding: 0 100px 50px 100px;
	}
	
	.scroll #no1 h1,.scroll #no2 h1,.scroll #no3 h1,.scroll #no4 h1,.scroll #no5 h1{
		font-size: 5em;
	}
	
	.scroll #no4 section .text,.scroll #no5 section .text{
		font-size: 1em;
	}

	.scroll #no4 section .text ul li:before,.scroll #no5 section .text ul li:before{
		width: 65px;
		height: 50px;
		padding-right: 85px;
	}
	
	.scroll #no4 .image,.scroll #no5 .image{
		width: 50%;
	}

	.access1 .image_text{
		width: 100%;
		display: flex;
		justify-content: flex-start;
		flex-direction: row;
	}
	
	.access2 .image_text{
		width: 100%;
		display: flex;
		justify-content: flex-start;
		flex-direction: row-reverse;
	}
	
	.access1 .image_text .text,.access2 .image_text .text{
		width: 50%;
		font-size: 1em;
	}
	
	.access1 .image_text h1:before,.access2 .image_text h1:before{
		width: 25px;
    	height: 25px;
		padding-right: 30px;
	}
	
.mainvisual{
    width: 100% !important;
    height: 800px !important;
	background-image: url("../img/mainphoto.jpg");
	background-repeat: no-repeat;
	background-size: cover;
}	
	
	
footer {
    position: absolute;
    bottom: 32px;
    width: 100%;
}	
	

}

@media screen and (max-width: 645px){
.wrapper footer {
    height: auto;
    text-align: center;
    background-color: #fde7f0;
	    border-top: none;
}

}


/* ------------------------------------ */
/* ▼PC用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media (min-width: 1470px) {
	main{
		max-width: 1470px;
		margin: 0 auto;
	}
	
	
}