/* WordPress integration and stable first paint. */

.js-cliptext__line,
.js-cliptext.visibled .js-cliptext__line {
  clip-path: none;
  opacity: 1;
  transition: none;
}

.section__ttl.js-cliptext .ja::before {
  opacity: 1;
}

.p-home-fv__shadow {
  opacity: 1;
}

.p-home-fv__images .img:first-child {
  filter: brightness(1);
  opacity: 1;
}

body.k-one-nav-open {
  overflow: hidden;
}

.p-service-section__slider .swiper-slide {
  display: none;
}

.p-service-section__slider .swiper-slide.active {
  display: block;
}

.p-service-section__slider .dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.k-one-slider-dot {
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: 1px solid #14913a;
  border-radius: 50%;
  background: transparent;
}

.k-one-slider-dot.active {
  background: #14913a;
}

.satoinu-list .satoinu-container + .satoinu-container {
  margin-top: 8rem;
  padding-top: 8rem;
  border-top: 1px solid #e0e0e0;
}

.satoinu-title {
  margin-bottom: 2rem;
  color: #14913a;
  font-size: 2.4rem;
  font-weight: 500;
}

.satoinu-status {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: .4rem 1.2rem;
  border-radius: 2rem;
  background: #14913a;
  color: #fff;
  font-weight: 500;
}

.satoinu-status--closed {
  background: #777;
}

.satoinu-more {
  margin-top: 2rem;
}

.satoinu-more a {
  color: #14913a;
  font-weight: 500;
}

.satoinu-gallery {
  position: relative;
  align-self: flex-start;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #f2f2f2;
  outline: none;
}

.satoinu-gallery:focus-visible {
  box-shadow: 0 0 0 4px rgba(20, 145, 58, .28);
}

.satoinu-gallery__slides {
  position: relative;
  aspect-ratio: 4 / 3;
}

.satoinu-gallery__slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  margin: 0;
  opacity: 0;
  transition: opacity .35s ease, visibility .35s ease;
}

.satoinu-gallery__slide.is-active {
  visibility: visible;
  opacity: 1;
}

.satoinu-container .satoinu-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.satoinu-gallery__arrow {
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0 0 .3rem;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 .3rem 1.2rem rgba(0, 0, 0, .18);
  color: #14913a;
  cursor: pointer;
  font-size: 3.2rem;
  line-height: 1;
}

.satoinu-gallery__arrow--prev {
  left: 1.5rem;
}

.satoinu-gallery__arrow--next {
  right: 1.5rem;
}

.satoinu-gallery__dots {
  display: flex;
  justify-content: center;
  position: absolute;
  right: 7rem;
  bottom: 1.7rem;
  left: 7rem;
  z-index: 2;
  gap: .8rem;
}

.satoinu-gallery__dot {
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(20, 145, 58, .4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .28);
  cursor: pointer;
}

.satoinu-gallery__dot.is-active {
  background: #14913a;
}

.satoinu-gallery__counter {
  position: absolute;
  right: 1.5rem;
  bottom: 1.2rem;
  z-index: 2;
  margin: 0;
  padding: .4rem .8rem;
  border-radius: 2rem;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  font-size: 1.2rem;
}

.p-news-detail__body + .p-news-detail__body {
  margin-top: 6rem;
  padding-top: 6rem;
  border-top: 1px solid #e0e0e0;
}

.dogrun-notice {
  background: #fff7e8;
  border: 3px solid #d35d35;
  border-radius: 12px;
  color: #301b14;
  margin: 3rem 0;
  padding: 2.4rem 2.8rem;
}

.dogrun-notice strong {
  color: #b23b22;
  display: block;
  font-size: clamp(2rem, 2.4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.dogrun-notice p {
  font-weight: 500;
  line-height: 1.9;
  margin: 0;
}

.company-map-full,
.company-map-full iframe {
  display: block;
  width: 100%;
}

.company-map-full iframe {
  height: clamp(45rem, 42vw, 70rem);
  border: 0;
}

@media (max-width: 767px) {
  .dogrun-notice {
    margin: 2.4rem 0;
    padding: 2rem;
  }

  .company-map-full iframe {
    height: 42rem;
  }

  .satoinu-gallery__arrow {
    width: 4rem;
    height: 4rem;
  }
}

.admin-bar .header {
  top: calc(2.5rem + 32px);
}

@media only screen and (max-width: 1023px) {
  .admin-bar .header__logo,
  .admin-bar .header__menu {
    top: calc(2rem + 46px);
  }

  .satoinu-list .satoinu-container + .satoinu-container {
    margin-top: 5rem;
    padding-top: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
