@charset "UTF-8";
/*
Theme Name: m9design
Theme URI: https://m9d.jp/info/wp-content/themes/matsugaya/
Author: m9design
Author URI: https://m9d.jp
Description: このテーマは、m9design向けに作成されたテンプレ―トファイルです。レスポンシブ完全対応。
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentyseventeen
Tags: ブログ,シンプル,レスポンシブ

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

* {
	margin: 0px;
	padding: 0px;
}

body {
	font-family: 'Noto Sans JP', sans-serif;
	word-wrap: break-word;
}

#pageInner {
	padding: 5% 0;
}
.st-main {
	padding: 5%;
	background-color: #fff;
	box-shadow: 0 3px 16px 0 rgba(0, 0, 0, 0.16);
	margin-bottom: 10%;
}
#side .st-aside {
	padding: 0 2%;
}

.st-hide {display:none;}

.fa-question-circle, 
.fa-check-circle, 
.fa-exclamation-triangle, 
.fa-pencil-square-o,
.fa-user {
	margin-right:5px;
}

img, 
video, 
object {
	max-width: 100%;
	height: auto;
	border: none;
	vertical-align: bottom;
}

.inline-img img {
	display: inline;
}

/* 画像リンクのマウスオーバーに透かし */
a:hover img {
	-moz-opacity: 0.8;
	opacity: 0.8;
}

/*画像にボーダー*/
.photoline img {
	border: solid 1px #ccc;
}
img.size-full, 
img.size-large {
	margin-bottom: 10px;
	height: auto;
	max-width: 100%;
}
iframe {
	max-width: 100%;
}
.resetwidth img, 
.resetwidth video, 
.resetwidth object,
.resetwidth iframe{
	width: initial; /* 初期状態にリセット */
	max-width: initial; /* 初期状態にリセット */
	display: inline;
}
/* iframeのレスポンシブ */
.youtube-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
.youtube-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* 記事ページ・カテゴリーマーク */
.catname {
	font-size: 13px!important;
	line-height: 1em;
	color: #fff;
	font-weight: 600;
	display: inline-block;
	white-space: nowrap;
	padding: 8px 8px;
	margin-top: 5px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	text-decoration: none;
	background: #8ed2f4;
}
/* 記事タイトル */
.entry-title, 
.post .entry-title {
	font-size: 110%;
	line-height: 130%;
	color: #333;
	font-weight:bold;
	margin-bottom: 20px;
	border-bottom: solid 2px;
	padding-bottom: 1%;
}
#st-page .entry-title {
	margin-bottom: 20px;
}
.entry-title a:hover {
	text-decoration: underline;
}
.entry-title a {
	color: #333;
	text-decoration: none;
}
/* 投稿日 */
.blogbox p {
	font-size: 70%!important;
	font-weight: bold;
}
.blogbox p .kdate{
	font-size: 80%;
	font-weight: bold;
}

.blogbox {
	margin-bottom: 20px;
}
/*投稿タグ*/
.tagst {
	padding: 0 0 40px;
}

/*--------------------------------
トップページやアーカイブ一覧表示
---------------------------------*/
/* 一覧タイトル下 */
.kanren .blog_info p {
	margin:0 0 5px;;
}
.kanren h3 {
	margin: 0 0 5px;
}
.blog_info p a {
	color: #666;
	text-decoration: none;
}

/*--------------------------------
関連記事表示部分
---------------------------------*/
.kanren {
	margin-top:20px;
}
.st-aside .kanren {
	padding-top: 20px;
	margin-top:0px;
}
.kadomaru img{
	border-radius:100px;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
}
/* タイトル名 */
.kanren.pop-box h5,
#side .kanren.pop-box h5 {
	font-weight: bold;
	padding: 0px;
	margin-bottom: 10px;
}
.kanren.pop-box dd h5, 
#side .kanren.pop-box dd h5 {
	font-size: 17px;
	font-weight: bold;
	line-height:25px;
	padding: 0px;
	margin-bottom: 5px;
}
.kanren dt {
	float: left;
	width: 25%;
}
.kanren dt img {
	width: 100px;
}
.kanren dd {
	padding-left: 28%;
}
.kanren dl {
	margin-bottom: 20px;
	padding-bottom: 30px;
	border-bottom: 1px dotted #463318;
}
.kanren dl p {
	margin-bottom: 0px;
}
.kanren dl:last-child {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-style: none;
}
/* 抜粋文字 */
.kanren .clearfix dd p {
	font-size:90%;
	line-height: 130%;
	color: #1a1a1a;
}
.kanren .clearfix dd .kanren-t {
	padding-bottom:5px;
}
.kanren .clearfix dd .kanren-t a {
	color: #000;
	text-decoration: none;
	line-height: 1.5;
	font-weight:bold;
	padding-bottom:5px;
}
.kanren .clearfix dd .kanren-t a:hover {
	color: #463318;
}

