/* 기본 폰트 설정 */
body {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
}

/* 타이틀 (메인 제목) */
.white {color: #fff}
.board-title {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 700; /* Bold */
  font-size: 2.5rem;
  color: #fff;  
}

.board-text {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 600; /* SemiBold 느낌 */
  font-size: 1.75rem;
  color: #fff; 
}

h1, .main-title {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 700; /* Bold */
  font-size: 2.5rem;
  color: #111;
}

/* 소제목 */
h2, .sub-title {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 600; /* SemiBold 느낌 */
  font-size: 1.75rem;
  color: #222;
}

/* 본문 */
p, .content {
  font-family: 'Noto Sans KR', 'Pretendard', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #444;
}

/* 기본 UI 텍스트 (네비, 버튼 등) */
.nav, .btn {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
}

/* 배너 폰트 */
.banner-text {
  font-family: 'GmarketSans', sans-serif;
  font-weight: 700; /* Bold */
  font-size: 2rem;
  color: #fff;
  background-color: #222;
  padding: 10px 20px;
}


/* ################## REM 설정 ###################### */

html {
  font-size: 100%; /* 기본 16px (브라우저 기본값) */
}

@media (max-width: 1200px) {
  html {
    font-size: 95%; /* 15px */
  }
}

@media (max-width: 992px) {
  html {
    font-size: 95%; /* 14px */
  }
}

@media (max-width: 768px) {
  html {
    font-size: 90%; /* 13px */
  }
}

@media (max-width: 576px) {
  html {
    font-size: 90%; /* 12px */
  }
}

/* ################## VIDEO 및 반응형 대응 소스 ###################### */
.tp-dottedoverlay.twoxtwo {
background-color: rgba(0,0,0,0.5);    
}

.videowrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 비율인 경우 */
/* padding-bottom값은 4:3 비율인 경우 75%로 설정합니다 */
padding-top: 25px;
height: 0;
}

.videowrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}


/* PC 모바일 */
@media (max-width: 599px) {
  .showpc {
    display: none; }

  .showmobile {
    display: block; } 
  }


@media (min-width: 600px) {
  .showpc {
    display: block; }

  .showmobile {
    display: none; }
} 


/*컨테이너 사이즈 지정 */

.container-xs {margin: 0 auto; width: 100%;max-width:1300px;position: relative; }
.container-lat {margin: 0 auto; width: 100%;max-width:1200px;position: relative; }

.min-500 {min-height: 500px}

.font-nsk {font-family: "Noto Sans KR", sans-serif;}

.fw-500 {font-weight: 500;}
.fw-600 {font-weight: 600;}
.fw-700 {font-weight: 700;}
.fw-800 {font-weight: 800;}
.fw-900 {font-weight: 900;}


.color-h {color: #181b20;}

/* 폰트추가 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');

@font-face {
    font-family: 'Pretendard'; /* 모든 굵기에 동일한 폰트 패밀리 이름 사용 */
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Thin.woff') format('woff');
    font-weight: 100; /* Thin */
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraLight.woff') format('woff');
    font-weight: 200; /* ExtraLight */
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Light.woff') format('woff');
    font-weight: 300; /* Light */
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400; /* Regular */
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Medium.woff') format('woff');
    font-weight: 500; /* Medium */
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-SemiBold.woff') format('woff');
    font-weight: 600; /* SemiBold */
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
    font-weight: 700; /* Bold */
    font-style: normal;
}


@font-face {
    font-family: 'MinSans-Regular';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/MinSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MinSans-Light';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/MinSans-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* 텍스트 스타일 지정 */
body {
  font-family: 'Noto Sans KR', sans-serif; /* 기본 글꼴 지정 */
  /* 필요에 따라 추가 글꼴 속성 지정 */
  font-size: 1rem; /* 기본 폰트 크기 */
  line-height: 1.6; /* 기본 줄 간격 */
  color : #181b20;
  word-break:keep-all;
}


.title_h1 {
    font-size: 2.2rem;
    line-height: 1.4;
/*    color : #0c77bb; */
    color : #181b20;
    font-family: 'Pretendard';
    font-weight: 600; 
}

.title_h2 {
    font-size: 1.8rem;
    line-height: 1.26;
    color : #181b20;
    font-family: "Noto Sans KR", sans-serif;
}

.title_h3 {
    font-size: 1.4rem;
    line-height: 1.26;
    color : #181b20;
    font-family: "Noto Sans KR", sans-serif;
}


.title_h4 {
    font-size: 1.25rem;
    line-height: 1.26;
    color : #181b20;
    font-family: "Noto Sans KR", sans-serif;
}


.text_lg {
    font-size: 1.2rem;
    line-height: 1.8;
    color : #656a70;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 300;
    text-rendering: optimizeLegibility;
}


.title-bar-top {
  display: inline-block;
  position: relative;
  font-size: 1.8rem;
  font-weight: bold;
  padding-top: 12px;
  color: #007ac4;
}

.title-bar-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #007ac4; /* 선 색상 */
  border-radius: 2px;
}

