@charset "utf-8";

/* ============================================================================
   sub_contents.css - 서브페이지 본문
   #sub1_1 ~ #sub3_1 / .tit-box / .con-box / #imgModal
   ========================================================================= */

/* sub1_1 */
#sub1_1 .cont1 h3 { color: #357140; font-size: 28px; }

#sub1_1 .cont2 ul { width: 680px; }
#sub1_1 .cont2 ul li { width: 190px; }
#sub1_1 .cont2 ul li figure { aspect-ratio: 1 / 1; border:2px solid #357140; box-sizing: border-box; border-radius: 100%; }
#sub1_1 .cont2 ul li span { display: block; }

#sub1_1 .cont3 { background: #f0f0f0; }
#sub1_1 .cont3 .sign { display: block; }

#sub1_1 .cont4 { background:url(/images/about_bnr.png) no-repeat center/cover; } 
#sub1_1 .cont4 .wrap { height: 640px; } 

/* sub1_2 */
.tit-box { width: 440px; }
.con-box { width: 920px; }
#sub1_2 .con-box img { width: 100%; border-radius: 20px; }
#sub1_2 .con-box ul { border-top:1px solid #357140; }
#sub1_2 .con-box ul li { border-bottom:1px solid #ddd; display:flex; align-items: center; justify-content: start; height: 60px; }
#sub1_2 .con-box ul li strong { width: 480px; }
#sub1_2 .con-box ul li span { width: 440px; } 

/* sub1_3 */
#sub1_3 .history-list { position: relative; }
#sub1_3 .history-list:before { content:""; position: absolute; left: 50px; height: 100%; border-left:1px solid #ccc; }
#sub1_3 .history-group { position: relative; margin-bottom: 80px; }
#sub1_3 .history-group:last-child { margin-bottom: 0; }

#sub1_3 .year { position: absolute; left: -120px; }
#sub1_3 .events li { display: flex; margin-bottom: 25px; align-items: baseline; }
#sub1_3 .events li:last-child { margin-bottom: 0; }

#sub1_3 .month { width: 70px; }
#sub1_3 .event-img { display: block; margin-left: auto; width:calc(100% - 70px); }
#sub1_3 .event-img img { width: 100%; height: auto; }

/* sub1_4 */
#sub1_4 .org { position: relative; }
#sub1_4 .org .circle { width: 136px; height: 136px; border-radius: 136px; position: absolute; left: -350px; top:-41px; }
#sub1_4 .org .circle:before { content:""; position: absolute; left: 100%; top:50%; width: 140px; border-top:1px solid #357140; }
#sub1_4 .org .circle:after { content:""; position: absolute; left: 274px; top:69px; height:169px; border-left:1px solid #357140; display: block; }
#sub1_4 .org ul { flex-wrap:wrap; justify-content: start; }
#sub1_4 .org ul li { width: 256px; margin-right: 76px; position: relative; }
#sub1_4 .org ul li:before { content:""; position: absolute; left: -76px; top:27px; width: 76px; border-top:1px solid #357140; }
#sub1_4 .org ul li:nth-child(3n) { margin-right: 0; }
#sub1_4 .org ul li p { background: #000; border-radius: 54px; height: 54px; }
#sub1_4 .org ul li span { margin-top: 10px; text-align: center; display: block; margin-bottom: 80px;  }
#sub1_4 .org + img { width: 100%; border-radius: 20px; }

/* sub1_5 */
#sub1_5 article { position: relative; }
#sub1_5 article:first-of-type { border-bottom:1px solid #ddd; }
#sub1_5 article h3 { position: absolute; }
#sub1_5 article .map { width: 920px; margin-left: auto; }
#sub1_5 article .addr { position: absolute; left: 0; bottom: 100px; }
#sub1_5 article .addr ul li { margin-top: 10px; }
#sub1_5 article .addr ul li span { display: inline-block; width: 100px; }

/* sub2_1 */
/* #sub2_1 { background:url(/images/bg_sub2_1.jpg) no-repeat center/cover; } */
#sub2_1 .cont1 article { width: 680px; }
#sub2_1 .cont1 article span { color:#dadada; display: block; }
#sub2_1 .cont1 article strong { display: block; }

/* PROCESS(.cont2) 는 sub_contents_mx.css 의 .process_* 로 옮겼다 */

/* sub2_2 */
#sub2_2 .cont1 p { width: 920px; }
#sub2_2 .cont2 { border-top:1px solid #ddd; }
#sub2_2 ul { flex-wrap:wrap; justify-content: start; gap:40px; width: 920px; }
#sub2_2 ul li { cursor: pointer; width: 200px;}
#sub2_2 ul li img { width: 100%; aspect-ratio: 2 / 3;}

#imgModal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
#imgModal .modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
#imgModal .modal-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
#imgModal .modal-inner img { max-width: 50vw; max-height: 80vh; }

