@charset "utf-8";

/* 서브공통 */
body{word-break: keep-all;}
.sub_1400{width: 1400px; margin: 120px auto 0;}
.sub_visual{height: 320px; background: url(/img/sub_visual_other.png) no-repeat center center;}
.sub_visual.m01{height: 320px; background: url(/img/sub_visual_01.png) no-repeat center center;}
.sub_visual.m02{height: 320px; background: url(/img/sub_visual_02.png) no-repeat center center;}
.sub_visual.m03{height: 320px; background: url(/img/sub_visual_03.png) no-repeat center center;}
.sub_visual.m04{height: 320px; background: url(/img/sub_visual_04.png) no-repeat center center;}
.sub_visual.m05{height: 320px; background: url(/img/sub_visual_05.png) no-repeat center center;}
@keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes fadeInUpPlace {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 0.8;
      transform: translateY(0);
    }
  }
.sub_visual .sub_title,.sub_visual .place{opacity: 0;animation: fadeInUp 0.8s ease-out forwards;}
.sub_visual .sub_title{color: white;line-height: 1; padding-top: 120px; margin-bottom: 24px; font-size: 52px; text-align: center; font-family: 'eacfont-700';animation-delay: 0.2s;}
.sub_visual .place{color: white; opacity: 0; text-align: center; font-size: 16px;animation-delay: 0.5s;animation: fadeInUpPlace 0.8s ease-out forwards;animation-delay: 0.5s;}
.dot_line{border-bottom: 1px dashed #ddd; width: 100%;margin: 120px 0 120px;}
.dot_line2{border-bottom: 1px dashed #ddd; width: 100%;margin: 32px 0 32px;}
.sub_gray{width: 100%; background: #eaeaea;padding: 120px 0 120px;}
.sub_gray .sub_1400{margin: 0 auto 0;}
.title32{font-size: 36px; font-family: 'eacfont-700';}
.mb24{margin-bottom: 24px !important;}
.mb52{margin-bottom: 52px !important;}
.mb80{margin-bottom: 80px !important;}
.text180{line-height: 1.8;}
.text180 b{color: #004798; display: block;}

@media screen and (max-width: 1460px){
  .sub_1400{width: calc(100% - 32px); margin: 120px 16px 0;}
}

@media screen and (max-width: 840px){
  .sub_visual .sub_title{font-size: 40px;padding-top: 80px;}
  .sub_visual{height: 240px !important;}
  .mb52{margin-bottom: 40px !important;}
  .sub_1400{margin-top: 80px;}
  .title32{font-size: 24px;}
  .dot_line{margin: 80px 0 80px;}
}

@media screen and (max-width: 500px){
  .sub_visual .sub_title{font-size: 32px;}
  .mb52{margin-bottom: 28px !important;}
  .dot_line{margin: 52px 0 52px;}
}

/* 병원소개 */
.sub_con.con1{padding: 240px 0 240px; background: url(./img/sub1_1_img2.png);}
.sub_con .title{font-size: 40px; text-align: center; color: white;}
.sub_con .title span{font-size: 18px; color: #4B9FFF; display: block;}
.sub_con.con2{background: url(./img/sub1_1_img1.png) no-repeat; background-size: cover; padding: 240px 0 240px;}
.sub_con.con2 .title{color: white;}
.sub_con.con2 .title span{color: #4B9FFF;}
.sub_con.con3{padding: 120px 0 120px;}
.sub_con.con3 .flex{display: flex; justify-content: center;margin-top: 16px;}
.sub_con.con3 .flex .box{width: 456px; height: 456px; border-radius: 50%; border: 2px solid #ddd; display: flex; flex-direction: column; justify-content: center;}
.sub_con.con3 .flex .box1{margin-right: -52px;}
.sub_con.con3 .flex .box3{margin-left: -52px;}
.sub_con.con3 .flex .box span:nth-child(1){font-family: 'eacfont-700'; color: black; font-size: 100px; line-height: 1.1;}
.sub_con.con3 .flex .box span:nth-child(2){color: #888; line-height: 1.1;margin-bottom: 52px;}
.sub_con.con3 .flex .box span:nth-child(3){font-family: 'eacfont-700';}

@media screen and (max-width: 1460px){
  .sub_con.con3{margin-left: 16px; margin-right: 16px;}
}

@media screen and (max-width: 1200px){
  .sub_con.con3 .flex .box{width: 40%; height: auto; aspect-ratio: 1 / 1;}
  .sub_con.con3 .flex .box span:nth-child(1){font-size: 80px;}
}

@media screen and (max-width: 840px){
  .sub_con.con3 .flex .box span:nth-child(1){font-size: 40px;}
  .sub_con.con3 .flex .box span:nth-child(2){margin-bottom: 24px;}
  .sub_con .title{font-size: 32px;}
  .sub_con.con1,.sub_con.con2{padding: 160px 0 160px; background-size: cover; background-position: center center;}
  .sub_con.con3{padding: 80px 16px 80px;}
  .sub_con .title span{margin-bottom: 12px;}
}

@media screen and (max-width: 500px){
  .sub_con.con3 .flex .box span:nth-child(1){font-size: 32px; margin-bottom: 0;}
  .sub_con.con3 .flex .box span:nth-child(2){margin-bottom: 4px;}
  .sub_con.con3 .flex .box1{margin-right: -24px;}
  .sub_con.con3 .flex .box3{margin-left: -24px;}
  .sub_con .title span{font-size: 16px;}
  .sub_con .title{font-size: 24px;}
  .sub_con .title br{display: none;}
  .sub_con.con1, .sub_con.con2{padding: 120px 16px 120px;}
}

/* 오시는길 */
.map_title{font-size: 40px;}
.map_title b{font-family: 'eacfont-700';}
.map_text{margin-bottom: 80px;}
.map_text span{display: inline-block;}
.map_text .blue{color: #004798; width: 120px;}
.map_text span:nth-child(1),.map_text span:nth-child(2){margin-bottom: 16px;}

@media screen and (max-width: 840px){
  .map_title{font-size: 32px;}
  .map_text span:nth-child(1), .map_text span:nth-child(2){margin-bottom: 8px;}
  .map_text{margin-bottom: 52px;}
}

@media screen and (max-width: 500px){
  .map_title{font-size: 24px;}
  .sub_1400:has(.map_text) iframe{height: 360px;}
  .map_text{margin-bottom: 40px;}
  .map_text .blue{display: block;}
  .map_text span, .map_text span{margin-bottom: 4px;}
}

/* 센터소개 */
.tab-menu{display: flex; list-style: none; padding: 0; gap: 16px; margin-bottom: 56px;}
.tab-menu li {cursor: pointer; border-bottom: 2px solid transparent; line-height: 60px; border: 1px solid #ddd; width: 100%; text-align: center;}
.tab-menu li.active{color: white; background: #004798; border-color: #004798;}
.slider-wrapper{display: none; margin-top: 20px; }
.slider-wrapper.active{display: block; }
.slide-item img{width: 100%; height: auto; }
button.slick-arrow{position: absolute; z-index: 9; top: calc(50% - 40px); border-radius: 0; border: 0; background: #ffffff80; width: 80px;font-family: 'FontAwesome'; color: white; height: 80px;}
button.slick-prev{left: 0; font-size: 0;}
button.slick-next{right: 0; font-size: 0;}
button.slick-prev::before{content: "\f053"; font-size: 16px;}
button.slick-next::before{content: "\f054"; font-size: 16px;}
ul.slick-dots{display: flex; justify-content: center; margin-top: -50px; gap: 12px; position: relative; z-index: 9;}
ul.slick-dots li button{padding: 0; border-radius: 6px; border: 0; font-size: 0; width: 12px; height: 12px;}
ul.slick-dots li.slick-active button{width: 40px;}

@media screen and (max-width: 840px){
  .tab-menu{flex-wrap: wrap;}
  .tab-menu li{line-height: 50px; width: calc(50% - 4px);}
  button.slick-arrow{width: 50px; height: 50px; top: calc(50% - 20px);}
  .tab-menu{margin-bottom: 40px; gap: 8px;}
}

@media screen and (max-width: 500px){
  ul.slick-dots{margin-top: -32px;}
}

/* 암치료 */
.tab_title{text-align: center; margin-bottom: 80px;}
.tab_title span{display: block; font-size: 16px; color: #888; margin-top: 16px; font-family: 'eacfont';}
.tab_menu{display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 120px;}
.tab_menu .box{width: calc((100% - (16px * 4)) / 5); border: 1px solid #ddd; display: inline-block; text-align: center;}
.tab_menu .box.active{border-color: #004798; background: #004798; color: white;}
.tab_menu .box.active a{color: white;}
.tab_menu .box a{text-decoration: none; line-height: 60px; display: block;}
.tab_body{position: relative;}
.tab_body .flex{display: flex; gap: 16px;}
.tab_body .flex .right{width: 100%; background: #eaeaea; padding-top: 140px; font-size: 100px; font-family: 'eacfont-700'; text-align: right; line-height: 1; color: rgba(0, 0, 0, 0.1);}
.tab_body .white_box{position: absolute; z-index: 1; left: 370px; top: 230px;padding: 32px 0 0 32px; background: white; height: 153px;}
.tab_body .white_box span{display: block; color: #888; font-family: 'eacfont'; font-size: 14px; margin-top: 16px;}
.tab_body .tab_title{text-align: left;}
.tab_body .tab_title span{display: block; color: #888; font-family: 'eacfont'; font-size: 14px; margin-top: 16px;}
.tab_body .step{background: #f7f7f7; padding: 40px 48px 40px; border-radius: 24px;}
.tab_body .step span{color: #004798; font-family: 'eacfont-700'; display: block; margin-bottom: 16px;}
.tab_body .flex2{gap: 16px; display: flex; flex-direction: column; margin-bottom: 120px;}
.tab_body .flex3{display: flex; gap: 52px;}
.tab_body .flex3 .right{display: flex; flex-direction: column; justify-content: space-between;}
.tab_body .flex3 .right .text1_1{line-height: 1; margin-bottom: 32px;}
.tab_body .flex3 .right .text2_1{font-size: 18px; font-family: 'eacfont-700'; line-height: 1; margin-bottom: 16px; color: #004798;}
.tab_body2 .flex{display: flex; gap: 16px; margin-bottom: 80px;}
.tab_body2 .flex.last,.tab_body3 .flex.last{margin-bottom: 0;}
.tab_body2 .flex .box,.tab_body7 .flex .box,.tab_body8 .flex .box{border-radius: 24px; padding: 116px 0 52px; text-align: center; border: 2px solid #004798; width: 100%;transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;}
.tab_body2 .flex .box:hover{box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);transform: translateY(-5px);}
.tab_body2 .flex .box1{background: url(./img/sub2_2_img1.png) no-repeat top 52px center;}
.tab_body2 .flex .box2{background: url(./img/sub2_2_img2.png) no-repeat top 52px center;}
.tab_body2 .flex .box3{background: url(./img/sub2_2_img3.png) no-repeat top 52px center;}
.tab_body2 .flex .box4{background: url(./img/sub2_2_img4.png) no-repeat top 52px center;}
.tab_body2 .flex2,.tab_body3 .flex,.tab_body5 .flex2,.tab_body7 .flex2{display: flex; gap: 52px; background: #f7f7f7; padding: 52px; margin-bottom: 16px; border-radius: 24px;}
.tab_body2 .flex2 .right{display: flex; flex-direction: column; justify-content: space-between;}
.tab_body2 .flex2 .right .text1_1, .tab_body3 .flex .box .text1, .tab_body5 .flex2 .text1, .tab_body7 .flex2 .text1{line-height: 1; margin-bottom: 32px;}
.tab_body2 .flex2 .right .text2_1{font-size: 18px; font-family: 'eacfont-700'; line-height: 1; margin-bottom: 16px; color: #004798;}
.tab_body5 .flex{display: flex; gap: 52px;}
.tab_body5 .flex .right{display: flex; gap: 32px; flex-direction: column; justify-content: space-between;}
.tab_body5 .flex .right .text2{display: flex; gap: 16px;}
.tab_body5 .flex .right .text2 .box{width: 100%; text-align: center; background: #f7f7f7; border-radius: 24px; padding: 40px 0 40px;}
.tab_body5 .flex .right .text2 .box b{color: #004798; font-family: 'eacfont-700'; font-size: 18px; display: block; margin-bottom: 24px;}
.tab_body5 .tab_title,.tab_body8 .tab_title{text-align: left;}
.tab_body5 .flex2.last{margin-bottom: 0;}
.tab_body7 .flex{display: flex; gap: 16px; border-radius: 24px; margin-bottom: 80px;}
.tab_body7 .flex .box1{background: url(./img/sub2_7_img1.png) no-repeat top 52px center;}
.tab_body7 .flex .box2{background: url(./img/sub2_7_img2.png) no-repeat top 52px center;}
.tab_body7 .flex .box3{background: url(./img/sub2_7_img3.png) no-repeat top 52px center;}
.tab_body8 .flex{display: flex; gap: 16px; margin-bottom: 24px;}
.tab_body8 .flex .right{display: flex;gap: 16px; flex-wrap: wrap; width: 100%;}
.tab_body8 .flex .box{width: calc((100% - 16px) / 2);}
.tab_body8 .flex .box1{background: url(./img/sub2_8_img1.png) no-repeat top 52px center;}
.tab_body8 .flex .box2{background: url(./img/sub2_8_img2.png) no-repeat top 52px center;}
.tab_body8 .flex .box3{background: url(./img/sub2_8_img3.png) no-repeat top 52px center;}
.tab_body8 .flex .box4{background: url(./img/sub2_8_img4.png) no-repeat top 52px center;}
.tab_body8 .flex2{display: flex; gap: 16px;}
.tab_body8 .flex2 .text{background: #f7f7f7; text-align: center; font-family: 'eacfont-700'; line-height: 80px; border-radius: 24px; width: calc((100% - (16px *4)) / 5);}
.tab_body8 table{border-top: 2px solid #004798; width: 100%; border-spacing: 0;}
.tab_body8 table th, .tab_body8 table td{padding: 16px 0 16px; text-align: center; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd;}
.tab_body8 table tr th:last-child, .tab_body8 table tr td:last-child{border-right: 0; font-family: 'eacfont-700';}
.tab_body8 table tr th:last-child{color: #004798;}
.tab_body8 table th{background: #f7f7f7;}
.tab_body8 table th{background: #f7f7f7;}

@media screen and (max-width: 1460px){
}

@media screen and (max-width: 1200px){
  .tab_menu .box{width: calc((100% - (16px * 3)) / 4);}
  .tab_body2 .flex2, .tab_body3 .flex, .tab_body5 .flex2, .tab_body7 .flex2{flex-direction:column;}
  .tab_body2 .flex2 .right .text2_1{margin-top: 16px; margin-bottom: 4px;}
  .tab_body5 .flex{align-items: flex-start;flex-wrap: wrap; justify-content:center;}
  .tab_body5 .flex img:first-child{aspect-ratio: 1 / 1;}
}

@media screen and (max-width: 840px){
  .tab_menu .box{width: calc((100% - (8px)) / 2);}
  .tab_menu .box:last-child{width: 100%;}
  .tab_menu{gap: 8px; margin-bottom: 80px;}
  .tab_title,.tab_body2 .flex{margin-bottom: 52px;}
  .tab_menu .box a{line-height: 50px;}
  .tab_body2 .flex{flex-wrap: wrap; gap: 8px;}
  .tab_body2 .flex .box, .tab_body7 .flex .box, .tab_body8 .flex .box{width: calc(50% - 8px); padding: 96px 0 32px; background-position: top 40px center;}
  .tab_body2 .flex2 .left img{width: 100%;}
  .tab_body2 .flex2, .tab_body3 .flex, .tab_body5 .flex2, .tab_body7 .flex2{padding: 40px;}
  .tab_body5 .flex img:first-child{width: 70%;}
  .tab_body5 .flex .right .text2{flex-wrap: wrap; gap: 8px;}
  .tab_body5 .flex .right .text2 .box{width: calc(50% - 4px);}
}

@media screen and (max-width: 500px){
  .tab_menu{gap: 8px; margin-bottom: 52px;}
  .tab_title,.tab_body2 .flex{margin-bottom: 40px;}
  .tab_body2 .flex2, .tab_body3 .flex, .tab_body5 .flex2, .tab_body7 .flex2{border-radius: 16px; gap: 40px; padding: 24px;}
  .tab_body2 .flex2 .right .text1_1, .tab_body3 .flex .box .text1, .tab_body5 .flex2 .text1, .tab_body7 .flex2 .text1{margin-bottom: 24px;}
  .tab_body5 .flex img:first-child{width: 100%;}
  .tab_body5 .flex .right .text2 .box{width: 100%; padding: 24px 0 24px;}
}

/* 암식이 */
.diet_title b, .memory_title b{font-size: 32px; line-height: 1; margin-bottom: 16px; display: block; color: black; font-family: 'eacfont-700';}
.diet_flex{display: flex; gap: 16px;flex-wrap: wrap;}
.diet_flex .box{background: #f7f7f7; border-radius: 24px; text-align: center; padding: 32px 16px 32px; width: calc((100% - 16px) / 2);}
.diet_flex .box b{display: block; color: #004798; font-size: 18px; font-family: 'eacfont-700'; margin-bottom: 16px;}
.diet_flex2{display: flex; gap: 16px;}
.diet_flex2 .box{line-height: 80px; background: #eaeaea; text-align: center;}
.diet_flex2 .box img{display: block;}

@media screen and (max-width: 1460px){
  #container:has(.diet_title ) #bo_gall #gall_ul{margin: 0 6px 0 6px;}
}

@media screen and (max-width: 840px){
  .diet_flex .box{width: 100%; padding: 24px 8px 24px;}
  #container:has(.diet_title ) #bo_gall #gall_ul{display: flex; flex-wrap: wrap; gap: 8px; margin: 0 16px 0 16px;}
  #container:has(.diet_title ) .gall_row .col-gn-3{width: calc(50% - 4px); padding-left: 0; padding-right: 0;}
  #container:has(.diet_title ) #bo_btn_top{display: none;}
  #container:has(.diet_title ) #bo_gall .gall_box{margin-bottom: 0;}
  #container:has(.diet_title ) #bo_gall .bo_tit{line-height: 40px;}
  #container:has(.diet_title ) #bo_v_title .bo_v_tit{font-size: 24px;}
}

/* 치매 */
.memory_title{margin-bottom: 120px;}
.memory .flex{display: flex; gap: 16px; flex-direction: row; flex-wrap: wrap;}
.memory .flex .box{background: #f7f7f7; border-radius: 24px; padding: 40px; width: calc(50% - 8px);}
.memory .flex .box b{color: #004798; font-family: 'eacfont-700'; font-size: 18px; display: block; margin-bottom: 16px;}
.memory .flex2{display: flex; gap: 16px; margin-bottom: 120px;}
.memory .flex2 .box{border: 2px solid #004798; border-radius: 24px; padding: 116px 0 52px; text-align: center; width: 100%;transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;}
.memory .flex2 .box1{background: url(./img/sub3_img1.png) top 52px center no-repeat;}
.memory .flex2 .box2{background: url(./img/sub3_img2.png) top 52px center no-repeat;}
.memory .flex2 .box3{background: url(./img/sub3_img3.png) top 52px center no-repeat;}
.memory .flex2 .box4{background: url(./img/sub3_img4.png) top 52px center no-repeat;}
.memory .flex2 .box5{background: url(./img/sub3_img5.png) top 52px center no-repeat;}
.memory .flex3{display: flex; gap: 16px;flex-wrap: wrap;}
.memory .flex3 .box{border-radius: 24px; background: #eaeaea; text-align: center; line-height: 80px; font-family: 'eacfont-700'; width: calc((100% - (16px * 3)) / 4);}
.memory .flex4{display: flex; gap: 16px;}
.memory .flex4 .box{padding: 56px 0 56px; text-align: center; border-radius: 24px; border: 1px solid #ddd; width: calc((100% - 16px - 16px) / 3);transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;}
.memory .flex4 .box:hover, .memory .flex2 .box:hover{box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);transform: translateY(-5px);}
.memory .flex4 b{font-family: 'eacfont-700'; line-height: 1; display: block; font-size: 18px;}
.memory .flex4 b span{color: #004798; display: block; margin-bottom: 16px;}
.memory .flex4 .line24{display: block; width: 24px; border-bottom: 2px solid #ddd; margin: 32px auto 32px;}
.memory .flex4 .box .blue{line-height: 1; font-size: 12px; color: #004798; margin-top: 16px;}
.memory .flex5{display: flex; gap: 16px; margin-top: 56px;}
.memory .flex5 img{width: calc(50% - 8px); height: auto;}

@media screen and (max-width: 840px){
  .memory_title{margin-bottom: 80px;}
  .memory .flex{gap: 8px;}
  .memory .flex .box{width: calc(50% - 4px); padding: 32px; border-radius: 16px;}
  .memory .flex2{gap: 8px; flex-wrap: wrap; margin-bottom: 80px;}
  .memory .flex2 .box{width: calc((100% - 16px) / 3); border-radius: 16px; padding: 96px 0 32px; background-position:  top 36px center;}
  .memory .flex2 .box:nth-child(4),.memory .flex2 .box:nth-child(5){width: calc(50% - 8px);}
  .memory .flex3{gap: 8px;}
  .memory .flex3 .box{width: calc(50% - 4px); border-radius: 16px;}
  .memory .flex4{flex-direction: column; gap: 8px;}
  .memory .flex4 .box{width: 100%; padding: 40px 0 40px; border-radius: 16px;}
  .memory .flex5{margin-top: 40px; gap: 8px;}
}

@media screen and (max-width: 500px){
  .memory_title{margin-bottom: 52px;}
  .memory .flex .box{padding: 24px;}
  .memory .flex .box{width: 100%;}
  .memory .flex2{margin-bottom: 52px;}
  .memory .flex2 .box{width: calc(50% - 4px);}
  .memory .flex2 .box:last-child{width: 100%;}
  .memory .flex4 .box{padding: 32px 0 32px;}
  .memory .flex5{margin-top: 32px; flex-direction: column;}
  .memory .flex5 img{width: 100%;}
  .memory .flex3 .box{width: 100%; line-height: 56px;}
}

/* 입퇴원안내 */
.inout .flex{display: flex; gap: 16px; margin-bottom: 120px;}
.inout .flex .box{width: 100%; background: #f7f7f7; border-radius: 24px; padding: 40px; text-align: center;}
.inout .flex .box *{display: block;}
.inout .flex .box b{margin: 32px auto 16px; font-family: 'eacfont-700'; color: #004798; font-size: 18px;}
.inout .title32 span{display: block; margin: 16px 0 120px; font-family: 'eacfont'; font-size: 16px;}
.inout img.eating{margin-top: 52px; margin-bottom: 16px; border-radius: 24px;}
.inout .flex2{display: flex; gap: 16px;}
.inout .flex2 .box{width: 100%; background: #eaeaea; text-align: center; padding: 40px 0 40px; border-radius: 24px;}
.inout .flex2 .box b{font-family: 'eacfont-700'; color: #004798; display: block; margin-bottom: 16px; font-size: 18px;}
.inout ul li{line-height: 24px; background: url(./img/check.png) no-repeat top left; padding-left: 40px; display: block; margin-bottom: 16px;}
.inout .flex3{margin-bottom: 0;}
.outpatient table{border-top: 2px solid #004798; width: 100%; border-spacing: 0; margin-bottom: 16px;}
.outpatient table th, .outpatient table td{padding: 16px 0 16px; text-align: center; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd;}
.outpatient table tr th:last-child, .outpatient table tr td:last-child{border-right: 0;}
.outpatient table th{background: #f7f7f7;}
.outpatient table tr th:nth-child(1),.outpatient table tr th:nth-child(2){width: 20%;}
.form table{border-top: 2px solid #004798; width: 100%; border-spacing: 0; margin-bottom: 16px;}
.form table th, .form table td{padding: 16px 0 16px; text-align: center; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd;}
.form table tr th:last-child, .form table tr td:last-child{border-right: 0;}
.form table th{background: #f7f7f7;}
.form table tr td:last-child{text-align: right; padding-right: 24px;}
.form table tr:has(td:hover){background: #f7f7f7;}

@media screen and (max-width: 1460px){
  .inout .flex{flex-wrap: wrap;}
  .inout .flex .box{width: calc(50% - 8px); text-align: center;}
  .inout .flex .box img{margin: 0 auto 0;}
  .inout img.eating{width: 100%;}
}

@media screen and (max-width: 1200px){
}

@media screen and (max-width: 840px){
  .inout .flex{gap: 8px; margin-bottom: 80px;}
  .inout .flex2{gap: 8px;}
  .inout .flex .box{padding: 32px; border-radius: 16px; width: calc(50% - 4px);}
  .inout .flex .box img{width: 100%;}
  .inout img.eating{margin-top: 32px; margin-bottom: 8px; border-radius: 16px;}
  .inout .flex2 .box{border-radius: 16px; padding: 32px 0 32px;}
  .inout .title32 span{margin-bottom: 80px;}
  .form table td{padding: 16px 4px 16px !important;letter-spacing: -1px;}
  .form table td:nth-child(2){word-break: break-all;}
}

@media screen and (max-width: 500px){
  .inout .flex .box{padding: 24px;}
  .inout img.eating{margin-top: 24px;}
  .inout .flex{flex-direction: column; margin-bottom: 52px;}
  .inout .flex2{flex-direction: column;}
  .inout .flex .box{width: 100%;}
  .inout .flex2 .box{width: 100%; padding: 24px 0 24px;}
  .inout .title32 span{margin-bottom: 52px;}
  .inout .flex .box b{margin: 16px auto 8px;}
  .inout .flex2 .box b{margin-bottom: 4px;}
  .outpatient table th, .outpatient table td{word-break: break-all; letter-spacing: -1px;}
}

/*이용약관*/
table.priv{border-spacing: 0; border-top: 2px solid #333; margin-top: 24px; width: 100%;}
table.priv td,table.priv th{border-bottom: 1px solid #ddd; border-right: 1px solid #ddd; padding: 8px; text-align: center;}
table.priv td:last-child,table.priv th:last-child{border-right: 0;}
table.priv th{background: #f7f7f7;}

@media screen and (max-width: 840px){
  table.priv td,table.priv th{word-break: break-all;}
}