/*폰트 스타일 및 사이즈 추가 */

.fs60 {font-size: 60px}
.fs56 {font-size: 56px}
.fs52 {font-size: 52px} 
.fs48 {font-size: 48px} 
.fs44 {font-size: 44px} 
.fs40 {font-size: 40px}
.fs36 {font-size: 36px} 
.fs30 {font-size: 30px} 
.fs24 {font-size: 24px} 
.fs20 {font-size: 20px}
.fs18 {font-size: 18px}
.fs16 {font-size: 16px}
.fs14 {font-size: 14px}
.fs12 {font-size: 12px}

.fc-3a {color:#3a3a3a} 
.fc-80 {color:#800000} 
.fc-gr {color:#a0ce4e}
.fc-sky {color:#03a9f4}
.fc-white {color:#fff}

.blue {color:#1075bd}
.red {color:#f04e37}
.green {color:#5aa733}

.w100 {font-weight:100}
.w200 {font-weight:200}
.w300 {font-weight:300}
.w400 {font-weight:400}
.w500 {font-weight:500}
.w600 {font-weight:600}
.w700 {font-weight:700}

.pd0 {padding: 0px 0}
.pd5 {padding: 5px 0}
.pd10 {padding: 10px 0}
.pd20 {padding: 20px 0}
.pd30 {padding: 30px 0}
.pd40 {padding: 40px 0}
.pd50 {padding: 50px 0}

.pd-10 {padding: 0 10px}
.pd-15 {padding: 0 15px}
.pd-20 {padding: 0 20px}
.pd-30 {padding: 0 30px}
.pd-40 {padding: 0 40px}
.pd-50 {padding: 0 50px}

.mt0 {margin-top: 0px}
.mt5 {margin-top: 5px}
.mt10 {margin-top: 10px}
.mt20 {margin-top: 20px}
.mt30 {margin-top: 30px}
.mt40 {margin-top: 40px}
.mt50 {margin-top: 50px}

.mb0 {margin-bottom: 0px}
.mb5 {margin-bottom: 5px}
.mb10 {margin-bottom: 10px}
.mb20 {margin-bottom: 20px}
.mb30 {margin-bottom: 30px}
.mb40 {margin-bottom: 40px}
.mb50 {margin-bottom: 50px}


.pl10 {padding: 10px}

.wd100 {width: 100%}

.txt-red {color: #ff0000}
.txt-blue {color: #0a69c8}

.mht100 {min-height:100px}

.lt-10 {line-height: 100%}
.lt-13 {line-height: 130%}
.lt-15 {line-height: 150%}
.lt-18 {line-height: 180%}
.lt-20 {line-height: 200%}
.lt-24 {line-height: 240%}

.wb-k {word-break:keep-all;}
.tc {text-align:center;}
.text-r {text-align:right;}
.divcon {width: 100%;max-width: 600px;}

.box-solid {border: 1px solid #f1f1f1;min-height: 100px;padding: 10px;position: relative;}
.box-brand {border: 1px solid #f1f1f1;min-height: 100px;padding: 0px;position: relative;background-color: #fefefe;}

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

.material-symbols-outlined {
  vertical-align: middle; /* 또는 text-bottom */
  position: relative;
  top: -2px; /* ⬅️ 아이콘 살짝 내림 (1px 또는 2px에서 테스트) */  
}





.conmax {margin: 0 auto;max-width: 1100px;}

        .icon-counter-wrapper {
            display: flex;
            align-items: center; /* 세로 정렬 */
            gap: 0px; /* 아이콘과 텍스트 간격 */
            justify-content: center;
        }


/* ################## 카드박스 ###################### */
/* 컨테이너 스타일 */
.bible-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  width: 100%; /* 부모 요소의 너비를 기준으로 100% */
  box-sizing: border-box; /* 패딩 포함 */
}

/* 카드 스타일 */
.bible-card {
  width: 100%; /* 가로 100% */
  /*max-width: 300px;  최대 너비 설정 (선택사항) */
  height: 200px; /* 원하는 높이 설정 */
  perspective: 1000px; /* 3D 효과를 위한 원근법 */
  margin: 15px 0;
}

/* 카드 내부 스타일 */
.bible-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

/* 마우스 오버 시 카드 회전 */
.bible-card:hover .bible-card-inner {
  transform: rotateY(180deg);
}

/* 카드 앞면과 뒷면 스타일 */
.bible-card-front, .bible-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* 뒷면 숨김 처리 */
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}

/* 카드 앞면 스타일 */
.bible-card-front {
  font-size: 1.2em;
  font-weight: bold;
}

/* 카드 뒷면 스타일 */
.bible-card-back {
  transform: rotateY(180deg);
  background-color: #4caf50;
  color: white;
  /*font-size: 1em;*/
}
     
.icon_bg {    
  height: 64px;
  width: 64px;
  border: 1px solid;
  border-radius: 50%;
  background-clip: padding-box;
  background-color: #3a3a3a;
}


/* ################## 막대그래프 ###################### */

        .chart-container {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
        }

        .bar {
            display: flex;
            align-items: center;
            position: relative;
            margin-bottom: 15px;
        }

        .bar-label {
            width: 150px;
            text-align: right;
            margin-right: 10px;
        }

        .bar-fill {
            position: relative;
            background-color: #4CAF50;
            height: 30px;
            line-height: 30px;
            color: white;
            text-align: center;
            overflow: hidden;
            border-radius: 5px;
        }

        .bar-bg {
            background-color: #ddd;
            height: 30px;
            border-radius: 5px;
            flex: 1;
            position: relative;
        }

        .bar-fill span {
            position: absolute;
            width: 100%;
            top: 0;
            left: 0;
        }
    


/* ################## 메인비쥬얼 스타일 ###################### */
#main_visual {
  position: relative;
  width: 100%;
  height: 800px;         /* PC용 높이 */
  overflow: hidden;      /* 영역 밖 잘라냄 */
}

/* Vimeo iframe 비디오 또는 video 태그 */
#main_visual .bg-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#main_visual video.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

/* 콘텐츠 텍스트 영역 */
#main_visual .main_text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 5%;
  z-index: 2;
  color: white;
}

/* 어두운 오버레이 */
#main_visual .main_text::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

#main_visual .main_text .container {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 1100px;
}

#main_visual h2 {
  font-family: MinSans-Regular, sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin: 0;
}

#main_visual p {
  font-size: 24px;
  margin-top: 10px;
  color: #f0f0f0;
}

#main_visual .btn-get-started {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: 0.4s;
  margin-top: 10px;
  border: 2px solid white;
  color: white;
}

#main_visual .btn-get-started:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

/* 모바일 스타일 */
@media (max-width: 768px) {
  #main_visual {
    height: 400px; /* 모바일 세로 길게 */
  }

  #main_visual .bg-video-container {
    height: 100%;
    width: 100vw;
    overflow: hidden;
  }

  #main_visual video.bg-video {
    /* 모바일에서는 세로 높이 기준으로 꽉 차게 */
    width: 100vw;
    height: 400px;  /* #main_visual 높이와 동일하게 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }

  #main_visual h2 {
    font-size: 32px;
  }

  #main_visual p {
    font-size: 18px;
  }
}




/* ################## 헤더 스타일 ###################### */
/* PC 모바일 */
@media (max-width: 599px) {
  .showpc {
    display: none; }

  .showmobile {
    display: block; } 

.sub_img {background-image: url(<?php echo G5_URL ?>/_html/images/sub-top.jpg);height:250px}   

  }


@media (min-width: 600px) {
  .showpc {
    display: block; }

  .showmobile {
    display: none; }
.sub_img {background-image: url(<?php echo G5_URL ?>/_html/images/sub-top.jpg);height:400px}      
} 



.row-center {
  display: flex;
  align-items: center;
  height: 100%;
}

/* 부모 요소 (배경 이미지가 적용된 div) */
.page-title-overlay {
    /* 기존 배경 이미지 스타일은 그대로 유지 */
    /* 예: background-image: url(<?php echo G5_URL ?>/_html/images/sub_top.png); */
    /* background-position: center center; */
    /* background-size: cover; */
    /* height: 450px; */

    /* 텍스트를 중앙에 배치하기 위한 flexbox 속성 */
    display: flex;
    flex-direction: column; /* 세로로 정렬 */
/*
    justify-content: center; 
    align-items: center; 
    text-align: center; 
*/
    /* 텍스트가 이미지 위에 잘 보이도록 하기 위한 옵션 */
    /* 1. 배경 이미지 위에 반투명 오버레이를 추가 (가독성 최적화) */
    position: relative; /* 자식 요소의 absolute 위치를 위한 기준 */
    overflow: hidden; /* 오버레이가 넘치지 않도록 */
}

/* 텍스트 가독성을 높이기 위한 오버레이 (선택 사항) */
.page-title-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0); /* 검정색 30% 투명도 (배경이 밝을 때) */
    /* background-color: rgba(255, 255, 255, 0.1); /* 흰색 10% 투명도 (배경이 어두울 때) */
    z-index: 1; /* 텍스트 뒤에 위치 */
}

/* 타이틀 스타일 */
.main-title {
    font-family: 'Noto Sans KR', sans-serif; /* 가독성 좋은 산세리프 폰트 */
    font-size: 3.0rem; /* 충분히 큰 크기 */
    font-weight: 700; /* 굵게 */
    color: #FFFFFF; /* 밝은 흰색 (오버레이가 있다면 잘 보임) */
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 그림자 추가 (가독성 향상) */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* 좀 더 부드러운 그림자 */
    margin-bottom: 10px; /* 서브타이틀과의 간격 */
    letter-spacing: 0.05em; /* 자간 조정 */
    position: relative; /* z-index를 위해 필요 */
    z-index: 2; /* 오버레이보다 위에 위치 */
}

/* 서브타이틀 스타일 */
.sub-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.6rem; /* 타이틀보다 작게 */
    font-weight: 400; /* 보통 굵기 */
    color: #F0F0F0; /* 타이틀보다 약간 어두운 밝은 회색 */
    /* text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* 그림자 추가 */
    text-shadow: 0.5px 0.5px 1.5px rgba(0, 0, 0, 0.6); /* 좀 더 부드러운 그림자 */
    line-height: 1.5; /* 줄 간격 */
    margin-top: 0;
    position: relative; /* z-index를 위해 필요 */
    z-index: 2; /* 오버레이보다 위에 위치 */
}

