body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
ul, li { padding:0; margin:0;}


/* styles.css */

/* 전체 리셋 (기본 브라우저 스타일 제거) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 위로 가기 버튼 스타일 */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #ff6b6b;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* 화살표 아이콘 */
.arrow-up {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid white;
    margin-bottom: 5px;
}

/* 호버 효과 */
.scroll-to-top:hover {
    background-color: #ff8787;
    transform: translateY(-3px);
}

/* 헤더 스타일 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 로고 스타일 */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b6b; /* 예쁜 핑크색 로고! */
}

.logo img {
      width: 220px;
    }
/* 햄버거 버튼 스타일 */
.hamburger {
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 6px;
    width: 100%;
    background-color: #ff6b6b; /* 햄버거도 핑크색으로! */
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 햄버거 버튼 활성화 시 X 모양으로 변경 */
.hamburger.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

/* 사이드 메뉴 스타일 */
.side-menu {
    position: fixed;
    top: 0;
    right: -300px; /* 초기에는 화면 오른쪽 바깥에 위치 */
    width: 300px; /* 요청대로 300px */
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding-top: 100px;
    transition: left 0.3s ease; /* 부드럽게 나타나는 효과 */
    z-index: 999;
}

.side-menu.active {
    right: 0; /* 활성화 시 화면 안으로 이동 */
}

/* 메뉴 아이템 스타일 */
.menu-items {
    list-style: none;
    font-family: "나눔스퀘어";
}
#lang_area {
    display: block;
    text-align: right;
    font-size: 10px;
    margin-top: 15px;
} 

.lang {
  display : inline-block;
  font-size: 11px;
  color: #333;
  padding: 5px 15px;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid #333;
  margin: 10px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lang:hover{
  background-color: #0168b7;
  color:#fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.lang:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-items li {
    border-bottom: 1px solid #6d3434;
}

.menu-items li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 15px 25px;
    transition: all 0.3s ease;
}

.menu-items li a:hover {
    background-color: #fff0f0; /* 연한 핑크색 호버 효과 */
    color: #ff6b6b;
    padding-left: 30px; /* 호버 시 살짝 들어가는 효과 */
}

/* 메뉴 아이콘 스타일 */
.menu-items li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* 오버레이 (배경 어둡게) */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 메인 콘텐츠 영역 */
.content {
    padding: 30px 20px;
}



/* main_img: 이미지 슬라이더 스타일 */
#main_img {
  overflow: hidden; /* 넘치는 부분 숨김 */
  width:100%;
}

#sub_img {
  overflow: hidden; /* 넘치는 부분 숨김 */
  width:100%;
}

#sub_img img {
  /*position: absolute;*/
  width:100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.slider {
  display: flex;
  margin:0;
  padding:0;
  will-change: transform;
  transition: transform 1.2s ease; 
}

.slide-item {
    position: relative;
    width: 100%; 
    flex-shrink: 0; 
    display: block; 
    background-color: #eee;
    padding-bottom: 47.25%; 
    height: auto; 
    overflow: hidden; 
}

.slide-item img {
  position: absolute;
  width: 100%;
  height: auto;
  flex-shrink: 0;
  display: block;
  object-fit: cover;
}

/* 이미지 위에 올릴 텍스트 스타일  */
.image-overlay-text {
    position: absolute;
    left: 8%; 
    top: 50%; 
    transform: translateY(-50%); 
    color: #000; 
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2); 
    z-index: 10; 
    text-align: left; 
    max-width: 45%; 
    padding: 15px 20px; 
}

.image-overlay-text h2 {
    font-size: 1.2em; 
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: "나눔스퀘어";
}

.image-overlay-text p {
    font-size: 2.3em; /* 설명 글씨 */
    line-height: 1.3;
    margin-bottom: 0;
    font-weight: 800;
    font-family: "나눔스퀘어";
}

#sub_img .image-overlay-text2 {
    position: absolute;
    left: 8%; 
    top: 30%; 
    transform: translateY(-50%); 
    color: #000; 
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2); 
    z-index: 10; 
    text-align: left; 
    max-width: 45%; 
    padding: 15px 20px; 
}

