img {
  width: 100%;
}

.display-table {
  display: table;
}

.display-cell-half {
  display: table-cell;
  width: 50%;
  vertical-align: middle;
}


/* フォントスタイル */
.primary {
  color: #6fad32;
}
.english {
  color: lightgreen;
}
.black {
  color: black;
}
.white {
  color: white;
}
.bold {
  font-weight: bold;
}
.title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
}
.caption1 {
  font-size: 20px;
  font-weight: 100;
}
.caption2 {
  font-size: 16px;
  font-weight: 100;
}
.body1 {
  font-size: 14px;
  font-weight: 100;
  line-height: 1.8;
  letter-spacing: 0.5;
  text-align: left;
}
.small {
  font-size: 0.8em;
}

/* 共通 */
.body {
  font-size: 16px;
  overflow: hidden;
}
.text-center {
  text-align: center;
}
.no-decoration {
  text-decoration: none;
}
.text-margin {
  padding: 20px 0;
}
.text-margin-top {
  padding-top: 8px;
}
.flex {
  display: flex;  
}

.flex-row-reverse {
  flex-direction: row-reverse;
}
.top_image {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.bottom_image {
  position: relative;
  width: 100%;
  height: 500px;
  background-size: cover;
  background-repeat: no-repeat;
}
.border-green {
  border: solid 1.2px lightgreen;
  padding: 12px;
  font-size: 18px;
}
.gray-box-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.gray-box {
  width: 100%;
  background-color: lightgray;
  padding: 20px;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.5;
}
.gray-box-half {
  width: 40%;
  background-color: lightgray;
  padding: 20px;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.5;
}

/* 背景色 */
.bg-silver-gray {
  background-color: lightgray;
}

.bg-darkgray {
  background-color: #444444;
}

.bg-green {
  background-color: lightgreen;
}

/* ボタン */
.btn-wraper-wide {
  width: 80%;
  margin: auto;
}
.btn-wraper-middle {
  width: 50%;
  margin: auto;
}
.btn-small {
  position: relative;
  width: 100%;
  padding: 14px 0;
  background-color: #91dd37;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
.btn-small::after {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  content: "\f101";
  font-weight: 900;
  top: 50%;
  right: 18px;
  left: auto;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  color: white;
}
.btn-large {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  padding: 24px 0;
  background-color: #91dd37;
  font-size: 20px;
  color: white;
  text-align: center;
}
.btn-large::after {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  content: "\f101";
  font-weight: 900;
  top: 50%;
  right: 18px;
  left: auto;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  color: white;
}

/* ヘッダー */
.sp-visible {
  display: none;
}
.sp-visible-inline-b {
  display: none;
}
.pc-visible {
  display: block;
}
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  color: #6fad32;
  width: 100%;
}
/* .header_wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  color: #6fad32;
  width: 100%;
} */
.header_logo_container {
  margin: 36px auto 0 10%;
  font-size: 36px;

}
.header_nav_container {
  max-width: 750px;
  margin: 20px 10% 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}

.menu-sp-container {
  display: none;
}

.menu-sp  .navicon {
  background: #6FAD32;
  position: relative;
  width: 2.5rem;
  height: 0.25rem;
  border-radius: 0.5rem;
  transition: 250ms ease;
  opacity: 1;
}

header nav .menu-sp .navicon:before {
  content: '';
  background: #6FAD32;
  position: absolute;
  z-index: -1;
  width: 2.5rem;
  height: 0.25rem;
  border-radius: 0.25rem;
  transition: 250ms ease;
  top: -0.6rem;
  left: 0;
}

header nav .menu-sp .navicon:after {
  content: '';
  background: #6FAD32;
  position: absolute;
  z-index: -1;
  width: 2.5rem;
  height: 0.25rem;
  border-radius: 0.25rem;
  transition: 250ms ease;
  top: 0.6rem;
  left: 0;
}

header nav .menu-sp.open .navicon {
  background: transparent;
}

header nav .menu-sp.open .navicon:before {
  -webkit-transform: rotateX(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  background: #6FAD32;
}

header nav .menu-sp.open .navicon:after {
  -webkit-transform: rotateX(-45deg);
  transform: rotate(-45deg);
  position: absolute;
  top: 0;
  background: #6FAD32;
}


/* トップページ */

.top_bg_main {
  position: relative;
  height: 700px;
  background-image: url(../images/main/bg_top.png);
  background-position: top;
}
.main_top_text {
  position: absolute;
  bottom: 180px;
  left: 240px;
  font-size: 40px;
  color: white;
  line-height: 1.6;
  text-shadow: 1px 1px 0 #000,-1px 1px 0 #000,1px -1px 0 #000,-1px -1px 0 #000;
}

.policy {
  position: relative;
  width: 100%;
  padding: 140px 0;
  background-image: url(../images/main/bg_policy.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}
.policy_text {
  margin-left: 10%;
  line-height: 1.8;
}
.contents_wrapper {
  width: 70%;
  margin: auto;
  padding: 80px 0;
  display: flex;
  flex-wrap: wrap;
}
.contents {
  width: calc(50% - 40px);
  padding: 60px 20px;
}
.contents_image {
  width: 80%;
  margin: auto;
}
.contents_text {
  min-height: 140px;
  margin: 12px auto 32px;
  font-size: 16px;
  line-height: 1.8;
}
.hr {
  width: 180px;
  height: 20px;
  margin: auto;
  border-top: solid 2px #FFC200;
}
.hr-margin {
  margin-bottom: 40px;
}
.example_text {
  max-width: 500px;
  padding: 20px;
}
.example_text_detail {
  margin: 20px 0;
  line-height: 1.8;
}
.contact {
  padding: 180px 0 220px;
  background-image: url(../images/main/bg_contact.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 60%;
  text-align: center;
}
.contact_btn {
  width: 500px;
  margin:  40px auto 0;
  background-color: rgba(0,128,0,0.6);
}

/* フッター */
.footer_wrapper {
  width: 80%;
  margin: auto;
  padding: 60px 0;
  display: flex;
  justify-content: space-around;
  color: white;
}
.footer_info {
  font-size: 16px;
  line-height: 1.4;
}
.footer_info_text {
  padding: 12px;
}
.footer_link {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  padding: 12px 0 12px 78px;
  font-size: 14px;
  line-height: 2;
}
.footer_logo {
  line-height: 1.4;
  padding-top: 38px;
}

/* 各ページ共通 */
.top_text {
  position: absolute;
  padding: 40px;
  top: 200px;
  left: 200px;
  right: auto;
  background-color: rgba(0,128,0,0.6);
  text-shadow: 1px 1px 0 #000,-1px 1px 0 #000,1px -1px 0 #000,-1px -1px 0 #000;
  line-height: 1.8;
}
.top_text_ja {
  font-size: 30px;
  font-weight: bold;
}
.top_text_en {
  font-size: 26px;
}

.detail_wrapper {
  width: 75%;
  margin: 0 auto 80px;
}
.detail_left {
  width: 60%;
}
.detail_right {
  width: 40%;
  padding: 80px 0 40px;
}
.detail {
  padding: 80px 0 40px;
}
.detail_caption_en {
  line-height: 1.8;
  letter-spacing: 0.5;
  padding: 18px 0 40px;
}

.detail_text {
  padding: 30px 0;
  line-height: 1.8;
}


/* 輸入／品質評価・確認 */
.top_bg_import {
  background-image: url(../images/page1/bg_top.png);
}
.image_import {
  padding: 48px 0;
}
.pc-visible.bottom_bg_import {
  background-image: url(../images/page1/bg_bottom.png);
}

/* サービス体制 */
.top_bg_service {
  background-image: url(../images/page2/bg_top.png);
}
.image_service {
  padding: 48px 0;
}
.pc-visible.bottom_bg_service {
  background-image: url(../images/page2/bg_bottom.png);
}

/* 事例紹介 */
.bg_example {
  background-image: url(../images/page3/image_example.png);
  background-size: 200px auto;
  background-repeat: no-repeat;
  background-position: right -20px;
}
.top_bg_example {
  background-image: url(../images/page3/bg_top.png);
  background-position: center;
}
.image_example {
  padding: 48px 0;
}
.bottom_bg_example {
  background-image: url(../images/page3/bg_bottom.png);
  background-position: right;
}
.faq {
  margin-bottom: 40px;
}

/* お問い合わせ・会社概要 */
.bg_form {
  background-image: url(../images/page4/bg_main.png);
  background-size: cover;
  background-repeat: no-repeat;
}
/*問い合わせ*/
.top_bg_contact {
  background-image: url(../images/page4/bg_top.png);
  background-position: center;
}
.form_wrapper {
  width: 75%;
  margin: auto;
  padding: 60px 0;
}
.form-label {
  margin: 20px 0;
  width: 20%;
  font-size: 18px;
  padding: 10px 0 ;
}
.form-input {
  width: 80%;
  margin: 20px 10px;
  border: 0px;
  font-size: 18px;
}
.form-input-half {
  width: 30%;
  margin: 20px 10px;
  border: 0px;
  font-size: 18px;
}

.btn-submit-wrapper {
  width:300px;
  margin: 40px auto 60px;
}
.btn-submit {
  width:100%;
  padding: 14px 0;
  border-radius: 40px;
  background-color: gray;
  font-size: 22px;
}
.campany-info {
  width: 75%;
  margin: auto;
  display: table;
  font-style: 18px;
  padding: 12px;
}
.company-info-label {
  display: table-cell;
  width: 30%;
  background-color: #91dd37;
  color: white;
  text-align: center;
  padding: 12px 0;
}
.company-info-text {
  display: table-cell;
  padding: 12px 0 12px 40px;
}

/* 確認画面 */
.confirm_title {
  margin: 60px auto;
  font-size: 22px;
}
.confirm_text_wrapper {
  width: 50%;
  margin: auto;
}
.confirm_text_box {
  padding: 12px 0;
  font-size: 18px;
}
.form-label-confirm {
  width: 50%;
}

/* ================================
# レスポンシブ対応
=================================*/
@media (max-width:768px) {

/* テーブルスタイル */
.display-cell-half {
  display: block;
  width: 100%;
  vertical-align: middle;
}

/* ヘッダー */
header {
  position: fixed;
  background-color: rgba(255,255,255,.7);
}
.header_logo_container {
  margin: 30px auto 0 30px;
  font-size: 25px !important;
}
.sp-visible {
  display: block;
}

.sp-visible-inline-b {
  display: inline-block;
}


.pc-visible {
  display: none;
}



/*ナビアイコン*/
.header_nav_container {
  display: none;
}
.menu-sp-container {
  display: block;
  margin: 20px auto 0 0;
}

.menu-sp {
  float: right;
}

.menu-sp-navicon {
  cursor: pointer;
  position: absolute;
  right: 32px;
  width: 40px;
  height: 24px;
  top: 30px;
}

.menu-sp-navicon .navicon {
  position: relative;
  top: 50%;
}

.menu-sp-container .menu-sp-list {
  display: none;
  margin-top: 20px;
  padding: 20px 0;
  background-color: rgba(111, 173, 50, .7);  
}

.white {
  color: white;
}

.menu-sp-container .menu-sp-list li{
  /* display: inline-block; */
  text-align: center;
  padding: 10px;
}




/* トップページ */
.top_image {
 height: 448px;
}
    
.main_top_text {
  position: absolute;
  top: calc(50% + 50px);
  top: -webkit-calc(50% + 50px);
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  color: white;
  line-height: 1.6;
  width: 90%;
}


.contents_wrapper {
  width: 100%;
}

.contents {
  width: calc(100% - 40px);
  padding: 0 20px 60px;
}

.contact {
  height: 100px;
  background-size: 280%;
}
.contact_btn {
  width: 86.7%;
}

.example_text {
  max-width: 100%;
  padding: 20px 20px 130px;
}

.hr-margin.sp-visible {
  margin: 40px auto;
}

.policy {
  padding: 0;
  background-image: url(../images/main/bg_policy_sp.png);
  background-position: right;
  height: 535px;
}

.policy_text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}


/* 輸入／品質評価・確認 */
.top_bg_import {
  background-image: url(../images/page1/bg_top_sp.png);
  background-position: center;
}

.sp-visible.bottom_bg_import {
  background-image: url(../images/page1/bg_bottom_sp.png);
}

/*サービス体制*/
.top_bg_service {
  background-image: url(../images/page2/bg_top_sp.png);
  background-position: right;
}

.sp-visible.bottom_bg_service {
  background-image: url(../images/page2/bg_bottom_sp.png);
  background-position: center;
  vertical-align: top;
}

/*事例紹介*/
.top_bg_example {
  background-image: url(../images/page3/bg_top_sp.png);
  background-position: center;
}

/*問い合わせ*/
.top_bg_contact {
  background-image: url(../images/page4/bg_top_sp.png);
  background-position: center;
}
/* フッター */
.footer_wrapper {
  width: 100%;
  margin: 0;
  padding: 40px 0;
  display: block;
}

.footer_info_list_1, .footer_info_list_2 {
  /* width: 100%; */
}

.footer_info_list_1 {
  margin: 0 35px;
}

.footer_info_list_2 {
  margin-top: 47px;
}

.footer_info_text {
  padding: 6px;
}

.footer_link {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  padding: 0 0 0 0;
  text-align: center;
}

.footer_logo {
  text-align: center;
}

/* 各ページ共通 */

.block {
  display: block !important;
}
.top_bg_main {
  position: relative;
  height: 100vh;
  background-image: url(../images/main/bg_top_sp.png);
  background-position: center;
}

.top_text {
  padding: 54px 30px;
  top: 55%;
  left: 7%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  /* background-color: #8FC31F */
  /* width: 70%; */
}

.import .top_text_import {
  padding: 30px;
  top: 55%;
  left: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  width: 80%;
}

.top_text_ja {
  font-size: 28px;
}
.top_text_en {
  font-size: 24px;
}

.bottom_image {
  height: 410px;
  background-size: cover;
  background-repeat: no-repeat;
}

.detail_wrapper {
  width: 84%;
}

/* body.import  */
.flex-row-reverse {
  flex-direction: row;
  display: block;
}

/* body.import  */
.detail_right {
  width: 100%;
}

/* body.import  */
.btn-wraper-wide {
  width: 100%;
  margin: 0;
  font-size: 0;
}

/* body.import  */
.detail_right .btn-wraper-wide a {
  display: inline-block;
  width: calc((100% - 5px)/2);
  width: -webkit-calc((100% - 5px)/2);
}

/* body.import  */
.btn-wraper-wide a:first-child {
  margin-right: 5px;
}

/* body.import  */
.detail_left {
  width: 100%;
}

.gray-box-wrapper {
  display: block;
}

.gray-box-half {
  width: calc(100% - 40px);
  width: -webkit-calc(100% - 40px);
}

.gray-box-half:first-child {
  margin-bottom: 34px;
}

.gray-box {
  width: calc(100% - 40px);
  width: -webkit-calc(100% - 40px);
}

/*お問い合わせ・概要*/

form .flex {
  display: block;
}

form .flex label:first-child, form .flex label:nth-child(3) {
  width: 24%;
  display: inline-block;
}
form .flex input {
  display: inline-block;
  width: 70%;
}
.form_wrapper {
  width: 90%;
  margin: auto;
  padding: 60px 0;
}

.form-input {
  width: 70%;
  margin: 5px 10px;
  display: inline-block;
  vertical-align: top;
}

.campany-info {
  width: calc(100% - 24px);
  width: -webkit-calc(100% - 24px);
  margin: 0;
  display: table;
  font-style: 18px;
  padding: 6px 12px;
}

.form-label {
  width: 20%;
  margin: 12px 0 0;
}

.form-input-half {
  margin: 5px 10px;
}

.company-info-text {
  padding: 12px 0 12px 12px;
}

}


@media (max-width:576px) {
  /* 各ページ共通 */

  .btn-wraper-middle {
    width: 100%;
  }
  .top_text_ja {
    font-size: 20px;
  }
  .top_text_en {
    font-size: 19px;
  }

  /*お問い合わせ・概要*/
  form .flex input {
    width: calc(100% - 20px);
    width: -webkit-calc(100% - 20px);
  }

  form .flex label:first-child, form .flex label:nth-child(3) {
    width: 50%;
  }

  .form-input {
    width: calc(100% - 20px);
    width: -webkit-calc(100% - 20px);
    margin: 5px 10px;
    display: inline-block;
    vertical-align: top;
  }

  .btn-small, .btn-large {
    font-size: 15px;
  }

  .btn-small {
    position: relative;
    width: 70%;
    padding: 14px 0;
    background-color: #91dd37;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 40px auto 0;
  }


  .bottom_image {
    height: 220px;
  }

}
