@charset "UTF-8";

/*共通設定*/

html {
  font-size: 62.5%;
}

body {
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 1.8rem;
}

.noto { font-family: "Noto Sans JP", sans-serif; }
.sawarabimincho {
  font-family: "sawarabi mincho", "游明朝 demibold", "Yu Mincho demibold", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}




.ml_10 {
  margin-left: 10%;
}

.ml_15 {
  margin-left: 15%;
}

.ml_20 {
  margin-left: 20%;
}

.ml_25 {
  margin-left: 25%;
}

.ml_30 {
  margin-left: 30%;
}

.ml_35 {
  margin-left: 35%;
}

.ml_40 {
  margin-left: 40%;
}

.ml_45 {
  margin-left: 45%;
}

.ml_50 {
  margin-left: 50%;
}

.text_center{
  text-align: center;
}
.text_right{
  text-align: right;
}
.text_left{
  text-align: left;
}

.more_link a{
  color: #c3423f;
  text-decoration: underline;
}

.display_sp {
  display: none;
}

@media screen and (max-width:800px) {
  .display_pc {
    display: none;
  }

  .display_sp {
    display: block;
  }
  .display_spbr {
	content: "\A" ;
  }

}

/*ヘッダー*/
header {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

header #header_inner {
  width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

header #header_inner h1{
  width: auto;
  max-height: 100px;
  font-size: 2.4rem;
  text-align: center;
}

header #header_inner h1 img {
  width: auto;
  max-height: 100px;
}

@media screen and (max-width:800px) {
  header {
    height: auto;
    flex-flow: column;
    width: 100%;
    text-align: center;
  }

  header #header_inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-flow: column;
  }

  header #header_inner h1 {
    width: 100%;
  }
}


/*ナビゲーション*/
.btn-menu {
  float: right;
  color: #fff;
  text-align:center;
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.btn-submenu {
  position: absolute;
  right: 20px;
  top: 0;
  width: 50px;
  text-align: center;
}
.btn-submenu.is-amp {
  color: #fff;
  font-size: 26px;
}

.btn-menu {
  display: none
}
@media only screen and (max-width: 767px) {
  .btn-menu {
    float: none;
    margin: 15px auto;
  }
}
@media ( max-width: 1024px ) {
  .btn-menu {
    display: block;
  }	
}
@media ( min-width: 1025px ) {
  .btn-submenu {
    display: none;
  }
}

nav {
  font-size: 1.4rem;
}

nav > ul {
  margin: 0 auto;
  padding: 0;
  display: flex;
}

nav > ul > li {
  list-style: none;
  padding: 0 20px;
}

nav > ul > li > ul {
  display: none;
  padding: 0;
  z-index: 999;
  position: absolute;
  top: 62px;
  left: -1px;
}

nav ul li a {
  display: block;
  color: #313131;
}

nav ul li a:hover {
  text-decoration: none;
  color: #313131;
}

@media screen and (max-width:800px) {
  nav {
    border-bottom: none;
    width: 100%;
  }

  nav > ul {
    width: 100%;
    flex-wrap: wrap;
    display: none;
  }

  nav > ul > li {
    width: 100%;
  }

  nav > ul > li {
    text-align: left;
    border-bottom: 1px solid #e4e4e4;
  }

  nav > ul > li#menu_button {
    display: block;
    cursor: pointer;
  }

  nav > ul > li#menu_button > label {
    width: 100%;
    text-align: center;
  }

  input#toggle {
    display: none;
  }

  input#toggle:checked ~ li {
    display: block;
  }

  nav > ul > li.menu_1 > a {
    padding-left: 10%;
  }

  nav > ul > li.menu_2 > a:before {
    content: "└　";
  }

  nav > ul > li.menu_2 > a {
    width: 100%;
    padding-left: 10%;
  }

  nav ul li a {
    font-size: 18px;
    line-height: 2em;
    font-weight: bold;
    text-align: center;
  }
}

.wp-block-image {
  margin-bottom: 0;
}

