/* ========================================================================== 
   room-info.css - SP & PC ハイブリッド・高級仕様
   ========================================================================== */

.room-info-section {
    padding: 80px 20px;
    background-color: #fff;
}

.room-info-main-title {
    font-size: 24px;
    font-weight: 700;
    color: #0054a6;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.room-info-main-title span {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #999;
}

/* コンテナ全体の枠線 */
.room-info-container {
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid #0054a6; /* 上部のラインだけ太めにして締める */
}

/* 各ブロックの並び（PCベース） */
.room-info-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

/* 左側：カテゴリー見出し */
.info-category {
    width: 220px;
    padding: 40px 30px;
    background-color: #f8fafd; /* 非常に薄いブルー */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.info-category .jp {
    font-size: 16px;
    font-weight: bold;
    color: #0054a6;
    margin-bottom: 4px;
}

.info-category .en {
    font-size: 11px;
    text-transform: uppercase;
    color: #aaa;
    letter-spacing: 0.1em;
}

/* 右側：内容エリア */
.info-content-body {
    flex: 1;
    padding: 10px 40px;
}

.info-content-body dl {
    display: flex;
    padding: 25px 0;
    margin: 0;
    border-bottom: 1px dashed #eee;
}

.info-content-body dl:last-child {
    border-bottom: none;
}

.info-content-body dt {
    width: 180px;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    flex-shrink: 0;
}

.info-content-body dd {
    flex: 1;
    margin: 0;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* 単語のレイアウト（タグ風） */
.tags-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 0 15px; /* 横の隙間 */
}

.tags-layout span {
    display: inline-block;
    position: relative;
}

/* 単語の間にドットを入れる */
.tags-layout span:not(:last-child)::after {
    content: "/";
    margin-left: 15px;
    color: #ccc;
}

/* --- 【最重要】レスポンシブ：スマホ (767px以下) --- */
@media (max-width: 767px) {
    .room-info-section {
        padding: 50px 15px;
    }

    .room-info-row {
        flex-direction: column; /* 縦並びに */
        border-bottom: none;
        margin-bottom: 30px;
    }

    /* カテゴリー部分を「帯」にする */
    .info-category {
        width: 100%;
        padding: 12px 15px;
        background-color: #0054a6; /* 濃い青に反転 */
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }

    .info-category .jp {
        color: #fff;
        font-size: 14px;
    }

    .info-category .en {
        color: rgba(255,255,255,0.6);
        font-size: 10px;
    }

    /* 内容エリア */
    .info-content-body {
        padding: 0;
        border: 1px solid #eee;
        border-top: none;
    }

    .info-content-body dl {
        flex-direction: column; /* 見出しと内容を縦に */
        padding: 15px;
    }

    .info-content-body dt {
        width: 100%;
        font-size: 13px;
        color: #0054a6; /* スマホでは項目名を青くして目立たせる */
        margin-bottom: 8px;
        padding-left: 12px;
        position: relative;
    }

    /* 項目名の頭に小さなアクセント */
    .info-content-body dt::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 4px;
        background-color: #0054a6;
        border-radius: 50%;
    }

    .info-content-body dd {
        font-size: 14px;
        padding-left: 12px;
    }

    /* スマホでのタグ風表示の調整 */
    .tags-layout {
        gap: 5px 10px;
    }

    .tags-layout span:not(:last-child)::after {
        content: "|"; /* スマホでは細い棒にして省スペース化 */
        margin-left: 10px;
        font-size: 12px;
    }
}