@charset "utf-8";
/* =======================================
	Pest css
========================================== */
h1 {
  max-width: 734px;
}
h1::before {
  height: 35px;
  width: 32px;
  margin-left: 10px;
  background: url("../images/pest/icon.png");
  background-size: cover;
}
h1::after {
  height: 35px;
  width: 32px;
  margin-right: 10px;
  background: url("../images/pest/icon.png");
  background-size: cover;
  transform: rotateY(180deg);
}
main {
  padding-top: 15px;
}
section {
  display: flex;
  flex-direction: row-reverse;
  padding: .9em;
  margin-bottom: 1.9em;
  background: #fff;
  border: 1px solid #ababab;
}
main .inner {
  flex: 1;
}
section h2 {
  margin-bottom: .536em;
  font-size: 4.8vw;
  line-height: 1.2;
}
section > p {
  width: 39.2%;
  margin-right: 12px;
}
section li {
  margin-top: .428em;
  font-size: 3.733vw;
  line-height: 1.4;
}
section li a {
  display: flex;
  padding: .614em 1.214em .414em;
  color: #fff;
  background: #3395e8;
  border-radius: 5px;
}
article {
  display: none;
}
h3 {
  margin-bottom: .928em;
  color: #005caa;
  font-size: 2.8rem;
  font-weight: bold;
  border-bottom: 2px solid #005caa;
  line-height: 1.4;
}
.box h3 {
  display: none;
}
.slide {
  max-width: 345px;
  width: 78.8vw;
  margin: 0 auto 21px;
}
.slide p {
  margin: .8em;
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.5;
}
h4 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.11em;
  width: 4.05em;
  padding-left: .338em;
  margin-top: 1.166em;
  color: #fff;
  font-size: 1.8rem;
  background: #3395e8;
  border-radius: 3px;
  text-align: center;
  letter-spacing: .388em;
}
.box p {
  margin: .5625em 0;
  font-size: 1.6rem;
  line-height: 1.5;
}
@media only screen and (min-width: 375px) {
  h1::before {
    height: 9.333vw;
    width: 8.533vw;
    margin-left: 2.666vw;
  }
  h1::after {
    height: 9.333vw;
    width: 8.533vw;
    margin-right: 2.666vw;
  }
  main {
    padding-top: 4vw;
  }
  section {
    padding: 2.4vw;
  }
  h3 {
    font-size: 7.466vw;
  }
  h4 {
    font-size: 4.8vw;
  }
}
@media only screen and (min-width: 460px) {
  section h2 {
    font-size: 2.2rem;
  }
  h3 {
    font-size: 3.6rem;
  }
  h4 {
    font-size: 2rem;
  }
}
@media only screen and (min-width: 483px) {
  section {
    margin-bottom: 3.933vw;
  }
  section li {
    font-size: 1.8rem;
  }
}
@media only screen and (min-width: 768px) {
  h1::before {
    height: 68px;
    width: 61px;
    margin-left: 30px;
  }
  h1::after {
    height: 68px;
    width: 61px;
    margin-right: 30px;
  }
  main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1168px;
    padding-top: 8.398vw;
    margin: 0 auto;
  }
  section {
    width: 46.8%;
  }
}
@media only screen and (min-width: 1024px) {
  main {
    padding-top: 86px;
  }
  section {
    padding: 3em;
    margin-bottom: 6em;
  }
  .modaal-container .inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .inner > h3 {
    display: none;
  }
  .slide {
    position: relative;
    width: 345px !important;
    margin: 0 0 0 2%;
  }
  .box {
    flex: 1;
    margin-left: 60px;
  }
  .box h3 {
    display: block;
    padding-bottom: .322em;
  }
}
