@charset "UTF-8";

/*
** SUB common style
*/
.df {
  display: flex;
}

.df-col {
  display: flex;
  flex-direction: column;
}

.db-ib {
  display: inline-block;
}

.df-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.no-shrink {
  flex-shrink: 0;
}

.col-2 {
  width: 50%;
}

.color-bl {
  font-family: inherit;
  color: var(--main-blue);
}

.bold {
  font-family: inherit;
  font-weight: 700;
}

.bg-lbl {
  background: #fafbff;
}

.mb-20 {
  margin-bottom: 2rem;
}

.mb-40 {
  margin-bottom: 4rem;
}

.mb-60 {
  margin-bottom: 6rem;
}

.mb-80 {
  margin-bottom: 8rem;
}

.mb-100 {
  margin-bottom: 10rem;
}

.g-40 {
  gap: 4rem;
}

.g-60 {
  gap: 6rem;
}

.g-80 {
  gap: 8rem;
}

.g-130 {
  gap: 13rem;
}

.w-1280 {
  width: 90%;
  max-width: 1320px;
  padding: 150px 20px;
  margin: 0 auto;
}

.max-w-340 {
  max-width: 340px;
}

.max-w-400 {
  max-width: 400px;
}

.max-w-960 {
  max-width: 960px;
}

.max-w-1024 {
  max-width: 1024px;
}

.max-w-1160 {
  max-width: 1160px;
}

.left-txt {
  padding-right: 13rem;
}

.scroll-outer {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.scroll-outer::-webkit-scrollbar {
  height: 4px;
}

.scroll-outer::-webkit-scrollbar-thumb {
  background: #d6d7e0;
}

/* 
** SUB 공통 ui들 style 
*/
.nameplate {
  color: #6779a2;
  display: inline-block;
}

.sub-page .tit-wrap.tac {
  text-align: center;
}

.sub-page .tit-wrap .nameplate {
  color: #6779a2;
  display: inline-block;
  margin-bottom: 3rem;
}

.sub-page .tit-wrap .title {
  font-size: 5rem;
  color: #222;
  font-weight: 800;
  line-height: 1.2;
}

.sub-page .tit-wrap .desc {
  font-size: 2rem;
  color: #222;
  font-weight: 300;
  line-height: 1.5;
}

.sub-page .tit-wrap .desc:nth-of-type(1) {
  margin-top: 4rem;
}

.sub-page .tit-wrap .desc strong {
  font-weight: 700;
}

.sub-page .img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-page .img-wrap img {
  max-width: 100%;
}

.sub-page .quot-text {
  position: relative;

  display: inline-block;
  padding: 0 2em;

  font-size: 3rem;
  font-weight: 300;
  line-height: 1.4;
  text-align: center;
}

.sub-page .quot-text:before,
.sub-page .quot-text:after {
  content: "";
  display: block;
  position: absolute;
  top: 0.5em;

  width: 0.6em;
  height: 0.6em;
  background: url("/img/common/ico_quot.svg") no-repeat 50% 50% / contain;
}

.sub-page .quot-text:before {
  left: 0;
  transform: translate(0, -50%);
}

.sub-page .quot-text:after {
  right: 0;
  transform: translate(0, -50%) rotate(180deg);
}

.sub-page .mark-bl {
  font-weight: 700;
  line-height: 1.4;
  display: inline-block;
  color: #fff;
  background: var(--main-blue);
  padding: 0 0.05em;
}

a.mail-link {
  color: var(--main-blue);
  text-decoration: underline;
}

/* 
** 마포리더스 소개 페이지
 */
.sc__greeting .con-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
}

.sc__greeting .greeting-txt-container {
  font-size: 2rem;
  line-height: 1.4;
  color: #767676;

  width: 70%;
  max-width: 38em;
}

.sc__greeting .greeting-tit {
  font-family: "Nanum Myeongjo", serif;
  font-size: 4rem;
  font-weight: 700;
  color: #222;
  line-height: 1.6;

  margin-bottom: 6rem;
}

