@charset "utf-8";
@media (max-width: 1640px) {
    /* main */
    .main-clinic-boxes {width: 100%; margin: 0; padding: 0 80px;}
}
@media (max-width: 1460px) {
	/* header */
    .sitelogo img {height: 60px;}
    #gnb>ul {margin-right: 0;}
	/* main */
    
	/* footer */
	/* layout */
    .scroll-top span:before {width: 16px; height: 9px;}
    .sub-visual {height: 300px;}
	/* content */
    .sec-hospital-schedule span, .deco-tit span {margin-bottom: 12px; gap: 6px;}
    .greeting-tag span:before, .greeting-tag span:after, .sec-hospital-schedule span:before, .sec-hospital-schedule span:after, .deco-tit span:before, .deco-tit span:after {width: 10px; height: 10px;}
    .dot-list li {padding-left: 12px;}
	/* board */
}
@media (max-width: 1280px) {
    :root {
        --box-shadow01 : 0 0 10px rgba(0, 0, 0, 0.2);
        --box-shadow02 : 0 0 10px rgba(0, 0, 0, 0.2);
    }
	/* header */
    .sitelogo img {height: 50px;}
    #header .sitelogo {margin-left: 0;}
    #gnb>ul>li {padding: 0 22px;}
    #gnb>ul>li>a:after {height: 4px;}
    #gnb .submenu>ul>li>a {padding: 4px 0;}
	/* main */
    .main-visual .slick-arrow, .main-anorectal-boxes .slick-arrow, .main-colon-arrows .slick-arrow, .main-clinic-boxes .slick-arrow, .main-doctor-arrows .slick-arrow, .main-facility-arrows .slick-arrow {width: 50px; height: 50px; margin-top: -25px;}
	.main-anorectal-boxes .slick-slide,
    .main-colon-boxes .slick-slide,
    .main-clinic-boxes .slick-slide  {padding: 0 10px;}
    .main-colon-boxes .slick-list,
    .main-clinic-boxes .slick-list  {margin: 0 -10px;}
    .main-anorectal-box .icon img {height: 74px;}
    .main-doctor-arrows {gap: 10px;}
    
    /* footer */
	/* layout */
    .scroll-top {font-size: 13px;}
    .scroll-top span:before {margin-bottom: 6px;}
    .path-wrap .home a {width: 60px;}

	/* content */
    .greeting-tag strong:before {width: 100px;}
    .symbolism-group-tit {width: 200px;}
    .txt-with-icon .icon img {max-height: 80px;}
    .flex-txt-photo .txt br {display: none;}
    .chk-border-list h3:before {width: 23px; height: 23px;}
    .large-border-box.flex-boxes .group {width: 100%;}
    .treatment-flex-cnt .img {max-width: 45%;}
    .treatment-group-cnt .icon img,
    .page-chkup .clinic-num-box .right-icon img {height: 60px;}
    .large-border-box.flex-boxes .group .img {width: 22.7618%;}

	/* board */
    .board-list table thead th,
    .board-list table tbody td {height: 54px;}
}
/* Landscape tablet */
@media (max-width: 1024px) {

	:root {
		--header-height: 80px;
	}
	/* header */
	#gnb {display: none;}
	.btn-m-menu,
	.mobile-navigation {display: block;}
	#header .sitelogo {margin-left: 0; max-width: calc(100% - 50px);}
	#header .sitelogo img {max-width: 100%; height: auto; max-height: 50px;}
	/* main */
    .main-visual .slick-dots li {width: 25px; height: 25px;}
    .main-visual .slick-dots button {width: 8px; height: 8px;}
    .main-anorectal-boxes {padding: 0 60px;}
    .main-anorectal-box .icon img {height: 60px;}
    .main-doctor-photo .img {width: 80%;}
	/* footer */
    .f-body .contain {flex-direction: column; align-items: flex-start;}
	/* layout */
	/* content */
    .greeting-txt {width: 60%;}
    .sec-doctor {gap: 25px;}
    .admission-box .icon img {height: 40px;}
    .page-sameday-surgery .large-num-list {width: 60%;}
    .flex-txt-wrap .icon img,
    .txt-with-icon .icon img {height: 60px;}
    .flex-txt-photo .img {max-width: 40%;}
    .chk-border-list h3:before {width: 20px; min-width: 20px; height: 20px;}
    .four-items .item {width: calc((100% - 26px) / 3);}
    .five-items {justify-content: center;}
    .clinic-num-boxes {flex-wrap: wrap;}
    .clinic-num-box {flex: 1 1 auto;}
    .clinic-num-box {width: calc(50% - 13px);}
    .treatment-flex-cnt .img {max-width: 35%;}
    .treatment-group-cnt .icon img, .page-chkup .clinic-num-box .right-icon img {height: 52px;}
    .treatment-flex-cnt {gap: 35px;}
    .large-border-box .dot-list li {min-width: max-content;}
    .page-chkup .clinic-num-box p {max-width: calc(100% - 80px);}

	/* board */
	.input {padding:5px 14px; height:40px;}
	textarea.input {padding:12px 14px;}

	.board-search .search input.input {width:240px;}

    .board-form table th {font-size: 16px;}
    .board-form table .input {border-radius: 5px;}

	.board-list colgroup col {width:auto !important;}
	.board-list table thead th {font-size:15px;}
	.board-list table tbody td {font-size:15px;}

	.gallery-list ul li .tit {font-size:15px;}

	.news-list .thumb {width:200px;}
	.news-list .tit {font-size:17px;}
	.news-list .txt {font-size:14px;}
	.news-list .date {font-size:13px;}

	.event-list ul li .tit {font-size:15px;}

	.faq .tit {font-size:15px;}
	.faq .tit a {padding:9px 60px 9px 12px;}
	.faq .tit a:after {top:14px;}
	.faq .q {flex:0 0 32px; width:32px; height:32px; font-size:16px; line-height:32px;}
	.faq .cnt {padding:18px 25px 18px 60px;}

	.calendar-head h3 {font-size:28px; margin:0 30px;}
	.calendar-head .cal-btn {width:40px; height:40px;}
	.calendar table th {font-size:15px;}
	.calendar table td {height:110px; font-size:14px;}
	.calendar ul li:before {top:7px;}

	.board-white table {font-size:15px;}

	.board-form table {font-size:15px;}

	.files-upload-text .upfiles-alt {font-size:14px;}

	.board-view-tit {padding:14px 6px;}
	.board-view-tit h3 {font-size:18px;}
	.board-view-info {padding:13px 6px; font-size:13px;}
	.board-view-cnt {padding:15px 6px 40px;}

	.board-prev-next {font-size:14px;}

	.btn-pack.medium {height:40px; padding:0 16px; font-size:15px; line-height:38px;}
	.btn-pack.large {min-width:140px; height:50px; font-size:18px; line-height:48px;}

	.product-list ul li {width:25%;}
	.product-list ul li .tit {font-size:15px;}
	.product-image {width:350px;}
	.product-info .tit {font-size:25px;}

	.store-search {padding:22px 5%;}
	.store-search .map-area {width:280px;}
	.store-search .map-img .local {padding:0 10px; font-size:13px; line-height:22px;}

	.result-group .gall li {width:25%;}

	/* member */
	.agree-wrap .agree-tit {font-size:18px;}

	/* shop */
	.goods-cate-wrap .depth ul li {padding:6px 20px;}
	.goods-cate-wrap .depth ul li a {font-size:14px;}

	.goods-sort .total {font-size:13px;}
	.goods-sort .sort ul li a {font-size:13px;}

	.goods-list ul li .tit {font-size:18px;}

	.goods-photo {width:45%;}
	.goods-info .table table tbody th {padding:10px 0; font-size:14px;}
	.goods-info .table table tbody td {padding:10px 0; font-size:14px;}
	.goods-info .btns .row {margin:0 -3px;}
	.goods-info .btns .col {padding:0 3px;}
	.goods-info .btns .btn {font-size:15px; line-height:48px;}
	.goods-info .btns .btn img {height:48px;}

	.shop-guide .tit {padding:14px 18px; font-size:14px;}
	.shop-guide .tit h4 {width:130px; font-size:16px;}
	.shop-guide .cnt {font-size:14px;}
	.shop-guide .qa dl {padding:18px 18px;}
	.shop-guide .qa dt {width:220px;}

	.goods-detail-table {font-size:14px;}
	.goods-detail-table th {padding:10px;}
	.goods-detail-table td {padding:10px;}

	.total-price {padding:30px; font-size:15px;}
	.total-price h3 {font-size:20px;}

}

