/* ============================================================
   Sections
   ------------------------------------------------------------
   フロントページ専用（template-parts/section-*.php に対応）。
   他のページ/テンプレートでの再利用は想定しない。
   ============================================================ */

/* ============ First View (Hero) ============ */
.fv {
  position: relative;
  background: linear-gradient(to top, #ffffff 0%, #2faae9 82%, #0050bd 100%);
  padding: 40px 0 80px;
  overflow: hidden;
}

.fv-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 0 160px;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  min-height: 480px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 560px;
  padding-top: 30px;
  position: relative;
  z-index: 2;
}

.hero-heading {
  display: block;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.25;
}

.hero-desc {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--color-text);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 34px;
  margin-top: 40px;
}

.hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  min-width: 232px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  padding: 0 20px;
}

.hero-btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.hero-btn-accent {
  background: var(--color-accent);
  color: var(--color-text);
}

.hero-btn-icon,
.hero-btn-icon-end {
  width: 15px;
  height: 15px;
}

.hero-btn-callout {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 14px 14px;
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  flex: 1;
  min-width: 0;
  aspect-ratio: 852 / 571;
  z-index: 1;
}

.hv-blob {
  position: absolute;
  left: 0;
  top: 15.6%;
  width: 97.8%;
  height: 83.9%;
  opacity: 0.5;
  overflow: hidden;
}

.hv-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv-crop {
  position: absolute;
  overflow: hidden;
}

.hv-crop img {
  position: absolute;
  max-width: none;
}

.hv-crop .hv-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.hv-crop-1 { left: 5.4%; top: 54.3%; width: 37.1%; height: 42.7%; }
.hv-crop-2 { left: 16.2%; top: 62.3%; width: 39.3%; height: 39.2%; }
.hv-crop-3 { left: 56.7%; top: 61.3%; width: 39%; height: 38.7%; }
.hv-crop-4 { left: 61.9%; top: 59.7%; width: 36.9%; height: 37.3%; }
.hv-crop-5 { left: 37.3%; top: 2.8%; width: 35.8%; height: 94.4%; }

.hv-bubble {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 11.7%;
  aspect-ratio: 1;
  min-width: 92px;
  background: var(--color-white);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 6px;
}

.hv-bubble img {
  width: 64%;
}

.hv-bubble span {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.05;
}

.hv-bubble-1 { left: 23.9%; top: 8.9%; }
.hv-bubble-2 { left: 73.6%; top: 8.9%; }
.hv-bubble-3 { left: 23.9%; top: 47.6%; }
.hv-bubble-4 { left: 73.6%; top: 47.6%; }

/* ============ Giveup ============ */
.giveup {
  background: var(--color-secondary-bg);
  padding: 80px 40px;
}

.giveup .section-head {
  max-width: 900px;
}

.giveup .section-head h2 {
  font-size: 1.9rem;
}

.giveup-cards {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
}

.giveup-card {
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.giveup-illust {
  position: relative;
  width: 100%;
  aspect-ratio: 280 / 310;
  overflow: hidden;
  border-radius: 12px;
}

.giveup-illust img {
  position: absolute;
  max-width: none;
}

.giveup-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
}

/* ============ What is ============ */
.whatis {
  background: var(--color-white);
  padding: 80px 40px;
}

.whatis-heading {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.whatis-desc {
  font-weight: 500;
  font-size: 1rem;
  max-width: 700px;
}

.whatis-panel {
  background: var(--color-secondary-bg);
  border-radius: 8px;
  padding: 40px;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.whatis-panel h3 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.whatis-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
}

.whatis-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  width: auto;
}

.whatis-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
}

.whatis-avatar img {
  position: absolute;
  max-width: none;
}

.whatis-item p {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  white-space: nowrap;
}

/* ============ Features ============ */
.features {
  background: var(--color-secondary-bg);
  padding: 80px 40px;
}

.features-desc {
  font-weight: 500;
  font-size: 1rem;
}

.features-cards {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-primary);
  border-radius: 30px;
  padding: 32px 30px;
  width: 359px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.feature-num {
  align-self: flex-start;
  font-weight: 700;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-secondary-bg);
  letter-spacing: 0.05em;
}

