@charset "UTF-8";
/*
Theme Name: 鳥取電子株式会社
Version: 1.0.0
*/
html {
  scroll-behavior: smooth;
  --scroll-behavior: smooth;
  font-family: "scroll-behavior:smooth";
}

html.no-scroll{
  overflow: hidden;
}

body {
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.56;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  transition: all  0.3s ease;
  color: #000;
}
a:hover {
  color: #5EB23D;
}
table th {
  vertical-align: top;
}
.table>:not(caption)>*>th {
  background-color: #b8dda9;
}
.table>:not(caption)>*>* {
  padding: 0.8rem;
}

.title_en {
  font-size: 36px;
  margin-bottom: 5px;
  font-weight: 900;
}
.title_ja {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 30px;
}

.container {
  max-width: 1470px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
.content_inner {
  max-width: 1020px;
  margin: 0 auto;
}
.base_color {
  color: #5eb23c;
}
.color_red {
  color: #b23c5e;
}
.btn {
  background: #000;
  min-width: 235px;
  max-width: 100%;
  padding: 12px 40px 12px 40px;
  color: #fff;
  line-height: 1.5;
  font-size: 15px;
  border: 1px solid #000;
  border-radius: 0;
  position: relative;
}
.btn::before {
  content: '';
  width: 10px;
  height: 10px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover {
  background: #5eb23c;
  border: 1px solid #5eb23c;
  color: #fff;
}
.btn.btn_white {
  background: transparent;
  border: 1px solid #fff;
}
.btn.btn_white:hover {
  background: #5eb23c;
  border: 1px solid #5eb23c;
  color: #fff;
}
.btn_contact {
  min-width: 315px;
  padding: 10px 20px;
}
.btn_contact::before {
  content: none;
}
.btn_contact img {
  margin-right: 20px;
  display: inline-block;
}
.mb-75 {
  margin-bottom: 75px;
}
.pb-75 {
  padding-bottom: 75px;
}
.wm-800 {
  max-width: 800px;
}
@media (max-width: 767px) {
  .title_ja {
    margin-bottom: 25px;
  }
  .btn_contact {
    min-width: 265px;
    padding: 10px 15px;
  }
  .mb-75 {
    margin-bottom: 60px;
  }
  .pb-75 {
    padding-bottom: 60px;
  }
}

/* header */
#header {
  background: rgba(255,255,255,0.6);
  z-index: 999;
}
#header .container {
  max-width: 1390px;
}
#header .navbar > .container-fluid {
  padding-left: 0;
  padding-right: 0;
}
#header .navbar-brand {
  display: block;
  max-width: calc(100vw - 120px);
}
#gnavi {
  width: calc(100% - 310px);
}
#gnavi ul {
  margin-bottom: 0;
  display: flex;
  justify-content: end;
  padding-left: 0;
  list-style: none;
}
#gnavi li a {
  font-size: 15px;
  color: #000;
}
#gnavi li a:hover {
  color: #5eb23c;
}
#gnavi li:not(.header_contact) a {
  padding: 0 20px;
}
#gnavi ul li + li:not(.header_contact) a {
  border-left: 1px solid #707070;
}
#gnavi li.header_contact {
  margin-left: 15px;
}
#gnavi li.header_contact a {
  background: #AD292D;
  padding: 10px 30px;
  color: #fff;
  border: 1px solid #AD292D;
  border-radius: 27px;
}
#gnavi li.header_contact a:hover {
  background: #fff;
  color: #AD292D;
}

/*　ハンバーガーボタン　*/
.hamburger {
  display : block;
  position: fixed;
  z-index : 3;
  right : 15px;
  top   : 20px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
/* body:not(.home) .hamburger {
  //background: rgba(255,255,255,0.4);
} */
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #5eb23c;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}
/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}
.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}
#gnavi_sp {
  background: #fff;
  width: 100%;
  height: 100vh;
  padding-top: 12%;
  position: fixed;
  z-index : 2;
  top  : 0;
  left : 0;
  color: #000;
  text-align: center;
  transform: translateY(-120%);
  transition: all 0.5s;
}
#gnavi_sp .gnavi_sp_logo {
  margin-bottom: 45px;
}
#gnavi_sp .gnavi_sp_logo .navbar-brand {
  max-width: 100%;
}
#gnavi_sp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
#gnavi_sp ul li {
  list-style-type: none;
  padding: 0;
  border-bottom: 1px solid #fff;
}
#gnavi_sp ul li + li {
  margin-top: 15px;
}
#gnavi_sp ul li a {
  display: block;
  color: #000;
  padding: 5px 20px;
}
#gnavi_sp ul li.header_contact {
  margin-top: 20px;
}
#gnavi_sp ul li.header_contact a {
  max-width: 220px;
  margin: 0 auto;
  padding: 10px 30px;
  border: 1px solid #AD292D;
  border-radius: 27px;
  background: #AD292D;
  color: #fff;
}
/* このクラスを、jQueryで付与・削除する */
#gnavi_sp.active {
  transform: translateY(0%);
}

