/* 
style.cssに、このカスタムcssが上書きされます。
この機能を利用することで、オリジナルのテーマを書き換えることなく、カスタマイズcssを追加できます。
テーマがアップデートされても、カスタムしたスタイルが変更されることがありません。
*/

/* 共通設定 */
.mystyle {}

.entry table tr.alt {
	background-color: transparent;
}
#top-free-widgets {
	margin: 60px auto 0;
	max-width: 1300px;
}

.content {
	padding: 50px 0;
}
	
.main {
	margin-top: 100px;
}

@media only screen and (min-width: 1200px) {
	.palla .parallax {
		width: 1200px;
		margin: 0 auto;
	}
}
a:hover { opacity: 0.7; }


/* 固定バナー */
.fixed_bn {
	position: fixed;
	top: 200px;
	right: 0;
}
@media only screen and (max-width: 670px) {
	.fixed_bn {
		bottom: 10px;
		top: auto;
	}
	.fixed_bn img {
		width: 50px;
	}
}


/* PCで表示、スマホで非表示 */
@media only screen and (min-width: 671px) {
	.smp-disnone {
		display: block;
	}
}
@media only screen and (max-width: 670px) {
	.smp-disnone {
		display: none;
	}
}

/* PCで非表示、スマホで表示 */
@media only screen and (min-width: 671px) {
	.smp-disblock {
		display: none;
	}
}
@media only screen and (max-width: 670px) {
	.smp-disblock {
		display: block;
	}
}

/***************************
	ヘッダー　CSS
***************************/
#head_space {
	display: none;
}

/* ヘッダー　ロゴ */
#logo-small {
	opacity: 1!important;
}
.site-title img {
	max-height: 50px;
}

/* ヘッダーナビ */
#header .container-inner {
	padding: 5px 0;
}
#nav-header {
	background-color: rgba(255, 255, 255, 0.7)!important;
}
.page #nav-header, .archive #nav-header, .single #nav-header, .search #nav-header, .error404 #nav-header {
	background-color: rgba(255, 255, 255, 0.7)!important;
}
#nav-header .nav>li>a {
	color: #393939;
	font-size: 14px;
	text-shadow:none;
}

@media only screen and (max-width: 738px) {
	.home #nav-header {
		background-color: rgba(255, 255, 255, 0.7)!important;
	}
}
.toggle-search:after {
	color: #000000;
}

/***************************
	フッター
***************************/
#footer h3 {
	border-bottom: solid 1px #e5e5e5;
	color: #000000;
}

#footer .alx-tab li {
	border-bottom: solid 1px #e5e5e5;
	color: #000000;
}
#footer .widget a {
	color: #000000;
}
#footer .widget a:hover {
	color: #555555;
}

#footer-free-text {
	color: #000000;
}

#footer .tagcloud a {
	border: solid 1px #eeeeee;
}

/***************************
	新トップページ
***************************/
img {
	max-width: 100%;
}
.home h2 {
	display: table;
	font-size: 30px;
	font-weight: normal;
	margin: 0 auto 30px;
}

.center {
	text-align: center;
}

.flexBox {
	display: -webkit-flex;
	display: flex;
}
@media screen and (max-width: 640px) {
	.flexBox {
		display: block;
	}
	.flexBox img {
		display: table;
		margin: 20px auto;
	}
}

.inner {
	margin: 0 auto;
	width: 1000px;
}
@media screen and (max-width: 1000px) {
	.inner {
		width: 80%;
	}
}

/* フォントサイズ */
.fs-15 {
	font-size: 15px;
}
.fs-18 {
	font-size: 18px;
}
.fs-22 {
	font-size: 22px;
}

/* フォントの太さ */
.fw-bold {
	font-weight: bold;
}

/* 詳しくはこちらボタン */
.post-meta a.btn_detail, .widget a.btn_detail {
	background-color: #cd0000;
	border-radius: 3px;
	border: solid 1px #cd0000;
	color: #ffffff;
	display: table;
	margin: 30px auto 0;
	padding: 8px 40px;
	text-decoration: none;
}
.post-meta a.btn_detail:hover, .widget a.btn_detail:hover {
	background-color: #ffffff;
	color: #cd0000;
}

