/* 공통 */
.sub_bg{background-color: #fafafa; padding:10rem 0}

/* 인사말 */
.greetings{display: flex; gap:5rem; padding-bottom: 10rem;}
.greetings p{flex-basis: 50%; position: relative; padding:0 0 5rem 5rem ;}
.greetings p::before{content: ''; width: 50%; height: 50%; border-radius: 0 0 10rem 0; background: var(--main_color); position:absolute; bottom: 0; left: 0; z-index: -1;}
.greetings dl{flex:1}
.greetings dl dt{font-weight: bold; font-size:3.6rem; padding-bottom: 2rem;}
.greetings dl dt span{display: block; color:var(--main_color)}
.greetings dl dd span{ color:var(--sub_color)}
.greetings dl dd em{text-align: right; font-weight: bold; font-size: 2.4rem; display: block;}

/* 회사개요 */
.overview_list{display: flex; gap:3rem;  flex-wrap: wrap; text-align: center;}
.overview_list dl{border: 1px solid #ccc; width: calc(33% - 3rem); padding:2rem}
.overview_list dl dt{font-weight: bold; font-size: 2.4rem; margin-bottom: 2rem; }
.overview_list dl dt span{display: block; font-size: 3rem; color:var(--main_color)}
.overview_con{display: flex; flex-wrap: wrap; gap:3rem; text-align: center;}
.overview_con li{width: calc(25% - 3rem);}
.overview_con p{width: 20rem; height: 20rem; border-radius: 100%;  overflow: hidden; margin: 0 auto 2rem auto;}


/* 연혁 */
.history_wrap{display: flex; gap:5rem}
.history{flex:1}
.history dl{text-align: center;}
.history dl dt{font-weight: bold; font-size:4rem; font-family: var(--font-eng);}
.history dl dd{font-weight: bold; font-size:2rem; padding:2rem; background:#666; color:#fff;}

/* 비전 */
.vision_list{display: flex; gap:3rem; text-align: center;}
.vision_list li{flex:1; }
.vision_list li p{margin-bottom: 3rem;}
.vision_list li dl dt{font-weight: bold; font-size: 2.4rem; margin-bottom: 2rem;}

/* 오시는길 */
.map{display: flex; gap:5rem}
.map_info{flex-basis:30%; display: flex; flex-direction: column; gap:2rem}
.map_info dl{border-bottom: 1px solid #ccc; padding-bottom: 2rem;}
.map_info dl dt{font-weight: bold; font-size: 2.5rem;}
.map_info li{display: flex; gap:2rem; align-items: center; padding:1rem 0}
.map_info li span{display: inline-flex; width:30%; font-weight: bold;}
.map_info li span i{color:var(--main_color); display: inline-block; margin-right: 1rem;}
.map_area{flex-basis:70%}


/* 파트너 */
.partner_list{display: flex; gap:3rem; flex-wrap: wrap; margin-right: -3rem;}
.partner_list li{width:calc(25% - 3rem); border: 1px solid #ccc;}

/* 인증서 */
.cer_bg{background: url(../images/quality/cer_bg.jpg)no-repeat center fixed; padding:10rem 0; position: relative;}
.cer_bg::before{content: ''; width: 100%; height: 100%; background: rgba(0,0,0,0.5); position: absolute; top: 0; left: 0;}
.cer_bg p{color:#fff; text-align: center; position: relative;}
.cer_list{display: flex; gap:3rem}
.cer_list li{flex:1; text-align: center;}
.cer_list li p{border: 1px solid #ccc; box-shadow: 0 0 1rem rgba(0,0,0,0.2); margin-bottom: 2rem;}


/* 제품소개 */
.product{display: flex; gap:10rem; margin-bottom: 10rem;}
.product_img{width: 25%;}
.product_img dl{display: flex; gap:3rem; border-bottom: 1px dashed #ccc; padding:1rem}
.product_img dl dt{font-weight: bold; width: 20%; color:var(--main_color)}
.product_img dl dd{width: calc(80% - 3rem);}

.product_thumb{width: calc(75% - 10rem);}
.product_thumb ul{display: flex; gap:3rem; flex-wrap: wrap; margin-right: -3rem; margin-bottom: 3rem;}
.product_thumb ul li{width: calc(33% - 3rem);}
.product_thumb p{width: 100%; text-align: center; font-weight: bold; font-size:2rem; padding:1rem; background:var(--main_color); color:#fff;}

.product_list{display: flex; flex-wrap: wrap; gap:3rem; margin-right: -3rem; margin-bottom: 10rem;}
.product_list li{width: calc(25% - 3rem); box-shadow: 0 0 1rem rgba(0,0,0,0.2);}

/* 생산설비 */
.fac_list{display: flex; flex-wrap: wrap; gap:3rem; margin-right: -3rem;}
.fac{width: calc(33% - 3rem);}
.fac p{margin-bottom: 3rem;}
.fac dl{display: flex; gap:2rem; border-bottom: 1px dashed #ccc; padding:1rem }
.fac dl dt{width: 20%; color:var(--main_color); font-weight: bold;}
.fac dl dd{width: calc(80% - 2rem);}
.test_list{display: flex; flex-wrap: wrap; gap:3rem; margin-right: -3rem;}
.test_list li{width: calc(33% - 3rem); text-align: center;}
.test_list li p{margin-bottom: 2rem; border: 1px solid #ccc;}



/* 온라인문의 */
.online_form{display: flex; gap:5rem}
.online_form h3{flex-basis: 30%;  font-size:1.6rem; font-weight: normal; padding:0 0 2rem 0}
.online_form h3 span{display: block; font-weight: bold; color:var(--main_color); font-size: 3rem;}
.online_form h3 p{position: relative;}



/* 라디오버튼 */
.radio_wrap {display: inline-block; position: relative; padding-left: 3rem; margin-right: 1rem; margin-bottom: 1.2rem; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;}
.radio_wrap input {position: absolute; opacity: 0; cursor: pointer;}
.checkmark {position: absolute; top: 0;left: 0; height: 2rem; width: 2rem; background-color: #eee; border-radius: 50%;}
.radio_wrap:hover input ~ .checkmark {background-color: #ccc;}
.radio_wrap input:checked ~ .checkmark {background-color:var(--sub_color);}
.checkmark:after {content: ""; position: absolute; display: none; }
.radio_wrap input:checked ~ .checkmark:after { display: block;  }
.radio_wrap .checkmark:after { top: 50%; left: 50%; transform: translate(-50%, -50%);  width: 8px;  height: 8px; border-radius: 50%; background: white; }

.form_area{width: 70%;}
.online_form p{padding-top: 2rem;}
.online_form dl{display:flex; align-items: center; padding:3rem 0; border-bottom:1px dotted #ccc}
.online_form dl dt{width:20%; text-align: center;}
.online_form dl dd{width: 80%;}
.form_input{border: 1px solid #ccc; padding:1rem; width:100%; font-size:1.4rem}
.form_text{border: 1px solid #ccc; padding:2rem; width:100%; height: 30rem; overflow-y: auto;  font-size:1.4rem}
#btn_submit{background: var(--sub_color); color:#fff; padding:1rem 2rem}



/* 아코디언 */
.beefup {margin: 1em 0; border: 1px solid #ddd; border-radius: 4px; }
.beefup:hover {border-color: #ccc;}
.beefup:first-child {margin-top: 0;}
.beefup__head, .beefup__body {padding: 2rem;}
.beefup__head {cursor: pointer; position: relative; margin: 0; padding-right: 50px;}
.beefup__head span{display: inline-flex; justify-content: center; align-items: center; width: 5rem; height: 5rem; margin-right: 3rem; border-radius: 100%; background: var(--sub_color); color:#fff; font-family: var(--font-eng);}
button.beefup__head, .beefup__head > button { cursor: pointer; display: block; width: 100%; background: none; border: 0; font: inherit; text-align: inherit;}
button.beefup__head[aria-disabled], .beefup__head > button[aria-disabled] {cursor: default; outline: 0; }
.beefup__head > button{position: relative; z-index: 1; margin: -10px -50px -10px -20px; padding: inherit; width: calc(100% + 70px); background: inherit; border: inherit;}
.beefup__head::after {transition: transform 0.2s ease-out; content: ""; transform: translate(0, -50%) rotate(45deg); position: absolute; top: 50%; right: 20px; z-index: 0; margin-top: -2px; padding: 3px; border-width: 0 2px 2px 0; border-style: solid; color: #ccc;}
.beefup.is-open > .beefup__head::after {transform: translate(0, -50%) rotate(225deg); margin-top: 2px;}
.mockup{background: #fafafa; padding:2rem}  










