/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {
  .h_p1 a span {
    display: none;
  }

  .h_p2 {
    display: none;
  }

  .h_wrap1 input {
    display: none;
  }

  .h_wrap1 {
    float: right;
    right: 10px;
    top: 9px;
  }

  .h_p1 {
    right: 42px;
    top: 14px;
  }

  .s_mob {
    position: fixed;
    left: 0;
    top: 0;
    height: 110px;
    width: 100%;
    max-width: 100%;
    background-color: #437531;
  }

  .s_mob input {
    display: block;
    width: 280px;
    height: 40px;
    border: none;
    background-color: #fff;
    top: 47px;
    margin-left: 20px;
  }

  .s_mob img {
    top: 54px;
    right: 47px;
  }

  .s_mob .s_close {
    display: block !important;
    z-index: 5;
    position: absolute;
    float: right;
    right: 10px;
    top: 10px;
    cursor: pointer;
  }
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
  .s1_p1 {
    font-size: 24px;
    margin-top: -277px;
  }

  .s1_p2 {
    font-size: 14px;
  }

  .s1_p3 {
    font-size: 20px;
    margin-top: 9px;
  }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
  .header {
    min-height: 260px;
  }

  .logo {
    display: block;
    position: relative;
    width: 100%;
    height: 100px;
    top: 80px;
  }

  .logo img {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .h_sp1 {
    font-size: 12px;
    top: 106px;
    margin-left: 0px;
    z-index: 2;
    width: 100%;
    text-align: center;
  }

  .h_sp2 {
    font-size: 16px;
    top: 128px;
    margin-left: 0px;
    z-index: 2;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    left: 0;
    right: 0;
  }

  .small_mnu {
    position: absolute;
    width: 27px;
    height: 30px;
    top: 15px;
    margin-left: 0px;
    cursor: pointer;
    z-index: 3;
  }

  .small_mnu div {
    height: 3px;
    margin-bottom: 5px;
    background-color: #437531;
  }

  .topmnu {
    display: none;
    position: fixed;
    width: 100%;
    min-height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 10;
    overflow: auto;
  }

  .top_mnu {
    position: absolute;
    overflow-y: scroll;
    width: 90%;
  }

  .top_mnu li {
    display: block;
    overflow: hidden;
  }

  .top_mnu > li > img {
    right: 15px;
  }

  .mnu_close {
    display: block;
    position: absolute;
    float: right;
    right: 10px;
    top: 10px;
    cursor: pointer;
    z-index: 5;
  }

  .top_mnu li.active {
    border: none;
  }

  .top_mnu > li > ul {
    display: none;
    position: relative;
    width: 100%;
    background-color: #4b8238;
    z-index: 2;
    margin-top: 14px;
    margin-left: 0px;
  }

  .top_mnu li.c-hover ul {
    display: block;
  }

  .top_mnu > li > ul > li > ul {
    display: block;
    position: relative;
    width: 100%;
    background-color: #54913f;
    z-index: 2;
    margin-top: 0px;
    margin-left: 0px;
  }

  .owl_carousel_1 {
    margin-top: 20px;
  }

  .s1_wrap1 {
    /* min-height: 238px; */
  }

  .s1_p1 {
    margin-top: -204px;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
  .modal_form {
    width: 87%;
    top: 20px;
  }

  .modal_form2 {
    width: 87%;
    top: 20px;
  }

  .mod_close {
    right: 2px;
    top: 2px;
  }

  body {
    overflow-x: hidden;
  }

  .s1_wrap1 {
    overflow: hidden;
  }

  .s1_img1 {
    /* max-width: 240%;
    margin-left: -67px; */
  }

  .s1_p1 {
    margin-left: 144px;
  }

  .s1_p2 {
    margin-left: 153px;
    max-width: 100px;
    margin-top: 1px;
  }

  .s1_p3 {
    margin-left: 150px;
  }

  .s1 {
    /* min-height: 250px; */
  }

  .s2_ul li {
    width: 100%;
    display: block;
    overflow: hidden;
  }

  .s2_ul2 li {
    padding-right: 0px;
    min-height: 110px;
  }

  .s2_wrap3 {
    margin-top: 20px;
  }

  .s2_wrap2 {
    min-height: 690px;
  }

  .s3_ul li {
    margin-right: 0;
    display: block;
    margin-bottom: 10px;
  }

    .s3_ul li a {
    width: 100%;
  }
  .s3_ul li .link {
    width: 100%;
  }

  .s3_ul2 li {
    display: block;
    margin-right: 0;
  }

  .s3_ul2 li img {
    width: 100%;
  }

    .f_a1 {
    top: 10px;
  }

  .f_p2 {
    margin-left: 20px;
  }

  .f_ul {
    float: none;
    right: 0;
    margin-left: 0px;
    position: relative;
    top: 0;
    margin-top: 19px;
    margin-bottom: 20px;
  }

  .f_ul li {
    margin-left: 0;
    margin-right: 10px;
  }
  .content img {
    max-width: 100% !important;
    height:auto !important;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {
}