#sub_img .image-overlay-text2 p {
    font-size: 2.3em; /* 설명 글씨 */
    line-height: 1.3;
    margin-bottom: 0;
    font-weight: 800;
    font-family: "나눔스퀘어";
}

/* merit: 배경 이미지와 오버레이 텍스트 박스 스타일 */
#merit {
  position: relative;
  height: 1080px;
  background-image: url('./img/merit_bg.jpg');
  background-size: cover;
  background-position: center;
}

.merit_ti {
  font-family: NanumSquare;
  font-size:30px;
  font-weight: bold;
  padding:50px 50px 0px;
}

#merit .description {
  position: absolute;
  top: 120px;
  left: 50px;
  height: 705px;
  width:900px;
  border-radius: 20px;
  background: rgba(255,255,255,0.8);
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* 전체 레이아웃을 그리드로 4등분 */
.container_box {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2열 구성 */
  grid-gap: 10px; /* 셀 간격 */
  max-width: 920px;
  margin: 0 auto; /* 컨테이너 중앙 정렬 */
  padding: 20px;
}

/* 각 셀(칸) 스타일 */
.cell {
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center; /* 수평 중앙 정렬 */
  justify-content: center; /* 수직 중앙 정렬 */
  padding: 20px;
  height: 300px; /* 셀 높이 설정 */
  transition: background 0.3s ease;
}
/* 아이콘 스타일 */
.icon {
  font-size: 60px; /* 아이콘 크기 */
  margin-bottom: 15px; /* 아이콘과 텍스트 간의 간격 */
  color: #4a6fa5;
}

/* 텍스트 스타일 */
.text {
  font-size: 32px;
  color: #586475;
  font-family: "나눔스퀘어";
  font-weight: bold;
  padding-bottom: 10px;
  transition: color 0.3s ease; /* 텍스트 색상 변화 애니메이션 */
}

.text_en {
  font-size: 27px;
  color: #586475;
  font-family: "나눔스퀘어";
  font-weight: bold;
  padding-bottom: 10px;
  transition: color 0.3s ease; /* 텍스트 색상 변화 애니메이션 */
}
.text_cont{
  font-size: 20px;
  color: #586475;
  font-family: "나눔스퀘어";
}

.text_cont_en{
      font-size: 17px;
  color: #586475;
  font-family: "나눔스퀘어";
}

/* 마우스 오버 시 텍스트 색상 변경 효과 */
.cell:hover  {
  background-color: #fdfdfd; /* 오버 시 텍스트 색상 */
}

.cell:hover .icon i {
  color: #e74c3c; /* 오버 시 아이콘 색상 */
  width:105%;
}

.cell:hover .text {
  color: #e74c3c; /* 오버 시 텍스트 색상 */
}

.cell:hover .text_cont {
  color: #e74c3c; /* 오버 시 텍스트 색상 */
}



/* img_info: 고정 배경 및 타이핑 효과 텍스트 */
#img_info {  
  position: relative;
  height: 800px;
  background-image: url('./img/merit_under.jpg');
  background-size: cover;
  background-attachment: fixed; /* 스크롤해도 배경 고정 */
  display: flex;
  justify-content: left;
  padding-left: 50px;
  align-items: center;
}

#img_info p {
  font-size: 50px;
  color: #185667;
  /*background: rgba(0,0,0,0.5);*/
  padding: 10px;
  font-family: "Ami R";
}

/* ytb: 유튜브 영상과 설명 */
#ytb {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
 /* height: 800px;*/
  align-items: center;
}

.ytb_ti{
  padding-left: 30px;
  margin: 40px auto;
  font-size: 30px;
  font-weight: 200;
  font-family: Godo B;
}

.video-container {
  flex: 1 1 60%;
  min-width: 300px;
  padding: 10px;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /*16:9비율*/
  height: 0px;
  overflow: hidden;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  width: 100%;
  height: 80%;
}
.video-description {
  flex: 1 1 20%;
  min-width: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "나눔스퀘어";
  font-size: 1.5em;
  font-weight: bold;
}
.video-description p {
  margin-bottom: 30px;
  padding-left: 20px;
}

