@charset "UTF-8";

/* 全体設定 */

html * {
	box-sizing: border-box;
}


body {
	font-size: 16px;
	font-family: メイリオ, 'Hiragino Kaku Gothic ProN', Meiryo, Helvetica, Arial, sans-serif;
	margin: 0px 3px;

}

a {
	color: var(--a-color);
}

ul li {
	margin-bottom: 6px;
}


.main-col {
	padding: 5px 10px;
}

/*----- 変数設定  -----*/



:root {
	
	/* メインカラー  */
	--main-color: #A1A46D;
	
	/* h2, h3 カラー*/
	--h-color: #A1A46D;
	
	/* リンク カラー */
	--a-color: #3344ff;
	

}

/*

#007bbb  紺碧こんぺき（青に近い）

#3344ff  濃いめのブルー
#2098A8  薄い青

#3FA4F1  水色
#1A73E8  水色と青の間

#58CE91  薄緑
#a1a46d  柳茶やなぎちゃ
#f39800  金茶きんちゃ

#EC9B00  オレンジ
*/





/*----- レイアウト用 -----*/

.main-container {
	display: flex;
	justify-content: flex-start
}

.main-col {
	flex: 1 1 auto;
	
	order: 1;
	margin: 10px 5px 5px auto;
	
/*	order: 1; */
/*	margin: 10px 5px 5px auto; */
	
	padding: 15px;
/* 	border: 1px solid #D6D6D6; */
	max-width: 770px;
	border-radius: 7px;
}

#sidebar {
	flex: 0 0 320px;
	
	order: 2;
	margin: 10px auto 5px 5px;

	
/*	order: 2; */
/*	margin: 10px auto 5px 3px; */
	
	padding: 10px 5px;
	border-left: 1px solid #D6D6D6;
/* 	border-radius: 7px; */


  @include tab {
    width: 95%;
    margin: 10px auto 5px auto;
  }
}



/* 650px 以下 */
@media screen and (max-width: 800px){
	
	.main-container {
		display: block;
	}

	.main-col {
	    width: 95%;
	    margin: 10px auto 5px auto;
	}
	
	#sidebar {
	    width: 95%;
	    margin: 10px auto 5px auto;
	}
	
	main {
		margin-left: 3px;
	}


}


#sidebar {
	margin-left: 3px;
	font-size: 17px;
	background-color: white;
}


#sidebar ul {
	list-style: none;
	padding-left: 0px;
	background-color: white;
	margin-left: 10px;

}

#sidebar li {
	margin-top: 6px;
	margin-bottom: 9px;
	
}

#sidebar .genre {
	padding: 5px 5px;
	font-weight: bold;
	font-size: 17px;
	background-color: var(--h2-color);

	color: black;
}

/*

#sidebar genre {
	padding-left: 5px;
	font-weight: bold;
	font-size: 17px;
	border-bottom: 2px solid silver;
}
*/

#sidebar ul.circle {
	list-style: circle;
	padding-left: 1em;
}


/* 楽天の広告 サイドバー  */
div.rakuten-side {
	margin: 20px;
/* 	position: sticky; */
/* 	top: 10px; */
}

div.amazon-furusato {
	margin: 20px;
}

/* レスポンシブ */
/*
@media (max-width : 800px){
	div.rakuten-side{
		position: static; 
		top: auto; 
	}
}
*/
#header {
	margin: 0;
	padding: 5px 0px 5px 10px;
	width: 100%;
/* 	height: 60px; */
	border-top: 5px solid var(--main-color);
	border-bottom: 1px solid silver;
	text-align: left;
}

#header a {
	font-size: 26px;
	font-weight: bold;
	color: var(--main-color);
	text-decoration: none;
}

div.header-inner {
	margin-left: auto;
	margin-right: auto;
	max-width: 1060px;
}

/* 820px 以下 */
@media screen and (max-width: 820px){

	#header a {
		font-size: 18px;
	}
  
}

/* 650px 以下 */
@media screen and (max-width: 650px){

	#header a {
		font-size: 16px;
	}
  
}

/* ---------------------- */
/* 見出し（ヘッドライン） */
/* ---------------------- */

h1 {
	font-size: 24px;
	font-weight: bold;
	padding-bottom: 8px;
	margin: 12px 2px 20px 2px;
	border-bottom: 1px solid silver;
}

h2 {
	font-size: 20px;
	padding: 7px 10px;
	margin: 1em 0;
	background-color: var(--h-color);
	color: #FFFFFF;
}

