@import 'var.css';

:root {
  --font-gothic: 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans TC', sans-serif;
  /* --font-gothic: 游ゴシック体, YuGothic, 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif; */
}

img {
  width: 100%;
}
html {
  /* font-size: 62.5%; */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  color: var(--main-txt-color);
  font-size: 15px;
  /* font-size: 16px; */
  font-family: var(--font-gothic);
  font-weight: 500;
  background-color: #fff;
  letter-spacing: 1px;
  line-break: strict;
  line-height: 2.15;
  text-indent: min(0vw + 0rem, 0rem);
  word-break: normal;
  font-feature-settings: 'palt';
  overflow-x: hidden;
}

body#japanese {
  --font-gothic: 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans TC', sans-serif;

  /* --font-gothic: 游ゴシック体, YuGothic, 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif; */
}

body#chinese {
  --font-gothic: 'Noto Sans SC', 'Noto Sans TC', sans-serif;
}

header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px 3vw;
  z-index: 999;
  transition: transform 0.5s ease;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* Safari 対応 */
}

#header.hide {
  transform: translateY(-100%);
  box-shadow: none;
}

nav.header__nav,
nav.footer__nav {
  display: flex;
  align-items: center;
  font-size: clamp(14px, 15 / var(--max-viewport) * 100vw, 15px);
  font-weight: 600;
  gap: min(4vw, 60px);
  overflow-x: auto;
  word-break: keep-all;
}

nav.footer__nav {
  flex-wrap: wrap;
}

.header__nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.header__nav > a {
  color: var(--main-txt-color);
  text-decoration: none;
  display: block;
  position: relative;
}

.header__nav > a.contact-btn {
  background-color: var(--accent-color);
  border-radius: 100vw;
  padding: 6px 20px;
  transition: background-color 0.5s ease, color 0.5s ease;
}
.header__nav > a.contact-btn:hover {
  background-color: var(--main-txt-color);
  color: #fff;
}

.header__nav > a:not(:last-of-type)::before {
  content: '';
  clip-path: inset(0 100% 0 0);
  display: block;
  height: 2px;
  background-color: var(--accent-color);
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  transition: clip-path 0.5s ease;
}

.header__nav a:hover::before {
  clip-path: inset(0 0 0 0);
}
.header__language-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  line-height: 1;
  color: #bbb;
}
.header__language-switch div {
  display: flex;
  flex-direction: row;
  font-size: 13px;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.header__language-switch::before {
  content: 'Language';
  font-size: 10px;
}

.header__language-switch .line {
  /* display: block; */
  width: 16px;
  height: 1px;
  background-color: #bbb;
}

.toUpColor-text {
  background: linear-gradient(to top, #da2d2d 50%, #bbb 50%);
  background-size: 100% 200%; /* 2倍の高さ */
  background-position: 0 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.3s ease-in-out;
}

.header__language-switch a.is-active {
  color: var(--accent-txt-color);
  -webkit-text-fill-color: var(--accent-txt-color);
}

.toUpColor-text:hover {
  background-position: 0 100%;
}

.hero {
  width: 100%;
  height: 100vh;
  background-color: aqua;
}

.fi.fade-in {
  animation: fadeIn ease-out 1.1s forwards;
}
.fi.fade-in-up {
  animation: fadeInUp ease 1s forwards;
}

.fi {
  opacity: 0;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

h1.header__logo {
  width: 240px;
  height: auto;
}

/* ファーストヴュー */
.firstview {
  position: relative;
  width: 100%;
  height: 100vh;
}
.firstview .firstview__copy {
  color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: max-content;
  text-shadow: 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
}

.firstview .firstview__copy h2 {
  font-size: clamp(34px, 66 / var(--max-viewport) * 100vw, 66px);
  font-weight: bold;
  letter-spacing: 5px;
  line-height: 1.8;
}
.firstview .firstview__copy p {
  font-size: clamp(14px, 20 / var(--max-viewport) * 100vw, 20px);
  font-weight: bold;
  letter-spacing: 1.2px;
  line-height: 1.3;
}
.firstview__movie {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  border-radius: 0 0 0 0;
  overflow: hidden;
  background: var(--main-txt-color);
  z-index: -1;
}

.bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  border-radius: 0 0 0 0px;
}
.bg-video {
  opacity: 1;
}

.bg-anim-rl {
  position: relative;
}

.fadeInUp_txt span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-10px);
  animation: fadeInRight 0.6s forwards;
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
#headline {
  opacity: 0;
  transition: all ease 0.3s;
}
#headline.show {
  opacity: 1;
}
/*
.firstview .is-inView.bg-anim-rl:after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: #fff;
  width: 100%;
  height: 100%;
  animation: bgAnimRtoL 0.8s ease forwards;
  z-index: 10;
}

 */