.sc__greeting .greeting-desc {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.sc__greeting .greeting-desc p {
  line-height: 1.5;
}

.sc__greeting .greeting-desc p.em {
  font-size: 2.4rem;
  color: #222;
}

.sc__greeting .greeting-image-wrap {
  width: 46.3rem;
  height: 75.5rem;
  border-radius: 10rem 0;
  overflow: hidden;
}

.sc__greeting .greeting-image-inner {
  width: 100%;
  height: 100%;
  background: url("/img/sub/about/greeting_img_origin.png") no-repeat 50% 50% /
    cover;
}

/* 
** 원내 둘러보기 페이지
 */
.sc__facility {
  background: url(/img/main/sc_facility_bg.jpg) no-repeat 50% 50% / cover;
}

.sc__facility .flex-container {
  /* display: flex;
  justify-content: space-between;
  align-items: center; */
}

.sc__facility .con_area {
  width: 100%;
  max-width: 86.6rem;
  margin: 0 auto;
}

.facility-swiper {
  width: 100%;
  height: 44rem;
  border-radius: 2rem;
  overflow: hidden;
}

.facility-thumb-swiper {
  width: 96%;
  margin: 4rem auto 0;
}

.facility-swiper .swiper-slide {
  border-radius: 2rem;
  overflow: hidden;
}

.facility-thumb-swiper .swiper-slide {
  /* width: 15.4rem; */
  height: 7.8rem;
  border-radius: 1rem;
  overflow: hidden;
}

.facility-swiper .swiper-slide img,
.facility-thumb-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.facility-swiper-btns {
  display: flex;
  gap: 2rem;
  justify-content: center;

  margin-top: 3rem;
}

.facility-swiper-btn-prev,
.facility-swiper-btn-next {
  width: 8.2rem;
  height: 8.2rem;

  border-radius: 9999px;
  background: linear-gradient(180deg, #fff 0%, #f7f4ef 100%), #fff;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);

  cursor: pointer;
}

.facility-swiper-btn-prev:hover,
.facility-swiper-btn-next:hover {
  background: linear-gradient(180deg, #fff 0%, #ece4d6 100%), #fff;
}

.facility-swiper-btn-prev:before,
.facility-swiper-btn-next:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: no-repeat 50% 50% / 22%;
}

.facility-swiper-btn-prev:before {
  background-image: url("/img/common/ico_slide_arrow_prev.svg");
}

.facility-swiper-btn-next:before {
  background-image: url("/img/common/ico_slide_arrow_next.svg");
}

.facility-swiper-btns .swiper-button-disabled {
  opacity: 1;
  cursor: default;
  pointer-events: none;

  background: linear-gradient(180deg, #e4e4e4 0%, #eaeaea 100%);
  box-shadow: none;
}

.facility-swiper-btns .swiper-button-disabled:before {
  opacity: 0.4;
}

/* 
** 의료진 소개 페이지
 */
.sc__doctor .doctor-list {
  display: flex;
  flex-direction: column;
  gap: 10rem;
}

.sc__doctor .doctor-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6rem;
}

.sc__doctor .doctor-item:nth-child(2) {
  flex-direction: row-reverse;
}

.sc__doctor .doctor-item__img {
  width: 40%;
  max-width: 440px;
  border-radius: 5rem;
  background: #d6d6d6;
  overflow: hidden;
}

.sc__doctor .doctor-item__info h4 {
  display: flex;
  align-items: center;

  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 6rem;
  padding-left: 1.5em;

  background: url("/img/common/logo_mini.svg") no-repeat 0 55% / 1em;
}

.sc__doctor .doctor-item__info h4 > strong {
  font-size: 4rem;
  margin-right: 0.3em;
}

.sc__doctor .doctor-item__info .history-tit {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.sc__doctor .doctor-item__info .history-cnt {
  display: flex;
  gap: 4rem;
}

.sc__doctor .doctor-item__info .history-cnt ul li {
  font-size: 1.8rem;
  line-height: 1.4;
  color: #606060;
}

.sc__doctor .doctor-item__info .history-cnt ul li + li {
  margin-top: 0.3em;
}

.sc__doctor .time-table-wrap {
  width: 100%;
  margin-top: 4rem;
}

.sc__doctor .timetable {
  border-collapse: collapse;
  width: 200%;
  max-width: 32em;

  font-size: 2rem;
  text-align: center;
}

.sc__doctor .timetable th,
.sc__doctor .timetable td {
  border: 1px solid #dedede;
  padding: 1.2rem 0;
  font-weight: 600;

  white-space: nowrap;
}

.sc__doctor .timetable th {
  background-color: #003876;
  color: white;
}

.sc__doctor .timetable th:nth-child(1) {
  font-size: 1.8rem;
  font-weight: 500;
}

.sc__doctor .timetable td:nth-child(1) {
  font-size: 1.7rem;
  color: #706e6f;
  background: #f6f6f6;
}

.sc__doctor .timetable th:first-child {
  background-color: #888;
}

.sc__doctor .timetable td {
  font-size: 1.6rem;
  background: #f6f6f6;
}

.sc__doctor .timetable td.on {
  color: #003876;
  background: #f6faff;
}

.sc__doctor .timetable td.off {
  color: #f94332;
  background: #fff6f6;
}

/* 
** 오시는길 페이지
 */
.sc__location .map-wrap {
  width: 100%;
  height: 440px;
  border-radius: 2rem;
  overflow: hidden;
}

.sc__location #map {
  width: 100%;
  height: 100%;
}

.sc__location .map-txt-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4rem;

  margin-bottom: 4rem;
}

.sc__location .map-txt-wrap > p {
  font-size: 4rem;
  line-height: 1.4;
  font-weight: 600;
}

.sc__location .color-line-6 {
  position: relative;
  color: #cd7c2f;
  padding-left: 1.3em;
}

.sc__location .color-line-6:before {
  content: "";
  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);

  width: 1.3em;
  height: 1.3em;
  margin-right: 0.2em;

  border-radius: 50%;
  background: url("/img/common/ico_num_6.svg") no-repeat 50% 50% / 0.66em;
  background-color: #cd7c2f;

  font-weight: 400;
  font-size: 0.8em;
  color: #fff;
}