/* use_box: 설명 컨텐츠 박스 */
.use_box {
 background-color: #ecedcd;
 padding: 50px 50px 0px;
 height:700px;
}

.use_box_ti {
  font-family: "NanumSquare";
  font-size:30px;
  font-weight: bold;
}

#use_area {
  display: flex;
  width: 100%;
  /*max-width: 1200px; */
  justify-content: space-around;
  /* margin: 50px auto; 중앙 정렬 */
  min-height: 300px;
  /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 은은한 그림자 추가 */
  overflow: hidden; /* 모서리 둥글게 */
  background-color: #ecedcd;
  padding:30px 0px 50px;
  font-family: "나눔스퀘어";
}

@media screen and (max-width:768pox){
  #duse_area{
    flex-direction: column;
    max-width: 100%;
    padding: 20px 10px;
    margin:30px;
    box-shadow: none;
    }
}

.use_box_bg{
    padding-bottom: 30px;
    text-align: center;
    font-family: "Ink Free";
    font-size: 5em;
    font-weight: bold;
    color: #e7e0c7;
    font-style: italic;
}

#use_area .box {
  flex: 1;
  flex-direction: column;
  padding: 30px; 
  transition: transform 0.3s;
  background: #552cc6;
  color:#FFFFFF;
  /*min-width:520px;*/
  margin:10px 15px;
  border-radius: 10px;
}

#use_area .box:hover {
  transform: scale(1.01) translateY(-3px); /* 살짝 떠오르는 느낌 */
  background: #9c7ef0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

#use_area .box ul li {
  padding: 2px;
  margin: 10px;
  font-size: 17px;
  line-height: 1.1; /* 줄 간격 여유롭게 */
  color: #e4e3e3; /* 설명 글씨색 */
  margin-bottom: 5px; /* 버튼과의 간격 */
  transition: color 0.3s ease;
}

#use_area .box .box_ti {
  font-size: 26px; /* 타이틀 크기 */
  font-weight: 700; /* 타이틀 좀 두껍게 */
  margin-bottom: 15px;
  color: #fff; /* 타이틀 기본색 */
  transition: color 0.3s ease;
  list-style-type: none;
}

/* Div 6: 이미지 스케일 및 투명도 전환 */
#div6 {
  overflow: hidden;
  padding: 20px;
  text-align: center;
}
#div6 img {
  width: 100%;
  transform: scale(1.2);
  opacity: 0.8;
  transition: transform 1s ease, opacity 1s ease;
}
/* 스크롤에 따른 변화 적용시 추가될 클래스 */
#div6 img.inview {
  transform: scale(1);
  opacity: 1;
}

/* needs_area: 단순 설명 영역 */
.needs_ti{
  text-align: center;
  margin: 40px auto;
  font-size: 30px;
  font-weight: 200;
  font-family: Godo B;
}

.highlight_C {
  font-size: 2.0em;
  font-weight: 900;
  color: #ff7fa0;
}

.highlight_N {
  font-size: 2.0em;
  font-weight: 900;
  color: #1f99ef;
}

.highlight_S {
  font-size: 2.0em;
  font-weight: 900;
  color: #9892ff;
}

#needs_area {
  padding: 20px;
  text-align: center;
  font-size: 18px;
  height:1000px;
  display: flex;
  font-family: NanumGothic;
}

.flow-chart {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  width: 100%;
}
        
.flow_box {
  flex: 1;
  text-align: center;
  padding: 20px;
  position: relative;
}

.flow_title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
  font-family: NanumSquare;
}

