/*
Theme Name: WING-AFFINGER5 Child
Template: affinger5
Description: ver20180831以上対応
Version: 20180831
*/
a{
	text-decoration: none;
}
ul{
	list-style: none !important;
}
/* Toppage */

/* News */
.post ul.gallary{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 0 !important;
	margin: 0 auto 2.0em;
}
.post ul.gallary::after{
	content: '';
	width: 30%;
}
.post ul.gallary li{
	width: 30%;
}
.post ul.gallary li p{
	font-size: 0.8em;
	line-height: 1.1;
}
.entry-content p.caption{
	font-size: 12px;
	color: #757575;
	line-height: 1.4;
}
.entry-content .cont{
	line-height: 30px !important;
	font-size: 18px !important;
	margin-bottom: 20px !important;
}
.entry-content figure.thumb{
	max-width: 350px;
	display: block;
	margin: 1.0em auto;
}
/* Book */
.backnumber ul.articles{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 0;
	margin: 0 auto 2.0em;
}
.backnumber ul.articles::after{
	content: '';
	width: 30%;
}
.backnumber ul.articles li{
	width: 30%;
	text-align: center;
	margin-bottom: 1.0em;
}

.post-type-archive-book h2 + span,
.single-book h2 + span{
	text-align: right;
	display: block;
	margin-bottom: 0.5em;
}
.post-type-archive-book a.backnumber,
.single-book a.backnumber{
	text-align: center;
	display: block;
	margin: 0 0 1.0em auto;
	padding: 0.25em 0;
	width: 14.0em;
	font-size: 0.8rem;
	color: #ffffff;
	background: #000000;
}
.post-type-archive-book a.backnumber::before,
.single-book a.backnumber::before{
	content: '\f105';
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	padding-right: 1.0em;
}
.post-type-archive-book .entry-content,
.single-book .entry-content{
	display: table;
}
.post-type-archive-book .entry-content .left,
.single-book .entry-content .left{
	display: table-cell;
	width: 40%;
	vertical-align: top;
}
.post-type-archive-book .entry-content .right,
.single-book .entry-content .right{
	display: table-cell;
	width: 60%;
	vertical-align: top;
}
.post-type-archive-book .entry-content .left img,
.single-book .entry-content .left img{
	display: block;
	margin: 0 auto 1.0em;
}
.post-type-archive-book .entry-content .left a,
.single-book .entry-content .left a{
	display: block;
	width: 10.0em;
	line-height: 1.0;
	border: none;
	background-color: #ea3d00;
	font-size: 1.1rem;
	font-size: 15px\9;
	cursor: pointer;
	color: #FFF;
	margin: 0 auto;
	padding: 0.5em 0;
	text-align: center;
}
/* Test info */
.test_info form{
	width: 100%;
	padding: 1.0em;
	background: #f3f3f3;
	box-sizing: border-box;
}
.test_info form dl dt{
	width: 5.0em;
	float: left;
	font-weight: bold;
}
.test_info form dl dd{
	padding-left: 6.0em;
	margin-bottom: 0.5em;
}
.test_info form dl dd::after{
	clear: both;
	visibility: hidden;
	height: 0;
	display: block;
	content: '';
}
.test_info form dl dd select[name="pref"]{
	width: 45%;
}
.test_info form dl dd select[name="year"]{
	width: 45%;
}
.test_info form dl dd select[name="month"]{
	width: 45%;
}
.test_info form p.buttons{
	text-align: center;
}
.test_info table.result{
	width: 100%;
}
.test_info table.result th{
	font-weight: bold;
	color: #ffffff;
	background: #000000;
}
.test_info table.result tr td{
	border-left: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
	border-top: none;
	border-bottom: none;
	background: #ffffff;
}
.test_info table.result tr:nth-of-type(odd) td{
	background: #f9f9f9;
}
.test_info table.result tr:last-of-type td{
	border-bottom: 1px solid #e0e0e0;
}

.wp-pagenavi{
	text-align: center;
	padding: 20px 0;
	margin-bottom: 20px;
}
.wp-pagenavi > *{
	display: inline-block;
	border: 1px solid #ccc;
    padding: 8px 10px;
    margin: 0 2px 5px;
    font-size: 15px;
    min-width: 20px;
    display: inline-block;
	text-align: center;
	color: #9E9E9E;
}
.wp-pagenavi .current{
	opacity: 0.5;
}
/* Company */
#company_data dt{
	float: left;
	padding: 0.5em;
	font-weight: bold;
}
#company_data dd{
	margin-bottom: 0.5em;
	padding: 0.5em 0.5em 0.5em 10.0em;
	border-bottom: 1px solid #eeeeee;
}
#company_data dd::after{
	content: '';
	clear: both;
	height: 0;
	visibility: hidden;
	display: block;
}

