@charset "utf-8";
/*
Theme Name: kanrikuweb
Description: フロント＝注意書き。固定ページあり、サブページなし。固定ページ2カラム、ブログ3カラム。ハンバーガー＝サイドバー
Author: satomiya
Version: 20201020
*/

/*==========　レイアウト　==========*/
body {
	font-family: "メイリオ","Hiragino Kaku Gothic ProN", sans-serif;
	-webkit-text-size-adjust: 100%;
	line-height: 1.6;
	background: #efefef url(images/bg.jpg);
	color: #333;
	padding: 20px;
}
article {
	clear: both;
	overflow: hidden;
	background: /* 上位記述ほど前面表示 */
		url(images/no-img_bg.png) top right no-repeat,
		rgba(255,255,255,0.5);
	border-radius: 10px;
	padding: 10px;
}
section {
	clear: both;
	overflow: hidden;
	background-color: rgba(255,255,255,0.5);
	border-radius: 10px;
	padding: 10px;
	margin-top: 10px;
}
#main,
#side {
	clear: both;
	overflow: hidden;
	margin-bottom: 40px;
}
#side2 {
	display: none;
}
/* レスポンシブ（PCでは3カラム）*/
@media screen and (min-width:1030px) {
	article {
		padding: 20px;
	}
	section {
		padding: 20px;
		margin-top: 20px;
	}
	#side2 {
		display: block;
	}
	#wrap {
		display: flex;
	}
	header {
		width: 300px;
		padding: 0 20px 0 0;
	}
	#wrap2 {
		flex: 1;
	}
	#contents {
		display: flex;
	}
	#side {
		width: 250px;
		padding: 0 0 0 20px;
	}
	#main {
		flex: 1;
		flex-shrink: 0;
	}
}

/*==========　見出し　==========*/
h1{		/* サイトタイトル */
}
h2 {	/* ページタイトル・article見出し */
	font-size: 150%;
	line-height: 1.2;
	padding: 30px;
	margin: 1em 0;
	background: /* 上位記述ほど前面表示 */
		url(images/chuka50.gif) repeat-x bottom,
		url(images/chuka50.gif) repeat-x top;
}
h3 {	/* section見出し */
	font-size: 130%;
	line-height: 1.2;
	padding: 0 0 10px 0;
	margin: 1em 0;
	background:url(images/chuka_line.png) repeat-x bottom;
}
h4 {	/* セクション内サブサブタイトル */
	font-weight: bold;
	color: #990000;
	margin: 2em 0 1em 0;
}
h5 {	/* 10の質問とか */
	font-weight: bold;
	border-left: solid 5px #666;
	border-bottom: dotted 1px #666;
	margin: 10px 0;
	padding: 3px 0 0 8px;
}

/*==========　一般　==========*/
a {
	text-decoration: none;
	color: #cc0000;
}
a:hover {
	opacity: 0.5;
}
img {
	border: none;
    max-width: 100%;
}
li {
	list-style: none;
}
table {
	border-collapse: collapse;
}
th {
	font-weight: normal;
	background-color: rgba(0,0,0,0.2);
}
td {
	background-color: rgba(255,255,255,0.5);
}
th,td {
	padding: 5px 10px;
	border: solid 1px #999;
	word-wrap: break-word;     /*セルからはみ出してゆくリンクを改行させる*/
}

/*==========　汎用ID・クラス　==========*/
.top10 {margin-top: 10px;}
.top20 {margin-top: 20px;}
.top30 {margin-top: 30px;}
.top40 {margin-top: 40px;}
.top50 {margin-top: 50px;}
.top60 {margin-top: 60px;}

.t-right {text-align: right;}
.f-right {float: right;}
.f-left {float: left;}

@media screen and (min-width:1030px){.out_pc {display: none;}}
@media screen and (max-width:1030px){.out_sp {display: none;}}

.fas {
	color: #888;
	padding: 0 2px;
}

/*==========　フッター　==========*/
footer {
	clear: both;
}
#copyright {
	font-size: 70%;
	text-align: center;
}
#pagetop {
	position: fixed;
	bottom: 10px;
	right: 10px;
	width: 80px;
	height: 80px;
	text-align: center;
	line-height: 110%;
    font-size: 11pt;
	background: url(images/chuka_hisi.png) no-repeat;
}
#pagetop a {
    text-decoration: none;
	color: #fff;
	display:inline-block;
	vertical-align: middle;
    padding: 12px 0 0 0;
}


