@charset "utf-8";

html {
	font-size: 16px;
	font-family: sans-serif;
}

body {
	margin: 0;
	padding: 0;
	border: 0;
	background-image: url(image/haikei.jpg);
	background-repeat: repeat;
	background-attachment: fixed;
	line-height: 1.4rem;
}

a {
	color: #005599;
}

a:hover {
	color: #b7dbf2;
	background-color: #4d8eb3;
}

a:hover img {
	opacity: 0.8;    
}

a:active {
	color: #4ca4e8;    
}

p {
	margin-top: 0;
	margin-bottom: 0;
}

hr {
    border: 2px dotted #838298;
    margin-top: 30px;
}

.all {
	display: flex;
	flex-direction: column;
	width: 100%;
	background-color: rgba(0,0,0,0);
}

.mag-center{
	margin: 0 auto;
}

.center {
	text-align: center;
}

.center-big {
	text-align: center;
	font-size: 1.3rem;
}

.center-big-big {
	text-align: center;
	line-height: 2rem;
	font-size: 2rem;
}

.inline a {
	display: inline-block;
	width: 150px;
	border: dotted 1px #aaa;
	border-radius: 0.3rem;
	text-decoration: none;
	margin-top: 8px;
	line-height: 1.8rem;
}

.mainbox {
	display: flex;
	width: 100%
}

aside {
	display: none;
}

.sidemenu a {
	border: dotted 1px #aaa;
	border-radius: 0.3rem;
	text-decoration: none;
}

.main {
	display: flex;
	flex-flow: column;
	background-color: rgba(0.1,0.1,0.1,0.1);
	color: #123;
	margin-top: 3px;
	padding: 10px;
	width: 100%;
}

.japan {
	font-size: 0.9rem;
	color: #123;
	width: auto;
}


.foot {
	color: #333;
	font-size: 0.8rem;
}


.tate {
    display: flex;
    flex-flow:column;
    margin: 15px;
}

.yoko {
    display: flex;
    flex-flow:column;
    margin: 15px;
}






@media only screen and (min-width: 950px) {
    
    .all {
        width: 950px;
    }
    
    .mainbox {
        flex-flow: row;
 	width: 100%;
    }
    
    aside {
    	display: flex;
    	flex-flow: column;
        justify-content: center; 
    }
    
    .sidemenu {
        display: flex;
    }

    .sidemenu a {
        width: 120px;
        margin: 8px 10px 0 20px;
        border: dotted 1px #aaa;
        border-radius: 0.3rem;
        line-height: 1.8rem;
    }
    .yoko {
    flex-flow:row;
}
}
    