.sc__location .map-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.sc__location a.map-link {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  padding: 0.8em 1em 0.8em 3.2em;
  border-radius: 9999px;
  background-repeat: no-repeat;
  background-position: 1.2em 50%;

  transition: background-color 0.2s ease;
}

.sc__location a.map-link.map-link-naver {
  background-image: url("/img/common/ico_map_naver.svg");
  background-size: 1em;
  background-color: #2db400;
  color: #fff;
}

.sc__location a.map-link.map-link-kakao {
  background-image: url("/img/common/ico_map_kakao.svg");
  background-size: 1.3em;
  background-color: #fed500;
}

.sc__location a.map-link.map-link-naver:hover {
  background-color: #3ed10d;
}

.sc__location a.map-link.map-link-kakao:hover {
  background-color: #ffe923;
}

.sc__location .map-info-wrap {
  display: flex;
  margin-top: 4rem;
}

.sc__location .map-info-item {
  width: 50%;
}

.sc__location .map-info-item .tit {
  display: flex;
  align-items: center;
  gap: 1rem;

  font-size: 3rem;
  font-weight: 600;

  margin-bottom: 3rem;
}

.sc__location .map-info-item .tit img {
  width: 3rem;
  height: 3rem;
}

.sc__location .map-info-item .tit + * {
  font-size: 2.6rem;
  line-height: 1.6;
}

.sc__location .map-info-time ul {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.sc__location .map-info-time ul li {
  display: flex;
  align-items: center;
}

.sc__location .map-info-time ul li .db-ib {
  line-height: 1.6;
}

.sc__location .map-info-time ul li div:nth-child(1) {
  width: 5em;
  flex-shrink: 0;
}

/* 
** 내과진료 what-is
*/
.im .sc__what-is .df {
  justify-content: center;
  align-items: center;
  gap: 13rem;
}

.im .sc__what-is .img-wrap {
  width: 615px;
}

.im .sc__what-is .tit-wrap {
  flex: 1;
}

/* 
** 건강검진 필요한 분
 */
.checkup .recommend-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 3rem;

  margin-top: 6rem;
}

.checkup .recommend-wrap > p {
  flex-shrink: 0;
  font-size: 2.4rem;
  font-weight: 600;
}

.checkup .recommend-wrap > ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.checkup .recommend-wrap > ul li {
  font-size: 2rem;
  font-weight: 600;
  color: var(--main-blue);

  padding: 0.6em 1em;
  border-radius: 9999px;
  border: 2px solid var(--main-blue);
}

/* 
** 건강검진 tab style
 */