main .is-inView.bg-anim-rl:after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: #131a5f;
  width: 100%;
  height: 100%;
  animation: bgAnimRtoL 0.8s ease forwards;
  z-index: 10;
}

@keyframes bgAnimRtoL {
  0% {
    transform-origin: right;
    transform: scaleX(0);
  }
  50% {
    transform-origin: right;
    transform: scaleX(1);
  }
  50.0001% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}
.bg-anim-txt {
  opacity: 0;
  display: block;
  transform: translateX(10px);
  will-change: opacity, transform;
}

.is-inView .bg-anim-txt {
  animation: bgAnimeTxt 0.6s ease 0.6s forwards;
}

@keyframes bgAnimeTxt {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

.overlay {
  /* background: url('assets/img/overlay.png') center center repeat; */
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-color: #fff;
  mix-blend-mode: plus-lighter;
}

.blue-block {
  position: absolute;
  background-image: var(--main-color);
  width: 40%;
  height: 100px;
  right: 0;
  bottom: 0;
}

/* スクロールライン */
.firstview__scroll {
  align-items: baseline;
  color: #6b6b6b;
  display: flex;
  font-size: clamp(12px, 14 / var(--max-viewport) * 100vw, 14px);
  gap: 16px;
  bottom: 50px;
  left: 95%;
  line-height: 1;
  mix-blend-mode: difference;
  position: absolute;
  transform: rotate(90deg) translate(-50%);
  transform-origin: 0 0;
  z-index: 10;
}
.firstview__scroll:after {
  animation: scrollLine 2s ease both infinite;
  background: currentColor;
  content: '';
  display: block;
  flex: 0 0 auto;
  height: 1px;
  width: 184px;
}

@keyframes scrollLine {
  0% {
    clip-path: inset(0 0 0 0);
  }
  50% {
    clip-path: inset(0 0 0 100%);
  }
  50.0001% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* スクロールトップ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  transform: translateY(100px);
  text-align: center;
  line-height: 50px;
  display: block;
  opacity: 0;
  pointer-events: none;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  background: var(--main-txt-color);
  color: var(--accent-txt-color);
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  transition: background 0.5s ease, color 0.5s ease, transform 0.5s ease, opacity 0.5s ease;
  z-index: 10;
}

@media (hover: hover) and (pointer: fine) {
  .scroll-top:hover {
    background: var(--accent-txt-color);
    color: var(--main-txt-color);
  }
}

.scroll-top.is-visible {
  transform: translateY(0px);
  opacity: 0.9;
  pointer-events: all;
}

/* ハンバーガー */
.hg-nav--area {
  display: none;
}

.hg-nav--language {
  text-align: center;
  /* white-space: nowrap; */
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.hg-nav--language a {
  border: solid 1px #fff;
  flex-basis: 46%;
  padding: 6px 20px;
  /* white-space: nowrap; */
  display: block;
  flex-grow: 1;
  white-space: nowrap;
}

.hg-nav--language a.is-active {
  background-color: #fff;
  color: #000e91;
}

.hg-nav--language a:hover {
  background-color: #fff;
  color: #000e91;
}

@media screen and (max-width: 800px) {
  /* header {
    display: none;
  } */

  header .header__nav {
    margin-right: 60px;
    min-width: fit-content;
  }
  header .header__nav > a {
    display: none;
  }

  header .header__language-switch {
    overflow: hidden;
  }

  header .header__language-switch .line {
    /* display: block; */
    width: 8px;
  }

  /* スクロール無効化 ハンバーガー用 */
  html.no-scroll,
  body.no-scroll {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
  }

  .hg-nav--area {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: none;
    opacity: 1;
    z-index: 99999;
    pointer-events: none;
  }

  .hg-nav--area.is-active {
    pointer-events: auto;
  }

  .hg-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 5vh 5vw;
    z-index: 200;
    opacity: 0;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.6s ease-in-out, opacity 1.3s ease-in-out;
    display: flex;
    place-items: center;
    color: #fff;
  }

  .hg-nav .hg-nav--container {
    width: fit-content;
    height: auto;
    margin: 0 auto;
    padding: 30px;
    position: relative;
  }

  .hg-nav #hg-nav-logo {
    width: 55%;
    max-width: 240px;
    height: auto;
    padding: 0;
    text-align: center;
    position: relative;
    margin: 0 auto;
  }

  .hg-nav #hg-nav-logo img {
    filter: drop-shadow(2px 2px 1px rgba(255, 255, 255, 0.7)) drop-shadow(-2px 2px 1px rgba(255, 255, 255, 0.7)) drop-shadow(2px -2px 1px rgba(255, 255, 255, 0.7)) drop-shadow(-2px -2px 1px rgba(255, 255, 255, 0.7));
  }

  .hg-nav--list {
    margin: 40px 0;
  }

  .hg-nav--item {
    margin: min(3vh, 30px) 0;
    text-align: center;
    padding: 0.1vw 0px;
  }

  .hg-nav--item a:hover {
    color: var(--accent-color);
  }

  .hg-nav ul.hg-nav-sns {
    width: 90%;
    height: auto;
    margin: 3vw 5% 0;
    padding: 0;
    display: flex;
    justify-content: center;
  }

  .hg-icon {
    position: fixed;
    right: 5px;
    top: 5px;
    width: 52px;
    height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    z-index: 300000;
    background-color: var(--main-txt-color);
    border-radius: 5px;
    pointer-events: all;
  }

  .hg-icon--line {
    display: block;
    width: 60%;
    height: 2px;
    background-color: antiquewhite;
    border-radius: 3px;
  }

  .hg-bg {
    position: fixed;
    top: -5%;
    left: 50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-image: var(--main-color);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none; /* 背景クリックを無効化 */
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out; /* 追加 */
  }

  /* ハンバーガーアニメーション */

  /* ナビゲーションの表示 */
  .hg-nav.is-open {
    transform: translateY(0%);
    opacity: 1;
  }

  /* 背景のフェードイン */
  .hg-bg.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(50); /* 拡大 */
    pointer-events: auto; /* アクティブ時に背景クリックを有効化 */
  }

  /* 三本線のばつ印変化 */
  .rotate-top {
    /* translateYでgapの8px + 自身の高さ2px分下げてから回転 */
    transform: translateY(10px) rotate(45deg);
  }

  .fade-out {
    opacity: 0;
  }

  .rotate-bottom {
    /* translateYでgapの8px + 自身の高さ2px分上げてから回転 */
    transform: translateY(-10px) rotate(-45deg);
  }

  .hg-icon--line {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
}

