/* WOOVE - service.css */

/* ===== HERO ===== */
.service-hero {
  padding: 160px 60px 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: var(--brand-pale);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.service-hero-inner {
  position: relative; z-index: 1; max-width: 680px;
}
.hero-label {
  font-size: 10px; letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeUp 0.9s 0.2s forwards;
}
.hero-label::before { content: ''; width: 36px; height: 2px; background: var(--brand); }
.hero-title {
  font-weight: 700; font-size: clamp(32px, 4vw, 52px);
  line-height: 1.35; margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.9s 0.4s forwards;
}
.hero-title em { font-style: normal; color: var(--brand); }
.hero-sub {
  font-size: 14px; line-height: 2.2; color: var(--ink-light);
  opacity: 0; animation: fadeUp 0.9s 0.6s forwards;
}

/* ===== SERVICE NAV（ページ内アンカー）===== */
.service-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0; /* JSのupdateNavTop()で動的に上書き */
  z-index: 40;
  transition: top 0.4s;
}
.service-nav-inner {
  display: flex; align-items: center;
  padding: 0 60px;
  overflow-x: auto;
  scrollbar-width: none;
}
.service-nav-inner::-webkit-scrollbar { display: none; }
.service-nav-link {
  font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-light); text-decoration: none;
  padding: 5px 24px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.25s;
  display: block;
}
.service-nav-link:hover { color: var(--brand); }
.service-nav-link.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* ===== SECTION COMMON ===== */
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--brand); }
.section-lead {
  font-size: 14px; line-height: 2.2; color: var(--ink-light);
  max-width: 640px; margin-bottom: 56px;
}

/* ===== SERVICE BLOCK ===== */
.service-block {
  padding: 100px 60px;
  scroll-margin-top: 140px;
}
.service-block:nth-child(even) { background: var(--bg-soft); }
.service-block:nth-child(odd)  { background: var(--bg); }

.service-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* 左：テキスト */
.service-block-text { }

.service-tag {
  display: inline-block;
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--brand); font-weight: 500;
  border: 1px solid var(--brand-mid);
  background: var(--brand-pale);
  padding: 4px 14px; margin-bottom: 20px;
}

.service-block-title {
  font-weight: 700; font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.45; margin-bottom: 20px; color: var(--ink);
}

.service-block-desc {
  font-size: 14px; line-height: 2.3; color: var(--ink-light);
  margin-bottom: 32px;
}

/* 対応メニューリスト */
.service-menu {
  list-style: none; margin-bottom: 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.service-menu li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 13px; line-height: 1.8; color: var(--ink-mid);
}
.service-menu li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); margin-top: 7px; flex-shrink: 0;
}

/* ツールバッジ */
.service-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-badge {
  font-size: 10px; padding: 4px 12px;
  background: var(--brand-pale); color: var(--brand-dark);
  border: 1px solid var(--brand-mid); letter-spacing: 0.05em;
}

/* 右：料金カード */
.service-price-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 40px;
  position: sticky;
  top: 170px;
  box-shadow: 0 4px 24px rgba(17,168,184,0.07);
}
.service-block:nth-child(even) .service-price-card {
  background: var(--white);
}

.price-card-label {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--brand); font-weight: 500; margin-bottom: 24px;
}

.price-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.price-item:last-of-type { border-bottom: none; }

.price-item-name {
  font-size: 13px; font-weight: 500; color: var(--ink);
  margin-bottom: 6px;
}
.price-item-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; color: var(--brand); letter-spacing: 0.05em;
  line-height: 1;
}
.price-item-amount span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px; color: var(--ink-light); font-weight: 300;
  letter-spacing: 0.05em; margin-left: 4px;
}
.price-item-note {
  font-size: 11px; color: var(--ink-light); line-height: 1.8; margin-top: 6px;
}

.price-note {
  margin-top: 24px;
  font-size: 11px; color: var(--ink-light); line-height: 1.9;
  padding: 16px; background: var(--bg-soft);
  border-left: 3px solid var(--brand-mid);
}

.price-cta {
  display: block; text-align: center; margin-top: 24px;
  padding: 14px; background: var(--brand); color: var(--white);
  font-size: 12px; letter-spacing: 0.15em; font-weight: 500;
  text-decoration: none; transition: all 0.25s;
}
.price-cta:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(17,168,184,0.25); }

/* ===== FLOW SECTION ===== */
.flow-section {
  padding: 100px 60px;
  background: var(--white);
}

.flow-timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 8px 0;
}
.flow-timeline::before {
  content: '';
  position: absolute;
  left: 27px; top: 0; bottom: 0;
  width: 2px; background: var(--border); z-index: 0;
}
.flow-progress-line {
  position: absolute;
  left: 27px; top: 0;
  width: 2px; height: 0%;
  background: linear-gradient(to bottom, var(--brand), var(--brand-dark));
  z-index: 1; transition: height 0.05s linear;
}
.flow-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px; align-items: start;
  padding-bottom: 52px; position: relative; z-index: 2;
}
.flow-item:last-child { padding-bottom: 0; }
.flow-node {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 20px;
  color: var(--ink-light); flex-shrink: 0;
  transition: all 0.4s ease; position: relative; z-index: 2;
}
.flow-item.active .flow-node {
  background: var(--brand); border-color: var(--brand);
  color: var(--white); box-shadow: 0 0 0 6px var(--brand-pale);
}
.flow-item-
.flow-item-title {
  font-size: 16px; font-weight: 700;
  color: var(--ink-light); margin-bottom: 8px; transition: color 0.4s;
}
.flow-item.active .flow-item-title { color: var(--ink); }
.flow-item-text {
  font-size: 13px; line-height: 2; color: var(--ink-light);
  opacity: 0.6; transition: opacity 0.4s;
}
.flow-item.active .flow-item-text { opacity: 1; }

/* ===== CTA ===== */
.cta-label::before, .cta-label::after { content: ''; width: 28px; height: 2px; background: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(17,168,184,0.28); }
.btn-outline-brand:hover { background: var(--brand); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(17,168,184,0.28); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav, nav.scrolled { padding: 16px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .service-hero { padding: 120px 24px 60px; }
  .service-hero::before { display: none; }
  .service-nav-inner { padding: 0 24px; }
  .service-nav { top: 0; }
  .service-block { padding: 72px 24px; }
  .service-block-inner { grid-template-columns: 1fr; gap: 48px; }
  .service-price-card { position: static; }
  .flow-section { padding: 72px 24px; }
  .cta-section { padding: 72px 24px; }
  footer { grid-template-columns: 1fr; padding: 40px 24px; }
  .footer-right { text-align: left; }
}
@media (max-width: 599px) {
  .service-block-title { font-size: 22px; }
  .price-item-amount { font-size: 22px; }
  .flow-item { grid-template-columns: 48px 1fr; gap: 20px; }
  .flow-node { width: 48px; height: 48px; font-size: 17px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  footer { padding: 36px 20px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ===== ひらがな・句読点 縮小 ===== */
/* ===== FLOW タイトル中央寄せ ===== */
.flow-section .section-label,
.flow-section .section-title,
.flow-section .section-lead {
  text-align: center;
}
.flow-section .section-label { justify-content: center; }
