body {
    font-family: var(--mitsumori-body-font-family);
    min-width: 380px;
}

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

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

/* Flow Title */
.flow-title {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    padding: 40px 10px;
    overflow: hidden;
}

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

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

.title-underline {
    width: 360px;
    height: 6px;
    position: relative;
}

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

/* Mitsumori Section */
.mitsumori {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 60px 0;
    gap: 10px;
}

.panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    min-width: 360px;
    padding: 20px 0;
    overflow: hidden;
    gap: 0;
}

.panel-left {
    flex: 0 0 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-width: 360px;
    height: 500px;
    padding: 0 4px;
}

.nayami-card {
    width: 100%;
    height: 300px;
    position: relative;
}

.nayami-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.panel-right {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: auto;
    max-width: 640px;
    min-width: 360px;
    overflow: hidden;
}

.section-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 640px;
    min-width: 360px;
    width: 100%;
    padding: 25px 0;
}

.section-title-icon {
    width: 110px;
    height: 53.092px;
}

.section-title-icon.sonota {
    height: 44px;
}

.section-title-icon img {
    width: 100%;
    height: 100%;
}

.section-title p {
    font-family: var(--mitsumori-body-font-family);
    font-size: var(--mitsumori-section-title-font-size);
    line-height: 29px;
    white-space: nowrap;
}

.item-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 640px;
    min-width: 360px;
    padding: 20px 0;
}

.list-item {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 640px;
    min-width: 360px;
    padding: 0 10px;
    overflow: hidden;
}

.list-item-title {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    max-width: 540px;
    min-width: 280px;
}

.list-item-header {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 540px;
    min-width: 260px;
    height: 29px;
}

.dot-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.dot-icon img {
    width: 100%;
    height: 100%;
}

.list-item-header p {
    flex: 1 1 0;
    font-family: var(--mitsumori-body-font-family);
    font-size: var(--mitsumori-list-item-header-font-size);
    line-height: 29px;
    min-width: 260px;
}

.list-item-description {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 540px;
    min-width: 260px;
    padding: 0 20px;
    gap: 10px;
}

.list-item-copy {
    flex: 1 1 0;
    font-family: var(--mitsumori-list-item-desc-font);
    font-size: 14px;
    line-height: 24px;
    color: #424242;
    max-width: 520px;
    min-width: 260px;
}

.list-item-price {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100px;
    min-width: 80px;
    width: 100px;
    padding: 10px;
    gap: 10px;
    overflow: hidden;
}

.list-item-price p {
    font-family: var(--mitsumori-body-font-family);
    font-size: 28px;
    line-height: 1;
    letter-spacing: var(--mitsumori-list-item-price-letter-spacing);
    color: #e6aebb;
    text-align: center;
    white-space: nowrap;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: #000000;
}

.contact-button img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-button p {
    position: relative;
    font-family: var(--mitsumori-body-font-family);
    font-size: var(--mitsumori-contact-button-font-size);
    line-height: 29px;
    white-space: nowrap;
    z-index: 1;
}


.maintenance-note {
    width: 100%;
    max-width: 700px;
    padding: 0 20px 60px;
    text-align: left;
    overflow-wrap: anywhere;
}

.maintenance-note-title {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-family: var(--mitsumori-body-font-family);
    font-size: var(--mitsumori-section-title-font-size);
    font-weight: normal;
    line-height: 29px;
}

.maintenance-note-title > span:last-child {
    min-width: 0;
}

.maintenance-note-body {
    padding-left: 24px;
    font-family: var(--mitsumori-list-item-desc-font), sans-serif;
    font-size: 12px;
    line-height: 24px;
    color: #000;
}


/* Responsive */
@media (max-width: 768px) {
    .title h1 {
        font-size: 28px;
        letter-spacing: var(--mitsumori-title-letter-spacing-tablet);
    }

    .title-underline {
        width: 280px;
    }

    .panel {
        flex-direction: column;
    }

    .panel-left {
        height: auto;
        padding: 20px 4px;
        order: 1;
    }

    .nayami-card {
        height: 250px;
    }

    .panel-right {
        flex: 0 0 auto;
        width: 100%;
        overflow: visible;
        order: 2;
    }

    .list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .list-item-price {
        align-self: flex-end;
    }

    .section-title {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section-title p,
    .list-item-header p,
    .maintenance-note-title {
        font-weight: 700;
    }

    .maintenance-note-body {
        font-size: 14px;
    }

    .title h1 {
        font-size: 28px;
        letter-spacing: var(--mitsumori-title-letter-spacing-mobile);
    }

    .title-underline {
        width: 240px;
    }

    .list-item-header p {
        font-size: var(--mitsumori-mobile-list-header-font-size);
    }

    .list-item-copy {
        font-size: 14px;
    }

    .list-item-price p {
        font-size: 24px;
    }
}

/* 항목의 제목과 설명은 가격 영역과 겹치지 않도록 높이도 늘어난다. */
@media (max-width: 768px) {
    body,
    .panel,
    .panel-left,
    .panel-right,
    .section-title,
    .item-section,
    .list-item,
    .list-item-title,
    .list-item-header,
    .list-item-header p,
    .list-item-description,
    .list-item-copy {
        min-width: 0;
    }

    .title,
    .list-item-title {
        width: 100%;
        max-width: 100%;
    }

    .panel-left {
        flex-basis: auto;
        width: 100%;
        max-width: 360px;
    }

    .flow-title,
    .panel,
    .list-item,
    .list-item-price,
    .contact-button {
        overflow: visible;
    }

    .list-item-header {
        height: auto;
        min-height: 29px;
        align-items: baseline;
    }

    .section-title p,
    .contact-button p {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
}

.title h1,
.section-title p,
.list-item-header p,
.maintenance-note-title > span:last-child {
    text-wrap: balance;
}

.list-item-copy,
.maintenance-note-body {
    text-wrap: pretty;
}
