@charset "utf-8";
/*
Theme Name:安全野菜工場
Theme URI:
Description:
Template: famous_tcd064
Author:HITC
Author URI:
version:1.6.1
*/
/* common */
* body {
  color: #330000 !important;
  font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-weight: 500;
  line-height: 1.6;
  font-feature-settings: "palt";
  letter-spacing: .05rem;
}
#index-contents img {
  max-width: 100%;
  transform: scale(1);
  transition-property: transform, opacity;
  transition-duration: 0.75s;
}
#index-contents a:hover img {
  transform: scale(1.2);
}
#index-contents figure {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}
.home .l-main {
  padding-bottom: 0;
}
.p-cb__item-headline {
  font-weight: bold !important;
}
.page section:not(:last-child) {
  margin-bottom: 5rem;
}
.page section h3 {
  margin-bottom: 2rem;
  border-left: 4px solid #333000;
  padding: 8px 0px 8px 20px;
  font-weight: bold;
}
.works_desc-wrap h2{
font-size:1.5rem;
font-weight:bold;
margin:40px 0 10px 0;
}
.works_desc-wrap ul,
.works_desc-wrap ol{
margin:10px 0 10px 20px;
}
.works_desc-wrap ul li{
list-style-type:disc;
}
.works_desc-wrap ol li{
list-style-type: decimal;
}

.l-header #menu-item-339 a{
display:block;
height:40px;
width:40px;
background-image:url("https://yasaikojo.com/wp/wp-content/uploads/fb_black.png");
background-repeat:no-repeat;
}

.is-header-fixed #menu-item-339 a{
display:block;
margin-top:15px;
height:40px;
width:40px;
background-image:url("https://yasaikojo.com/wp/wp-content/uploads/fb_black.png");
background-repeat:no-repeat;
}

@media (min-width:767px){
.c-menu-button1 {
display:none;
}
}

@media (max-width:767px){
.l-header #menu-item-339 a,
.is-header-fixed #menu-item-339 a{
display:none;
}
.c-menu-button1 {
    display:block;
    position: absolute;
    top: 0;
    right: 40px;
    text-align: center;
}
.c-menu-button1 img {
	width:25px;
	margin-bottom:15px;
}
}

@media (max-width:575.98px){
  .page section:not(:last-child) {
    margin-bottom: 2.5rem;
  }
  .page section h3 {
    margin-bottom: 1.25rem;
  }
}
.p-entry__body p {
  margin-bottom: 1.25rem;
}
.p-entry__body p:last-child, .p-entry__body ul:last-child, .p-entry__body ol, .p-entry__body dl:last-child, .p-entry__body dd:last-child {
  margin-bottom: 0;
  padding-bottom: 0 !important;
}
.p-entry__body li:not(:last-child) {
  margin-bottom: .5rem;
}

/* logo */
#logo_image {
  max-width: 50%;
  top: 50% !important;
  transform: translateY(-50%);
}
#logo_image img {
  max-width: 100%;
}
#logo_image {
  padding-left: 16px;
}