/*==========【header】==========*/
.logo {
	margin: 0 0 20px 0;
}
.description {
	font-size: 70%;
	margin: 0 0 -20px 0;
	padding: 0 0 0 46px;
}
.breadcrumbs {
	clear: both;
	font-size: 70%;
	margin: 0 0 20px 0;
}
.menu a {
	display: block;
	padding: 12px 0 10px 10px;
	color: #333;
	font-weight: bold;
	border-bottom: 1px dotted #666;
}
.menuicon {
	padding: 20px 0;
}
.menuicon img {
	width: 30%;
	margin: 1%;
}
/*-----　ハンバーガーボタン　-----*/
#nav_toggle{
	display: none;
	position: absolute;
	z-index: 20;
}
/*　レスポンシブ　*/
@media screen and (max-width:1030px){
#nav_toggle {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 80px;
	height: 80px;
	display: block;
	color: #fff;
	text-align: center;
	background: url(images/chuka_hisi.png) no-repeat;
}
#nav_toggle div {
	position: relative;
	padding: 16px;
}
#nav_toggle span {
	display: block;
	height: 3px;
	background: #fff;
	position:absolute;
	width: 34%;
	left: 33%;
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;	
}
	#nav_toggle span:nth-child(1){
		top: 42px;
	}
	#nav_toggle span:nth-child(2){
		top: 50px;
	}
	#nav_toggle span:nth-child(3){
		top: 58px;
	}
/*　OPENな時　*/
	.open #nav_toggle span:nth-child(1) {
			top: 50px;
		   -webkit-transform: rotate(135deg);
			-moz-transform: rotate(135deg);
			transform: rotate(135deg);
		}
		.open #nav_toggle span:nth-child(2) {
			width: 0;
			left: 50%;
		}
		.open #nav_toggle span:nth-child(3) {
			top: 50px;
			-webkit-transform: rotate(-135deg);
			-moz-transform: rotate(-135deg);
			transform: rotate(-135deg);
		}
}



/*==========【sidebar】==========*/
.widget_title {
	font-weight: bold;
	margin-bottom: 10px;
	padding: 20px 0 0 30px;
	background: url(images/chuka_kado.png) no-repeat top left;
}
.widget {
	margin-bottom: 40px;
}
.widget li {
	padding-left: 1em;
}
/*　月別アーカイブ　*/
.screen-reader-text {
	display: none; /*なぜかタイトルが被るので消します*/
}
select {
		-webkit-appearance: none;
	background: #fff;
	padding: 5px 0 5px 20px;
	width: 100%;
	height: 40px;
	border-radius: 25px; 
	outline: none;
	border: 0;
}
/*　検索フォーム　*/
#searchform {
	position: relative;
}
#searchform label {
	display: block;
	overflow: hidden;
	font-size: 0;
	text-indent: -9999px;
}
#searchform #s {
	padding: 0 0 0 20px;
	width: 100%;
	height: 40px;
	border-radius: 25px;
	outline: none;
	border: 0;
	box-sizing: border-box; /*これがないとパディングの分だけ枠がはみ出します*/
}
#sbtn2{
	height: 30px;
	position: absolute; 
	right: 12px;
	top: 6px;
	background: none;
	color: #666;
	border: none;
	font-size: 18px;
}
#sbtn5:hover{
	color: #7fbfff;
}
/*　ダグクラウド　*/
.tagcloud a {
    font-size: 14px !important;
	background: #fff;
	display: inline-block;
	border-radius: 4px;
    padding: 2px 6px;
	margin: 4px 0;
}
/*----- ウィジェットタイトルにWebアイコンフォント -----*/
#categories-2 .widget_title:before {
	font-family:"Font Awesome 5 Free";
	font-weight: 900;
	padding-right : 5px;/*文字との隙間*/
	color:#666;
	content:"\f07c";
}
#tag_cloud-2 .widget_title:before {
	font-family:"Font Awesome 5 Free";
	font-weight: 900;
	padding-right : 5px;/*文字との隙間*/
	color:#666;
	content:"\f02b";
}
#archives-2 .widget_title:before {
	font-family:"Font Awesome 5 Free";
	font-weight: 900;
	padding-right : 5px;/*文字との隙間*/
	color:#666;
	content:"\f303";
}
#search-2 .widget_title:before {
	font-family:"Font Awesome 5 Free";
	font-weight: 900;
	padding-right : 5px;/*文字との隙間*/
	color:#666;
	content:"\f002";
}