h2.addition {
	background-color: white;
	color: #000000;
	border: solid 8px var(--h-color); 
}


h3 {
	border-left: solid 4px var(--h-color); 
	font-size: 16px;
	padding: 3px 10px;
	border-bottom: 1px solid silver;
}
h4 {
  margin: 15px 0 0 0;
  padding: 1px 0px;
  font-size: 18px;
  
}
h4::before {
	content: "■ ";
}


h5 {

}












/*----- パンくずリスト用  -----*/

.breadcrumb {
  margin: 0;
}
.breadcrumb ul {
  display: flex;
  padding-left: 5px;
  margin: 0;

}

.breadcrumb ul li {
  display: block;
}/*----- toc 用  -----*/

#toc {
  width: auto;
/*  border: 2px solid var(--main-color); */
  border: 1px solid gray;
  display: table;
  padding: 1em 1.2em;
  margin-bottom: 1em;
  font-size: 0.98em;
/*  background-color: #f9f9f9; */

}



#toc li {
/*	list-style: none; */
	margin-bottom: 9px;
}


.toc-title {
/*  text-align: center; */
  font-weight: bold;
  padding-left: 10px;
}

.toc-content ul {
  padding-left: 1em;
  list-style-type: circle;
}

#toc li.toc-h2::before {
	content: "";
}

#toc .toc-h3 {
	margin-left: 0.5em;
}

#toc li.toc-h3 {
	list-style: none;
}

#toc li.toc-h3::before {
	content: "・";
}


.toc-content a {
  color: #2098A8;
  text-decoration: none;
}

.toc-content a:hover {
	text-decoration: underline;
}


ul {
	padding-left: 1.5em;
}

.list-mb-3 li{
	margin-bottom: 3px;
}


/*  ランキング用 設定  */

.ranking {
	counter-reset: h2_count li_count;

}

.ranking h2 {
	font-size: 20px;
}

.ranking h2:before {
  counter-increment: h2_count;  /* カウンタの値を計算していく */
  content: ""counter(h2_count)"位. "; /* 数字出力 */
  color: gold;               /* 文字色指定 */
  font-weight: bold;
  margin-right: 2px;            /* 余白指定 */
}

.ranking #toc ul {
    list-style:  none;          /* デフォルトのアイコンを消す */
}

/*
.ranking .toc-content li:before {
  counter-increment: li_count;  
  content: ""counter(li_count)"位. "; 
  color: #F44336;              
  font-weight: bold;
  margin-right: 5px;
}
*/

.ranking #toc ul li:before {
  counter-increment: li_count;  
  content: ""counter(li_count)"位. "; 
  color: #0a0a0a;              
  font-weight: bold;
  margin-right: 2px;
}

.ranking #toc ul li.no-rank:before {

  content: ""; 
  color: #0a0a0a;              
  font-weight: normal;
  margin-right: 2px;
}
/* アフィリエイト用 */

.aff-contents {
	border: 1px solid silver;
	display: flex;
	margin: 10px;
}


.aff-left{
	min-width: 110px;
	max-width: 120px;
	margin: 3px 5px 3px 3px;
}

.aff-left img {
/* 	max-height: 160px; */
	height: 160px;
}


.aff-right {
/* 	border: 1px solid gray; */
	padding-left: 1em;
}

.aff-title {
	margin: 10px 3px;
	font-size: 1.1em;
	font-weight: bold;
}

.aff-title a {

	color: #0066CC;
	font-size: 1.1em;
	font-weight: bold;
}

.aff-info {
	margin-bottom: 5px;
}

.aff-info pre{
	border: none;
	background-color: white;
}


.aff-button {
	width: 140px;
	height: 40px;
	margin: 5px;
	display: inline-block;
	text-align: center;
	line-height: 40px;
	font-weight: 600;
	color: white;
	border-radius: 5px;
	text-decoration: none;
}

.aff-button:hover {
	text-decoration: underline;
}


.aff-amazon {
	background-color: darkorange;
}

.aff-rakuten {
	background-color: #BF0000;
}

.aff-review {
	margin: 3px 2px 7px 2px;
}
.aff-review a {
	color: #0066CC;
}


/* サイドバー ASPバナー広告 */
# ad-asp-side{
	margin: 10px auto;
}


/* 500px 以下 */
@media screen and (max-width: 500px){
	
	.aff-contents {
		display: block;
	}
	
	.aff-left {
		margin: 5px auto;
	}
}

/* blockquote用 */

