:root {
    --color-gray: #333333;
    --color-white: #FFF;
    --color-text: #E46B5A;
    --background-text: #FFA98A;
    --margin-normal: 1rem;
    --padding-normal: 10px;
    --line-height-normal: 1.6;
}
* {
    margin: 0;
    padding: 0;
}
.mb-8 {
    margin-bottom: 2rem;
}
.mt-0 {
    margin-top: 0 !important;
}
background-white {
    background:rgba(255, 255, 255, 1);
}
body {
    overflow-x: hidden;
}
.background-white {
    background-color: var(--color-white);
}

.center-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.self-response-width {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - calc(100% - 90rem));
}

.marginRight25 {
    margin-right: .5rem !important;
}
.form-box .input-box input {
    max-width: 35rem;
}
.padding-lr-normal {
    padding: 0;
}
.margin-bottom-48 {
    margin-bottom: 3rem;
}
.padding-10 {
    padding: 0 10px;
}
.margin-bottom-normal {
    margin-bottom: var(--margin-normal);
}


@media (max-width: 768px) {
    .self-response-width {
        width: 100%;
    }
    .center-box {
        box-sizing: border-box;
    }
    .padding-lr-normal {
        padding: 0 var(--padding-normal);
    }
}
/* top banner */
.top-banner {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    height: 300px;
    content-visibility: auto;
    contain-intrinsic-size: auto 300px;
}
.top-banner picture {
    height: 100%;
}
.top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {
    .top-banner {
        height: auto;
        margin-top: 60px;
        contain-intrinsic-size: 240px;
    }
    .top-banner img {
        aspect-ratio: auto 790 / 240;
    }
}

/** part1 */
.h-title {
    color: rgba(224, 51, 121, 1);
    font-size: 2.5rem;
    line-height: 1.6;
    text-align: center;
    position: relative;
}
@media (max-width: 768px) {
    .h-title {
        font-size: 1.6rem;
        margin-top: 1rem;
    }
}
@media (min-width: 769px ) {
    .h-title::before {
        content: "";
        position: absolute;
        z-index: 1;
        left: calc(50% - 100px / 2 + 0px);
        width: 100px;
        height: 6px;
        background: rgba(30, 45, 79, 1);
        bottom: -16px;
    }
}

.case-box {
    margin: 1rem 0 1rem 0;
    display: flex;
    gap: 1rem;
}

@media (min-width: 769px ) {
    .case-box {
        margin: 3rem 0;
    }
}

.case-box .case-box-content {
    flex: 1;
    display:flex;
    flex-direction: column;
    gap: 1rem;
}

.case-box img {
    width: 100%;
    object-fit: contain;
    max-width: 30rem;
    border-radius: .5rem
}