/* ご購入ボタン */
.post-meta a.btn_buy, .widget a.btn_buy {
	background-color: #cd0000;
	border: solid 1px #cd0000;
	border-radius: 3px;
	color: #ffffff;
	display: table;
	padding: 8px 25px;
	position: absolute;
	text-decoration: none;
	
	bottom: 20px;
	left: 150px;
}
.post-meta a.btn_buy:hover, .widget a.btn_buy:hover {
	background-color: #ffffff;
	color: #cd0000;
}

@media screen and (max-width: 640px) {
	.post-meta a.btn_buy {
		margin: 0 auto;
		position: static;
	}
}

/* 各ブロックのスタイル */
.block01 {
	background-image: url(https://matsubaratouchukasou.com/wp-content/uploads/2017/09/bg01.png);
	background-position: 0 -150px;
	background-repeat: repeat-x;
	padding: 80px 0 100px;
	text-align: center;
}
.block01 .inner {
	position: relative;
}

.block02 {
	background-image: url(https://matsubaratouchukasou.com/wp-content/uploads/2017/09/bg02.png);
	background-position: 50% 0;
	background-repeat: repeat-y;
	padding: 80px 0;
}
.block02 p {
	width: 450px;
}
.block02 img {
	margin-left: 50px;
}

.block03 {
	padding: 100px 0;
}
.block03 p {
	width: 450px;
}
.block03 p span {
	color: #cd0000;
	font-size: 18px;
	font-weight: 500;
}
.block03 img {
	margin-left: 50px;
}

.block04 {
	background-color: #eaf3fc;
	padding: 60px 0 80px;
}
.block04 h2 {
	color: #4b7fb4;
}

.block05 {
	background-color: #fbedd6;
	background-image: url(https://matsubaratouchukasou.com/wp-content/uploads/2017/09/601059_ml.jpg);
	background-position: 100% 100%;
	background-repeat: no-repeat;
	padding: 60px 0 80px;
}
.block05 .flexBox {
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.block05 .flexBox div {
	position: relative;
	height: 420px;
	width: 300px;
}
.block05 .flexBox div img.bottom_0 {
	position: absolute;
	bottom: 0;
}
.block05 a {
	margin-top: 30px;
}
.block05 .checkP {
	margin: 30px 0;
}

.block06 {
	background-color: #f4f3f0;
	padding: 60px 0 80px;
}

@media screen and (max-width: 640px) {
	.post-meta a.btn_buy, .widget a.btn_buy {
		margin: 10px auto 0;
		position: static;
	}
	.block01 {
		background-size: 100%;
		background-position: 0 0;
		padding: 50px 0;
	}
	
	.block02 {
		padding: 50px 0;
	}
	.block02 p {
		width: 100%;
	}
	.block02 img {
		margin: 20px auto;
	}
	
	.block03 {
		padding: 50px 0;
	}
	.block03 p {
		width: 100%;
	}
	.block03 img {
		margin: 20px auto;
	}
	
	.block04 {
		padding: 50px 0;
	}
	.block04 iframe {
		width: 100%;
		height: auto;
		margin: 0 0 10px;
	}
	
	.block05 {
		padding: 50px 0;
	}
	.block05 .flexBox div {
		margin: 30px auto;
	}
	
	.block06 {
		padding: 50px 0;
	}
}

/* Q&A */
.faq table {
	width: 100%;
}
.faq table tr th , .faq table tr td {
	font-weight: normal;
	padding-bottom: 15px;
	vertical-align: middle;
}
.faq table tr th span {
	border: solid 1px #cc0000;
	border-radius: 50%;
	display: block;
	font-size: 24px;
	line-height: 53px;
	margin-right: 20px;
	text-align: center;
	width: 53px;
}

.faq-q {
	color: #cc0000;
	font-size: 21px;
}
.faq-q span {
	background-color: #cc0000;
	color: #ffffff;
}

.faq-a {
	font-size: 15px;
}
.faq table tr.faq-a th , .faq table tr.faq-a td {
	padding-bottom: 30px;
}
.faq-a span {
	background-color: #ffffff;
	color: #cc0000;
}

/* 会社概要 */
.com .flexBox {
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.com table tr th , .com table tr td {
	border-bottom: dotted 1px #333333;
	padding: 8px;
	text-align: left;
	vertical-align: top;
}
.com table tr th {
	color: #886600;
	padding: 8px 20px 8px 10px;
}

/***************************
  固定ページ用CSS
***************************/
.entry table td {
	text-align: left;
}

.page .content .inner {
	width: 90%;
}

.page h1.post-title {
	border-bottom: 1px solid #ccc;
	font-size: 19px;
	font-weight: 300;
	padding-bottom: .5em;
	margin: 0 0 20px;
}
.page h1.post-title:first-letter {
	margin-right: .1em;
	font-size: 1.5em;
}

.page .entry h2 , .single .entry h2 {
	background: -webkit-linear-gradient(top, #fff 0%, #f0f0f0 100%);
	background: linear-gradient(to bottom, #fff 0%, #f0f0f0 100%);
	border: 1px solid #ccc;
	border-top: 3px solid #e83a00;
	box-shadow: 0 -1px 0 rgba(255, 255, 255, 1) inset;
	font-size: 18px;
	padding: .75em 1em;
}
.page section h2.post-title , .single .entry h2.post-title {
	width: 100%;
	box-sizing: border-box;
}
.page .entry h3 , .single .entry h3 {
	background-color: #e83a00;
	background: -webkit-linear-gradient(top, #FF7E53 0%, #e83a00 100%);
	background: linear-gradient(to bottom, #FF7E53 0%, #e83a00 100%);
	color: #fff;
	font-size: 18px;
	margin: 0 0 20px;
	padding: .5em .75em;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, .3);
}
.page .entry .entry h4 , .single .entry .entry h4 {
	font-size: 17px;
	position: relative;
	padding-bottom: .5em;
	border-bottom: 4px solid #ccc;
}
.page .entry h4::after , .single .entry h4::after {
	position: absolute;
	bottom: -4px;
	left: 0;
	z-index: 2;
	content: '';
	width: 20%;
	height: 4px;
	background-color: #e83a00;
}
.page .entry h5 , .single .entry h5 {
	border-bottom: 1px solid #ccc;
	padding-bottom: .5em;
}
.page .entry p {
	font-size: 16px;
	line-height: 1.875;
	margin-bottom: 25px;
}

.page section {
	padding: 0;
}

.fl {
	float: left;
}
.fr {
	float: right;
}
.mb {
	margin-bottom: 50px;
}
.tbl table {
	border-collapse: collapse;
	width: 100%;
}
.tbl table th {
	border-top: dotted 1px #b2998a;
	border-bottom: dotted 1px #b2998a;
	color: #e83a00;
	font-weight: normal;
	padding: 15px 30px 15px 0;
	text-align: left;
	vertical-align: top;
}
.tbl table td {
	border-top: dotted 1px #b2998a;
	border-bottom: dotted 1px #b2998a;
	padding: 15px 30px 15px 0;
	text-align: left;
}

/* 開発 */


/* Q&A */
.page section.faq {
	padding: 0;
}
.page section.faq .q {
	background-color: transparent;
	background-image: url(https://matsubaratouchukasou.com/wp-content/uploads/2016/12/faq_q2.png);
	color: #e83a00;
	padding-left: 70px;
}

/* 会社概要 */
section.company {
	padding: 0;
}
section.company img.fr {
	margin: 0 10px 0 0;
}
section.company dd {
	padding-right: 30px;
}

/* コンタクトフォーム */
div.wpcf7 {
	padding: 0 0 80px;
}

.wpcf7 input[type=text], .wpcf7 input[type=email] {
	border: solid 1px #b2998a;
	border-radius: 3px;
	margin: 0;
}
.wpcf7 textarea {
	border: solid 1px #b2998a;
	border-radius: 3px 3px 0 3px;
	margin: 0;
}

.wpcf7 div.wpcf7-validation-errors {
	text-align: center;
}

.submit {
	position: absolute;
	bottom: 0;
	width: 100%;
}

.wpcf7 span.wpcf7-not-valid-tip {
	top: 25px;
}

div.wpcf7 .ajax-loader {
	display: none;
}

div#contactform {
	margin: 10px 20px;
	width: 90%;
}

#contactform .attention {
	color: #ff0004;
	font-size: 14px;
	font-weight: normal;
	margin: 0 auto 10px;
	width: 96%;
}

#contactform table tr th , #contactform table tr td {
	border: none;
	padding: 10px 15px;
	text-align: left;
	vertical-align: middle;
}
#contactform table tr th {
	width: 30%;
}

#contactform span.required {
	background-color: #fb5204;
	background: linear-gradient(#fe8f01,#fb5204);
	border-radius: 10px;
	color: #ffffff;
	font-size: 12px;
	font-weight: normal;
	line-height: 160%;
	margin-left: 10px;
	padding: 2px 8px;
}

#contactform span.any {
	background-color: #116ab3;
	background: linear-gradient(#2d96ec,#116ab3);
	border-radius: 10px;
	color: #ffffff;
	font-size: 12px;
	font-weight: normal;
	line-height: 160%;
	margin-left: 10px;
	padding: 2px 8px;
}

@media screen and (max-width: 670px) {
	div#contactform {
		margin: 0 0 10px;
		width: 100%;
	}
	#contactform table {
		table-layout: fixed;
	}
	#contactform table tr th , #contactform table tr td {
		display: inline-block;
		padding: 10px 0;
	}
	#contactform table tr th {
		width: 100%;
	}
	#contactform table tr td {
		margin: 0 0 20px;
		word-wrap: break-word;
	}
}

