@charset "UTF-8";
@import url("contents_pc.css");
@media only all and (max-width: 1023px) {
    
    /* 기본 */
    .word-type01 {    
        font-size: 1.154rem;
        padding-bottom: 1.154rem;
    }
    .mobile-br {
        display: block !important;
    }
    .download-area {
        flex-direction: column;
        align-items: flex-end;
        padding-bottom: 0;
        gap: 0.625rem;
    }
    .btn-download,
    .btn-download02{
        min-width: calc(50% - 0.4167rem);
        height: 3.3333rem;
        line-height: 3.3333rem;
        font-size: 1.125rem;
        padding: 0 1.25rem;
        border-radius: 0.25rem;
        padding-right: 3.75rem;    
    }
    .btn-download:after
    .btn-download02:after{
        right: 1.25rem;
        width: 1rem;
        height: 1rem;
    }
    .word-notice {
        font-size: 1.125rem;
        padding-left: 1.731rem;
    }
    .word-notice:before {
        width: 1.154rem;
        height: 1.154rem;
    }    
    .round-box01 dl dt {
        padding-left: 0;
    }
    /* 탭메뉴 공통 부분 */
    .tabmenu-wrapper ul>li:first-child:nth-last-child(6) ~ li:nth-child(n+5) a,
    .tabmenu-wrapper ul>li:first-child:nth-last-child(6) ~ li:nth-child(n+5) button,
    .tabmenu-wrapper ul>li:first-child:nth-last-child(7) ~ li:nth-child(n+5) a,
    .tabmenu-wrapper ul>li:first-child:nth-last-child(7) ~ li:nth-child(n+5) button,
    .tabmenu-wrapper ul>li:first-child:nth-last-child(8) ~ li:nth-child(n+5) a,
    .tabmenu-wrapper ul>li:first-child:nth-last-child(8) ~ li:nth-child(n+5) button{
        border-top: 1px solid #e1e3e4;
    }
    .line-break {
        padding-bottom: 3.846rem;
    }
    .ol-list01 li {
        padding-left: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.958rem;
    }
    .ol-list01 li .number{
        font-size: 0.769rem;
    }
    .table-type01 ul li,
    .table-type01 ol li{
        font-size: 1rem;
        line-height: 1.25rem;
        word-break: break-all;
    }    
    .table-type01 ol li .number{
        font-size: 0.615rem;
    }
    .table-type01 .word-notice01{
        font-size: 1rem;
        line-height: 1.25rem;
        word-break: break-all;
        padding-left: 1.25rem;
    }
    .table-type01 .word-notice01:before {
        top: 1px;
        width: 0.923rem;
        height: 0.923rem;
        background-size: 100%;
    }
    .outline-box {
        padding: 2.167rem 1.538rem;
        border-radius: 0.75rem;
        margin-bottom: 1.923rem;
    }
    .outline-box:first-of-type{
        margin-top: 2.308rem;
    }
    .contents-area > .outline-box {
        margin-left: -1.25rem;;
    }
    .round-box01.add-icon .icon {
        top: 1.875rem;
        margin-top: 0;
    }
    .round-box01 dl dd {
        margin-top: 0;
        font-size: 1.25rem;
    }    
    .point-color15,
    .point-color15>li {
        font-size: 1.083rem !important;
        line-height: 140%; !important;
    }

    

    /* 인사말 */
    .greeting-wrapper {
        gap: 3.077rem;
    }
    .greeting-visual-wrapper {
        padding-bottom: 93.939%;
        background: url(../img/sub03/img_greeting_mobile.jpg) no-repeat center / cover;
        border-radius: 0.462rem;
    }
    .visual-slogan {
        top: auto;
        bottom: 2.692rem;
        left: 2.692rem;
        transform: translateY(0);
        font-size: 2.308rem;
    }
    .greeting-slogan-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2.692rem;
    }
    .greeting {
        font-size: 1.846rem;
        white-space: normal;
    }
    
    /* 장비 리스트 */
    .equipment-box {
        flex-direction: column;
        padding: 2.692rem 0 3.077rem 0;
        gap: 1.923rem;
    }
    .equipment-box:first-child {
        padding-top: 20px;
    }
    .equipment-box > h4 {
        width: 100%;
        font-size: 1.385rem;
    }
    .equipment-box > ul {
        width: 100%;
    }
    .equipment-box > .image {
        width: 100%;
        height: 0;
        padding-bottom: 71.428%;
        border-radius: 0.462rem;
        margin-top: 0.385rem;
    }    

    /* 건강검진 */
    .checkup-box {
        padding-left: 0 !important;
        padding: 1.923rem !important;
        flex-wrap: wrap;
        gap: 1.923rem;
    }
    .checkup-box > * {
        padding-right: 0;
    }
    .checkup-box > *:first-child {
        padding-bottom: 1.923rem;
    }
    .checkup-box > *:first-child:after {
        display: block;
        content: '';
        position: absolute;
        top: auto;
        bottom: 0;
        left: 0;
        transform: translateY(0);
        width: 100%;
        height: 1px;
        background-color: #e9e8e8;
    }
    .checkup-box > *:after {
        display: none;
    }
    .add-icon-area {
        width: 100%;
        padding-left: 6.958rem;;
    }
    .add-icon-area .icon{
        top: calc(50% - 0.961rem) !important;
        left: 0 !important;
    }
    .checkup-fee {
        flex: 1;
    }
    .checkup-fee strong {
        font-size: 1.077rem;
    }
    .checkup-fee span {
        font-size: 1.615rem;
    }
    .checkup-btn-area {
        flex: 1;
    }
    .btn-checkup {
        width: 10.769rem;
        height: 4.077rem;
        font-size: 1.269rem;
    }
    .btn-checkup>span {
        padding-left: 1.731rem;
    }
    .btn-checkup>span:after {
        width: 1.115rem;
        height: 0.808rem;
    }    
    .premium-tabmenu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }
    .premium-tabmenu > li {
        height: 4.077rem;
        padding: 0 1.154rem;
        font-size: 1.154rem;
    }
    .gender-tabmenu {
        width: 21.154rem;
        height: 5.538rem;
        border-radius: 0.308rem;
    }
    .gender-tabmenu > li {
        padding-left: 2.5rem;
        font-size: 1.269rem;
    }
    .gender-tabmenu > li:after {
        left: 2.5rem;
        width: 2.423rem;
        height: 3.654rem;
    }
    .gender-tabmenu > li.male:before {
        border-radius: 0.308rem 0 0 0.308rem;
    }
    .gender-tabmenu > li.female:before {
        border-radius: 0 0.308rem 0.308rem 0;
    }
    .gender-tabmenu > li.active:before,
    .gender-tabmenu > li:hover:before {
        border-radius: 0.308rem;
    }
    .gender-content {
        padding-top: 50px;
        padding-bottom: 30px;
    }
    .mobile-table table colgroup,
    .mobile-table table colgroup col {
        display: none !important;
    }
    .mobile-table table tbody tr {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }
    .mobile-table table tbody tr > th,
    .mobile-table table tbody tr > td {
        box-sizing: border-box;
        display: block;
    }
    .mobile-table table tbody tr > th {
        display: flex;
        align-items: center;
        width: 35% !important;
        background: #f7f7f7;
        font-weight: bold;
    }
    .mobile-table table tbody tr > td { 
        width: 65% !important;
        border-right: 0;
        border-left: 0;
    }
    .mobile-table table tbody tr > th {
        border-left: 0;
    }
    /* 내시경 검사 후 안내 */
    .contents-area > .symptom-wrapper {        
        margin-left: -1.25rem;;
    }
    .symptom-wrapper {
        gap: 3.269rem;    
    }
    .symptom-box {
        flex-direction: column;
        gap: 2.885rem;
    }
    .symptom-box > dt {
        width: 100%;
        min-height: 8.077rem;
        font-size: 1.231rem;
        border-radius: 1.154rem;
        padding: 1.538rem 1.923rem;
    }
    .symptom-box > dt:after {
        top: 9.038rem;
        left: 50%;
        transform: translate(-50%, 0) rotate(90deg);
        width: 2.231rem;
        height: 0.846rem;
    }
    .symptom-box > dd {
        width: 100%;
        border-radius: 1.154rem;
        padding: 1.538rem 1.923rem;
    }
    /* 복약안내 */
    .medicine-list {
        justify-content: space-between;
        column-gap: 0.769rem;
        row-gap: 2.308rem;
        padding-top: 0.769rem;
    }
    .medicine-list > li {
        flex: 0 0 calc((100% - 0.769rem) / 2);
    }
    .medicine-list > li >.image {
        height: 5.385rem;
        border-radius: 0.308rem;
        padding: 30px 0;
    }
    .medicine-list > li >.image > img {
        width: 100%;
        height: 85%;
        object-fit: cover; /* 비율 유지하면서 빈공간 없이 꽉 채움 */
    }
    .wide > li{
        flex: 0 0 100%;
    }
    .wide  > li >.image > img {
        height: 70%;
    }
    .medicine-list > li > strong {
        font-size: 1.154rem;
        padding-top: 1.154rem;
    }
    .contents-area > .procedure-wrapper {        
        margin-left: -1.25rem;;
    }
    .procedure-list {
        flex-direction: column;
        border-radius: 0.75rem;
    }
    .procedure-list>li {
        flex: auto 1;
        flex-direction: row;
        padding: 2.115rem 0.833rem 2.115rem 2.833rem;
        gap: 0;
    }
    .procedure-list>li:after {
        top: auto;
        bottom: 0;
        left: 0;
        right: auto;
        width: 100%;
        height: 1px;
    }
    .procedure-list>li p {
        font-size: 1.154rem;
        padding-left: 0;
    }

    .procedure-list>li p .number {
        position: relative;
        top: 0;
        width: 2rem;
        height: 2rem;
        font-size: 1.077rem;
        margin-bottom: 1.346rem;
    }    
    .procedure-list>li p .number02 {
        width: 1.333rem;
        height: 1.333rem;
        font-size: 0.933rem;
        line-height: 1.333rem;
        margin-right: 0.208rem;
    }
    .procedure-list>li .image {
        width: 8.846rem;
        height: 10.308rem;
    }
    .procedure02>li {
        width: 100%;
        padding: 1.458rem;
    }
    .procedure02>li:after {
        top: auto;
        right: auto;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
    }
    .procedure02>li:nth-child(1)::after {
        height: 100%;
        background:
            linear-gradient(to right, #d6d7d9 0 100%) left bottom/100% 1px no-repeat;
    }
    .procedure02>li:nth-child(3)::after {
        height: 100%;
        background:
            linear-gradient(to right, #d6d7d9 0 100%) left bottom/100% 1px no-repeat;
    }
    .procedure02>li {
        flex-direction: column;
        row-gap: 1.458rem;
    }
    .procedure02>li p {
        padding-left: 2.917rem;
    }
    .procedure02>li p .number {
        position: absolute;
        top: 0;
        width: 2rem;
        height: 2rem;
        font-size: 1.077rem;
        margin-bottom: 1.346rem;
    }
    .procedure02>li .image {
        width: 100%;
        height: 0;
        padding-bottom: 54.945%
    }
    .procedure02>li .image img{
        position: absolute;
        width: 100%;
        height: auto;
        object-fit: cover; /* 비율 유지하면서 빈공간 없이 꽉 채움 */
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }
    /* 대장내시경 */
    .bowel-wrapper { 
        flex-direction: column;
        border-radius: 0.75rem;
    }
    .bowel-wrapper dl{  
        padding: 2.167rem 1.538rem;
    }
    .bowel-wrapper dl::after{    
        bottom: 0;
        width: 100%;
        height: 1px;
    }
    .bowel-wrapper dt {    
        font-size: 1.154rem;
    }
    .bowel-wrapper dd {
        border-radius: 0.75rem;
    }
    .food-list-wrapper {
        padding: 2.917rem 0 0 0;
        row-gap: 1.667rem
    }
    .food-list-wrapper > li {
        flex: 0 1 33.333%; 
        height: auto;
    }
    .food-list-wrapper > li .image {
        width: 6.917rem;
        height: 6.917rem;
    }
    .food-list-wrapper > li .image img {
        width: 4.167rem;
        height: 4.167rem;
    }
    .food-list-wrapper > li > strong {
        font-size: 1.096rem;
        padding-top: 10px;
    }
    .food-list-wrapper > li .image:after {
        width: 1.769rem;
        height: 1.769rem;
    }
    .allowed:after {
        background-size: 0.875rem 0.625rem; 
    }
    .forbidden:after {
        background-size: 0.625rem 0.625rem; 
        }    
    .process-wrapper02 {    
        flex-direction: column;
        gap: 2.308rem;
    }
    .process-box {
        width: 100%;
        min-height: auto;
    }
    .process-box::after {
        top: auto;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(calc(2.308rem / 2 - 1.308rem / 2)) rotate(90deg);
        width: 1.308rem;
        height: 1.308rem;
        background-size: 6px 10px;
    }
    .process-box:last-child::after {
        display: none;
    }
    .process-box .process-content {
        font-size: 1.25rem;
    }
    .download-list {
        row-gap: 15px;
    }
    .download-list a {
        width: 100%;
    }
    .download-list a:after {
        display: block;
    }
    /* 제증명 다운로드 버튼 */
    .btn-group-wrapper 
    a {
        &::after {
            display: block !important;
        }
    }
    /* 의료진 소개 */
    .doctor-information-wrapper02 {
        display: grid;
        grid-template-columns: 6.25rem 1fr;
        border-radius: 0.667rem;
        padding: 2.875rem;
        gap: 2.083rem;
        margin-bottom: 1.875rem;
        align-items: center;
    }
    .doctor-information-wrapper02>.image{
        grid-column: 1 / 2;
        width: 6.25rem;
        height: 7.792rem;
    }
    .doctor-information-wrapper02>.image>img {
        top: 0.625rem;
    }
    .doctor-information-wrapper02 .doctor-information02 {
        grid-column: 1 / -1;
    }
    .doctor-information-wrapper02 .doctor-information02>dl {
        font-size: 1.25rem;
        line-height: 1.958rem;
        gap: 1rem;
        padding-bottom: 0.625rem;
    }
    .doctor-information-wrapper02 .doctor-information02>dl>dt {
        padding-left: 1.042rem;
    }
    .doctor-information-wrapper02 .doctor-information02>dl>dt:before {
        top: 0.917rem;
    }
    .doctor-information-wrapper02 .doctor-information02>dd {
        color: #555559;
    }







    
    
    
    
    
    /* 폼양식 */
    .form-wrapper02 .input-radio-wrapper {
        gap: 0.769rem 0.333rem;
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    .radio-column-mobile {
        width: 100%;
        flex-direction: column;
        gap: 0 0.333rem;
    }
    .radio-column-mobile .input-radio-area {
        gap: 0.333rem;
        width: 100%;
    }
    .input-radio-area {
        flex-wrap: wrap;
    }
    .input-radio-list {
        flex-wrap: wrap;
        padding: 1.154rem 0 1.154rem 2.308rem;
    }
    .input-radio-list:before, .input-radio-list:after {
        display: none;
        font-size: 0;
    }
    .input-radio-list .input-radio-area {
        margin-right: 0 !important;
        gap: 0.333rem;
        width: calc(50% - 1.154rem);
    }
    .form-wrapper02 dl > dd {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    .input-calendar-wrapper02 .input-calendar-area {
        display: block;
        float: none;
        max-width: 50% !important;
        width: 100% !important;
    }
    .survey-wrapper {
        padding-left: 0;
        background-color: #fff;
    }
    #survey .survey-title {
        width: 100%;
        height: 3.077rem;
        margin-left: 0;
        padding-right: 85px;
    }
    #survey .survey-title h4 {
        height: 3.077rem;
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    #survey .survey-title .type01 {
        width: calc(100% - 6.154rem);
    }
    #survey .survey-title .type02 {
        width: 6.154rem;
    }
    .survey-wrapper > h3 {
        position: static;
        display: block;
        width: 100%;
        height: 2.5rem;
        font-size: 1.125rem;
        line-height: 2.5rem;
        background: #f5f5f5;
    }
    .survey-wrapper > h3 > strong {
        font-weight: 500;
        text-align: center;
    }
    .survey-wrapper > h3 > strong > span {
        display: inline;
    }
    .survey-area {
        width: 100%;
    }
    .survey-box {
        min-height: 5.769rem;
        padding: 1.25rem 6.875rem 1.25rem 1.25rem;
        border-left: 0;
    }
    .survey-box .input-radio-wrapper {
        font-size: 1.063rem;
        padding: 1.25rem 0 1.25rem 0;
        /*padding: 1.25rem 0 1.25rem 2.5rem;*/
        margin-left: 0;
        row-gap: 0.751rem;
    }
    .survey-box .input-radio-wrapper .input-radio-area {
        width: 100%;
    }
    .survey-box > h5 {
        margin-left: 0;
        padding-left: 1.563rem !important;
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    .survey-box > h5 > .number {
        left: 0;
    }
    .survey-box > ul {
        margin-top: 4px;
    }
    .survey-box > ul > li {
        position: relative;
        margin-bottom: 0;
        padding-left: 35px;
    }
    .survey-box > ul > li > input[type="radio"] {
        position: absolute;
        top: 3px;
        left: 20px;
        width: 13px;
        height: 13px;
        background-size: 13px 26px;
    }
    .survey-box > ul > li > input[type="radio"]:checked {
        background-position: 0 -13px;
    }
    .survey-box > ul > li > input[type="radio"] + label {
        margin-left: 5px;
        font-size: 14px;
        line-height: 21px;
    }
    .survey-indent-box, .survey-indent-box02 {
        padding-left: 2.5rem;
    }
    .survey-indent-box > h5, .survey-indent-box02 > h5 {
        padding-left: 2.188rem !important;
    }
    .survey-indent-box {
        padding: 0.751rem 0.751rem 0.751rem 2.5rem;
    }
    .form-reason-wrapper {
        margin-top: -1.875rem;
        margin-left: 1.438rem;
        padding-left: 0;
        padding-right: 0.625rem;
        max-width: 100%;
    }
    .form-reason-wrapper:before, .form-reason-wrapper:after {
        display: none;
        font-size: 0;
    }
    .form-reason-wrapper > label {
        position: relative;
        display: block;
        padding-left: 9px;
        margin-bottom: 6px;
        font-size: 1.063rem;
        line-height: 20px;
    }
    .form-reason-wrapper > textarea {
        height: 5.769rem;
        padding: 0.625rem;
        font-size: 1.063rem;
        line-height: 140%;
        text-indent: 0;
        margin-left: 0.625rem;
        margin-top: 0.385rem;
    }
    .radio-swhitch-wrapper {
        right: 0.751rem;
        width: 4.688rem;
        height: auto;
        margin-top: -2.5rem;
    }
    .radio-swhitch-area {
        float: none;
        margin-right: 0;
        margin-bottom: -1px;
    }
    .radio-swhitch-area > input[type="radio"] + label {
        width: 100%;
        height: 2.5rem;
        font-size: 0.938rem;
    }
    .radio-swhitch-area:nth-of-type(1) > input[type="radio"] + label {
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        border-bottom-left-radius: 0;
    }
    .radio-swhitch-area:nth-of-type(2) > input[type="radio"] + label {
        border-top-right-radius: 0;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
    }
    .survey-textarea {
        padding: 1.25rem 0.751rem;
    }
    .survey-textarea > textarea {
        padding: 0.625rem;
        font-size: 1.063rem;
        line-height: 140%;
    }
    .word-confirmed {
        font-size: 1.333rem;
    }    
    .board-view .board-view-list>dl {
        font-size: 1rem;
        line-height: 1.462rem;
        padding: 1.154rem 1.154rem 1.154rem 1.154rem;
    }
    .board-view .board-view-list>dl dt {
        flex: 0 0 6rem;
        font-size: 1rem;
        line-height: 1.462rem;
    }
    .board-view .board-view-list>dl dd {
        height: auto;
    }
    .board-view-list + .preview-next a:first-of-type {
        margin-top: 4.167rem;
    }
    
}