/*--------------------------------
次へ
---------------------------------*/
.p-navi {
	padding-bottom: 40px;
}
.p-navi a {
	background-color: #f0ecd3;
	display: block;
	font-size: 80%;
	font-weight: bold;
	padding: 2px 15px;
	border-radius: 3px; 
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}
.p-navi a:hover {
	background-color: #ddd;
	border-radius: 3px; 
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}
/*--------------------------------
関連記事
---------------------------------*/

.point {
	width: 94%;
	color: #fff;
	padding: 5px 3%;
	background-color: #463318;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
    display: block;
    font-size: 80%;
	margin-top: 30px;
}

/*--------------------------------
サイドバー
---------------------------------*/

#side .st-aside ul li {
	list-style-type: none;
	margin: 0 15px;
	padding: 10px;
	font-size: 90%;
	font-weight: bold;
	border-bottom: dotted 1px #463318;
}
#side .st-aside .children li {
	padding-left: 10px;
}
#side .st-aside ul li ul li{
	list-style-type: none;
	margin: 0px;
}
#side .st-aside .sub-menu {
	padding-left: 10px;
}
#side .st-aside .side-t {
	font-weight: bold;
	margin: 0px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 0px;
}
.ad {
	padding-bottom: 20px;
}

/*フォーム*/
input:not([type=checkbox]):not([type=radio]):not([type=submit]),textarea,select {
	box-sizing:border-box;
	width:100%;

}
#search {
	padding-bottom: 0px;
	position: relative;
	width: 100%;
}
#searchform {
	border:#ccc 1px solid;
}
#s {
	font-family:'Lucida Grande','Hiragino Kaku Gothic ProN', sans-serif;
	*font-family:'Lucida Grande','Hiragino Kaku Gothic ProN', sans-serif;
	height: 34px;
	color: #333;
	font-size: 14px;
	border-radius: 0;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	z-index: 10;
	padding: 10px 65px 10px 10px;
	width: 100%;
	box-sizing: border-box;
}
#searchsubmit {
	border-radius: 0;
	position: absolute;
	right: 0px;
	top: 0px;
	width: 50px;
	height: 34px;
	z-index: 20;
}
*:first-child + html #searchsubmit {
	top: 1px;
}
.post input,.post textarea{
	border-radius:3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border:1px solid #ccc;
}
.post #search input{
	border:none;
}

/*--------------------------------
ページャー
---------------------------------*/
.st-pagelink {
	padding:20px 0px;
	text-align:center;
}
.st-pagelink:after {
	content: "";
	display:block;
	clear:both;
}
.st-pagelink a {
	text-decoration:none;
	font-size:13px;
}
.st-pagelink a:hover {
	background-color: #8ed2f4;
    color: #fff;
	opacity:0.5;
}
.st-pagelink .page-numbers {
	background-color: #fff;
	box-shadow: 0 3px 16px 0 rgba(0, 0, 0, 0.16);
	padding:5px;
	margin-right:5px;
	margin-bottom:5px;
	font-size:70%;
	font-weight: bold;
	line-height: 20px;
	min-width:20px;
	height:20px;
	display:block;
	float:left;
	text-align:center;
}
.st-pagelink .page-numbers.current {
	background-color: #8ed2f4;
    color: #fff;
}

/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {

	/*--------------------------------
	各フォント設定
	---------------------------------*/
	/*記事タイトル*/
	.entry-title,
	.post .entry-title {
		font-size: 140%;
		margin-bottom: 20px;
		border-bottom: solid 2px;
		padding-bottom: 1%;
	}
	#side .st-aside ul li {
		font-size: 90%;
		font-weight: bold;
	}
	/*--------------------------------
	PCのレイアウト
	---------------------------------*/
	#wrapper {
		overflow:visible; /*グローバルメニューの下層リンクを表示する為*/
		padding:0;
		width:100%;
	}
	#content {
		max-width:960px;
		margin:0 auto;
		padding: 0 30px;
	}
	.kanren dt {
		width: 100px;
	}
	.kanren dd {
		padding-left: 115px;
	}
	.kanren .clearfix dd p {
		line-height: 18px;
	}
	#contentInner {
		float: left;
		width: 100%;
		margin-right: -300px;
	}
	.st-main {
		margin-right: 320px;
		margin-left: 0px;
		background-color: #fff;
		border-radius: 3px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		padding: 30px 50px 0;
	}
	#side .st-aside {
		float: right;
		width: 300px;
		padding: 0px;
	}

	#pageInner {
		width: 90%;
		padding: 0 5% 5%;
	}
	#pageInner .st-main {
		max-width: 960px;
		margin: 0 auto;
		background-color: #fff;
		border-radius: 3px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		padding: 5%;
	}
	#pageInner .kanren dt {
		width: 240px;
	}
	#pageInner .kanren dt img{
		width: 100%;
		border-radius: 5px;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
	}
	#pageInner .kanren dd {
		padding-left: 255px;
	}
	.pageSide #side .st-aside {
		float: none;
		width: 700px;
		padding: 40px 0 0;
		margin: 0 auto;
	}
	#side .st-aside ul li {
		font-size: 100%;
	}
	/*-- ここまで --*/
}