/* header */
.p-header__logo img {
  max-width: 200px;
}
@media screen and (min-width: 1200px) {
  .l-header:not(.is-header-fixed) .p-header__bar__inner {
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .l-header:not(.is-header-fixed) .p-header__logo {
    margin-top: 1.5rem;
  }
}
body.l-header__fix .is-header-fixed .l-header__bar {
  box-shadow: 0 0 15px 5px rgba(0,0,0,0.1);
}

/* Main Visual */
.p-index-slider__item--1 .p-header-content__catch {
  font-weight: bold;
  letter-spacing: .1rem;
}
@media (min-width: 769px) {
  .p-index-slider__item--1 .p-header-content__catch {
    letter-spacing: .3rem;
  }
}
.concept-movie-btn {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: 4px;
  padding: .75rem 1.5rem .75rem 3.5rem;
  background: #fff;
  border-radius: 3rem 0 0 3rem;
  transition: .3s;
}
.concept-movie-btn:hover {
  background: #330000;
  color: #fff;
}
.concept-movie-btn span::before,
.concept-movie-btn span::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  vertical-align: middle;
  transition: .3s;
}
.concept-movie-btn span::before {
  left: 1.5rem;
  width: 16px;
  height: 16px;
  border: 2px solid #300;
  border-radius: 100%;
}
.concept-movie-btn span::after {
  left: 1.9rem;
  box-sizing: border-box;
  width: 4px;
  height: 4px;
  border: 4px solid transparent;
  border-left: 5px solid #300;
}
.concept-movie-btn:hover span::before{
  border-color: #fff;
}
.concept-movie-btn:hover span::after {
  border-left-color: #fff;
}
@media (min-width:1025px){
  .concept-movie-btn {
    bottom: 124px;
    font-size: 1.2rem;
  }
}
@media (max-width: 767px) {
	.p-index-video {
    height: 420px !important;
  }
  .p-header-content__image {
    height: 100%;
  }
  .p-header-content__image > img {
    height: 100% !important;
    width: auto !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}


/* for Youtube */
.p-header-content__video-youtube {
    opacity: 1 !important;
}
.pum-container.pum-container {
  padding: 0 !important;
  border: none !important;
}
.pum-container .popmake-content {
  height: 0 !important;
  padding-top: 56.25% !important;
}
.popmake-content iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100% !important;
  width: 100% !important;
}
.pum-container.pum-responsive {
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.pum-content + .pum-close,
.pum-theme-lightbox .pum-content + .pum-close {
  right: 0 !important;
  top: -24px !important;
}
@media (max-width:1024px){
  html.pum-open.pum-open-overlay.pum-open-scrollable body > [aria-hidden] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (max-width:992px){
  .pum-container.pum-responsive {
    width: 90% !important;
  }
}
.pum-theme-lightbox {
  background-color: rgba( 0, 0, 0, .9 ) !important;
}

/* Youtubeのタイトルとロゴを隠す */
@media (min-width:1025px){
  .p-header-content__video {
    top: -60px;
    z-index: -1;
  }
  .p-index-video {
    margin-bottom: -120px;
  }
  .p-index-video::before {
    content: "";
    background: url('images/mv2.jpg') no-repeat center / cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  .p-cb__item.has-bg-image {
    background: #fff;
  }
}
@media (max-width:1024px){
  .p-index-video {
    padding-top: 0;
  }
}

/* nav */
.p-global-nav > li > a {
  padding: 0 12px;
}
.l-header:not(.is-header-fixed) .p-global-nav > li > a {
  height: 60px;
  line-height: 50px;
}
@media only screen and (max-width: 1199px) {
	.p-global-nav a:hover, .p-global-nav .current-menu-item > a {background-color: #330000 !important; color: #ffffff;}
}
@media screen and (max-width: 1060px) {
  .l-header:not(.is-header-fixed) .p-global-nav > li > a {
    line-height: 60px;
  }
  .l-header.is-header-fixed .p-global-nav > li > a {
    height: 60px;
    line-height: 60px;
  }
  .l-header .p-global-nav > li > a {
    border-bottom: 1px solid rgba(255,255,255,.16);
  }
}
.p-global-nav > li.shop > a {
  color: #fff;
}
.p-global-nav > li.shop > a > span {
  display: inline-block;
  background: #300;
  border-radius: .25rem;
  padding: .35rem .75rem;
  line-height: normal;
  transition: .2s;
}
.p-global-nav > li.shop > a:hover {
  color: #fff;
}
.p-global-nav > li.shop > a:hover > span {
  background: #663300;
}

/* footer */
.p-footer__logo img {
  max-width: 200px;
}
.p-pagetop a {
  background: rgba(102, 51, 0, .8) !important;
}
.p-pagetop a:hover {
  background: rgba(102, 51, 0, 1) !important;
}
.p-footer-nav .shop {
  display: none;
}
.p-footer-nav li::after {
  content: none;
}
.p-footer-nav {
  padding-bottom: 50px;
}
.p-footer-info {
  padding-bottom: 1rem;
}

@media screen and (max-width: 768px) {
  .p-footer-info {
    background: #f4f4f4;
  }
  .p-footer-nav {
    margin-top: 0;
    padding-bottom: 36px;
  }
  .p-footer-nav {
  	display:-ms-flexbox;
  	display:flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }
  .p-footer-nav li a {
  	line-height: 1.5;
  }
}

@media screen and (max-width: 480px) {
  .p-footer-nav__container {
    display: none;
  }
  .p-footer-info {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem;
  }
}

/* iframe */
#iframe-wrap {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}
#iframe-wrap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100% !important;
  width: 100% !important;
}
#iframe-wrap.map {
  padding-bottom: 46.25%;
}
@media screen and (max-width: 480px) {
  #iframe-wrap.map {
    padding-bottom: 100.25%;
  }
}
.map-wrapper {
  padding: 4px;
  background-color: #fafafa;
}

/* home contents */
.home #cb_4 {
  background-color: #f2f2f2;
}
.text-vertical {
  color: #300;
}
@media screen and (max-width: 820px) {
  .p-works-gallery__filter {
    display:-ms-flexbox;
    display:flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }
}
@media screen and (min-width: 768px) {
  .text-vertical {
    text-align: center;
  }
  .text-vertical-inner {
    writing-mode: vertical-rl;
    display: inline-block;
    text-align: left;
    line-height: 2.5;
  }
  .text-vertical-inner h2 {
    margin: 0 0 0 3rem;
    font-weight: bold;
  }
  .text-vertical-inner p {
    letter-spacing: .05rem;
  }
  .text-vertical-inner p:not(:last-child) {
    margin: 0 0 0 2rem;
  }
  .text-vertical-inner p span {
    display: block;
  }
  .text-vertical-inner p span.text-indent {
    text-indent: -.5rem;
  }
}
@media screen and (max-width: 768px) {
  #cb_4 .p-cb__item-desc {
    text-align: center;
  }
  .p-entry__body h2 {
    text-align: center;
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-size: 24px;
  }
  .p-entry__body p {
    margin-bottom: 1rem;
  }
  .p-entry__body p:last-child {
    margin-bottom: 0;
  }
  .p-breadcrumb + .p-archive-works,
  .p-archive-voice {
    margin-top: 0;
  }
  #cb_4 .p-cb__item-desc {
    text-align: left;
  }
}
@media screen and (max-width: 480px) {
  .p-page-header__title,
  .p-cb__item-headline,
  .p-entry-works__title {
    font-size: 26px !important;
    font-weight: bold;
  }
  .p-works-gallery__filter {
    display: block;
  }
  .p-works-gallery__filter-item:not(:first-child) {
    margin: 0 .5rem;
  }
  .p-works-gallery__filter>li:first-child {
    width: 100%;
    display: block;
  }
  .p-works-gallery__filter>li:not(:first-child) {
    display: inline-block;
    vertical-align: top;
  }
  .p-works-gallery__filter>li:not(:first-child) span {
    min-width: auto;
    padding: 12px 8px;
    width: 2.5em !important;
    line-height: 1.2;
  }
}

