@charset "utf-8";

/* サイドバーレイアウト */

main {
	position: fixed;
    width: 7%;
    height: 100vh;
    top: 0;
    left: 0;
	background-color: #FFFFFF;
	background-image: url("../image/top-back.jpg");
	background-size: cover;
    box-shadow: 0px 0px 4px 0px #666;
	z-index: 100;
}
main img {
	width: 50px;
	margin-left: 5px;
	margin-top: 20px;
}

/*サイドバースマホ版*/
@media(max-width:640px){
	main, .sidebar {
		display: none;
	}
}

/*全体ｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/
.news {
	display: block;
	position: relative;
	width: 93%;
	left: 7%;
}

/*スマホ版*/
@media(max-width:640px){
	.news {
		width: 100%;
		left: 0;
	}
}

/*タイトルｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ*/
.news-header{
	position: fixed;
	width: 93%;
	left: 7%;
	right: 0;
	height: 5rem;
	background-image: url("../image/top-obi.jpg");
	background-position: center;
	background-size: cover;
	z-index: 100;
}


.news-header{
	font-family: serif;
	color: aliceblue;
}

.title {
	
}
.title h1{
	position: absolute;
	margin-left: 2rem;
	margin-top: 1rem;
	font-size: 1.7rem;
	color: white;
}

/*スマホ版ヘッダー*/
@media(max-width:640px){
	.news-header {
		width: 100%;
		left: 0;
	}
	.title h1 {
		position: relative;
		width: 80%;
		top: .3rem;
		left: 1.5rem;
		font-size: 1.5rem;
	}
}

/*記事部分*/
.contents {
	position: relative;
	width: 90%;
	height: auto;
	margin: auto;
	padding-bottom: 30vh;
}

.contents h5,
.contents p {
	margin-left: auto;
	margin-right: auto; /* ← ブロック要素を中央寄せ */
}

.contents h5{
	position: relative;
	top: 7rem;
	font-size: 1vw;
}

.contents h1{
	position: relative;
	width: 60%;
	top: 8rem;
	font-size: 1.5vw;
	border-bottom: 1px solid;
}


.contents img {
	display: block; /* ← imgを中央寄せに */
	margin: 9rem auto 0 auto; /* 上下は自由に */
}

.contents p{
	position: relative;
	text-align: center;
	margin: 5% 0;
	padding-bottom: 5%;
	font-size: 1.2vw;
}

/*スマホ版記事部分*/
@media(max-width:640px){
	.contents {
		position: relative;
		width: 80%;
		height: auto;
		margin: auto;
	}

	.contents h5,
	.contents p {
		margin-left: auto;
		margin-right: auto; /* ← ブロック要素を中央寄せ */
	}

	.contents h5{
		position: relative;
		top: 6rem;
		font-size: .6rem;
		z-index: 999;
	}

	.contents h1{
		position: relative;
		width: 90%;
		top: 6rem;
		font-size: .8rem;
		border-bottom: 1px solid;
	}


	.contents img {
		display: block; /* ← imgを中央寄せに */
		margin: 7rem auto 0 auto; /* 上下は自由に */
	}

	.contents p{
		position: relative;
		text-align: center;
		margin: 5% 0;
		padding-bottom: 5%;
		font-size: .6rem;
	}
}

.right-footer-all {
	position: fixed;
	bottom: 0;
}
