.content-wrapper {
    background: url("../../images/pc/floorguide_1f_pc/wave.svg") no-repeat center top;
}

.close-btn {
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    float: right;
    color: #e2e2e2;
}

.menu-content {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
}

.menu-content a {
    padding: 10px 0;
    text-decoration: none;
    color: #747474;
    font-size: 12px;
    font-weight: bold;
}

.card-large {
    background: white;
    margin: 10px 0px;
    overflow: hidden;
    text-align: center;
    border-radius: 20px;
}

.card-large img {
    width: 80%;
    background-color: #f0f0f0;
}

.card-container {
    text-align: center;
    padding: 8px 18px;
}

.card-content {
    font-size: 12px;
    padding-top: 65px;
    display: flex;
    justify-content: space-between;
}

.card-content-left {
    width: 80%;
}

.card-floor-content {
    margin-bottom: 20px;
}

.card-content p {
    margin: 15px 0;
    text-align: left;
}

.floor-div {
    display: flex;
    justify-content: space-between;
    margin: 60px 0 10px 0;
}

.card-floor-content {
    float: right;
}

.card-floor-content a {
    padding: 10px 60px;
    background: #60B7FA 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #1b171729;
    border-radius: 25px;
    opacity: 1;
    text-align: center;
    width: 5%;
    display: flex;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.card-floor-content a {
    text-decoration: none;
}

.firstfloor-text {
    font-size: 20px;
    padding: 10px 200px;
    background: #D8ECFA 0% 0% no-repeat padding-box;
    opacity: 1;
    text-align: center;
    margin-left: 30%;
    color: #60B7FA;
    font-weight: bold;
}

.text-div {
    max-width: 85%;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 20px auto;
    gap: 32px;
    justify-content: center;
}

.text-div div {
    width: 45%;
    height: auto;
    border: 1px solid #60B7FA;
    opacity: 1;
    padding: 10px 0;
    font-size: 20px !important;
    letter-spacing: var(--unnamed-character-spacing-0);
    text-align: center;
    letter-spacing: 0px;
    color: #60B7FA;
    font-weight: bold;
}

.mobil-text-div {
    display: none;
}

.floor-card {
    background: white;
    width: 500px;
    height: 100px;
    display: flex;
    border-radius: 10px 0px 0px 10px;
    opacity: 1;
}

.floor-card img {
    width: 100px;
    height: 100px;
}

.float-layout {
    padding: 5px 5px;
    float: left;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    margin: 0;
}

.card-last-wrapper {
    display: flex;
    flex-direction: row;
    gap: 32px;
    margin: 20px auto;
    justify-content: center;
    align-items: flex-start;
    width: 80%;
    opacity: 0;
    animation: fadeIn 3s forwards;
}

.card-left,
.card-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 50%;
}

.card-container-last {
    overflow: hidden;
    display: flex;
    border: 1px solid #00000029;
    border-radius: 20px;
    background-color: #F8F7F7;
    margin-bottom: 20px;
    width: 100%;
    height: 15vh;
}
.card-img {
    width: 40%;
    height: 100%;
    margin: 0 !important;
}
.card-last-img {
    width: 100% !important;
    height: 100%;
    background-size: contain;
}

.card-last-content {
    width: 50%;
    flex: 1;
    padding: 10px 40px 10px 10px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    line-height: 0.2;
}

.card-text {
    padding-top: 10px;
    color: #60B7FA;
    font-size: 13px;
    font-weight: bold;
}

.card-number {
    font-size: 18px;
    color: #60B7FA;
    font-weight: bold;
}

.card-desc {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    line-height: 1.4;
}

.card-number,
.card-text {
    padding-bottom: 10px;
}
.mobile-img {
    display: none;
}
.card-left a {
    width: 100%;
}
.card-right a {
    width: 100%;
}

