@charset "utf-8";
/* ============================
main 画像スライドショー
=============================== */

/* ========== Slideshow ========== */
.mainImg {
     position: relative;
    height: 650px;
    overflow: hidden;
    border-radius: 20px;
    margin: 12px 12px 0 12px; /* 上・右・下・左 */
}

.mainImg .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.mainImg .slide.active {
    opacity: 1;
}

.mainImg .slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 6s ease-out;
}

.mainImg .slide.active .slide-bg {
    transform: scale(1.07); /* ケン・バーンズ効果 */
}

/* ドット */
.slideshow-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slideshow-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slideshow-dots .dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* プログレスバー */
.slideshow-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: rgba(255, 255, 255, 0.75);
    z-index: 10;
}

.slideshow-progress.running {
    transition: width 5s linear;
    width: 100%;
}

/* ============================
MAKE TRAFFIC JAPAN　流れる
=============================== */
.marquee{
    margin-top: 50px;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
}

.marquee-track{
    display: inline-block;
    animation: scrollText 15s linear infinite;
}

.marquee span{
    font-family: "Poppins", sans-serif;
    letter-spacing: 3px;
    padding-right: 40px;
    color: #D9D9D9;
    font-weight: 900;
    font-size: 6.4rem;
    line-height: 1;
}

/* アニメーション */
@keyframes scrollText{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}

.message-title {
    margin-top: 51px;
}

.message-title p {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.8;
}

.main-message {
    margin: 50px auto 0;
    max-width: 325px;
    width: 100%;
    background-image: url(../img/backimg-indexTop.svg);
    background-repeat:no-repeat;
    background-size: auto;
    background-position: top right;
}

.main-message p {
    margin-top: 26px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.8;
}

/* -------------------------
メッセージjs
----------------------------- */
/* message-title */
.message-title p {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s ease, transform 0.6s ease;
}

.message-title p.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* main-message */
.main-message p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.main-message p.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
youtubeビデオ
=============================== */
.video-open {
    margin-top: 55px;
    display: block;
    position: relative;
    width: 100%;
    height: 650px;
    padding: 0;
    overflow: hidden;
    border: none;
    background: none;
}

/* 動画を全面表示 */
.thumb-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.conceptmovie {
    position: absolute;
    z-index: 2;
    top: 47px;
    left: 24px;
    color: #FFF;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.videomaketrafficjapan-en {
    position: absolute;
    z-index: 2;
    top: 482px;
    left: 24px;
    text-align: left;
    color: #FFF;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.videomaketrafficjapan-ja {
    position: absolute;
    z-index: 2;
    top: 583px;
    left: 24px;
    color: #FFF;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 96px;
    height: 96px;
    border: 2px solid #FFF;
    border-radius: 50%;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
}

.video-play-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid #FFF;
}

/* ============================
セクション company
=============================== */
.index-company-bg {
    background-image: url(../img/backimg-indexCompany.svg);
    background-repeat:no-repeat;
    background-size: auto;
    background-position: top right;
}

.index-company {
    max-width: 325px;
    width: 100%;
    margin: 0 auto;
}

.index-company-txt-en {
    margin-top: 100px;
    color: #2B958A;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
}

.index-company-txt-ja {
    margin-top: 6px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1;
}

.index-company-desc {
    margin-top: 28px;
}

.index-company-menu {
    margin-top: 53px;
}

