/* ============================================================
   PAGE-WEB-DESIGN - Service Page Stylesheet
   ============================================================ */

/* ========== PAGE HERO ========== */
.page-hero {
  background: var(--navy);
  padding: 140px 24px 96px;
  text-align: center;
}

.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin: 16px 0 24px;
}

.page-hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, .7);
  line-height: 2;
}

/* ========== LEAD ========== */
.lead-block {
  max-width: 760px;
}

.lead-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 2.1;
}

.lead-text strong {
  color: var(--blue);
  font-weight: 700;
}

/* ========== SECTION TITLE with ghost number ========== */
.section-title[data-num] {
  position: relative;
}

.section-title[data-num]::before {
  content: attr(data-num);
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-55%);
  font-family: 'Montserrat', sans-serif;
  font-size: 5.5rem;
  font-weight: 800;
  color: rgba(30, 41, 82, .055);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.section-title[data-num].center::before {
  left: 50%;
  transform: translateX(-50%) translateY(-55%);
}

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1.5px solid var(--border);
  box-shadow: none;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.feature-card:hover {
  border-color: rgba(100, 149, 237, .55);
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(100, 149, 237, .12);
}

/* 左ボーダーバー削除 */
.feature-card::before { display: none; }

/* ゴースト数字 */
.feature-card::after {
  content: attr(data-num);
  position: absolute;
  right: 18px;
  bottom: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(100, 149, 237, .07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.feature-num {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--blue);
  background: rgba(100, 149, 237, .1);
  border: 1px solid rgba(100, 149, 237, .25);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 16px;
  width: fit-content;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

/* ========== FLOW（縦タイムライン） ========== */
.flow-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.flow-item {
  display: flex;
  flex-direction: row;
  gap: 28px;
  padding: 0 0 28px;
  position: relative;
  align-items: flex-start;
  background: transparent;
  border-right: none;
  width: 100%;
  box-sizing: border-box;
  transition: none;
}

.flow-item:hover { background: transparent; }

/* 接続線 */
.flow-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 46px;
  width: 2px;
  bottom: 4px;
  background: linear-gradient(to bottom, rgba(100, 149, 237, .35), rgba(100, 149, 237, .08));
}

/* 青丸ナンバー */
.flow-step {
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex-shrink: 0;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  border: none;
  padding: 0;
  box-shadow: 0 4px 12px rgba(100, 149, 237, .3);
}

.flow-step-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--blue);
  margin-bottom: 6px;
}

/* カード本体 */
.flow-body {
  flex: 1;
  min-width: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  transition: border-color .2s;
}

.flow-item:hover .flow-body {
  border-color: rgba(100, 149, 237, .4);
}

.flow-title {
  font-size: .97rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 8px;
  min-height: 0;
}

.flow-desc {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.85;
}

/* ========== PRICE ========== */
.price-table {
  max-width: 760px;
  margin: 0 auto 24px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  border-bottom: 1.5px solid var(--border);
  gap: 24px;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row:nth-child(even) {
  background: var(--bg-light);
}

.price-plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.price-plan-desc {
  font-size: .82rem;
  color: var(--text-light);
}

.price-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.price-note {
  text-align: center;
  font-size: .8rem;
  color: var(--text-light);
  line-height: 2;
}

/* ========== CURRENT NAV ========== */
.nav-pc .current {
  color: var(--blue);
  font-weight: 700;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .page-hero { padding: 120px 20px 72px; }
  .features-grid { grid-template-columns: 1fr; }
  .flow-item { gap: 18px; padding: 0 0 20px; }
  .flow-step { width: 36px; height: 36px; min-width: 36px; font-size: .6rem; }
  .flow-item:not(:last-child)::after { left: 17px; top: 38px; }
  .flow-body { padding: 16px 18px; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px 20px; }
  .price-amount { font-size: 1.1rem; }
  .price-table { margin: 0 0 24px; }
}