/* section */
section {
  line-height: 2.5;
  /* overflow: hidden; */
}

h2 {
  display: inline-block;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 32px;
  z-index: 0;
}

/* Top contents */

#contents .section__inner {
  max-width: 1100px;
  padding: 85px 0 130px;
}
#contents h2 {
  display: block;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding-bottom: 20px;
  position: relative;
  margin-bottom: 50px;
}

#contents h2::before {
  content: '';
  display: block;
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--accent-txt-color);
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.contents--list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.contents--list a {
  opacity: 1;
  transition: opacity ease 0.3s;
}
.contents--list a:hover {
  opacity: 0.6;
}
.contents--list li {
  max-width: 346px;
  height: auto;
  margin: 0 10px 30px;
}

.contents--list--img_box {
  position: relative;
}

.contents--list--img_box img {
  height: 230px;
  object-fit: cover;
}

.contents--list li .content_box {
  margin-top: 20px;
}

h3.main_title {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.2rem;
  line-height: 1.5;
}

/* Contact_banner */
.contact_banner {
  background: url(./assets/img/truck-loading-port.jpg) no-repeat center center / cover;
  margin-bottom: 148px;
}

.contact_banner .section__inner {
  padding: 140px 0;
}

.contact_banner--box {
  background-color: #fff;
  display: block;
  margin: auto;
  text-align: center;
  padding: 34px 20px;
  position: relative;
  width: 576px;
  transition: background-color ease 0.6s, border-radius ease 1.6s;
  border-radius: 0;
}

.contact_banner--box:hover {
  background-color: var(--accent-color);
  border-radius: 100vw;
}

.content_banner--box--title {
  font-weight: bold;
  font-size: 27px;
  margin-bottom: 10px;
}

