/*
Theme Name:NANO-child
Theme URI:
Description:NANOの子テーマです。
Template:nano_tcd065
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.11
*/


/*TCD デフォルトパーツ編集*/
.p-archive-header__title {
  line-height: 1.8;
  margin-bottom: 30px;
}


/*見出し*/
h2.ttl2 {
  margin-bottom: 30px;
  border-bottom: 2px solid #c4171f;
  padding: 0px 0px 15px 0px;
  font-size: 30px;
}

h3.ttl3 {
  text-align: center;
  position: relative;
  margin-bottom: 2.5em;
  padding-bottom: 0.5em;
  font-size: 28px;
}

h3.ttl3:before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #c4171f;
  border-radius: 2px;
}

@media screen and (max-width: 767px) {
  h3.ttl3 {
    font-size: 20px;
  }

  h2.ttl2 {
    font-size: 23px;
  }
}


h4.ttl4 {
  padding: 0.25em 0.8em;
  /*上下 左右の余白*/
  color: #333;
  /*文字色*/
  background: transparent;
  /*背景透明に*/
  border-left: solid 5px #c4171f;
  /*左線*/
}

/*ブロックパーツ（見出し）*/
body .is-style-heading01 {
  font-size: 30px;
  letter-spacing: .05em;
  line-height: 1.5;
  padding-bottom: 12px;
  color: #333;
  border-bottom: 2px solid #c4171f;
  margin-bottom: 2em;
}

body .is-style-heading02 {
  font-size: 28px;
  letter-spacing: .05em;
  line-height: 1.5;
  padding-bottom: 20px;
  color: #333;
  position: relative;
  text-align: center;
  margin-bottom: 1em;
}

body .is-style-heading02:after {
  content: "";
  width: 86px;
  height: 5px;
  background-color: #c4171f;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
}

body .is-style-heading03 {
  font-size: 26px;
  letter-spacing: .05em;
  line-height: 1.5;
  padding-bottom: 14px;
  color: #333;
  position: relative;
  margin-bottom: 1em;
}

body .is-style-heading03:before {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #c4171f;
}

body .is-style-heading03:after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: 0;
  left: 80px;
  right: 0;
  background-color: #ccc;
}

body .is-style-heading04 {
  font-size: 23px;
  letter-spacing: .05em;
  line-height: 1.5;
  padding: 2px 0 2px 18px;
  border-left: 5px solid #c4171f;
  color: #333;
  margin-bottom: 1em;
}

body .is-style-heading05 {
  font-size: 20px;
  letter-spacing: .05em;
  line-height: 1.5;
  color: #c4171f;
  margin-bottom: 1em;
}

body ul.is-style-list01 {
  margin-left: 0;
  list-style-type: none;
  font-weight: bold;
}

body ul.is-style-list01 li {
  padding-left: 1.5em;
  position: relative;
  letter-spacing: .05em;
}

body ul.is-style-list01 li:before {
  content: "";
  position: absolute;
  width: .8em;
  height: .8em;
  top: .7em;
  left: 0;
  background-color: #c4171f;
  border-radius: 50%;
}

body ol.is-style-list01 {
  margin-left: 0;
  list-style-type: none;
  counter-reset: number;
  font-weight: bold;
}

body ol.is-style-list01 li {
  position: relative;
  letter-spacing: .05em;
}

body ol.is-style-list01 li:before {
  counter-increment: number;
  content: counter(number);
  width: 22px;
  display: inline-block;
  color: #c4171f;
}

body .wp-block-table {
  margin: 0 0 1em;
  font-weight: bold;
  letter-spacing: .05em;
}

body .wp-block-table td:first-of-type {
  width: 190px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  background-color: #c4171f;
  border: 1px solid #fff;
  font-weight: bold;
}

body .wp-block-button__link {
  display: inline-block;
  width: 320px;
  max-width: 100%;
  border-radius: 0;
  border: 1px solid #333;
  color: #fff !important;
  font-size: 16px;
  font-weight: bold;
  padding: 20px 10px;
}

body .wp-block-button__link:hover {
  background-color: #fff;
  color: #333 !important;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  body .is-style-heading01 {
    font-size: 22px;
  }

  body .is-style-heading01 .small {
    font-size: 18px;
  }

  body .is-style-heading02 {
    font-size: 24px;
  }

  body .is-style-heading03 {
    font-size: 22px;
  }

  body .is-style-heading04 {
    font-size: 20px;
  }

  body .wp-block-table tr {
    display: flex;
    flex-wrap: wrap;
  }

  body .wp-block-table td {
    width: 100% !important;
  }
}

