@charset "UTF-8";
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 599px) {
  .pc {
    display: none !important;
  }
}

@media screen and (min-width: 600px) {
  .sp {
    display: none !important;
  }
}

#header,
#footer {
  background: #200b00 !important;
}

#global_menu > ul > li > a {
  color: #ffffff;
}

#drawer_menu_button span {
  background-color: #ffffff !important;
}

#global_menu ul.sub-menu a {
  color: inherit;
}

#footer,
#footer a {
  color: #ffffff;
}

#footer,
#footer a:hover {
  color: #e1860f;
}

#footer_address p {
  color: #ffffff;
}

/* Swiper 縦スクロール制御 */
.swiper {
  touch-action: pan-y;
}

.swiper.is-swiping-x {
  touch-action: none;
}

@media screen and (max-width: 599px) {
  .service-template-default #footer {
    padding-bottom: 80px;
  }
}

.service-template-default #container {
  height: 100dvh;
  height: 100svh;
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
}

.centering-box {
  position: absolute;
  max-width: 1100px;
  width: 100%;
  height: -moz-fit-content;
  height: fit-content;
  max-height: 90dvh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.centering-box img.sp {
  max-width: 90% !important;
}
@media screen and (max-width: 599px) {
  .centering-box {
    top: 44% !important;
  }
}

#section01 .centering-box img.sp {
  max-width: 100% !important;
}

.center-box {
  position: absolute;
  max-width: 1100px;
  width: 100%;
  height: -moz-fit-content;
  height: fit-content;
  max-height: 90dvh;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 599px) {
  .center-box {
    top: 60px;
  }
}

#cta-portal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -2px;
  z-index: 9999;
}

#cta-portal .sp-cta {
  position: static !important; /* 元のfixedを無効化 */
  width: 100%;
}

#cta-portal {
  pointer-events: none;
}

#cta-portal .sp-cta {
  pointer-events: auto;
}

#lp-form {
  width: 100%;
  max-width: 800px;
  text-align: left;
  margin: 0 auto;
}

.wpcf7 {
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

.wpcf7-submit {
  background: #df8627 !important;
  border: none !important;
  font-weight: bold !important;
  font-size: 20px !important;
  border-radius: 5px !important;
}

.service-template-default #bread_crumb,
#single_service_header {
  display: none;
}

#single_service_main_content {
  padding: 0px;
}

#section01,
#section02,
#section03,
#section04,
#section05,
#section06,
#section07,
#section08 {
  height: 100dvh;
  height: 100svh;
  height: 100vh;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  text-align: center;
}

#section-cta {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  text-align: center;
  height: 2000px;
}
@media screen and (max-width: 599px) {
  #section-cta {
    height: 1500px;
  }
}

.pcbg,
.spbg {
  position: absolute;
  width: auto !important;
  height: 100% !important;
  z-index: -1;
  top: 0px;
  left: 0px;
  -o-object-fit: cover;
     object-fit: cover;
}

.pc-cta {
  position: fixed;
  bottom: 20px;
  right: 30px;
  width: 146px;
  z-index: 10;
}
.pc-cta img {
  width: 100%;
}

.sp-cta {
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 10;
}
.sp-cta img {
  width: 100%;
}

/* Financing Support page sliders */
.fs-slider {
  position: relative;
  overflow: visible;
}

.fs-slider .swiper {
  width: 100%;
}

.fs-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-slider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Show only the appropriate device slider; assumes existing .pc / .sp utility classes */
.fs-slider.pc {
  display: block;
}

.fs-slider.sp {
  display: none;
}

#section04 .fs-slider.pc img {
  width: 800px;
}

#section07 .fs-slider.pc img {
  width: 800px;
}
#section07 .fs-slider.sp .swiper-slide {
  padding: 0 30px;
}

@media screen and (max-width: 599px) {
  .fs-slider.pc {
    display: none;
  }
  .fs-slider.sp {
    display: block;
  }
}
/* Navigation arrows: keep visible even if wrapper clips */
@media screen and (max-width: 599px) {
  #section04 .fs-slider .swiper-button-prev,
  #section04 .fs-slider .swiper-button-next {
    /*display: none !important;*/
  }
}

.fs-slider .swiper-button-prev,
.fs-slider .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #d82c09;
  color: #fff;
  z-index: 3;
}

@media screen and (max-width: 599px) {
  #section04 .fs-slider .swiper-button-prev,
  #section04 .fs-slider .swiper-button-next {
    top: 70% !important;
  }
}

.fs-slider .swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
  content: "＜";
}
@media screen and (max-width: 599px) {
  .fs-slider .swiper-button-prev::after {
    padding-left: 20px;
  }
}

.fs-slider .swiper-button-next::after {
  font-size: 16px;
  font-weight: bold;
  content: "＞";
}
@media screen and (max-width: 599px) {
  .fs-slider .swiper-button-next::after {
    padding-right: 20px;
  }
}

.fs-slider .swiper-button-prev {
  left: 60px;
}
@media screen and (max-width: 599px) {
  .fs-slider .swiper-button-prev {
    left: -30px;
  }
}

.fs-slider .swiper-button-next {
  right: 60px;
}
@media screen and (max-width: 599px) {
  .fs-slider .swiper-button-next {
    right: -30px;
  }
}

.swiper-button-disabled {
  display: none !important;
}

/* Ensure surrounding containers do not hide arrows */
#section04,
#section07 {
  overflow: visible;
}