/* =============================================
   service-detail.css
   転職ガイドナビ - サービス個別詳細ページ専用
   ============================================= */

.sd-hero {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
}

.sd-hero__rank-badge {
  display: inline-block;
  background: #1a3557;
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}

.sd-hero__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.service-logo {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.service-logo--sm {
  width: 2.2rem;
  height: 2.2rem;
  font-size: 0.75rem;
  border-radius: 6px;
}

.sd-hero__name {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1a3557;
  margin: 0.2rem 0 0.3rem;
  line-height: 1.3;
}

.sd-hero__tagline {
  font-size: 0.85rem;
  color: #555;
  margin: 0 0 0.4rem;
}

.sd-score-num {
  font-size: 0.85rem;
  font-weight: bold;
  color: #333;
  margin-left: 0.3rem;
}

.sd-hero__cta {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.sd-cta-note {
  font-size: 0.72rem;
  color: #888;
  margin-top: 0.4rem;
}

.cta-btn-primary--large {
  font-size: 1rem;
  padding: 0.85rem 2.5rem;
}

.sd-body {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.sd-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.sd-card__title {
  font-size: 1.05rem;
  font-weight: bold;
  color: #1a3557;
  margin: 0 0 1rem;
  padding-left: 0.7rem;
  border-left: 4px solid #f97316;
  line-height: 1.4;
}

.sd-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.7rem;
}

.sd-info-item {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
}

.sd-info-item dt {
  font-size: 0.7rem;
  color: #888;
  margin-bottom: 0.25rem;
}

.sd-info-item dd {
  font-size: 0.88rem;
  font-weight: bold;
  color: #1a3557;
  margin: 0;
}

.sd-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sd-features li {
  background: #eff6ff;
  border-radius: 6px;
  padding: 0.6rem 0.8rem 0.6rem 1.8rem;
  font-size: 0.88rem;
  color: #1a3557;
  position: relative;
  line-height: 1.6;
}

.sd-features li::before {
  content: '✓';
  position: absolute;
  left: 0.6rem;
  color: #f97316;
  font-weight: bold;
}

.sd-detail-text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #444;
  margin: 0;
}

.sd-recommended {
  font-size: 0.88rem;
  background: #fafafa;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  margin: 0 0 0.8rem;
  line-height: 1.7;
}

.sd-merit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

@media (max-width: 560px) {
  .sd-merit-grid { grid-template-columns: 1fr; }
}

.sd-merit-box {
  border-radius: 8px;
  padding: 0.9rem;
}

.sd-merit-box__head {
  font-size: 0.82rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.sd-merit-box p {
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.8;
}

.sd-merit-box--good {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.sd-merit-box--good .sd-merit-box__head { color: #166534; }

.sd-merit-box--caution {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.sd-merit-box--caution .sd-merit-box__head { color: #92400e; }

.sd-cta-mid {
  text-align: center;
  padding: 1.2rem 0;
}

.sd-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sd-step {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.sd-step__num {
  flex-shrink: 0;
  background: #1a3557;
  color: #fff;
  font-size: 0.68rem;
  font-weight: bold;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-top: 0.3rem;
  white-space: nowrap;
}

.sd-step__body strong {
  display: block;
  font-size: 0.9rem;
  color: #1a3557;
  margin-bottom: 0.2rem;
}

.sd-step__body p {
  font-size: 0.82rem;
  color: #555;
  margin: 0;
  line-height: 1.7;
}

.sd-qa {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sd-qa__item {
  border-radius: 8px;
  overflow: hidden;
}

.sd-qa__item dt {
  background: #1a3557;
  color: #fff;
  font-size: 0.88rem;
  font-weight: bold;
  padding: 0.7rem 1rem;
  line-height: 1.6;
}

.sd-qa__item dd {
  background: #f0f4f8;
  font-size: 0.82rem;
  color: #444;
  padding: 0.75rem 1rem;
  margin: 0;
  line-height: 1.9;
}

.sd-cta-bottom {
  background: #1a3557;
  border-radius: 12px;
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 1rem;
}

.sd-cta-bottom > p:first-child {
  color: #fff;
  font-size: 1.05rem;
  font-weight: bold;
  margin: 0 0 1rem;
}

.sd-cta-bottom .sd-cta-note {
  color: #a8c4e0;
  margin-top: 0.5rem;
}

.sd-related {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sd-related__card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1rem;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.sd-related__card:hover {
  background: #eff6ff;
  border-color: #1a3557;
}

.sd-related__text {
  display: flex;
  flex-direction: column;
}

.sd-related__text strong {
  font-size: 0.88rem;
  color: #1a3557;
}

.sd-related__text span {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.1rem;
}

.sd-back-link {
  text-align: center;
  margin-top: 1.2rem;
}

.sd-back-link a {
  color: #1a3557;
  font-size: 0.85rem;
  text-decoration: none;
}

.sd-back-link a:hover { text-decoration: underline; }