/*メインエリア*/
.inner_box {
  width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

/*テキストエリア tito 20210315 added. */
.text_box {
  max-width: 800px;
  margin:0 auto;
  padding: 2%;
  text-align: left;
  overflow: hidden;
}

@media screen and (max-width:1000px) {
  main{
    width: 100%;
  }
  .inner_box{
    width: 100%;
    padding: 0 3%;
  }
}

#main_image{
  /* tito delete 20210315 ** margin: 0 auto; */
  text-align: center; /* tito added 20210315 */
}

#main_image img {  
  width: 100%;
  height: auto;
}  /* tito added 20210315 */
#main_image h2 {
  margin-bottom: 20px;
}

#main_image .slick{
  margin: 0 auto;
  padding: 0;
}

.slick-dots{
  display: none;
}

#main_image #catch_copy {
  padding: 50px 0;
  border-bottom: 1px solid #297cc1;
}

#main_image .inner_box p:first-of-type{
  margin-bottom: 70px;
  background: url(./images/icon_01.png);
  background-repeat: no-repeat;
  background-size: 40px;
  padding-left: 80px;
}

#main_image a{
  background: #297cc1;
  color: #fff;
  font-size: 2.4rem;
  padding: 10px 0;
  border-radius: 20px;
  display: block;
  width: 60%;
  margin: 0 auto;
}

#main_image p{
  font-size: 2rem;
  font-weight: bold;
  padding: 50px 0;
}

@media screen and (max-width:1000px) {
  #main_image a{
    width: 100%;
  }
  #main_image .inner_box{
    padding: 50px 5%;
  }
}
@media screen and (max-width:1000px) {
  #main_image a{
    font-size: 2rem;
  }
}
@media screen and (max-width:480px) {
  #main_image .inner_box p:first-of-type{
    margin-bottom: 30px;
    background-size: 30px;
    padding-left: 50px;
  }
  #main_image #catch_copy .zeh_buttom {
    width: 75%;
	margin: 0 auto;
  }
  #main_image a{
    font-size: 1.5rem;
  }
}

/*経営理念・業務委託求人・お問い合わせ*/
#management-principle,
#contact,
#outsourcing{
  text-align: center;
  margin-bottom: 100px;
}
#management-principle h2,
#contact h2,
#outsourcing h2{
  font-size: 3.2rem;
  text-align: center;
  margin-bottom: 50px;
}

@media screen and (max-width:800px) {

}


/*アクセス*/
#access{
  text-align: center;
  margin-bottom: 100px;
}
#access h2{
  font-size: 3.2rem;
  text-align: center;
  margin-bottom: 50px;
}
#access iframe{
  width: 1120px;
}
@media screen and (max-width:800px) {
  #access iframe{
    width: 90%;
  }
}

/*会社概要*/
#company{
  text-align: center;
  margin-bottom: 100px;
}
#company h2{
  font-size: 3.2rem;
  text-align: center;
  margin-bottom: 50px;
}
#company table{
  width: 1120px;
  margin: 0 auto;
  font-size: 1.6rem;
}
#company table th{
  width: 100px;
  font-weight: normal;
  border: 1px solid #333;
  padding: 5px;
  text-align: center;
}
#company table td{
  border: 1px solid #333;
  padding: 5px;
  text-align: left;
}
@media screen and (max-width:800px) {
  #company table{
    width: 95%;
  }
  #company table tr{
    display: flex;
    flex-flow: column;
  }
  #company table th,
  #company table td{
    width: 100%;
  }
}

@media screen and (max-width:1000px) {

}
@media screen and (max-width:800px) {

}
@media screen and (max-width:700px) {

}
@media screen and (max-width:600px) {

}
@media screen and (max-width:480px) {

}
@media screen and (max-width:320px) {

}

