/* 영역 */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  padding-top: 2rem;
  grid-gap: 40px;
  padding-bottom: 4rem;
}

/* 왼쪽 사이드바 */
.sidebar {
  background: white;
  border-radius: 20px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  margin: 20px;
  overflow: hidden;
  max-height: 610px;
}

.sidebar-header {
  background: url(../img/sub_menu_head.jpg);
  background-size: cover;
  color: #485c68;
  padding: 50px 30px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  border-radius: 20px 20px 0 0;
}

.menu-list {
  padding: 20px 0;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 1px dotted #ddd;
}

.menu-item:hover {
  background: #f8f9fb;
}

.menu-item.active {
  background: #026aa7;
  color: white;
}

.menu-item .chevron {
  width: 16px;
  height: 16px;
  color: #999;
}

.menu-item.active .chevron {
  color: white;
}

/* 인사말 */
.page-header {
  text-align: center;
  margin-bottom: 120px;
}

.page-subtitle {
  font-size: 0.9em;
  color: #999;
  margin-bottom: 15px;
  letter-spacing: 3px;
  font-weight: normal;
}

.page-title {
  font-size: 4em;
  color: #333;
  font-weight: 300;
  margin-bottom: 60px;
}

.intro-lines {
  font-size: 1em;
  color: #666;
  line-height: 1.8;
}

.intro-lines p {
  margin-bottom: 8px;
}
.company-name {
  font-size: 1.8em;
  font-weight: bold;
  color: #026aa7;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.company-eng {
  font-size: 1.2em;
  color: #026aa7;
  letter-spacing: 3px;
  font-weight: normal;
}

.text-section {
  flex: 1;
}

.greeting-text {
  font-size: 1.2em;
  line-height: 2;
  color: #555;
  margin-bottom: 50px;
}

.greeting-text p {
  margin-bottom: 25px;
}

.signature {
  text-align: right;
  font-size: 1em;
  color: #666;
}

.com-main-content .img {
  border-radius: 44px;
  background: url(../img/company_top.jpg) center;
  background-size: cover;
  height: 300px;
  margin-bottom: 3rem;
}

.com-features-section {
  margin-top: 150px;
}

.com-features-header {
  text-align: center;
  margin-bottom: 70px;
}

.com-features-subtitle {
  font-size: 0.9em;
  color: #999;
  margin-bottom: 15px;
  letter-spacing: 3px;
}

.com-features-title {
  font-size: 3em;
  color: #333;
  font-weight: 300;
}

.com-features-title .highlight {
  color: #026aa7;
  font-weight: bold;
}

.com-feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0;
}

.room-feature {
  direction: rtl;
}