/* 반응형 디자인을 위한 미디어 쿼리 (선택 사항) */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5em;
    }
    .sub-title {
        font-size: 1em;
    }
}

/* 버튼 스타일 (사각형버튼) */
.button-rect {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff; /* 기본 배경: 파랑 */
  color: #007ac4;
  border: 2px solid #007ac4;
  border-radius: 0px; /* 직사각형. 필요시 0으로도 가능 */
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  margin: 5px;
  text-align: center;
  font-weight: 400;
}

.button-rect:hover {
  background-color: #007ac4;
  color: #fff;
  border-color: #007bff;
}

/* 버튼 스타일 (네이버) */
.button-naver {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff; /* 기본 배경: 파랑 */
  color: #03c75a;
  border: 2px solid #03c75a;
  border-radius: 0px; /* 직사각형. 필요시 0으로도 가능 */
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  margin: 5px;
  text-align: center;
  font-weight: 400;
}

.button-naver:hover {
  background-color: #03c75a;
  color: #fff;
  border-color: #03c75a;
}

/* 버튼 스타일 (카카오) */
.button-kakao {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff; /* 기본 배경: 파랑 */
  color: #3c1e1e;
  border: 2px solid #fae100;
  border-radius: 0px; /* 직사각형. 필요시 0으로도 가능 */
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  margin: 5px;
  text-align: center;
  font-weight: 400;
}

