@charset "utf-8";
/* ============================
main
==============================*/
.taxitour-wrapper{
    margin-top: 10px;
    position: relative;
    border-bottom: 2px solid #21562B;
    text-align: center;
}

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

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

.taxitour_topic{
    color: var(--primary-black);
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 20px;
}

.mc_line{
    width: 220px;
    height: auto;
}

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

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

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

    .taxitour-wrapper::after{
        width: 150px;
        height: 113px;
        bottom: -130px;
    }
    
    .section--taxitour::after{
        width: 133px;
        height: 100px;
        bottom: -10px;
        right: 50px;
    }

    .taxitour_topic{
        font-size: 2.6rem;
    }

    .mc_line{
        width: 350px;
        margin-bottom: 40px;
    }
}
/* pc 769px */

.item_box{
    display: block;
    padding: 20px;
    border-radius: 20px;
    border: 3px solid #FA7921;
    background: #FFF;
    margin-top: 20px;
}

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

.detail-box1 img{
    border-radius: 10px;
    margin-top: 10px;
    object-fit: cover;
    height: 210px;
    width: 100%;
}

.box_txt{
    margin: 10px 0;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #FA7921;
    background: #FFF2E9;
    padding: 5px;
}

.txt{
    font-size: 1.2rem;
    font-weight: 500;
}

.link{
    font-size: 1em;
    font-weight: 500;
    transition: color 0.2s ease;
}

.link:hover{
    color: var(--primary-orange);
}

.item_detail{
    margin-top: 15px;
}

.course_detail{
    font-size: 1.4rem;
    font-weight: 500;
    text-align: start;
}

.spot_name{
    text-align: start;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 5px;
    position: relative;
    padding-left: 25px; /* アイコン分の余白 */
}

.spot_name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;   /* 画像サイズ */
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 集合（青丸） */
.spot_name.start::before {
  background-image: url("../img/course_start.webp");
}

/* 解散（青丸） */
.spot_name.end::before {
  background-image: url("../img/course_start.webp");
}

/* 中間（オレンジ丸＋縦ライン） */
.spot_name:not(.start):not(.end)::before {
  background-image: url("../img/course_point.webp");
}

.item_txt{
    margin-top: 10px;
    text-align: left;
}

.course_recommend{
    color: #FA7921;
    font-size: 1.4rem;
    font-weight: 700;
}

.rec_txt{
    font-size: 1.2rem;
    font-weight: 500;
}

.information{
    margin: 30px 0;
}

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

.info-item{
    margin: 20px auto;
    width: fit-content;   /* コンテンツの幅に合わせる */
    text-align: left;
}

.info-txt{
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 10px;
}

.info-txt img{
    width: 18px;
    height: 18px;
}

.note{
    font-size: 1rem;
    font-weight: 500;
    margin-left: 20px;
}

@media screen and (min-width: 769px){
    .content_box{
        margin-top: 30px;
    }

    .item_box{
        padding: 40px;
        margin-top: 20px;
    }

    .item_title{
        font-size: 2.2rem;
        text-align: left;
    }

    .item_content{
        display: flex;
        gap: 70px;
        margin-top: 10px;
    }

    .detail-box1 img{
        width: 950px;
        height: 300px;
    }
    
    .detail-box1 img.tour_11_img{
        width: 424px;
        height: 307px;
    }

    .box_txt{
        margin: 20px 0;
        border: 2px solid #FA7921;
    }

    .txt{
        font-size: 1.4rem;
    }

    .link{
        font-size: 1.4em;
    }

    .detail-box2 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .item_detail{
        margin-top: 0;
    }

    .course_detail{
        font-size: 1.8rem;
    }

    .spot_name{
        font-size: 1.6rem;
        margin-top: 10px;
        padding-left: 30px; /* アイコン分の余白 */
    }

    .spot_name::before{
        width: 25px;
        height: 25px;
    }

    .course_recommend{
        font-size: 1.8rem;
    }

    .rec_txt{
        font-size: 1.4rem;
        margin-top: 5px;
    }

    .information{
        margin: 70px 0;
    }

    .info_item{
        display: flex;
        justify-content: space-evenly;
    }

    .information-title{
        font-size: 2.2rem;
    }

    .info-item{
        margin: 20px 0 0;
    }

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

    .info-txt img{
        width: 25px;
        height: 25px;
    }

    .note{
        font-size: 1.2rem;
        margin-left: 30px;
    }
}
/* pc 769px */

/* btn */
.taxitour_btn{
    display: flex;
    flex-direction: column;   /* 縦に並べる */
    align-items: center;      /* 横方向は中央 */
    justify-content: center;  /* 縦方向中央 */
    padding: 20px 50px;
    color: #FFF;
    font-size: 1.6rem;
    font-weight: 500;
    border-radius: 20px;
    background: var(--primary-blue);
    border: 2px solid #FFF;
    box-shadow: 3px 5px 2px 0px rgba(0, 0, 0, 0.40);
    position: relative;
    top: 0;
    text-align: center;
    margin-top: 20px;
    height: 73px;
}

.taxitour_btn:hover{
    top: 4px;
    box-shadow: 0 0 rgba(0, 0, 0, 0.40);
}

.taxitour_txtitem{
    display: flex;
    margin-top: 15px;
    justify-content: space-evenly;
    margin-bottom: 40px;
}

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

.taxitour_eimg{
    width: 15px;
    height: 15px;
}

.taxitour_etxt{
    font-size: 1.2rem;
    font-weight: 500;
}

@media screen and (min-width: 769px){
    .taxitour_btn{
        padding: 20px 50px;
        font-size: 2.4rem;
        font-weight: 700;
        border: 2px solid #FFF;
        height: 130px;
    }

    .taxitour_txtitem{
        justify-content: center;
        gap: 70px;
        margin: 20px 20px 0;
    }

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

    .taxitour_etxt{
        font-size: 1.6rem;
    }

    .info_apply{
        margin: auto 0;
    }
}
/* pc 769px */
/*=========================================
#modal
=========================================*/
/* ボタン */
.open-btn {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
}

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

.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.active .modal-content {
    animation: fadeInScale 0.4s ease forwards;
}

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

.modalexample{
    border-radius: 20px;
    border: 3px solid #FA7921;
    background: #FFF2E9;
    padding: 10px;
    text-align: left;
}

.modalexample-title, .modalexample-sub{
    font-size: 1.2rem;
    font-weight: 500;
}

.modalexample-sub{
    margin-top: 10px;
}

.modalexample-txt{
    font-size: 1rem;
    font-weight: 500;
}

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

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

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

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

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

    .modalexample{
        padding: 20px;
    }

    .modalexample-title, .modalexample-sub{
        font-size: 1.8rem;
    }

    .modalexample-txt{
        font-size: 1.6rem;
    }

}
/* pc 769px */
