@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a:any-link {
  text-decoration: none;
  color: #000;
}

.hidden {
  position: absolute;
  left: -9999px;
}

#wrap {
    min-width: 1024px;
}

#lnb {
  width: 100%;
  height: 40px;
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 1;
}

#lnb > ul {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
}

#lnb > ul > li {
  width: 25%;
  font-family: Wanted Sans;
  font-size: 12px;
}

#lnb > ul > li > a {
  display: block;
  line-height: 40px;
  text-align: center;
  color: #fff;
}

#lnb > ul > li > a img {
margin-top: 6px;
}

#lnb > ul > li > a:hover {
  color: #ed1c24;
  font-weight: bold;
}

#lnb > ul > li > ul {
    background-color: #ed1c24;
    display: none;
  }
  
#lnb > ul > li > ul > li {
    text-align: center;
    width: 100%;
  }
  
#lnb > ul > li > ul > li > a {
    display: block;
    line-height: 40px;
    text-align: center;
    color: #ffffff;
    }
  
#lnb > ul > li > ul > li > a:hover {
  background-color: #ffffff;
  color: #ed1c24; 
  font-weight: bold;
    }
  
.submenu {
    z-index: 1;
  }

/* content-1 영역 */

#content-1 {
  height: 5500px;
}

/* 봉화사과 구매하기 */

#content-1 .cont1_banner {
    width: 100%;
    height: 80px;
    background-color: #f5f5f7;
    background-position: center;
    background-size: cover;
    border-bottom: 1px solid #ebebeb;
}

#content-1 .cont1_box {
    width: 890px;
    height: 80px;
    margin: 0 auto;
}

#content-1 .cont1_banner .cont1_box .h1 {
    font-size: 25px;
    text-align: left;
    padding-top: 24px;
    color: #0f0f0f;
    font-family: Wanted Sans;
    font-weight: 600;
}

#content-1 .con1_sns2 {
  width: 1024px;
  margin: 0 auto;
  font-family: Wanted Sans;
  font-weight: 600;
}

#content-1 .con1_sns2 .h1 {
    margin: 40px 60px;
    font-size: 25px;
    text-align: center;
}

/* snsbox1 */

#content-1 .con1_snsbox .sns_box_1 {
  width: 890px;
  height: 550px;
  border-top: 1px solid #ebebeb;
  margin: 0 auto;
}

#content-1 .con1_snsbox .sns_box_1 img {
  float: left;
  padding: 40px 80px;
}

#content-1 .con1_snsbox .sns_box_1 .h1 {
  font-family: Wanted Sans;
  font-weight: 600;
  line-height: 1.2;
  font-size: 40px;
  color: #0f0f0f;
}

#content-1 .con1_snsbox .sns_box_1 .p {
    margin-top: 30px;
    color: #ed1c24;
    font-family: Wanted Sans;
    font-weight: 600;
    line-height: 2;
}

#content-1 .con1_snsbox .sns_box_1 .h3 {
    margin-top: 30px;
    color: #ed1c24;
    font-family: Wanted Sans;
    font-weight: 600;
    line-height: 2;
}

#content-1 .con1_snsbox .sns_box_1 .h4 {
    font-size: 13px;
    font-family: Wanted Sans;
    font-weight: 400;
    line-height: 2;
}


#content-1 .con1_snsbox .color_box {
    width: 400px;
    height: 150px;
    display: flex;
}

#content-1 .con1_snsbox .color_box .box1 {
    width: 180px;
    height: 100px;
    background-color: #fff;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    margin-top: 20px;
    margin-left: 3px;
}

#content-1 .con1_snsbox .color_box .box1 .p {
    color: #ed1c24;
    text-align: center;
    font-size: 16px;
}

#content-1 .con1_snsbox .color_box .box2 {
    width: 180px;
    height: 100px;
    background-color: #fff;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    margin-top: 20px;
    margin-left: 10px;
    padding: 0px 70px;
}

#content-1 .con1_snsbox .color_box .box2 .p {
    color: #ed1c24;
    text-align: center;
    font-size: 16px;
}

#content-1 .box_contain {
    margin-top: 40px;
    width: 890px;
    border-top: 1px solid #ebebeb;
}

#content-1 .con1_snsbox .box3 {
    width: 373px;
    height: 70px;
    background-color: #e4e4e4;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    float: left;
    margin-top: 30px;
    border: 1px solid #ebebeb;
}

#content-1 .con1_snsbox .box3 .p3 {
    text-align: center;
    font-family: Wanted Sans;
    margin-top: 23px;
}

/* box_contain2 상세페이지 시작 */

#content-1 .box_contain2 {
    width: 1024px;
    height: 600px;
    margin: 0 auto;
}

.box_contain2 .box_line {
  width: 890px;
  border-bottom: 1px solid #ebebeb;
  margin: 0 auto;
}

.box_contain2 .h1 {
  text-align: left;
  padding: 15px 100px;
  font-family: Wanted Sans;
  font-weight: 400;
  font-size: 15px;
}

.box_contain2 .box_page {
  width: 800px;
  margin: 0 auto;
}

.box_contain2 .box_page img {
  padding: 51px;
}



/* footer */

footer {
    width: 100%;
    height: 100px;
    background-color: #ebebeb;
}

footer h2 {
    padding: 40px;
    text-align: center;
    font-size: 12px;
    font-family: Wanted Sans;
    color: #636363;
}

footer a {
  color: #0f0f0f;
}

/* content3_btn 영역 */

content-3 .btn {
    margin: 0 auto;
}

.myButton {
	background-color:#ed1c24;
	border-radius:28px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
  font-family: Wanted Sans;
	font-size:14px;
	padding:10px 15px;
	text-decoration:none;
  border: 0;
}
.myButton:hover {
	background-color:#f7941d;
}
.myButton:active {
	position:relative;
	top:1px;
}

/* modal */

* {
  box-sizing: border-box;
}

.all_modal {
  text-align: center;
  margin-top: 31px;
}

.modal {
  /* 스타일 - customize */
  background-color: rgba(0, 0, 0, 0.7);
  pointer-events: none;
  padding: 20px;

  /* 트랜지션 효과 */
  transition: opacity 0.3s ease-in-out;
  opacity: 0;

  /* 화면 전체를 덮게하는 코드 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* 중앙에 오게하는 코드 */
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  /* 스타일 - customize */
  max-width: 500px;
  width: 100%;
  height: 250px;
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  font-family: Wanted Sans;
  line-height: 2;

  /* 트랜지션 효과 */
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;

  transform: scale(0.8);
}

.modal.show {
  /* 모달이 열렸을 때 보여지게 하는 코드 */
  opacity: 1;
  pointer-events: auto;
}

.modal.show .modal-content {
  /* 모달이 열렸을 때 보여지게 하는 코드 */
  opacity: 1;
  transform: scale(1);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
}

.close:hover {
  color: black;
}