/*ドライバー募集*/
#recruitment{
  text-align: center;
  margin-bottom: 100px;
}
#recruitment h2{
  font-size: 3.2rem;
  text-align: center;
  margin-bottom: 50px;
}
#recruitment table{
  width: 1120px;
  margin: 0 auto;
  font-size: 1.6rem;
}
#recruitment table th{
  width: 100px;
  font-weight: normal;
  border: 1px solid #333;
  padding: 5px;
  text-align: center;
}
#recruitment table td{
  border: 1px solid #333;
  padding: 5px;
  text-align: left;
}
@media screen and (max-width:800px) {
  #recruitment table{
    width: 95%;
  }
  #recruitment table tr{
    display: flex;
    flex-flow: column;
  }
  #recruitment table th,
  #recruitment table td{
    width: 100%;
  }
}

/*フッター*/
footer {
  width: 100%;
  padding: 50px 0 0 0;
  background: #fdfdfd;
  border-top: 1px solid #e4e4e4;
}

footer a{
  color: #000;
  font-size: 2rem;
}

footer .inner_box{
  width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

footer .logo{
  text-align: center;
}

footer .logo img{
  max-height: 100px;
}

footer #footer_inner {
  background: #c2302a;
  text-align: center;
}

footer #footer_inner small {
  color: #fff;
  font-size: 1.8rem;
  line-height: 2em;
}
@media screen and (max-width:1000px) {
  footer .inner_box{
    width: 100%;
  }
}
@media screen and (max-width:800px) {
  footer .inner_box{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
  footer #footer_top .inner_box .left_area{
    padding-left: 50px;
  }
  
  footer #footer_bottom .inner_box {
    display: block;
}
  footer #footer_bottom section{
    width: 90%;
    margin: 0 auto;
    padding: 30px 0;
    border-right: none;
    border-bottom: 1px solid #666;
  }

  footer #footer_bottom section:last-child{
    padding-left: 0;
  }
  
  footer #footer_bottom ul li{
    width: 100%;
  }

  footer #footer_inner small {
    width: 50%;
  }
  footer #footer_bottom section a i{
    font-size: 7rem;
  }
  footer #footer_bottom section a{
    font-size: 1.8rem;
  }
  footer #footer_bottom section h2{
    font-size: 2.1rem;
  }
}
@media screen and (max-width:400px) {
  footer #footer_bottom {
    padding: 10px 0;
  }
  footer a,
  footer #footer_bottom ul li{
    font-size: 1.8rem;
  }
  footer #footer_bottom section a i{
    font-size: 5rem;
  }
  footer #footer_bottom section a{
    font-size: 1.4rem;
  }
  footer #footer_bottom section h2{
    font-size: 1.6rem;
  }
}

/*トップに戻る*/
#page-top {
  position: fixed;
  right: 30px;
  bottom: 10px;
  width: 80px;
  height: 80px;
  border: 2px solid #297cc1;
  border-radius: 40px;
  background: #fff;
  text-align: center;
  color: #297cc1;
}
@media screen and (max-width:750px) {
  #page-top {
    right: 15px;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    font-size: 1.4rem;
  }
}

/*投稿ページ*/
#content_page {
  margin-bottom: 30px;
}

#content_page .thumbnail {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

#content_page .thumbnail img {
  width: auto;
  height: auto;
  max-height: 430px;
}

#content_page .image-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  max-height: 100%;
  overflow: auto;
  padding: 3em .77em .7em;
  color: #fff;
  text-align: center;
  font-size: .8em;
  text-shadow: 1px 1px 1px #333;
  box-sizing: border-box;
  margin: 0;
}

#content_page li.blocks-gallery-item figcaption {
  text-shadow: 1px 1px 1px #333;
  background: none;
}

/* #content_page .wp-block-image,
#content_page .wp-block-gallery {
  text-align: center;
  margin-bottom: 30px;
} */

#content_page .wp-block-image img {
  width: 100%;
  height: auto;
}

#content_page h2 {
  text-align: center;
  font-size: 30px;
  max-width: 700px;
  margin: 48px auto 15px;
}

#content_page h3 {
  font-size: 24px;
}

