@charset "UTF-8";

/*!
Theme Name: Plants Note
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* common */
.mt1 { margin-top: 1em; }
.mt2 { margin-top: 2em; }
.mb1 { margin-bottom: 1em; }
.mb2 { margin-bottom: 2em; }
.mr1 { margin-right: 1em; }
.mr2 { margin-right: 2em; }
.ml1 { margin-left: 1em; }
.ml2 { margin-left: 2em; }

.text-center { text-align: center; }

.w10 { width: 10%; }
.w15 { width: 15%; }
.w20 { width: 20%; }
.w25 { width: 25%; }
.w30 { width: 30%; }
.w35 { width: 35%; }
.w40 { width: 40%; }
.w45 { width: 45%; }
.w50 { width: 50%; }

/* ads */
.ads-label {
	font-size: 15px;
	text-align: center;
	color: #888;
}

/* icon font */
i.fa { margin-right: 0.3em; }

/* shadow */
.sidebar,
.main {
	box-shadow: 5px 5px 18px #e6e6e6, -5px -5px 18px #ffffff;
}

.a-wrap {
	box-shadow: 2px 2px 6px #dbdbdb, -2px -2px 6px #ffffff;
}

/* header */
.header {
	background: #fff;
}

.navi {
	border: 1px solid #dcdcdc;
}

.site-name,
.tagline,
.copyright {
	font-family: "Sawarabi Mincho";
}

.site-name-text {
	font-size: 24px;
}

.site-name-text-link {
	padding-left: 0;
}

.logo,
.tagline {
	text-align: left;
}

.tagline {
	margin-top: 4px;
	margin-bottom: 0;
	padding-left: 16px;
}

.logo-text {
	padding: 0px 0px 0px 28px;
}

.header .logo-text:before {
	position: relative;
	top: -4px;
	margin-right: 5px;
	content: "";
	display: inline-block;
	background-image: url("./images/logo_mini.png");
	background-size: contain;
	vertical-align: middle;
	width: 32px;
	height: 32px;
}

/* toc */
.toc{
	margin-bottom: 1em;
	margin: 0 auto;
	padding: 0.5em 1.5em;
	font-size: 0.9em;
	line-height: 1.5;
	border: 1px solid #00897b;
	border-top: 3px solid #00897b;
	border-bottom: 3px solid #00897b;
	width: 80%;
}

.toc-title {
	font-weight: bold;
	font-size: 1.1em;
}

.toc-title::before {
	font-family: FontAwesome;
	content: '\f0f6';
	margin-right: 0.5em;
}

.toc-content ol {
	color: #00897b;
}

.toc-content .toc-list > li > a {
	display: inline-block;
	width: 100%;
	border-bottom: 1px dashed #dcdcdc;
}

.toc-content li ol li {
	list-style: none;
}

/* content */

figure {
	margin-bottom: 1rem;
}

figcaption {
	text-align: center;
	font-size: 13px;
	color: #696969;
}

.main {
	padding: 9px 29px;
}

.entry-content {
	margin-top: 0;
}

.ect-vertical-card.ect-tile-card .card-snippet {
	min-height: 90px;
}

.article h2 {
	padding: 6px 20px;
	color: #333;
	background-color: #fff;
	border-bottom: 2px solid #00897b;
}

.article h3 {
	padding: 8px 20px;
	border-color: #00897b;
}

img:hover {
	opacity: 0.9;
	filter: alpha(opacity=90);
	-moz-opacity: 0.9;
	-ms-filter: "alpha(opacity=90)";
}

.entry-categories-tags {
	margin-top: 20px;
}

.info-box,
.sp-info,
.info {
	border: 1px solid #00897b;
	border-radius: 2px;
	background: #fff;
}

ul.info-box {
	padding-left: 2em;
}

ol.info-box {
	counter-reset: my-counter;
	list-style: none;
}
 
ol.info-box li {
	margin-bottom: 10px;
	padding-left: 30px;
	position: relative;
}

ol.info-box li:before {
	content: counter(my-counter);
	counter-increment: my-counter;
	background: #00897b;
	color: #fff;
	display: block;
	float: left;
	line-height: 22px;
	margin-top: 4px;
	margin-left: -30px;
	text-align: center;
	height: 22px;
	width: 22px;
	border-radius: 50%;
}

.point-box {
	position: relative;
	margin-top: 1em;
	padding: 35px 15px 15px;
	box-sizing: border-box;
	border: solid 2px #00897b;
	border-radius: 4px;
}

