@charset "utf-8";
/* ============================
main
==============================*/
.section--company{
    border-bottom: 4px dotted #21562B;
}

.company-wrapper{
    margin-top: 10px;
    position: relative;
    border-bottom: 2px solid #21562B;
}

.company-wrapper::before{
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #21562B;
    position: absolute;
    left: 0;
    right: 0;
    top: 9px;
    transform: translateY(-50%);
}

.company-wrapper::after{
    content: "";
    display: block;
    width: 52px;
    height: 35px;
    background-image: url(../img/taxi_illast.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    bottom: -52px;
    right: 0;
    transform-origin: center 70%;
    animation: taxiTwist 3.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .company-wrapper::after{
        animation: none;
    }
}

.topic_com{
    text-align: center;
}

.info_list{
    display: block;
    padding: 30px 10px;
    border-radius: 20px;
    border: 2px solid #342F2F;
    background: #FFF;
    margin-bottom: 50px;
}

.info_item{
    display: flex;
    border-bottom: 1px solid rgba(52, 47, 47, 0.30);
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap; /* モバイルでも自然に改行 */
}

.item_topic{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: var(--primary-green);
    color: #FFF;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 3px;
    padding: 3px 10px;
    min-width: 90px;
    height: auto;
}

.item_txt{
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 3px;
    word-break: break-word; /* 長い文字も折り返し */
}

.telabout{
    font-size: 0.9rem;
}

.txt_map{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
    flex: 1;
    flex-wrap: wrap;
    gap: 10px;
}

.map{
    width: 25px;
    height: 25px;
    flex-shrink: 0;
}

.txt_map a{
    position: relative;
    top: 0;
    display: inline-flex;
    filter: drop-shadow(3px 4px 2px rgba(0, 0, 0, 0.35));
    transition: top 0.2s ease, filter 0.2s ease;
}

.txt_map a:hover{
    top: 4px;
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}

.mail{
    font-size: 1.2rem;
}

@media screen and (min-width: 769px){
    .company-wrapper::before{
        top: 20px;
    }

    .company-wrapper::after{
        width: 120px;
        height: 80px;
        bottom: -84px;
    }

    .info_list{
        display: flex;
        flex-direction: column; /* 幅が狭くても縦並び維持 */
        justify-content: center;
        padding: 50px;
        width: min(90%, 1000px); /* 可変幅に変更 */
        margin: 0 auto 100px;
        box-sizing: border-box;
    }

    .info_item{
        gap: clamp(20px, 4vw, 50px); /* gapを可変 */
    }

    .item_topic{
        font-size: clamp(1.4rem, 1.6vw, 1.6rem);
        width: auto; /* 固定解除 */
        min-width: 140px; /* 最低幅だけ確保 */
        height: auto;
        padding: 5px 15px;
    }

    .item_txt{
        font-size: clamp(1.4rem, 1.6vw, 1.8rem);
    }

    .telabout{
        font-size: 1.4rem;
    }

    .mail{
        font-size: clamp(1.2rem, 1.3vw, 1.6rem);
    }

    .txt_map{
        width: auto; /* 固定解除 */
        flex: 1;
    }

    .map{
        width: clamp(25px, 4vw, 45px);
        height: clamp(25px, 4vw, 45px);
    }

    .pc{
        display: none;
    }
}
/* pc 769px */

/* history */
.topic_his{
    text-align: center;
    margin-top: 50px;
}

.history_content{
    display: flex;
    margin: 0 auto 40px;
}

.history_line{
    height: 840px;
    width: 15px;
}

.history_list{
    margin-left: 20px;
}

.history_item{
    display: block;
    border-bottom: 1px solid rgba(52, 47, 47, 0.30);
    margin-top: 15px;
}

.item_date{
    font-size: 1.4rem;
    font-weight: 700;
}

.item_txt2{
    font-size: 1.2rem;
    font-weight: 700;
}

.sm_txt{
    font-size: 1.2rem;
}

p{
    display: grid;
}

@media screen and (min-width: 769px){
   .history_content{
        margin: 0;
        gap: 20px;
   } 

   .history{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
        margin-bottom: 50px;
   }

   .history_item{
        display: flex;
        align-items: center;
        gap: 20px;
        margin-top: 20px;
   }

   .item_date{
        font-size: 1.8rem;
        width: 75px;
        height: auto;
   }

   .item_txt2{
        font-size: 1.6rem;
   }

   .history_line{
        height: 740px;
        width: 15px;
   }
}
/* pc 769px */

/* safety policy */
.section--safetypolicy{
    padding-bottom: 70px;
}

.safetypolicy-wrapper{
    position: relative;
    border-bottom: 2px solid #21562B;
}

.safetypolicy-wrapper::before{
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #21562B;
    position: absolute;
    left: 0;
    right: 0;
    top: 9px;
    transform: translateY(-50%);
}

.en_topic_sp{
    color: var(--primary-green);
    font-family: Outfit;
    font-size: 1.2rem;
    font-weight: 700;
    width: fit-content;
    z-index: 20;
    padding-left: 20px;
    background-color: var(--primary-beige);
    position: relative;
    text-align: right;
    margin-left: auto
}

.topic_policy{
    text-align: center;
}

.policy_content{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.policy_item{
    text-align: center;
    background-color: var(--primary-blue);
    border-radius: 50%;
    width: 35%;
    height: auto;
    padding: 20px 10px;
}

.policy_number{
    color: #FFF;
    font-family: Outfit;
    font-size: 1.6rem;
    font-weight: 600;
    border-bottom: 1px solid #fff;
}

.policy_txt{
    color: #FFF;
    text-align: center;
    font-family: Outfit;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
}

@media screen and (min-width: 769px){
    .safetypolicy-wrapper::before{
        top: 25px;
    }

    .en_topic_sp{
        font-size: 3rem;
    }

    .policy_content{
        flex-wrap: nowrap;
        gap: 30px;
    }

    .policy_item {
        height: 170px;
        width: 170px;
        padding: 20px;
    }

    .policy_number{
        font-size: 2.8rem;
    }

    .policy_txt{
        font-size: 2rem;
        margin-top: 10px;
    }

}
/* pc 769px */

/* safety goal */
.safetygoal{
    padding: 0 15px 20px;
    align-items: center;
    border-radius: 20px;
    border: 4px solid #FA7921;
    background: #FFF;
    margin-top: 50px;
}

.topic_safety{
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px;
}

.check{
    width: 20px;
    height: 20px;
}

.goal_txt{
    display: flex;
    margin-top: 10px;
    align-items: center;
    font-family: "M PLUS 1p";
    font-size: 1.3rem;
    font-weight: 500;
    gap: 5px;
}

.goal_bus{
    text-align: center;
}

.decoration_bus{
    display: none;
}

@media screen and (min-width: 769px){
    .goal_measure{
        display: flex;
        justify-content: center;
        gap: 50px;
        margin: 50px auto;
    }

    .safetygoal{
        padding: 20px;
        margin: 0;
    }

    .topic_safety{
        font-size: 2.4rem;
        margin: 0;
    }

    .check{
        width: 30px;
        height: 30px;
    }

    .goal_txt{
        font-size: 1.6rem;
    }

    .decoration_bus{
        display: flex;
        width: 184px;
        height: auto;
        margin: 20px  auto  0;
    }

}
/* pc 769px */

/* safety measure */
.safetymeasure{
    padding: 0 15px 20px;
    align-items: center;
    border-radius: 20px;
    border: 4px solid #21562B;
    background: #FFF;
    margin: 30px auto;
}

.count{
    width: 23px;
    height: 23px;
}

.measure_content{
    display: flex;
    align-items: center;
    gap: 5px;
}

.measure_txt{
    font-size: 1.4rem;
    font-weight: 700;
}

.measure_item{
    margin-left: 50px;
    margin-bottom: 10px;
}

.measure_item_txt{
    font-size: 1.2rem;
    font-weight: 500;
    list-style-type: disc;
}

.last-content{
    margin-top: 10px;
}

@media screen and (min-width: 769px){
    .safetymeasure{
        margin: 0;
        padding: 20px;
    }

    .measure{
        margin-top: 10px;
    }

    .count{
        width: 30px;
        height: 30px;
    }

    .measure_txt{
        font-size: 1.8rem;
    }

    .measure_item_txt{
        font-size: 1.6rem;
    }

    .measure_item, .measure_txt:last-of-type{
        margin-bottom: 5px;
    } 

}
/* pc 769px */

.section--safetypolicy::after{
    content: "";
    display: block;
    width: 40px;
    height: 30px;
    background-image: url(../img/bus_illast.webp);
    background-size: cover;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 50;
    bottom: -5px;
    right: 20px;
}

@media screen and (min-width: 769px){
    .section--safetypolicy::after{
        width: 133px;
        height: 100px;
        bottom: -10px;
        right: 50px;
    }

    .safetypolicy-wrapper{
        margin-bottom: 100px;
    }

}
/* pc 769px */
