/* CSS Document */

a{
	color: #000;
}
a:hover{
	color: #E40068;
	text-decoration: underline;
}
body{
	-webkit-overflow-scrolling: touch;
	background: url("../img/64a3671d18801b3ffe00ff44c71a1e23_l.jpg");
	background-repeat: no-repeat;
	background-position: top;
	background-size: 100%;
}
#content{
	background: #fff;
	border-top: 5px #E40068 solid;
}
.panel{
	max-width: 900px;
}
header{
	position: relative;
	background: rgba(0,0,0,.5);
}
	
@media screen and (min-width: 1366px) {
	header{
		width: 1920px;
		margin: 0 auto;
	}
}
#title{
	height: 400px;
	width: 500px;
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
#title h1{
	text-align: center;
}

#title img{
	width: 70%;
}

@media screen and (min-width: 1366px) {
	#title{
    	left: -350px;
	}
}

@media screen and (min-width: 1920px) {
	#title{
    	left: 0;
	}
}
/* スライドイメージ */
	
.main_imgBox {
	height: 500px;
	overflow: hidden;
	position: relative;
	z-index: -5;
}

.main_imgM {
    opacity: 0;
    width:100%;
    height:100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: anime 35s 0s infinite;
    animation: anime 35s 0s infinite;
}

.main_imgBox li:nth-of-type(2) img{
	-webkit-animation-delay: 6s;
	animation-delay: 6s; }

.main_imgBox li:nth-of-type(3) img{
	-webkit-animation-delay: 12s;
	animation-delay: 12s;
}

.main_imgBox li:nth-of-type(4) img {
  　-webkit-animation-delay: 18s;
	animation-delay: 18s;
}

.main_imgBox li:nth-of-type(5) img {
	-webkit-animation-delay: 24s;
	animation-delay: 24s; }

.main_imgBox li:nth-of-type(6) img{
	-webkit-animation-delay: 30s;
	animation-delay: 30s;
}

@keyframes anime {
    0% {
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    17% {
        opacity: 1;
    }
    25% {
        opacity: 0;
        transform: scale(1.2);
        z-index:9;
    }
    100% { opacity: 0 }
}

@-webkit-keyframes anime {
    0% {
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    17% {
        opacity: 1;
    }
    25% {
        opacity: 0;
		transform: scale(1.2);
		z-index:9;
    }
    100% { opacity: 0 }
}

@media screen and (max-width: 885px) {
	.main_imgBox{
		height: 350px;
	}
	#title{
		height: 300px;
		width: 300px;
	}
}
@media screen and (max-width: 736px) {
	.main_imgBox{
		height: 300px;
	}
	#title{
		height: 280px;
		width: 280px;
	}
}
@media screen and (max-width: 414px) {
	.main_imgBox{
		height: 300px;
	}
	#title{
		height: 280px;
		width: 280px;
	}
}
@media screen and (max-width: 375px) {
	.main_imgBox{
		height: 300px;
	}
	#title{
		height: 280px;
		width: 280px;
	}
}
@media screen and (max-width: 320px) {
	.main_imgBox{
		height: 300px;
	}
	#title{
		height: 250px;
		width: 250px;
	}
}

h2{
	color: #E40068;
	font-weight: bold;
	font-size: 28px;
	margin-bottom: 35px;
}
@media screen and (max-width: 375px) {
	h2{
		font-size: 22px;
	}
}
.align_r{
	text-align: right;
}



/* タブ：県切り替え */
.nav{
	margin: -55px auto 0;
	width: 500px;
	z-index: 5;
}

.tab{
	display: table;
	width: 100%;
}
.tab li{
	display: table-cell;
	font-size: 20px;
	font-weight: bold;
	width: 50%;
	text-align: center;
}
.tab li span,
.tab li a{
	display: block;
	padding: 0 20px;
	border-radius: 10px 10px 0 0 ;
	line-height: 55px;
}
.tab li span{
	color: #fff;
	background: #E40068;
	/*box-shadow:0px 0px 6px 3px rgba(0,0,0,.5);*/
}
.tab li a{
	display: block;
	background: #F8F7F8;
}