.button-kakao:hover {
  background-color: #fae100;
  color: #3c1e1e;
  border-color: #fae100;
}

.fix-2col {
  display: flex;
  flex-wrap: wrap;
}

.fix-2col .item-box {
  width: 50%;      /* 항상 2개씩 나란히 */
  box-sizing: border-box;
  padding: 10px;
}



/* 전체 배너 래퍼 */
.banner-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 130px;
  height: auto;

}

/* 공통 배너 스타일 */
.banner-half {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  text-align: center;
  padding: 20px;
  cursor: pointer;
  position: relative;
  color: #ffffff;
}

/* 좌측 배너 색상 */
.banner-left {
  background-color: #fdf4ec; /* 밝은 연두 */
  color: #1d2d44;
}

.banner-left:hover {
  background-color: #dbd2ca; /* 진한 그린 */
  color: #ffffff;
}

/* 우측 배너 색상 */
.banner-right {
  background-color: #eaf5e5; /* 선명한 블루 */
  color: #1d2d44;
}

.banner-right:hover {
  background-color: #c8d3c3; /* 진한 네이비 */
  color: #ffffff;
}

.banner-half h3 {
  font-size: 24px;
  margin: 0;
  transition: color 0.3s ease;
}

.banner-half p {
  font-size: 18px;
  margin-top: 10px;
  transition: color 0.3s ease;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .banner-half {
    flex: 1 1 100%;
    height: auto;
  }
}






/* ################## REM 설정 ###################### */

html {
  font-size: 100%; /* 기본 16px (브라우저 기본값) */
}

@media (max-width: 1200px) {
  html {
    font-size: 95%; /* 15px */
  }
}

@media (max-width: 992px) {
  html {
    font-size: 95%; /* 14px */
  }
}

