/* ===== 基本設定 ===== */
body {
    font-size: 16px;
    overflow-x: hidden; /* 横スクロールを防止 */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden; /* 横スクロールを防止 */
    width: 100%;
    max-width: 100%;
}

.mb-8 {
    margin-bottom: 32px;
}
.px-2 {
    padding-left: 8px;
    padding-right: 8px;
}

.show_adminbar {
    height: 68px;
}

.hide_adminbar {
    height: 100px;
}

/* ===== テキスト設定 ===== */
div, p, span {
    font-size: 16px;
}

p, #primary span {
    line-height: 32px;
}

/* ===== コンテナ設定 ===== */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* ===== スライドショー設定 ===== */
#mv-slideshow {
    width: 100%;
    max-width: 100%;
    height: 800px;
    overflow: hidden;
    position: relative;
}

/* Swiperのスタイル */
.swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper基本設定 */
.swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* ===== 共通パーツ ===== */
.lb-data .lb-number {
    display: none !important;
}

/* メインビジュアルテキスト配置 */
#mv-text {
    position: absolute;
    top: 435px;
    left: 105px;
    z-index: 10;
}

#mv-text1:after {
    content: "";
    display: block;
    width: 100%;
    height: 6px;
    background-color: #FF5050;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

#mv-text1 {
    text-shadow: 0 3px 3px black;
    letter-spacing: 0.15em;
}

.mv-bg {
    display: inline-block;
    background-color: #FFFFFF;
    padding: 20px 21px;
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
}

/* ===== 見出しパーツ ===== */
.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    padding-top: 16px;
}

.section-title .en {
    display: block;
    color: #FF5050;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 24px !important;
    font-weight: 500;
    letter-spacing: 0.25em;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.section-title .ja {
    display: block;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

.section-title .en::after {
    content: '';
    display: block;
    width: 23px;
    height: 2px;
    background-color: #FF5050;
    margin: 6px auto 16px;
}

/* 左揃え見出し */
.section-title.left {
    text-align: left;
}

.section-title.left::after {
    margin: 0;
}

/* 大きめ見出し */
.section-title.large .en {
    font-size: 20px;
}

.section-title.large .ja {
    font-size: 42px;
}

/* ===== 強みセクション ===== */
#strength {
    position: relative;
}

#strength .grid {
    position: relative;
}

/* 最初のストレングスセクションのdecoration_div (01) */
#strength .grid:nth-of-type(1) h3::before {
    content: "01";
    color: rgba(0, 0, 0, 0.05);
    top: -80px;
    right: 20px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

/* 2番目のストレングスセクションのdecoration_div (02) */
#strength .grid:nth-of-type(2) h3::before {
    content: "02";
    color: rgba(0, 0, 0, 0.05);
    top: -100px;
    right: 20px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

/* 3番目のストレングスセクションのdecoration_div (03) */
#strength .grid:nth-of-type(3) h3::before {
    content: "03";
    color: rgba(0, 0, 0, 0.05);
    top: -80px;
    right: 20px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

#strength .grid:nth-of-type(1) h3::before,
#strength .grid:nth-of-type(2) h3::before,
#strength .grid:nth-of-type(3) h3::before {
    position: absolute;
    font-size: 150px;
    line-height: 150px;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: bold;
}

/* ===== ビジネスセクション ===== */
.business-title {
    position: absolute;
    top: 48px;
    left: 32px;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01rem;
}

.business-link {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);    
}

.business-link-text {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.business-link-arrow {
    display: block;
    text-align: center;
    margin: 16px auto 0;
    font-size: 34px;
    color:#FF5050;
}

/* ビジネスアイテム装飾 */
.business-item:nth-of-type(1)::before {
    content: "Transport";
    position: absolute;
    font-size: 72px;
    line-height: 72px;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: bold;
    color: rgba(255,255,255, 0.5);
    top: 50px;
    right: 20px;
    pointer-events: none;
    z-index: 30;
}

.business-item:nth-of-type(2)::before {
    content: "Panel\A beating";
    white-space: pre;
    position: absolute;
    font-size: 72px;
    line-height: 72px;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: bold;
    color: rgba(255,255,255,0.5);
    top: 50px;
    right: 20px;
    pointer-events: none;
    z-index: 30;
}

/* ===== 車専門家・ラインナップ・キャッチフレーズセクション ===== */
#car_professional {
    position: relative;
}

