/*
Theme Name:     Newspaper Child theme (2020)
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

a:hover img{
  opacity: .9;
}
@media screen and ( max-width: 767px ){
  .pc{ display: none;}
}
@media screen and ( min-width: 768px ){
  .sp{ display: none;}
}
.text-marker{
  background: -webkit-linear-gradient(transparent 60%, #ffff66 60%);
  background: -o-linear-gradient(transparent 60%, #ffff66 60%);
  background: linear-gradient(transparent 60%, #ffff66 60%);
}


.td-header-wrap .td-header-menu-wrap .sf-menu > li.gnav-recipe > a::before {
    font-family: "Font Awesome 5 Free";
    content: "\f2e7";
    font-weight: 900;
    margin: 0 5px 0 0;
}

.td-post-content h2 {
    border-left: 5px solid #ee9eb2;
    padding-left: 0.7em;
    background: #fffbfc;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    font-size: 24px;
}
.td-post-content h3 {
  border-bottom: 2px solid #f3d674;
  padding: 0.3em 0 0.3em 0.5em;
  font-size: 20px;
}
.td-post-content h4 {
  border-left: 4px solid #ee9eb2;
  padding: 0 0 0 10px;
}
.td-post-content table,
.td-post-content tr,
.td-post-content th,
.td-post-content td {
    /* width: auto !important; */
}
.td-post-content .wp-embedded-content {
    height: 150px;
}
@media screen and (max-width: 480px){
  .td-post-content .wp-embedded-content {
      height: 120px;
  }
}

.td-post-content blockquote {
    margin: 0;
    padding: 2em 5%;
    background: #fffbfc;
    line-height: 100%;
    position: relative;
}
.td-post-content blockquote p {
    line-height: 1.5em;
    font-size: 1rem;
    text-align: left;
    font-style: normal;
    margin: 0;
}
.td-post-content blockquote::before {
    content: '”';
    font-size: 100px;
    font-family: serif;
    color: #f19db4;
    position: absolute;
    line-height: 10px;
    top: 25px;
    left: 0;
    pointer-events: none;
}

.td-main-sidebar .block-title,
.vc_widget_sidebar .block-title{
  border-color: #f19db4;
}

.td-main-sidebar .block-title > span,
.vc_widget_sidebar .block-title > span{
  background: #f19db4;
  font-weight: 400;
}


.mainarea .td-block-title span{
  color: #333;
  background: transparent;
  vertical-align: middle;
}

.mainarea .td-block-title span::before{
  content: '';
  width: 30px;
  height: 25px;
  display: inline-block;
  background-image: url("//oimobicho.jp/wp-content/themes/Newspaper-child/images/oimobicho/icon.png");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  vertical-align: middle;
  margin-right: 0.5em;
}

.js-dangerous-image::after {
  display: block;
  content: '注意：刺激的な画像を含みます（CLICKで表示）';
  transform: translate(-50%, -50%);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  text-align: center;
}
.js-dangerous-image.show::after {
  content: '';
}

