/* ========================================
   PROUD LAKE - service.css v5
   SERVICEページ固有スタイル
   ======================================== */

/* ========== SERVICE LIST ========== */
#service-list {
  background: var(--gray);
  position: relative;
  overflow: hidden;
}
#service-list::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,86,219,0.06), transparent 70%);
  pointer-events: none;
}
#service-list .container { max-width: 1100px; }

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: 0 2px 12px rgba(26,86,219,0.06), 0 1px 3px rgba(0,0,0,0.03);
  border: 1px solid rgba(26,86,219,0.08);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-card::before {
  content: attr(data-num);
  position: absolute;
  top: -6px; right: 18px;
  font-size: 96px;
  font-weight: 900;
  color: rgba(26,86,219,0.045);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  font-family: 'Noto Sans JP', sans-serif;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 52px rgba(26,86,219,0.15), 0 4px 16px rgba(26,86,219,0.08);
  border-color: rgba(26,86,219,0.18);
}
.service-card:hover::after { transform: scaleX(1); }

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.service-card-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.14em;
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 100px;
  position: relative;
  z-index: 1;
}
.service-card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-pale) 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(26,86,219,0.1);
}
.service-card:hover .service-card-icon {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 6px 20px rgba(26,86,219,0.18);
}

.service-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 12px;
}
.service-card-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
  flex: 1;
}
.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.service-card-tag {
  font-size: 11px;
  background: var(--blue-pale);
  color: var(--blue);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(26,86,219,0.12);
  transition: all 0.2s;
}
.service-card:hover .service-card-tag {
  background: var(--blue-light);
  border-color: rgba(26,86,219,0.25);
}

/* ========== WHO IS IT FOR ========== */
#service-for {
  background: linear-gradient(150deg, #0c1a3e 0%, #1341b0 55%, #1a56db 100%);
  position: relative;
  overflow: hidden;
}
#service-for::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 30%, rgba(59,130,246,0.2), transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(251,191,36,0.06), transparent 50%);
}
#service-for::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}
#service-for .container { position: relative; z-index: 1; }
#service-for .sec-label { color: var(--yellow); }
#service-for .sec-label::before { background: var(--yellow); }
#service-for .sec-heading { color: var(--white); }
#service-for .sec-body { color: rgba(255,255,255,0.65); }

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 20px 22px;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.check-item:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(251,191,36,0.5);
  transform: translateX(5px);
}
.check-icon {
  width: 28px; height: 28px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-text {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  font-weight: 500;
}

/* ========== FLOW ========== */
#service-flow { background: var(--white); }
.service-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.service-flow-connector {
  position: absolute;
  top: 40px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid));
  z-index: 0;
}
.service-flow-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.service-flow-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 26px;
  transition: all 0.3s;
  position: relative;
}
.service-flow-circle::before {
  content: attr(data-num);
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.service-flow-step:hover .service-flow-circle {
  background: var(--blue);
  transform: scale(1.08);
}
.service-flow-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-flow-desc { font-size: 13px; color: var(--text-mid); line-height: 1.8; }

/* ========== FAQ ========== */
#service-faq { background: var(--gray); }
.faq-list {
  max-width: 800px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(26,86,219,0.06);
  border: 1px solid rgba(26,86,219,0.07);
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(26,86,219,0.1); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  transition: background 0.2s;
  user-select: none;
}
.faq-question:hover { background: var(--blue-pale); }
.faq-question-text { flex: 1; }
.faq-question-q {
  display: inline-flex;
  width: 28px; height: 28px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}
.faq-toggle {
  width: 24px; height: 24px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--blue);
  transition: transform 0.3s;
  flex-shrink: 0;
  font-weight: 300;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 26px 20px;
  display: flex;
  gap: 14px;
}
.faq-answer-a {
  display: inline-flex;
  width: 28px; height: 28px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}
.faq-answer-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  flex: 1;
  padding-top: 4px;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ========== SERVICE CTA ========== */
#service-cta { background: var(--navy); text-align: center; position: relative; overflow: hidden; }
#service-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(26,86,219,0.25), transparent 70%);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .service-cards-grid { grid-template-columns: 1fr 1fr; }
  .checklist-grid { grid-template-columns: 1fr; }
  .service-flow-steps { grid-template-columns: 1fr 1fr; gap: 36px; }
  .service-flow-connector { display: none; }
}
@media (max-width: 600px) {
  .service-cards-grid { grid-template-columns: 1fr; }
  .service-flow-steps { grid-template-columns: 1fr; }
  .faq-question { font-size: 14px; padding: 16px 14px; }
  .service-card { padding: 24px 18px; }
  .check-item { padding: 14px 16px; gap: 12px; }
  .faq-answer-inner { padding: 0 14px 16px; gap: 10px; }
  .service-flow-step { padding: 0 8px; }
  .service-flow-circle { width: 64px; height: 64px; font-size: 22px; }
}
