#mainheader {
	background-image: url("../images/toph.png");
	background-repeat:no-repeat;
	background-position:right;
	background-size:contain;
	height:600px;
	max-width:1200px;
	padding-left:1em;
	position:relative;
   z-index:3;
   margin:auto;
   transition-duration: 3s;
}
#mainheader h1{
	font-size:3em;

	
}
#mainheader h1 .mh1 {
	font-size:0.8em;
}
#mainheader h3 {
	padding:0;
	background-image:none;
}
.slides header {
	background: transparent;
	padding: 0;
}
.main {
	max-width:1200px;
	margin:0 auto;
}
h1.slide__title {
    padding: 50px 0 100px;
}
.main h1 {
	text-align:center;
	position:relative;
   z-index:3;
   /* transition-duration: 5s; */
}
.main h1 .ruby{
	font-size:24px;
}
.h1_fadein {
	animation: fadeIn 4.5s ease 0s 1 normal;
	-webkit-animation: fadeIn 4.5s ease 0s 1 normal;
}
@keyframes fadeIn {
		0% {opacity: 0}
    95% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
		0% {opacity: 0}
    95% {opacity: 0}
    100% {opacity: 1}
}
.content {
	display:flex;
	padding:6em 70px;
	margin:0 auto;
}
.content:nth-child(even) {
	flex-direction:row-reverse;
}
.content img {
	width:100%;
	transform: scale(1.1);
	transition-duration: 1s;	/*変化に掛かる時間*/

	}
	.content img:hover {
	width:100%;
	transform: scale(1.2);	/*画像の拡大率*/
	transition-duration: 1s;	/*変化に掛かる時間*/
	}
.content .imgc {
	display:block;
	overflow: hidden;
	width:100%;
	-webkit-filter: grayscale(1); /* Webkit */
	filter: gray; /* IE6-9 */
	filter: grayscale(1); /* W3C */
	position:relative;
   z-index:3;
   transition-duration: 1s;
   box-shadow: 2px 2px 5px #333;

}
.content .imgc:hover {
		transition-duration: 1s;	/*変化に掛かる時間*/
	}
.sp{
	display:none;
}
.content .textc {
	padding:1rem;
	width:55%;
	position:relative;
   z-index:3;

}
.main .content {
	padding-bottom:8rem;
}

.content  a{
    text-decoration: none;
}
.content  a:hover{
    text-decoration: none;
}
.news a{
	text-decoration: underline;
}

/**hurihuri**/
.zukei{
    font-size: 5rem;
    display: block;
    transform-origin: center;
    animation: wave 700ms ease-in-out infinite;
    position:absolute;
   z-index:0;
}

.news h2 {
    background: none;
		padding-bottom: 0;
}

.news > div {
    width: 150px;
    height: 150px;
    text-align: center;
    border: 1px solid #000;
}

/* .news h2 + p {
    font-size: 18px;
}
 */
section#textc4 {
    padding-bottom: 0;
    padding-right: 0;
    padding-top: 57px;
		width: 85%;
}

#textc4 table {
	border-collapse: collapse;
	width: 100%;
}

#textc4 table tr {
    border-bottom: 1px solid #A9A9A9;
    height: 46px;
}
#textc4 table a {
    color:#0281cc;
}
#textc4 table a:hover {
    color:#0033ff;
}

#textc4 td, #textc4 th {
    font-size: 14px;
}

section.content.t4.news {
    margin-left: auto;
    margin-right: 0;
    width: 80%;
		flex-direction: row;
}

br.hide {
	display: none;
}

@keyframes wave {
    0% {
        transform: rotate(30deg);
    }
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(30deg);
    }
}


/*******huwahuwa********/
.zukei1 {
	    font-size: 5rem;
    display: block;
    transform-origin: center;
	position: fixed;
	z-index:-5;
	width: 25%;
	opacity:0.5;
	animation: move1 45s infinite alternate linear;
	-ms-animation: move1 45s infinite alternate linear;
	-webkit-animation: move1 45s infinite alternate linear;
	-moz-animation: move1 45s infinite alternate linear;
}
@keyframes move1 {
	0% {
		top:10vh;
		left:0vw;

	}
	50% {
		top:50vh;
		left:40vw;
	}
	100% {
	top: 65vh;
    left: 75vw;
	}
}

