#sub h3{
  width:100%;
  font-size:1.5rem;
}
#sub h4{
  width:100%;
  font-size:1.3rem;
}
#sub p{
  width:100%;
  font-size:1.25rem;
}
#sub h5{
  width:100%;
  font-size:1rem;
}
#sub  span.pic{
  display:inline-block;
  width:100%;
  margin-top:30px;
  margin-bottom:30px;
}
#sub span.pic>img{
  width:100%;
}

/*돼지이야기 소개*/
.pigstory{
}
.pigstory .section1{
  position:relative;
  padding-left:150px;
  text-align:left;
  box-sizing:border-box;
}
.pigstory .section1 span{
  position:absolute;
  display:inline-block;
  top:5px;
  left:0;
  width:140px;
}
.pigstory .section1 span>img{
  width:130px;
}
.pigstory .section5 .box{
  width:100%;
  padding:15px;
  margin-top:10px;
  background-color:#f05a72;
  color:#fff;
  box-sizing: border-box;
}
.pigstory .section5 .box>li{
  position:relative;
  width:100%;
  min-height:50px;
  padding-bottom:20px;
  padding-left:65px;
  box-sizing:border-box;
}
.pigstory .section5 .box>li>b{
  position:absolute;
  top:5px;
  left:0;
  width:50px;
  height:50px;
  padding-top:3px;
  border-radius: 60px;
  background-color:#fff;
  font-family: 'GmarketSansBold';
  color:#f05a72;
  font-size:2rem;
  line-height:50px;
  font-weight:700;
  text-align:center;
  box-sizing:border-box;
}
.pigstory .link{
  width:100%;
  margin-top:4%;
  font-size:0;
  line-height:0;
}
.pigstory .link>a{
  display:inline-block;
  width:48%;
  padding-top:20px;
  padding-bottom:20px;
  border: 1px solid #b2b2b2;
}
.pigstory .link>a:nth-child(1){
  margin-right:2%;
}
.pigstory .link>a:nth-child(2){
  margin-left:2%;
}
.pigstory .link>a>span, .pigstory .link>a>strong, .pigstory .link>a>b{
  display:inline-block;
  width:100%;
  text-align:center;
}
.pigstory .link>a>span{
  height:45px;
}
.pigstory .link>a>span>img{
  width:60px;
}
.pigstory .link>a>strong{
  padding-top:5px;
  padding-bottom:5px;
  font-family: 'GmarketSansBold';
  font-size:1.4rem;
  line-height:1.5rem;
}
.pigstory .link>a>strong>b{
  font-family: 'GmarketSansMedium' !important;
}
.pigstory .link>a>strong.pink{
  color:#ef3f6b;
}
.pigstory .link>a>strong.mint{
  color:#009784;
}
.pigstory .link>a>b>img{
  width:18px;
}

.tab{
  width:100%;
  margin-bottom:20px;
  font-size:0;
  line-height:0;
}
.tab>li{
  position:relative;
  padding-top:18px;
  padding-bottom:15px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  vertical-align:top;
}
.tab>li:hover, .tab>li.active{
  background-color:#f05a72;
  border:1px solid #f05a72 !important;
}
.tab>li:hover>b, .tab>li:hover>a>b.hover, .tab>li.active>b, .tab>li.active>a>b.hover{
  display:inline-block;
}
.tab>li>b{
  position:absolute;
  display:none;
  bottom:-15px;
  left:0;
  width:100%;
  height:20px;
  text-align:center;
}
.tab>li:hover>a, .tab>li:hover>a>strong, .tab>li:hover>a>span, .tab>li.active>a, .tab>li.active>a>strong, .tab>li.active>a>span{
  color:#fff !important;
}
.tab>li:nth-child(1){
  width:50%;
}
.tab>li:nth-child(2){
  width:50%;
}
.tab>li>a{
  display:inline-block;
  width:100%;
  padding:0 10px;
  font-family: 'GmarketSansBold';
  font-size:1.6rem;
  line-height:1.3rem;
  text-align:center;
}
.tab>li>a>strong{

}
.tab>li>a>span{
  font-size:0.7rem !important;
}
.tab>li>a>b{
  position:absolute;
  top:18px;
  right:10px;
}
.tab>li>a>b.hover{
  display:none;
}
.tab>li>a>b>img{
  width:18px;
}