/* portrait tablet */
@media (max-width: 900px) {
	.only-desktop {display:none;}
	.only-tablet {display:block;}

	/* header */
	/* main */
    .main-doctor-cnt .contain {flex-direction: column; gap: 30px;}
    .main-doctor-profile, .main-doctor-photo {width: 100%;}
    .main-doctor-photo .img {width: 60%; left: auto; right: 0; transform: none;}
    .main-notice-cnt {flex-direction: column; gap: 20px;}
    .main-notice-date {padding: 10px 12px;}
    .main-shortcut-box .txt:after {width: 32px; height: 10px;}
	/* footer */
    .f-time .icon img {height: 40px;}
	/* layout */
    .sub-visual {height: 220px; font-size: 16px;}
    .sub-visual h2 {font-size: 30px;}
	/* content */
    .sec-greetings .contain,
    .sec-symbolism .contain,
    .page-sameday-surgery,
    .small-num-list,
    .sec-clinic-welcome, 
    .sec-clinic-welcome .contain,
    .sec-causes .flex-txt-photo,
    .sec-flex-groups .contain,
    .sec-therapy .group,
    .large-border-box.flex-boxes .group {flex-direction: column;}
    .greeting-txt,
    .symbolism-cnt,
    .page-sameday-surgery .large-num-list {width: 100%;}
    .symbolism-cnt {padding-top: 20px;}
    .hospital-room-cnt .group:last-child {flex-direction: column-reverse;}
    .admission-box,
    .clinic-num-box {width: 100%;}
    .small-num-list {gap: 6px;}
    .sec-clinic-welcome .txt {padding-top: 0;}
    .sec-clinic-welcome h2 {margin-bottom: 15px;}
    .flex-txt-wrap .icon img, .txt-with-icon .icon img {height: 50px;}
    .flex-txt-wrap br {display: none;}
    .sec-causes .flex-txt-photo .txt {max-width: 100%;}
    .four-items .item {width: calc((100% - 13px) / 2);}
    .five-items .item {width: calc((100% - 12px * 2) / 3);}
    .sec-therapy .group .small-tit,
    .large-border-box.flex-boxes .group .small-tit {margin-bottom: 10px;}
    .sec-therapy .img, .large-border-box.flex-boxes .group .img {width: 50%;}
    .sec-therapy .group:not(:last-child),
    .large-border-box.flex-boxes .group:not(:last-child) {margin-bottom: 30px;}
    .treatment-flex-cnt {flex-direction: column;}
    .treatment-flex-cnt .img {max-width: 50%;}
    .large-border-box .dot-list li {width: 100%;}

	/* board */
    .btn-pack.xlarge {height: 54px; line-height: 54px;}
	.gallery-list ul {margin:0 -10px;}
	.gallery-list ul li {width:33.33333333%; padding:0 10px;}

	.event-list ul li {width:50%;}

	.store-search {padding:30px; margin-bottom:30px;}
	.store-search .map-area {display:none;}
	.store-search .search-area h3 {text-align:center; margin-bottom:30px;}

	/* member */

	/* shop */

}