.zukei2 {
	    font-size: 5rem;
    display: block;
    transform-origin: center;
	position: fixed;
	z-index:-5;
	width: 25%;
	opacity:0.5;
	animation: move2 45s infinite alternate linear;
	-ms-animation: move2 45s infinite alternate linear;
	-webkit-animation: move2 45s infinite alternate linear;
	-moz-animation: move2 45s infinite alternate linear;
}
@keyframes move2 {
	0% {
		top:10vh;
		left:75vw;

	}
	50% {
		top:50vh;
		left:0vw;
	}
	100% {
		top:20vh;
		left:75vw;
	}
}
.zukei3 {
	    font-size: 5rem;
    display: block;
    transform-origin: center;
	position: fixed;
	z-index:-5;
	width: 15%;
	opacity:0.5;
	animation: move3 45s infinite alternate linear;
	-ms-animation: move3 45s infinite alternate linear;
	-webkit-animation: move3 45s infinite alternate linear;
	-moz-animation: move3 45s infinite alternate linear;
}
@keyframes move3 {
	0% {
		top:120vh;
		left:0vw;

	}
	50% {
		top:60vh;
		left:85vw;
	}
	100% {
		top:30vh;
		left:0vw;
	}
}
.zukei4 {
	    font-size: 5rem;
    display: block;
    transform-origin: center;
	position: fixed;
	z-index:-5;
	width: 15%;
	opacity:0.5;
	animation: move4 45s infinite alternate linear;
	-ms-animation: move4 45s infinite alternate linear;
	-webkit-animation: move4 45s infinite alternate linear;
	-moz-animation: move4 45s infinite alternate linear;
}
@keyframes move4 {
	0% {
		top:-20vh;
		left:30vw;

	}
	50% {
	top: 60vh;
    left: 85vw;
	}
	100% {
		top:70vh;
		left:0vw;
	}
}

/*******************フェードイン***********************/
.imgc, .main_header{
	opacity: 0;
	transform: translate(0,60px);
	-webkit-transform: translate(0,60px);
	transition-duration: 1s;	/*変化に掛かる時間*/
}
.textc{
	opacity: 0;
	transform: translate(0,0px);
	-webkit-transform: translate(0,0px);
	transition-duration: 1s;	/*変化に掛かる時間*/
}
.imgc_mv, .mainheader_mv{
	opacity: 1.0;
	transform: translate(0,0);
	-webkit-transform: translate(0,0);
	transition-duration: 1s;	/*変化に掛かる時間*/
}
.textc_mv{
	opacity: 1.0;
	transform: translate(0,0);
	-webkit-transform: translate(-60,0);
	transition-duration: 1s;	/*変化に掛かる時間*/
	transition-delay:0.5s;
}

/*************************RESPONSIVE******************/

@media screen and (max-width: 1024px) {
	h1.slide__title {
	    padding: 50px 0 70px;
	}
}

@media screen and (max-width: 1000px) {
	#mainheader {
		/* height:90vh; */
		background-image: url("../images/toph_sp.png");
		background-size: cover;
		padding-left: 0;
	}
	/*#mainheader h1{
		font-size:5em;
	}
	#mainheader h3{
		font-size:3em;
	}*/
	.main {
		padding:0;
	}
	.content .imgc {
		width:100%;
		margin:auto;
		margin-bottom: 3em;
	}
	.sp {
		display:inline;
		width:100%;
	}
	.content .textc {
    width: 100%;
    margin:auto;
    padding-top:0;
     padding-bottom:0;
	}
	.content .textc h2 {
		padding:1rem 0;
	}
	section.content.t4.news {
		margin: 0 auto;
	}
	.news > div {
		margin: 0 auto;
	}
	section#textc4 {
		padding-left: 0;
	}
	section#textc4.textc_mv {
    transition-delay: 1s;
	}
}
@media screen and (max-width: 768px) {
	.t1 .imgc {
	    opacity: 1;
			transform: translate(0,0);
	    -webkit-transform: translate(0,0);
	}
		.topimg {
		display:none;
	}
	.content {
		display:block;
		padding-bottom:1.5rem;
	}
	.content img {
		transform: none;
	}
	#mainheader h1 {
		font-size: 2rem;
    width: 80%;
    padding-left: 1rem;
    padding-bottom: 0;
    border-bottom: 1px solid deepskyblue;
	}
	#mainheader h3{
		font-size:1rem;
		width: 80%;
		padding-left: 1rem;
	}
	#mainheader h3:first-of-type {
		border-top: 1px solid lightgreen;
	}
	section.content.t4.news {
		width: 90%;
	}
	td, tr, table {
	    display: block;
	}
	#textc4 table tr {
		border:none;
		height: 66px;
	}
	#textc4 tr.broad {
		height: 100px;
	}
	#textc4 table tr:not(:last-of-type) {
    border-bottom: 1px solid #A9A9A9;
		margin-bottom: 1em;
	}
	.main .content {
    padding-bottom: 4rem;
	}
	.main {
		padding: 0;
	}
	h1 {
		font-size: 19px;
    padding: 50px 0 30px 0;
		}
	.slides {
    height: 48vh;
	}
	br.hide {
		display: inline;
	}
	.main h1 .ruby {
    font-size: 15px;
	}
	.main section {
    padding: 0;
	}
	.slides {
    height: 48vh;
	}
}