.index-company-menu ul {
    max-width: 290px;
    width: 100%;
    margin: 0 auto;
}
.index-company-menu li {
    margin-top: 21px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.index-company-menu li img {
    width: 30px;
    height: 30px;
}

.border {
    margin-top: 20px;
    max-width: 290px;
    width: 100%;
    height: 1px;
    background: #B5B5B5;
}

/* -------------------------
会社を知るjs
----------------------------- */
.index-company-bg,
.index-company-menu li,
.index-company-menu .border {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.index-company-bg.is-visible,
.index-company-menu li.is-visible,
.index-company-menu .border.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
セクション 働く人employees
=============================== */
/* 横スクロール可能なコンテナ */
.index-employees-card-two {
    display: flex;
    overflow-x: auto;
    gap: 22px; /* 既存のmargin-leftの代わり */
    scroll-snap-type: x mandatory; /* カードにスナップ */
    -webkit-overflow-scrolling: touch; /* iOSのスムーズスクロール */
    padding-bottom: 16px; /* スクロールバー用の余白 */
    padding-left: 17px; /* 追加 */
}

/* 各カードがスナップする */
.index-driver,
.index-officestaff {
    scroll-snap-align: start;
    flex-shrink: 0; /* カードが縮まないように */
}

.index-employees {
    width: 100%;
    height: 1373px;
    margin-top: 35px;
    border-radius: 50px 50px 0 0;
    background: linear-gradient(180deg, #D5E7E5 0%, #D5E7E5 60.1%, #FFF 96.63%);
}

.employees-title {
    max-width: 325px;
    width: 100%;
    margin: 0 auto;
    background-image: url(../img/backimg-indexEmplo.svg);
    background-repeat:no-repeat;
    background-size: auto;
    background-position: right;
    background-position-y: 73px;
}

.index-employees-txt-en {
    padding-top: 73px;
    color: #2B958A;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
}

.index-employees-txt-ja {
    margin-top: 6px;
    font-size: 1.4;
    font-weight: 500;
    line-height: 1;
}

.index-employees-desc {
    margin-top: 31px;
    overflow-x: hidden; /* 追加 */
}

.index-driver {
    background: #FFF;
    width: 255px;
    height: 536px;
    border-radius: 50px 50px 0 0;
    margin-left: 0;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.index-driver img {
    width: 255px;
    height: 168px;
    border-radius: 10px 10px 0 0;
}


.index-employees-menu {
    margin-top: 41px;
}

.index-employees-menu p:first-child{
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
}

.index-employees-menu p{
    line-height: 1;
    text-align: center;
    margin-top: 10px;
}


.index-officestaff{
    background: #FFF;
    width: 255px;
    height: 536px;
    border-radius: 50px 50px 0 0;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.index-officestaff img {
    width: 255px;
    height: 168px;
    border-radius: 10px 10px 0 0;
}

.index-employees-card {
    max-width: 208px;
    width: 100%;
    margin: 0 auto;
}

.index-employees-txt {
    margin-top: 28px;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
}

.employees-line {
    width: 100%;
    height: 1px;
    background: #B5B5B5;
    margin: 26px 0 26px 0;
}

.seedetails {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.seedetails-set {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.seedetails-set img {
    width: 10px;
    height: 9px;
    flex-shrink: 0;
}

.index-employees-photo-all {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* aタグ全体を右寄せ */
    width: 100%;
}

.index-employees-photo-all img {
    max-width: 349px;
    width: 100%;
    margin-top: 50px;
    height: 233px;
    border-radius: 100px 0 0 100px; 
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}


.index-employees-photo-all-txt {
    margin-top: 20px;
    width: 325px;
    margin-top: 20px;
}

.index-employees-photo-all-txt p:first-child {
    color: #2B958A;
    font-family: "Zen Kaku Gothic New";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 20px */
    text-align: left;
}

.index-employees-photo-all-txt p:nth-child(2) {
    margin-top: 12px;
    font-size: 1.4rem;
    font-weight: 400;
    text-align: left;
}

/* -------------------------
人を知るjs
----------------------------- */
.employees-title h2,
.employees-title .index-employees-desc {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.employees-title h2.is-visible,
.employees-title .index-employees-desc.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.index-employees-card-two {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.index-employees-card-two.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.index-employees-photo-all img {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.index-employees-photo-all img.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.index-employees-photo-all-txt p {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.index-employees-photo-all-txt p.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
スライドショー
=============================== */
.index-slider-wrap {
    margin-top: 80px;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 10px;
}

.index-slider {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: slide-left 35s linear infinite;
}

.index-slider:hover {
    animation-play-state: paused;
}

.index-slider-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 20px;
    flex-shrink: 0;
}

.index-slider-photo:nth-child(odd) {
    margin-top: 0;
}

.index-slider-photo:nth-child(even) {
    margin-top: 46px;
}

@keyframes slide-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================
働く環境を知る
=============================== */
.index-environment-bg {
    background-image: url(../img/backimg-indexEnvi.png);
    background-repeat:no-repeat;
    background-size: auto;
    background-position: top right;
}

.index-environment {
    max-width: 325px;
    width: 100%;
    margin: 300px auto 0;
}

.index-environment-txt-en {
    margin-top: 100px;
    color: #2B958A;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
}

.index-environment-txt-ja {
    margin-top: 6px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1;
}

.index-environment-desc {
    margin-top: 28px;
}

.index-environment-menu {
    margin-top: 53px;
}

.index-environment-menu ul {
    max-width: 290px;
    width: 100%;
    margin: 0 auto;
}
.index-environment-menu li {
    margin-top: 21px;
    display: flex;
    justify-content: space-between;
}

.index-environment-menu li img {
    width: 30px;
    height: 30px;
}

.border {
    margin-top: 20px;
    max-width: 290px;
    width: 100%;
    height: 1px;
    background: #B5B5B5;
}

/* ========== 働く環境を知る ========== */
.index-environment-bg,
.index-environment-menu li,
.index-environment-menu .border {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.index-environment-bg.is-visible,
.index-environment-menu li.is-visible,
.index-environment-menu .border.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* ============================
メインビジュアルの帯とキャッチコピー
  以前は1枚目の画像に焼き込まれていたため、
  2枚目以降で文字が消えていた。全スライド共通の重ねものとして出す。
=============================== */
.mainImg__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(43, 149, 138, 0.55);
    -webkit-clip-path: polygon(100% 37%, 100% 100%, 22% 100%);
    clip-path: polygon(100% 37%, 100% 100%, 22% 100%);
}

.mainImg__copy {
    position: absolute;
    left: 36px;
    bottom: 116px;
    z-index: 2;
    color: #FFF;
    pointer-events: none;
}

.mainImg__en {
    font-family: Poppins, "Zen Kaku Gothic New", sans-serif;
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: 0.01em;
}

.mainImg__ja {
    margin-top: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}