.feature-icon-wrap {
  background: var(--color-secondary-bg);
  border-radius: 55px;
  width: 110px;
  height: 110px;
  margin-top: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-wrap img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.feature-icon-wrap-plain {
  background: none;
}

.feature-icon-wrap-plain img {
  width: 110px;
  height: 110px;
}

.feature-card h3 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.feature-divider {
  width: 63px;
}

.feature-card p {
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

/* ============ Customer voice ============ */
.voice {
  background: var(--color-white);
  padding: 80px 40px;
}

.voice-desc {
  font-weight: 500;
  font-size: 1rem;
}

.voice-cards {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.voice-card {
  position: relative;
  background: var(--color-secondary-bg);
  border: 1px solid #f1f5f9;
  border-radius: 9px;
  padding: 21px;
  width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.voice-quote-icon {
  position: absolute;
  right: 17px;
  top: 17px;
  width: 23px;
}

.voice-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.voice-card p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.4;
  min-height: 90px;
}

.voice-person {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #e2e8f0;
  padding-top: 17px;
  width: 100%;
}

.voice-person img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.voice-person strong {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
}

.voice-person span {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
}

/* ============ Pricing ============ */
.pricing {
  background: var(--color-navy);
  padding: 80px 40px;
}

.pricing .section-head h2 {
  font-size: 2.75rem;
}

.pricing-desc {
  color: var(--color-white);
  font-size: 1rem;
}

.pricing-cards {
  max-width: var(--container-width);
  margin: 45px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
}

.pricing-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 32px;
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.pricing-tagline {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  margin-top: -6px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: var(--color-text);
  margin-top: -8px;
}

.pricing-price .amount {
  font-size: 3.5rem;
  font-weight: 700;
}

.pricing-price .unit {
  font-size: 1.5rem;
}

.pricing-specs {
  display: flex;
  gap: 24px;
}

.pricing-specs li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pricing-specs strong {
  font-size: 1rem;
  line-height: 1.2;
}

.pricing-specs span {
  font-size: 0.85rem;
  line-height: 1.2;
}

.pricing-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  line-height: 1.3;
}

.pricing-checklist img {
  width: 15px;
  height: 15px;
}

.pricing-check-compound {
  position: relative;
  width: 15px;
  height: 15px;
  display: inline-block;
}

.pricing-check-compound img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pricing-checklist-muted li {
  color: #cbd5e1;
}

.pricing-card-highlight {
  background: var(--color-primary);
  border: 1px solid #3b82f6;
  color: var(--color-white);
}

.pricing-card-highlight h3,
.pricing-card-highlight .pricing-price {
  color: var(--color-white);
}

.pricing-card-highlight .pricing-tagline {
  color: #dbeafe;
}

.pricing-card-dark {
  background: var(--color-slate-dark);
  border: 1px solid #334155;
  color: var(--color-white);
}

.pricing-card-dark h3,
.pricing-card-dark .pricing-price {
  color: var(--color-white);
}

.pricing-card-dark .pricing-tagline {
  color: #94a3b8;
}

/* ============ Flow ============ */
.flow {
  background: var(--color-white);
  padding: 80px 40px;
}

.flow-desc {
  font-size: 1rem;
}

.flow-steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 178px;
}

.flow-num {
  align-self: flex-start;
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a8a;
}

.flow-icon {
  position: relative;
  overflow: hidden;
}

.flow-icon img {
  position: absolute;
  max-width: none;
}

.flow-icon-1 {
  width: 115px;
  height: 114px;
}

.flow-icon-2 {
  width: 139px;
  height: 108px;
}

.flow-icon-3 {
  width: 115px;
  height: 109px;
}

.flow-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.flow-step p {
  text-align: center;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.4;
}

/* ============ FAQ (section wrapper) ============ */
.faq {
  background: var(--color-secondary-bg);
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.faq h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
}

.faq-list {
  width: 100%;
  max-width: 670px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============ Final CTA ============ */
.final-cta {
  position: relative;
  padding: 60px 40px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  max-width: 600px;
}

.final-cta-image {
  display: none;
  width: 380px;
  max-width: 100%;
}

.final-cta-inner h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text);
}

.final-cta-inner p {
  font-size: 1rem;
  color: var(--color-text);
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--color-primary);
  border: 1px solid var(--color-white);
  border-radius: 999px;
  padding: 13px 30px;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.3rem;
  margin-top: 8px;
}

.cta-arrow {
  width: 30px;
}