/* breadcrumb */
.breadcrumb {
  background-color: #9bd0ff;
  padding: 0 20px;
  margin-top: 76px;
}

.breadcrumb .section__inner {
  padding-bottom: 0;
}
.breadcrumb--list li {
  display: inline-block;
  position: relative;
  color: var(--base-color);
  font-size: 13px;
  line-height: 2.5;
}

.breadcrumb--list li a:hover {
  color: var(--main-txt-color);
}

.breadcrumb--list li + li {
  margin-left: 32px;
}

.breadcrumb--list li + li::before {
  content: '>';
  display: block;
  position: absolute;
  bottom: 0px;
  top: 0px;
  left: -22px;
}
.sub_main_img img {
  height: 368px;
  object-fit: cover;
  object-position: 50% 20%;
}

/* about */

section.about,
section.service,
section.recruit,
section.contact,
section.privacy {
  --animate-block-delay: 0.6s;
  margin-bottom: 160px;
  padding: 100px 20px 0;
  position: relative;
}

.company_info {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.company_info--img {
  width: 37%;
  height: auto;
  border-radius: 10px 0 0 10px;
  border-radius: 15px;
  overflow: hidden;
  /* box-shadow: 0 2px 10px rgba(255, 255, 255, 1); */
}

.company_info--img img {
  object-fit: cover;
  height: 100%;
}

.company-profile::before {
  content: '';
  display: block;
  width: 100%;
  height: 300px;
  position: absolute;
  right: 55%;
  top: -288px;
  background-image: url(./assets/img/k0805_1.svg);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.06;
  background-position: right bottom;
  z-index: -1;
}

.about > .section__inner p {
  text-shadow: 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff, 0 0 10px #fff;
  width: 60%;
  text-align: justify;
  margin-top: -0.6em;
}

.section__inner {
  margin: 0 auto;
  max-width: 902px;
  width: 100%;
  padding-bottom: 120px;
  position: relative;
}

.section-title-jp {
  letter-spacing: 6px;
}

.section-title-en {
  position: absolute;
  bottom: 14px;
  left: calc(100% + 80px);
  color: #e8e8e8;
  font-size: 123px;
  font-weight: bold;
  line-height: 1;
  z-index: 1;
  opacity: 0;
  letter-spacing: -5px;
  transform: translate(0, 0);
  will-change: transform, opacity;
}

.slide-left.is-inView {
  animation: slideLeft 1s ease 0.7s 1 forwards;
}

@keyframes slideLeft {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-70px, 0);
    opacity: 1;
  }
}

.company-profile {
  color: #e8e8e8;
  background-image: var(--main-color);
  /* border-radius: 0 120px 0 0; */
  margin: 0 -20px;
  padding-top: 80px;
  position: relative;
}

.company-profile .abstract {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  background-image: url(./assets/img/abstract_02@2x.png);
  top: -600px;
  right: 0;
  width: 30%;
  height: 720px;
  z-index: -10;
  opacity: 0.4;
  transform: rotate(7deg);
}

.company-profile .abstract2 {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  background-image: url(./assets/img/abstract_03.svg);
  bottom: -22%;
  left: -11%;
  width: 40%;
  height: auto;
  aspect-ratio: 916 / 940;
  z-index: 0;
  opacity: 0.6;
  transform: rotateZ(16deg) translateY(0px);
}

.company-profile .section__inner,
.parent-company .section__inner {
  padding-left: 20px;
  padding-right: 20px;
  z-index: 1;
}

.company-profile h3,
.parent-company h3 {
  position: relative;
  letter-spacing: 4px;
  width: 100%;
  font-size: clamp(22px, 24 / var(--max-viewport) * 100vw, 24px);
  margin-bottom: 30px;
  font-weight: bold;
}

.company-profile h3::before,
.parent-company h3::before {
  background-color: #eee;
  border-radius: 2px;
  bottom: 0;
  content: '';
  height: 3px;
  position: absolute;
  width: 100%;
}
.company-profile h3::after,
.parent-company h3::after {
  /* background-color: #4184bf; */
  background-color: #9bd0ff;

  border-radius: 2px;
  bottom: 0;
  content: '';
  height: 3px;
  left: 0;
  position: absolute;
  width: 25%;
}

