/* トップページスタイル */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif&family=Noto+Serif+JP:wght@500&display=swap');

/* 非表示設定 */
input {
  display: none;
}

/* VueCarousel */
.VueCarousel {
  height: 960px;
  position: relative;
}

.VueCarousel-wrapper,
.VueCarousel-inner,
.VueCarousel-slide {
  height: 100% !important;
}

.VueCarousel-slide .slider-inner {
  height: 100%;
  background-color: #62caaa;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border: 2px solid #fff;
  font-size: 30px;
  border-radius: 10px;
}

#slide1 {
  background-image: url("../image/loading.svg");
  background-size: 15%;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  position: relative;
}

#slide2 {
  background-image: url("../image/loading.svg");
  background-size: 15%;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  position: relative;
}

#slide3 {
  background-image: url("../image/loading.svg");
  background-size: 15%;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  position: relative;
}

/* スライドショーオーバーレイ */

/* 上部画像に網掛け画像をオーバーレイ */
.slide1::before,
.slide2::before,
.slide3::before {
  background-image: url("../image/hatching.png");
  background-color: rgba(255, 255, 255, .125);
  background-blend-mode: lighten;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
}

.slider-wrapper {
  position: relative;
}

/* 上部画像オーバーレイ見出し */
.slideshow-overlay {
  text-align: center;
  color: #FFFFFF;
  height: 360px;
  font-size: 60px;
  font-family: "Hiragino Kaku Gothic Pro", 'Noto Sans JP', sans-serif;
  position: absolute;
  top: 200px;
  right: 0;
  bottom: 0;
  left: 0;
  font-weight: normal;
  line-height: 90px;
  letter-spacing: -0.05em;
}

#about {
  margin-top: -25px;
  padding-top: 25px;
}

/* 第2セクション見出し */
.section2 h2 {
  margin: auto;
  margin-top: 100px;
  margin-bottom: 50px;
  color: #004EA2;
  font-family: "Kozuka Mincho Pr6N", 'Noto Serif', serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 83px;
}

/* 第2セクションメイン段落 */
.section2 .main-paragraph {
  max-width: 1067px;
  margin: auto;
  margin-bottom: 90px;
  line-height: 36px;
}

/* ホバー画像 */
.section2 .images {
  display: flex;
  justify-content: center;
}

/* ホバー画像各コンテナ */
.section2 .image-container {
  margin: 10px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}

/* ホバー画像表示設定 */
.image-container img {
  width: 100%;
  height: 100%;
  margin: 0;
}

/* ホバー時に背景を暗くする */
.section2 .image-container {
  background-color: #000000;
}


.section2 .image-container img {
  opacity: 1;
  transition: all 0.2s ease-in-out;
}

/* ホバー時の画像透明度 */
.section2 .image-container:hover img {
  opacity: 0.6;
}

/* ホバー画像オーバーレイテキスト */
.section2 .image-container .text-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  color: #FFFFFF;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
  max-width: 240px;
  width: 240px;
}

/* 画像上ホバー時のみテキストを表示 */
.section2 .image-container:hover .text-container {
  visibility: visible;
  opacity: 1;
  top: 50px;
}

/* ホバー時テキスト見出し */
.section2 .image-container .text-container h3 {
  margin-bottom: 100px;
  font-size: 30px;
}

/* ホバー時テキストメイン */
.section2 .image-container .text-container .main {
  height: 100px;
}

/* ホバー時テキストサブ */
.section2 .image-container .text-container .sub {
  margin-top: 36px;
  line-height: 36px;
  text-align: left;
}

/* 求人ボタンコンテナ */
.driver-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -100px;
  padding-top: 100px
}

/* 求人ボタンリンクのサイズ */
.driver-container a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  max-width: 571px;
  width: 100%;
  margin: 50px auto;
}