/* Landscape phone */
@media (max-width: 640px) {
	.only-desktop-tablet {display:none;}
	.only-tablet {display:none;}
	.only-mobile {display:block;}
	:root {
		--header-height: 60px;
	}
	/* header */
    #header .sitelogo {margin-left: 0; max-width: calc(100% - 50px);}
    .sitelogo img {height: 42px; max-width: 100%;}
	/* main */
    .main-visual .caption {text-align: left;}
    .main-visual .caption .txt2 {min-width: max-content}
    .main-visual .slick-arrow {top: auto; transform: none; bottom: 20px; z-index: 80;}
    .main-visual .caption {padding: 0 20px;;}
    .main-visual .active .caption .txt2 {font-size: 16px;}
    .main-clinic-boxes {flex-direction: column; gap: 20px; padding: 0;}
    .main-notice-date strong {font-size: 18px;}
    .main-notice-date {font-size: 14px;}
    .main-shortcut {flex-direction: column; gap: 10px;}
    .main-colon:before {max-width: 72%;}
	/* footer */
	/* layout */
    /* 모바일 - 하단 고정 3분할 바 */
    #floatBanner {top:auto; bottom:0; left:0; right:0; flex-direction:row; gap:0; padding:0; background:#fff; border-top:1px solid #e5e5e5;}
    .float-btn {flex:1; width:auto; padding:10px 4px 8px; border:none; border-radius:0; border-right:1px solid #e5e5e5; font-size:12px;}
    .float-btn:last-of-type {border-right:none;}
    .float-btn:hover {background:#fff; color:#333;}
    .float-btn:hover .icon {color:inherit;}
    .float-btn.float-tel .icon {color:var(--primary-color);}
    .float-btn.float-reserve .icon {color:#03c75a;}
    .float-btn.float-blog .icon {color:#03c75a;}
    .float-btn .icon svg {width:22px; height:22px;}
    .float-btn .icon {margin-bottom:4px;}
    .scroll-top {display:none;}  /* 모바일에서 TOP 버튼 숨김 */
    body {padding-bottom:60px;}   /* 하단 바에 콘텐츠 가려짐 방지 */
    .path-wrap .home a {width: 44px;}

	/* content */
    .symbolism-cnt .group {flex-direction: column; gap: 20px;}
    .sec-symbolism .contain:before {max-width: 80%;}
    .sec-doctor {flex-direction: column;}
    .doctor-txt {padding-top: 0;}
    .doctor-img {width: 100%;}
    .endoscopy-boxes,
    .hospital-room-cnt .group.flex-wrap {flex-direction: column;}
    .hospital-room-list>ul {gap: 4px 0; margin: 0 -2px;}
    .hospital-room-list>ul>li {width: 50%; padding: 0 2px;}
    .hospital-tour-tit {flex-direction: column; gap: 10px; align-items: flex-start;}
    .hospital-tour-tit p {min-width: auto; width: 100%;}
    .sec-hospital-room:before {padding-bottom: 75%;}
    .table-wrap {overflow-x: auto; position: relative; width:100%;}
    .table-wrap table {width:700px;}
    .sec-clinic-welcome .img {max-width: 100%;}
    .small-num-list {padding-left: 15px; padding-right: 15px;}
    .large-num-list.type2 .num {min-width: 45px;}
    .treatment-imgs,
    .flex-txt-wrap,
    .sec-symptom-category .txt-with-icon,
    .three-items,
    .txt-with-icon.border-box,
    .txt-with-icon,
    .page-non-covered .sec {flex-direction: column;}
    .treatment-imgs .img,
    .four-items .item,
    .three-items .item,
    .chk-border-list .item,
    .two-items .item,
    .sec-therapy .img, .large-border-box.flex-boxes .group .img {width: 100%;}
    .flex-txt-photo {flex-direction: column-reverse;}
    .flex-txt-photo .img,
    .treatment-flex-cnt .img {max-width: 100%;}
    .five-items .item {width: calc((100% - 12px) / 2);}
    .large-border-box .dot-list li {min-width: auto;}
    .page-chkup .four-items {gap: 25px;}

	/* board */
	.input {font-size:14px; padding:0 10px; height:38px;}
	select.input {padding-right:26px; background-position:right 8px center; background-size:12px auto;}
	textarea.input {padding:7px 10px;}

	.board-search {display:flex; flex-direction:column; margin-bottom:10px;}
	.board-search .total-page {order:3; float:none; font-size:13px;}
	.board-search .cate {float:none; order:1; margin-left:0; margin-bottom:5px;}
	.board-search .cate .input {display:block; width:100%;}
	.board-search .search {float:none; order:2; display:flex;}
	.board-search .search .input {flex:1 1 auto; min-width:0; width:1%;}

	.board-list {display:none;}
	.board-list-m {display:block;}

	.gallery-list {padding-top:15px;}
	.gallery-list ul {margin:0 -7px;}
	.gallery-list ul li {width:50%; padding:0 7px; margin-bottom:27px;}
	.gallery-list ul li .thumb {margin-bottom:10px;}
	.gallery-list ul li .tit {font-size:14px;}
	.gallery-list ul li .date {font-size:12px; margin-top:4px;}

	.news-list ul li {padding:17px 0;}
	.news-list .thumb {width:38%; margin-right:14px;}
	.news-list .tit {font-size:15px; max-height:2.8em; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;}
	.news-list .txt {font-size:13px; margin-top:3px; max-height:3em; -webkit-line-clamp:2;}
	.news-list .date {display:none;}

	.event-list {padding-top:20px;}
	.event-list ul li {width:100%; margin-bottom:32px;}
	.event-list ul li .thumb {margin-bottom:10px;}
	.event-list ul li .tit {font-size:15px;}
	.event-list ul li .date {font-size:12px; margin-top:4px;}

	.faq .tit a {padding:7px 0 7px 5px;}
	.faq .tit a:after {display:none;}
	.faq .q {flex:0 0 26px; width:26px; height:26px; font-size:15px; line-height:26px; margin-right:10px;}
	.faq .cnt {padding:12px 12px 12px 15px;}

	.calendar-head {margin-bottom:15px;}
	.calendar-head h3 {font-size:20px; margin:0 17px;}
	.calendar-head .cal-btn {width:34px; height:34px; background-size:9px auto;}
	.calendar-head .cal-prev {background-image:url("../images/bbs/cal_prev_x2.png");}
	.calendar-head .cal-next {background-image:url("../images/bbs/cal_next_x2.png");}
	.calendar table th {padding:6px 4px; font-size:14px;}
	.calendar table td {height:60px; padding:5px 4px; font-size:12px;}
	.calendar ul li {padding-left:0; margin-bottom:6px;}
	.calendar ul li:before {display:none;}
	.calendar .cal-date {font-size:10px; margin-bottom:8px;}

	.board-white table {display:block; border-top:0; border-bottom:0; font-size:14px;}

	.board-white table tbody {display:block;}
	.board-white table tr {display:block; padding:12px 0;}
	.board-white table th {display:block; border:0; text-align:left; padding:0; margin-bottom:7px; font-size:16px; background:none;}
	.board-white table td {display:block; border:0; padding:0;}
	.board-white .editor {padding:0; margin-top:-12px;}
	.board-white .item {margin:3px 12px 3px 0;}
	.board-white #user_name {max-width:100% !important;}
	.board-white + .buttons {margin-top:30px;}

	.board-form table tbody {display:block;}
	.board-form table tr {display:block; padding:12px 0;}
	.board-form table th {display:block; border:0; text-align:left; padding:0; margin-bottom:7px; font-size:16px; background:none;}
	.board-form table td {display:block; border:0; padding:0;}
	.board-form + .buttons {margin-top:30px;}

	.form-agree {margin:30px 0 30px;}
	.form-agree h3 {font-size:16px;}
	.form-agree .scroll-box {font-size:12px; max-height:110px; overflow:auto;}
	.form-agree .check {margin-top:12px; font-size:14px;}

	.board-view-tit h3 {font-size:17px;}
	.board-view-info {font-size:12px;}

	.board-prev-next dl {padding:10px 6px;}
	.board-prev-next dt {width:70px}

	.buttons {margin:15px 0;}

	.btn-pack.small {height:26px; padding:0 8px; font-size:11px; line-height:24px;}
	.btn-pack.medium {height:38px; padding:0 14px; font-size:14px; line-height:36px;}
	.btn-pack.large {min-width:120px; height:42px; padding:0 18px; font-size:15px; line-height:40px;}
	.btn-pack.xlarge {min-width:120px; height:50px; padding:0 22px; font-size:16px; line-height:48px;}
	.btn-pack.comment {width:80px; height:32px; font-size:14px;}

	.paginate {margin-top:20px;}
	.paginate a,
	.paginate strong{margin:0 1px;width:30px;height:30px;font-size:14px;line-height:30px;}
	.paginate a.direction {margin:0;}
	.paginate a.direction.prev {margin-right:14px;}
	.paginate a.direction.next {margin-left:14px;}

	.comment-area {margin-top:37px;}
	.comment-total {font-size:14px; margin-bottom:12px;}
	.comment-write {position:relative; padding:10px;}
	.comment-write .byte {position:absolute; bottom:15px; left:12px; font-size:12px;}
	.comment-write .write {display:block;}
	.comment-write .write textarea {display:block; width:100%; height:65px; margin-right:0;}
	.comment-write .write .btn {text-align:right; margin-top:6px;}
	.comment-item {padding:17px 4px;}
	.comment-item.comment-reply {padding-left:25px; background-image:url("../images/bbs/icon_reply_x2.png"); background-position:3px 18px; background-size:auto 13px;}
	.comment-info {font-size:14px;}
	.comment-info .name {margin-right:5px;}
	.comment-info .date {font-size:11px;}
	.comment-ctr {font-size:12px;}
	.comment-ctr .bar {vertical-align:middle; margin:-.2em 4px 0;}
	.comment-txt {font-size:14px;}
	.comment-link {font-size:13px;}
	.comment-input {padding:10px;}
	.comment-input textarea {height:48px;}

	.board-password {padding:30px 20px;}

	.product-list ul {margin:0 -7px;}
	.product-list ul li {width:50%; padding:0 7px; margin-bottom:27px;}
	.product-list ul li .thumb {margin-bottom:10px;}
	.product-list ul li .tit {font-size:14px;}
	.product-summary {display:block;}
	.product-image {width:100%; margin-bottom:20px;}
	.product-info {width:100%;}
	.product-info .tit {font-size:22px; padding-bottom:14px; margin-bottom:14px;}
	.product-detail {padding-bottom:25px; margin-bottom:25px;}
	.product-detail .tit {font-size:17px; padding-bottom:10px; margin-bottom:14px;}

	.store-search {padding:0;}
	.store-search .search-area h3 {font-size:16px; padding:15px 25px; margin-bottom:20px; background:#f4f4f4;}
	.store-search .search-area dl {display:block; padding:0 15px; margin:20px 0;}
	.store-search .search-area dl dt {width:auto; margin-bottom:6px; font-size:15px;}
	.store-search .search-area dl dd {width:auto;}
	.store-search .search-area input.input {width:calc(100% - 74px); margin-right:4px;}
	.store-search .search-area select.input {width:calc(50% - 39px); margin-right:4px;}
	.store-search .search-area .btn-pack.medium {width:70px;}

	.result-top {font-size:18px;}
	.result-group .gall {margin:0 -7px;}
	.result-group .gall li {width:50%; padding:0 7px;}
	.result-group dl dt {font-size:15px;}
	.result-group dl dd {font-size:13px;}
	.result-group dl dd.date {font-size:12px;}

	/* member */
	.login-tab {border-bottom-width:2px; margin-bottom:35px;}
	.login-tab ul {padding:0 1px;}
	.login-tab ul li {border-width:2px; margin:0 -1px;}
	.login-tab ul li a {font-size:16px; line-height:46px;}
	.login-content .group .input {height:48px; font-size:14px;}

	.sns-login .tit {margin-bottom:20px;}
	.sns-login .tit span {padding:0 20px;}
	.sns-login a {margin:0 8px}
	.sns-login img {width:44px;}

	.agree-wrap {margin-bottom:35px;}
	.agree-wrap .group {margin-top:30px;}
	.agree-wrap .agree-tit {font-size:16px;}
	.agree-wrap .agree-tit .checkbox label:before {background-image:url("../images/member/checkbox_x2.png"); background-size:11px auto;}
	.agree-wrap .agree-tit .checkbox input:checked + label:before {background-image:url("../images/member/checkbox_on_x2.png");}
	.agree-wrap .agree-box {margin-top:7px; max-height:130px; padding:10px 13px;}
	.agree-wrap .agree-box .terms-wrap {line-height:1.4em; word-break:break-all;}

	.terms-wrap .policy-contact {display:block; padding:0 15px;}
	.terms-wrap .policy-contact dl {border-left:0; padding:20px 5px; border-top:1px solid #e5e5e5;}
	.terms-wrap .policy-contact dl:first-child {border-top:0;}

	.join-form table tbody {display:block;}
	.join-form table tr {display:block; padding:12px 0;}
	.join-form table th {display:block; border:0; text-align:left; padding:0; margin-bottom:7px; font-size:16px; background:none;}
	.join-form table td {display:block; border:0; padding:0;}
	.join-form + .buttons {margin-top:30px;}
	.join-form .help-text {display:block; clear:both; padding-top:6px; margin-left:0; font-size:14px; line-height:1.5em;}
	.join-form #user_id {float:left; width:calc(100% - 90px) !important;}
	.join-form #user_id + .btn-pack {width:90px; text-align:center;}
	.join-form #user_pw,
	.join-form #user_pw2,
	.join-form #user_name {width:100% !important;}

	.join-complete .tit {font-size:22px; margin-bottom:20px;}
	.join-complete .txt {font-size:16px;}
	.join-complete .icon {width:110px; height:110px; background-size:48px;}

	.find-tab {border-bottom-width:2px; margin-bottom:35px;}
	.find-tab ul {padding:0 1px;}
	.find-tab ul li {border-width:2px; margin:0 -1px;}
	.find-tab ul li a {font-size:16px; line-height:46px;}
	.find-content .group .input {height:48px; font-size:14px;}
	.find-result {padding:30px 15px; font-size:16px;}
	.find-result h4 {font-size:19px;}
	.find-result .name {font-size:24px;}

	.member-leave .txt {margin-bottom:27px;}
	.member-leave .txt .tit {font-size:18px;}
	.member-leave .form {margin-bottom:35px; padding:35px 25px; font-size:15px;}
	.member-leave .form .group .label-tt {width:80px;}

	/* shop */
	.goods-cate-wrap {margin-bottom:20px;}
	.goods-cate-wrap .depth {padding:6px 0;}
	.goods-cate-wrap .depth ul li {padding:5px 12px;}
	.goods-cate-wrap .depth ul li:after {height:11px; margin-top:-5px;}
	.goods-cate-wrap .depth ul li a {font-size:12px;}

	.goods-sort {position:relative; z-index:10;}
	.goods-sort .sort {flex:0 0 auto; width:auto; text-align:left; position:relative;}
	.goods-sort .sort .sort-name {display:flex; align-items:center; border:1px solid #ddd; border-radius:5px; padding:4px 10px; font-weight:500; font-size:13px; line-height:1.5em;}
	.goods-sort .sort .sort-name:after {content:""; display:inline-block; vertical-align:top; margin-top:-.2em; margin-left:10px; transform:rotate(45deg); width:6px; height:6px; border-right:1px solid #505050; border-bottom:1px solid #505050;}
	.goods-sort .sort ul {display:none; position:absolute; margin-top:2px; right:0; padding:8px 10px; width:auto; background:#fff; border-radius:5px; border:1px solid #ddd;}
	.goods-sort .sort ul li {padding:0;}
	.goods-sort .sort ul li:after {display:none;}
	.goods-sort .sort ul li a {display:block; padding:4px; white-space:nowrap;}
	.goods-sort .sort.active ul {display:block;}

	.goods-list ul {margin:0 -4px;}
	.goods-list ul li {width:50%; padding:0 4px; margin-bottom:30px;}
	.goods-list ul li .thumb {margin-bottom:10px;}
	.goods-list ul li .tit {font-size:14px;}
	.goods-list ul li .price {font-size:14px;}
	.goods-list ul li .price2 {font-size:12px;}
	.goods-list ul li .soldout {font-size:18px;}

	.goods-summary {display:block; margin-bottom:40px;}
	.goods-photo {width:100%; margin:0 0 25px;}
	.goods-info {width:100%;}
	.goods-info .title h2 {font-size:20px;}
	.goods-info .title p {font-size:13px;}
	.goods-info .price-area .price {font-size:16px;}
	.goods-info .price-area .price strong {font-size:24px;}
	.goods-info .price-area .price2 {font-size:14px;}
	.goods-info .table table tbody th {font-size:13px; width:85px;}
	.goods-info .table table tbody td {font-size:13px;}
	.goods-info .btns {margin-bottom:10px;}
	.goods-info .btns .btn {line-height:40px; font-size:14px;}
	.goods-info .btns .btn img {height:40px;}
	.goods-info .total {margin:16px 0 20px; font-size:14px;}
	.goods-info .total .price {font-size:16px;}
	.goods-info .total .price strong {font-size:24px;}

	.add-opt-select {margin-bottom:5px;}
	.add-opt-select .select-input {padding:0 35px 0 12px; height:40px; font-size:14px; line-height:38px;}
	.add-opt-select .select-options {margin-top:0; bottom:39px;}
	.add-opt-select .select-options li {padding:11px 12px;}

	.add-options {max-height:230px; overflow:auto; margin-top:0;}
	.add-options > ul > li {padding:10px;}
	.add-options .opt-name .name {font-size:14px;}

	.cart-opt {position:fixed; bottom:0; left:0; width:100%; padding:5px 10px; background:#fcfcfc; border-top:1px solid #d8d8d8; z-index:100;}
	.cart-opt .opt-toggle {position:absolute; top:-19px; left:0; width:100%; height:19px; overflow:hidden; text-indent:-9999em; background:url("../images/shop/btn_view_cart_dropdonw.png") 50% 50% no-repeat; background-size:auto 100%;}
	.cart-opt .inner {display:none;}
	.cart-opt .btns.mobile-btn {display:block;}
	.cart-opt .table th {display:none;}
	.cart-opt .table td {border:0 !important; padding:0 !important;}
	.cart-opt.active {padding:14px 10px;}
	.cart-opt.active .opt-toggle {display:block;}
	.cart-opt.active .inner {display:block;}
	.cart-opt.active .btns.mobile-btn {display:none;}

	.relatied-goods {margin:0 -15px 40px; padding:0 15px; overflow:hidden;}
	.relatied-goods .goods-list {overflow:inherit;}
	.relatied-goods .goods-list ul li {padding:0 4px;}
	.relatied-goods .goods-list ul li .tit {font-size:14px; word-break:break-all;}
	.relatied-goods .goods-list ul li .price2 {font-size:12px;}
	.relatied-goods .slick-list {overflow: visible;}


	.goods-view-tab {margin-bottom:20px;}
	.goods-view-tab ul li {height:40px;}
	.goods-view-tab ul li a {font-size:13px;}

	.goods-content {margin-bottom:50px;}

	.goods-detail-tit {font-size:14px;}

	.goods-detail-table {font-size:12px;}
	.goods-detail-table th {padding:8px;}
	.goods-detail-table td {padding:8px;}

	.goods-sub-tit {margin-bottom:15px;}
	.goods-sub-tit p {font-size:12px;}

	.goods-guide .group {margin-bottom:40px;}
	.goods-guide .item {margin-bottom:20px;}
	.goods-guide h3 {font-size:17px; margin-bottom:12px;}

	.cart-all-select {padding:0 5px; margin-bottom:12px; font-size:14px;}

	.shop-table ul li {flex-wrap:wrap; padding:15px 5px; position:relative;}
	.shop-table .order-check {width:35px; order:1;}
	.shop-table .order-image {position:relative; width:45px; height:45px; overflow:hidden; margin-right:15px; order:2;}
	.shop-table .order-image img  {position:absolute; top:50%; left:0; transform:translateY(-50%); -ms-transform:translateY(-50%); -webkit-transform:translateY(-50%); width:100%; height:auto !important; max-width:100%; min-height:100%; object-fit:cover;}
	.shop-table .order-title {flex:0 0 auto; width:calc(100% - 110px); order:3;}
	.shop-table .order-title .tit {font-size:15px; margin-bottom:0;}
	.shop-table .order-title .opt {font-size:12px; margin-top:3px;}
	.shop-table .order-delete {position:absolute; top:15px; right:5px;}
	.shop-table .order-price {order:4; width:auto; margin:5px 0 0 0; text-align:left; margin-top:6px;}
	.shop-table .order-quantity {order:5; width:auto; display:flex; margin:5px 0 0 60px;}
	.shop-table .order-quantity .input {width:60px; height:26px; margin-bottom:0;}
	.shop-table .order-qnt {order:3; width:auto; text-align:left; margin:6px 15px 0 60px;}
	.shop-table .order-image + .order-title + .order-price {margin-left:60px;}
	.shop-table .order-check + .order-image + .order-title + .order-quantity + .order-price {margin-left:95px;}
	.shop-table .order-check + .order-image + .order-title + .order-quantity {margin-left:95px;}
	.shop-table .order-btn {order:10; display:flex; align-items:center; margin:10px 0 0 60px; text-align:left; width:calc(100% - 60px); font-size:12px;}
	.shop-table .order-btn p {width:calc(25% - 4px) !important}
	.shop-table .order-btn .btn-pack {width:calc(25% - 4px) !important; margin:0 2px !important;}

	.total-price {margin:20px 0; padding:20px; font-size:14px;}
	.total-price h3 {display:none;}
	.total-price ul {width:100%;}
	.total-price ul li {padding:13px 0;}
	.total-price + .buttons {margin-top:40px;}

	.order-info-title {margin:40px 0 8px;}
	.order-info-title h3 {font-size:16px;}
	.order-info-title .chk {font-size:12px;}

	.order-info-table colgroup col:nth-child(1) {width:100px !important;}
	.order-info-table tbody th {padding:6px 8px; height:40px; line-height:1.5em;}
	.order-info-table tbody td {padding:6px 8px; line-height:1.5em;}
	.order-info-table #orderName,
	.order-info-table #shipName,
	.order-info-table #bankType,
	.order-info-table #bankName,
	.order-info-table #bankDate {width:100% !important;}
	.order-info-table #orderPhone1,
	.order-info-table #orderPhone2,
	.order-info-table #orderPhone3,
	.order-info-table #orderMobile1,
	.order-info-table #orderMobile2,
	.order-info-table #orderMobile3,
	.order-info-table #shipPhone1,
	.order-info-table #shipPhone2,
	.order-info-table #shipPhone3,
	.order-info-table #shipMobile1,
	.order-info-table #shipMobile2,
	.order-info-table #shipMobile3 {width:calc(33.33333333% - 7px) !important;}

	.order-info {font-size:12px; line-height:1.5em; margin:15px 0;}

	.order-complete {padding:15px; font-size:14px;}
	.order-complete .item {display:block; margin:5px 0;}

	.order-date {padding:15px; font-size:14px; margin-top:35px;}
	.order-date .bar {display:block; width:100%; height:0; overflow:hidden; text-indent:-999em; margin:4px 0;}

}

/* Landscape phones and down */
@media (max-width: 320px) {

}
/* 태블릿 (1024px 이하) */
@media (max-width: 1024px) {
    .main-doctor-wrap {gap: 40px;}
    .main-location-wrap {gap: 30px;}
    .main-location-map #kakaoMap {min-height: 400px;}
}

/* 모바일 (640px 이하) */
@media (max-width: 640px) {
    .main-doctor,
    .main-faq,
    .main-location {padding: 60px 0;}

    /* 원장 소개 - 세로 배치, 프로필 블록을 화면 가운데로
       PC의 align-items:flex-end 가 컬럼에서 오른쪽(끝)으로 붙는 것을 막습니다.
       글 자체는 왼쪽 정렬을 유지합니다. */
    .main-doctor-wrap {flex-direction: column; gap: 30px; align-items: center;}
    .main-doctor-photo {flex: 0 0 auto; width: 100%;}
    .main-doctor-info {flex: 0 0 auto; width: max-content; max-width: 100%; margin: 0 auto; text-align: left;}
    .main-doctor-role {white-space: nowrap;}
    .main-doctor-career {width: 100%;}
    .main-doctor-career li {white-space: nowrap;}
    .main-doctor-name {font-size: 28px;}
    .main-doctor-role {font-size: 14px; padding: 6px 16px;}
    .main-doctor-career {padding: 20px 0;}
    .main-doctor-career li {font-size: 15px;}

    /* FAQ - 여백 축소 */
    .main-faq-question {padding: 18px 20px; gap: 12px;}
    .main-faq-question .q-mark {flex: 0 0 32px; width: 32px; height: 32px; font-size: 15px;}
    .main-faq-question .q-txt {font-size: 15px;}
    .main-faq-answer {padding: 0 20px 24px 20px;}
    .main-faq-item.active .main-faq-answer {gap: 12px;}
    .main-faq-answer .a-mark {flex: 0 0 32px; width: 32px; height: 32px; font-size: 15px;}
    .main-faq-answer .a-txt {font-size: 14px;}

    /* 오시는 길 - 세로 배치, 지도 위 정보 아래 */
    .main-location-wrap {flex-direction: column; gap: 24px;}
    .main-location-map #kakaoMap {min-height: 300px;}
    .location-info-item .info-tit {font-size: 14px;}
    .location-info-item .info-txt {font-size: 15px;}
}

@media (max-width: 1024px) {
	.main-tit-stack .section-label {font-size:13px;}
	.main-tit-stack p {font-size:16px;}
	.main-doctor-career {padding:24px 0; margin-bottom:24px;}
	.main-doctor-career li {font-size:16px; line-height:1.9em;}
}

@media (max-width: 640px) {
	.main-tit-stack .section-label {font-size:12px; margin-bottom:8px;}
	.main-tit-stack p {font-size:14px;}
	.main-doctor-name {font-size:26px; gap:8px;}
	.main-doctor-name em {font-size:0.55em;}
	.main-doctor-career {padding:20px 0; margin-bottom:20px;}
	.main-doctor-career li {font-size:14px; line-height:1.7em; padding-left:16px;}
}

/* ========================================
   메인 히어로 — 모바일 대응
   ======================================== */
@media (max-width: 640px) {

    /* 히어로 높이 축소
       기존 100vh - 60px = 약 784px 는 모바일에서 지나치게 길고
       세로 비율이 1:2 가 되어 좌우 잘림이 극심해집니다 */
    .main-visual .item {
        height: 68vh !important;
        min-height: 460px;
        max-height: 620px;
    }

    /* 세로형 이미지이므로 중앙 정렬로 충분 */
    .main-visual .image img {
        object-position: center center;
    }

    /* 캡션이 중단에 오므로 중간 구간도 읽히게 */
    .main-visual .image::after {
        background: linear-gradient(to bottom,
            rgba(0,0,0,0.12) 0%,
            rgba(0,0,0,0.38) 38%,
            rgba(0,0,0,0.42) 58%,
            rgba(0,0,0,0.28) 78%,
            rgba(0,0,0,0.50) 100%) !important;
    }

    /* 캡션을 세로 가운데 쪽으로 — 하단 도트·화살표와 떨어뜨림 */
    .main-visual .caption {
        top: 50% !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        padding: 0 24px;
    }
    .main-visual .caption .txt1 {
        font-size: 27px !important;
        line-height: 1.32em !important;
        margin-bottom: 12px !important;
    }
    .main-visual .caption .txt2 {
        font-size: 15px !important;
        line-height: 1.6em !important;
    }

    /* 도트를 캡션 아래로 */
    .main-visual .slick-dots {
        bottom: 26px !important;
    }
}

/* 작은 화면 */
@media (max-width: 380px) {
    .main-visual .item {
        height: 66vh !important;
        min-height: 430px;
    }
    .main-visual .caption .txt1 {font-size: 24px !important;}
    .main-visual .caption .txt2 {font-size: 14px !important;}
}