.company-profile dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 30px;
}
.company-profile dt {
  min-width: 25%;
  height: 1.5em;
  padding-left: 3%;
}

.company-profile dt span {
  width: 90px;
  text-align: justify;
  display: inline-block;
}

.company-profile dt span::after {
  content: '';
  display: inline-block;
  width: 100%;
}

.company-profile dd {
  width: 75%;
  min-width: 350px;
  padding-left: 3%;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.access-map {
  border-radius: 10px;
  overflow: hidden;
}

.parent-company {
  margin: 0 -20px;
  padding-top: 80px;
  background-image: url('./assets/img/parent_company-bg.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  color: #e8e8e8;
  text-align: justify;
  background-attachment: fixed;
}

.parent-company::before {
  content: '';
  position: absolute;
  display: block;
  inset: 0;
  background-color: #003868;
  opacity: 1;
  mix-blend-mode: multiply;
}

.parent-company p {
  margin-bottom: 18px;
}

.parent-company ul {
  padding-left: 1em;
  margin-bottom: 36px;
}
.parent-company li {
  position: relative;
  padding-left: 15px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.parent-company .to_parent {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin: 0 auto;
  width: 230px;
  height: auto;
  padding: 20px 0;
  border: 1px solid #e8e8e8;
  line-height: 1;
  transition: padding-left 0.5s ease;
}

.parent-company .to_parent:hover {
  padding-left: 8px;
}
.parent-company .to_parent::after {
  display: inline-block;
  content: '';
  background-image: url('./assets/img/right-arrow.svg');
  background-repeat: no-repeat;
  background-size: contain;
  width: 30px;
  height: 20px;
  transition: transform 0.5s ease;
}

.parent-company .to_parent:hover::after {
  transform: translateX(5px);
}

.parent-company li::before {
  content: '';
  display: block;
  width: 5px;
  height: 1px;
  background-color: #e8e8e8;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 0;
}

/* SERVICE */

.sub_main_img.service_img img,
.sub_main_img.recruit_img img,
.sub_main_img.contact_img img {
  object-position: 50% 60%;
}
.service .section__inner {
  padding-bottom: 0;
}
.business-item h3,
.recruit-item h3 {
  height: 180px;
  width: 100%;
  border-radius: 15px;
  background-color: #000;
  color: #f9f9f9;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 2px;
  overflow: hidden;
  position: relative;
  line-height: 180px;
  margin-bottom: 32px;
}
.business-item h3::before,
.recruit-item h3::before {
  /* filter: blur(3px); */
  width: 110%;
  height: 110%;
  content: '';
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.7;
}

.business-item h3.steel::before {
  background-image: url(./assets/img/tekko_img.webp);
}
.business-item h3.paper::before {
  background-image: url(./assets/img/paper_img.webp);
}
.business-item h3.agriculture::before {
  background-image: url(./assets/img/farm_img.webp);
}
.business-item h3.products::before {
  background-image: url(./assets/img/mart_img.png);
}
.business-item h3.mining::before {
  background-image: url(./assets/img/kozan_img.webp);
}
.business-item h3.energy::before {
  background-image: url(./assets/img/energy_img.webp);
}

.business-item h3 span,
.recruit-item h3 span {
  z-index: 10;
  position: relative;
}

.business-item:not(:last-child) {
  margin-bottom: 120px;
}

.business-item h3 {
  margin-bottom: 20px;
}

.business-item h3 + p {
  color: #131a5f;
  font-size: clamp(18px, 4vw, 20px);
  line-height: 1.4;
  margin-bottom: 32px;
}

.business__contents {
  display: flex;
  flex-direction: row;
  margin-bottom: 28px;
}
.business__contents h4 {
  font-size: clamp(18px, 2.5vw, 22px);
  border-right: 2px #131a5f solid;
  line-height: 1;
  padding: 0 0 0 10px;
  color: #131a5f;
  width: 30%;
  font-weight: bold;
}

.business__contents ul {
  width: 70%;
  line-height: 1;
  padding-left: 40px;
}

.business__contents li {
  /* margin-bottom: 12px; */
  line-height: 2;
}

/* RECRUIT */

.recruit .section__inner {
  padding-bottom: 0;
}

.recruit-item h3.current-recruit::before {
  background-image: url(./assets/img/recruit_img.webp);
}

.recruit__contents {
  border-radius: 15px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 40px;
}

.recruit__contents dl {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.recruit__contents dt {
  width: 25%;
  /* background-color: #4184bf; */
}
.recruit__contents dd {
  width: 75%;
  /* background-color: #e8e8e8; */
}

.recruit__contents dd a:hover {
  color: #131a5f;
}

/* CONTACT */

.contact .section__inner {
  padding-bottom: 0;
}

#contact .section-title-jp {
  letter-spacing: 0;
}

.contact__attention {
  background-color: #fffada;
  padding: 40px;
  line-height: 2;
  border-radius: 15px;
  margin-bottom: 20px;
}

.require-attention {
  color: #d83e51;
  margin-bottom: 20px;
}

#contact form label {
  font-size: 18px;
}
#contact form input {
  background-color: #eaeaea;
  width: 60%;
  padding: 8px;
  border-radius: 5px;
}

#contact form dd:not(:last-child) {
  border-bottom: solid 1px #bbb;
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.contact__require {
  color: #d83e51;
  padding-left: 8px;
}

#contact form textarea {
  background-color: #eaeaea;
  resize: vertical;
  width: 100%;
  height: 250px;
  padding: 8px;
  border-radius: 5px;
  margin-bottom: 60px;
}