/* 特定商取引 */
section.tokutei table {
	border-collapse: collapse;
	width: 100%;
}
section.tokutei table th {
	border: solid 1px #cccccc;
	color: #e83a00;
	font-weight: normal;
	padding: 10px 15px;
	text-align: left;
	vertical-align: top;
}
section.tokutei table td {
	border: solid 1px #cccccc;
	padding: 10px 15px;
	text-align: left;
}

/* 個人情報 */
section.privacy h4 {
	border-bottom: dotted 1px #000000;
	color: #0860cb;
	font-size: 20px;
	font-weight: bold;
	line-height: 40px;
	margin-top: 30px;
}

/* 医療関係者 */
section.medical {
	display: flex;
	justify-content:space-between;
}
section.medical .yes {
	border: solid 1px #dbdbdb;
	padding: 15px 0;
	text-align: center;
	width: 48%;
}
section.medical .no {
	border: solid 1px #dbdbdb;
	padding: 15px 0;
	text-align: center;
	width: 48%;
}
section.medical p {
	text-align: left;
	font-size: 14px;
	line-height: 18px;
	width: 90%;
	margin: 10px auto;
}
section.medical p.cent {
	text-align: center;
	font-weight: bold;
}
section.medical p span {
	color: #e83a00;
	font-size: 16px;
	line-height: 21px;
	font-weight: bold;
}