blockquote{
    border:1px solid silver;
    background-color: #e5e6f4;
    border-radius:5px;
    padding:5px;
    margin: 5px 10px;
}

blockquote p{
  padding: 5px 5px;
  margin: 5px 5px;
  
}

blockquote cite{
  display: block;
  font-size:0.8rem;
  color:gray;
  text-align:left;
  padding:5px;
}








/* ボーダー */
.so {
	border: 1px solid silver;
}

.so2 {
	border: 1px solid silver;
	padding: 5px;
}

.so3 {
	border: 1px solid silver;
	padding: 7px 10px;
	background-color: #FFFBF0;
}


.so-g {
	border: 1px solid silver;
	padding: 7px 10px;
	background-color: whitesmoke;
}

.so-p {
	border: 1px solid silver;
	padding: 7px 10px;
	background-color: #FFFBF0;
}

.so-y {
	border: 1px solid silver;
	padding: 7px 10px;
	background-color: #ffffbf;
}/* ボックス用 */

.mt-10 {
	margin-top: 10px;
}


.mb-10 {
	margin-bottom: 10px;
}

.ml-10 {
	margin-left: 10px;
}


.scroll {
	overflow: auto;
}

/*  aff-ama-rank 設定  */


div.aff-ama-rank-info {
	background-color: midnightblue  ;
	color: white;
	margin-top: 30px;
	padding: 2px;
}



div.aff-ama-rank-frame {
	display: flex;
	flex-flow:wrap;
/* 	justify-content: space-between; */
	justify-content: start;
	

	padding: 5px;
	border: 1px solid silver;
	max-height: 380px;
	overflow: scroll;
}

div.aff-ama-rank-box {
	width: 170px;
/* 	border: 1px solid silver; */
	margin: 0px 0px 3px 0px;
	padding: 3px;
}

div.aff-ama-rank-box a {
	text-decoration: none;
}

div.aff-ama-rank-image {
	text-align: center;
}

div.aff-ama-rank-image span {
	vertical-align: top;
}
div.aff-ama-rank-image img{
	height: 120px;
}


div.aff-ama-rank-title:hover {
	text-decoration: underline;
}

div.aff-ama-rank-ranking{
	text-align: center;
}
div.aff-ama-rank-ranking span{
	font-size: 13px;
/* 	color: #c45500; */
	color: white;;
	background-color: #c45500;
	padding: 0px 5px;
}

div.aff-ama-rank-title {
	font-size: 13px;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

div.aff-ama-rank-author {
	font-size: 12px;
	color: black;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

div.aff-ama-rank-category {
	font-size: 12px;
	color: black;
}

div.aff-ama-rank-price {
	font-size: 13px;
	color: #B12704;
}


/* ボタン */

/* リセット */
.cls-btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 0;
	
}

.cls-btn {

/*   position: relative; */
  display: inline-block;
  padding: 0.25em 0.5em;
  text-decoration: none;
  color: #FFF;
  background: #fd9535;/*背景色*/
  border-bottom: solid 2px #d27d00;/*少し濃い目の色に*/
  border-radius: 4px;/*角の丸み*/
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
  font-weight: bold;
}

.cls-btn:hover {
	opacity: 0.9;

}


.cls-btn:active {
  /*押したとき*/
  -webkit-transform: translateY(3px);
  transform: translateY(3px);/*沈むように*/
  border-bottom: solid 2px #fd9535;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}


/* ------ Red  ---------------- */

/* リセット */
.cls-btn-red {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 0;
	
}

.cls-btn-red {

/*   position: relative; */
  display: inline-block;
  padding: 0.25em 0.5em;
  text-decoration: none;
  color: #FFF;
  background: #ef3f00;/*背景色*/
  border-bottom: solid 2px #d27d00;/*少し濃い目の色に*/
  border-radius: 4px;/*角の丸み*/
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
  font-weight: bold;
}

.cls-btn-red:hover {
	opacity: 0.88;

}


.cls-btn-red:active {
  /*押したとき*/
  -webkit-transform: translateY(3px);
  transform: translateY(3px);/*沈むように*/
  border-bottom: solid 2px #fd9535;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}/* フォーム部品の背景色を変更する */

.form-bgc {
	background-color: lemonchiffon;
/* 	border: 1px solid blue; */
	
}
.time-stamp {
	font-size: 0.95rem;
	text-align: right;
	margin: 0px 5px;
}
dd {
	margin-bottom: 5px;
}

/* 関連ページ用 */

div.relation {
	border-top: 1px solid silver;
	padding-top: 10px;
	margin-top: 10px;
	
}


#footer {
	margin: 0px;
	padding: 10px 1px;
	width: 100%;
	min-height: 50px;
	border-top: 1px solid silver;
	border-bottom: 5px solid var(--main-color);
	
/*	background-color: var(--main-color); */
	color: black;
/* 	font-size: 14px; */
/* 	text-align: center; */
/* 	position: relative; */
	
}
div.footer-inner {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

footer {
	margin: 0px;
	padding: 10px 1px;
	width: 100%;
	min-height: 50px;
	border-top: 1px solid silver;
	border-bottom: 5px solid var(--main-color);
	color: black;
	text-align: center;
}

footer div {
	margin: 3px;
}
/* アドセンス ------------------------------ */
#google_top {
	margin-top: 15px;
	margin-bottom: 20px;
	max-height: 200px;
}

.ad_text {
/*	font-weight: bold; */
	margin-top: 10px;
}

#google_bottom {
	margin-top: 20px;
	margin-bottom: 20px;
	max-height: 350px;
}

#google_middle {
	margin-top: 30px;
	margin-bottom: 30px;
	max-height: 350px;
}