@media screen and (max-width: 438px) {
	.nav{
		width: 100%;
	}
}
@media screen and (max-width: 375px) {
	.tab li span,
	.tab li a{
		line-height: 44px;
	}
	.nav{
		margin: -40px auto 0;
	}
}
/* ページ内リンク */
.page-link{
	padding-bottom: 20px;
	border-bottom: 1px solid #ccc;
	margin-bottom: 15px;
}
.page-link li{
	display: inline-block;
	margin: 0 10px 5px 0;
}
.page-link li:last-child{
	margin-right: 0;
}
.page-link li a{
	text-decoration: underline;
}
.fas.fa-angle-right{
	margin-left: 0.5em;
}


/* リンク集 */
#content dt{
	font-size: 12px;
	/*background: #E40068;*/
	background: #3EBCDF;
	color: #fff;
	display: inline-block;
	padding: 5px 10px;
	border-radius: 5px;
	margin-top: 25px;
}
#content dd{
	padding: 15px;
	border: #707070 solid 1px;
	margin-bottom:-1px;
}
#content dd.solo{
	padding: 15px;
	border: #707070 solid 1px;
	margin-bottom: 15px;
	margin-top: 15px;
	border-radius: 5px ;
}
#content dd.top{
	border-radius: 5px 5px 0 0;
	margin-top: 15px;
}

#content dd.end{
	border-radius: 0 0 5px 5px;
	margin-bottom: 15px;
}
#content dd a{
	position: relative;
	display: block;
}
#content dd a .fa-angle-right{
	position: absolute;
	right: 0;
	top: 50%;
	margin-top: -.5em;
}
#content dd span{
	font-size: 14px;
}
/**/
.note{
	font-size: 12px;
}


/* footer */
footer{
	background: url("../img/footer_bg.png");
	padding: 15px;
	width: 100%;
	max-width: inherit;
	min-width: inherit;
	font-size: 14px;
}
footer dl{
	margin: 15px 0;
}
small{
	display: block;
	margin-top: 50px;
}


/* SNSリンク */
#sns{
    text-align: center;
    border-top: #ccc 1px solid;
    background: #fff;
    position: fixed;
    bottom: 0;
	margin: 0 -15px;
    width: 100%;
    height: 70px;
    -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
  /*overflow:hidden*/
}
h2.sns-ttl{
	color: #000;
    font-weight: normal;
    margin-top: 50px;
    margin-bottom: 60px;
    text-align: center;
}
#sns-link{
    margin: 0 auto;
    display: table;
    max-width: 360px;
    width: 90%;
    height: 70px;
}
#sns-link li{
    display: table-cell;
    *float: left;
    vertical-align: middle;
    width: 25%;
	/*width: 20%;*//*5つの場合*/
}
#sns-link li a{
	display: block;
}
#sns-link li i{
    font-size: 38px;
}
li.mail a{
    background: #E40068;
    color: #fff;
    border-radius: 5px;
    width: 35px;
    display: inline-block !important;
    line-height: 35px;
}
#sns-link li.mail i.fas.fa-envelope{
    font-size: 20px;
    margin-left: 2px;
}
#sns-link li.line a{
	color: #1dcd00;
}
#sns-link li.facebook a{
	color: #3B5998;
}
#sns-link li.twitter a{
	color: #55acee;
}
/* ページ上部へ戻る */
li.page-top{
    position: relative;
}
.page-top a{
    position: fixed;
    display: none;
    bottom: 15px;
    right: 15px;
    background: #3EBCDF;
    color: #fff;
    border: 2px #fff solid;
    width: 70px;
    height: 70px;
    border-radius: 70px;
    line-height: 70px;
    font-size: 32px;
    text-align: center;
}
.page-top a:hover{
	background: #E40068;
}


iframe{
	width: 100%;
}