/*余白下*/
mb100 {
  margin-bottom: 100px;
}

mb90 {
  margin-bottom: 90px;
}

mb80 {
  margin-bottom: 80px;
}

mb60 {
  margin-bottom: 60px;
}

mb50 {
  margin-bottom: 50px;
}

mb40 {
  margin-bottom: 40px;
}

mb30 {
  margin-bottom: 30px;
}

mb20 {
  margin-bottom: 20px;
}

mb10 {
  margin-bottom: 10px;
}

/*余白上*/
mt100 {
  margin-top: 100px;
}

mt90 {
  margin-top: 90px;
}

mt80 {
  margin-top: 80px;
}

mt60 {
  margin-top: 60px;
}

mt50 {
  margin-top: 50px;
}

mt40 {
  margin-top: 40px;
}

mt30 {
  margin-top: 30px;
}

mt20 {
  margin-top: 20px;
}

mt10 {
  margin-top: 10px;
}


/*経営理念*/

.message_vision_1 {
  background: linear-gradient(144deg, rgba(56, 154, 0, 1) 0%, rgba(78, 216, 0, 1) 50%, rgba(56, 154, 0, 1) 90%);
  text-align: center;
  color: #fff;
  padding: 60px 10px 40px;
  font-weight: bold;
  line-height: 2;
}

.message_vision_1 ._1 {
  font-size: 20px;
  font-family: serif;
  margin-bottom: 30px;
  line-height: 1.6;
}

.message_vision_1 ._2 {
  font-size: 38px;
  font-family: serif;
  line-height: 1.6;
}

.message_vision_1 ._3 {
  font-size: 80px;
  line-height: 1.2;
  font-style: italic;
}

.message_vision_1 ._4 {
  font-size: 25px;
  line-height: 1.8;
}

.message_vision_1 ._4 .large {
  font-size: 120%;
  color: #F7FF00;
}

@media screen and (max-width: 767px) {
  .message_vision_1 ._1 {
    font-size: 14px;
  }

  .message_vision_1 ._2 {
    font-size: 20px;
  }

  .message_vision_1 ._3 {
    font-size: 44px;
  }

  .message_vision_1 ._4 {
    font-size: 14px;
  }
}

.message_vision_2 {
  background: linear-gradient(144deg, rgba(56, 154, 0, 1) 0%, rgba(78, 216, 0, 1) 50%, rgba(56, 154, 0, 1) 90%);
  color: #fff;
  padding: 60px;
  font-weight: bold;
  line-height: 2;
}

.message_vision_2 ._1 {
  font-size: 38px;
  font-family: serif;
  line-height: 1.6;
  text-align: center;
}

.message_vision_2 .number_col {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.message_vision_2 .number_item {
  border: 5px solid #fff;
  display: flex;
  position: relative;
}

.message_vision_2 .number_item .num {
  font-size: 50px;
  display: flex;
  align-items: center;
  color: #389a00;
  height: 100%;
  background-color: #fff;
  padding: 0 24px 0 16px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  font-style: italic;
}

.message_vision_2 .number_item .text {
  font-size: 18px;
  padding: 30px 30px 30px 130px;
}

@media screen and (max-width: 767px) {
  .message_vision_2 {
    padding: 40px 20px;
  }

  .message_vision_2 ._1 {
    font-size: 20px;
  }

  .message_vision_2 .number_item .num {
    font-size: 25px;
    padding: 0 12px 0 8px;
  }

  .message_vision_2 .number_item .text {
    padding: 20px 20px 20px 70px;
    font-size: 14px;
  }
}

.pb-widget-simple_table {
  margin: 0 0 1em;
  font-weight: bold;
  letter-spacing: .05em;
}

.pb-widget-simple_table th {
  width: 160px !important;
  text-align: center;
  font-size: 15px !important;
  font-weight: bold !important;
  color: #fff !important;
  background-color: #c4171f !important;
  border: 1px solid #fff !important;
}

@media screen and (max-width: 767px) {
  .pb-widget-simple_table tr {
    display: flex;
    flex-wrap: wrap;
  }

  .pb-widget-simple_table th,
  .pb-widget-simple_table td {
    width: 100% !important;
  }
}


/*サステナビリティ*/

.sustainable_wrap {
  margin-bottom: 40px;
}

.sustainable_wrap h4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: serif;
  width: 220px;
  height: 220px;
  margin: 0 auto -60px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .16);
  position: relative;
  z-index: +1;
  border: 20px solid #fff;
  color: #fff;
  background-color: #8fd17b;
}