@media (max-width: 769px) {
    .case-box .case-box-content {
        display: contents;
    }
    .case-box {
        flex-direction: column;
    }
    .order-3 {
        order: 3;
    }
    .order-4 {
        order: 4;
    }
}
/** part2 */
.treatment-background {
    background: rgba(250, 250, 250, 1);
}
.mt-8 {
    margin-top: 2rem;
}
.treatment-box {
    width: 100%;
}
.treatment-box p {
    margin-bottom: 1rem;
    line-height: 1.6;
}
.treatment-box .treatment-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
@media (max-width: 769px) {
    .treatment-box .treatment-list {
        grid-template-columns: 1fr;
    }
}
.treatment-box .treatment-list li {
    background: rgba(248, 147, 37, 1);
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);
    border-radius: 8px;
    mix-blend-mode: normal;
    color: white;
    box-sizing:border-box;
    padding: 1rem;
    display: flex;
    flex-direction:column;
    gap: .25rem;
}
.treatment-box .treatment-list li p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.treatment-table  {
    border-radius: 3px;
}
.treatment-table section {
    display: grid;
    grid-template-columns: 2fr 3fr 5fr;
    gap: 2px;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

@media (max-width: 769px) {
    .treatment-table {
        width: 100%;
        overflow-x: auto;
        scroll-behavior:smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width:none;
    }
    .treatment-table section {
        width: 1400px;
    }
}

section .th {
    background: rgba(239, 70, 137, 1);
    color: white;
    font-weight: bold;
    text-align: center;
}
section .th,
section .tr {
    box-sizing: border-box;
    padding: 1.2rem 1rem;
    display:flex;
    flex-direction: column;
    justify-content: center;
}
section .tr.bold {
    font-weight: bold;
}
section .tr {
    background: white;
    padding: 2rem 1rem;
}
section .tr.bg {
    background: rgba(253, 242, 248, 1);
}
section .tr p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/*part 3*/
.tim-mdt-box {
    width: 100%;
    margin: 3rem 0;
}
.tim-mdt-box-background {
   background: linear-gradient(to right, rgba(239, 70, 137, 1) 40%, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 1) 100%);
}
.tim-mdt-box-content {
    display: flex;
    gap: 2rem;
    box-sizing: border-box;
    padding: 3rem 0 3rem 3rem;
    background: linear-gradient(to right, rgba(239, 70, 137, 1) 85%, rgba(255, 255, 255, 1) 85%, rgba(255, 255, 255, 1) 100%);
}
@media (max-width: 769px) {
    .tim-mdt-box-background {
       background: linear-gradient(to bottom, rgba(239, 70, 137, 1) 82%, rgba(255, 255, 255, 1) 82%, rgba(255, 255, 255, 1) 100%);
    }
    .tim-mdt-box-content {
        flex-direction: column;
        padding: 2rem 0 0 0;
        background: linear-gradient(to bottom, rgba(239, 70, 137, 1) 90%, rgba(255, 255, 255, 1) 90%, rgba(255, 255, 255, 1) 100%);
    }
}

.tim-mdt-box-content img {
    width: 100%;
    max-width: 30rem;
    object-fit: contain;
    border-radius: .5rem;
}
.tim-mdt-box-text {
    color: white;
}
.tim-mdt-box-text p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/** part 4 */
.doctor-box {
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 2rem;
    grid-template-areas:
    "avatar content"
    "avatar info"
}
@media (max-width: 769px) {
    .doctor-box {
        grid-template-columns: 3fr 4fr;
        gap: 1rem;
        grid-template-areas:
        "avatar content"
        "avatar ."
        "info info"
    }
}
.doctor-avatar {
    grid-area: avatar;
}
.doctor-content {
    grid-area: content;
}
.doctor-intro {
    grid-area: info;
}
.doctor-avatar img {
    width: 100%;
    max-width: 25rem;
    object-fit: contain;
    align-content: flex-start;
}

.doctor-info {
    box-sizing: border-box;
    padding-top: 4rem;
}

.doctor-info .doctor-name {
    color: rgba(51, 51, 51, 1);
    font-size: 2rem;
}

.doctor-info .doctor-title {
    font-size: 1rem;
    color: rgba(248, 147, 37, 1);
    margin-bottom: 1rem;
}

@media (max-width: 769px) {
    .doctor-info {
        padding-top: 2rem;
    }
}

.doctor-info .skill-list {
    display: flex;
    gap: 1rem;
}

@media (max-width: 769px) {
    .doctor-info .skill-list {
        flex-direction: column;
    }
}

.doctor-info .skill-list li {
    color: rgba(239, 70, 137, 1);
    background: rgba(239, 70, 137, 0.1);
    box-sizing: border-box;
    padding: .25rem 1rem;
    border-radius: .25rem;
}

@media (max-width: 769px) {
    .doctor-info .skill-list li {
        width: max-content;
        font-size: .875rem;
        padding: .25rem .5rem;
    }
}

.doctor-intro {
    line-height: 1.6;
}

.doctor-sci {
    margin-top: 2rem;
}

.doctor-sci p {
    color: rgba(239, 70, 137, 1);
    margin-bottom: .5rem;
}

.doctor-sci {
    width: 100%;
}

.doctor-sci li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.doctor-sci li::before {
    content: "";
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 100%;
    background: rgba(239, 70, 137, 1);
    position: absolute;
    left: 0;
    top: 8px;
}

