/* トップページのサービス詳細・実績への導線 */
.home-service-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto;
}

.sec_service .service_list dd .home-service-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(50% - 6px);
  min-height: 55px;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 10px;
  border: 2px solid #ef7f42;
  color: #ef7f42;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: background-color .2s ease, color .2s ease;
}

.sec_service .service_list dd a::after {
  content: none !important;
  display: none !important;
}

/* 全社Instagramフィードのアカウント導線 */
.instagram_cont .sb_instagram_header {
  display: none !important;
}

.instagram_cont .sbi_follow_btn {
  display: none !important;
}

.home-instagram-accounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.home-instagram-accounts a {
  display: flex;
  min-height: 62px;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px 8px;
  border: 1px solid #ef7f42;
  color: #333;
  line-height: 1.35;
  text-align: center;
  transition: background-color .2s ease, color .2s ease;
}

.home-instagram-accounts a:hover,
.home-instagram-accounts a:focus-visible {
  background-color: #ef7f42;
  color: #fff;
}

.home-instagram-branch {
  color: #ef7f42;
  font-size: 14px;
  font-weight: 700;
}

.home-instagram-accounts a:hover .home-instagram-branch,
.home-instagram-accounts a:focus-visible .home-instagram-branch {
  color: #fff;
}

.home-instagram-handle {
  margin-top: 3px;
  font-size: 12px;
}

.sec_service .service_list dd .home-service-links a:hover,
.sec_service .service_list dd .home-service-links a:focus-visible {
  background-color: #ef7f42;
  color: #fff;
}

/* メインビジュアル直下の実績スライダー */
.sec_home_performance {
  overflow: hidden;
  padding: 60px 0 66px;
  background: #f7f7f7;
}

.home-performance-slider {
  position: relative;
  margin-top: 38px;
  padding: 0;
}

.home-performance-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.home-performance-track {
  display: flex;
  gap: 20px;
  will-change: transform;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}

.home-performance-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  background: #fff;
  border-top: 4px solid #ef7f42;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.home-performance-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #111;
  text-decoration: none;
}

.home-performance-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9e9e9;
}

.home-performance-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-performance-card > a:hover .home-performance-image img,
.home-performance-card > a:focus-visible .home-performance-image img {
  transform: scale(1.035);
}

.home-performance-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.home-performance-date {
  margin-bottom: 9px;
  color: #777;
  font-size: 13px;
  letter-spacing: .04em;
}

.home-performance-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.home-performance-more {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
  color: #ef7f42;
  font-size: 14px;
  font-weight: 700;
}

.home-performance-more::after {
  content: " 〉";
}

.home-performance-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid #ef7f42;
  border-radius: 50%;
  background: #fff;
  color: #ef7f42;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

.home-performance-arrow:hover,
.home-performance-arrow:focus-visible {
  background: #ef7f42;
  color: #fff;
}

.home-performance-prev {
  left: -56px;
}

.home-performance-next {
  right: -56px;
}

.home-performance-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  min-height: 10px;
  margin-top: 24px;
}

.home-performance-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
}

.home-performance-dot.is-active {
  background: #ef7f42;
}

.home-performance-all {
  margin-top: 30px;
  text-align: center;
}

.home-performance-all a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 54px;
  box-sizing: border-box;
  padding: 12px 24px;
  border: 2px solid #ef7f42;
  color: #ef7f42;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.home-performance-all a:hover,
.home-performance-all a:focus-visible {
  background: #ef7f42;
  color: #fff;
}

@media (max-width: 767px) {
  .home-service-links {
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }

  .sec_service .service_list dd .home-service-links a {
    margin: 0 auto !important;
    max-width: 300px;
    width: 100%;
  }

  .sec_service .service_list h3.home-support-title {
    padding-left: 0;
    padding-right: 0;
    font-size: clamp(20px, 6.4vw, 24px);
    letter-spacing: -0.04em;
    line-height: 1.35;
    white-space: nowrap;
  }

  .home-instagram-accounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
  }

  .sec_home_performance {
    padding: 48px 0 54px;
  }

  .home-performance-slider {
    margin-top: 28px;
    padding: 0;
  }

  .home-performance-track {
    gap: 14px;
  }

  .home-performance-card {
    flex-basis: 88%;
  }

  .home-performance-body {
    padding: 18px 18px 20px;
  }

  .home-performance-card h3 {
    font-size: 16px;
  }

  .home-performance-arrow {
    top: auto;
    bottom: -5px;
    width: 38px;
    height: 38px;
    transform: none;
  }

  .home-performance-prev {
    left: calc(50% - 90px);
  }

  .home-performance-next {
    right: calc(50% - 90px);
  }

  .home-performance-dots {
    margin-top: 28px;
    padding-bottom: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-performance-track,
  .home-performance-image img {
    transition: none;
  }
}
