/* 인사말 */
.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 dd span{ color:var(--sub_color)}
.greetings dl dd em{text-align: right; font-weight: bold; font-size: 2.4rem; display: block;}


@media all and (max-width:1023px) {
    .greetings{flex-direction: column;}
}

/* 오시는길 */
.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%}

@media all and (max-width:1023px) {
    .map{flex-direction: column;}
}




/* 제품 */
.product_menu{display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-right: -1rem; margin-bottom: 10rem;}
.product_menu li{width: calc(33% - 1rem); text-align: center;}
.product_menu li a{display: flex; flex-direction: column; justify-content: center; padding:1rem 2rem; border:1px solid #ccc; transition: .5s;}
.product_menu_on a,
.product_menu li a:hover{background: var(--main_color); color:#fff; },
.product_menu li a span{display: block; font-size: 1.4rem;}

.product_image{display: flex; gap:3rem; margin-right: -3rem;}
.product_image li{width: calc(33% - 3rem);}

.topnav {overflow: hidden; display: flex; align-items: center; justify-content: center; gap:1rem; flex-wrap:wrap; display: none;}
.topnav a {float: left; display: block;  text-align: center;  padding: 14px 16px; text-decoration: none; border:1px solid #ccc; width: calc(33% - 1rem);}

#myTopnav { margin-bottom:10px;  }

.topnav a:hover {/*background-color: #ddd;color: black;*/}
.topnav a.active {background-color:var(--main_color);color: white;}
.topnav .icon {display: none;}
  
  @media screen and (max-width: 600px) {
    .product_menu{display: none;}
    .topnav{display: flex;}
    /* .topnav a:not(:first-child) {display: none;} */
    .topnav a:not(.active) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
    .topnav{gap:0; display: flex;}
    .topnav a{ display: flex; align-items: center; width: calc(100% - 50px); min-height:80px;}
    .topnav a.icon{float: right  !important; width: 50px; height: 76px; display: flex; align-items: center;}
  }

  
  @media screen and (max-width: 600px) {
    .topnav.responsive {position: relative; flex-direction: column;}
    .topnav.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
      text-align: right;
      background:#fff;
    }
    
    .topnav.responsive a:not(.icon) {
      float: none;
      display: flex;
      text-align: center;
      width:100%;
      padding-right:50px;
      align-items: center
    }
    
    .topnav.responsive a.active {border: 1px solid var(--main_color);}
  }



  @media all and (max-width:1023px) {
    .product_image{flex-direction: column; margin-right: 0;}
    .product_image li{width: 100%;}
}


  

/* 온라인문의 */
.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}



@media all and (max-width:1023px) {
    .online_form{flex-direction: column;}
    .online_form h3{flex-basis:100% ;}
    .form_area{width: 100%;}
}




/* 아코디언 */
.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}  



@media all and (max-width:1023px) {
    .mo_view{position: relative !important;}
}

