@charset "utf-8";
/* ============================
main
==============================*/
/* ページ読み込み前は透明に */
body {
  opacity: 0;
  transition: opacity 1.4s ease-in;
}

/* 読み込み後にクラスが付いてふわっと表示 */
body.loaded {
  opacity: 1;
}

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

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

.section--taxi::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;
}

.taxi_topic{
    text-align: center;
}

.service_intro{
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 20px;
}

.nav-links{
    margin-top: 30px;
    text-align: center;
    font-size: 1.2rem;
}

.links-item{
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 500;
    padding-bottom: 3px;
}

.links-item::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.links-item:hover::after{
    transform: scaleX(1);
}

.content_box{
    margin-bottom: 30px;
}

.call-box{
    padding: 50px 30px;
    border-radius: 120px;
    border: 4px solid #3096C9;
    background: #FFF;
    margin-top: 30px;
    text-align: center;
}

.callbox_topic{
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

.callbox_line{
    width: 70%;
    display: flex;
    margin: 0 auto;
}

.callbox_number{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.callbox_phone{
    width: 25px;
    height: 25px;
}

.callbox_phonenumber{
    font-size: 2.6rem;
    font-weight: 900;
}

.callbox_opentime{
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 5px;
}

.callbox_app_go{
    margin-top: 30px;
    background: var(--primary-blue);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.callbox_go_img{
    width: 70px;
    height: 70px;
    border: 0.7px solid var(--primary-black);
    border-radius: 10px;
}

.callbox_go_txt1{
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFF;
}

.callbox_go_txt2{
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFF;
}

.callbox_go_app_items{
    display: flex;
    gap: 5px;
    margin-top: 5px;
    align-items: center;
}

.callbox_go_google{
    width: 80px;
    height: auto;
}

.callbox_go_apple{
    width: 66px;
    height: auto;
}

@media screen and (min-width: 769px){
    .section {
        padding: 80px 70px;
    }

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

    .taxi-wrapper::before{
        top: 20px;
    }

    .taxi-wrapper::after{
        width: 150px;
        height: 113px;
        bottom: -130px;
    }
    
    .section--taxi::after{
        width: 133px;
        height: 100px;
        bottom: -10px;
        right: 50px;
    }
}
/* pc 769px */

.service_box{
    display: block;
    padding: 20px;
    border-radius: 20px;
    border: 3px solid #3096C9;
    background: #FFF;
    margin-top: 30px;
}

.service_title{
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 2px solid var(--primary-blue);
}

.service_icon{
    width: 50px;
    height: auto;
}

.title_txt{
    font-size: 1.6rem;
    font-weight: 700;
}

.service_txt2{
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 15px;
}

.content_list{
    margin: 15px 0 15px 10px ;
}

.service_point{
    width: 20px;
}

.list_txt{
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 500;
}

.service_detail{
    display: flex;
    gap: 20px;
}

.service_detail_txt2{
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.service_detail_txt2:hover{
    color: var(--primary-blue);
}

.service_detail2{
    display: flex;
    gap: 13px;
}

.service_imgbox{
    margin-top: 20px;
}

.service_imgbox img{
  width: 100%;
  height: 280px;
  border-radius: 10px;
  object-fit: cover;
}

@media screen and (min-width: 769px){
    .service_box {
        display: flex;
        flex-direction: row;
    }

    .service_box.reverse {
        flex-direction: row-reverse;
    }

    .service_intro{
        font-size: 1.8rem;
        font-weight: 500;
        text-align: center;
        margin-top: 50px;
    }

    .nav-links{
        margin: 50px auto;
        font-size: 2rem;
    }
    
    .links-item{
        font-size: 2rem;
        margin: 0 20px;
    }

    .call-box{
        border-radius: 220px;
        border: 6px solid #3096C9;
    }

    .callbox_topic{
        font-size: 3rem;
        font-weight: 700;
    }

    .callbox_line{
        width: 25%;
    }

    .callbox_item{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 70px;
    }

    .callbox_phone{
        width: 45px;
        height: 45px;
    }

    .callbox_phonenumber{
        font-size: 5rem;
    }

    .callbox_opentime{
        font-size: 2rem;
    }

    .callbox_app_go{
        gap: 30px;
    }

    .callbox_go_img{
        width: 130px;
        height: 130px;
        border: 1px solid var(--primary-black);
        border-radius: 20px;
    }

    .callbox_go_txt1{
        font-size: 2rem;
    }

    .callbox_go_txt2{
        font-size: 2.6rem;
    }

    .callbox_go_google {
        width: 140px;
    }

    .callbox_go_apple{
        width: 118px;
    }

    .service_box {
        padding: 3vw 7vw;
        margin-top: 50px;
        justify-content: space-between;
        gap: 20px;
    }

    .service_imgbox img{
        width: 390px;
        height: 390px;
        border-radius: 20px;
    }

    .service_icon{
        width: 80px;
    }

    .title_txt{
        font-size: 2.6rem;
    }
    
    .service_title{
        gap: 15px;
        border-bottom: 5px solid var(--primary-blue);
        width: 45vw;
    }

    .service_txt2{
        font-size: 2.2rem;
        margin-top: 35px;
        font-weight: 700;
    }

    .content_list {
        margin: 30px 0 30px 20px;
    }

    .service_point{
        width: 30px;
    }

    .list_txt{
        font-size: 2rem;
        font-weight: 700;
        gap: 5px;
        margin-top: 10px;
    }

    .service_detail_txt2{
        font-size: 1.8rem;
    }

    .service_detail, .service_detail2{
        gap: 50px;
    }

    .content_box{
        margin-bottom: 50px;
    }

}
/* pc 769px */

/*=========================================
#modal
=========================================*/
.callbox_detail{
    text-align: start;
}

.callmodal{
    margin: 10px 20px 0;
}

/* ボタン */
.open-btn {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 5px;
}

.open-btn:hover {
    color: var(--primary-blue);
}

.modal.closing {
    display: flex;
    opacity: 0;
    pointer-events: none;
}

.modal.closing .modal-content {
    opacity: 0;
    transform: scale(0.8);
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* モーダル背景 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(79, 79, 79, 0.5);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* モーダル表示状態 */
.modal.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

/* モーダルの中身*/
.modal-content {
    background: #fff;
    padding: 25px 15px;
    border-radius: 10px;
    width: 90vw;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.modal-title{
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1;
}

.modal-title span{
    font-size: 1rem;
}

.scroll-wrapper {
    overflow-x: auto;   /* 横スクロール有効化 */
    -webkit-overflow-scrolling: touch; /* スマホでスムーズスクロール */
}

.modal-txt{
    font-size: 1rem;
    font-weight: 500;
    margin-top: 10px;
    text-align: justify;
}

.taxi_table{
    display: block;
    max-width: none;
    height: 280px;
}

.care_table{
    display: block;
    max-width: none;
    height: 190px;
}

.eat_table{
    width: 200px;
}

.detail-btn{
    margin-left: 10px;
}

.taximodal{
    margin-bottom: 5px;
}

.howto{
    padding: 10px;
    border-radius: 20px;
    border: 3px solid #3096C9;
    background: #E6F7FF;
}

.howto-item{
    display: flex;
    align-items: center;
    margin-top: 10px;
    gap: 5px;
}

.howto > .howto-content:first-child .howto-item {
  margin-top: 0;
}

.howto-no{
    width: 20px;
    height: 20px;
}

.howto-txt{
    font-size: 1.4rem;
    font-weight: 500;
    text-align: left;
}

.howto-txt2{
    text-align: left;
    font-size: 1.2rem;
    font-weight: 500;
    margin-left: 25px;
}

.howto-txt3{
    font-size: 1rem;
    text-align: left;
    margin-left: 25px;
}

.howto-fee{
    margin: 0 auto;
    width: fit-content;   /* コンテンツの幅に合わせる */
    text-align: left;
    padding: 10px;
    border-radius: 20px;
    border: 3px solid #3096C9;
    background: #E6F7FF;
}

/* アニメーション*/
.modal.active .modal-content {
    animation: fadeInScale 0.4s ease forwards;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media screen and (min-width: 769px){
    .open-btn {
        font-size: 1.8rem;
    }

    .callmodal{
        display: flex;
        justify-content: center;
        margin-top: 30px;
        gap: 50px;
    }

    .modal-content {
        width: auto;     /* 内容に合わせる */
        max-width: 90%;  /* 画面からはみ出さないように保険 */
    }

    .taximodal{
        display: flex;
        gap: 50px;
    }

    .modal-content{
        padding: 40px 30px;
    }

    .close-btn {
        font-size: 4rem;
        top: 2px;
    }

    .modal-title{
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .modal-txt{
        font-size: 1.4rem;
        margin-top: 20px;
    }

    .modal-title span{
        font-size: 1.4rem;
    }

    .pay_table{
        height: 180px;
    }

    .center{
        text-align: center;
    }

    .taxi_table{
        height: 400px;
    }

    .care_table{
        height: 300px;
    }

    .airplane_table{
        height: 130px;
    }

    .howto{
        padding: 30px;
        width: 700px;
    }

    .howto-fee{
        padding: 30px;
    }

    .howto-no{
        width: 35px;
        height: 35px;
    }

    .howto-txt{
        font-size: 2rem;
    }

    .howto-txt2{
        font-size: 1.6rem;
        margin-left: 40px;
    }

    .howto-txt3{
        font-size: 1.4rem;
        margin-left: 40px;
    }

    .eat_table{
        width: 320px;
    }

    .eat-txt{
        width: 600px;
    }

}
/* pc 769px */
