body {
    font-family: var(--contact-body-font-family), sans-serif;
    min-width: 380px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: visible;
}

/* Body */
.body {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    min-width: 380px;
}

/* SNS Section */
.sns-section {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    max-width: 1000px;
    min-width: 360px;
    width: 100%;
    padding: 40px 10px;
    overflow: hidden;
}

.sns-title {
    flex: 1 1 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    max-width: 436px;
    min-width: 380px;
    overflow: hidden;
}

.sns-title-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    height: 52px;
    min-width: 360px;
    overflow: hidden;
}

.sns-title-text h1 {
    font-size: 36px;
    line-height: normal;
    letter-spacing: var(--contact-sns-title-letter-spacing);
    text-align: center;
    font-weight: normal;
}

/* Point Description */
.point-desc {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    min-width: 380px;
    width: 100%;
    padding: 40px 0;
}

.panel-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    min-width: 380px;
    width: 100%;
    overflow: hidden;
}

.panel-item {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 380px;
    min-width: 380px;
}

.speech-bubble {
    background: url('images/6a4b5bba287ed3581e9bbabd1484eda62015d1c6.webp') no-repeat center;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 280px;
    /*height: 165px;*/
    height: 165px;
    padding: 50px 10px;
    overflow: hidden;
    position: relative;
}
/*
.speech-bubble img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
*/
.speech-bubble-title {
    font-size: var(--contact-speech-bubble-title-font-size);
    line-height: 29px;
    text-align: center;
    width: 260px;
    min-width: 260px;
    position: relative;
    z-index: 1;
}

.speech-bubble-id {
    font-family: 'Rounded Mplus 1c', sans-serif;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    width: 260px;
    min-width: 260px;
    position: relative;
    z-index: 1;
}

.qr-image {
    width: 360px;
    height: 300px;
    position: relative;
}

.qr-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 1000px;
    min-width: 380px;
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
}

.phone-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 300px;
}

.phone-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
    height: 52px;
    /* overflow: hidden; */
}

.phone-title-wrapper h2 {
    font-size: var(--contact-phone-title-font-size);
    line-height: 29px;
    height: 32px;
    text-align: center;
    width: 826px;
    font-weight: normal;
}

.phone-underline {
    width: 160px;
    height: 3px;
    position: relative;
}

.phone-underline img {
    width: 100%;
    height: 100%;
}

.phone-number {
    font-family: 'Rounded Mplus 1c', sans-serif;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.cat-icon {
    width: 172px;
    height: 100px;
    position: relative;
}

.cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .web-menu {
        gap: 15px;
        font-size: 16px;
        padding: 10px;
    }

    .sns-title-text h1,
    .contact-title-wrapper h1 {
        font-size: 28px;
        letter-spacing: var(--contact-sns-title-letter-spacing-tablet);
    }

    .panel-row {
        flex-direction: column;
        gap: 40px;
    }

    .panel-item {
        min-width: 100%;
    }
}

@media (max-width: 400px) {
    .speech-bubble-title,
    .phone-title-wrapper h2 {
        font-weight: 700;
    }

    .left-frame,
    .right-frame {
        min-width: 100%;
        max-width: 100%;
    }

    .center-frame {
        min-width: 100%;
    }

    .web-menu {
        gap: 10px;
        font-size: 14px;
    }

    .sns-title-text h1,
    .contact-title-wrapper h1 {
        font-size: 28px;
        letter-spacing: var(--contact-sns-title-letter-spacing-mobile);
    }

    .title-underline {
        width: 280px;
        min-width: 0;
    }
}

/* SNS 안내와 문의 정보가 화면 안에서 자연스럽게 늘어나도록 한다. */
@media (max-width: 768px) {
    body,
    .body,
    .sns-section,
    .sns-title,
    .sns-title-text,
    .point-desc,
    .panel-row,
    .panel-item,
    .contact-info {
        min-width: 0;
    }

    .sns-section,
    .sns-title,
    .sns-title-text,
    .panel-row,
    .contact-info {
        overflow: visible;
    }

    .sns-title-text,
    .phone-title-wrapper,
    .phone-title-wrapper h2 {
        height: auto;
    }

    .phone-title-wrapper h2 {
        width: 100%;
    }

    .panel-row {
        align-items: center;
    }

    .panel-item {
        width: 100%;
    }

    .speech-bubble,
    .phone-section {
        max-width: 100%;
    }

    .speech-bubble {
        height: auto;
        min-height: 165px;
        padding: 35px 10px;
        overflow: visible;
    }

    .speech-bubble-title,
    .speech-bubble-id {
        min-width: 0;
        max-width: 100%;
    }

    .qr-image {
        width: 100%;
        max-width: 360px;
        height: auto;
        aspect-ratio: 360 / 300;
    }
}