@media (min-width: 1025px) {
    .container {
        min-width: 915px;
    }
    span.lets-span {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .card {
        width: 100%;
        margin: 20px 0;
    }

    .content-wrapper {
        background: url("../../images/mobile/floorguide_1f_mobile/wave.svg") no-repeat center top;
    }

    .card,
    .card-container,
    .card-content,
    .floor-div {
        display: block !important;
    }
    .card-floor-content-1{
        order: 1;
    }
    .card-floor-content-2{
        order: 2;
    }
    .section {
        max-width: 100% !important;
    }
    .card {
        width: 100%;
        display: flex;
        flex-direction: row !important;
        align-items: stretch;
    }
    .card-title {
        display: block;
        white-space: normal;
        text-align: left;
        word-break: break-word;
        margin: 0;
    }

    .card img {
        width: 100%;
        height: auto;
        object-fit: cover;
        margin: 0px;
    }

    .card-container {
        display: flex;
        flex: 1;
        padding: 0px !important;
    }

    .card-content p,
    .card-content div {
        margin-bottom: 0;
    }

    .card-desc,
    .card-number {
        font-size: 14px;
    }

    .card-text {
        font-size: 10px;
    }

    .card-number,
    .card-text {
        padding-bottom: 5px;
    }

    .card-last-content {
        margin-top: 0;
        line-height: 1.2;
    }

    .card-floor-content {
        margin-bottom: 30px;
    }

    .card-floor-content a {
        width: 88%;
        padding: 10px 0;
    }

    .card-floor-content div {
        padding: 10px 50%;
    }

    .firstfloor-text {
        padding: 10px 45%;
        margin-left: 0px;
        width: 30%;
        margin-bottom: 20px !important;
    }

    .text-div {
        width: 95%;
    }

    .text-div div {
        padding: 8px 30%;
        width: 40%;
    }

    .web-text-div {
        display: none;
    }

    .mobil-text-div {
        display: flex;
        max-width: 100%;
        margin: 20px 0px;
    }

    .card-large img {
        width: 85% !important;
        height: auto !important;
        margin: 0px auto;
    }

    .card-last-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 85%;
        gap: 10px;
    }

    .card-img {
        width: 40%;
        margin: 0 !important;
    }
    .card-img img {
        width: 100% !important;
        background-size: contain;
    }

    .card-left,
    .card-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .card.card-container-last {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        border: 1px solid #ddd;
        background: #fff;
        margin: 10px auto;
        width: 100%;
        height: 15vh;
    }
    .card.card-container-last .card-last-img {
        width: 100%;
        height: 15vh !important;
        object-fit: cover;
        flex-shrink: 0;
    }
    /* .card-img {
        height: 15vh;
    } */

    .card.card-container-last .card-last-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
        gap: 3px;
    }

    /* .card-container-last img {
        width: 45% !important;
    } */

    .card-last-content {
        padding: 0px;
        line-height: 1.2;
    }

    .floor-div {
        margin: 35px 0 10px 0;
    }

    .card-content {
        width: 90%;
        margin: 10px auto;
        font-size: 12px;
        padding-top: 20px;
        display: block;
       
    }

    .card-content-left {
        width: 100%;

    }

    .card-content-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin: 20px auto;
    }

    .card-floor-content {
        width: 50%;
        display: flex;
        justify-content: center;
    }
    .mobile-img {
        display: block;
    }
    .web-img {
        display: none;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .card-floor-content {
        margin-bottom: 30px;
    }

    .card-floor-content a {
        width: 88%;
        padding: 10px 0;
    }

    .firstfloor-text {
        padding: 10px 45%;
        margin-left: 0px;
        width: 30%;
        margin-bottom: 20px !important;
    }

    .card-large img {
        width: 85%;
        margin: 0px;
    }

    .card-img {
        width: 40%;
        margin: 0 !important;
    }
    .card-img img {
        width: 100% !important;
        background-size: contain;
    }

    .card-left,
    .card-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .card.card-container-last {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        border: 1px solid #ddd;
        background: #fff;
        width: 100%;
        height: 10vh;
    }

    .card.card-container-last .card-last-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
        gap: 3px;
    }

    .card-last-content {
        padding: 0px;
    }

    .card-content {
        font-size: 12px;
        padding-top: 20px;
        display: block;
        width: 90%;
        margin-left: 5%;
    }

    .card-content-left {
        width: 100%;
    }

    .card-content-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin: 20px auto;
    }

    .card-floor-content {
        width: 50%;
        display: flex;
        justify-content: center;
    }
    .card-desc {
        font-size: 10px;
    }
}

img.card-last-img {
    object-fit: cover;
}

.floor-img-div {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

/* aタグを画像の上に配置 */
.floor-img-div .area {
  position: absolute;
  display: block;
  z-index: 2;
  width: 20px;
  height: 20px;
  /* デバッグ時は以下を一時的にONにすると範囲確認可能 */
  /* background-color: rgba(255,0,0,0.3); */
}

/* --- 例：PC時の各エリア配置（％指定で画像に追従） --- */
.f1 .area-1 { top: 80%; left: 74.5%; }
.f1 .area-2 { top: 78%; left: 69%; }
.f1 .area-3 { top: 76%; left: 65%; }
.f1 .area-4 { top: 71.5%; left: 56.6%; }

.f2 .area-1 { top: 18%; left: 41.5%; }
.f2 .area-2 { top: 25%; left: 37.6%; }
.f2 .area-3 { top: 34.5%; left: 39.2%; }
.f2 .area-4 { top: 43.5%; left: 39.3%; }
.f2 .area-5 { top: 59.5%; left: 40%; }
.f2 .area-6 { top: 74.5%; left: 68.6%; }
.f2 .area-7 { top: 76%; left: 76.5%; }

.f3 .area-1 { top: 22%; left: 39.3%; }
.f3 .area-2 { top: 34.5%; left: 39.2%; }
.f3 .area-3 { top: 43.5%; left: 39.3%; }
.f3 .area-4 { top: 59.5%; left: 40%; }
.f3 .area-5 { top: 69%; left: 56.5%; }


/* --- モバイル時（768px以下） --- */
@media screen and (max-width: 768px) {
  .web-img {
    display: none;
  }
  .mobile-img {
    display: block;
  }
.floor-img-div .area {
  width: 13px;
}

  /* モバイル時に座標を調整（画像比率が変わるため別指定推奨） */
  .f1 .area-1 { top: 77%; left: 75%; }
  .f1 .area-2 { top: 74%; left: 69%; }
  .f1 .area-3 { top: 72%; left: 65%; }
  .f1 .area-4 { top: 68%; left: 56%; }

.f2 .area-1 { top: 18%; left: 40.5%; }
.f2 .area-2 { top: 25%; left: 36.6%; }
.f2 .area-3 { top: 34.5%; left: 38.2%; }
.f2 .area-4 { top: 43.5%; left: 38.3%; }
.f2 .area-5 { top: 59.5%; left: 39%; }
.f2 .area-6 { top: 74.5%; left: 67.6%; }
.f2 .area-7 { top: 76%; left: 75.5%; }

.f3 .area-1 { top: 18%; left: 38.3%; }
.f3 .area-2 { top: 29.5%; left: 38.2%; }
.f3 .area-3 { top: 40.5%; left: 38.3%; }
.f3 .area-4 { top: 56.5%; left: 38%; }
.f3 .area-5 { top: 66%; left: 56%; }

}