.doctor-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
    margin-top: 1.5rem;
}

.doctor-list .list-item {
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);
    border-radius: .25rem;
    box-sizing: border-box;
    padding: 1rem .5rem;
    min-width: 0;
}

.doctor-list .list-item img {
    width: 100%;
    height: 18rem;
    object-fit: contain;
}


@media (max-width: 769px) {
    .doctor-list {
        grid-template-columns: 1fr 1fr;
    }
    .doctor-list .list-item:nth-of-type(n + 3) {
        display: none;
    }
    .doctor-list .list-item img {
        height: 12rem;
        max-width: 100%;
    }
}

.doctor-list .list-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.list-item-content .list-item-name {
    font-size: 1.5rem;
}

.list-item-content .list-item-title {
    color: rgba(239, 70, 137, 1);
    background: rgba(239, 70, 137, 0.1);
    box-sizing: border-box;
    padding: .25rem 1rem;
    border-radius: .25rem;
    font-size: .875rem;
    font-weight: 500;
    width: max-content;
}

@media (max-width: 769px) {
    .list-item-content .list-item-title {
        width: 100%;
        padding: .25rem;
        line-height: 1.6;
        font-size: .75rem;
    }
}

.specialization-area {
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    gap: .5rem;
}
.specialization-area li {
    font-size: 1rem;
    color: rgba(102, 102, 102, 1);
    line-height: 1.6;
    width: 100%;
}

.doctor-list-more-button {
    display: none;
}

@media (max-width: 769px) {
    .doctor-list-more-button {
        display: block;
        margin: 2rem 0;
        padding: .75rem 1.5rem;
        background: rgba(239, 70, 137, .1);
        color: rgba(239, 70, 137, 1);
        font-size: 1.25rem;
        border-radius: .25rem;
    }
}
.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 70, 137, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(239, 70, 137, 0);
    }
}

/** form */
.center-box.form-background {
    background-image: none;
}

.home-page-pc.form-bg {
    background: rgba(239, 70, 137, 1);
    margin-top: 3rem;
}

.home-page-mobile.form-bg {
    background: rgba(239, 70, 137, 1);
    padding-top: 1.5rem;
}

.box .form-group .btn-active {
    background: rgba(239, 70, 137, 1) !important;
}

.form-header-box {
    box-sizing: border-box;
}

.form-header-box .form-title {
    color: white;
    margin: 2rem 0;
}

.header-box .form-title {
    color: white;
    text-align: center;
    font-size: 1.5rem;
}

.booking p {
    color: white;
    line-height: 1.6;
    font-weight: 500;
    font-size: 1.125rem;
}

.form-box form:hover {
    transform:none !important;
}

.box .dropdown-list.disease-list {
    background: #F0F0F0;
    padding: 1rem 1rem;
    border-radius: .5rem;
}

.mc-booking {
    box-sizing: border-box;
    padding: 0 1rem 1rem;
}

.mc-booking p {
    color: white;
    margin-bottom: 1rem;
}

.form-wrap .mobile-box .form-group .btn-active {
    background: rgba(239, 70, 137, 1) !important;
}

/** part 5 */
.patient-box {
    margin-top: 3rem;
}
@media (max-width: 769px) {
    .patient-box {
        margin-top: 2rem;
        box-sizing: border-box;
        padding: 0 1rem;
    }
}
.patient-list {
    width: 100%;
    margin-top: 3rem;
}
.patient-list .patient-item {
    display: grid;
    grid-template-columns: 20rem 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
    padding-bottom: 2rem;
}
@media (max-width: 769px) {
    .patient-list {
        margin-top: 1rem;
    }
    .patient-list .patient-item {
        grid-template-columns: 1fr;
        margin-bottom: 1rem;
    }
}

.patient-list .patient-item:not(:last-child)::after {
    content: "";
    width: 100%;
    height: 1px;
    background: #eaeaee;
    position: absolute;
    bottom: 0;
    left: 0;
}