@media (max-width: 768px) {
  html {
    font-size: 90%; /* 13px */
  }
}

@media (max-width: 576px) {
  html {
    font-size: 90%; /* 12px */
  }
}

/* ################## VIDEO 및 반응형 대응 소스 ###################### */
.tp-dottedoverlay.twoxtwo {
background-color: rgba(0,0,0,0.5);    
}

.videowrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 비율인 경우 */
/* padding-bottom값은 4:3 비율인 경우 75%로 설정합니다 */
padding-top: 25px;
height: 0;
}

.videowrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}


/* PC 모바일 */
@media (max-width: 599px) {
  .showpc {
    display: none; }

  .showmobile {
    display: block; } 
  }


@media (min-width: 600px) {
  .showpc {
    display: block; }

  .showmobile {
    display: none; }
} 


/*컨테이너 사이즈 지정 */

.container-xs {margin: 0 auto; width: 100%;max-width:1300px;position: relative; }
.container-lat {margin: 0 auto; width: 100%;max-width:1200px;position: relative; }

.min-500 {min-height: 500px}

.font-nsk {font-family: "Noto Sans KR", sans-serif;}

.fw-500 {font-weight: 500;}
.fw-600 {font-weight: 600;}
.fw-700 {font-weight: 700;}
.fw-800 {font-weight: 800;}
.fw-900 {font-weight: 900;}


.color-h {color: #181b20;}

/* 폰트추가 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');

@font-face {
    font-family: 'Pretendard'; /* 모든 굵기에 동일한 폰트 패밀리 이름 사용 */
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Thin.woff') format('woff');
    font-weight: 100; /* Thin */
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraLight.woff') format('woff');
    font-weight: 200; /* ExtraLight */
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Light.woff') format('woff');
    font-weight: 300; /* Light */
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400; /* Regular */
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Medium.woff') format('woff');
    font-weight: 500; /* Medium */
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-SemiBold.woff') format('woff');
    font-weight: 600; /* SemiBold */
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
    font-weight: 700; /* Bold */
    font-style: normal;
}


@font-face {
    font-family: 'MinSans-Regular';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/MinSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MinSans-Light';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/MinSans-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* 텍스트 스타일 지정 */
body {
  font-family: 'Noto Sans KR', sans-serif; /* 기본 글꼴 지정 */
  /* 필요에 따라 추가 글꼴 속성 지정 */
  font-size: 1rem; /* 기본 폰트 크기 */
  line-height: 1.6; /* 기본 줄 간격 */
  color : #181b20;
  word-break:keep-all;
}


.title_h1 {
    font-size: 2.2rem;
    line-height: 1.4;
/*    color : #0c77bb; */
    color : #181b20;
    font-family: 'Pretendard';
    font-weight: 600; 
}

.title_h2 {
    font-size: 1.8rem;
    line-height: 1.26;
    color : #181b20;
    font-family: "Noto Sans KR", sans-serif;
}

.title_h3 {
    font-size: 1.4rem;
    line-height: 1.26;
    color : #181b20;
    font-family: "Noto Sans KR", sans-serif;
}


.title_h4 {
    font-size: 1.25rem;
    line-height: 1.26;
    color : #181b20;
    font-family: "Noto Sans KR", sans-serif;
}


.text_lg {
    font-size: 1.2rem;
    line-height: 1.8;
    color : #656a70;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 300;
    text-rendering: optimizeLegibility;
}


.title-bar-top {
  display: inline-block;
  position: relative;
  font-size: 1.8rem;
  font-weight: bold;
  padding-top: 12px;
  color: #007ac4;
}

.title-bar-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #007ac4; /* 선 색상 */
  border-radius: 2px;
}

/*폰트 스타일 및 사이즈 추가 */

.fs60 {font-size: 60px}
.fs56 {font-size: 56px}
.fs52 {font-size: 52px} 
.fs48 {font-size: 48px} 
.fs44 {font-size: 44px} 
.fs40 {font-size: 40px}
.fs36 {font-size: 36px} 
.fs30 {font-size: 30px} 
.fs24 {font-size: 24px} 
.fs20 {font-size: 20px}
.fs18 {font-size: 18px}
.fs16 {font-size: 16px}
.fs14 {font-size: 14px}
.fs12 {font-size: 12px}

