@charset "utf-8";

/* top */

@media (min-width: 1200px){
	body 
		{ background-color: var(--white);
		}
	}
.content-wrap {
	margin: 0;
}

/* header */	
header {
    height: 13vw;
	max-height: 80px;
	position: relative;
    margin: 0 auto;
	border-bottom: solid 10px var(--blue);
}
header h1 {
    position: absolute;
    top: 20px;
    left: 38px;
    margin: 0;
    width: auto;
    max-height: 30px;
    float: left;	
}
header h1 img {
    width: auto;
	max-height: 38px;
}	
	 
/* main */	
#container {
	overflow-x: hidden;
	
/* no scrollbar */
	-ms-overflow-style: none!important; /* Edge */
  	scrollbar-width: none!important;    /* Firefox */	
}
main  { 
		width:100%;
		text-align: center;
		max-width: 1200px;
		margin: 0;
	
/* no scrollbar */
	-ms-overflow-style: none!important; /* Edge */
  	scrollbar-width: none!important;    /* Firefox */	
}

main p {
	font-size: 1.5rem;
	text-align: center;
	font-weight: 700;
	line-height: 1.7;
	margin: 0;
	padding: 0;
	color: var(--black);
		}
main h2 {
	background-color:inherit;
	color: var(--black);
}

/* link */	
main a:link, a:visited  { 
	color: var(--black);
	background: var(--white);
	font-size: 1.8rem;
	border:solid 2px var(--blue);
	border-radius: 5px;
	width:auto;
	padding: 2px 5px;
	font-weight: 700;
		}	

main a:hover {
	border:solid 2px var(--red);	
}

.logo-center {
width: 396px;
margin-left: auto;
margin-right:auto;
}

.img-center {
	width: 90%;
	margin-top: 30px;
		}	    		

/* slide */
.effect_contents {
	
	overflow-x: hidden;
	
/* no scrollbar */
	-ms-overflow-style: none!important; /* IE, Edge 対応 */
  	scrollbar-width: none!important;    /* Firefox 対応 */	
    
	width: 100%;
    max-width: 1200px;
    height: 1220px;
	margin: 0 auto;
    background: url(../images/top/bg-image_w600.jpg) ;
    background-position: cover;
	repeat-x: 0;

    -webkit-background-size: 100%;
     background-size:  100%;

	-webkit-animation: bgroop 45s linear infinite;
    animation: bgroop 45s linear infinite;	
		}

	@-webkit-keyframes bgroop {
    	
		from {
        	background-position: 0  2460px;
    		}
    	to {
        background-position: 0 0;
    		}
		}	
		
	@keyframes bgroop {
		from {
        	background-position: 0 2460px;
    		}
    	to {
        	background-position: 0 0;
    		}	
	
}	

/* page-top */

#page-top {
	bottom:70px;
}

@media only screen and (min-width: 481px) and (max-width: 889px){
	header h1 {
	left: 19px;
}
}

@media only screen and (max-width: 480px){
	header {
		height: 17vw;
		max-height: 65px;
	}

	header h1 { 
		width: 31%;
		top: 11px;
		left: 3.5%;
		height: auto;
		}

	.logo-center {
		width: 100%;
		}
}