.sustainable_wrap h4 .main {
  font-size: 60px;
  letter-spacing: .05em;
}

.sustainable_wrap h4 .sub {
  font-size: 30px;
  letter-spacing: .05em;
}

.sustainable_wrap .sustainable_box {
  background-color: #dff2d9;
  padding: 110px 50px 50px;
}

.sustainable_wrap .subject {
  font-family: serif;
  display: flex;
  align-items: center;
  column-gap: 25px;
  margin-bottom: 28px;
}

.sustainable_wrap .subject .number {
  background-color: #8fd17b;
  color: #fff;
  padding: 16px 22px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: .05em;
  min-width: 140px;
}

.sustainable_wrap .subject .number span {
  font-size: 150%;
}

.sustainable_wrap .subject .main {
  font-size: 23px;
  margin: 0;
}

.sustainable_wrap .subject .main span {
  font-size: 86%;
}

.sustainable_wrap .subject:not(:first-child) {
  margin-top: 50px;
}

.sustainable_wrap .measures {
  margin-bottom: 20px;
}

.sustainable_wrap .measures h5 {
  font-family: serif;
  font-size: 18px;
  letter-spacing: .05em;
  color: #fff;
  background-color: #8fd17b;
  text-align: center;
  padding: 10px 0;
  margin: 0;
}

.sustainable_wrap .measures .textarea {
  padding: 25px 40px 28px;
  background-color: #fff;
}

.sustainable_wrap .measures .textarea ul {
  font-weight: normal;
  margin-bottom: 0;
}

.sustainable_e .measures .textarea ul li:before {
  background-color: #8fd17b;
}

.sustainable_s h4,
.sustainable_s .subject .number,
.sustainable_s .measures h5,
.sustainable_s .measures .textarea ul li:before {
  background-color: #e5a358;
}

.sustainable_s .sustainable_box {
  background-color: #fbf3cd;
}

.sustainable_g h4,
.sustainable_g .subject .number,
.sustainable_g .measures h5,
.sustainable_g .measures .textarea ul li:before {
  background-color: #506fe8;
}

.sustainable_g .sustainable_box {
  background-color: #dbe8ff;
}

.sustainable_all h4,
.sustainable_all .subject .number,
.sustainable_all .measures h5,
.sustainable_all .measures .textarea ul li:before {
  background-color: #c69dff;
}

.sustainable_all .sustainable_box {
  background-color: #f2e9ff;
}

.sustainable_all h4 .main {
  font-size: 50px;
}

.sustainable_all h4 .sub {
  font-size: 25px;
}