.fc-3a {color:#3a3a3a} 
.fc-80 {color:#800000} 
.fc-gr {color:#a0ce4e}
.fc-sky {color:#03a9f4}
.fc-white {color:#fff}

.blue {color:#1075bd}
.red {color:#f04e37}
.green {color:#5aa733}

.w100 {font-weight:100}
.w200 {font-weight:200}
.w300 {font-weight:300}
.w400 {font-weight:400}
.w500 {font-weight:500}
.w600 {font-weight:600}
.w700 {font-weight:700}

.pd0 {padding: 0px 0}
.pd5 {padding: 5px 0}
.pd10 {padding: 10px 0}
.pd20 {padding: 20px 0}
.pd30 {padding: 30px 0}
.pd40 {padding: 40px 0}
.pd50 {padding: 50px 0}

.pd-10 {padding: 0 10px}
.pd-15 {padding: 0 15px}
.pd-20 {padding: 0 20px}
.pd-30 {padding: 0 30px}
.pd-40 {padding: 0 40px}
.pd-50 {padding: 0 50px}

.pl10 {padding: 10px}

.wd100 {width: 100%}

.txt-red {color: #ff0000}
.txt-blue {color: #0a69c8}

.mht100 {min-height:100px}

.lt-10 {line-height: 100%}
.lt-13 {line-height: 130%}
.lt-15 {line-height: 150%}
.lt-18 {line-height: 180%}
.lt-20 {line-height: 200%}
.lt-24 {line-height: 240%}

.wb-k {word-break:keep-all;}
.tc {text-align:center;}
.text-r {text-align:right;}
.divcon {width: 100%;max-width: 600px;}

.box-solid {border: 1px solid #f1f1f1;min-height: 100px;padding: 10px;position: relative;}
.box-brand {border: 1px solid #f1f1f1;min-height: 100px;padding: 0px;position: relative;background-color: #fefefe;}

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

.material-symbols-outlined {
  vertical-align: middle; /* 또는 text-bottom */
  position: relative;
  top: -2px; /* ⬅️ 아이콘 살짝 내림 (1px 또는 2px에서 테스트) */  
}
</style>




.conmax {margin: 0 auto;max-width: 1100px;}

        .icon-counter-wrapper {
            display: flex;
            align-items: center; /* 세로 정렬 */
            gap: 0px; /* 아이콘과 텍스트 간격 */
            justify-content: center;
        }


/* ################## 카드박스 ###################### */
/* 컨테이너 스타일 */
.bible-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  width: 100%; /* 부모 요소의 너비를 기준으로 100% */
  box-sizing: border-box; /* 패딩 포함 */
}

/* 카드 스타일 */
.bible-card {
  width: 100%; /* 가로 100% */
  /*max-width: 300px;  최대 너비 설정 (선택사항) */
  height: 200px; /* 원하는 높이 설정 */
  perspective: 1000px; /* 3D 효과를 위한 원근법 */
  margin: 15px 0;
}

/* 카드 내부 스타일 */
.bible-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

/* 마우스 오버 시 카드 회전 */
.bible-card:hover .bible-card-inner {
  transform: rotateY(180deg);
}

/* 카드 앞면과 뒷면 스타일 */
.bible-card-front, .bible-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* 뒷면 숨김 처리 */
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}

/* 카드 앞면 스타일 */
.bible-card-front {
  font-size: 1.2em;
  font-weight: bold;
}

/* 카드 뒷면 스타일 */
.bible-card-back {
  transform: rotateY(180deg);
  background-color: #4caf50;
  color: white;
  /*font-size: 1em;*/
}
     
.icon_bg {    
  height: 64px;
  width: 64px;
  border: 1px solid;
  border-radius: 50%;
  background-clip: padding-box;
  background-color: #3a3a3a;
}


/* ################## 막대그래프 ###################### */

        .chart-container {
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
        }

        .bar {
            display: flex;
            align-items: center;
            position: relative;
            margin-bottom: 15px;
        }

        .bar-label {
            width: 150px;
            text-align: right;
            margin-right: 10px;
        }

        .bar-fill {
            position: relative;
            background-color: #4CAF50;
            height: 30px;
            line-height: 30px;
            color: white;
            text-align: center;
            overflow: hidden;
            border-radius: 5px;
        }

        .bar-bg {
            background-color: #ddd;
            height: 30px;
            border-radius: 5px;
            flex: 1;
            position: relative;
        }

        .bar-fill span {
            position: absolute;
            width: 100%;
            top: 0;
            left: 0;
        }
    


/* ################## 메인비쥬얼 스타일 ###################### */
#main_visual {
  position: relative;
  width: 100%;
  height: 800px;         /* PC용 높이 */
  overflow: hidden;      /* 영역 밖 잘라냄 */
}

/* Vimeo iframe 비디오 또는 video 태그 */
#main_visual .bg-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#main_visual video.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

/* 콘텐츠 텍스트 영역 */
#main_visual .main_text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 5%;
  z-index: 2;
  color: white;
}

/* 어두운 오버레이 */
#main_visual .main_text::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

#main_visual .main_text .container {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 1100px;
}

#main_visual h2 {
  font-family: MinSans-Regular, sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin: 0;
}

#main_visual p {
  font-size: 24px;
  margin-top: 10px;
  color: #f0f0f0;
}

#main_visual .btn-get-started {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: 0.4s;
  margin-top: 10px;
  border: 2px solid white;
  color: white;
}

#main_visual .btn-get-started:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

/* 모바일 스타일 */
@media (max-width: 768px) {
  #main_visual {
    height: 400px; /* 모바일 세로 길게 */
  }

  #main_visual .bg-video-container {
    height: 100%;
    width: 100vw;
    overflow: hidden;
  }

  #main_visual video.bg-video {
    /* 모바일에서는 세로 높이 기준으로 꽉 차게 */
    width: 100vw;
    height: 400px;  /* #main_visual 높이와 동일하게 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }

  #main_visual h2 {
    font-size: 32px;
  }

  #main_visual p {
    font-size: 18px;
  }
}




/* ################## 헤더 스타일 ###################### */
/* PC 모바일 */
@media (max-width: 599px) {
  .showpc {
    display: none; }

  .showmobile {
    display: block; } 

.sub_img {background-image: url(<?php echo G5_URL ?>/_html/images/sub-top.jpg);height:250px}   

  }


@media (min-width: 600px) {
  .showpc {
    display: block; }

  .showmobile {
    display: none; }
.sub_img {background-image: url(<?php echo G5_URL ?>/_html/images/sub-top.jpg);height:400px}      
} 



.row-center {
  display: flex;
  align-items: center;
  height: 100%;
}

/* 부모 요소 (배경 이미지가 적용된 div) */
.page-title-overlay {
    /* 기존 배경 이미지 스타일은 그대로 유지 */
    /* 예: background-image: url(<?php echo G5_URL ?>/_html/images/sub_top.png); */
    /* background-position: center center; */
    /* background-size: cover; */
    /* height: 450px; */

    /* 텍스트를 중앙에 배치하기 위한 flexbox 속성 */
    display: flex;
    flex-direction: column; /* 세로로 정렬 */
/*
    justify-content: center; 
    align-items: center; 
    text-align: center; 
*/
    /* 텍스트가 이미지 위에 잘 보이도록 하기 위한 옵션 */
    /* 1. 배경 이미지 위에 반투명 오버레이를 추가 (가독성 최적화) */
    position: relative; /* 자식 요소의 absolute 위치를 위한 기준 */
    overflow: hidden; /* 오버레이가 넘치지 않도록 */
}

/* 텍스트 가독성을 높이기 위한 오버레이 (선택 사항) */
.page-title-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0); /* 검정색 30% 투명도 (배경이 밝을 때) */
    /* background-color: rgba(255, 255, 255, 0.1); /* 흰색 10% 투명도 (배경이 어두울 때) */
    z-index: 1; /* 텍스트 뒤에 위치 */
}

/* 타이틀 스타일 */
.main-title {
    font-family: 'Noto Sans KR', sans-serif; /* 가독성 좋은 산세리프 폰트 */
    font-size: 3.0rem; /* 충분히 큰 크기 */
    font-weight: 700; /* 굵게 */
    color: #FFFFFF; /* 밝은 흰색 (오버레이가 있다면 잘 보임) */
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 그림자 추가 (가독성 향상) */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* 좀 더 부드러운 그림자 */
    margin-bottom: 10px; /* 서브타이틀과의 간격 */
    letter-spacing: 0.05em; /* 자간 조정 */
    position: relative; /* z-index를 위해 필요 */
    z-index: 2; /* 오버레이보다 위에 위치 */
}

/* 서브타이틀 스타일 */
.sub-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.6rem; /* 타이틀보다 작게 */
    font-weight: 400; /* 보통 굵기 */
    color: #F0F0F0; /* 타이틀보다 약간 어두운 밝은 회색 */
    /* text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* 그림자 추가 */
    text-shadow: 0.5px 0.5px 1.5px rgba(0, 0, 0, 0.6); /* 좀 더 부드러운 그림자 */
    line-height: 1.5; /* 줄 간격 */
    margin-top: 0;
    position: relative; /* z-index를 위해 필요 */
    z-index: 2; /* 오버레이보다 위에 위치 */
}