/* Sitemap */
ul#sitemap{
	list-style: none;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	flex-wrap: wrap;
	padding: 0;
}
ul#sitemap li{
	width: 48%;
	margin: 0 1% 0.5rem;
	border: 1px solid #eeeeee;
	padding: 0.5em 1.0em;
	position: relative;
	box-sizing: border-box;
}
ul#sitemap li a{
	font-weight: bold;
	color: #000000;
	clear: both;
}
ul#sitemap li a::after{
	content: '\f105';
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	float: right;
}
/* Contact */
.mw_wp_form dl dd:not(:last-of-type){
	border-bottom: #dbdbdb 1px solid;
}
.mw_wp_form button{
	width: 10.0em;
	padding: 0.3em 0;
	text-align: center;
	margin: 0 auto;
}
.mw_wp_form button.button_confirm,
.mw_wp_form button.button_submit{
	background-color: #ea3d00;
	color: #ffffff;
}
.mw_wp_form #select_start{
	width: 16.0em;
}
input.radio_payment{
	float: left;
}
input.radio_payment + span.mwform-radio-field-text{
	padding-left: 1.5em;
	display: block;
}
/* Sidebar */
.widget_simple_ga_ranking ol{
	list-style-position: inside;
}
.widget_simple_ga_ranking li{
	position: relative;
	font-size: 0.8rem;
	margin-bottom: 0.5em !important;
}
.widget_simple_ga_ranking li::marker{
	/* position: absolute;
	background: #000000; */
	color: #000000;
	font-weight: bold;
	font-size: 0.7rem;
	/* text-align: center;
	width: 1.5em;
	height: 1.5em;
	line-height: 1.5; */
}

.widget_simple_ga_ranking li:nth-of-type(1)::marker{
	color: #ffd700;
}
.widget_simple_ga_ranking li:nth-of-type(2)::marker{
	color: #c0c0c0;
}
.widget_simple_ga_ranking li:nth-of-type(3)::marker{
	color: #815a2b;
}


.widget_my_pickup_widget_id001 dl dt{
	width: 80px;
	float: left;
}
.widget_my_pickup_widget_id001 dl dd{
	padding-left: 95px;
	font-size: 0.8rem;
}
.widget_my_pickup_widget_id001 dl dd::after{
	clear: both;
	height: 0;
	display: block;
	visibility: hidden;
	content: '';
}
div[id^="my_latest_widget_id001"] dl{
	overflow: hidden;
}
div[id^="my_latest_widget_id001"] dl.outer dt{
	width: 100px;
	float: left;
}
div[id^="my_latest_widget_id001"] dl.outer dt ul li{
	font-size: 0.7rem;
}
div[id^="my_latest_widget_id001"] dl.outer dd{
	padding-left: 110px;
	font-size: 0.8rem;
}
div[id^="my_latest_widget_id001"] dl.inner dt{
	width: 100%;
	float: none;
	border-top: 1px solid #eeeeee;
	font-size: 0.7rem;
	padding: 0.5em 0;
	font-weight: bold;
}
div[id^="my_latest_widget_id001"] dl.inner dd{
	padding: 0 0 0.5em;
}

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
	.post-type-archive-book .entry-content,
	.single-book .entry-content{
		display: block;
	}
	.post-type-archive-book .entry-content .left,
	.single-book .entry-content .left{
		display: block;
		width: 100%;
	}
	.post-type-archive-book .entry-content .right,
	.single-book .entry-content .right{
		display: block;
		width: 100%;
	}
	.mw_wp_form dl dt{
		padding: 1.0em 0 0.5em;
	}
	.mw_wp_form dl dd{
		padding: 0 0 0.5em;
	}
	.backnumber ul.articles::after{
		content: '';
		width: 48%;
	}
	.backnumber ul.articles li{
		width: 48%;
		text-align: center;
		margin-bottom: 1.0em;
	}
	.test_info table.result{
		width: 100%;
		display: block;
		overflow-x: scroll;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
	}
	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {
	.entry-content .cont{
		line-height: 30px !important;
		font-size: 20px !important;
		margin-bottom: 20px !important;
	}

	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {
	header .smanone ul.menu{
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
	}

	/* Contact */
	.mw_wp_form dl dt{
		float: left;
		width: 12.0em;
		padding: 1.5em 0 0;
	}
	.mw_wp_form dl dd{
		padding: 1.0em 0 1.0em 14.0em;
	}
	.mw_wp_form dl dd::after{
		visibility: hidden;
		height: 0;
		display: block;
		clear: both;
		content: '';
	}
	.entry-content .cont{
		line-height: 27px !important;
		font-size: 15px !important;
		margin-bottom: 20px !important;
	}
	.wp-pagenavi > *{
		padding: 7px 8px;
	}
	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {
	.post ul.gallary{
		margin: 0 auto 2.0em;
	}
	.post ul.gallary::after{
		content: '';
		width: 80%;
	}
	.post ul.gallary li{
		width: 80%;
		margin-left: auto;
		margin-right: auto;
	}
	.post ul.gallary li p{
		font-size: 0.8em;
		line-height: 1.1;
	}
	/*-- ここまで --*/
}
