/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }


div#copyright {
    display: none;
}

div#footerInfo {
    display: none;
}

div#connectHotel {
    display: none;
}

div#keyVisual {
    display: none;
}

h1{
    line-height: 0;
}

body{
    margin: 0;
}

/* 画像の下にできるわずかな隙間（インライン要素のベースラインの問題）を消す */
.pc-only img,
.content td img,
.content td a img,
.hotel_list img {
    vertical-align: bottom;
}

/* 親要素のスペースのレンダリングを制御する */
.pc-only td {
    font-size: 0;
    line-height: 0;
}


/* --- PCレイアウト（固定幅の再現）を優先した設定 --- */

/* 旧式のpaddingをリセット */
.hotel_list, .address, .honbun {
    padding-left: 0;
}

/* ホテルリストの基本的なスタイル */
.hotel_list {
    font-size: 13px;
    padding: 5px 0 2px 0;
}
.hotel_list a {
    display: inline-flex;
    align-items: center;
}
.address {
    font-size: 11px;
    color: #515151;
    line-height: 130%;
    padding-left: 17px;
    margin-bottom: 5px;
}
.honbun {
    font-size: 10px;
    color: #ff0000;
    line-height: 130%;
    padding: 0 0 10px 0;
    white-space: pre-wrap;
}
.hotel_section_title img {
    display: block;
    margin-top: 20px;
}


/* メインのコンテナ（左側の固定画像とメインコンテンツをFlexboxで配置） */
#contentWrapper {
    display: flex;
    /* 草の画像とホテルリスト全体の間隔を20pxに維持 */
    gap: 20px; 
    
    /* PC表示での位置合わせのため、マージン・パディングをゼロに */
    padding: 0; 
    margin: 0 auto; 
    align-items: flex-start;
    /* PCでは折り返さないことを優先 */
    flex-wrap: nowrap; 
}

/* 左側の固定画像エリア (草の背景) */
#sideImage {
    width: 182px;
    flex-shrink: 0;
    position: relative;
    /* 位置合わせ: マージン・パディングをゼロに */
    margin: 0;
    padding: 0;
}

/* メインコンテンツエリア（リスト全体） */
#mainArea {
    /* ここに上部のパディングを設定し、草の画像の横のスペースを作る */
    padding-top: 20px; 
    
    /* 2つのリストとマージンを合わせた合計幅（例: 360+360+30=750px）を担保 */
    min-width: 750px; 
    flex-grow: 1; 
}

/* ホテルリストの左右２列部分 */
.hotel_columns {
    display: flex;
    /* gapはマージンで制御するためゼロに維持 */
    gap: 0; 
    margin-bottom: 20px;
    /* 左右リストの合計幅を明示 */
    width: 750px; 
}

/* 各リストの列 */
.hotel_list_column {
    /* ★PCレイアウトの鍵: 拡大も縮小もさせず、元の固定幅360pxを強制する */
    flex: 0 0 360px; 
}

/* ★★★ 調整対象: 左側のリストの右側だけにマージンを追加 ★★★ */
.hotel_columns .hotel_list_column:first-child {
    /* この値を調整して、左右のリスト間の隙間を広げてください (例: 30px, 40pxなど) */
    margin-right: 300px; 
}

/* 個々のホテル情報 */
.hotel_entry {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.hotel_entry:last-child {
    border-bottom: none;
}

.hotel_details {
    width: 40%;
    flex-shrink: 0;
}

.hotel_campaign {
    width: 60%; 
    flex-grow: 1;
}

/* --- レスポンシブ (スマホ表示) の挙動 --- */
/* (PC優先のため、シンプルな縦並びになるよう設定を維持) */
@media (max-width: 767px) {
    #contentWrapper {
        flex-wrap: wrap; 
        padding: 0;
        margin: 0 auto;
    }
    
    /* 左側のリストの右マージンをスマホではリセット */
    .hotel_columns .hotel_list_column:first-child {
        margin-right: 0; 
    }
    
    #sideImage {
        width: 100%;
        order: -1; 
        text-align: center;
        margin: 0 auto; 
    }
    #sideImage img {
        width: 100%;
        height: auto;
    }
    
    #mainArea {
        padding-top: 0; 
        min-width: auto;
    }
    
    .hotel_columns {
        flex-direction: column;
        width: 100%;
    }

    .hotel_list_column {
        flex: 1 1 auto;
        width: 100%;
    }
    
    .hotel_entry {
        flex-direction: column;
    }
    
    .hotel_details,
    .hotel_campaign {
        width: 100%;
    }
}