/* index-contents */
#index-contents section:not(:last-child) {
  margin-bottom: 100px;
}
#index-contents section .row:not(:first-child) {
  margin-top: 50px;
}

#index-contents section:nth-child(1) figure {
  position: relative;
}
#index-contents section:nth-child(1) figure:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 5;
  background-color: rgba(0,0,0,.12);
}
#index-contents section:nth-child(1) a {
  position: relative;
  display: block;
}
#index-contents section:nth-child(1) a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  background-repeat: no-repeat;
  background-position: left 12% center;
  background-size: auto 40%;
}
#index-contents section:nth-child(1) a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 8px solid rgba(255,255,255,.3);
  z-index: 10;
}
#index-contents section:nth-child(1) .row>div:nth-child(1) a::before {
  background-image: url('images/bg-01.png');
}
#index-contents section:nth-child(1) .row>div:nth-child(2) a::before {
  background-image: url('images/bg-02.png');
}

#index-contents section:nth-child(2) {
  background-color: #f2f2f2;
  padding-top: 100px;
  padding-bottom: 100px;
}
#index-contents section:nth-child(2) .logo {
  text-align: center;
}
#index-contents section:nth-child(2) .logo img {
  max-width: 200px;
}
#index-contents section:nth-child(2) .thumb {
  background-position: center top 16%;
}
#index-contents section:nth-child(2) table {
  margin-bottom: 1.5rem;
}
#index-contents section:nth-child(2) table td {
  padding-bottom: .25rem;
}
#index-contents section:nth-child(2) dt {
  font-size: 1.1rem;
  letter-spacing: .1rem;
  margin-bottom: .5rem;
}
#index-contents section:nth-child(2) dd:not(:last-child) {
  margin-bottom: .25rem;
}