/***************************
  投稿ページ用CSS
***************************/
.single .container-inner {
	max-width: 1000px;
}
.single .main-inner {
	padding-right: 360px;
}
.single .s1 {
	margin-right: -360px;
}

@media only screen and (max-width: 738px) {
	.single .main-inner {
		padding: 0;
	}
}


/** 松原冬虫夏草の栽培システム **/
div.comparison {
	font-weight: 600;
	width: 100%;
	font-size: 14px;
}
div.comparison table {
	border: solid 1px #000000;
	border-collapse: collapse;
	font-size: 12px;
}
div.comparison table tr td {
	border: solid 1px #000000;
	padding: 10px;
	vertical-align: middle;
}
div.comparison table tr td.cent {
	text-align: center;
}
div.comparison tr:nth-child(1) td {
	color: #ffffff;
}
div.comparison tr:nth-child(3) {
	background-color: #ffffcb;
}
div.comparison p {
	float: left;
	font-size: 12px;
}
div.comparison p.att {
	margin-left: 10px;
}
div.comparison span.big {
	color: #FF0004;
	font-size: 16px;
}
div.comparison img.right {
	float: right;
}

/***************************
  カテゴリページ用CSS
***************************/
.post-list .post-inner {
	margin-right: 20px;
}


/* タブレット - 737px < 1024px */
@media only screen and (min-width: 739px) and (max-width: 1024px) {
	.mystyle {}
}


/*　モバイル(iPhone6+) - < 736px */
@media only screen and (max-width: 738px) {
	.mystyle {}



}


/* モバイル -  < 480px */
@media only screen and (max-width: 479px) {
	.mystyle {}
}