.checkup .tab-buttons {
  width: 100%;
  margin-bottom: 4rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.checkup .tab-buttons .scroll-inner {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 2px 0;
}

.checkup .tab-btn {
  flex-shrink: 0;

  font-size: 1.8rem;
  font-weight: 300;

  padding: 0.7em 1.2em;
  border-radius: 9999px;
  border: 1px solid var(--main-blue);

  transition: background 0.2s ease;
}

.checkup .tab-btn.active {
  background: var(--main-blue);
  color: #fff;
}

.checkup .tab-btn:not(.active):hover {
  background: rgba(44, 96, 209, 0.1);
}

/* 비급여 페이지 */
.nonBenefit-tab {
  min-height: 200px;
}

.nonBenefit-tab .scroll-outer {
  overflow-y: hidden;
}

.nonBenefit-tab .scroll-outer::-webkit-scrollbar {
  display: block;
}

.nonBenefit-tab .tab-buttons {
  display: flex;
  gap: 2.4rem;
  margin-bottom: 4rem;
}

.nonBenefit-tab .tab-btn {
  position: relative;

  font-size: 2rem;
}

.nonBenefit-tab .tab-btn span {
  opacity: 0.3;
  transition: all 0.2s ease;
}

.nonBenefit-tab .tab-btn + .tab-btn:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1.2rem;
  transform: translate(0, -50%);

  width: 1px;
  height: 1em;
  background: #303030;
}

.nonBenefit-tab .tab-btn:not(.active):hover span {
  opacity: 0.6;
}

.nonBenefit-tab .tab-btn.active span {
  color: var(--main-blue);
  opacity: 1;
  font-weight: 600;
}

.nonBenefit-table th,
.nonBenefit-table td {
  color: #303030;
  font-size: 1.4rem;
  text-align: center;
  vertical-align: middle;
  line-height: 1.4;

  border: 1px solid #dbdbdb;
  padding: 0.6em;
}

.nonBenefit-table th {
  font-weight: 600;
  background: var(--main-blue);
  color: #fff;
}

.nonBenefit-table td {
  font-weight: 300;
}

.nonBenefit-table td.td-first {
  background: #f6f9ff;
  font-weight: 700;
}

/* 
** 검사 전 주의사항
 */