.point-box span {
	position: absolute;
	display: inline-block;
	top: -1px;
	left: -1px;
	padding: 0 9px;
	height: 25px;
	line-height: 25px;
	vertical-align: middle;
	font-size: 17px;
	background: #00897b;
	color: #ffffff;
	font-weight: bold;
}

.check-box {
	position: relative;
	margin: 2em 0;
	padding: 15px;
	border: solid 2px;
	border-radius: 0 4px;
}

.check-box span {
	position: absolute;
	display: inline-block;
	top: -26px;
	left: -1.5px;
	padding: 0 9px;
	height: 25px;
	line-height: 25px;
	font-size: 17px;
	color: #fff;
	font-weight: bold;
	border-radius: 5px 5px 0 0;
}

.check-box span::before {
	font-family: FontAwesome;
	content: "\f00c";
	margin-right: 5px;
}

.check-box.exclamation span::before {
	font-family: FontAwesome;
	content: "\f06a";
	margin-right: 5px;
}

.check-box.comment span::before {
	font-family: FontAwesome;
	content: "\f075";
	margin-right: 5px;
}

.box-red {
	border-color: #ff6347;
}

.box-red span {
	background: #ff6347;
}

.box-blue {
	border-color: #87cefa;
}

.box-blue span {
	background: #87cefa;
}

.box-orange {
	border-color: #ffa500;
}

.box-orange span {
	background: #ffa500;
}

.box-green {
	border-color: #98fb98;
}

.box-green span {
	background: #98fb98;
}

.source {
	text-align: right;
	margin-bottom: 1.5rem;
}

.source .badge {
	background: #999;
}

.source a {
	font-size: 12px;
	color: #999;
}

.red-under,
.marker-under {
	font-weight: bold;
}

/* video */
.video-container {
	margin: 0 auto 26px auto;
}

/* image & description */
.description-item {
	box-sizing: border-box;
}

.description-item img {
	width: 50%;
	float: left;
	margin-right: 1%;
}

.description-item dl {
	width: 49%;
	float: left;
	display: table;
	margin: 0;
	padding: 8px;
	border: 1px solid #dcdcdc;
}

.description-item dl dt {
	position: relative;
	width: 50px;
	font-weight: bold;
	padding: 3px 0;
	color: #303030;
	float: left;
}

.description-item dl dt::after {
	content: ":";
	position: absolute;
	top: 1px;
	right: -10px;
	color: #909090;
	width: 20px;
	font-weight: bold;
}

.description-item dl dd {
	padding: 3px 5px 3px 17px;
	border-bottom: 1px dotted #dcdcdc;
}

.description-item dl dd:last-child {
	border-bottom: 0px;
}

.description-item.str3 dl dt {
	width: 55px;
}

.description-item.str3 dl dt::after {
	right: -18px;
}

.description-item.str3 dl dd {
	padding: 3px 5px 3px 28px;
}

.description-item.str3 .rating-star {
	line-height: 1.5;
}


/* front page */

.toppage .top-gallery {
	width: 100%;
	height: 420px;
	object-fit: cover;
}

.toppage h2 {
	color: #333;
	background-color: #fff;
	border-bottom: 2px solid #00897b;
}

.grid-content img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.grid-content a {
	coursor: pointer;
	text-decoration: none;
}

.grid-content span {
	display: block;
	margin: 0;
	padding: 8px;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.3;
	color: #333;
}