@media screen and (min-width: 1200px) {
  #index-contents section:nth-child(3) .container {
    max-width: 1165px;
  }
  #index-contents section:nth-child(3) .container figure {
    margin-left: 12px;
  }
}

#index-contents section:nth-child(4) {
  background-color: #330000;
  padding-top: 100px;
  padding-bottom: 100px;
}
#index-contents section:nth-child(4) a {
  position: relative;
  display: block;
}
#index-contents section:nth-child(4) a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 40%;
}
#index-contents section:nth-child(4) a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 8px solid #165106;
  z-index: 10;
}
#index-contents section:nth-child(4)  a::before {
  background-image: url('images/bg-03.png');
}
@media screen and (max-width: 768px) {
  #index-contents section:not(:last-child) {
    margin-bottom: 40px;
  }
  #index-contents section:nth-child(2),
  #index-contents section:nth-child(4) {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  #index-contents section:nth-child(1) a::before,
  #index-contents section:nth-child(4) a::before {
    background-size: auto 50%;
  }
}
@media screen and (max-width: 480px) {
  #index-contents .container {
    padding-right: 24px;
    padding-left: 24px;
  }
  #cb01 .row>div:not(:last-child) {
    margin-bottom: 1rem;
  }
  #index-contents section .row:not(:first-child) {
    margin-top: 1.5rem;
  }
  #cb02 .thumb {
    height: 0;
    padding-top: 56.25%;
    margin-bottom: 1rem;
  }
  #index-contents section:nth-child(2) table {
    margin-bottom: 1.5rem;
  }
  #index-contents section:nth-child(2) table tr {
    border-bottom: 1px solid #ddd;
    padding-bottom: .25rem;
    margin-bottom: .5rem;
    display: block;
  }
  #index-contents section:nth-child(2) table tr td span {
    display: block;
  }
  #index-contents section:nth-child(2) dd {
    margin-bottom: .5rem !important;
    padding-bottom: .5rem;
    border-bottom: 1px solid #ddd;
  }
  #index-contents section:nth-child(2) table tr:last-child,
  #index-contents section:nth-child(2) dd:last-child {
    margin-bottom: 0;
  }
}
.home .links {
  margin-top: .5rem;
}
.post-type-archive-voice .links {
  margin-top: -1.25rem;
}
.links a {
  position: relative;
  top: .125rem;
}
.links a:hover {
  text-decoration: underline !important;
}
@media only screen and (max-width: 991px) {
  .home .links { padding: 0 5.5556%; }
}

/* breadcrumb */
@media (max-width:768px){
  .p-page-header__image + .p-breadcrumb {
    margin-bottom: 1rem;
  }
}

