@charset "UTF-8";
/* =====================================================================
   tf005_truck2 固有 CSS

   shared/tf005/css/base.css との差分だけを置く。base.css より後に読み込む。
   base.css は tf005 系 LP の共通土台なので、このLPの都合で書き換えないこと。

   ヘッダー: templates/Header.php（ロゴ・電話・LINE・フォームCTA）
             新ヘッダー (.lp-header-v2) は SP では非表示。旧ヘッダー用CSSは読み込まない。
   相対パス ../img/ はこの LP の img/ を指す。
   ===================================================================== */

/* =====================================
   全体設定
   ===================================== */

body {
    font-family: Hiragino Kaku Gothic Pro, ヒラギノ角ゴ ProN W3, Hiragino Kaku Gothic ProN, メイリオ, sans-serif;
}

/* =====================================
   header
   ===================================== */
/* =====================================
   main
   ===================================== */
.btnArea {
    background: #ffe6d8;
}

.example {
    padding: 80px 40px 0px;
}

.example>div {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto 60px;
}

.example div h3 {
    font-size: 3.2rem;
    font-weight: bold;
    color: #fff;
    width: 100%;
    height: 70px;
    background: linear-gradient(to right, #df3e25, #df9725);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.voice dl div {
    box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.1);
}

.reason>p {
    padding: 0 40px;
}

.reason>p img {
    margin: 15px auto 0;
    width: 674px;
}

.service dl div {
    box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.1);
}

.flow {
    padding: 100px 40px;
}

.flow dl>div {
    width: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 20px 0 60px;
    margin-bottom: 108px;
    position: relative;
}

.flow dl>div::before {
    content: "";
    background: url("/lp/add/shared/tf005/img/arrow01.png");
    background-size: contain;
    width: 112px;
    height: 111px;
    position: absolute;
    bottom: -88px;
    left: 50%;
    transform: translateX(-50%);
}

.flow dl>div:last-child {
    margin-bottom: 0;
}

.flow dl>div:last-child::before {
    display: none;
}

.contact {
    padding: 42px 40px 45px;
    margin-top: -20px;
    position: relative;
}

.contact .form dl>div {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.contact button {
    margin: 0px auto 0;
}

/* =====================================
   footer
   ===================================== */
.pagetop {
    opacity: 0 !important;
}

.pagetop.on {
    opacity: 1 !important;
}

@media screen and (max-width:768px) {
    body {
        font-size: 3vw;
    }

    /* =====================================
       header
       ===================================== */
    /* =====================================
       main
       ===================================== */
    .example {
        padding: 12.4vw 0 12.67vw;
    }

    .example>div {
        margin: 0 auto 8vw;
    }

    .reason>p {
        padding: 0;
    }

    .reason>p img {
        margin: -1.733vw auto 0;
        width: 96.8vw;
    }

    .flow {
        padding: 16vw 0;
    }

    .flow dl>div {
        border-radius: 2.67vw;
        padding: 3.33vw 0 8vw;
        margin-bottom: 17.33vw;
    }

    .flow dl>div::before {
        width: 18.4vw;
        height: 18.4vw;
        bottom: -14.67vw;
    }

    .contact {
        padding: 6vw 0 6vw;
    }

    .contact .form dl>div {
        margin-bottom: 3vw;
        flex-wrap: wrap;
    }

    .contact .form dl div dt {
        font-size: 3vw;
    }

    .contact .form dl div dt span {
        font-size: 3vw;
        height: 4vw;
    }

    .contact .form dl div dd {
        font-size: 3vw;
    }

    .contact .select {
        height: 9vw;
    }

    .contact select {
        font-size: 3vw;
    }

    .contact input[type="text"] {
        height: 9vw;
        font-size: 3vw;
    }

    /* =====================================
       footer
       ===================================== */
    .pagetop {
        width: 10vw;
    }

    /* SP版: トラックリストを2列×3行に変更 (Mobile: Change truck list to 2 columns × 3 rows) */
    .truck-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/*Accordian*/
/* Base */
.toggle:checked+.Label+.content {
    height: auto;
    padding: 10px;
}

.toggle:checked+.Label::before {
    transform: rotate(-45deg) !important;
}

/* Flexbox for layout */
/* General styling for the gallery */
.truck-gallery {
    text-align: center !important;
}

.gallery-title {
    font-size: 1.5em !important;
    margin-bottom: 20px !important;
}

.truck-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    /* Three equally spaced columns */
    gap: 10px !important;
    /* Reduce space between rows and columns */
    list-style-type: none !important;
    padding: 0 !important;
    max-width: 900px;
    /* Limit the total width of the grid */
    margin: 0 auto;
}

.truck-item {
    display: flex !important;
    justify-content: center !important;
}

.truck-image {
    max-width: 100% !important;
    /* Ensure images fit within their container */
    width: auto !important;
    /* Prevent stretching */
    height: auto !important;
}

/* =====================================
   index.php から移動
   ===================================== */
/* SP版: トラックリストを2列×3行に変更 */

@media only screen and (max-width: 768px) {
    ul.truck-list {
        grid-template-columns: repeat(2, 1fr) !important;
        display: grid !important;
    }
}

/* form CTAディスクリプション */
.form-cv-desc {
    text-align: center;
    margin: 2vw 0 -2vw;
    line-height: 1;
}

.form-cv-desc span {
    position: relative;
    display: inline-block;
    color: #000;
    font-size: 2rem;
    font-weight: bold;
    padding: 2rem 3rem;
}

.form-cv-desc span em {
    color: #df3e25;
    font-style: normal;
    font-size: 1.35em;
    margin: 0 2px;
}

.form-cv-desc span::before,
.form-cv-desc span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 3px;
    height: 1.5em;
    background: #000;
}

.form-cv-desc span::before {
    left: 8px;
    transform: translateY(-50%) rotate(-25deg);
    box-shadow: 8px 0 0 #000;
}

.form-cv-desc span::after {
    right: 8px;
    transform: translateY(-50%) rotate(25deg);
    box-shadow: -8px 0 0 #000;
}

@media only screen and (max-width: 768px) {
    .form-cv-desc span {
        font-size: 4vw;
        padding: 1rem 3.5rem 0;
        margin: 3vw 0 0;
    }
}
