/*
Theme Name: WING-AFFINGER5 Child
Template: affinger5
Description: ver20180717以上対応
Version: 20180717
*/



/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {


	/*-- ここまで --*/
}
	
/*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) {


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

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {


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

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

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


/*--------------------------------
フォント装飾
---------------------------------*/

.top_box {
	border: 1px solid #BDBDBD;
	padding: 1px 10px 10px 10px;
}


.fred {
	color: #ff0000;
}

.fredb {
	font-weight: bold;
	background: linear-gradient(rgba(255,205,210,0) 50%, #ffcdd2 60%);
}

.fblue {
	color: #0000ff;
}

.fblueb {
	color: #0000ff;
	font-weight: bold;
}

.bgyellow {
	font-weight: bold;
	background: linear-gradient(rgba(253,255,181,0) 50%, #FDFFB5 60%);
}






/*--------------------------------------
  カエレバ
--------------------------------------*/
.booklink-box, .kaerebalink-box {
    font-family:'Lucida Grande','Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    padding: 22px 25px 22px 25px;
    width: 94%;
    margin: 0 auto 15px;
    box-sizing: border-box;
    text-align: center;
}
.booklink-image, .kaerebalink-image {
    width: 100%;
    margin: 0 0 5px 0;
}
.booklink-image img, .kaerebalink-image img {}
.booklink-info, .kaerebalink-info {
    line-height: 125%;
    width: 100%;
}
.booklink-name, .kaerebalink-name {
    margin: 0 0 4px 0;
}
.booklink-name a, .kaerebalink-name a {
    color: #0066cc;  
    text-decoration: underline;
}
.booklink-name > a, .kaerebalink-name > a {
    font-size: 16px; 
}
.booklink-name a:hover, .kaerebalink-name a:hover {
    color: #FF9900;
}
.booklink-powered-date, .kaerebalink-powered-date {
     font-size: 8px;
}
.booklink-detail, .kaerebalink-detail {
    color: #333333; 
    font-size: 12px; 
    margin: 0 0 10px 0;
}
.booklink-link2, .kaerebalink-link1 {}
.booklink-link2 a, .kaerebalink-link1 a {
    width: 90%;
    display: block;
    margin: 0px auto 8px;
    padding: 10px 1px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
     border-radius: 5px; 
    
    
}
.booklink-link2 a:hover, .kaerebalink-link1 a:hover {
    opacity: 0.6;
}

@media screen and (min-width: 800px) {

.booklink-box, .kaerebalink-box {
    text-align: left;
    display: table;
}
.booklink-image, .kaerebalink-image {
    vertical-align: top;
    box-sizing: border-box;
    display: table-cell;
    width: 111px;
    text-align: center;
    margin: 0;
}

.booklink-image img, .kaerebalink-image img {
    max-width: 100%
}

.booklink-info, .kaerebalink-info {
    line-height: 125%;
    vertical-align: top;
    box-sizing: border-box;
    display: table-cell;
    padding-left: 25px;
    width: auto;
}

.booklink-name, .kaerebalink-name {
    margin: 0 0 24px 0;
}

.booklink-name > a, .kaerebalink-name > a {
    font-size: 16px; 
}

.booklink-powered-date, .kaerebalink-powered-date {
    margin: 6px 0 0 0;
}

.booklink-detail, .kaerebalink-detail {
    margin: 0 0 14px 0;
}

.booklink-link2 a, .kaerebalink-link1 a {
    width: auto;
    text-align: center;
    margin: 0;
}

.booklink-link2 > div, .kaerebalink-link1 > div {
    width: 33.33%;
    padding: 0 5px 5px 0;
    box-sizing: border-box;
    float: left;
}

}

.shoplinkamazon a {
    color: #ffffff;
    background: #ff9901;
    border: 2px solid #ff9901;
}
.shoplinkrakuten a {
    color: #ffffff;
    background: #bf0000;
    border: 2px solid #bf0000;
}
.shoplinkyahoo a {
    color: #ffffff;
    background: #ff0033;
    border: 2px solid #ff0033;
}


/*グローバルメニューの幅*/


header .smanone ul.menu li{
	list-style-type:none;
	float:left;
	width: 180px;
	height:40px;
	text-align:center;
	border-right:solid 1px #f3f3f3;
	position:relative;
}



/*--------------------------------
フリーのウィジェットボックス
---------------------------------*/

.freebox {
	border:solid 1px #7CB342;
	border-radius: 4px;
	padding:10px 0;
	background:#ffffe0;
	margin-bottom:10px;
	font-size: 15px;
	line-height: 25px;
	margin-bottom: 20px;
	position:relative;
}

.ad .freebox {
	margin-bottom: 0px;
}

.p-free {
	padding:0;
	}

.p-free:after {
	content: "";	
	display:block;
	margin-bottom:30px;
	}

.p-entry-f {
	padding:3px 20px;
	margin:0;
	font-size:15px;
	font-weight:bold;
	background:#FEB20A;
	color:#fff;
	position:absolute;
	top:0;
	left:0;
	max-width:80%;
}

.free-inbox {
	padding:10px 15px 10px;
	text-align:left;
}

.textwidget {
	text-align: center;
}


.freebox-red {
	border:solid 1px #ef5350;
	border-radius: 4px;
	padding:10px 0;
	background:#ffebee;
	margin-bottom:10px;
	font-size: 15px;
	line-height: 25px;
	margin-bottom: 20px;
	position:relative;
}

.p-entry-f-red {
	padding:3px 20px;
	margin:0;
	font-size:15px;
	font-weight:bold;
	background:#ef5350;
	color:#fff;
	position:absolute;
	top:0;
	left:0;
	max-width:80%;
}

.freebox-navyblue {
	border:solid 1px #1A5487;
	border-radius: 4px;
	padding:10px 0;
	background:#f3f3f3;
	margin-bottom:10px;
	font-size: 15px;
	line-height: 25px;
	margin-bottom: 20px;
	position:relative;
}

.p-entry-f-navyblue {
	padding:3px 20px;
	margin:0;
	font-size:14px;
	font-weight:bold;
	background:#1A5487;
	color:#fff;
	position:absolute;
	top:0;
	left:0;
	max-width:80%;
}

/*****************************************************************************/
/* 補足情報ボックス */
/*****************************************************************************/
.point_box {
	position: relative;
	margin: 40px 0 30px;
	padding: 25px 20px 20px;
	border-radius: 10px;
	border: solid 2px #4CAF50;
	background-color: #EAFFEA;
	font-size: 14px;
	clear: both;
}

.point_box:before {
	position: absolute;
	left: 15px;
	top: -15px;
	content: '\f0eb';
	z-index: 2;
	width: 32px;
	height: 32px;
	padding-top: 3px;
	border-radius: 16px;
	box-sizing: border-box;
	background-color: #4CAF50;
	color: #ffffff;
	font-family: 'FontAwesome';
	font-size: 26px;
	line-height: 1;
	text-align: center;
}

.point_box:after {
	position: absolute;
	left: 32px;
	top: -8px;
	z-index: 1;
	content: 'POINT';
	padding: 3px 10px 3px 20px;
	border-radius: 5px;
	background-color: #4CAF50;
	color: #ffffff;
	font-family: Verdana, Helvetica, sans-serif;
	font-weight: bold;
	line-height: 1;
}

.point_box ul {
	margin-bottom: 0;
}

/*****************************************************************************/
/* 注意書きボックス */
/*****************************************************************************/
.attention_box {
	position: relative;
	margin: 40px 0 30px;
	padding: 20px;
	border-radius: 10px;
	border: dotted 2px #ff0000;
	background-color: #ffefef;
	font-size: 14px;
}

.attention_box:before {
	position: absolute;
	left: 20px;
	top: -15px;
	content: '\f071';
	background-color: #ffffff;
	color: #ff0000;
	font-family: 'FontAwesome';
	font-size: 26px;
	line-height: 1;
}

.attention_box ul {
	margin-bottom: 0;
}


/*****************************************************************************/
/* 薄青ボックス */
/*****************************************************************************/
.bluebox {
	padding:20px;
	border:solid 1px #58acfa;
	background-color:#effbfb;
	margin-bottom:20px;
	font-size: 15px;
	line-height: 25px;
}


/*****************************************************************************/
/* 767px以下の場合は目次サイズを14pxに設定(7インチクラスのタブレット以下) */
/*****************************************************************************/
@media (max-width: 767px) {
	#toc_container .toc_list > li > a {
		font-size: 14px;
	}
	#toc_container ul a {
		font-size: 14px;
	}
}