@media only screen and (max-width : 460px){
  .tab>li>a{
    padding:0;
  }
}
/*농장소개*/
.farm .btnBox{
  width:100%;
  margin-top:30px;
  text-align:center;
  font-size:0;
  line-height:0;
}
.farm .btnBox>a{
  display:inline-block;
  width:48%;
  padding-top:20px;
  padding-bottom:15px;
  font-family: 'GmarketSansBold';
  font-size:1.6rem;
  line-height:1.7rem;
  color:#fff;
}
.farm .btnBox>a.pink{
  background-color:#f05a72;
  margin-right:2%;
}
.farm .btnBox>a.mint{
  background-color:#00af9d;
  margin-left:2%;
}

/*농장소개, 사진갤러리 탭*/
.farm .tab>li, div.pic .tab>li, div.enter .tab>li{
  border: 2px solid #f05a72;
}
.farm .tab>li:hover, .farm .tab>li.active, div.pic .tab>li:hover, div.pic .tab>li.active, div.enter .tab>li:hover, div.enter .tab>li.active{
  border: 2px solid #f05a72 !important;
}
.farm .tab>li>a>span, div.pic .tab>li>a>span, div.enter .tab>li>a>span{
  color:#f05a72;
}
.farm .tab>li>a>strong, div.pic .tab>li>a>strong, div.enter .tab>li>a>strong{
  color:#f05a72;
}

.picPopup{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:99;
}
.picPopup a.close{
  position:fixed;
  top:10px;
  right:10px;
  width:26px;
  height:26px;
  z-index:99
}
.picPopup .bg{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:#000;
  opacity:0.9;

}
.picPopup strong.counter{
  position:fixed;
  top:10px;
  left:10px;
  width:100px;
  height:20px;
  font-size:1rem;
  font-weight:200;
  line-height:20px;
  color:#fff;
  text-align:left;
  z-index:99;
}
.picPopup strong.counter>b{
  font-weight:300;
}
.picPopup ul.list{
  position:fixed;
  top:50%;
  left:50%;
  width:100%;
  max-width:720px;
  min-width:310px;
  margin-top:-212px;
  margin-left:-360px;
  height:100%;
  z-index:99;
}
.picPopup ul.list>li{
  width:100%;
  vertical-align: middle;
}
.picPopup ul.list>li>img{
  width:100%;
}
.picPopup .page{
  position:fixed;
  top:0;
  left:0;
  z-index:99;
}
.picPopup .page>.left{
  position:fixed;
  top:50%;
  left:5px;
  margin-top:-6px;
  width:26px;
  height:25px;
}
.picPopup .page>.right{
  position:fixed;
  top:50%;
  right:5px;
  margin-top:-6px;
  width:26px;
  height:25px;
}
@media only screen and (max-width : 720px){
  .picPopup ul.list{
    left:0;
    margin-left:0;
    margin-top:-28%;
  }
}
@media only screen and (max-width : 310px){
  .picPopup ul.list{
    left:0;
    margin-left:0;
    margin-top:-91px;
  }
}


