/* ===== サービス詳細ページ 共通スタイル ===== */

/* ページヒーロー */
.page-hero {
  margin-top: 70px;
  position: relative;
  background: #fff;
  overflow: hidden;
}

.page-hero__color-bar {
  height: 240px;
  background: linear-gradient(135deg, #1a2744 0%, #1a3f8f 60%, #4da6e8 100%);
  position: relative;
  overflow: hidden;
}

.page-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 60, 0.6);
}

.page-hero__deco-tr {
  position: absolute;
  top: -10px;
  right: -10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0.35;
  z-index: 1;
}

.page-hero__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4da6e8;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.page-hero__ja {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1a2744;
  line-height: 1;
}

.page-hero__title-area {
  background: #fff;
  padding: 28px 0 20px;
}

.page-hero__title-area .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.78rem;
  color: #aaa;
  padding-bottom: 4px;
  flex-wrap: wrap;
}

.breadcrumb a { color: #aaa; transition: color 0.3s; }
.breadcrumb a:hover { color: #1a3f8f; }
.breadcrumb__sep { color: #ddd; }

.accent-line {
  height: 4px;
  background: linear-gradient(90deg, #1a3f8f 0%, #4da6e8 100%);
}

/* ===== サービス詳細本文 ===== */
.service-detail {
  padding: 72px 0 80px;
  background: #f8faff;
}

/* リード文 */
.service-lead {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.service-lead p {
  font-size: 1rem;
  line-height: 2.1;
  color: #444;
}

/* 特長グリッド */
.service-features {
  margin-bottom: 64px;
}

.service-features__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a2744;
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 0.05em;
}

.service-features__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #1a3f8f, #4da6e8);
  margin: 10px auto 0;
  border-radius: 2px;
}

.service-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(26, 63, 143, 0.06);
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(26, 63, 143, 0.12);
  transform: translateY(-4px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1a3f8f, #4da6e8);
  border-radius: 8px 8px 0 0;
}

.feature-card__icon {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #1a3f8f;
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 12px;
}

.feature-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 10px;
  line-height: 1.5;
}

.feature-card__text {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.9;
}

/* インフォグリッド */
.service-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.service-info-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px 24px 22px;
  border-left: 4px solid #4da6e8;
  box-shadow: 0 2px 12px rgba(26, 63, 143, 0.05);
}

.service-info-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a3f8f;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.service-info-card p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.9;
}

/* CTA */
.service-cta {
  background: linear-gradient(135deg, #1a2744 0%, #1a3f8f 60%, #4da6e8 100%);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.service-cta::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.service-cta__text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
}

.service-cta__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.service-cta__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1a3f8f;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.2s;
}

.service-cta__tel:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.service-cta__contact {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.service-cta__contact:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* 他サービス */
.other-services__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a2744;
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 0.1em;
}

.other-services__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #1a3f8f, #4da6e8);
  margin: 10px auto 0;
  border-radius: 2px;
}

.other-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.other-service-item {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
}

.other-service-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.other-service-item:hover img {
  transform: scale(1.06);
}

.other-service-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,28,60,0.75) 0%, transparent 60%);
  transition: background 0.3s;
}

.other-service-item:hover::after {
  background: linear-gradient(to top, rgba(15,28,60,0.85) 0%, rgba(15,28,60,0.2) 100%);
}

.other-service-item__num {
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  z-index: 1;
}

.other-service-item__name {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  z-index: 1;
  line-height: 1.4;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .service-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero__color-bar { height: 180px; }
  .page-hero__ja { font-size: 1.4rem; }
  .page-hero__title-area .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .service-detail { padding: 52px 0 60px; }

  .service-features__grid {
    grid-template-columns: 1fr;
  }

  .service-info-grid {
    grid-template-columns: 1fr;
  }

  .other-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cta {
    padding: 36px 24px;
  }

  .service-cta__btns {
    flex-direction: column;
    gap: 12px;
  }

  .service-cta__tel,
  .service-cta__contact {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .other-services__grid {
    grid-template-columns: 1fr 1fr;
  }
}