/* sub3_1 */
#sub3_1 .cont1 p { width: 920px; }
#sub3_1 .cont2 ul { display:grid; grid-template-columns: repeat(3, 1fr); gap:60px 40px; }
#sub3_1 .cont2 ul li figure { border-radius: 14px; overflow: hidden; }
#sub3_1 .cont2 ul li figure img { width: 100%; aspect-ratio: 440 / 360; }
#sub3_1 .cont2 ul li p { margin-top: 10px; }

/* 모바일 (800px 이하) */
@media (max-width:800px) {
/* sub1_1 */
section.pt200 { padding-top: 80px; }
#sub1_1 .wrap.fl { display: flex; flex-direction: column; gap: 40px; }
#sub1_1 .cont1 img, #sub1_1 .cont1 article { width: 100%; }
#sub1_1 .cont1 h3 { font-size: 24px; }

#sub1_1 .cont2 article { width: 100%; }
#sub1_1 .cont2 ul { width: 100%; }
#sub1_1 .cont2 ul li { width: 32%; }

#sub1_1 .cont3 .wrap { flex-direction: column-reverse; }
#sub1_1 .cont3 .wrap article, #sub1_1 .cont3 .wrap img { width: 100%; }
#sub1_1 .cont3 .wrap img { margin-bottom: 30px; }

#sub1_1 .cont4 .wrap { height: 300px; }

/* sub1_2 */
#sub1_2 .wrap { display: block; }
.tit-box { width: auto; }
#sub1_2 .tit-box h2 { margin-top: 20px; font-size:24px; }
.con-box { width: auto; margin-top: 30px;  }
#sub1_2 .con-box img { border-radius: 14px; }
#sub1_2 .con-box ul { margin-top: 40px; }
#sub1_2 .con-box ul li strong { width: 40%; font-size:14px; }
#sub1_2 .con-box ul li span { width: 60%; font-size:13px; } 

/* sub1_3 */
#sub1_3 .wrap { display: block; }
#sub1_3 .head-text p { font-size: 22px; }
#sub1_3 .history-list:before { display: none; }
#sub1_3 .history-group { margin-bottom: 60px; }

#sub1_3 .year { position: static; display: block; margin-bottom: 10px; }
#sub1_3 .events li { margin-bottom: 14px; font-size:14px; line-height:1.6;  }

#sub1_3 .month { width: 40px; }
#sub1_3 .desc { width: calc(100% - 40px); }
#sub1_3 .event-img { width:calc(100% - 40px); }


/* sub1_4 */
#sub1_4 .wrap { display: block; }
#sub1_4 .head-text h2 { font-size:22px; }
#sub1_4 .head-text p { font-size:16px; }

#sub1_4 .org { margin-top: 60px; }
#sub1_4 .org .circle { width: 100px; height: 100px; position: static; margin:0 auto;}
#sub1_4 .org .circle:before { display: none; }
#sub1_4 .org .circle:after { display: none; }
#sub1_4 .org ul { justify-content: center;}
#sub1_4 .org ul li { width: 48%; margin-right: 4%; margin-top: 40px; }
#sub1_4 .org ul li:before { display: none; }
#sub1_4 .org ul li:nth-child(3n) { margin-right: 4%; }
#sub1_4 .org ul li:nth-child(2n) { margin-right: 0; }
#sub1_4 .org ul li p { height: 44px; font-size:14px;}
#sub1_4 .org ul li span { margin-bottom: 0; }
#sub1_4 .org + img { border-radius: 14px; }


/* sub1_5 */
#sub1_5 article h3 { position: static; }
#sub1_5 article .map { width: auto; margin-top: 20px;  }
#sub1_5 article .map img { width: 100%; }
#sub1_5 article .addr { position: static; margin-top: 20px; }
#sub1_5 article .addr strong { font-size:16px;}
#sub1_5 article .addr ul li { font-size:16px; }
#sub1_5 article .addr ul li span { width: 70px; }

/* sub2_1 */
#sub2_1 .cont1 { display: block; }
#sub2_1 .cont1 > img { width: 100%; }
#sub2_1 .cont1 article { width: auto; }
#sub2_1 .cont1 article p { margin-top: 20px; }
#sub2_1 .cont1 article span { margin-top: 20px; }
#sub2_1 .cont1 article strong { margin-top: 40px; }

/* PROCESS(.cont2) 는 sub_contents_mx.css 의 .process_* 로 옮겼다 */

/* sub2_2 */
#sub2_2 .wrap { display: block; }
#sub2_2 .cont1 p { width: auto; margin-top: 20px;  }
#sub2_2 ul { gap:3%; width: auto; margin-top: 20px;  }
#sub2_2 ul li { width: 48.5%; margin-bottom: 3vw;}

#imgModal .modal-inner img { max-width: 80vw; }

/* sub3_1 */
#sub3_1 .cont1 { display: block; }
#sub3_1 .cont1 p { width: auto; margin-top: 20px;  }
#sub3_1 .cont2 { margin-top: 40px; }
#sub3_1 .cont2 ul { grid-template-columns: repeat(2, 1fr); gap:40px 3%; }
#sub3_1 .cont2 ul li p { font-size:14px; }
}