#vehicle_lineup {
    position: relative;
}

#freelife_catchp {
    position: relative;
}

#car_professional::before {
    content: "car professional";
    opacity: 0;
    visibility: hidden;
}

#vehicle_lineup::before {
    content: "vehicle lineup";
    opacity: 0;
    visibility: hidden;
}

#freelife_catchp::before {
    content: "Logistics Trust";
    white-space: nowrap;
    position: absolute;
    font-size: 150px;
    line-height: 150px;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.05);
    bottom: -120px;
    left: -40px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

#vehicle_lineup::before,
#car_professional::before {
    white-space: nowrap;
    position: absolute;
    font-size: 150px;
    line-height: 150px;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: bold;
    color: rgba(0,0,0,0.05);
    bottom: -150px;
    left: 0;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

/* アニメーション適用時のスタイル */
.animate-pseudo::before {
    visibility: visible !important;
    animation: sideFadeIn 1.5s ease-out forwards !important;
}

/* strengthセクション用のアニメーション適用スタイル */
#strength .grid.animate-pseudo h3::before {
    visibility: visible !important;
    animation: sideFadeIn 1.5s ease-out forwards !important;
}

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

/* サイドフェードインアニメーション */
@keyframes sideFadeIn {
    0% { 
        opacity: 0;
        transform: translateX(-100px);
    }
    100% { 
        opacity: 1;
        transform: translateX(0);
    }
}

/* アニメーション用クラス */
.animate-pseudo::before {
    animation: sideFadeIn 1.5s ease-out forwards !important;
}

/* スクロールするイメージのコンテナ */
.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-scroll {
    display: flex;
    animation: marqueeScroll 20s linear infinite;
}

/* ===== 採用情報 ===== */
.recruit__head::before {
    content: "";
    position: absolute;
    width: 1.15rem;
    height: 0.125rem;
    background-color: #ffffff;
    top: 50%;
    transform: translateY(-50%);
    right: 28px;
}

.recruit__head::after {
    content: "";
    position: absolute;
    width: 0.125rem;
    height: 1.15rem;
    background-color: #ffffff;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transform-origin: center;
    right: 36px;
    transition: transform 0.3s ease;
}

.recruit__head.recruit_open::after {
    transform: translateY(-50%) rotate(90deg);
}

/* ===== 共通ボタン ===== */
.common_btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 67px;
    padding: 0 80px;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid #000;
    box-shadow: 3px 4px 0 0 #000;
}

.common_btn:visited {
    background-color: #fff;
    color: #000;
}

.common_btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    height: 2px;
    width: 50px;
    background-color: #FF5050;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
}

.common_btn:hover {
    background-color: #eee;
}

/* ===== マップ ===== */
.map {
    width: 100%;
    max-width: 100%;
    height: 450px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== フォーム要素 ===== */
.form-radio:checked::before {
    position: absolute;
    content: "";
    width: 0.375rem;
    height: 0.5625rem;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    top: 40%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 1;
}

#contact-form span:not(.wpcf7-not-valid-tip) {
    line-height: 10px;
}
/* テキスト入力フィールド */
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form input[type="number"],
#contact-form input[type="date"],
#contact-form input[type="time"],
#contact-form input[type="url"],
#contact-form input[type="search"] {
    width: 100%;
    border: 1px solid #999999;
    height: 46px;
    padding: 0 16px;
}

#contact-form textarea {
    width: 100%;
    border: 1px solid #999999;
    height: 240px;
    padding: 16px;
    line-height: 1.5em;
}