/* 반응형 디자인을 위한 미디어 쿼리 (선택 사항) */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5em;
    }
    .sub-title {
        font-size: 1em;
    }
}

/* 버튼 스타일 (사각형버튼) */
.button-rect {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff; /* 기본 배경: 파랑 */
  color: #007ac4;
  border: 2px solid #007ac4;
  border-radius: 0px; /* 직사각형. 필요시 0으로도 가능 */
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  margin: 5px;
  text-align: center;
  font-weight: 400;
}

.button-rect:hover {
  background-color: #007ac4;
  color: #fff;
  border-color: #007bff;
}

/* 버튼 스타일 (네이버) */
.button-naver {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff; /* 기본 배경: 파랑 */
  color: #03c75a;
  border: 2px solid #03c75a;
  border-radius: 0px; /* 직사각형. 필요시 0으로도 가능 */
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  margin: 5px;
  text-align: center;
  font-weight: 400;
}

.button-naver:hover {
  background-color: #03c75a;
  color: #fff;
  border-color: #03c75a;
}

/* 버튼 스타일 (카카오) */
.button-kakao {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff; /* 기본 배경: 파랑 */
  color: #3c1e1e;
  border: 2px solid #fae100;
  border-radius: 0px; /* 직사각형. 필요시 0으로도 가능 */
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  margin: 5px;
  text-align: center;
  font-weight: 400;
}