.flow_content {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flow_content i {
  font-size: 3.2em;
  padding: 10px 0px;
}

.arrow {
  font-size: 30px;
  color: #000;
  margin: 0 -5px;
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

/*.icon {
  font-size: 60px;
  margin-bottom: 15px;
  color: #4a6fa5;
}*/

.patient-text {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 5px;
}

.elderly-text {
  font-size: 1.0em;
  color: #555;
}

.need-text {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
}

.solution-list {
  text-align: left;
  margin-top: 15px;
  padding-left: 20px;
  font-size: 1.0em;
}

.solution-list li {
  margin-bottom: 10px;
  position: relative;
  list-style-type: none;
  padding-left: 15px;
}

.solution-list li:before {
  content: "-";
  position: absolute;
  left: 0;
}

.solution-list_en {
  text-align: left;
  margin-top: 10px;
  padding-left: 20px;
  font-size: 14px;
}

.solution-list_en li {
  margin-bottom: 10px;
  position: relative;
  list-style-type: none;
  padding-left: 15px;
}

.solution-list_en li:before {
  content: "-";
  position: absolute;
  left: 0;
}
/* img_only: 이미지 배경고정 */
#img_only {
  position: relative;
  height: 600px;
  background-image: url('./img/ytb_under_con_bg.jpg');
  background-size: cover;
  background-attachment: fixed; /* 스크롤해도 배경 고정 */
  display: flex;
  justify-content: center;
  align-items: center;
}

/*division_img 게시판 위 이미지*/
#division_img img {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}



/*인증서이미지*/
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}
   
h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-weight: 200;
    font-family: Godo B;
}

.gallery-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.gallery-item {
    margin: 10px 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    text-align: center;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 200px;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-item .caption {
    text-align: center;
    margin-top: 8px;
    color: #555;
    font-size: 14px;
    font-family: "나눔스퀘어";
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-image {
    max-width: 90%;
    max-height: 80vh;
    display: block;
    margin: 30px auto;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.modal-caption {
    color: white;
    text-align: center;
    /*padding: 15px;*/
    font-size: 18px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .gallery-item img {
        width: 150px;
        height: 120px;
    }
.modal-image {
    max-width: 85%;
    margin: 80px auto 20px
}

}



/* board: 게시판 아코디언 효과 및 토글 */
.board_ti{
    font-family: Gill Sans MT;
    padding: 20px 100px 0px;
    font-size: 3.0em;
}

#board_area {
  display: flex;
  justify-content: center;
  align-items: center; 
  margin: 30px auto 50px;
  font-family: "나눔스퀘어";
}
.accordion-container {
    width: 100%;
    max-width: 1200px; /* 게시판 너무 안 늘어나게 최대 폭 설정 */
    min-width: 600px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* 둥근 모서리 안에 내용 안 튀어나오게 */
}

.accordion-item {
    border-bottom: 1px solid #eee; /* 각 항목 사이에 구분선 */
}

.accordion-item:last-child {
    border-bottom: none; /* 마지막 항목은 아래선 없애기 */
}

.accordion-item:nth-child(odd) .accordion-title {
    background-color: #fefefe; /* 홀수 줄 밝은 배경 */
}

.accordion-item:nth-child(even) .accordion-title {
    background-color: #f7f7f7; /* 짝수 줄 살짝 어두운 배경 */
}

.accordion-title {
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer; 
    display: flex;
    justify-content: space-between; /* 제목이랑 아이콘 양쪽 끝으로 */
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease; /* 부드럽게 변하는 효과 */
}
.accordion-title span img{
  width:20px;
  padding-right: 2px;
}

.accordion-title:hover {
    background-color: #ffe0e0; /* 호버 시 살짝 분홍색! */
    color: #d32f2f;
}

/* 제목 클릭해서 열렸을 때 스타일 */
.accordion-title.active {
    background-color: #ffcdd2; /* 열린 제목은 더 진한 분홍색 */
    color: #c62828;
    font-weight: 700;
}

/* 아이콘 스타일 (제목 오른쪽에 있는 꺽쇠) */
.accordion-title .toggle-icon {
    font-size: 16px;
    color: #888;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* 열린 상태일 때 아이콘 돌리기 */
.accordion-title.active .toggle-icon {
    transform: rotate(180deg); /* 아이콘을 위로 돌려줘! */
    color: #c62828;
}

.accordion-content {
    background-color: #ffffff;
    padding: 0 25px; 
    max-height: 0; /* 내용 기본적으로 숨기기*/
    overflow: hidden; /* 내용이 넘쳐도 보이지 않게 */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* 부드럽게 열리고 닫히는 효과 */
}

.accordion-content.active {
    padding: 15px 25px; /* 열렸을 때 위아래 패딩 추가 */
    /* max-height는 JavaScript에서 내용 길이에 따라 동적으로 설정될 거야 */
}

.accordion-content p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
    font-size: 15px;
}
.accordion-content p:last-child {
    margin-bottom: 0; /* 내용의 마지막 문단은 아래 여백 없애기 */
}

#cert, #patent, #notice{
  position: relative;
  display: block;
}   

/* Footer 영역 */
#footer_area {
  border-top: solid 1px #eee;
  color: #5f5f5f;
  text-align: center;
  padding: 30px;
  font-size: 14px;
}