.room-feature > * {
  direction: ltr;
}
.feature-image {
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-title {
  font-size: 1.8em;
  color: #026aa7;
  margin-bottom: 30px;
  font-weight: bold;
}

.feature-desc {
  font-size: 1.2em;
  line-height: 2;
  color: #555;
}

.feature-desc p {
  margin-bottom: 20px;
}

.room-feature {
  position: relative;
}

.room-images {
  display: flex;
  gap: 0;
  margin-top: 30px;
}

.room-img {
  flex: 1;
  height: 80px;
  background: #eee;
  border-radius: 0;
  overflow: hidden;
}

.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .main-content {
    flex-direction: column;
    gap: 60px;
  }

  .logo-section {
    flex: none;
  }

  .com-feature-item,
  .com-feature-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .feature-image {
    flex: none;
    width: 88vw;
    height: 88vw;
  }

  .feature-content {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .wrap {
    grid-template-columns: 1fr;
    padding: 19px;
  }

  .sidebar {
    display: none;
  }

  .com-features-title {
    font-size: 2em;
  }

  .com-main-content .img {
    background-size: cover;
    height: 300px;
    margin-bottom: 3rem;
  }
}
/* 인사말 끝 */

/* 오른쪽 콘텐츠 */
.main-content {
  flex: 1;
  padding: 0px;
  background: white;
}

.breadcrumb {
  text-align: right;
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

.page-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
}

.intro-section {
  margin-bottom: 40px;
}

.intro-title {
  display: flex;
  align-items: center;
  font-size: 21px;
  font-weight: bold;
  margin-bottom: 15px;
}

.intro-icon {
  width: 24px;
  height: 20px;
  background: url(../img/sub_dot.jpg) center no-repeat;
  background-size: 100%;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
}

.intro-text {
  color: #666;
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 5px;
}

/* 섹션 */
.section {
  margin-bottom: 40px;
  font-size: 17px;
}

.section-title {
  display: flex;
  align-items: center;
  font-size: 21px;
  font-weight: bold;
  color: #2769b4;
  margin-bottom: 20px;
}

/* 테이블 */
.data-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.table-header {
  background: #f8f9fb;
  display: grid;
  border-bottom: 1px solid #e0e0e0;
}

.table-row {
  display: grid;
}

.table-row:last-child {
  border-bottom: none;
}

.table-cell {
  padding: 15px 20px;
  border-right: 1px solid #e0e0e0;
}

.table-cell:last-child {
  border-right: none;
}

.table-label {
  font-weight: bold;
  color: #555;
  background: #f8f9fb;
}

.table-value {
  color: #333;
  background: white;
}

/* 4열 테이블 */
.table-4col .table-header,
.table-4col .table-row {
  grid-template-columns: 1fr 2fr 1fr 2fr;
}

/* 3열 테이블 */
.table-3col .table-header,
.table-3col .table-row {
  grid-template-columns: 1fr 1fr 3fr;
}

/* 2열 테이블 */
.table-2col .table-header,
.table-2col .table-row {
  grid-template-columns: 1fr 3fr;
}

/* 오시는길 */
.root_daum_roughmap {
  width: 100% !important;
  padding-bottom: 30px;
}

.root_daum_roughmap .cont .section.lst,
.root_daum_roughmap .wrap_controllers {
  display: none;
}

.map_info {
  background: #f8f9fb;
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  grid-gap: 10px;
}

.map_wrap .com-features-header {
  margin-bottom: 20px;
}
.map_info_box {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-gap: 5px;
  font-size: 17px;
  color: #555;
  padding: 0 20px;
}
.map_info_box [data-lucide] {
  width: 15px !important;
  height: 15px !important;
  color: #2769b4;
}

.flag-ribbon {
  position: relative;
  height: 70px;
  max-width: 900px;
  background: linear-gradient(135deg, #4a7cdb 0%, #2769b4 50%, #1f4a9c 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  clip-path: polygon(0% 0%, 100% 0%, 97% 30%, 100% 60%, 0% 60%, 3% 30%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  padding-bottom: 30px;
  color: #fff;
  font-weight: 600;
}

/* 장기요양보험안내 */

.subtitle_div {
  font-size: 16px;
  font-weight: bold;
  color: #1a73e8;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.subtitle_div::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #1a73e8;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
}

.subtitle_div::after {
  content: "";
  position: absolute;
  margin-left: -10px;
  margin-top: 1px;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

.enter_txt2 {
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  font-size: 16px;
}

.pair_section .enter_txt2 {
  border: 1px solid #ddd;
  padding: 1.5rem;
}

.triangle_title {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  font-size: 17px;
}

.pair_section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
  align-items: start;
}

.image {
  text-align: center;
}

.image img {
  max-width: 100%;
  cursor: pointer;
}

.content-section {
  margin: 70px 0;
}

/* 프로세스 박스들 */
.square_items {
  margin: 20px 0;
}

.square_group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: center;
}

.square_min {
  background: #f8f9ff;
  border: 1px solid #e0e8ff;
  border-radius: 8px;
  padding: 20px;
  flex: 1;
  max-width: 300px;
  position: relative;
  text-align: center;
}

.square_min .content .main {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.4;
}

.square_min .content .back {
  color: #1a73e8;
  font-size: 15px;
}

.square_min .arrow {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid #1a73e8;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.square_group:last-child .square_min:last-child .arrow {
  display: none;
}

/* 등급신청 문의 섹션 */
.grade_info {
  background: #f8f9ff;
  border: 1px solid #e0e8ff;
  border-radius: 8px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.grade_info img {
  width: 60px;
  height: 60px;
}

.grade_info b {
  color: #1a73e8;
}

/* 등급판정 절차 이미지 */
.square_items div[style*="background"] {
  background: #f8f9ff !important;
  border: 1px solid #e0e8ff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.square_items img {
  max-width: 100%;
  height: auto;
}
/* 물리치료 */
.subject {
  font-size: 26px;
  font-weight: 700;
  padding: 10px 0;
}

.therapy-main {
}

.therapy-box {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-gap: 20px;
  margin: 20px 0;
}

.therapy-box > div {
  border-radius: 30px;
  border: 1px solid #ddd;
  padding: 3rem;
}

.therapy-box .greeting-text {
  line-height: 1.7;
  margin-bottom: 0;
}

.therapy-box .img {
  background-size: cover;
  background-position: center;
}

.therapy-main .img1 {
  background-image: url(../img/therapy_01.jpg);
}

.therapy-box .img2 {
  background-image: url(../img/therapy_02.jpg);
}

.therapy-box .img3 {
  background-image: url(../img/therapy_03.jpg);
}

.therapy-box .img4 {
  background-image: url(../img/therapy_04.jpg);
}

/* 테라피 서브 */

.therapy-sub {
  display: grid;
  grid-template-columns: 100px 1fr;
  border-radius: 30px;
  border: 1px solid #ddd;
  padding: 2rem 3rem;
  background: #f8f9fb;
  color: #555;
  font-size: 15px;
  margin-bottom: 50px;
}
.therapy-sub .mini_sub {
  display: inline-block;
  color: #fff;
  background: #026aa7;
  padding: 3px 20px;
  border-radius: 44px;
  font-size: 13px;
}
.therapy-sub b {
  display: inline-block;
  color: #222;
  padding-right: 7px;
}

/* 서비스 부분 이미지 */
/* 생활요양서비스 */
.therapy-main .lifeimg1 {
  background-image: url(../img/life_01.jpg);
}

.therapy-box .lifeimg2 {
  background-image: url(../img/life_02.jpg);
}

.therapy-box .lifeimg3 {
  background-image: url(../img/life_03.jpg);
}

.therapy-box .lifeimg4 {
  background-image: url(../img/life_04.jpg);
}

/* 간호의료서비스 */
.therapy-main .mediimg1 {
  background-image: url(../img/medi_01.jpg);
}

.therapy-box .mediimg2 {
  background-image: url(../img/medi_02.jpg);
}

/* 비용안내 */
.cost-content-section {
  margin-bottom: 40px;
}

.cost-enter-txt1 {
  line-height: 1.8;
  color: #555;
  margin-bottom: 5px;
  font-size: 18px;
  display: flex;
  align-items: flex-start;
}

.cost-bullet-point {
  width: 6px;
  height: 6px;
  background: #2769b4;
  border-radius: 50%;
  margin-right: 8px;
  margin-top: 8px;
  flex-shrink: 0;
}

.cost-triangle-title {
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  font-size: 19px;
  display: flex;
  align-items: center;
}

.cost-triangle-title .etc {
  color: #666;
  font-size: 16px;
  margin-left: 10px;
  font-weight: normal;
}

/* 테이블 스타일 */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

.cost-table th,
.cost-table td {
  padding: 12px 8px;
  border: 1px solid #ddd;
  text-align: center;
  vertical-align: middle;
  font-size: 15px;
}

.cost-table th {
  background: #f8f9fb;
  font-weight: bold;
  color: #555;
}

.cost-table .rt {
  text-align: right;
}

.cost-table .c2 {
  background: #f0f7ff;
  font-weight: bold;
}

.cost-table .fw {
  font-weight: bold;
}

.cost-table .minpd {
  padding: 8px 4px;
}

.cost-flex {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cost-flex span:first-child {
  font-weight: bold;
}

.cost-flex span:last-child {
  color: #666;
}

/* 비용 안내 이미지 영역 */
.cost-gray-box {
  background: #f8f9fb;
  border: 1px solid #e0e8ff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin: 20px 0;
}

.cost-gray-box img {
  max-width: 100%;
  height: auto;
}

.pay-box {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: sans-serif;
  flex-wrap: wrap;
  justify-content: center;
}

.pay-box .box {
  background-color: white;
  border: 2px solid #ccc;
  border-radius: 30px;
  padding: 20px 30px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  min-width: 130px;
}

.pay-box .box span {
  font-weight: normal;
  font-size: 14px;
  display: block;
  margin-top: 5px;
}

.pay-box .plus,
.equal {
  font-size: 30px;
  font-weight: bold;
  color: #666;
}

.pay-box .result {
  background-color: #999;
  color: white;
  border-radius: 30px;
  padding: 20px 40px;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  min-width: 130px;
  text-align: center;
}

.section .enter_txt2 {
  background: #f8f9ff;
  padding: 2rem;
}

/* 모바일 대응 */
@media (max-width: 480px) {
  .pay-box {
    flex-direction: column;
    gap: 5px;
  }

  .pay-box .plus,
  .pay-box .equal {
    font-size: 24px;
  }

  .pay-box .box,
  .pay-box .result {
    width: 80%;
  }

  .flag-ribbon {
    display: none;
  }
}

.cost-content-banner {
  background: #fafbff;
  border: 1px solid #e8ebf7;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
}

.cost-content-title {
  font-size: 18px;
  font-weight: bold;
  color: #2769b4;
  margin-bottom: 25px;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 2px solid #2769b4;
}

.cost-enter-txt {
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

/* 프로세스 */

/* 원형 프로세스 - 새로운 클래스 */
.circle_items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 40px 0;
  flex-wrap: wrap;
}

.circle_items .content {
  background: #f8f9fb;
  border: 2px solid #2769b4;
  color: #2769b4;
  padding: 20px 25px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  min-width: 150px;
  transition: all 0.3s ease;
}

.circle_items .content:hover {
  background: #2769b4;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 107, 180, 0.3);
}

.circle_items .arrow {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 15px solid #2769b4;
  margin: 0 15px;
}

/* 불릿 포인트 아이콘 대체 */
.contract-bullet-point {
  width: 6px;
  height: 6px;
  background: #2769b4;
  border-radius: 50%;
  margin-right: 8px;
  margin-top: 8px;
  flex-shrink: 0;
  display: inline-block;
}

.contract-list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  line-height: 1.8;
  color: #555;
  font-size: 16px;
}

.contract-spacer {
  height: 2rem;
}

/* 장기요양신청절차 */

/* 기존 테이블 스타일 재사용 */
.default {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  font-size: 14px;
}

.default th,
.default td {
  padding: 15px 12px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.default th {
  background: #f8f9fb;
  font-weight: bold;
  color: #555;
  text-align: center;
}

.content-section {
  margin: 70px 0;
}

/* 간격 조정 */
.spacer-1 {
  height: 1rem;
}

.spacer-2 {
  height: 2rem;
}

/* 반응형 */
@media (max-width: 768px) {
  .pair_section {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .square_group {
    flex-direction: column;
  }

  .square_min .arrow {
    display: none;
  }

  .grade_info {
    flex-direction: column;
    text-align: center;
  }

  /* 회사소개 */
  .greeting-text {
    text-align: left;
    line-height: 1.68;
  }
  /* 서비스 부분 */
  .subject {
    font-size: 24px;
  }
  .therapy-box {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .therapy-box > div,
  .therapy-sub {
    padding: 2.4rem 2rem;
  }
  .therapy-sub {
    grid-template-columns: 1fr;
    text-align: left;
    grid-gap: 11px;
  }

  .therapy-main .img {
    height: 250px;
  }

  .therapy-box .greeting-text {
    font-size: 1.1em;
  }

  /* 비용안내 */
  .cost-table {
    font-size: 11px;
  }

  .cost-table th,
  .cost-table td {
    padding: 8px 4px;
  }

.cost-enter-txt1 {
    font-size: 15.5px;
}

  /* 
프로세스 */

  .circle_items {
    flex-direction: column;
    gap: 0px;
  }

  .circle_items .arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }

  .circle_items .content {
    min-width: 200px;
  }

  /* 장기요양신청절차 */
  .square_group {
    flex-direction: column;
    align-items: center;
  }

  .square_min .arrow {
    display: none;
  }

  .default {
    font-size: 12px;
  }

  .default th,
  .default td {
    padding: 10px 8px;
  }

  .square_min {
    width: 100%;
  }
}
