@charset "UTF-8";

/*!
Theme Name: Simplicity2 child
Template:   simplicity2
Version:    20161002
*/

/* Simplicity子テーマ用のスタイルを書く */

/* フォント */
@import url('https://fonts.googleapis.com/css?family=Kosugi+Maru|Noto+Serif+JP:400,700&subset=japanese');

.noto_serif_jp {
	font-family: 'Noto Serif JP', serif!important;
	line-height: 120%;
}
.kosugi_maru {
	font-family: 'Kosugi Maru', sans-serif!important;
}
.headline {
	font-weight: 400;
}
@media all and (min-width: 640px) {
	.headline {
		font-size: 3rem;
	}
}
@media all and (max-width: 639px) {
	.headline {
		font-size: 2rem;
	}
}
/* レスポンシブ基本：PC */
@media all and (min-width: 1111px) {
	.mob_only,
	.sp_only,
	.no_pc {
		display: none!important;
	}
}

/* レスポンシブ基本：TAB */
@media all and (max-width: 1110px) and (min-width: 640px) {
	.no_mob,
	.sp_only,
	.pc_only {
		display: none!important;
	}
}

/* レスポンシブ基本：SP */
@media all and (max-width: 639px){
	.no_mob,
	.pc_only,
	.no_sp {
		display: none!important;
	}
}

/* 見出し */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Noto Serif JP', serif;
}

h1, h3, h4, h5, h6 {
	border: none!important;
}

/* メインカラム */
@media all and (max-width: 1110px) {
	#body {
		margin-top: 0;
	}
}

/* メインメニュー */
#navi ul > li {
	font-family: 'Kosugi Maru', sans-serif;
}
@media all and (min-width: 1111px) {
	#navi ul {
		display: flex;
		justify-content: center;
		border: none;
	}
	#navi ul > li {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 0 1rem!important;
	}
	#navi ul > li:first-child {
		padding-left: 0;
	}
	#navi ul > li:last-child {
		padding-right: 0;
	}
	#navi ul.sub-menu > li:first-child {
		padding-left: 0.4rem;
	}
	#navi ul.sub-menu > li:last-child {
		padding-right: 0.4rem;
	}
	#sidebar .widget {
		margin-bottom: 1rem;
	}
	#navi ul.sub-menu, #navi ul.children {
		top: 1.25rem;
	}
	#navi ul.sub-menu {
		border: solid 1px #ccc;
	}
}
@media all and (max-width: 1110px) {
	#navi ul > li {
		padding: 0.5rem 0;
	}
}

/* サイドバー */
#sidebar {
	margin-bottom: 50px;
}

/* ウィジェット */
.widget_media_image {
	text-align: center;
}
@media all and (max-width: 1110px) {
	#sidebar-widget {
		display: flex;
		flex-wrap: wrap;
	}
	#sidebar .widget {
		width: calc(50% - 2rem);
		padding: 1rem;
	}
}
@media all and (max-width: 639px){
	#sidebar .widget {
		width: 100%;
		padding: 0;
	}
	#sidebar-widget .widget {
		max-width: 300px;
		margin: auto;
	}
}

/* 標準テーブル */
.article table {
	width: 100%;
}
.article table th {
	width: 25%;
}
.article table th, .article table td {
	padding: 0.5rem;
}

/* Google Maps */
.gmaps iframe {
	width: 100%;
	border: solid 1px #ccc;
	height: 25rem;
}

/* アイコンカード */
.iconcard>div {
	padding: 0 0.5rem;
}

/* 左に画像・右に文字 */
.iconcard.iconleft>div:nth-child(1) {
	display: flex;
	justify-content: center;
}
@media all and (min-width: 640px) {
	.iconcard.iconleft>div:nth-child(1) {
		width: 8rem;
	}
	.iconcard.iconleft {
		display: flex;
		align-items: flex-start;
	}
	.iconcard.iconleft>div:nth-child(2) {
		width: calc(100% - 8rem);
	}
}

/* 右に画像・左に文字 */
.iconcard.iconright>div:nth-child(2) {
	display: flex;
	justify-content: center;
}
@media all and (min-width: 640px) {
	.iconcard.iconright>div:nth-child(2) {
		width: 8rem;
	}
	.iconcard.iconright {
		display: flex;
		align-items: flex-start;
	}
	.iconcard.iconright>div:nth-child(1) {
		width: calc(100% - 8rem);
	}
}

/* トップへ戻るボタン */
#body-in {
	position: relative;
}
.ret2top {
	cursor: pointer;
}
.ret2top img {
	vertical-align: bottom;
}
@media all and (min-width: 1111px) {
	.ret2top {
		position: absolute;
		bottom: 0;
		right: 0;
	}
}
@media all and (max-width: 1110px) {
	.ret2top {
		display: none;
	}
}

/* 折り畳みボックス */
.folding h3 {
	cursor: pointer;
	display: inline-block;
	padding: 0.5rem 0;
	margin: 1rem 0;
}
@media all and (min-width: 1111px) {
	.folding h3:hover {
		text-shadow: 0 0 6px #ccc;
		transform: scale(1.05);
	}
}
.folding div.inner {
	margin-left: 1rem;
}
.folding.closed div.inner {
	display: none;
}
.folding.opened h3 {
	text-shadow: 0 0 6px #ccc;
	transform: scale(1.05);
}

/* su-posts */
.su-posts a {
	text-decoration: none;
}
.su-posts .su-post {
	align-items: center;
	border-bottom: 1px dashed #ccc;
	padding: 0.5rem;
}
.su-posts .su-post:hover {
	background-color: #f8f8f8;
}
.su-posts .su-post .su-post-category {
	display: flex;
	align-items: center;
	justify-content: center;
}
.su-posts .su-post-category {
	text-align: center;
	color: #fff;
	width: 10rem;
}
.su-post-meta {
	display: flex;
}
.su-posts .cat-magazine { background-color: #ffd700; }
.su-posts .cat-news { background-color: #3cb371; }
.su-posts .cat-others { background-color: #999999; }
@media all and (min-width: 1111px){
	.su-posts .su-post {
		display: flex;
	}
	.su-posts .su-post-category {
		margin: 0 1rem;
	}
}
@media all and (max-width: 1110px){
	.su-posts .su-post .su-post-category {
		margin-left: 1rem;
	}
	.su-posts .su-post>div {
		margin-bottom: 0.125rem;
	}
}