#footer_area p{
  font-size:0.8em;
  color:#888;
}




/*타이핑하듯 나타나는 글씨*/

.typing-text {
  font-family: NanumSquare; /* 고정폭 글꼴 */
  font-size: 25px; /* 글자 크기 */
  white-space: nowrap;
  margin:0;
  position:fixed;
  color:transparent;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}
.typing-text::before {
  content: "다양한 보행지표를 실시간 분석 수집된 보행데이터는 직관적 그래프와 보고서 제공";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: black;
  overflow: hidden;
  /*border-right: 1px solid black;*/
  animation: typing 6s steps(50) infinite;
}

@keyframes typing{
  0% {
    width: 0%;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

.shortcut-area {
    max-width: 900px;
    margin: 50px auto 30px auto; /* 위쪽 여백 좀 주고 가운데 정렬 */
    text-align: center;
    padding: 0 15px; /* 양쪽 여백 추가 */
}

.shortcut-area-title {
    font-size: 32px; /* 데스크톱 기준 글씨 크기 */
    color: #333;
    margin-bottom: 15px;
    font-weight: 700; /* 좀 더 두껍게 */
    line-height: 1.4; /* 줄 간격 */
    font-family: "나눔스퀘어";
}

.shortcut-area-description {
    font-size: 18px; /* 데스크톱 기준 글씨 크기 */
    color: #555;
    margin-bottom: 40px; /* 버튼과의 간격 */
    line-height: 1.6;
}

.shortcut-area-description .highlight {
    color: #ff6b6b; /* 강조색을 예쁜 핑크색으로! */
    font-weight: bold;
}

.shortcut-buttons-wrapper {
    display: flex;
    justify-content: center; /* 버튼들을 가로 가운데 정렬 */
    gap: 25px; /* 버튼들 사이의 간격 */
    margin: 50px auto; /* 위아래 여백을 주고, 가운데 정렬 */
    max-width: 900px; /* 컨테이너가 너무 넓어지지 않게 */
    flex-wrap: wrap; /* 화면이 작아지면 자동으로 다음 줄로 넘어가게 */
    font-family: "나눔스퀘어";
}

.shortcut-button {
    display: flex; /* 아이콘과 텍스트를 나란히 */
    align-items: center; /* 세로 방향으로 가운데 정렬 */
    justify-content: center; /* 가로 방향으로 가운데 정렬 */
    padding: 18px 35px;
    border-radius: 12px; /* 둥근 모서리 */
    font-size: 19px;
    font-weight: bold;
    color: white;
    text-decoration: none; /* 링크 밑줄 제거 */
    transition: all 0.3s ease; /* 부드러운 애니메이션 효과 */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* 은은한 그림자 */
    min-width: 220px; /* 버튼의 최소 너비 설정 */
    height: 70px; /* 버튼 높이 고정 */
    font-family: "나눔스퀘어";
}

.shortcut-button i { /* 아이콘 스타일 */
    margin-right: 12px; /* 아이콘과 텍스트 사이 간격 */
    font-size: 24px; /* 아이콘 크기 */
}

/* 특허증 버튼 스타일 */
.shortcut-button.patent {
    background-image: linear-gradient(135deg, #8A2BE2 0%, #4B0082 100%); /* 보라색 계열 그라데이션 */
}

.shortcut-button.patent:hover {
    transform: translateY(-5px); /* 호버 시 살짝 위로 올라가게 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); /* 그림자 진하게 */
    background-image: linear-gradient(135deg, #9932CC 0%, #6A0DAD 100%); /* 호버 시 색상 살짝 변경 */
}

/* 인증서 버튼 스타일 */
.shortcut-button.certificate {
    background-image: linear-gradient(135deg, #00BFFF 0%, #1E90FF 100%); /* 파란색 계열 그라데이션 */
}

.shortcut-button.certificate:hover {
    transform: translateY(-5px); /* 호버 시 살짝 위로 올라가게 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); /* 그림자 진하게 */
    background-image: linear-gradient(135deg, #1C86EE 0%, #0000CD 100%); /* 호버 시 색상 살짝 변경 */
}


.board-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.board-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
}

.board-button {
    padding: 10px 20px;
    background-color: #5b9bd5;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.board-button:hover {
    background-color: #4a8bc2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.board-button.write {
    background-color: #70ad47;
}

.board-button.write:hover {
    background-color: #5e9a3d;
}

.board-button.delete {
    background-color: #ed7d31;
}

.board-button.delete:hover {
    background-color: #d76b27;
}

.board-button.move {
    background-color: #d4d4d4;
    color:#000;
}

.board-button.move:hover {
    background-color: #b3b3b3;
    color:#000;
}


@media (max-width: 600px) {
    .button-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .board-button {
        width: 100%;
    }
}





/* 반응형 디자인을 위한 미디어 쿼리 (태블릿) */
@media (min-width:768px) and
          (max-width: 1024px) {
.logo img{
  width: 200px;
}

.image-overlay-text {
    left: 5%;
    max-width: 80%;
    padding: 10px 15px;
}
.image-overlay-text h2 {
    font-size: 1.2em; 
}
.image-overlay-text p {
    font-size: 2.0em; 
}

.merit_ti {
  font-size:25px;
}

#merit .description {
  height: 570px;
  width: 90%;
}

.container_box {
  max-width: 800px;
  padding: 0px;
}

/* 각 셀(칸) 스타일 */
.cell {
  height: 260px; /* 셀 높이 설정 */
}
/* 아이콘 스타일 */
.icon {
  font-size: 45px; /* 아이콘 크기 */
  margin-bottom: 10px; /* 아이콘과 텍스트 간의 간격 */
}

/* 텍스트 스타일 */
.text {
  font-size: 25px;
  padding-bottom: 10px;
}

.text_en {
    font-size: 20px;
}

.text_cont, .text_cont_en{
  font-size: 15px;
}

#img_info p {
  font-size: 35px;
}

#ytb {
  display: block;
}

.video-container {
  padding-bottom: 65.25%; /*16:9비율*/
}

.use_box {
   height: 1150px;
  }

#use_area {
 display: block; 
 padding: 30px 0px 40px;
}

#use_area .box {
  padding: 20px 40px;
  margin: 15px;
}

.use_box_bg {
    padding-bottom: 20px;
    font-size: 2.8em;
}

#img_only {
  background-attachment: local;
  height: 400px;
}