/* 求人ボタン設定 */
.driver {
  width: 100%;
  height: 223px;
  margin: 50px 24px;
  font-size: 42px;
  font-weight: bold;
  color: #FFFFFF;
  background: repeating-linear-gradient(#004EA2 0, #004EA2 6px, transparent 7px, transparent 13px), linear-gradient(90deg, #426AA7, #162D78, #426AA7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

/* 求人ボタンホバー時に背景グラデーションを反転 */
.driver:hover {
  background: repeating-linear-gradient(#004EA2 0, #004EA2 6px, transparent 7px, transparent 13px), linear-gradient(90deg, #162D78, #426AA7, #162D78);
}

/* 見出し設定 */
.path-header {
  font-size: 23px;
  height: 80px;
  color: #004EA2;
  position: relative;
  overflow-x: hidden;
  background-image: url('../image/path01.png');
  background-position: center;
  background-repeat: no-repeat;
  max-width: 100vw;
}

.path-header span {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#staff,
#recruit {
  margin-top: -100px;
  padding-top: 100px;
}

/* スタッフの声コンテナ */
.staff-container {
  margin: 40px auto;
  max-width: 1300px;
}

/* スタッフの声ヘッダー設定 */
.staff-container .staff-header {
  display: flex;
  align-content: center;
}

/* スタッフの声（左画像） */
.staff-container .image-left {
  display: flex;
  justify-content: flex-start;
  margin: 64px 8px;
}

/* スタッフの声（右画像） */
.staff-container .image-right {
  display: flex;
  margin: 64px 8px;
  justify-content: flex-end;
}

/* スタッフの声画像（左画像） */
.image-left .staff-header img {
  margin: auto;
  margin-right: 32px;
  width: 260px;
  display: inline;
}

/* スタッフの声画像（右画像） */
.image-right .staff-header img {
  margin: auto;
  margin-left: 32px;
  width: 260px;
  display: inline;
}

/* スタッフの声のテキストを左寄せに */
.staff {
  text-align: left;
}

/* スタッフの声見出し */
.staff h3 {
  font-size: 28px;
  margin-bottom: 0;
}

/* 画像が右の見出しは右寄せに */
.image-right .staff h3 {
  text-align: right;
}

/* スタッフの声テキスト */
.staff p {
  margin-top: 8px;
  line-height: 32px;
  max-width: 900px;
  font-size: 15px;
}

/* 採用情報コンテナ */
.recruit-container {
  max-width: 1300px;
  margin: 50px auto;
}

/* 採用情報各項を横並び左右中央配置 */
.recruit {
  display: flex;
  justify-content: center;
}

/* 採用情報各項見出し */
.recruit h3 {
  font-size: 17px;
  color: #009FA8;
  width: 400px;
}

/* 採用情報段落 */
.recruit p {
  width: 800px;
  text-align: left;
  line-height: 30px;
}

/* 破線 */
.dashed {
  height: 1px;
  background-size: 16px 1px;
  background-image: linear-gradient(to right, #009fa8, #009fa8 8px, transparent 8px, transparent 16px);
  background-repeat: repeat-x;
}

.swiper-container {
  margin-bottom: 90.8px;
}

/* 下部スライダー */
.slide {
  white-space: nowrap;
  height: 300px;
  overflow: hidden;
  margin-bottom: 90.8px;
}

.slide img {
  margin: 0 -3px;
  padding: 0;
  border: none;
}

@keyframes slide {
  100% {
    margin-left: -2025px;
  }
}

.slide> :first-child {
  animation-name: slide;
  animation-duration: 20s;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.tabs {
  text-align: center;
  position: relative;
}

.tab-content {
  display: none;
  margin-top: -40px;
}

.tabs label {
  display: inline-block;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 31%;
  background-color: #004EA2;
  color: #ffffff;
  cursor: pointer;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#driver-recruit:checked~label[for="driver-recruit"],
#support-recruit:checked~label[for="support-recruit"],
#staff-recruit:checked~label[for="staff-recruit"] {
  background-color: #ffffff;
  border: solid 2.4px #004EA2;
  color: #004EA2;
  font-weight: bold;
  border-bottom: solid 2px #ffffff;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

#driver-recruit:checked~.tab-contents #driver-content,
#support-recruit:checked~.tab-contents #support-content,
#staff-recruit:checked~.tab-contents #staff-content {
  display: block;
}

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

  /* メニューボタンを可変幅に */
  header nav ul li a {
    max-width: 175px;
    width: auto;
  }

  /* 第2セクションの見出しを小さく */
  .section2 h2 {
    font-size: 32px;
  }

  /* 画像オーバーレイ */
  .section2 .image-container .text-container {
    top: 10%;
  }
}

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

  /* 画像オーバーレイ見出しのサイズ調整 */
  .slideshow-overlay {
    font-size: 40px;
    line-height: 90px;
    top: 250px;
  }

  .section2 .image-container .text-container {
    top: 3%;
  }
}

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

  /* 画像オーバーレイ見出しのサイズ調整 */
  .slideshow-overlay {
    font-size: 30px;
  }

  /* PC用要素を非表示に */
  .section2 .images,
  .staff-container .h3-pc {
    display: none;
  }

  /* モバイル用要素を表示 */
  .section2 .images-mobile {
    display: block;
  }

  /* details要素のマージン */
  details {
    margin: 12px 0;
  }

  /* summary */
  details>summary {
    list-style-type: none;
    font-size: 24px;
    line-height: 76px;
    color: #FFFFFF;
    display: block;
    background-size: cover;
    background-position: center;
    position: relative;
  }

  /* リストスタイルをカスタム */
  summary::after {
    content: url('../image/triangle.png');
    position: absolute;
    top: 12px;
    left: 50%;
  }

  details[open] summary::after {
    top: 20px;
    transform: rotate(180deg);
  }

  /* 詳細メイン */
  details .main {
    font-weight: bold;
    color: #004EA2;
    line-height: 30px;
    margin: 16px auto 10px;
  }

  /* 詳細サブ */
  details .sub {
    line-height: 30px;
    margin-top: 0;
  }

  /* 概要背景1 */
  #summary1 {
    background-image: url('../image/hover01.png');
    background-position-y: 400px;
  }

  /* 概要背景2 */
  #summary2 {
    background-image: url('../image/hover02.png');
    background-position-y: 550px;
  }

  /* 概要背景3 */
  #summary3 {
    background-image: url('../image/hover04.png');
    background-position-y: 400px;
  }

  /* 求人ボタンコンテナマージン調整 */
  .driver-container {
    margin: 77px auto;
  }

  /* 求人ボタンリサイズ */
  .driver-container a {
    max-width: 390px;
    display: block;
    padding: auto;
    margin: 23px auto;
  }

  /* 求人ボタン高さ等 */
  .driver {
    height: 153px;
    font-size: 27px;
    margin: 0;
  }

  /* スタッフの声コンテナマージン調整 */
  .staff-container {
    margin: 36px;
  }

  /* スタッフの声左画像のものを縦並びに */
  .staff-container .image-left {
    flex-flow: column;
    margin: 0;
  }

  /* スタッフの声右画像のものを逆縦並びに */
  .staff-container .image-right {
    flex-flow: column-reverse;
    margin: 0;
  }

  /* スタッフの声のモバイル用ヘッダーを表示して見出しを左寄せに */
  .staff-container .staff-header .h3-mobile {
    display: flex;
    text-align: left;
  }

  .staff-container .staff-header {
    display: flex;
    max-width: 540px;
    align-items: center;
    padding: 10px 39px;
  }

  /* スタッフの声画像表示を調整 */
  .staff-container .staff-header img {
    width: 130px;
    margin: 0;
    margin-right: 10px;
    filter: drop-shadow(4px 2px 3px rgb(214, 214, 214))
  }

  /* スタッフの声段落 */
  .staff p {
    margin: auto 39px;
    line-height: 30px;
  }

  .tabs .br-mobile {
    display: none;
  }
}

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

  /* 上部画像の最低高を調整 */
  .VueCarousel {
    height: 419px;
  }

  /* 上部画像見出しリサイズ */
  .slideshow-overlay {
    font-size: 20px;
    line-height: 40px;
    top: 70px;
  }

  /* 第2セクションのマージン調整 */
  .section2 {
    margin-top: -80px;
  }

  /* 第2セクション見出しのリサイズ */
  .section2 h2 {
    font-size: 24px;
    line-height: 57px;
  }

  /* 第2セクションメイン段落リサイズ */
  .section2 .main-paragraph {
    font-size: 17.5px;
    margin: 62.5px 75px;
  }

  /* PC用要素の非表示 */
  .br-pc,
  .span-pc,
  .mail {
    display: none;
  }

  /* 採用情報コンテナマージン調整 */
  .recruit-container {
    margin: auto 75px;
  }

  /* 破線のマージン調整 */
  .dashed {
    margin: auto -75px;
  }

  /* 採用情報各項見出しを左寄せに */
  .recruit h3 {
    text-align: start;
  }

  .tabs {
    background-position-y: 78px;
  }

  .tabs .br-mobile {
    display: inline;
  }

  .tab-content {
    margin: auto;
  }
}

@media screen and (max-width: 415px) {
  .slideshow-overlay {
    margin-bottom: 0;
    font-size: 16px;
    top: 100px;
  }

  .section2 .main-paragraph {
    margin: auto 25px;
  }

  .driver-container {
    max-width: 100vw;
    overflow: hidden;
  }

  .driver {
    max-width: calc(100vw * 0.9);
    margin: auto;
  }

  .staff-container {
    margin: auto 6px;
  }

  .staff-container .staff-header {
    padding: 10px 0;
  }

  .staff-container p {
    margin: auto;
  }

  .recruit-container {
    margin: auto 6px;
  }

  .dashed {
    max-width: 100vw;
    margin: auto;
  }

  .tabs {
    background-position-y: 80px;
  }

  .tabs label {
    height: 48px;
  }
}