.sub-page.test .sc__precaution {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.sub-page.test .sc__precaution .tit-wrap .nameplate,
.sub-page.test .sc__precaution .tit-wrap .title,
.sub-page.test .sc__precaution .tit-wrap .desc {
  color: #fff;
}

.test-gastroscopy .sc__precaution {
  background-image: url("/img/sub/test/gastroscopy_precaution_bg.png");
}

.test-colonoscopy .sc__precaution {
  background-image: url("/img/sub/test/colonoscopy_precaution_bg.png");
}

/* 
** 수액 종류
 */
.sc__infusion-type .con-wrap {
  position: relative;
}

.infusion-type-btn-prev,
.infusion-type-btn-next {
  position: absolute;
  top: 50%;

  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  background: url("/img/common/ico_slide_btn.svg") no-repeat 50% 50% / contain;
}

.infusion-type-btn-next {
  right: 0;
  transform: translate(150%, -50%);
}

.infusion-type-btn-prev {
  left: 0;
  transform: translate(-150%, -50%) rotate(180deg);
}

/* 
** 반응형
 */
@media (max-width: 1280px) {
  .w-1280 {
    width: 100%;
    padding: 15rem 20px;
  }

  .im .sc__what-is .df {
    gap: 8rem;
  }

  .im .sc__what-is .img-wrap,
  .im .sc__what-is .tit-wrap {
    width: 50%;
  }

  .sc__facility .title {
    margin-bottom: 4rem;
  }
}

@media (max-width: 1024px) {
  .df {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .reverse-1024 {
    flex-direction: column-reverse;
  }

  .w-1280 {
    padding: 8rem 20px;
  }

  .mb-60 {
    margin-bottom: 4rem;
  }

  .mb-100 {
    margin-bottom: 5rem;
  }

  .g-80 {
    gap: 4rem;
  }

  .g-130 {
    gap: 6.5rem;
  }

  .col-2 {
    width: 100%;
  }

  .col-2.img-wrap {
    width: 100%;
    max-width: 480px;
  }

  .col-2.tit-wrap {
    width: 100%;
    max-width: 640px;
  }

  .col-2 + .col-2 {
    margin-top: 4rem;
  }

  .left-txt {
    padding-right: 0;
  }

  .scroll-outer::-webkit-scrollbar {
    display: none;
  }

  .sub-page .tit-wrap {
    text-align: center;
  }

  .sub-page .quot-text {
    padding: 1.4em 0;
  }

  .sub-page .quot-text:before,
  .sub-page .quot-text:after {
    left: 50%;

    width: 0.8em;
    height: 0.8em;
  }

  .sub-page .quot-text:before {
    top: 0;
    transform: translate(-50%, 0);
  }

  .sub-page .quot-text:after {
    top: auto;
    bottom: 0;
    transform: translate(-50%, 0) rotate(180deg);
  }

  .sub-page .img-wrap,
  .sub-page .con-wrap {
    max-width: 640px;
    margin: 0 auto;
  }

  .sub-page .tit-wrap .title {
    font-size: 4rem;
  }

  .sub-page .quot-text {
    font-size: 2.6rem;
  }

  .sub-page .mark-bl {
    display: inline;
  }

  .im .sc__what-is .df {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4rem;
  }

  .im .sc__what-is .tit-wrap {
    width: 100%;
    max-width: 640px;
  }

  .im .sc__what-is .img-wrap {
    width: 100%;
    max-width: 480px;
  }

  .checkup .tab-buttons .scroll-inner {
    justify-content: flex-start;
  }

  .checkup .recommend-wrap,
  .checkup .recommend-wrap > ul {
    flex-direction: column;
  }

  .sc__greeting .con-wrap {
    flex-direction: column-reverse;
  }

  .sc__greeting .greeting-txt-container {
    width: 100%;
  }

  .sc__greeting .greeting-tit,
  .sc__greeting .greeting-desc {
    text-align: center;
  }

  .sc__greeting .greeting-tit {
    margin-bottom: 4rem;
  }

  .sc__greeting .greeting-desc {
    gap: 3rem;
  }

  .sc__greeting .greeting-image-wrap {
    width: calc(100vw - 40px);
    max-width: 46rem;
    height: 40rem;
  }

  .sc__location .map-txt-wrap {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 960px) {
  .sc__doctor .doctor-item,
  .sc__doctor .doctor-item:nth-child(2) {
    flex-direction: column;
  }

  .sc__doctor .doctor-item__img {
    width: 100%;
    max-width: 340px;
  }

  .facility-thumb-swiper .swiper-slide {
    width: 12rem;
    height: 7rem;
  }
}

@media (max-width: 768px) {
  .sc__location .map-info-wrap {
    flex-direction: column;
    gap: 6rem;
  }

  .sc__location .map-info-item {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .sc__doctor .doctor-item__info .history-cnt {
    flex-direction: column;
  }

  .sc__location .map-wrap {
    height: calc(var(--vh, 1vh) * 40);
  }

  .facility-swiper {
    height: 36rem;
  }
}

/* 
** 공지사항 
*/
.comm_search_form {
  padding: 1.2rem 0;
  border-radius: 1.2rem;
  background: #f8f8f8;
}
.comm_search_box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1rem;
  margin: 0 auto;
}
.comm_search_box .selet_box {
  width: 100%;
  max-width: 25rem;
  flex: 1;
}

.comm_search_box .selet_box select:focus,
.comm_search_box .search_input input[type="text"]:focus {
  border-color: var(--main-blue);
}

.comm_search_box .search_input input[type="text"],
.comm_search_box .selet_box select {
  color: #303030;
  font-size: 1.8rem;
  padding: 1em 3.4em 1em 1.4em;
  border-radius: 0.8rem;
  border: 1px solid #d6d6d6;
}

.comm_search_box .selet_box select {
  width: 100%;
  background: url("/img/common/ico_select_arrow.svg") no-repeat 95% 50% #fff;
}

.comm_search_box .search_input {
  width: 100%;
  max-width: 73rem;
  flex: 1;
}
.comm_search_box .search_input input[type="text"] {
  width: 100%;
}

.comm_search_box .search_btn button {
  font-size: 1.8rem;
  padding: 1em 3.4em;
  border-radius: 0.8rem;
  color: #fff;
  text-align: center;

  background-color: var(--main-blue);
  cursor: pointer;

  transition: background-color 0.2s ease;
}

.comm_search_box .search_btn button:hover,
.comm_search_box .search_btn button:focus {
  background-color: #0049ca;
}

@media screen and (max-width: 1160px) {
  .comm_search_box {
    width: 95%;
  }
}

@media screen and (max-width: 768px) {
  .comm_search_form {
    margin-top: 30px;
    padding: 12px 0;
  }
  .comm_search_box {
    flex-direction: column;
  }
  .comm_search_box .selet_box {
    max-width: none;
    width: 100%;
  }
  .comm_search_box .search_btn {
    width: 100%;
  }
  .comm_search_box .search_btn > button {
    width: 100%;
    padding: 7.5px 12px;
    font-size: 16px;
  }
  .comm_search_box .selet_box select {
    padding: 7.5px 12px;
    font-size: 16px;
  }
  .comm_search_box .search_input input[type="text"] {
    padding: 7.5px 12px;
    font-size: 16px;
  }
}

.comm_pagenation {
  margin-top: 8rem;
}
.comm_pagenation > ul {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.comm_pagenation > ul li {
}
.comm_pagenation > ul li.on a {
  background-color: var(--main-blue);
  color: #fff;
  border-color: var(--main-blue);
}
.comm_pagenation > ul li a {
  color: #474747;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.64px;
  height: 32px;
  width: 32px;
  border: solid 1px #d6d6d6;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.comm_pagenation > ul li:not(.on) a:hover {
  background-color: #f0f0f0;
}

.view_btn_list {
  position: relative;

  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.view_cont img {
  max-width: 100%;
}
.view_btn_list .other_page_btn a {
  display: flex;
  gap: 10px;
}

.view_btn_list .list_btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.view_btn_list .list_btn a {
  color: var(--main-blue);
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.8px;
}
.view_btn_list .other_page_btn a p {
  color: #474747;
  font-size: 18px;
  font-weight: 200;
  letter-spacing: -0.72px;
  line-height: 1.3;
}

.view_btn_list .other_page_btn a:hover p {
  text-decoration: underline;
}

.view_btn_list .other_page_btn a > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .view_btn_list .list_btn a {
    font-size: 16px;
  }
  .view_btn_list {
    gap: 10px;
  }
  .view_btn_list .other_page_btn a p {
    font-size: 14px;
    white-space: nowrap; /* 텍스트가 한 줄로 제한 */
    overflow: hidden; /* 넘치는 텍스트 숨기기 */
    text-overflow: ellipsis; /* 넘치는 텍스트를 ... 으로 처리 */
    width: 100%; /* 부모 요소의 너비에 맞추기 */
    display: block;
    max-width: 100px;
  }
  .view_btn_list .other_page_btn a span {
    display: none;
  }
}

.notice_list {
  margin-top: 40px;
}
.notice_list > h6 {
  color: #474747;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -1.6px;
}

.notice_list > h6 .point_color {
  color: var(--main-blue);
  font-weight: 600;
}

.notice_list > ul {
  margin-top: 20px;
  border-top: solid 2px var(--main-blue);
  border-bottom: solid 2px var(--main-blue);
}
.notice_list > ul li {
}

.notice_list > ul .pin_notice {
  background: #f6f9ff;
}
.notice_list > ul li a {
  display: flex;
  justify-content: space-between;
  padding: 30px 40px;
  box-sizing: border-box;
  border-bottom: 1px solid #dbdbdb;
}
.notice_list > ul li:last-child a {
  border-bottom: 0;
}
.notice_list > ul li .left {
  display: flex;
  align-items: center;
  gap: 32px;
}
.notice_list > ul li .left > span {
  width: 88px;
  text-align: center;
  color: #303030;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.72px;
}

.notice_list > ul .pin_notice .left > span {
  color: #fff;
  background-color: var(--main-blue);
  padding: 14px 0;
  box-sizing: border-box;
  border-radius: 8px;
}
.notice_list > ul li .left > p {
  color: #474747;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.72px;
}
.notice_list > ul li .right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice_list > ul li .right > p {
  color: #474747;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.6px;
}
.notice_list {
}

@media screen and (min-width: 768px) {
  .notice_list > ul li:hover {
    background-color: #f2f2f6;
    transition: all 0.3s;
  }
  .notice_list > ul li:hover .left > p {
    text-decoration: underline;
  }
}
@media screen and (max-width: 768px) {
  .notice_list > h6 {
    font-size: 16px;
    letter-spacing: -1px;
  }
  .notice_list {
    margin-top: 20px;
  }

  .notice_list > ul li a {
    padding: 15px 10px;
  }
  .notice_list > ul li .left {
    flex: 1;
  }
  .notice_list > ul li .left > span {
    font-size: 12px;
    width: 60px;
    padding: 10px 5px;
    box-sizing: border-box;
  }
  .notice_list > ul .pin_notice .left > span {
    padding: 10px 5px;
  }
  .notice_list > ul li .left {
    gap: 15px;
  }
  .notice_list > ul li .left > p {
    font-size: 16px;
    white-space: nowrap; /* 텍스트가 한 줄로 제한 */
    overflow: hidden; /* 넘치는 텍스트 숨기기 */
    text-overflow: ellipsis; /* 넘치는 텍스트를 ... 으로 처리 */
    width: 100%; /* 부모 요소의 너비에 맞추기 */
    display: block;
    max-width: 180px;
  }
  .notice_list > ul li .right {
  }
  .notice_list > ul li .right > div {
    display: none;
  }
  .notice_list > ul li .right > p {
    font-size: 12px;
  }
}
@media screen and (max-width: 350px) {
  .notice_list > ul li .left > p {
    max-width: 100px;
  }
}

.comm_tit {
  text-align: center;
}

.comm_tit h2 {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -1.6px;
  margin-top: 10px;
}
.comm_tit .date_tit {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.comm_tit .date_tit p {
  color: #474747;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.64px;
}
@media screen and (max-width: 768px) {
  .comm_tit h3 {
    font-size: 24px;
  }
  .comm_tit h2 {
    font-size: 30px;
  }
}

.view_cont {
  margin-top: 6rem;
  padding: 80px 0;
  box-sizing: border-box;
  border-top: solid 2px var(--main-blue);
  border-bottom: solid 2px var(--main-blue);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.view_cont .text_box {
  color: #474747;
  text-align: center;
  font-size: 18px;
  font-weight: 200;
  line-height: 1.6;
  letter-spacing: -0.72px;
}
@media screen and (max-width: 768px) {
  .view_cont {
    margin-top: 40px;
    padding: 40px 0;
  }
}

/* 온라인 예약 페이지 */
.reserve-notice-text {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 10rem;
}

.reserve-notice-text .text-sm {
  font-size: 0.9em;
  color: #6d6d6d;
}

.reservation_sec {
  max-width: 1100px;
  width: 100%;
  margin: 40px auto 0;
}
.reservaton_box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form_3_box {
  display: flex;
  align-items: center;
  gap: 20px;
}
.form_3_box li {
  width: 100%;
  flex: 1;
  border-radius: 8px;
  border: 2px solid #d6d6d6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;
  box-sizing: border-box;
  gap: 15px;
}
.reservaton_box .input_title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.72px;
  gap: 3px;
}
.reservaton_box .input_title label {
  color: #474747;
}
.reservaton_box .input_title > span {
  display: inline-block;
  color: var(--main-blue);
}
.reservaton_box .input_box {
  flex: 1;
}
.reservaton_box .input_box input[type="text"] {
  color: #303030;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.64px;
  padding: 14px 0;
  box-sizing: border-box;
  width: 100%;
  text-align: right;
  border: none;
  outline: none;
}
.reservaton_box .input_box select {
  font-size: 16px;
  color: #303030;
  font-weight: 300;
  letter-spacing: -0.64px;
  padding: 14px 0;
  box-sizing: border-box;
  width: 100%;
  text-align: right;
  border: none;
  outline: none;
  pointer-events: auto;
  text-align-last: right;
}

.reservaton_box .input_box select[data-selected="true"] {
  color: #303030; /* 값 선택 후 변경 */
}

.reservaton_box .input_box select:invalid,
.reservaton_box .input_box input::placeholder {
  color: #959595;
}

.reservaton_box input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  text-align: center;
  background: #fff;
  position: relative;
  border: none;
  box-sizing: border-box;
  padding: 13px 0;
  box-sizing: border-box;
  color: #303030;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.64px;
  text-align: right;
  text-align-last: right;
  width: 100%;
}
.reservaton_box input[type="date"]::-webkit-clear-button,
.reservaton_box input[type="date"]::-webkit-inner-spin-button {
  display: none;
}
.reservaton_box input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  color: transparent;
  right: 10px;
}
.reservaton_box input[type="date"]::before {
  content: attr(data-placeholder);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff url("/img/common/icon_reservation.svg") no-repeat 100% 50%;
  box-sizing: border-box;
  padding: 15px 25px 14px;
  color: #959595;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.64px;
  text-align: right;
}

.reservaton_box input[type="date"]:valid::before {
  display: none;
}
.reservaton_box input[type="date"]:valid {
  font-size: 16px;
}

.reservaton_cont {
  width: 100%;
  border-radius: 8px;
  border: 2px solid #d6d6d6;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  box-sizing: border-box;
  gap: 15px;
}
.reservaton_cont .textarea_box {
  width: 100%;
  flex: 1;
}
.reservaton_cont textarea {
  width: 100%;
  display: inline-block;
  resize: none;
  min-height: 120px;
  border: none;
  outline: none;
  color: #303030;
  font-size: 16px;
  font-weight: 200;
  line-height: 1.6;
  letter-spacing: -0.64px;
  box-sizing: border-box;
}
.reservaton_cont textarea::placeholder {
  color: #959595;
}
.form_btn_sec {
  margin-top: 40px;
}
.checkbox_layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;
}
.checkbox_layout input[type="checkbox"] {
  display: none;
}

.checkbox_layout .checkmark {
  width: 20px;
  height: 20px;
  border: 1px solid #303030;
  border-radius: 4px;
  background-color: white;
  position: relative;
}

.checkbox_layout input:checked + .checkmark {
  background-color: var(--main-blue);
  border-color: var(--main-blue);
}

.checkbox_layout input + .checkmark::after,
.checkbox_layout input:checked + .checkmark::after {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
}

.checkbox_layout input + .checkmark::after {
  content: url("/img/common/icon_checkbox_none.svg");
}

.checkbox_layout input:checked + .checkmark::after {
  content: url("/img/common/icon_checkbox_checked.svg");
}
.checkbox_layout label {
  color: #474747;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.72px;

  cursor: pointer;
}
.checkbox_layout a {
  color: var(--main-blue);
  font-size: 16px;
  letter-spacing: -0.64px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;

  margin-left: 6px;
}
.reservation_sec .form_btn {
  max-width: 566px;
  width: 100%;
  margin: 30px auto 0;
}
.reservation_sec .form_btn > button {
  width: 100%;
  border-radius: 12px;
  background-color: var(--main-blue);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.88px;
  text-align: center;
  padding: 16px 0;
  box-sizing: border-box;
  border: none;
  outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  box-shadow: 0 0 0px 1000px white inset !important; /* 원하는 배경색으로 덮기 */
  -webkit-text-fill-color: #000 !important; /* 글자색도 재설정 */
  transition: background-color 5000s ease-in-out 0s; /* 깜빡임 방지 */
}

@media screen and (max-width: 768px) {
  .reservation_sec {
    margin: 40px auto 0;
  }
  .reservaton_box {
    gap: 10px;
  }
  .form_3_box {
    flex-direction: column;
    gap: 10px;
  }
  .form_3_box li {
    padding: 0 10px;
  }
  .reservaton_cont {
    padding: 10px;
  }
  .reservaton_box .input_title {
    font-size: 14px;
    line-height: 1.3;
  }
  .reservaton_box input[type="date"]:valid,
  .reservaton_box input[type="date"],
  .reservaton_box .input_box input[type="text"],
  .reservaton_box input[type="date"]::before,
  .reservaton_box .input_box select,
  .reservaton_cont textarea,
  .checkbox_layout label,
  .checkbox_layout a {
    font-size: 14px;
    line-height: 1.3;
  }
  .form_btn_sec {
    margin-top: 20px;
  }
  .reservation_sec .form_btn > button {
    padding: 8px;
    font-size: 18px;
    line-height: 1.3;
    border-radius: 5px;
  }
  .checkbox_layout .checkmark {
    width: 16px;
    height: 16px;
  }
}
