﻿@charset "utf-8";


/*リセットCSS*/
* {
    box-sizing: border-box;
}
body,h1,h2,h3,h4,h5,h6,p,ul,ol,li,dl,dd {
    margin: 0;
}
ul,ol {
    padding: 0;
    list-style: none;
}
img {
	height: auto;
    width: 100%;
    vertical-align: bottom;
    border: none;
}
/*ここまでは変更しない*/


/*全体のCSS*/
body{
    max-width: 100%;
    color: white;
    text-align: center;
    background-color: #b7282e;
	
}
/*全体のリンクの文字色*/
a {
    text-decoration: none;
    color: white;
}
/*全体のリンクにカーソルを置いた時の色*/
a:hover{
    color: black;
}
/*ここからはheaderのCSS*/
/*headerの中のdiv class(mochi)の中のCSS*/
header div.mochi{
    width: 100%;
	font-size: 10px;
    background-color: black;
    padding: 20px 0;
}
/*headerの中のdiv class(yougakan)の中のCSS*/
header div.yougakan{
    color: black;
    background-color: white;
    padding: 25px;
    overflow: hidden;
}
/*headerの中のdiv class(yougakan)の中のimgのCSS*/
header div.yougakan img{
	float: left;
	width: 37%;
	margin-left: 2%;
}
/*headerの中のdiv class(yougakan)の中のpのCSS*/
header div.yougakan p{
	position: center;
	float: right;
	width: 50%;
	border:black solid 5px;
	border-radius: 25px;
	font-size: 30px;
	padding: 25px;
	margin: 2% 2% 0 2%;
	text-align: left;
}
/*ここからはmainのCSS*/
main{
    overflow: hidden;
    min-height: 100vh;
    background-attachment: fixed;
    background-position: top;
	background-image: url("images/curtain.png");
    background-repeat: no-repeat;
	background-size: 100vw,100vh;

	
}
@media screen and (max-width: 768px){
 main{
    overflow: hidden;
    min-height: 100vh;
    background-attachment: fixed;
    background-position: top;
	background-image: url("images/curtain.png");
    background-repeat: no-repeat;
	background-size: 100vw,100vh;

	
 }
}

@media screen and (max-width: 480px){
    main{
       overflow: hidden;
       min-height: 100vh;
       background-attachment: fixed;
       background-position: top;
       background-image: url("images/curtain.png");
       background-repeat: no-repeat;
       background-size: 100vw,100vh;
   
       
    }
   }
/*mainの中のnavのCSS*/
main nav{
    background-color: black;
    padding: 25px;
}

main nav ul{
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
}
main nav li{
    font-size: 35px;
    list-style: none;
    

}
main nav li a:hover{
    color: yellow;
}

main aside{
    float: right;
     width: 30%;
	margin: 60px 0;
	margin-right: 5%;
	
}
main aside section{
	background: rgba(160,200,200,0.7);
    padding-bottom: 50px;
    box-shadow: 5px 5px 10px 5px black;
    
}
main aside h2{
    background-color: black;
    font-size: 34px;
    padding: 5%;
}

main aside p{
    background-color: black;
    width: 40%;
    border-radius: 30px;
    margin: 5%;
	display:block;
	padding: 4%;
}
main aside p a:hover{
    color: yellow;
}

main aside div.news1{
	display: flex;
	flex-wrap: wrap;
}
main aside div.zyanru1{
	display: flex;
	flex-wrap: wrap;
	
}

main aside div.nenngetu1{
    display: flex;
	flex-wrap: wrap;
	
}

main article{
    max-width: 47%;
    text-align: center;
    float: left;
    margin: 60px 0;
    margin-left: 5%;
}
main article a{
    background-color: black;
}
main article a:hover{
	color: yellow;
}
main article h2{
    background: black;
	font-size: 34px;
	padding: 25px;
	margin-bottom: 60px;
}
main article section{
	margin-bottom: 60px;
	background-color: #a9a9a9;
	background: rgba(160,200,200,0.7);
    box-shadow: 5px 5px 10px 5px black;
	display: flex;
   flex-direction: column;
	text-align: center;
}
main article p.gazou1{
	order: 1;
	width: 100%;
}
main article section h3{
	font-size: 30px;
	order: 2;
	margin: 5% auto 2.5%; 
}
main article h3 span{
	display: block;
}

main article section div.kate1{
    order: 3;
    padding-bottom: 18px;
	width: 20%;
	padding:10px;
	margin:2.5% auto 2.5%;
	background-color: black;
	border-radius: 25px;
}

main article p.parag1{
	order: 5;
	font-size: 20px;
	margin: 2.5% 5% 5%;
	text-align: left;
}


footer{
	background-color: black;
	padding: 1% 0;
}
footer a:hover{
	color: yellow;
}

footer li{
	margin: 1%;
}
/*個別の指定*/