/* テーブルの見出しの背景色 */
table th {
	background-color: #f0f7e9 !important;
	line-height: 25px !important;
	padding: 10px !important;
	font-weight: bold !important;
}


/*****************************************************************************/
/* テーブルの1行目と1列名を固定表示にする */
/*****************************************************************************/
.table-first-line-row-fixed {
	overflow: auto;
	width: 100%;
	margin-bottom: 20px;
}
.table-first-line-row-fixed > table {
	white-space: nowrap;
	margin-bottom: 0;
}

.table-first-line-row-fixed table tr th:first-child {
  position: sticky;
  position: -webkit-sticky;
  left: 0;
}
@media (max-width: 1039px) {
	.table-first-line-row-fixed::-webkit-scrollbar {
	 	width: 5px;
		height: 5px;
	}
	.table-first-line-row-fixed::-webkit-scrollbar-thumb{
		background: #666666;
		border-radius: 3px;
	}
	.table-first-line-row-fixed::-webkit-scrollbar-track-piece:start{
		background: #666666;
	}
	.table-first-line-row-fixed::-webkit-scrollbar-track-piece:end{
		background: #ffffff;
	}
}

/*****************************************************************************/
/* テーブルのフォントサイズを12pxに指定 */
/*****************************************************************************/
.table-custom-font-size th {
	font-size: 12px !important;
	line-height: 18px !important;
	padding: 10px !important;
}

.table-custom-font-size td {
	font-size: 12px !important;
	line-height: 18px !important;
	padding: 7px !important;
}

/*****************************************************************************/
/* ヘッダーメニュー中央寄せ */
/*****************************************************************************/
@media print, screen and (min-width: 960px) {
header .smanone ul.menu {
display:flex; /*フレシキブルボックス化*/
justify-content:center; /*中央寄せ*/
}
}