@charset "utf-8";
html, body,
ul, ol, li,
h1, h2, h3, h4, h5, h6, p,
form, input, div {
margin: 0;
padding: 0;
}
body {
	margin: 0;
	font-family: "Times New Roman", "Arial", "Helvetica", "sans-serif", "Avenir Next", "Hiragino Kaku Gothic ProN W3";
}
li {
	list-style: none;
}

/* ここからCSSを記述してください */
/*========    header ==========================*/
.container {
	margin: 0 auto 0 auto;
	max-width: 1080px;
	width: 100%;
    margin-right: auto;
    margin-left: auto;

}
section .container {
	display: flex;
	flex-flow: column;
}
header {
	color: grey;
	height: 100px;
	font-style: italic;
	font-size: 120%;
}
.header-nav {
	padding: 10px 10px 0 10px;
	display: flex;
	height: 80px;
	padding: 10px;
	margin:0 auto;
	align-items: flex-end;
}
a{
	margin-right:40px;
	color:gray;
	text-decoration: none;
	letter-spacing: .1em;
}

.main-image {
	font-style: italic;
	color: #fff;
}
.img-wrapper {
	display: flex;
	justify-content: center;
}
.img-wrapper img {
    height: 250px;
    width: 1080px;
    object-fit: cover;
}
.titlebox{
	position: relative;
}
.top-left_title{
	position: absolute;
	top: 25px;
	left: 25px;
}
.top-left_second{
	position: absolute;
	top: 100px;
	left: 25px;
}
.copy-container h1 {
	font-size: 48px;
	text-align: center;
}

.copy-container h2 {
	font-size: 24px;
}
/*========    main  ==========================*/
main {
	padding: 8px 10px 20px 8px;
	margin-top:12px;
	height: 1080px;
}
.section-title {
	border-bottom: 2px solid #dee7ec;
	font-size: 140%;
	font-style: italic;
	color: dimgray;
	padding-bottom: 10px;
	margin-bottom: 30px;
}
.contents-main-title {
	font-family: Arial;
	font-size: 120%;
	margin-bottom: 30px;
}
.contents-main-title p {
	font-family: 'Times New Roman';
	text-align: justify;
	font-size: 110%;
	color: dimgrey;
	margin-top: 10px;
}

/*========  side   ==========================*/
.sidebar {
	padding: 8px 10px 20px 13px;
	margin-top: 15px;/*サイドバーとメインコンテンツの間に隙間*/
	float: left;
	background-color:whitesmoke;
	height: 650px;
}
.side-title {
	font-size: 125%;
	font-style: italic;
	color: dimgray;
	padding: 4px 10px 0 10px;
	margin-bottom: 10px;
}
.sub-contents {
	padding-top: 20px 0  0 20px;
	height: 700px;
	width: 349px;
	padding: 20px 0 0 10px;
}

.contents-sub-title {
	font-family: Arial;
	font-size: 80%;
	margin-bottom: 30px;
}

.contents-sub-title p{
	font-family: 'Times New Roman';
	font-size: 120%;
	text-align: left;
}
/*========    footer  ==========================*/
.footer-inner {
	padding: 20px 16px 10px 16px;
	background-color:steelblue;
	color: #fff;
	height: 120px;
	padding: 40px;
	font-style: italic;
}
.footer-logo {
	float: left;
	font-size: 32px;
	padding-bottom: 10px;
}
.footer-list {
	padding-right: 20px;
	text-align: end;
}
.footer-list a {
	color: #fff;
}

/*========レスポンシブ==========================*/

@media only screen and (min-width: 1080px) {
	section .container {
		flex-flow: row;
	}
	main {
		flex: 1 1 auto;
	}
	.sidebar {
		flex: 0 0 340px;
	}
}
@media only screen and (min-width: 800px) {
	section .container {
		flex-flow: row;
	}
	main {
		flex: 1 1 auto;
	}
	.sidebar {
		flex: 0 0 340px;
	}
}
@media only screen and (min-width: 768px) {
	section .container {
		flex-flow: row;
	}
	main {
		flex: 1 1 auto;
	}
	.sidebar {
		flex: 0 0 340px;
	}
}
/*img*/
@media only screen and (max-width: 1080px) {
    img {max-width: 100%;}
}
@media only screen and (max-width: 768px) {
    img {max-width: 100%;}
}
@media only screen and (max-width: 340px) {
    img {max-width: 100%;}
}
/* わかりやすくするために適用しているCSS */
body {
	color: #444;
}
main p:last-child {
	margin-bottom: 0;
}
.main-title {
	margin: 0;
}
.copyright {
	margin: 0;
}