/* footer */
#footer_access .map {
  height: 495px;
}
footer {
  padding-top: 75px;
  font-size: 14px;
}
footer .footer_logo {
  margin-bottom: 25px;
}
footer .address_tel {
  margin-bottom: 75px;
}
footer .address_tel .map_link {
  margin-left: 10px;
}
footer .address_tel .map_link img {
  margin-right: 5px;
  display: inline-block;
  vertical-align: baseline;
}
footer .address_tel .tel div {
  padding: 0 18px;
}
footer .address_tel .tel div + div {
  border-left: 1px solid #000;
}
footer .footer_nav {
  margin-bottom: 55px;
}
footer .footer_nav a {
  padding: 0 20px;
}
footer .footer_nav li + li a {
  border-left: 1px solid #000;
}
footer .copyright {
  background: #C3B194;
  padding: 10px 15px;
  font-size: 12px;
  color: #000;
}
.scroll_top {
  max-width: max-content;
  margin: 0 auto 35px;
}

@media (max-width: 767px) {
  #footer_access .map {
    height: 300px;
  }
  footer .address_tel {
    margin-bottom: 45px;
  }
}

/* common */
.news_list a {
  padding: 25px 15px 15px;
  border-bottom: 1px dashed #000;
}
.news_list .post_time,
.news_list .post_cat {
  width: 100px;
  font-size: 13px;
}
.news_list .post_time {
  padding-top: 3px;
}
.news_list .post_cat span {
  background: #000;
  padding: 3px 10px;
  color: #fff;
  display: inline-block;
}
.news_list .post_title {
  width: calc(100% - 200px);
}
.block_contents {
  padding: 24.5% 15px;
}
.block_service {
  background: #C3B194;
}
.block_contact {
  background: #000;
  color: #fff;
}
.block_contact .block_contents {
  padding: 13.5% 15px 14.2%;
}
.block_contact .tel {
  font-size: 14px;
}
.block_contact .tel a {
  color: #fff;
  font-size: 35px;
  font-weight: 900;
  letter-spacing: 3px;
}
.block_contact .tel a img {
  margin-right: 15px;
  vertical-align: middle;
  display: inline-block;
}
.block_recruit::before {
  content: '';
  background: rgba(201, 186, 163, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.block_recruit .bg_img {
  min-width: 100%;
  min-height: 100%;
/*   max-width: none; */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.block_recruit .block_contents {
  color: #fff;
  z-index: 1;
}
@media (max-width:767px) {
  .news_list a {
    padding: 25px 10px;
  }
  .block_contents {
    padding: 14% 15px 13%;
  }
  .block_service {
    background: rgba(195,177,148,0.6);
  }
  .block_contact .block_contents {
    padding: 17.5% 15px 15%;
  }
  .block_contact .tel a {
    font-size: 28px;
  }
  .block_contact .tel a {
    letter-spacing: 3px;
  }
  .block_contact .tel a img {
    width: 30px;
    margin-right: 15px;
  }
}

/* top */
body.home #header {
  position: fixed;
  width: 100%;
}
#top_catch {
  min-height: 780px;
  height: 100vh;
}
#top_catch .top_catch_img {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 100% 0;
  /* top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) */
}
#top_catch .container {
  width: 100%;
  height: 100%;
}
#top_catch .catch_text {
  background: rgba(255,255,255,0.5);
  padding: 4.2% 7.2% 6.3% 8.7%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 55px;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0px 3px 6px rgba(0,0,0,0.16);
}
#top_catch .catch_scroll {
  bottom: 27px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
}

#top_news .left {
  background: #F5F0E4;
  width: 35%;
  min-height: 100%;
  padding: 150px 15px;
}
#top_news .left_contents {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#top_news .right {
  width: 65%;
  padding: 45px 35px 75px;
}
#top_news .news_list {
  max-width: 730px;
}

#top_company {
  color: #fff;
}
#top_company .container::before {
  content: '';
  background: rgba(95, 161, 178, 0.6);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
#top_company .bg_img {
  min-width: 100%;
  min-height: 100%;
/*   max-width: none; */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.top_company_contents {
  max-width: 480px;
  padding: 8.6% 15px 7%;
  z-index: 2;
}
.top_company_contents .text {
  margin-bottom: 50px;
}

#top_block .block_recruit .block_contents {
  padding: 8.6% 20px 7%;
}

@media (min-width: 768px) and (max-width: 991px) {
  #top_catch .catch_text {
    font-size: calc(31px + 30 * (100vw - 767px) / 225);
  }
}

