@charset "utf-8";

/* スマートフォン(横幅750px以下)で見たときは"sp"のclassがついたものが表示される */
.pc { display: none; }
.sp { display: block; }

/* ==========================================================================
    TODO: ここに独自のスタイルを記述
   ========================================================================== */

.anotoher-section {
  background-color: #EFEFEF;
  padding: 5%;
  margin: 5% 0;
}

.gray {
  background-color: rgb(218, 218, 218);
}

/*黒背景*/
.bg-black {
  background-color: black;
  padding: 5%;
}

/*全体の枠*/
.container {
  display: flex;
  flex-direction: column;
  margin: 3%;
}

.sp-mg{
  margin: 5%;
}

#nav-drawer {
  background: #909090;
  margin-top: -14%;
  padding: 5.5%;
  position: absolute;
  right: 0px;
}

/*チェックボックスは非表示*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  content: 'MENU';
  display: inline-block;
  height: 20px;
  width: 35px;
  vertical-align: middle;
}

/*ハンバーガーアイコン*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  background: #fff;
  border-radius: 3px;
  content: '';
  cursor: pointer;
  display: block;
  height: 3px;
  position: absolute;
  width: 35px;
}
#nav-open span:before {
  bottom: -10px;
}
#nav-open span:after {
  bottom: -20px;
}

/*閉じる用の薄黒カバー*/
#nav-close {
  background: black;
  display: none;/*はじめは隠す*/
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;/*全体に広げる*/
  transition: .3s ease-in-out;
  width: 100%;
  z-index: 99;
}

/*中身*/
#nav-content {
  background-color:rgba(236, 236, 236, 0.877);/*背景色*/
  height: 75%;
  left: 0;
  max-width: 100%;/*最大幅*/
  overflow: auto;
  position: fixed;
  top: 0;
  transform: translateX(-105%);/*左に隠す*/
  transition: .3s ease-in-out;/*ゆっくり表示*/
  width: 70%;/*右側の隙間*/
  z-index: 9999;/*最前面*/
  -webkit-transform: translateX(-105%);
}

/*チェックが入ったら色々表示*/
#nav-input:checked ~ #nav-close {
  display: block;/*カバーを表示*/
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
  transform: translateX(0%);/*中身を表示*/
  -webkit-transform: translateX(0%);
}

/*ハンバーガーの中身ul*/
.ulblock {
  margin: 0.5rem;
  padding: 0.5rem;
}

.color {
  background-color: black;
}

/*画像を左詰めにする*/
.img-left{
  height: 20%;
    width: 40%;
    margin-left: 18%;
    margin-top: 5%;
    margin-bottom: 5%;
}

/*画像を右詰めにする*/
.img-right{
  margin-top: -45%;
  padding-bottom: 15%;
  padding-left:10%;
}

ul {
  margin-right: 5%;
  padding-left: 5%;
}
/* ulの・を消す */
.ul-style {
  list-style-type: none;
}

/* ulの・を四角に */
.ul-square {
  list-style-type: square;
  font-size: 0.4rem;
}

.business-ul {
  margin-top: -3%;
  padding-left: 4%;
}
.business-ul li {
  font-size: 0.82rem
}

.recruit-ul {
  padding-left: 7%;
  margin-top: 0;
  margin-bottom: 2%;
}

.header-img {
  padding: 4% 0% 3% 5%;
  background: white;
}

.header-img img{
  width: 60%;
}

.title-size {
  font-size: 0.9rem;
}

/*///// 縦幅とりあえず調整(テキスト文章が決まってから再度変更) /////*/
.header-padding {
  padding-top: 4rem;
}

.adjust-size {
  margin: 1rem 0rem 3rem;
}

.h-style {
  text-align: center;
  margin: 5% 0;
}

.marginsize {
  margin: 5%;
}
.mg-adjust{
  margin: 10% 0%;
}

.img-adjust {
  margin: 10%;
}
.p-mg {
  margin: 5%;
}

.clear {
  margin: 0;
  padding-top: 17%;
}

/* フォントサイズ指定 */
h1 {
  font-size: 2.5rem;
  margin:0.3rem;
}

.h1-adjust {
  margin-left: -2rem;
  margin-bottom: -0.3rem;
}

h2 {
  font-size: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin: 1% 0 4%;
  text-align: center;
}
h4 {
  margin: 5% 0 0;
  font-size: 1rem;
  color: red;
}

.h-adjust {
  margin: 5% 0;
}

.h3-borderstyle {
  padding: 5px;
  margin-bottom: 5px;
  border: solid;
}

p {
  font-size: 0.82rem;
  margin-top: 0;
  margin-bottom: 3%;
}

.li-size {
  font-size: 0.82rem
}

.p-style {
  color: red;
  font-size: 1rem;
}

.p-white {
  color: white;
  font-size: 0.85rem;
}

.p-title {
  font-size: 0.9rem;
  text-align: center;
  margin: 5% 0%;
}

.p-bottom {
  margin-bottom: 1.2rem;
}

.subtitle-hr {
  padding: 0 5%;
}
.subtitle-size {
  font-size: 1rem;
}

.mg-adjust-img {
  margin-bottom: 1rem;
}

