.floor-tabs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.floor-tabs {
    display: flex;
    gap: 1em;
    list-style: none;
    margin-bottom: 1em;
    padding: 0;
    border-bottom: 2px solid #ddd;
}

.floor-tab {
    cursor: pointer;
    padding: 0.5em 1em;
    border-radius: 6px 6px 0 0;
    background: #f8f8f8;
    font-weight: 600;
    transition: background 0.3s;
}

.floor-tab.active {
    background: #fff;
    border: 2px solid #ddd;
    border-bottom: none;
}

.floor-tab-content {
    display: none;
    background: #fff;
    border: 2px solid #ddd;
    border-top: none;
    padding: 1em;
    border-radius: 0 0 6px 6px;
}

.floor-tab-content.active {
    display: block;
}

.floor-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    align-items: flex-start;
}

.floor-image {
    flex: 0 0 500px;
    /* PC表示時の幅 */
    max-width: 100%;
    /* 親幅に収まる */
    border-radius: 6px;
    cursor: zoom-in;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floor-image img {
    max-width: 100%;
    /* 横幅は親に合わせる */
    width: auto;
    /* 縦横比維持 */
    height: auto;
    /* 縦横比維持 */
    display: block;
}



.floor-image:hover img {
    transform: scale(1.05);
}


.floor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.floor-note {
    width: 50%;
    margin: 1.5em 0;
    padding: 1.2em 1.5em;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: #fff;
}

.floor-note-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color_main, #00a0e9);
    margin-bottom: 0.8em;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.4em;
}

.floor-note-content {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.7;
}

.floor-note p:last-child {
    margin-bottom: 0;
}





/* アイコン群 */
.floor-icons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* 常に6列 */
    gap: 0.5em;
    justify-items: start;
    /* 左揃え */
    margin-top: 1.8em;
}

.floor-icon {
    width: 100%;
    object-fit: contain;
}


/* レスポンシブ: 768px以下 */
@media screen and (max-width: 768px) {
    .floor-content {
        flex-direction: column;
    }

    .floor-image,
    .floor-info {
        flex: 1 1 100%;
    }

    .floor-note {
        width: 100%;
    }

    .floor-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}