
select {
  font-family: "Hakgyoansim Allimjang";
  font-size: 16px;
}

.area{
      background-color: aliceblue;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;

}
    /* 서비스안내 */
    .accordion-header{
        cursor: pointer;

    }
    .accordion-content{
        margin-bottom: 20px;

    }
    .accordion-content p:first-child{
        margin-top: 10px;
    }
.dots{
    position: relative;    
    padding-left: 10px;
}
.dots::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #2c3e50;
  border-radius: 50%; /* 원형 */
  margin-right: 8px;
    left: 0px;
 top: 13px;
    position: absolute;
    transform: translate(0, -50%);
}
.dots.dep{
}
.dots.dep::before{
}
.pokect{
     background: #fff;                     /* 흰색 배경 */
  border-radius: 12px;                  /* 둥근 모서리 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* 부드러운 그림자 */
  padding: 20px;                        /* 내부 여백 */
  margin: 20px 0;  
  font-family:  "Pretendard";       /* 바깥 여백 */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pokect h5{
    font-weight: 400;
}
.pokect:hover {
  transform: translateY(-4px);          /* 살짝 떠오르는 효과 */
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.nt{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.nt img{
    max-width: 1000px;
}
.n{
    font-size: 0.95rem;
}
.n.b{
    /* font-size: 1.1rem; */
}
table{
    font-size: 0.95rem;
    min-width: auto;
}
table .num-list{
    text-align: left;
}
th{
    color: #333;
    border-top: 1px solid #ddd;
    text-align: center;vertical-align: middle;
}

/* tab */
.info h3{
      font-size: clamp(1.5rem, 1rem + 1.9vw, 2.125rem);
}
.info .addr{
    white-space: normal;
}
.pin{
    color: #333;
}
.map_ff{
   display: flex;
    align-items: center;
    justify-content: space-between;
}
.map_ff button{
    border-radius: 50px;
}


/* 스크린리더용 숨김 텍스트 */
.sr-only{position:absolute;clip:rect(0 0 0 0);clip-path:inset(50%);width:1px;height:1px;margin:-1px;overflow:hidden;}

/* 스크롤 래퍼(모바일) */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;}
.edu-matrix{min-width:720px}

/* 표 스타일 */
.edu-matrix{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
  background:#fff;
  border:1px solid #d9d9d9;
}
.edu-matrix th, .edu-matrix td{
  padding:14px 12px;
  border-top:1px solid #ececec;
  color:#333;
  vertical-align:middle;
  text-align:center;
}
.edu-matrix thead th{
  background:#fff;
  border-bottom:1px solid #d9d9d9;
  font-weight:700;
}
.edu-matrix thead tr:first-child th:first-child{
  border-right:1px solid #e5e7eb;
}
.edu-matrix tbody tr:first-child th,
.edu-matrix tbody tr:first-child td{border-top:0;}
.edu-matrix tbody th[scope="row"]{
  text-align:left; font-weight:600; background:#fafafa;
}

/* 점 표시 */
.dot{
  display:inline-block;
  width:12px; height:12px;
  border-radius:50%;
  background:#6b7280; /* 회색 점 */
}

/* 스크롤 래퍼(PC/태블릿 가로 스크롤 허용) */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;}
.edu-matrix{min-width:720px}

/* 표 기본 */
.edu-matrix{
  width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed;
  background:#fff; border:1px solid #d9d9d9;
}
.edu-matrix th,.edu-matrix td{
  padding:14px 12px; border-top:1px solid #ececec; color:#333;
  vertical-align:middle; text-align:center;
}
.edu-matrix thead th{background:#f3f4f6; border-bottom:1px solid #d9d9d9; font-weight:700;}
.edu-matrix tbody tr:first-child th,.edu-matrix tbody tr:first-child td{border-top:0;}
.edu-matrix tbody th[scope="row"]{text-align:left; font-weight:600; background:#fafafa;}
.dot{display:inline-block; width:12px; height:12px; border-radius:50%; background:#6b7280;}

/* 모바일(≤768px): 표 숨기고 카드형 표시 */
@media (max-width:768px){
  /* .table-scroll{display:none;} */
  .edu-cards{display:grid; gap:12px;}
  .edu-card{
    border:1px solid #e5e7eb; border-radius:12px; background:#fff;
    padding:14px 14px 10px; box-shadow:0 2px 8px rgba(0,0,0,.03);
  }
  .edu-card h4{
    margin:0 0 8px; font-size:15px; font-weight:700; color:#111;
  }
  .edu-topics{list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px;}
  .edu-topics li{
    position:relative; padding-left:18px; line-height:1.4; color:#374151; font-size:14px;
    background:#f9fafb; border:1px solid #eef2f7; border-radius:999px; padding:6px 10px 6px 28px;
  }
  .edu-topics li::before{
    content:""; position:absolute; left:10px; top:50%; transform:translateY(-50%);
    width:10px; height:10px; border-radius:50%; background:#6b7280;
  }
  .edu-none{color:#9ca3af; font-size:13px;}
}

/* PC에서 카드는 숨김 */
@media (min-width:769px){ .edu-cards{display:none;} }

 /* 필터 */
    .gdc-filter{
            display: flex;flex-wrap: wrap;
        /* display:grid;
        grid-template-columns:1fr 1fr 1fr auto; */
        gap:8px;margin:12px 0 16px
    }
    .gdc-filter select,.gdc-filter input{
        height:40px;padding:0 10px;border:1px solid #ddd;border-radius:8px;
        font-size:14px;min-width: 32.33%;
    }
    .gdc-filter button{
        height:40px;padding:0 16px;border:0;border-radius:8px;
        background:#164074;color:#fff;cursor:pointer;
    font-size:14px;
    }
    #qName{
        width: 54%;
    }

    /* 아코디언 */
    .gdc-acc{border-top:1px solid #eee}
    .gdc-acc .acc-item{border-bottom:1px solid #eee}
    .gdc-acc .acc-head{display:flex;justify-content:space-between;align-items:center;padding:12px 8px;cursor:pointer}
    .gdc-acc .acc-title{font-weight:700;font-size: clamp(1rem, 0.95rem + 0.4vw, 1.125rem);}
    .gdc-acc .acc-meta{font-size:13px;color:#666}
    .gdc-acc .acc-body{display:none;padding:12px 8px 16px;color:#444}
    .gdc-acc .tag{display:inline-block;margin-right:6px;padding:2px 6px;border-radius:6px;background:#eef3ff;color:#345}
.list_box.lod{
    display: inline-block;
    border: 1px solid #ddd;
    padding: 4px 28px;
    border-radius: 40px;
}

.pin-name{
   position: relative;
    z-index: 20;
    background-color: #ffd4d4e0;
    padding: 5px;
    width: 100%;
    display: inline-block;
    display: none;
    border-radius: 10px;top: 27px;
}
.btn-gu{
    display: none;
}

.map-wrap,
.infos{
    width: 100%;
}

/* 아코디언 내부 탭 */
.tabs{
    display:flex;
    gap:8px;
    padding: 0;
    border-bottom:1px solid #e0e0e0;margin:12px 0;
}
.tab-btn{
    padding:8px;
    border:1px solid #e0e0e0;border-bottom:none;background:#f8f8f8;cursor:pointer;
    border-radius:6px 6px 0 0;font-size:14px;
    width: 33.33%;
    cursor: pointer;
}
.tab-btn.is-active{background:#fff;border-bottom-color:#fff;font-weight:600;}
.tab-panels{}.tab-panel{display:none;padding:10px 0;}
.tab-panel.is-active{display:block;}
.panel-pad{padding:10px;color:#6b7280;}
.detail-phone{font-size:20px;text-align:center;margin:4px 0 12px;font-weight:700;}
.detail-head-actions{display:flex;justify-content:flex-end;margin-bottom:10px;}
.btn-map{
    display: none;
    padding:6px 12px;border:1px solid #005bac;background:#005bac;color:#fff;border-radius:4px;font-size:14px;}
.detail-table table{
    width:100%;border-collapse:collapse;table-layout:fixed;}
.detail-table th,
.detail-table td{
    padding:10px 12px;background:#fff;}
.detail-table th{
    background:#fff;
    text-align:center;font-weight:700;color:#333;}
.tab-panels .detail-table td{
text-align: left;
}
.biz-table th{
    background:#fff;

}

.vg{
    background-color: #f8f8f8 !important;
}
/* serviece03 */
   /* 최소 스타일 – 기존 CSS와 겹치지 않게 네임스페이스(prefix) 사용 */
.gdc-steps {margin-top:24px}
.gdc-steps .steps-head {margin-bottom:14px}
.gdc-steps .steps-head .note {font-size:14px;color:#666}
.gdc-steps .steps-head a {text-decoration:underline}

.step-grid {
    list-style:none; padding:0; margin:0;
    display:grid; grid-template-columns:repeat(2, minmax(0,1fr));
    gap:24px 28px;
}
.step-grid .step {
    border:1px solid #e3e6ea; border-radius:10px; background:#fafbfd;
    padding:18px 18px 16px; position:relative;
}
.step-grid .step h4 {margin:0 0 8px; font-size:18px}
.step-grid .step .num {color:#2c3e50; margin-right:6px}
.step-grid .bullets {margin:0; padding-left:18px}
.step-grid .bullets li {margin:6px 0}
.step-grid .btn-download {
    display:inline-block; margin-top:10px; padding:8px 14px; border-radius:6px;
    border:1px solid #cfd6e4; background:#eef3ff; font-size:14px;
}

/* 다운로드 카드 */
.gdc-guides {margin-top: 28px}
.gdc-guides__intro {margin: 0 0 14px; color:#333}
.gdc-guides__grid{
    list-style:none; padding:0; margin:0;
    display:grid; gap:22px;
    grid-template-columns: repeat(4, minmax(0,1fr));
}

.guide-card{
   border: 1px solid #e3e6ea;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.guide-card__cover{
    min-height: 450px;
    /* aspect-ratio:4/6; */
     background:#f5f7fb; display:flex; align-items:center; justify-content:center}
.guide-card__cover img{width:100%; height:100%; object-fit:cover; display:block}
.guide-card__title{font-size:17px; line-height:1.4; margin:12px 14px 8px; min-height:3.2em}
.guide-card__btns{display:flex; flex-wrap:wrap; gap:8px; padding:0 14px 14px}

.gbtn{
    display:inline-block; padding:8px 12px; border-radius:8px;
    border:1px solid #cfd6e4; background:#eef2f9; font-size:14px;
}
.gbtn:hover{background:#005bac; border-color:#005bac;color: }
.gbtn--primary{
    background:#005bac; color:#fff; border-color:#005bac;}
.gbtn--primary:hover{filter:brightness(0.95)}



/* ===== CBR service list (namespaced) ===== */
.cbr-services {margin-top:28px}
.cbr-list {
    display:flex; flex-direction:column; gap:18px}
.cbr-item {
  display:grid; grid-template-columns:68px 1fr; gap:14px;
  padding:16px 12px; border:1px solid #e7ecf2;
   border-radius:12px; background:#fff;
}
.cbr-icon {
  width:68px; height:68px; border-radius:50%; background:#f0f5ff;
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.cbr-icon img {width:40px; height:40px; object-fit:contain}
.cbr-content h4 {margin:2px 0 8px; font-size:18px; color:#164074}
.cbr-content p {margin:0; color:#333; line-height:1.6}
.cbr-bullets {margin:10px 0 0; padding-left:18px; color:#333}
.cbr-bullets li {list-style:disc; margin:4px 0}
.cbr-bullets .cbr-note {list-style:none; margin-top:6px;
     color:#164074; font-size:13px}

.cbr-box {margin-top:10px; background:#f7f9fc; 
    border:1px solid #e3e9f3; border-radius:10px; padding:12px}
.cbr-dl {display:grid; grid-template-columns:160px 1fr; 
    column-gap:12px; row-gap:8px; margin:0}
.cbr-dl dt {font-weight:700; color:#164074}
.cbr-dl dd {margin:0}

.oral-services { margin: 16px 0; }
.oral-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e7eef7;
}
.oral-item {
    display: grid;
    grid-template-columns: 92px 1fr; /* 아이콘 영역 / 본문 */
    gap: 18px;
    align-items: center;
    padding: 22px 6px;
    border-bottom: 1px solid #e7eef7;
    background: #fff;
}
.oral-icon {
    width: 92px; height: 92px;
    border-radius: 50%;
    background: #f3f8ff;
    border: 1px solid #e1ecff;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.oral-icon img { width: 56px; height: 56px; object-fit: contain; }

.oral-body h4 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: #164074; /* 이미지처럼 파란 제목 */
    letter-spacing: -0.2px;
}
.oral-body p {
    margin: 0;
    color: #333;
    line-height: 1.8;
    word-break: keep-all;
}
/* ===== 이용절차(Flow) ===== */
.proc-flow { margin: 8px 0 24px; }
.proc-flow__list{
  list-style:none; margin:0; padding:0;
  display:flex; gap:22px; align-items:stretch;
}
.proc-flow__item{
  position:relative; flex:1 1 0; display:flex; align-items:stretch;
}
/* 꺾쇠 화살표 */
.proc-flow__item:not(:last-child)::after{
  content:""; position:absolute; right:-12px; top:50%;
  width:18px; height:18px; margin-top:-9px;
  border-right:3px solid #cfd6df; border-bottom:3px solid #cfd6df;
  transform:rotate(-45deg);
}

.proc-flow__card{
  background:#fff; border:1px solid #e5ebf3; border-radius:6px;
  padding:16px 18px; width:100%;
  display:flex; gap:12px; align-items:center;
}
.proc-flow__num{
  width:30px; height:30px; border-radius:50%;
  background:#2d78d0; color:#fff; font-weight:700; font-size:16px;
  display:flex; align-items:center; justify-content:center; flex:0 0 30px;
}
.proc-flow__body{ line-height:1.6; }
.proc-flow__title{
  display:block; font-size:18px; font-weight:700; color:#1f2b3a; margin:0 0 2px;
}
.proc-flow__org{ display:block; color:#5a6472; }
.proc-flow__note{ display:block; color:#8592a3; }




/* 대상 질환 테이블 스타일 */
.policy-table{overflow-x:auto; margin:10px 0 24px;}
.policy-table table{
  width:100%;  border-collapse:collapse; background:#fff;
  /* border:1px solid #e3e8ef; */
  text-align: center;
}
.policy-table th,
.policy-table td{
  padding:16px 18px; line-height:1.6; vertical-align:middle;
  border-top:1px solid #e0e0e0;text-align: center;
}
.policy-table thead th{
  background:#f8f8f8; color:#2a2f36; font-weight:700; text-align:center;
  border-top:1px solid #e0e0e0; 
}
/* .policy-table tbody tr:nth-child(even) td{ background:#fafbfd; } */

/* ===== namespaced styles (no global selector) ===== */
.gdrp-dent{
  --gdrp-bd:#e3e8ef; --gdrp-hd:#eef2f6; --gdrp-row:#f4f7fb; --gdrp-alt:#fafbfd;
}
.gdrp-dent__title{margin:20px 0 8px; font-weight:800; font-size:20px;}
.gdrp-dent__scroll{overflow-x:auto;}
.gdrp-dent__table caption{
    padding: 10px 0 ;
}
.gdrp-dent__table{
  width:100%; min-width:720px; border-collapse:collapse; background:#fff;

}
.gdrp-dent__table th,
.gdrp-dent__table td{
  padding:16px 18px; line-height:1.6; vertical-align:middle;
  border-top:1px solid #e0e0e0; color:#333; text-align:left;
}
.gdrp-dent__table thead th{
    border-top:1px solid #e0e0e0;
  background:#f8f8f8; 
  font-weight:700; text-align:center; 
}

.gdrp-dent__notes{margin:12px 0 0; padding:0; list-style:none; color:#5b6675; font-size:14px;}
.gdrp-dent__notes li{margin:6px 0;}
.gdrp-dent__notes li::before{content:"※ "; margin-right:6px;}


#resultList{
        width: 100%;
    height: 600px;
    overflow-y: scroll;
}
.map-service-wrap{
    padding-bottom: 80px;
}
#mapPagination_a{
    position: absolute;
    width: 100%;
    height: 50px;
    display: block;
    left: 0;
    bottom:21px;
}
.pagination button.active{
   background: #005bac !important;
}
.map-searchbar button{
    background: #005bac !important;
}
/* ===== Pagination look only ===== */
:root{
  --pg-h: 36px;
  --pg-r: 10px;
  --pg-gap: 6px;
  --pg-fz: 14px;
  --pg-border: #e5e7eb;
  --pg-fg: #222;
  --pg-bg: #fff;
  --pg-active-bg: #111;
  --pg-active-fg: #fff;
  --pg-hover-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.pagination{
  display:flex; align-items:center; 
  justify-content:center; flex-wrap:wrap;
  gap: var(--pg-gap); padding: 16px 0;line-height:1;
}

.pg-btn, .pg-ellipsis{
  display:inline-flex; align-items:center; justify-content:center;
  min-width: 38px; height: var(--pg-h); padding: 0 12px;
  border:1px solid var(--pg-border); border-radius: var(--pg-r);
  background: var(--pg-bg); color: var(--pg-fg); text-decoration:none; user-select:none;
}

.pg-btn:hover:not(.is-active):not(.is-disabled){
  box-shadow: var(--pg-hover-shadow); transform: translateY(-1px); transition: all .15s ease;
}

.pg-btn.is-active{
  background: var(--pg-active-bg); color: var(--pg-active-fg); border-color: var(--pg-active-bg);
  pointer-events:none;
}

.pg-btn.is-disabled{
  opacity:.45; pointer-events:none;
}

.pg-ellipsis{
  border:none; background:transparent; min-width:auto; padding:0 4px; color:#9ca3af;
}

/* 사이즈 옵션 */
.pagination--sm .pg-btn, .pagination--sm .pg-ellipsis{ min-width:32px; height:30px; padding:0 8px; font-size:13px; }
.pagination--lg .pg-btn, .pagination--lg .pg-ellipsis{ min-width:42px; height:40px; padding:0 14px; font-size:15px; }

.svc-list{
  display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: left;  
}
.map-service-wrap{
    flex-wrap: wrap;
    width: 100%;
}
.map-item{
    position: relative;
}
.map-item>a{
padding: 6px 10px;
    border: none;
    border-radius: 6px;
    background: #f3f3f3;
    color: #000;
    font-weight: 500;
    display: inline-block;
    cursor: pointer;
    position: absolute;
    right: 13px;
    top: 13px;
}
#mapLeft_a,
#mapLeft_b,
#mapLeft_c{
    width: 45% !important;
}
.map-item.active{
    background: #fff !important;
    /* border: 1px solid #ddd; */
}

.map-searchbar select, .map-searchbar input{
    width: 25% !important;
}
.map-searchbar button{
    width: 64px;
}
#keywordInput_a,
#keywordInput_b,
#keywordInput_c{
    width: calc(50% - 92px) !important;
}
.br{
    border-right: 4px solid #ddd;
}
.br_l{
    border-right: 1px solid #ddd;
}
/* 모바일: 가로 스크롤로 깔끔하게 */
@media (max-width: 480px){
  .pagination{ justify-content:flex-start; overflow:auto; padding:12px; }
}

/* 모션 민감 사용자 배려 */
@media (prefers-reduced-motion: reduce){
  .pg-btn:hover{ box-shadow:none; transform:none; transition:none; }
}

@media (max-width:760px){
  .gdrp-dent__title{font-size:18px;}
  .gdrp-dent__table th,.gdrp-dent__table td{padding:12px 14px; font-size:14px;}

}
@media (max-width:1200px){ 
    .gdc-guides__grid{ 
        grid-template-columns: repeat(3,1fr); 
    } 
     .map-left,
  .map-right{
    width: 100% !important;
    
}
#mapLeft_a, #mapLeft_b, #mapLeft_c{
    width: 100% !important;
height: 200px !important;
    }

#mapPagination_a{
    bottom: 0px;
    position: relative;
}
}

@media (max-width: 980px){
  .proc-flow__list{ flex-direction:column; gap:14px; }
  .proc-flow__item:not(:last-child)::after{ display:none; }
  .proc-flow__card{ align-items:flex-start; }
  .proc-flow__title{ font-size:17px; }
  .svc-list{
  display: grid;
      grid-template-columns: 1fr 1fr;
    text-align: left;  
}
 
}

@media (max-width:950px){
    .gdc-filter{
        grid-template-columns:1fr 1fr;
        grid-auto-rows:40px;
    }
    
}
@media (max-width:900px){ 
    .gdc-guides__grid{ grid-template-columns: repeat(2,1fr); } 
}
    

@media (max-width: 860px){
    .step-grid {grid-template-columns:1fr}
  .policy-table th,.policy-table td{ padding:12px 14px; font-size:14px; }

}





@media (max-width:680px){
  .cbr-item {grid-template-columns:52px 1fr}
  .cbr-icon{width:52px;height:52px}
  .cbr-dl{grid-template-columns:1fr}
    .oral-item { grid-template-columns: 70px 1fr; padding: 18px 4px; }
    .oral-icon { width: 70px; height: 70px; }
    .oral-icon img { width: 44px; height: 44px; }
}

@media (max-width:560px){ .gdc-guides__grid{ grid-template-columns: 1fr; } }