.patient-text {
    font-size: 17px;
}
.elderly-text {
    font-size: 15px;
}

.need-text {
    font-size: 17px;
}

.solution-list {
    font-size: 15px;
    padding-left: 0px
}

 .shortcut-buttons-wrapper {
        flex-direction: column; /* 화면이 작아지면 버튼들을 세로로 쌓기 */
        align-items: center; /* 세로로 쌓으면서 가운데 정렬 */
        gap: 20px; /* 세로 간격 */
    }
    .shortcut-button {
        width: 80%; /* 모바일에서 너비 꽉 채우기 */
        max-width: 350px; /* 너무 커지지 않게 제한 */
    }
    

.board_ti {
   padding: 20px 40px 0px;
}

.accordion-container {
    width: 95%;
}

 

#sub_img .image-overlay-text2 {
    position: absolute;
    left: 8%;
    top: 22%;
    transform: translateY(-50%);
    color: #000;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
    text-align: left;
    max-width: 90%;
    padding: 11px 16px;
}

}





/* 반응형 디자인을 위한 미디어 쿼리 (모바일) */
@media (max-width: 767px) {

.logo img{
  width: 150px;
}

.image-overlay-text {
    left: 5%;
    max-width: 80%;
    padding: 10px 15px;
    }
#sub_img img{
  width:100%;
}