#contact form input:focus,
#contact form textarea:focus {
  background-color: #fafafa;
}
#contact form button {
  background-color: var(--accent-color);
  border-radius: 100vw;
  padding: 6px 20px;
  transition: background-color 0.5s ease, color 0.5s ease;
  width: 250px;
  text-align: center;
  font-weight: 700;
  margin: 0 auto;
  display: block;
}

#contact form button:hover {
  background-color: var(--main-txt-color);
  color: #e8e8e8;
}

/* プライバシーポリシー */
.privacy h3 {
  font-size: 22px;
  color: #131a5f;
  display: inline-block;
  border-bottom: solid 1px currentColor;
  margin: 1em 0;
  text-align: justify;
}

footer {
  background-image: var(--main-color);
  color: #e8e8e8;
  padding: 60px 40px;
}

footer .section__inner {
  padding-bottom: 0;
}

nav.footer__nav {
  justify-content: center;
  margin-bottom: 18px;
}
nav.footer__nav a {
  transition: color 0.7s ease;
}
nav.footer__nav a:hover {
  color: var(--accent-color);
}

.footer--logo {
  width: min(80%, 210px);
  height: auto;
  margin: 0 auto 30px;
}

.footer--logo img {
  filter: drop-shadow(2px 2px 1px rgba(255, 255, 255, 0.7)) drop-shadow(-2px 2px 1px rgba(255, 255, 255, 0.7)) drop-shadow(2px -2px 1px rgba(255, 255, 255, 0.7)) drop-shadow(-2px -2px 1px rgba(255, 255, 255, 0.7));
}
.copyright {
  font-size: 14px;
  text-align: center;
}

/* 送信完了 サンクスページ */

body#thanks {
  min-height: 100vh;
}

body#thanks .wrapper {
  display: grid;
  grid-template-rows: 1fr auto; /* 上・中・下 */
  min-height: 100vh;
}
body#thanks main {
  border-top: #131a5f solid 8px;
  text-align: center;
}

body#thanks main section {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 20px 5vw;
}

body#thanks main .section__inner {
  padding-bottom: 20px;
}

body#thanks main h1 {
  font-size: clamp(24px, 4vw, 36px);
  display: inline-block;
  border-bottom: solid var(--accent-txt-color) 2px;
  line-height: 1.7;
  margin-bottom: 20px;
}

body#thanks main p {
  margin-bottom: 40px;
}

@media screen and (max-width: 450px) {
  body#thanks main p {
    text-align: justify;
    font-size: 14px;
    line-height: 2;
  }
}

body#thanks main a {
  display: block;
  width: min(80%, 260px);
  margin: 0 auto;
  padding: 6px 16px;
  background-color: #131a5f;
  color: #e8e8e8;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.5s ease;
}

body#thanks main a:hover {
  border: #131a5f solid 1px;
  background-color: #fff;
  color: #131a5f;
}

/*
.business-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.business-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.business-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.business-item p {
  font-size: 16px;
  margin-bottom: 10px;
}
.business-item ul {
  padding-left: 20px;
}
.business-item ul li {
  font-size: 14px;
  line-height: 1.5;
} */