/* Widget */
.widget_categories.p-widget ul {
  border: 1px solid #ddd;
  background: #fff;
  border-top: none;
  margin: 0 !important;
  padding: 0;
}
.widget_categories.p-widget li {
  border-top: 1px solid #ddd;
  margin: 0 !important;
}
.widget_categories.p-widget li a {
  display: block;
  font-weight: normal;
  padding: 12.5px 22px;
  text-decoration: none;
}
.widget_categories.p-widget li a:hover {
  background: #eee;
  color: #000;
}

/* Table */
@media (max-width:575.98px){
  .table th,.table td {
    display: block;
  }
  .table th {
    border-bottom: none;
  }
  .table td {
    margin-bottom: 1rem;
  }
}

/* FAQ */
.faq .p-entry-page__body section:not(:last-child) {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px dashed #bbb;
}
.faq .p-entry__body dt {
  background: #f7f7f7;
  padding: .25rem 1rem;
  border-radius: .25rem;
  margin-bottom: .5rem;
}
.faq .p-entry__body dd {
  padding-left: 1rem;
  padding-bottom: 1rem;
}

/* About */
.about .table th, .about .table td {
  border: none;
  border-bottom: 1px solid #dee2e6;
}
.headline {
  font-size: 32px !important;
  line-height: 1.6 !important;
  font-weight: bold;
}
@media (min-width:768px){
  .headline {
    text-align: center;
    margin-bottom: 3rem !important;
    letter-spacing: .1rem;
  }
}
@media (max-width:767px){
  .headline {
    font-size: 22px !important;
    text-align: left !important;
  }
  .headline br {
    display: none;
  }
}
@media (max-width:575.98px){
  .about .table td {
    margin-bottom: 0;
  }
}
.about .bg-box {
  background: url('images/mv2.jpg') no-repeat center / cover;
  margin-left: -500px;
  margin-right: -500px;
  padding-left: 500px;
  padding-right: 500px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.about .bg-box:before{
  content: '';
  background: inherit;
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: -1;
}
.about .bg-box .inner {
  background-color: rgba(255,255,255,.8);
  margin-left: -500px;
  margin-right: -500px;
  padding-left: 500px;
  padding-right: 500px;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (min-width:768px){
  .about .bg-box .inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
@media (min-width:769px){
  .about .bg-box {
    background-attachment: fixed;
  }
  .about .l-2columns .l-primary {
    overflow: hidden;
  }
}

/* contact */
.caution {
  color: #ea4335;
  font-size: .7rem;
}
.contact .wpcf7 {
  border: none;
  background: transparent;
}

/* works */
.p-works-gallery__caption {
  background: #300;
}
.single-works .btn {
  border-color: rgba(0, 0, 0, 0.1);
  font-size: .9rem;
}
.single-works .p-entry__title, .btn-wrap {margin-bottom: 1.5rem;}
.single-works .btn-wrap {margin-top: 2rem;}
@media (min-width: 769px) {
  .single-works .works_desc-wrap {margin-bottom: 1rem;}
  .single-works .btn-wrap {margin-bottom: 2rem;}
  .single-works .p-entry-works__pager {
    left: 5.8644%;
  }
  .single-works .p-entry-works__contents__inner {
    padding: 50px 5.8644% 70px;
    background: #fff;
    position: relative;
  }
  .single-works .p-entry-works {
    background: transparent !important;
  }
}
.single-works .p-entry-works__body,.works_desc-wrap p {
  line-height: 2;
}
@media (max-width: 768px) {
  .single-works .p-entry-works__body {
    margin-bottom: 1.25rem;
  }
  .single-works .p-breadcrumb {
    margin-bottom: 2rem;
  }
}
.single-works .works_desc-wrap p:not(:last-child) {
  margin-bottom: 1.25rem;
}
@media only screen and (max-width: 991px) {
	.l-secondary { margin-top: 3rem;}
}