@charset "UTF-8";
@import url(https://cdn.jsdelivr.net/npm/yakuhanjp@3.3.1/dist/css/yakuhanjp.min.css);


html {
  font-size: 10px;
}

@media screen and (max-width:750px) {
  html {
    font-size: 1.333vw;
  }
}

body {
  color: #000;
  font-family: YakuHanJP, "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
  font-style: normal;
  font-feature-settings: 'palt';
  line-height: 1.5;
  max-width: 750px;
  margin: auto;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

video {
  filter: drop-shadow(0px 0px rgba(0, 0, 0, 0));
  outline: none;
  border: none;
}

a {
  color: #000;
  display: block;
  text-decoration: none;
  transition: .3s;
}

a:hover {
  opacity: .75;
}


/* ======================= header/main/footer ======================= */
.header,
.main,
.footer {
  margin: auto;
  width: 100%;
}


/* ======================= header ======================= */
.header {
  padding: 1.5rem;
}

.header a {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header .header_logo {
  width: 17rem;
}

.header .btn_header {
  width: 15.6rem;
}


/* ======================= service_menu ======================= */
.service_menu {
  position: relative;
}

.service_menu .service_menu_item {
  position: absolute;
  width: 33rem;
  top: 45.5%;
  left: 5rem;
  z-index: 1;
}

.service_menu .btn_wrap {
  position: absolute;
  width: 34rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  top: 46%;
  left: 35rem;
}

.service_menu .btn_wrap a {
  transition: .3s;
}

.service_menu .btn_wrap a:hover {
  opacity: .7;
}


/* ======================= service_extermination / service_prevention ======================= */
.service_extermination,
.service_prevention {
  position: relative;
  margin-top: -7rem;
}

.service_extermination .extermination_splide,
.service_prevention .prevention_splide {
  position: absolute;
}


.service_extermination .extermination_splide {
  top: 54.5%;
}

.service_prevention .prevention_splide {
  top: 47.5%;
}

.service_extermination .extermination_splide img,
.service_prevention .prevention_splide img {
  margin: auto;
}


/* ======================= splide style ======================= */
.splide__slide {
  position: relative;
}

.splide__slide img {
  width: 62rem;
}

.btn_voice {
  position: absolute;
  width: 20rem;
  bottom: 5%;
  right: 12%;
}

/* 次へボタン */
.splide__arrow {
  background: transparent;
  height: 7rem;
  width: 7rem;
}

.splide__arrow--prev {
  left: 0;
}

.splide__arrow--next {
  right: 0;
  transform: rotate(180deg);
  margin-top: -3.5rem;
}

/* 矢印共通のスタイル */
.button::before {
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  height: 2.8rem;
  width: 1.9rem;
}

.extermination_splide .button::before {
  content: "";
  background-image: url(../img/btn_next_r.png);
}

.service_prevention .button::before {
  content: "";
  background-image: url(../img/btn_next_b.png);
}

/* 次のスライドが無い場合の矢印 */
.button:disabled::before {
  background-color: #ccc;
}

/* ページネーション */
.splide__pagination {
  width: 62rem;
  margin: auto;
  bottom: -3.5rem;
  justify-content: end;
}

.splide__pagination__page {
  background: #505050;
  height: 1.1rem;
  margin: .5rem;
  width: 1.1rem;
  opacity: 1;
}

.extermination_splide .splide__pagination__page.is-active,
.service_prevention .splide__pagination__page.is-active {
  transform: scale(1);
}

.extermination_splide .splide__pagination__page.is-active {
  background: #d90000;
}

.service_prevention .splide__pagination__page.is-active {
  background: #036eb5;
}


/* ======================= appeal ======================= */
.appeal {
  position: relative;
  margin-top: -4rem;
  z-index: 1;
}


/* ======================= btn_cta ======================= */
.btn_cta {
  margin: 0 auto 13rem;
  width: 62rem;
}


/* ======================= footer ======================= */
footer {
  position: relative;
}

footer .btn_tel {
  position: absolute;
  width: 42.5rem;
  left: 0;
  right: 0;
  margin: auto;
  top: 38%;
}



/* ======================= followBtn ======================= */
#followBtn {
  position: fixed;
  bottom: 0;
  margin: auto;
  cursor: pointer;
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 10;
  width: 75rem;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0 3rem;
}

/* 消える時のスタイル */
#followBtn.hide {
  transform: translateY(100px);
  opacity: 0;
}

#followBtn a {
  display: block;
  width: 66rem;
  margin: auto;
}