.patient-item img {
    width: 100%;
    object-fit: contain;
    max-width: 20rem;
    border-radius: 5px;
}
@media (max-width: 769px) {
    .patient-item img {
        width: 100%;
        object-fit: contain;
        max-width: 100%;
    }
}

.patient-item .patient-label {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.patient-item .patient-label li {
    color: rgba(239, 70, 137, 1);
    background: rgba(239, 70, 137, 0.1);
    box-sizing: border-box;
    padding: .25rem 1rem;
    border-radius: .25rem;
    font-size: 1.25rem;
}

.patient-item  .patient-life {
    color: rgba(248, 147, 37, 1);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.patient-item .patient-desc {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.patient-item  .patient-content {
    box-sizing: border-box;
    padding-top: 3rem;
}

.patient-content .patient-name {
    font-size: 2rem;
}

@media (max-width: 769px) {
    .patient-item .patient-label li {
        font-size: 1rem;
    }

    .patient-content .patient-name {
        font-size: 1.5rem;
    }

    .patient-item  .patient-content {
        box-sizing: border-box;
        padding-top: 0;
    }
}


/** part 6 */
.gray-background {
    background: rgba(250, 250, 250, 1);
}

.gray-background .h-title {
    margin: 3rem 0;
}

.cancer-phased-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (max-width: 769px) {
    .cancer-phased-box {
        grid-template-columns: 1fr;
    }
}

.cancer-phased-box  .phased-box,
.cancer-phased-box  .classify-box
{
    border-radius: .5rem;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);
    background: white;
    box-sizing: border-box;
}

.phased-box .phased-box-title {
    background: rgba(239, 70, 137, 1); 
    color: white;
    padding: 1rem;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}

.classify-box .classify-box-title {
    background: rgba(248, 147, 37, 1);
    color: white;
    padding: 1rem;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}

.cancer-phased-box  .classify-box {
     border-radius: .5rem;
}

.cancer-phased-box .phased-box {
    display: flex;
    flex-direction: column;
}

.cancer-phased-box .classify-box {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.cancer-phased-box dl {
    box-sizing: border-box;
    padding: 1rem;
}

.cancer-phased-box dl:not(:last-child) {
    border-bottom: 1px solid #eaeaee;
}

.cancer-phased-box dl dt {
    color: rgba(224, 51, 121, 1);
    font-size: 1.25rem;
    margin-bottom: .5rem;
}

.cancer-phased-box dl dd {
    font-size: 1rem;
}

.phased-box .phased-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
}

.classify-box .classify-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
}

.cancer-phased-box-content {
    margin-bottom: 3rem;
}

.cancer-phased-box-content p {
    line-height: 1.6;
}


/** part 7*/

.qa-background .h-title {
    margin: 3rem 0 4rem 0;
}

@media (max-width: 769px) {
    .qa-background .h-title  {
        margin: 2rem 0;
    }
}
.qa-box {
    width: 100%;
}

details {
    margin-bottom: 2rem;
    border-radius: .5rem;
    padding: .5rem 1rem;
    border: 1px solid #eaeaee;
}

details[open] {
    background-color: rgba(253, 242, 248, 1);
}

details[open] summary {
     background-color: rgba(253, 242, 248, 1);
}

summary {
    background: white;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    padding: 1.25rem 1rem;
    outline: none;
    position: relative;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.5;

}
summary::-webkit-details-marker {
    display: none;
}
summary::after {
    content: '+';
    font-size: 1.125rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}
details[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}
details[open] summary {
    margin-bottom: 1rem;
}
details .content {
    line-height: 1.6;
    padding-left: 0.875rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-0.875rem);
    transition: max-height 0.5s ease,
    padding 0.5s ease,
    opacity 0.5s ease,
    transform 0.5s ease;
}
details[open] .content {
    max-height: 60rem;
    overflow: auto;
    opacity: 1;
    transform: translateY(0);
}
details[open]  {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
details .content p {
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: rgba(102, 102, 102, 1);
}

.form-box form img {
    filter: hue-rotate(125deg);
}