@media (max-width: 767px) {
  #top_catch {
    min-height: 580px;
    height: 100vh;
    max-height: 580px;
  }
  #top_catch .catch_text {
    max-width: calc(100% - 30px);
    padding: 9% 4% 11.7% 4%;
    font-size: 31px;
    letter-spacing: -2px;
  }
  #top_news .left,
  #top_news .right {
    width: 100%;
  }
  #top_news .left {
    padding: 11.5% 20px 9%;
  }
  #top_news .left_contents {
    position: static;
    transform: none;
  }
  #top_news .right {
    padding: 5% 35px 12%;
  }
  #top_news .news_list .post_time,
  #top_news .news_list .post_cat,
  .news_list .post_title {
    width: 100%;
  }
  .top_company_contents,
  #top_block .block_recruit .block_contents {
    padding: 14% 15px 13%;
  }
}

/* page */
body:not(.home) main {
  padding-bottom: 120px;
}
.page_header_area {
  margin-bottom: 120px;
}
.page_header_color {
  background: rgba(0,0,0,0.6);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.page_header_img {
  padding: 115px 15px 125px;
  color: #fff;
}
.page_header_area .title_en {
  text-transform:uppercase;
}
.page_header_area .title_ja {
  margin-bottom: 0;
}
.page-body .inner_link > div {
  padding: 0 20px;
}
.page-body .inner_link div + div {
  border-left: 1px solid #000;
}
.page-body h2 {
  margin-bottom: 3rem;
  text-align: center;
}
.page-body h2 span {
  padding-bottom: 20px;
  display: inline-block;
  position: relative;
}
.page-body h2 span::before {
  content: '';
  background: #5eb23c;
  width: 35%;
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.page-body h3 {
  margin-bottom: 1rem;
  color: #5eb23c;
  font-size: 20px;
}
.page-body ul li + li,
.page-body ol li + li {
  margin-top: 0.7rem;
}
.page-body ul ul li + li,
.page-body ol ol li + li,
.page-body ul ol li + li,
.page-body ol ul li + li {
  margin-top: 0.4rem;
}
@media (max-width: 767px) {
  body:not(.home) main {
    padding-bottom: 90px;
  }
  .page_header_area {
    margin-bottom: 90px;
  }
  .page_header_img {
    padding: 55px 15px 65px;
  }
  .page-body .inner_link > div {
    padding: 0 6px;
    font-size: 12px;
  }

}


.facility .table_scroll {
  overflow-x: scroll;
}
.facility .table_scroll table {
  width: 1020px;
}
.history table tr td:first-child {
  white-space: nowrap;
}
#faq .faq_list + .faq_list {
  margin-top: 2rem;
}
#faq .faq_list .question {
  margin-bottom: 1rem;
}
#faq .faq_list .label {
  width: 30px;
  height: 30px;
  padding-top: 3px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  text-align: center;
  border-radius: 50%;
  display: inline-block;
}
#faq .faq_list .question .label {
  background: #b23c5e;
}
#faq .faq_list .answer .label {
  background: #5eb23c;
}
#faq .faq_list .label + div {
  width: calc(100% - 40px);
}
.essentials table tr td:first-child {
  white-space: nowrap;
}
#contact_form .hissu {
  color: #b23c5e;
}
#contact_form .btn_submit,
#contact_form .btn_return {
  margin: 0 10px;
  position: relative;
  display: inline-block;
}
#contact_form .btn_submit::before {
  content: '';
  width: 10px;
  height: 10px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
#contact_form .btn_submit input {
  background: #000;
  min-width: 235px;
  max-width: 100%;
  padding: 12px 40px 12px 40px;
  color: #fff;
  line-height: 1.5;
  font-size: 15px;
  border: 1px solid #000;
  border-radius: 0;
}
.mw_wp_form_confirm #contact_form .btn_return::before {
  content: '';
  width: 10px;
  height: 10px;
  border-top: solid 2px #000;
  border-right: solid 2px #000;
  position: absolute;
  right: calc(100% - 28px);
  top: 50%;
  transform: translateY(-50%) rotate(225deg);
}
#contact_form .btn_return input {
  background: #fff;
  min-width: 235px;
  max-width: 100%;
  padding: 12px 40px 12px 40px;
  color: #000;
  line-height: 1.5;
  font-size: 15px;
  border: 1px solid #000;
  border-radius: 0;
}

@media (max-width: 767px) {
  .essentials table td,
  .essentials table th {
    display: block;
  }
}
@media (max-width: 767px) {
  #contact_form .mwform-tel-field input {
    width: calc((100% - 26px) / 3);
  }
}

/* category */
.pagination {
  padding-top: 3rem;
  justify-content: center;
}
.pagination .page-numbers {
  margin: 0 15px;
  color: #BFBFBF;
}
.pagination .page-numbers.current {
  color: #000;
}

/* single */
.single_post .post_time {
  padding-top: 0;
  font-size: 1rem;
}
.single_post .post_title {
  font-size: 1.2rem;
  border-bottom: 1px dashed #000;
}