#content_page h4 {
  font-size: 20px;
}

#content_page h1,
#content_page h2,
#content_page h3,
#content_page h4,
#content_page h5,
#content_page h6 {
  margin-top: 4rem;
}

#content_page .content {
  max-width: 620px;
  margin: 0 auto;
}

#content_page p {
  font-size: 18px;
  line-height: 2em;
  margin-bottom: 1.5rem;
}

#content_page .c_date {
  color: #c3423f;
  padding-top: 30px;
  margin-bottom: 50px;
  max-width: 700px;
  margin: 0 auto;
}

#content_page ul.blocks-gallery-grid::after {
  content: "";
  margin: 0 1em 1em 0;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

#content_page .columns-2 ul.blocks-gallery-grid::after {
  width: calc(50% - 1em);
}

#content_page .columns-3 ul.blocks-gallery-grid::after {
  width: calc(33.33333% - .66667em);
  margin-right: 1em;
}

#content_page .pagebreak-links {
  text-align: center;
  margin-bottom: 2rem;
}

#content_page .post-page-numbers {
  font-size: 18px;
  color: #2aa6e4;
  border: 1px solid #efefef;
  padding: 10px 15px;
}

#content_page .current {
  color: #000;
}

#content_page .post-page-numbers:hover {
  text-decoration: none;
}

@media screen and (max-width:800px) {
  #content_page .thumbnail img {
  width: 100%;
}
  #content_page h2 {
    width: 98%;
    font-size: 32px;
  }

  #content_page .content {
    padding: 0 15px;
  }
}


/*お問い合わせページ*/
#contact{
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  padding: 50px;
  background: #fff;
}
#contact h2 {
  font-size: 24px;
  padding: 20px 0 0 10px;
  margin-bottom: 10px;
  margin-top: 2rem;
  position: relative;
}

#contact h2 span::before {
  content: "";
  display: block;
  width: 5px;
  height: 35px;
  background: #297cc1;
  position: absolute;
  top: 25px;
  left: 0px;
}
#contact table{
  width: 100%;
}
#contact table th,
#contact table td{
  padding: 10px;
}
#contact table .radio-416 label{
  display: block;
}

#contact .w-100 input,
#contact .w-100 textarea{
  width: 100%;
}

#contact .wpcf7-submit{
  width: 50%;
  padding: 10px;
}

@media screen and (max-width:800px) {
  #contact {
    width: 100%;
    padding: 50px 5%;
  }
  #contact table th,
  #contact table td{
    display: block;
    width: 100%;
  }
}

/* ハンバーガーメニュー */
.hamburger-menu{
  float: right;
  height: 60px;
  padding-top: 10px;
}
.menu-btn {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background-color: #fff;
  margin: 0;
}
#menu-btn-check:checked ~ .menu-btn {
  position: fixed;
  top: 10px;
  right: 10px;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #297cc1;
  position: absolute;
}
.menu-btn span:before {
  bottom: 8px;
}
.menu-btn span:after {
  top: 8px;
}
#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}
#menu-btn-check {
  display: none;
}
.menu-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 20%;
  z-index: 80;
  background-color: #297cc1;
}
.menu-content ul {
  padding: 70px 10px 0;
}
.menu-content ul li {
  border-bottom: solid 1px #297cc1;
  list-style: none;
}
.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color:#297cc1;
  text-decoration: none;
  padding: 9px 15px 10px 0;
  position: relative;
}
.menu-content ul li a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 2px #297cc1;
  border-right: solid 2px #297cc1;
  transform: rotate(45deg);
  position: absolute;
  right: 11px;
  top: 16px;
}
.menu-content {
  border-left: 1px solid #f6f6f6;
  width: 60%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;/*leftの値を変更してメニューを画面外へ*/
  z-index: 80;
  background-color: #fff;
  transition: all 0.5s;/*アニメーション設定*/
}
#menu-btn-check:checked ~ .menu-content {
  left: 40%;/*メニューを画面内へ*/
}