#google_sidebar {
	margin: 20px auto;
/* 	position: sticky; */
/* 	top: 20px; */
}



div.ad-sidebar {
/* 	max-height: 50px !important; */
	margin-bottom: 10px;
}





/* 2つ並べる場合、flexを設定 */
/*
#google_bottom {
	display: flex;
	flex-wrap: wrap;
}
*/


/* ２つ並べる */

#ad_bottom_left, #ad_bottom_right{
	margin-left: 10px !important;
	margin-bottom: 10px;
    max-width: 336px;
    width: 336px; 
	border: 1px solid silver;
}


/* レスポンシブ */

@media (max-width : 1080px){
	#ad_bottom_right{
		display: none;
	}
	
}

@media (max-width : 800px){
	#google_sidebar{
		display: none;
	}
}



/* 部分インデックスのリスト<li>用の margin-bottom */
.idx-part ul li {
	margin-bottom: 8px;
}




img {
	max-width: 100% !important;
}



/* 目次 */
pre.book-mokuzi {
	font-family: inherit; /* 親要素からフォントを継承 */
	white-space: pre-wrap; /* 折り返す */
	word-break: break-all; /* 文字間であっても右端で改行される（レスポンシブ向き） */
	padding-left: 3px;
}


/* .review 用 */

blockquote.review {
    border:1px solid silver;
    background-color: #F5F8FA;
    border-radius:3px;
    padding:5px;
    margin: 5px 5px;
}


div.review-add {
/* 	text-align: right; */
	margin-right: 5px;
	font-size: 0.95em;
}




/* ----- テーブル用 --------- */

/************************************
** テーブル（Table）
************************************/
table{
	border-collapse: collapse;
	margin: 15px 0;
	max-width: 100%;
	width: auto;
}

th{
	border: solid 1px #ccc;
	background-color: #eee;
}

td{
	border: solid 1px #ccc;
}

th, td{
	padding: 3px 8px;
}

.bg-color2 {
	background-color: snow;
}


.red {
	color: red !important;
}

.re {
	color: red;
}

.g {
	color: green;
}

.bo {
	font-weight: bold;
}

em {
	color: #e00;
	font-weight: bold;
	font-style: normal;
}

.green {
	color: green;
}

.ym {
	background: linear-gradient(transparent 70%, #ffd700 30%);
}

/*----- timer 用  -----*/



/* 下のリスト用  */

.timer-list {
	max-width: 400px;
/* 	margin-top: 40px; */
	display: flex;
	flex-flow: wrap;
	list-style: none;
	padding-left: 0;
}
.timer-list li{
	width: 130px;
}











.genre-frame {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.genre-outer {
  width: 220px;
  height: 160px;
  margin: 5px 5px;
  border-radius: 5px;
  border: 1px solid silver;
  position: relative;
}
.genre-inner {
	width: 80%;
	margin-top: 3px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
.genre-text {
	text-align: center;
	font-weight: bold;
}


/* 900px 以下 */
@media screen and (max-width: 900px){

.genre-outer {
  width: 150px;
  height: 150px;
  margin: 5px 5px;
}
  
}



/* アンカーリンク */

.no-underline a {
	text-decoration: none;
	color: var(--a-color);
}

.no-underline a:hover {
	text-decoration: underline;
}

ul.no-underline {
	list-style-type: circle;
}


a.underline {
	text-decoration: underline;
}