.button-kakao:hover {
  background-color: #fae100;
  color: #3c1e1e;
  border-color: #fae100;
}

.fix-2col {
  display: flex;
  flex-wrap: wrap;
}

.fix-2col .item-box {
  width: 50%;      /* 항상 2개씩 나란히 */
  box-sizing: border-box;
  padding: 10px;
}


/* ################## 아코디언 ###################### */
    .accordion-container {
        display: flex;
        flex-wrap: wrap; /* 화면 너비를 넘어가면 다음 줄로 배치 */
        justify-content: space-between; /* 버튼 양쪽 정렬 */
        padding: 10px;
        align-items: center;
    }


.accordion-button:not(.collapsed) {
    color: white;
    background-color: rgba(0, 123, 255, 0.5);    
}


    .accordion-button {
  display: inline-flex;
  align-items: center; /* 수직 중앙 정렬 */
  gap: 6px; /* 아이콘과 텍스트 사이 간격 */
  justify-content: center;
        
        flex: 0 0 calc(33.33% - 10px); /* 3개 버튼을 기본적으로 한 줄에 배치 */
        margin: 5px;
        padding: 10px 15px;
        text-align: center;
        background-color: rgba(0, 123, 255, 0.2);
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
        height: 40px;
        line-height: 1.2;
    }

    .accordion-button:hover {
        background-color: rgba(0, 86, 179, 1);
    }

    /* 현재 열린 탭에 색상 적용 */
    .accordion-button.active {
        background-color: rgba(40, 167, 69, 1);
        color: white;
        height: 55px;
        font-size: 1.8rem;
    }

    .accordion-content {
        display: none; /* 기본적으로 숨김 */
        flex-basis: 100%; /* 내용을 한 줄 전체 차지하도록 설정 */
        margin: 10px 0;
        padding: 10px;
        /*background-color: #f7f7f7;*/
        border: 1px solid #ddd;
        border-radius: 5px;
    }

    /* 초기 상태에서 첫 번째 탭은 열려있도록 */
    .accordion-content.active {
        display: block;
    }
/*
    @media (max-width: 768px) {
        .accordion-button {
            flex: 0 0 calc(50% - 10px); / 화면이 좁아지면 한 줄에 2개 /
        }
    }
*/
    @media (max-width: 576px) {
        .accordion-button {
            flex: 0 0 100%; / 화면이 더 좁아지면 한 줄에 1개 /
        }
    }



/* ############### 세로형 아코디언 ###########################*/
.custom-accordion {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.custom-accordion-item {
    /*border-bottom: 1px solid #ccc;*/
}

.custom-accordion-header {
    width: 100%;
    background: #fff;
    border: none;
    text-align: left;
    padding: 15px;
    cursor: pointer;
    /*font-size: 16px;
    font-weight: bold;*/
    outline: none;
    transition: background 0.3s;
    border-bottom: 1px solid #ccc;
}

.custom-accordion-header:hover {
    background: #eaeaea;
}

.custom-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
    font-size: 1.0rem;
    line-height: 1.8;
    color : #434850;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 300;
    text-rendering: optimizeLegibility;    
}

.custom-accordion-content p {
    margin: 10px 0;
}

.videowrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 비율인 경우 */
/* padding-bottom값은 4:3 비율인 경우 75%로 설정합니다 */
padding-top: 25px;
height: 0;
}

.videowrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.more {
  background-color: #cacaca;  
  border-radius: 5px;  
  padding: 0 5px 2px;
  font-size: 16px;
  color: #fff;
  line-height: 1.0;
}
.more:hover,
.more:focus {
  background-color: #5aa733;      /* 호버 시 어두운 톤 */
  transform: translateY(-1px);    /* 살짝 위로 튀는 느낌 */
  text-decoration: none;
}