/* レスポンシブ */
@media screen and (max-width: 800px) {
  .firstview__movie {
    width: 100%;
    height: 100vh;
    border-radius: 0 0 0 0;
  }

  .section__inner {
    padding-bottom: 100px;
  }

  .company-profile::before {
    display: none;
  }

  .blue-block {
    height: 60px;
  }

  .section-title-en {
    font-size: 16vw;
    bottom: 38px;
    left: calc(100% + -37px);
    z-index: -1;
  }

  .about p {
    text-align: justify;
  }

  h2 {
    letter-spacing: 0;
    margin-bottom: 8px;
  }

  section.about,
  section.service,
  section.recruit,
  section.contact {
    padding-top: max(10vw, 40px);
  }
}

@media screen and (max-width: 688px) {
  h2 {
    font-size: clamp(24px, 6vw, 28px);
  }
  .contents--list li .content_box {
    margin-top: 10px;
  }

  .contact_banner--box {
    background-color: #fff;

    padding: 34px 20px;

    width: 80%;
  }

  .company_info {
    flex-direction: column;
  }

  .company_info--img {
    width: 100%;
    height: 260px;
    margin-bottom: 16px;
  }

  .about > .section__inner p {
    width: 100%;
  }
  .business__contents {
    flex-direction: column;
    margin-bottom: 28px;
  }

  .business__contents h4 {
    border-right: none;
    border-bottom: 2px #131a5f solid;
    padding: 0 0 18px 10px;

    width: 100%;

    margin-bottom: 14px;
  }
  .business__contents ul {
    width: 100%;
    padding-left: 10px;
  }
}
@media screen and (max-width: 450px) {
  .hg-nav--area .hg-icon {
    transform: scale(0.9);
  }

  h1.header__logo {
    width: 200px;
  }

  .firstview .firstview__copy {
    word-break: keep-all;
    width: 80%;
  }
  .firstview .firstview__copy h2 {
    font-size: 26px;
  }

  .blue-block {
    width: 100%;
  }
  .section-img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    box-shadow: none;
  }

  .sub_main_img img {
    height: 268px;
  }

  .company-profile {
    border-radius: 0 60px 0 0;
  }

  .section-title-en {
    font-size: 28px;
    bottom: 55px;
    left: 70px;
    letter-spacing: -2px;
  }

  .company-profile dl {
    flex-direction: column;
    text-align: center;
    line-height: 1.5;
  }

  .company-profile dt {
    width: 100%;
    padding-left: 0;
    margin-bottom: 16px;
  }
  .company-profile dd {
    width: 100%;
    min-width: auto;
    padding-left: 0;
    padding-bottom: 26px;
    word-break: break-all;
    line-height: 1.5;
    margin-bottom: 26px;
    border-bottom: dotted 1px #fff;
  }

  .recruit__contents {
    padding: 40px 20px;
  }

  .recruit__contents dl {
    flex-direction: column;
    text-align: center;
  }
  .recruit__contents dt {
    width: 100%;
    background-color: #e8e8e8;
  }
  .recruit__contents dd {
    width: 100%;
    line-height: 1.5;
    padding: 10px 0;
    font-size: 14px;
  }

  #contact {
    padding: 60px 20px 0 20px;
    border-radius: 60px 0 0 0;
  }
  .contact__attention {
    padding: 20px;
  }

  #contact form input {
    width: 100%;
  }
}

@media screen and (max-width: 400px) {
  header {
    gap: 20px;
  }

  header .header__language-switch {
    display: none;
  }
  /* .toUpColor-text {
    border: solid 1px #cdcdcd;
    padding: 4px;
  }
  .header__language-switch::before {
    display: none;
  }

  .header__language-switch a.is-active {
    display: none;
  } */

  header .header__language-switch .line {
    display: none;
  }

  .hg-nav--area .hg-icon {
    transform: scale(0.8);
  }
}

.over-l-bp {
  display: block;
  @media screen and (max-width: 800px) {
    display: none;
  }
}
.under-m-bp {
  display: none;
  @media screen and (max-width: 688px) {
    display: block;
  }
}
.under-s-bp {
  display: none;
  @media screen and (max-width: 450px) {
    display: block;
  }
}
.over-s-bp {
  display: block;
  @media screen and (max-width: 450px) {
    display: none;
  }
}
.fadeInUp_txt span.over-m-bp {
  @media screen and (max-width: 688px) {
    display: none;
  }
}
