/* リセットCSS */
*:where(:not(iframe, canvas, img, svg, video):not(svg *)) {
    all: unset;
    display: revert;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.3;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    color: #ffffff;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
        "メイリオ", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    background-color: #000;
    font-size: 16px;
    line-height: 46px;
    letter-spacing: 0.8px;
}

section {
    max-width: 1280px;
    margin: 30px auto;
    /* セクション自体を中央寄せ */
    text-align: center;
    /* タイトル・文章を中央寄せ */
    /* padding: 20px 60px; */
}

h1,
h2,
h3 {
    font-family: "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro",
        "メイリオ", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #ffffff;
}

body,
h1,
h2,
h3,
h4,
h5,
table,
th,
td,
ul,
li,
ol,
dl,
dt,
dd,
form,
p {
    margin: 0;
    padding: 0;
    font-weight: 500;
    border-style: none;
    list-style-type: none;
    line-height: 1.3;
}

input,
textarea,
select,
button {
    appearance: none;
    -webkit-appearance: none;
}

button {
    cursor: pointer;
}

figure {
    margin: 0;
}

img,
iframe {
    width: 100%;
    height: auto;
    vertical-align: top;
}

table {
    border-collapse: collapse;
}

a {
    text-decoration: none;
    color: var(--baseColor, #fff);
    cursor: pointer;
}

h2 {
    display: inline-block;
    padding: 0.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(transparent 60%,
            rgba(22, 181, 221, 0.7) 60%);
    font-weight: bold;
    font-size: 26px;
}

h3 {
    margin-bottom: 3px;
}

/***** タイトル *****/
.site-title img {
    width: 250px;
}

.description {
    margin-top: 30px;
}

.hotel-image img {
    width: 100%;
}

/***** ホテル一覧 *****/
.hotels {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 20px;
    justify-content: center;
}

/* 各ホテル */
.hotel {
    flex: 0 0 45%;
    box-sizing: border-box;
    text-align: left;
    min-width: 500px;
    padding: 0 1em;
    border-left: solid 5px #ddd;
}

.hotel {
    display: block;
    /* a全体をブロック化 */
    text-decoration: none;
    /* 下線を消す */
    color: inherit;
    /* 文字色を親から継承 */
    padding: 0 1em;
    border-left: solid 5px #ddd;
    box-sizing: border-box;
}

.hotel:hover {
    opacity: 0.8;
    transition : 0.5s;
}

.hotel.dummy {
    visibility: hidden;
}

.hotel-content {
    display: flex;
    align-items: flex-start;
    align-items: center;
    gap: 20px;
}

/* 画像部分 */
.hotel-image {
    flex: 0 0 150px;
    /* 固定幅 */
}

/* 詳細部分 */
.hotel-detail {
    flex: 1;
    /* 残り幅を使用 */
}

.hotel-detail .border {
    height: 0.5px;
    /* 線の高さ（0.5pxでも可） */
    background-color: gray;
    /* 線の色 */
    margin: 7px 0;
    /* 上下余白と中央揃え */

}

.hotel-detail .hotel-overview {
    font-size: 15px;
}

/* @media (max-width: 768px) { */

@media (max-width: 530px) {

    h3 {
        text-align: center;
        margin-bottom:5px;
        font-weight: 900;
    }
    .hotel {
        flex: 1 1 100%;
        min-width: auto;
        padding: none;
        border-left: none;
    }

    hotel:not(:last-child) {
    margin-bottom: 150px;
}

    .hotel-content {
        flex-direction: column;
        /* 縦並び */
        align-items: center;
        /* 横方向中央寄せ */
        gap: 10px;
    }

    .hotel-image,
    .hotel-detail {
        width: 300px;
        /* 同じ幅 */
        max-width: 90%;
        /* 画面が小さい場合ははみ出さないよう調整 */
    }
}