*{
margin:0;
padding:0;
box-sizing:border-box;
color:#6c6b6b;
}

a{
	text-decoration: none;
}

.clearfix::after{
	content:"";
	display:block;
	clear:both;
}

header,nav,h2,.main-visual,footer {
	font-family:Chalkduster,"Bradley Hand",Courier,"Segoe Print",sans-serif;
}

header{
	position: relative;
	width: 90%;
	padding:15px 0;
	margin:0 auto;
	text-align: center;
}

header.headline{
	font-size:32px;
}


.main-visual{
	width:100%;
	height: 350px;
	background-image:url(img/about_1.jpg);
	background-size:cover;
	background-position: center;
	margin-bottom:10%;
}

.main-visual-content{
	width: 50%;
	height: 350px;
	background-color:rgba(0, 0, 0, 0.5);
	text-align: center;
	padding-top:105px;
}

.main-visual-text {
	color:#fff;
}

.main-visual-name {
	margin-top:30px;
	color:#fff;
}

main{
	width:800px;
	height:auto;
	margin:0 auto;
	padding:70px 0;
}

.blog-headline{
	border-bottom:8px solid #f7f7f7;
	text-align: center;
	line-height: 0.6;
	margin-bottom:5%;
}

.box_top{
	width:100%;
	height:400px;
	background-color:RGB(255,245,230);
	overflow-wrap:normal;
	padding:3% 7% 0% 7%; 
}

.box{
	width:100%;
	height:525px;
	background-color:RGB(255,245,230);
	overflow-wrap:normal;
	border-top:8px solid #f7f7f7;
	padding:1% 7% 2% 7%; 
}

.left-side{
	float:left;
	margin:1% 1% 1% 0%;
}

.right-side{
	float:right;
	margin:1% 0% 1% 1%;
}

.photo{
	width:400px;
	height:400px;
	display: flex;
	object-fit:cover;
}

.sub-title{
	display:block;
	border-left:solid 12px RGB(255,220,150);
	background-color:RGB(235,235,235);
	padding:2% 1%;
	margin-bottom:2%;
}

.pagination {
	text-align: center;
	padding-top:50px;
}

.pagination p{
	display:inline-block;
	background-color: #acabab;
	width: 150px;
	height: 30px;
	margin:0 5px;
	color: #fff;
	border-radius: 3px;
	line-height: 30px;
}

footer{
	width: 100%;
	height: 120px;
	text-align:center;
	padding:50px 0;
	background-color: #848282;
}

.footer-text {
	color:#fff;
}


@media screen and (min-width:601px) and (max-width:800px){
	main {
		width: 600px;
	}

	.box,.box_top{
		height:auto;
	}	

	.photo{
		width:300px;
		height:300px;
		object-fit:cover;
	}

    .pagination {
    margin-bottom: 50px;
    }
}


@media screen and (max-width:600px) {
	header {
		width: 100%;
	}

	main {
		width: 100%;
	}

	.box,.box_top{
		height:auto;
	}

	.photo{
		width:100%;
		height:auto;
	}
    .pagination {
    margin-bottom: 50px;
    }
}