/* =========================================================
   Showroom
   ========================================================= */

.sg-showroom {
    padding-bottom: 50px;
}

/* 2カラム */
.sg-showroom .sgsr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
    align-items: start;
}

/* カード */
.sg-showroom .sgsr-card {
    background: transparent;
}

/* 写真 */
.sg-showroom .sgsr-photo {
    position: relative;
    overflow: hidden;
    background: #fff;
    margin: 0 0 35px;
}

/* 上に店舗名 */
.sg-showroom .sgsr-name {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: clamp(20px, 2.2vw, 34px);
    letter-spacing: .22em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);    
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

/* 下の情報（罫線） */
.sg-showroom .sgsr-info {
    border-top: 1px solid rgba(0, 0, 0, .35);
    margin-top: 0;
}

.sg-showroom .sgsr-row {
    position: relative;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    column-gap: 20px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .35);
}

.sg-showroom .sgsr-row--map {
    padding-right: 100px;
}

.sg-showroom .sgsr-row--map .sgsr-map {
    position: absolute;
    display: flex;
    right: 0;
    top: 50%;
    transform: translateY(-50%);    
    justify-content: flex-end;
}

.sg-showroom .sgsr-th {
    position: relative;
    align-self: stretch;
    text-align: left;
    letter-spacing: .05em;
    padding-left: 10px;
}

/* 行の高さに合わせて縦線を表示 */
.sg-showroom .sgsr-th::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    right: calc(-20px / 2);
    background: rgba(0, 0, 0, .35);
}

.sg-showroom .sgsr-td {
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.7;
}

.sg-showroom .sgsr-td p {
    margin: 0;
}

/* MAPボタン */
.sg-showroom .sgsr-mapbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 34px;
    border-radius: 2px;
    background: #fff;
    color: #000;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    letter-spacing: .08em;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, .35);    
    padding: 0 14px;
}

.sg-showroom .sgsr-mapbtn:hover,
.sg-showroom .sgsr-mapbtn:focus {
    opacity: 1;
    box-shadow: 0 0 5px rgba(0, 0, 0, .18);
}

/* -------------------------
   Responsive
------------------------- */
@media (max-width: 900px) {
    .sg-showroom .sgsr-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sg-showroom .sgsr-row {
        grid-template-columns: 80px minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .sg-showroom {
        padding-bottom: 44px;
    }

    /* モバイルはMAPを下に逃がして読みやすく */
    .sg-showroom .sgsr-row {
        grid-template-columns: 80px 1fr;
        grid-template-areas:
            "th td"
            "map map";
        row-gap: 10px;
    }

    .sg-showroom .sgsr-th {
        grid-area: th;
    }

    .sg-showroom .sgsr-td {
        grid-area: td;
    }

    .sg-showroom .sgsr-map {
        grid-area: map;
        justify-content: flex-end;
    }

    .sg-showroom .sgsr-map[aria-hidden="true"] {
        display: none;
    }

    .sg-showroom .sgsr-name {
        top: 18px;
        letter-spacing: .18em;
    }
}