.js-dangerous-image {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.js-dangerous-image img {
  -webkit-filter: blur(16px);
  filter: blur(16px);
  -webkit-transition: .1s;
  transition: .1s;
}

.js-dangerous-image.show img {
  -webkit-filter: blur(0);
  filter: blur(0);
  -webkit-transition: .1s;
  transition: .1s;
}

/* レシピ一覧 */
.recipe-list-box {
  display: grid;
  gap: 20px;
}
/* 600px以上、767px以下では2列 */
@media (min-width: 600px) and (max-width: 767px) {
  .recipe-list-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
/* 768px以上、1118px以下は1列 */
@media (min-width: 768px) and (max-width: 1118px) {
  .recipe-list-box {
      grid-template-columns: 1fr;
  }
}
/* 1119px以上では2列 */
@media (min-width: 1119px) {
  .recipe-list-box {
      grid-template-columns: 1fr 1fr;
  }
}
.recipe-item-inner {
  position: relative;
}
.recipe-list-thumbnail .wp-post-image {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.recipe-list-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.recipe-list-bookmark {
  appearance: none;
  border: 0;
  color: #fff;
  background: #000;
  font-size: 12px;
  padding: .2em .5em;
}
.recipe-list-bookmark.liked {
  background: #cf2867;
}
.recipe-reviews-count {
  background: #ffffffc4;
  padding: .2em .5em;
  color: #000;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.recipe-reviews-count .wpcr3_aggregateRating {
  margin: 0;
}
.recipe-list-time {
  color: #cf2867;
  background: #ffffff;
  font-size: 12px;
  padding: .2em .5em;
  margin-left: auto;
  line-height: 1.8;
}
.recipe-list-name {
  font-size: max(14px, min(3vw,14px) );
  font-weight: 600;
  position: absolute;
  bottom: 0;
  padding: 1em;
  margin: 0;
  line-height: 1.4;
  color: #fff;
  text-shadow: 2px 2px 5px #000000b8;
  width: 100%;
}
.boxed-lunch li.boxed-lunch a,
.sweets li.sweets a,
.main-dish li.main-dish a,
.staple-food li.staple-food a,
.side-dish li.side-dish a,
.soup li.soup a {
  color: #fff;
}
.recipe-form input[type=text] {
  border-radius: 0;
}
.recipe-form input[type=submit] {
  background: #cf2867;
}
.related-recipes-title {
  font-size: 18px;
  margin: 30px 0 15px 0;
  font-weight: 600;
}
.no-results {
  grid-area: 1 / 1 / 2 / 3;
}
.no-results h2 {
  font-size: 18px;
}

/*人気のキーワード*/
.widget li {
  margin: 0;
}
.recipe-list-sidebar .widget_text .block-title {
  margin-bottom: 13px;
}
.widget_text ul.keyword_list {
  margin: 0;
}
.widget_text ul.keyword_list li {
  list-style: none;
  margin: 0 0 5px 0;
  padding: 0;
}
ul.keyword_list li.keyword_list_item {
  display: inline-block;
  background: #eee;
}
ul.keyword_list li.keyword_list_item a {
  display: block !important;
  color: #555;
  padding: 0 .5em;
}
/* 人気のレシピ */
.td_block_template_1 ul{
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.wpp-list li {
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  padding-bottom: 10px;
  list-style-type: none;
  line-height: 1.2;
}
.td_block_template_1 a {
  /* display: inline !important; */
  text-decoration: none;
}
.wpp-post-title {
  background: none !important;
  clear: none;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  font-weight: 400;
  font-size: 12px !important;
}
.wpp-thumbnail {
  border: 1px solid #eee !important;
  box-shadow: none !important;
  margin: 2px 10px 2px 0;
  padding: 3px !important;
}

/* レビュー */
.wpcr3_div_2 {
  padding: 20px 0 0 0;
}
.recipe-list-box .recipe-item div.wpcr3_rating_style1_average {
  background-size: 66px 40px;
  height: 12px;
}
.recipe-list-box .recipe-item div.wpcr3_rating_style1_base {
  background-size: 66px 37px;
  width: 66px;
  height: 12px;
}
.wpcr3_table_2 tr {
  display: grid;
  gap: 6px;
  padding-bottom: 15px;
}
.wpcr3_table_2 tr.wpcr3_review_form_review_field_label {
  padding-bottom: 4px;
}
.wpcr3_review_form_text_field td:first-of-type,
.wpcr3_review_form_rating_field td:first-of-type {
  width: 100% !important;
}
div.wpcr3_rating_style1_base {
  padding: 0;
}
.wpcr3_leave_text {
  color: #b71454;
}
.wpcr3_div_2 {
  padding: 20px 0 0 0;
}
.td-post-content table {
  margin-bottom: 0;
}
div.wpcr3_aggregateRating {
  margin-top: 5px;
  margin-bottom: 0;
  color: #333333;
  white-space: nowrap;
}
.wpcr3_item_name a {
  display: block;
  pointer-events: none;
  color: #555;
  border-top: solid 1px #eee;
  margin-top: 40px;
}
.wpcr3_caps {
  padding: 0 .4em;
}
.wpcr3_button_1 {
  margin-top: 15px;
  margin-bottom: 0;
}
.wpcr3_in_content .wpcr3_dotline:last-of-type {
  border: 0;
  opacity: 0;
  margin: 0 !important;
}
/* 20200330 Add */
.singlepage-recipe-banner {
	padding-bottom: 20px;
}
.pc-visible {
	display: block;
}
.sp-visible {
	display: none;
}

/* 20200428 Add */
#follow_link {
  text-align: center;
  padding: 0 0 25px 0;
}
.follow_link-title {
  line-height: 1.4;
  color: #cf2867;
  display: -webkit-box;display: -ms-flexbox;display: flex;
  -webkit-box-align: center;-ms-flex-align: center;align-items: center;
  -webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;
}
.follow_link-title::after {
  content: '';
  display: inline-block;
  width: 34px;
  height: 2px;
  background-color: #cf2867;
  -webkit-transform: rotate(-60deg);
  transform: rotate(-60deg);
}
.follow_link-title::before {
  content: '';
  display: inline-block;
  width: 34px;
  height: 2px;
  background-color: #cf2867;
  -webkit-transform: rotate(60deg);
  transform: rotate(60deg);
}
.follow_link-icon {
  display: -webkit-box;display: -ms-flexbox;display: flex;
  -webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;
  padding: 10px 0 0 0;
}
.follow_link-icon-font.td-icon-facebook,
.td-social-icon-wrap .follow_link-icon-font.td-icon-instagram,
.follow_link-icon-font.td-icon-twitter {
  display: -webkit-box;display: -ms-flexbox;display: flex;
  -webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;
  -webkit-box-align: center;-ms-flex-align: center;align-items: center;
}
.follow_link-icon-font.td-icon-facebook {
  font-size: 30px;
  color: #516caa;
}
.td-social-icon-wrap .follow_link-icon-font.td-icon-instagram {
  font-size: 30px;
  color: #E1306C;
}
.follow_link-icon-font.td-icon-twitter {
  font-size: 26px;
  color: #29c5f6;
}
.td-social-icon-wrap-facebook {
  border: solid 1px #516caa;
}
.td-social-icon-wrap-instagram {
  border: solid 1px #E1306C;
}
.td-social-icon-wrap-twitter {
  border: solid 1px #29c5f6;
}
.follow_link-icon .td-social-icon-wrap {
  display: -webkit-box;display: -ms-flexbox;display: flex;
  -webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;
  -webkit-box-align: center;-ms-flex-align: center;align-items: center;
  border-radius: 4px;
  max-width: 50px;
  width: 50px;
  padding: 5px 0;
  margin: 0 5px;
}
.tagdiv-type .follow_link-icon .td-social-icon-wrap a:hover {
  text-decoration: none;
}

.recipe-list-bottom-box {
  padding-bottom: 40px;
}
@media (max-width:767px) {
  .recipe-list-title {
    -webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;
  }
  .recipe-list-sidebar {
    padding: 20px 0 0 0;
  }
  .recipe-list-link {
    padding: 5px 0 0 0;
    margin-left: auto;
  }
  .recipe-list-bottom-box .recipe-list-box {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width:599px) {
  /* レビュー */
  .wpcr3_div_2 {
    width: 100%;
  }
  .wpcr3_table_2 tr {
    padding-bottom: 4px;
  }
  .wpcr3_table_2 td {
    text-align: left;
    display: block;
    padding: 4px 0;
  }
  .wpcr3_respond_2 input[type="text"],
  .wpcr3_respond_2 textarea {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    font-size: 16px;
  }
	/* 20200330 Add */
  .pc-visible {
	display: none;
  }
  .sp-visible {
	display: block;
  }
  .recipe-list-bottom-box .recipe-list-box {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (min-width:768px) {
  .recipe-list-bottom-box .recipe-list-box {
    grid-template-columns: repeat(4, 1fr);
  }
  .recipe-list-bottom-box .recipe-list-thumbnail .wp-post-image {
    aspect-ratio: 1 / 1;
  }
}


/* おいも株オーナー制度 2020/05/25 Add */
.oimokabu_img {
background:url(https://oimobicho.jp/wp-content/uploads/2020/05/main_bg.png) no-repeat;
	background-size: cover;
	background-position: center;
	padding: 2em 20px 1em 20px;
}
.oimokabu_img h2 {
	max-width: 380px;
	margin: 0 auto;
}
.about_oimokabu {
	padding: 1em;
}
.oimokabu_section2-heading {
	font-size: 18px;
	margin-bottom: 5px;
	font-weight: 600;
	display: flex;
	align-items: baseline;
}
.oimokabu_section2-heading span {
	background: url(images/oimobicho/circle.png) no-repeat;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	min-width: 36px;
	width: 36px;
	height: 36px;
	margin-right: 5px;
}
.oimo_list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.oimo_list::after {
	content: "";
	display: inline-block;
	width: 33%;
}
.oimo_list > li {
	width: 33%;
	margin: 0;
}
.oimo_list li > img {
	margin: 0;
}
.oimokabu_section3-heading {
	border-top: double 4px #333;
	border-bottom: double 4px #333;
}
.oimokabu_section3-heading span {
	display: block;
	width: 100%;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	background: #333333;
	color: #fff;
	padding: .2em;
	margin: 2px 0;
}
.oimokabu_section4 {
	padding: 10px 0 0 0;
	border-bottom: solid 2px #333;
}
.oimokabu_section4-heading {
	text-align: center;
	display: flex;
	align-items: center;
}
.oimokabu_section4-heading::before,
.oimokabu_section4-heading::after {
	content: "";
	display: inline-block;
	flex: 1;
	border-top: solid 4px #333;
}
.oimokabu_section4-heading span {
	background: #333333;
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	display: inline-block;
	border-radius: 40px;
	padding: .5em 1em;
}
.oimokabu_section4-flow {
	list-style: none;
	display: flex;
	justify-content: space-between;
}
.oimokabu_section4-flow li {
	position: relative;
	padding: 0;
	margin: 0;
	width: 30%;
}
.oimokabu_section4-flow li > p {
	margin: 0;
}
.oimokabu_section4-icon img {
	width: auto;
	height: 120px;
}
.oimokabu_section4-flow li:not(:last-of-type)::after  {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 43px 0 43px 26px;
	border-color: transparent transparent transparent #eade85;
	position: absolute;
	top: 20%;
	right: -30px;
}
.oimokabu_section5 {
	padding: 20px 0;
	text-align: center;
}
.oimokabu_section5-contact > p {
	margin: 0 0 .5em 0;
	padding: 0;
	font-weight: 600;
	font-size: 16px;
}
.contact_link {
	background: #cb5b59;
	color: #fff;
	display: inline-block;
	font-size: 22px;
	padding: .4em 1.5em;
	border-radius: 40px;
	box-shadow: 0 0 4px #c3c3c3;
}
.tagdiv-type a.contact_link:hover {
	text-decoration: none;
	opacity: .8;
}
@media(max-width:599px) {
	.about_oimokabu > p,
	.oimokabu_section2 > p{
		font-size: 14px;
		margin-bottom: 0;
	}
	.tagdiv-type img.oimokabu_section1-img {
		margin: 0;
	}
	.oimo_list {
		padding: 10px 0 0 0;
	}
	.oimo_list::after {
		content: "";
		display: inline-block;
		width: 49%;
	}
	.oimo_list > li {
		width: 49%;
		margin: 0;
	}
	.oimokabu_section3-heading span {
		font-size: 14px;
	}
	.oimokabu_section4 {
		padding: 0;
	}
	.oimokabu_section4-heading span {
		font-size: 14px;
		padding: .2em 1em;
	}
	.oimokabu_section4-flow {
		flex-direction: column;
	}
	.oimokabu_section4-flow li {
		width: 60%;
		margin: 0 auto;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.oimokabu_section4-flow li:not(:last-of-type)::after  {
		content: "";
		display: block;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 26px 43px 0 43px;
		border-color: #eade85 transparent transparent transparent;
		position: initial;
    margin: 0 auto 10px auto;
	}
	.oimokabu_section4-flow li > p {
		font-size: 14px;
		margin-bottom: 1.5em;
	}
	.oimokabu_section5 > p {
		text-align: left;
	}
	.oimokabu_section5 > p br {
		display: none;
	}
}