.grid-content > div {
	position: relative;
	display: block;
	float: left;
	overflow: hidden;
	box-sizing: border-box;
	width: 32%;
	width: calc(100% / 3 - 6px);
	margin-right: 5px;
	margin-bottom: 5px;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.grid-content > div:hover {
	background: #f0fff0;
}

.wordindex {
	padding: 10px;
	border: 1px solid #dcdcdc;
	border-radius: 2px;
}

.wordindex ul {
	width: 48%;
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wordindex ul:nth-of-type(2) {
	margin-left: 2%;
}

.wordindex li {
	width: calc(20% - 7px);
	float: left;
	text-align: center;
	border: 1px solid #dcdcdc;
	border-radius: 2px;
}

.wordindex li.wordskip {
	margin-left: calc(21% - 1px);
}

.wordindex li:hover {
	background: #f0fff0;
}

/* sidebar */
.sidebar h3 {
	padding: 0;
	border-bottom: 2px solid #dcdcdc;
	color: #333;
	background: #fff;
}

.menu-close-button {
	color: #333;
}

.menulist {
	list-style: none;
	border: 2px solid #dcdcdc;
	border-radius: 2px;
	padding-left: 0;
}

.menulist li {
	padding: 0.5em 0.5em 0.5em 1em;
	border-bottom: 2px dotted #dcdcdc;
}

.menulist li a {
	display: block;
	text-decoration: none;
	color: #333;
}

.menulist li:last-child {
	border: 0;
}

.menulist li:hover {
	background: #f0fff0;
}

.menulist a:before {
	font-family: FontAwesome;
	content: '\f06c';
	margin-right: 0.3em;
	color: #006400;
}

/* pagination */
.pagination-next-link {
	background: #3eb370;
	color: #fff;
}

.pagination-next-link:hover {
	opacity: 0.7;
	transition: all 0.7s;
	background: #3eb370;
	color: #fff;
}

/* footer */
.footer {
	border-top: 1px solid #dcdcdc;
}

/************************************
** Custom Box
************************************/

.upper-label-box {
	margin: 2em 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.upper-label-box .box-title {
	font-size: 0.8em;
	background: #93ca76;
	text-align: center;
	color: #fff;
	font-weight: bold;
	letter-spacing: 0.05em;
}
.upper-label-box p {
	font-size: 0.9em;
	padding: 8px 4px;
	text-align: center;
	margin: 0;
}


/************************************
** Table
************************************/

.top-center tbody td:first-child {
	text-align: center;
}

.top-bold tbody td:first-child {
	font-weight: bold;
}

.season {
	text-align: center;
	font-weight: bold;
}

.season th {
	width: 7.6%;
	width: calc(100% / 13);
	background: #f0fff0;
}

.season thead th:first-child,
.season tbody td:first-child {
	background: #98fb98;
}

.season .this-month {
	color: #fff;
	background: #008000;
}

/************************************
** AD
************************************/

.ad-a8net {
	height: 270px;
	padding: 10px;
	border: 1px solid #ccc;
}

.ad-a8net .ad-img {
	width: 250px;
	float: left;
	margin-right: 20px;
}

.ad-a8net .ad-img a img {
	width: 250px;
	height: 250px;
	object-fit: cover;
	border: 1px solid #f5f5f5;
}

.ad-a8net .ad-btn a {
	padding: 10px 25px;
	border-radius: 2px;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(45deg, #f7820f, #f79821);
}

/************************************
** メディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
}

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

	/* header */
	.logo,
	.tagline {
		text-align: center;
	}

	.logo-text,
	.tagline {
		padding-left: 0;
	}

	#header .site-name-text {
		font-size: 24px;
	}

	ol li {
		padding-left: 0;
	}

	ol.info-box {
		padding-left: 2.5em;
	}

	.responsive-table {
		border-collapse: separate;
		border-spacing: 0  20px;
	}

	.responsive-table thead {
		display: none;
	}

	.responsive-table tr {
		background: #f6f6f6;
	}

	.responsive-table td {
		border: none;
		display: block;
		width: 100%;
		box-sizing: border-box;
		border-bottom: 1px solid #dddddd;
	}

	.responsive-table td:nth-child(-n+2) {
		text-align: center;
	}

	.responsive-table td:nth-child(3) {
		padding: 8px;
	}

	.responsive-table td:before {
		content: attr(data-title) " ";
	}

	.responsive-table .clear {
		clear: both;
	}

}

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

	.toc {
		width: 100%;
	}

	#header .site-name-text {
		font-size: 24px;
	}

	.header .logo-text:before {
		top: -3px;
	}

	.toppage .top-gallery {
		height: 180px;
	}

	.description-item img,
	.description-item dl {
		width: 100%;
	}

	.description-item dl {
		margin-top: 8px;
	}

	.grid-content span {
		font-size: 11px;
	}

	.grid-content img {
		height: 100px;
	}

	.wordindex ul {
		width: 100%;
	}

	ol.info-box li {
		padding-left: 0;
	}

	.wordindex ul:nth-of-type(2) {
		margin-left: 0;
	}

	.mobile-menu-buttons {
		background: #00897b;
	}

	.mobile-menu-buttons .menu-icon,
	.mobile-menu-buttons .menu-button,
	.mobile-menu-buttons .menu-caption {
		color: #fff;
		font-weight: bold;
	}

	.mobile-menu-buttons .menu-button:hover {
		background: #00897b;
	}

	/* AD */
	.ad-a8net {
		width: 100%;
		height: 100%;
		padding: 20px;
		text-align: center;
	}

	.ad-a8net .ad-img {
		width: 100%;
		margin: 0;
	}


}