#sub_img .image-overlay-text2 {
    position: absolute;
    left: 5%; 
    top: 140px; 
    transform: translateY(-50%); 
    color: #000; 
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2); 
    z-index: 10; 
    text-align: left; 
    max-width: 100%;
    padding: 10px 20px; 
}

.image-overlay-text h2, #sub_img .image-overlay-text2 h2 {
    font-size: 12px; 
    }

.image-overlay-text p, #sub_img .image-overlay-text2 p {
    font-size: 18px; 
    }

.hamburger span {
    display: block;
    height: 6px;
    width: 80%;
}

#merit {
  height: 630px;
  background-image: none;
}

.merit_ti {
  font-size:20px;
  padding: 30px 30px 0px;
}

#merit .description {
  top: 80px;
  height: 470px;
  width: 95%;
  left: 10px;
}

.container_box {
  grid-gap: 10px; /* 셀 간격 */
  max-width: 800px;
  margin: 0 auto; /* 컨테이너 중앙 정렬 */
  padding: 0px;
}

/* 각 셀(칸) 스타일 */
.cell {
  height: 210px; /* 셀 높이 설정 */
  padding: 10px;
}
/* 아이콘 스타일 */
.icon {
  font-size: 30px; /* 아이콘 크기 */
  margin-bottom: 10px; /* 아이콘과 텍스트 간의 간격 */
}

/* 텍스트 스타일 */
.text, .text_en {
  font-size: 17px;
}

.text_cont, .text_cont_en {
  font-size: 12px;
}

#img_info {
    height: 300px;
    background-attachment: local;
}

#img_info p {
  font-size: 20px;
  padding: 10px 50px 30px 0px;
}
    
#ytb {
  display: block;
}

.ytb_ti {
    font-size: 20px;
    margin: 20px auto;
}

.video-container {
  padding-bottom: 67.25%;
}

.video-description {
  padding: 20px;
  font-size: 20px;
}

.use_box_ti {
 font-size:25px;
}

.use_box {
   height: 1030px;
   padding: 30px 20px 0px;
  }

.use_box_en {
   height: 1120px;
   padding: 20px 10px 0px;
  }

#use_area {
 display: block; 
 padding: 30px 0px 30px;
}

#use_area .box {
  padding: 15px 20px;
  margin: 15px;
}

#use_area .box .box_ti {
    font-size: 22px;
}

#use_area .box ul li {
  font-size: 15px;
}
.use_box_bg {
    padding-bottom: 20px;
    font-size: 22px;
}

#img_only {
  background-attachment: local;
  height: 250px;
}

.needs_ti {
    font-size: 20px;
    margin: 30px auto 20px;
  }
#needs_area {
  padding: 0px;
  height: 920px;
}

.flow_title {
    font-size: 15px;
}

.arrow {
    font-size: 15px;
    margin-top: 33px;
}

.patient-text {
    font-size: 15px;
}

.flow_content i {
    font-size: 35px;
}

.elderly-text {
    font-size: 15px;
}

.flow_box {
    padding: 10px;
}

.flow_content {
    padding: 10px;
    min-height: 250px;
}
.need-text {
    font-size: 13px;
}

.solution-list {
  margin-top: 0px;
  padding-left: 0px;
  font-size: 11px;
}

.solution-list_en {
  font-size: 11px;
}

.flow_content ul{
    list-style-type: none;
    padding-left: 0px;
}

.solution-list_en li {
    line-height: 10px;
}

.shortcut-area-title {
    font-size: 25px;
}

.shortcut-area-description {
    font-size: 16px;
}

.shortcut-button {
   font-size: 17px;
    padding: 15px 25px;
    min-width: unset; /* 최소 너비 해제 */
    width: 90%;
    height: 60px;
    }

.shortcut-button i {
    font-size: 22px;
    margin-right: 10px;
    }

.board_ti {
  font-size: 28px;  
  padding: 20px 15px 0px;
}

.accordion-container {
    width: 95%;
    min-width: 300px;
}
.accordion-title {
    font-size: 15px;
    font-weight: 500;
}

#footer_area {
    font-size: 11px;
}

h1 {   
  margin-bottom: 20px;

}

.ti_en {
     font-size:16px;
}


}