@media screen and (max-width: 767px) {
  .sustainable_wrap .sustainable_box {
    padding: 110px 20px 30px;
  }

  .sustainable_wrap .subject {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .sustainable_wrap .subject .number {
    font-size: 16px;
    min-width: 0;
  }

  .sustainable_wrap .subject .main {
    font-size: 20px;
  }

  .sustainable_wrap .measures .textarea {
    padding: 26px 15px;
  }
}


/*農薬*/

.pesticides_list {
  padding: 60px 50px;
  border: 1px solid #aaa;
  margin-bottom: 80px;
}

.pesticides_list ul {
  margin: 0;
  font-size: 23px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.pesticides_list ul li span {
  color: #c4171f;
}

/*qa*/

.ac_group {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  counter-reset: point;
}

.ac_box {
  width: 100%;
  border: 1px solid #aaa;
}

.ac_question {
  padding: 24px 90px 24px 140px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 100px;
  position: relative;
  font-size: 23px;
  font-weight: bold;
  cursor: pointer;
  background-color: #fff;
  line-height: 1.6;
}

.ac_question .point {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background-color: #c4171f;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1.2;
}

.ac_question .point:after {
  counter-increment: point;
  content: counter(point, decimal-leading-zero);
  font-size: 40px;

}

.ac_box .ac_answer {
  display: none;
  border-top: 1px solid #aaa;
}

.ac_box .ac_answer>span {
  display: block;
  padding: 36px 50px 50px 50px;
  position: relative;
}

.ac_box .ac_answer .text {
  font-weight: bold;
}

.ac_box .ac_answer .text {
  font-weight: bold;
}

.ac_box .ac_question .opcl {
  content: "";
  position: absolute;
  top: 0;
  right: 30px;
  bottom: 0;
  margin: auto 0;
  width: 50px;
  height: 50px;
}

.ac_box .ac_question .opcl:before,
.ac_box .ac_question .opcl:after {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 100%;
  height: 5px;
  background-color: #333;
  transition: .3s;
}

.ac_box .ac_question:not(.open) .opcl:after {
  transform: rotate(-90deg);
}

.red {
  color: #c4171f;
}

.ac_box .ac_answer img {
  display: block;
  margin: 0 auto;
}

.ac_box .ac_answer .center {
  text-align: center;
}

.page-pesticides .is-style-heading01 {
  margin-top: 60px;
}

@media screen and (max-width: 767px) {
  .pesticides_list {
    padding: 30px 15px;
  }

  .pesticides_list ul {
    font-size: 16px;
  }

  .ac_question .point {
    font-size: 13px;
    width: 60px;
    height: 100%;
  }

  .ac_question .point:after {
    font-size: 28px;
  }

  .ac_box .ac_question .opcl {
    right: 10px;
    width: 30px;
    height: 30px;
  }

  .ac_question {
    padding: 20px 50px 20px 70px;
    font-size: 16px;
  }

  .ac_box .ac_answer>span {
    padding: 30px 20px 40px;
  }
}

/*受託・生産*/

.entrustment_flow {
  margin: 0 auto;
  max-width: 100%;
  width: 1080px;
  column-gap: 60px;
}

.entrustment_flow .wp-block-image {
  width: 100%;
  margin: 0;
}

.entrustment_flow .wp-block-image img {
  width: 100%;
  height: auto;
}

.entrustment_flow p {
  font-size: 23px;
  font-weight: bold;
  color: #fff;
  margin: 0;
  line-height: 60px;
  background-color: #c4171f;
}

.entrustment_flow .wp-block-column {
  position: relative;
}

.entrustment_flow .wp-block-column:not(:last-child):after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 60px;
  background-image: url(assets/img/common/arrow_1.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

@media screen and (max-width: 767px) {
  .entrustment_flow p {
    font-size: 18px;
    line-height: 45px;
  }

  .entrustment_flow {
    row-gap: 30px;
  }

  .entrustment_flow .wp-block-column:not(:last-child):after {
    content: initial;
  }
}

/*会社概要 沿革*/

.video {
  width: 100%;
  border: 1px solid #aaa;
}

/*TOP MV*/

/*width: 92.1875%; margin: 0 auto; max-width: 1180px;*/
.p-header-content__inner {
  padding: 0;
  width: 92.1875%;
  margin: 0 auto;
  max-width: 1180px;
  right: 0;
  top: 70%;
  text-align: right;
}

@media only screen and (max-width: 991px) {
  .p-header-content__inner {
    width: 88.88889%;
  }
}

@media only screen and (max-width: 767px) {
  .p-header-content__inner {
    padding: 0 20px;
    width: 100%;
  }

  .p-header-slider__item .p-header-content__title span {
    font-size: 22px;
  }
}

/*新卒採用情報*/

body ul.is-style-list01.recruitment_list1 {
  font-size: 23px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 66px;
  margin-bottom: 60px;
}

.recruitment_list2 {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 60px;
  margin: 0 0 80px !important;
}

.recruitment_list2 li {
  list-style-type: none;
  width: 830px;
  max-width: 100%;
  background-color: #c4171f;
  text-align: center;
  line-height: 60px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  position: relative;
}

.recruitment_list2 li:not(:last-of-type):before {
  content: "";
  border-top: 20px solid #c4171f;
  border-right: 25px solid transparent;
  border-left: 25px solid transparent;
  position: absolute;
  left: calc(50% - 25px);
  top: calc(100% + 20px);
  transform: scale(1.15)
}

.recruitment_list2 li:not(:last-of-type):after {
  content: "";
  border-top: 20px solid #fff;
  border-right: 25px solid transparent;
  border-left: 25px solid transparent;
  position: absolute;
  left: calc(50% - 25px);
  top: calc(100% + 20px);
}

.recruit_contactbox {
  justify-content: space-between;
  column-gap: 20px;
  row-gap: 30px;
  width: 830px;
  max-width: 100%;
  padding: 26px 70px;
  margin: 0 auto;
  border: 1px solid #aaa;
  letter-spacing: .05em;
}

.recruit_contactbox h3 {
  font-size: 24px;
  line-height: 1.5;
  margin: 0;
}

.recruit_contactbox .section_number {
  padding-left: 40px;
  background-image: url(./assets/img/common/tel_1.png);
  background-repeat: no-repeat;
  background-size: 30px auto;
  background-position: left center;
  color: #333;
  line-height: 1.2;
}

.recruit_contactbox .section_number:hover {
  text-decoration: none;
}

.recruit_contactbox .section_number .jp {
  display: block;
  font-size: 18px;
}

.recruit_contactbox .section_number .num {
  display: block;
  font-size: 34px;
  font-weight: bold;
}

@media only screen and (max-width: 767px) {
  .recruit_contactbox {
    flex-wrap: wrap !important;
    padding: 26px 20px;
    justify-content: center;
  }

  .recruit_contactbox h3 {
    width: 100%;
    text-align: center;
  }
}

/*キャリア採用情報*/

body .page-career .wp-block-table {
  font-weight: normal;
}

body .page-career .career_contactus {
  padding-left: 8em;
  text-indent: -8em;
}

/*製造事業 追加*/

.page-manufacturing h2.is-style-heading01 {
  margin-top: 60px;
}

body .page-manufacturing h3.is-style-heading03 {
  margin-top: 60px;
}

.page-manufacturing .entrustment_1 {
  width: 920px;
  margin: 0 auto;
}

.page-manufacturing .entrustment_2 {
  width: 700px;
  margin: 0;
}

.page-manufacturing ol.is-style-default {
  list-style: none;
  margin: 0;
  counter-reset: entrustment;
}

.page-manufacturing ol.is-style-default li {
  line-height: 1.4;
  margin: 0 0 .5em;
  padding-left: 1.5em;
  position: relative;
  font-family: serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .05em;
}

.page-manufacturing ol.is-style-default li:before {
  counter-increment: entrustment;
  content: counter(entrustment) '．';
  position: absolute;
  top: 0;
  left: 0;
}

@media only screen and (max-width: 767px) {
  .page-manufacturing ol.is-style-default li {
    font-size: 22px;
  }

  .page-manufacturing .wp-block-image.sp {
    margin: 0;
  }
}

/*事業案内一覧*/
.page-business .p-article05__title {
  font-size: 28px;
}

.page-business .p-article05__sub {
  text-transform: uppercase;
}

.page-business .p-article05:nth-of-type(even) .p-article05__content {
  left: auto;
  right: 15px;
}

.business_video {
  margin-top: 60px;
}

@media only screen and (max-width: 767px) {
  .page-business .p-article05__title {
    font-size: 24px;
  }
}

.page-training .is-style-heading02:not(:first-child) {
  margin-top: 60px;
}

/*採用情報*/
.page-recruit .p-archive-header {
  box-shadow: initial;
  padding: 0;
}

.page-recruit .p-article05__title {
  font-size: 28px;
}

.page-recruit .p-article05__sub {
  text-transform: uppercase;
  margin-bottom: 0;
}

.page-recruit .p-article05:nth-of-type(even) .p-article05__content {
  left: auto;
  right: 15px;
}

.page-recruit .p-article05__content {
  height: 180px;
  top: auto;
  bottom: 15px;
}

.page-recruit .p-article05__link {
  margin-top: 30px;
}

@media only screen and (max-width: 767px) {
  .page-recruit .p-article05__title {
    font-size: 24px;
  }
}

/*物流事業*/
.page-logistics .pt80 {
  padding-top: 200px !important;
  margin-top: -140px;
}

/*TOPmv調整*/

@media only screen and (max-width: 767px) {
  .p-header-slider {
    height: 60vh;
  }

  .slick-initialized .slick-slide {
    height: 60vh;
  }
}

@media screen and (max-width: 991px) {
  .page-company .p-article05__title {
    font-size: 20px !important;
  }
}

/*HEADER/FOOTERロゴ調整*/

.l-header__logo img {
  height: auto;
  max-height: 100%;
}

.p-info__logo img {
  height: auto;
  max-height: 100%;
  width: auto;
}

@media only screen and (max-width: 767px) {
  .p-info__logo img {
    max-width: 100%;
  }
}

@media only screen and (max-width: 1199px) {
  .l-header {
    height: 70px;
  }

  .l-header .l-header__inner {
    padding: 0 20px 0 5px;
  }

  .p-menu-btn {
    height: 70px;
  }

  .l-header__search {
    height: 70px;
  }

  .l-header__nav {
    top: 70px;
  }
}

/*MVマーク*/
.p-header-slider__item .p-header-slider__item-img:after {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 130px;
  height: 130px;
  max-width: 30vw;
  z-index: 2;
  background-image: url(assets/img/common/mv_gi.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.p-header-slider__item--1 .p-header-slider__item-img:after,
.p-header-slider__item--3 .p-header-slider__item-img:after {
  background-image: url(assets/img/common/mv_gi_w.png);
}