.greeting-img {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.lnk-img {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.ol-style{
  font-size: 0.8rem;
  margin-left: -1.3rem;
}

.nav-table {
  border-collapse: collapse;
  background-color: #fff;  /* 背景色指定 */
  table-layout: fixed;
  text-align: center;
  width: 100%;
}
.nav-table th,td {
  border: 1px solid black;
}
table {
  border-collapse: collapse;
  background-color: #fff;  /* 背景色指定 */
  width: 100%;
}
th,td {
  border: 1px solid black;
}
.only {
  width: 100%;
}
.td-half{
  width: 50%;
}
.tbl-left {
  border-left: 0px;
  padding:5% 0;
}
.tbl-right {
  border-right: 0px;
  padding: 5% 0;
}
.tbl-top {
  text-align: start;
  font-size: 0.8rem;
}
.tbl-font {
  font-size: 0.8rem;
}
.tbl-font th {
  border-left: 0;
  border-right: 0;
  padding: 2% 0;
  text-align: left;
  vertical-align: top;
  width: 30%;
}
.tbl-font td {
  border-left: 0;
  border-right: 0;
  padding: 2% 0;
  text-align: left;
  vertical-align: top;
}



.btn-table {
  width: 100%;
  text-align: center;
  margin-top: 5%;
}
.btn-table td {
  width: 32%;
}

.header-fixed {
  position: fixed;
  width: 100%;
  z-index: 999;
}

.text-image {
  position: relative;
  width: 500px;
}

.text-image img {
  width: 100%;
}

.text-image p {
  position: absolute;
  top: 25%;
  left: 39%;
  font-size: 60px;
  color: #ffffff;
}

.card-thumbnail {
  width: 250px;
  margin: 0 auto;
}

.card img {
  width: 100%;
  display: block;
  border:solid 1px rgb(0, 0, 0);
}

.carousel {
  box-sizing: border-box;
  scroll-snap-type: mandatory;
  scroll-snap-points-x: repeat(100%);
  scroll-snap-type: x mandatory;
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
}
.carousel section {
  box-sizing: border-box;
  scroll-snap-align: start;
  border: 1px solid gray;
  padding-top: 1rem;
  min-width: 100vw;
  height: 40vh;
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative;
}
.carousel section img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  width: 100%;
  left: 0;
}

.img-ontext {
  position: relative;
}

.text-area {
  position: absolute;
    top: 13%;
    left: 1%;
}

.on-text {
  position: absolute;
  top: 15%;
  left: 17%;
  width: 65%;
}

.btn-flat-border {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.5rem 2rem;
  text-decoration: none;
  color: #000000;
  border: solid 2px #fc5c5c;
  border-radius: 30px;
  transition: .4s;
}

.btn-flat-border:hover {
  color: black;
}

body { font-family: sans-serif; }

.gallery {
  background: #EEE;
}

.gallery-cell {
  width: 66%;
  height: 240px;
  margin-right: 10px;
}

/* 横並び */
.block-inline{
  display: inline-block;
  vertical-align: top;
}

.adjust {
  margin-right: 2%;
}

.pc-inline {
  display: inline-block;
  vertical-align: top;
}

.call {
  width: 90%;
}

.href-adjust {
  margin: 1rem;
  padding: 1rem;
}


.slider {
  width: 100%;
  margin: 0 auto;
}
/* .slider img{
  height: auto;
  width: 100%;
  border-radius: 8px;
} */

.slider .ele{
  height: 120px;
  width: 120px;
  border: solid 1px black;
  background-color: white;
  text-align: center;
}

.slick-prev:before,
.slick-next:before {
  color: black;
}

.slick-slide img {
  width: 100%; 
}
.slick-slide {
  margin: 0; /* centerPaddingで左右の見える幅を指定してもOK */
}
.slick-slide:not(.slick-center) {
  opacity: 0.5;
}

.slick-arrow {
  z-index:20; /* 矢印画像を最前面へ */
}
.slide-arrow{
  position: absolute;
  top: 40%;
}
.prev-arrow{
  left: 30px;
}
.next-arrow{
  right: 30px;
}

.tbl-width {
  width: 25%;
}
.none-border{
  border: none;
}
.border-hide {
  border-top: hidden;
}

.sp-center {
  text-align: center;
}

.img-margin {
  margin: 5% 0;
}

.work-img {
  width: 80%;
  margin: 5% auto;
}

.news {
  width: 100%;
  font-size: 0.8rem;
}
.news td {
  border: none;
  padding: 2% 2% 0 0;
  vertical-align: top;
}

.sp-footer {
  background-color: black;
  padding: 3%;
}

.color-bg-margin {
  margin-bottom: 10%;
}

.history-width {
  margin: 5% 2% ;
  text-align: left;
}

.heavy-tbl {
  width: 100%;
}
.heavy-tbl td {
  border-left: 0px; /* 右線削除 */
  border-right: 0px; /* 左線削除 */
  font-size: 0.8rem;
  padding: 2% 0;
  width: 50%;
}
.heavy-tbl a {
  color: red;
  font-size: 0.9rem;
}

.small-card {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card-thumbnail {
  width: 100%;
}
.small-thumbnail {
  width: 48%
}

.lavel-title {
  background-color: rgb(230, 230, 230);
  text-align: center;
}
.lavel-title p{
  font-size: 1rem;
  padding: 1%;
}

.sentence-spacing {
  margin-top: 5%;
}
.sentence-spacing p {
  line-height: 1.5rem;
}
.greeting p:last-child {
  font-size: 0.9rem;
  text-align: right;
}

.recruit {
  width: 100%;
}
.recruit td {
  font-size: 0.9rem;
  padding: 3% 2%;
  text-align: left;
  vertical-align: top;
}
.recruit th {
  font-size: 0.9rem;
  font-weight: normal;
  padding: 3% 2%;
  text-align: left;
  vertical-align: top;
  width: 25%;
}

.list-tbl-head {
  align-items: center;
  border: solid 1px rgb(0, 0, 0);
  display: flex;
  justify-content: space-between;
  margin: 2.5%;
  padding: 2% 10%;
}

.list-head-img {
  width: 20%
}

.access-right p {
  font-size: 1rem;
}

.access-right li {
  font-size: 0.9rem;
}

.other-vehicles {
  display: flex;
  justify-content: center;
}

.company {
  margin: 0 5%;
}