/**********/
/*   ID   */
/**********/

/* 宿泊先リストエリア */
#travel-list{
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px 50px; 
    background-color: #faf7e2;
}

/* 宿泊先リストエリア直下のpタグ */
#travel-list > p{
    margin-top: 0px;
    font-size: 15pt;
    font-weight: bold;
}

/**********/
/* クラス */
/**********/

.br-gap{
    display: block;
    height: 10px;
}

/* 宿泊先リストの行 */
.travel-row{
    display: flex;
    gap: 20px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 1);
    position: relative;
}

.travel-image{
    width: 250px;
    flex-shrink: 0;
}

.travel-row img{
    width: 240px;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
}

/* 旅行先情報エリア */
.travel-info{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: auto;
    max-width: 600px;
}

.travel-name{
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: underline;
}

.travel-info .description{
    line-height: 1.6;
    margin: 0 0 auto 0 ;
}

.travel-buttons{
    display: flex;
    gap: 20px;
    flex-direction: column;
    width: 200px;
    flex-shrink: 0;
    align-items: stretch;
}

/* 外部リンクボタン */
.travel-btn{
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: bold;
    transition: background-color 0.3s;
    white-space: nowrap;
    text-align: center;
    width: 150px;
}

/* 外部リンクボタンカーソルセット時 */
.travel-btn:hover{
    background-color: #0056b3;
}

/*** スマホ用デザイン ***/
@media screen and (max-width: 768px) {

    #travel-list > p{
        font-size: 12pt;
    }
    

/*** クラス ***/
    /* 宿泊先リストの行 */
    .travel-row{
        flex-direction: column;
        align-items: center;
    }

    .travel-row img{
        width: 100%;
        max-width: 300px;
    }

    .travel-buttons{
        flex-direction: column;
        width: 100%;
        gap: 10px;
        align-items: center;
    }

    .travel-btn{
        width: 80%;
        text-align: center;
    }

}