/*==========【index】==========*/
.list-box a {
	color: #333;
}
.list-thumb img {
	float: left;
	width: 75px;
	height: 75px;
	margin:0 10px 0 0;
	object-fit: cover;
}
.list-title {
	font-weight: bold;
	border-bottom: dotted #666 1px;
	margin: 0 0 5px 0;
	padding: 2px 0 5px 0;
	line-height: 120%;
}
.list-text {
}
.list-date {
	font-size: 80%;	
	text-align: right;
}
/*----- ページナビ -----*/
.pagination {
  clear: both;
  padding: 20px 0;
  position: relative;
  font-size: 14px;
  line-height: 1em;
  text-align: center;
}
.pagination-box {
  display: inline-block;
}
.pagination span, .pagination a {
  display: block;
  float: left;
  margin: 3px 3px 3px 0;
  padding: 10px 14px 10px 14px;
  text-decoration: none;
  width: auto;
  color: #fff; /* 通常の文字色 */
  background: #990000; /* 通常の背景色 */
  border-radius: 50%; /* 角を丸くして円形に */
}
.pagination span.page-of {
  background: none;
  color: #333;
}
.pagination a:hover{
  color: #fff; /* マウスホバー時の文字色 */
  background: #ff0000; /* マウスホバー時の背景色 */
}
.pagination .current{
  padding: 10px 14px 10px 14px;
  color: #333; /* 現在のページの文字色 */
  background: #fff; /* 現在のページの背景色 */
}



/*==========【single.php】==========*/
.post-thumb img {
	float: right;
	width: 160px;
	height: 160px;
	margin:0 0 0 10px;
	object-fit: cover;
}
.post-text p {
	margin: 1em 0;
}
.post_date {
	clear: both;
	text-align: right;
	border-top: dotted 1px #666;
	padding: 20px 0 10px 0;
}
/*----- ページャー -----*/
.pagerleft {
	margin-top: 20px;
	float: left;
}
.pagerright {
	margin-top: 20px;
	float: right;
	text-align: right;
}



/*====================　投稿ページ　====================*/
/*-----　描いたもの　------*/
.manga {
	margin: 20px 0;
}
.manga img {
	border: solid 2px #333;
	margin-top: 15px;
}

/*-----　書いたもの　------*/
hr {
	border: 0px none;
	margin: 2em 0;
	background: url(images/chuka_center.png) no-repeat;
	background-position: 50% 50%;
	height: 30px;
}
.comment {
	font-size: 80%;
	padding: 20px;
}

/*-----　陸遜台詞で10のお題　------*/
.serifuwrap {
	margin-top: 30px;
}
.serifu {
	padding: 10px;
	border-bottom: 2px dashed #ccc;
}
.serifu img {
	vertical-align: bottom;
}



/*====================　固定ページ　====================*/
/*-----　かんりく　------*/
.kanrikucharabox {
	text-align: center;
	margin: 1%;
	float: left;
	width: 48%;
}
.kanrikutable {
	margin: 10px auto;
}
/*　レスポンシブ　*/
@media screen and (min-width:640px){
.kanrikucharabox {
	text-align: center;
	margin: 1%;
	float: left;
	width: 10.5%;
}
	.kanrikuimg {
		float: right;
		max-width: 200px;
		margin: 0 0 10px 20px;
	}
	.kanrikutable {
		float: right;
		margin: 0 0 0 20px;
	}
}
/*-----　甘陸伝　------*/
.gen {
	font-weight: bold;
}
.den-box {
	border: 1px solid #ccc;
	padding: 20px 30px;
}
.den-comment {
	font-size: 80%;
	color: #999;
}

.banner {
	padding: 0 0 10px 0;
}
.banner img {
	float: left;
	margin: 0 20px 10px 0;
}
.bot_icon {
	width: 46%;
	float: left;
	margin: 4% 1%;
	max-width: 200px;
}
.icon_list {
	margin: -8px 5px 20px 5px;
}
.icon_list li {
	list-style: none;
	padding: 10px 0 5px 18px;
	background: url(images/li_icon.png) no-repeat 2px 14px;
	border-bottom: dotted 1px #999;
}
@media screen and (max-width:1030px){
	.res_table {
		width: 80%;
	}
	.res_table th,
	.res_table td {
	    display: block;
	    width: 100%;
		text-align: left;
	}
}

