@charset "UTF-8";

/* テキストの自動拡大を無効化 */
body{
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}

/* ページ全体の設定 */
body{
	margin: 0;
	font-family: sans-serif;
}

/* 「ヘッダー」ブロック */
header{
	padding-top: 25px;
	padding-right: 15px;
	padding-bottom: 25px;
	padding-left: 15px;
	color: green;
	font-size: 36px;
	font-weight: bold;
	text-align: center;
	font-family: 'Exo 2', sans-serif;
}

/* リンク */
a{
	color: inherit;
	text-decoration: none;
}

a:hover {
	opacity: 0.7;
}

/* ナビゲーションメニュー */
nav ul{
	list-style-type: none;
	padding: 0;
	color: #666666;
	font-size: 16px;
	display: flex;
	justify-content: center;
}

nav li:not(:last-child){
	margin-right: 20px;
}

/* 「コンテンツ」ブロック */
.contents{
	background-color: green;
	padding-top: 40px;
	padding-right: 15px;
	padding-bottom: 40px;
	padding-left: 15px;
}

/* 記事 */
article{
	background-color: #ffffff;
	padding: 20px;
}

h1{
	font-size: 28px;
}

p{
	line-height: 2;
}

/* 画像 */
img{
	width: 100%;
	height: auto;
}

figure{
	margin: 0;
}

/* 投稿日 */
time{
	color: #666666;
	margin-bottom: 15px;
	display: block;
}

/* サブメニュー */
aside{
	background-color: #ffffff;
	padding: 20px;
	margin-top: 40px;
}

h2{
	color: green;
	font-family: 'Exo 2', sans-serif;
	font-weight: normal;
	text-align: center;
}

/* サブメニュー：プロフィール */
.profile img{
	width: 100px;
	height: 100px;
	border-radius: 50%;
}

.profile figure{
	text-align: center;
}

.profile p{
	font-size: 14px;
	text-align: center;
}

/* サブメニュー：注目記事メニュー */
.topics ul{
	list-style-type: none;
	padding: 0;
}

.topics a{
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.topics figure{
	width: 100px;
	flex: none;
}

.topics img{
	vertical-align: bottom;
}

.topics h3{
	font-size: 14px;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 10px;
}


/* 「フッター」ブロック */
footer{
	background-color: green;
	padding-top: 25px;
	padding-right: 15px;
	padding-bottom: 25px;
	padding-left: 15px;
	color: #ffffff;
	font-size: 14px;
	text-align: center;
	font-family: 'Exo 2', sans-serif;
}


/* トップページ： ヒーローイメージ */
.hero{
	background-image: url(img/wakaba.jpg);
	background-size: cover;
	background-position: center;
	height: 532px;
	color: #ffffff;
	padding: 15px;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.hero h1{
	font-size: 20px;
	font-family: 'Exo 2', sans-serif;
	text-shadow: 0 0 10px #444444;
	text-align: center;
	width: 100%; /* IE11用の設定 */
}

.hero p{
	font-weight: bold;
	text-shadow: 0 0 10px #444444;
	margin-top: 0;
}

.hero a{
	border-width: 2px;
	border-style: solid;
	border-color: #ffffff;
	padding-top: 10px;
	padding-right: 40px;
	padding-bottom: 10px;
	padding-left: 40px;
	border-top-left-radius: 10px 10px;
	border-top-right-radius: 10px 10px;
	border-bottom-right-radius: 10px 10px;
	border-bottom-left-radius: 10px 10px;
	background-color: lime;
	margin-top: 10px;
}

/* トップページ： 記事一覧 */
.toppost{
	padding: 15px;
}

.toppost div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.toppost article{
	padding: 0;
	width: 48%;
	flex: none;
}

.toppost article:not(:nth-last-child(-n+2)){
	margin-bottom: 12px;
}

.toppost h3{
	margin: 0;
	font-size: 14px;
}


/* 「サイトについて」ページ */
table{
	border-collapse: collapse;
}

th, td{
	border: solid 1px #cccccc;
	padding: 18px;
}

th{
	width: 4em;
	text-align: left;
	background-color: #135977;
	color: #ffffff;
}

td{
	background-color: #e8eef9;
}


/* 「お問い合わせ」ページ */
input, textarea{
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
}

textarea{
	height: 120px;
}

input[type="submit"]{
	background-color: #ffaa00;
	border: none;
	-webkit-appearance: none;
}


/* ==== PC版 ==== */
@media (min-width: 600px) {

/* PC版：コンテナ */
.container{
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/* PC版：「ヘッダー」ブロック内のコンテナ */
header .container {
	display: flex;
	justify-content: space-between;
}

/* PC版：記事 */
article{
	padding-left: 60px;
	padding-right: 60px;
}

h1{
	font-size: 30px;
}

p{
	font-size: 16px;
}

/* PC版：トップページ： ヒーローイメージ */
.hero h1{
	font-size: 40px;
}

/* PC版：トップページ： 記事一覧 */
.toppost article{
	width: 23%;
}

.toppost article:not(:nth-last-child(-n+2)){
	margin-bottom: 0;
}

/* PC版：「お問い合わせ」ページ */
input[type="submit"]{
	width: 250px;
}

}
/* ===== PC版の設定ここまで ===== */



/* ==== PC版（大） ==== */
@media (min-width: 1025px) {

/* PC版（大）：コンテナ */
.container{
	max-width: 1100px;
}

/* PC版（大）：「コンテンツ」ブロック内のコンテナ */
.contents .container {
	display: flex;
	justify-content: space-between;
}

/* PC版（大）：記事 */
article{
	width: 68%;
	box-sizing: border-box;
}

/* PC版（大）：サブメニュー */
.sub{
	width: 28%;
}

/* PC版（大）：プロフィール */
.profile{
	margin-top: 0;
}

}
/* ===== PC版（大）の設定ここまで ===== */