.pic .tab>li{width:33.3%}
.pic .tab>li:nth-child(1){border-right:none;}
.pic .tab>li:nth-child(2){border-right:none;}
@media only screen and (max-width : 685px){
  .pic .tab>li{
    padding-top:15px;
  }
  .pic .tab>li>a>strong{font-size:1.5rem;}
  .pic .tab>li>a>span{display:inline-block;width:100%;letter-spacing:-0.1rem;}

}
/*커리큘럼*/
.curri .tab{
  text-align:center;
}
.curri .tab>li{
  padding-top:25px;
  padding-bottom:15px;
  border: 1px solid #ccc;
}
.curri .tab>li:nth-child(1), .curri .tab>li:nth-child(2), .curri .tab>li:nth-child(3), .curri .tab>li:nth-child(4), .curri .tab>li:nth-child(5){
  width:30%;
}
.curri .tab>li:nth-child(2), .curri .tab>li:nth-child(3), .curri .tab>li:nth-child(4), .curri .tab>li:nth-child(5){
  border-left:none;
}
.curri .tab>li>a>span, .curri .tab>li>a>strong{
  display:inline-block;
  width:100%;
  color:#333;
}
.curri .tab>li>a>strong{
  font-size:2rem;
}
.curri .tab>li>a>span{
  font-family: 'GmarketSansMedium' !important;
}



/*사진자료*/
div.pic span.pic{
  margin-top:2px !important;
  margin-bottom:2px !important;
}


/*동영상자료*/
.mov ul{
  width:100%;
}
.mov ul>li{
  width:100%;
  margin-top:30px;
}
.mov ul>li:nth-child(1){
 margin-top:0;
}
.mov ul>li strong, .mov ul>li span{
  display:inline-block;
  width:100%;
}
.mov ul>li span{
  margin-top:10px;
  text-align:center;
  font-size:1.3rem;
  font-weight:700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/*교육자료*/
.edu .list{
  width:100%;
  border-top:2px solid #7f7f7f;
}
.edu .list>li{
  position:relative;
  width:100%;
  height:70px;
  padding-top:10px;
  padding-bottom:10px;
  padding-left:24px;
  padding-right:70px;
  border-bottom:1px solid #b2b2b2;
  box-sizing: border-box;
}
.edu .list>li a{
  display:inline-block;
  width:100%;
  height:100%;
}
.edu .list>li i, .edu .list>li strong, .edu .list>li span, .edu .list>li b{
  display:inline-block;
}
.edu .list>li i{
  position:absolute;
  top:16px;
  left:0;
  width:18px;
  height:18px;
}
.edu .list>li strong{
  width:100%;
  font-size:1.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.edu .list>li span{
  width:100%;
  font-size:0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.edu .list>li b{
  position:absolute;
  top:15px;
  right:0;
  width:40px;
  height:40px;
}
.edu .list>li b>img{
  width:40px !important;
}


/*교육장 출입방법*/
.enter ul.text{
  width:100%;
}
.enter ul.text>li{
  position:relative;
  width:100%;
  padding-top:10px;
  min-height:25px;
  padding-bottom:10px;
  padding-left:45px;
  box-sizing:border-box;
  border-bottom:1px solid #eee;
}
.enter ul.text>li>b{
  position:absolute;
  display:inline-block;
  top:15px;
  left:0;
  width:25px;
  height:25px;
  font-family: 'GmarketSansBold';
  font-size:1.8rem;
  line-height:25px;
  color:#f05a72;
}



/*찾아오시는 길*/
.mapS{

}
.mapS>strong, .mapS>span{
 display:inline-block;
 width:100%;
 text-align:center;
}
.mapS>strong{
  font-size:1.4rem;
}
.mapS>span{
  padding-bottom:20px;
  font-size:1.1rem;
}
.mapS .txt{
  position:relative;
  display:inline-block;
  width:100%;
  padding-left:24px;
  padding-bottom:7px;
  font-size:1.4rem;
  line-height:1.4rem;
  font-weight:400;
  box-sizing: border-box;
}
.mapS .txt>i{
  position:absolute;
  display:inline-block;
  top:0;
  left:0;
  width:20px;
  height:30px;
}
.mapS .txt>i>img{
  width:20px;
}
.mapS .txt>b{
  display:inline-block;
  padding-right:5px;
  color:#f05a72;
}
.mapS .txt>span{
  position:absolute;
  top:30px;
  left:0;
  font-size:1.2rem;
  color:#666;
  word-break:keep-all;
}
.mapS .info{
  display:inline-block;
  width:100%;
  font-size:1.2rem;
  color:#666;
  word-break:keep-all;
}
