/* ============================================
   DEECORP Landing Pages - Common Stylesheet
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: #ffa200;
}

.text-white {
  color: #fff;
}

.bg-white {
  background: #fff;
}

.bg-light {
  background: #f7f8fa;
}

.bg-dark {
  background: #1a1a2e;
}

.bg-accent {
  background: #ffa200;
}

.bg-gradient {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
}

/* ---------- Typography ---------- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffa200;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.section-title--white {
  color: #fff;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  max-width: 720px;
  margin: 0 auto 48px;
  line-height: 1.8;
  text-align: left;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  height: 72px;
  display: flex;
  align-items: center;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  height: 32px;
  width: auto;
}

.header-logo span {
  font-size: 0.8rem;
  color: #999;
  border-left: 1px solid #ddd;
  padding-left: 12px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffa200;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 6px;
  transition: background 0.3s;
}

.header-cta:hover {
  background: #e69200;
}

/* ---------- Header Nav ---------- */
.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav-links a {
  font-size: 0.75rem;
  color: #555;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.header-nav-links a:hover {
  color: #ffa200;
  background: rgba(255, 162, 0, 0.06);
}

/* Hamburger (mobile) */
.header-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.header-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav overlay */
.header-mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 16px 24px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.header-mobile-nav.is-open {
  display: block;
}

.header-mobile-nav a {
  display: block;
  font-size: 0.875rem;
  color: #333;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.header-mobile-nav a:last-child {
  border-bottom: none;
}

.header-mobile-nav a:hover {
  color: #ffa200;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 48px;
  height: 48px;
  background: #1a1a2e;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #ffa200;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .header-nav-links {
    display: none;
  }

  .header-hamburger {
    display: flex;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 60%, #3a2d1e 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 162, 0, 0.08);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 162, 0, 0.05);
  pointer-events: none;
}

/* Hero geometric pattern overlays */
.hero-pattern {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-bpo .hero-pattern {
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 800px;
  height: 800px;
}

.hero-bsm .hero-pattern {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-purchaseone {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 60px),
    linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 60%, #3a2d1e 100%);
}

@media (min-width: 769px) {
  .hero-purchaseone .hero-title {
    max-width: 820px;
  }
}

.hero-sourcing {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 50px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 50px),
    linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 60%, #3a2d1e 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffa200;
  background: rgba(255, 162, 0, 0.12);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero-title .highlight {
  color: #ffa200;
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.9;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #ffa200;
  line-height: 1.2;
}

.hero-stat-number span {
  font-size: 1rem;
  font-weight: 400;
}

.hero-stat-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.btn-primary {
  background: #ffa200;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 162, 0, 0.3);
}

.btn-primary:hover {
  background: #e69200;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 162, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: #ffa200;
  color: #ffa200;
}

.btn-dark {
  background: #1a1a2e;
  color: #fff;
}

.btn-dark:hover {
  background: #2d2d4e;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
}

.section--lg {
  padding: 100px 0;
}

/* ---------- Pain Points / Problems ---------- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.problem-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.3s;
}

.problem-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.problem-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(255, 162, 0, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.problem-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
}

/* ---------- Features / Points ---------- */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 48px;
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-item:nth-child(even) {
  direction: rtl;
}

.feature-item:nth-child(even) > * {
  direction: ltr;
}

.feature-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 162, 0, 0.12);
  line-height: 1;
  margin-bottom: 12px;
}

.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.feature-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

.feature-visual {
  background: linear-gradient(135deg, #f7f8fa, #eef0f5);
  border-radius: 16px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* ---------- Feature Cards (Grid) ---------- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #eee;
  transition: all 0.3s;
  text-align: left;
}

.feature-card:hover {
  border-color: #ffa200;
  box-shadow: 0 8px 32px rgba(255, 162, 0, 0.1);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 162, 0, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
}

/* ---------- Steps / Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px 28px;
  text-align: center;
  border: 1px solid #eee;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ffa200;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
}

.step-arrow {
  display: none;
}

/* ---------- Results / Case Studies ---------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.result-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #eee;
}

.result-industry {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffa200;
  background: rgba(255, 162, 0, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.result-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 4px;
}

.result-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

.result-detail {
  font-size: 0.8rem;
  color: #888;
  margin-top: 12px;
  line-height: 1.6;
}

/* ---------- Stats Banner ---------- */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding: 48px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
  border-radius: 16px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffa200;
  line-height: 1.2;
}

.stat-number span {
  font-size: 1rem;
  font-weight: 400;
}

.stat-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ---------- CTA Band ---------- */
.cta-band {
  padding: 64px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
  text-align: center;
  color: #fff;
}

.cta-band h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

/* ---------- Application Form ---------- */
.form-section {
  padding: 80px 0 100px;
  background: #fff;
}

.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
}

.form-wrapper h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.form-wrapper .form-subtitle {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.form-group label .required {
  display: inline-block;
  font-size: 0.7rem;
  color: #fff;
  background: #e74c3c;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 700;
}

.form-group label .optional {
  display: inline-block;
  font-size: 0.7rem;
  color: #888;
  background: #eee;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #333;
  background: #fafafa;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffa200;
  box-shadow: 0 0 0 3px rgba(255, 162, 0, 0.1);
  background: #fff;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-privacy {
  text-align: center;
  margin: 24px 0 32px;
  font-size: 0.8rem;
  color: #888;
}

.form-privacy a {
  color: #ffa200;
  text-decoration: underline;
}

.form-submit {
  display: block;
  width: 100%;
  padding: 18px;
  background: #ffa200;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.3s, transform 0.3s;
}

.form-submit:hover {
  background: #e69200;
  transform: translateY(-1px);
}

/* ---------- Footer ---------- */
.footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.5);
  padding: 40px 0;
  text-align: center;
  font-size: 0.8rem;
}

.footer-logo {
  height: 24px;
  margin: 0 auto 16px;
  opacity: 0.7;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #fff;
}

/* ---------- Error Page ---------- */
.header-error .container {
  justify-content: center;
}

.header-error .header-logo {
  justify-content: center;
}

.error-page {
  position: relative;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 100px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 50px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 50px),
    linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 60%, #3a2d1e 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.error-page::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 162, 0, 0.08);
  pointer-events: none;
}

.error-page::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 162, 0, 0.05);
  pointer-events: none;
}

.error-page .container {
  position: relative;
  z-index: 1;
}

.error-code {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: #ffa200;
}

.error-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.5;
}

.error-description {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 40px;
  max-width: 560px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .error-code { font-size: 4.5rem; }
  .error-title { font-size: 1.25rem; }
  .error-page { padding: 120px 20px 80px; }
}

/* ---------- Solution List (BSM) ---------- */
.solution-list {
  margin-top: 48px;
}

.solution-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid #eee;
  align-items: start;
}

.solution-item:last-child {
  border-bottom: none;
}

.solution-number {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #ffa200, #ff8c00);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.solution-content p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
}

.solution-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffa200;
  background: rgba(255, 162, 0, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-right: 8px;
}

/* ---------- Checklist ---------- */
.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #333;
  border: 1px solid #eee;
}

.checklist-item::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background: rgba(255, 162, 0, 0.1);
  color: #ffa200;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 50%;
}

/* ===========================================
   FAQ
   =========================================== */
.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 24px 0;
}

.faq-item:first-child {
  border-top: 1px solid #eee;
}

.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  padding-left: 32px;
  position: relative;
  line-height: 1.6;
}

.faq-q::before {
  content: "Q.";
  position: absolute;
  left: 0;
  color: #ffa200;
  font-weight: 800;
}

.faq-a {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  margin-top: 10px;
  padding-left: 32px;
  position: relative;
}

.faq-a::before {
  content: "A.";
  position: absolute;
  left: 0;
  color: #1a1a2e;
  font-weight: 800;
}

/* ===========================================
   Comparison Table
   =========================================== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.compare-table thead th {
  background: #1a1a2e;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.compare-table thead th:first-child {
  border-radius: 8px 0 0 0;
}

.compare-table thead th:last-child {
  border-radius: 0 8px 0 0;
}

.compare-table tbody th {
  font-weight: 700;
  color: #1a1a2e;
  background: #f7f8fa;
  width: 240px;
}

.compare-table tbody td {
  color: #555;
  line-height: 1.7;
}

.compare-table .highlight-col {
  background: #fffbf0;
  border-left: 2px solid #ffa200;
}

/* ===========================================
   Sub CTA Links (intermediate CVs)
   =========================================== */
.sub-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.sub-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.sub-cta-link:hover {
  color: #ffa200;
  border-color: #ffa200;
}

/* hero variant for light bg sub links */
.sub-cta-links--dark .sub-cta-link {
  color: #666;
  border-color: #ccc;
}

.sub-cta-links--dark .sub-cta-link:hover {
  color: #ffa200;
  border-color: #ffa200;
}

/* ===========================================
   Challenge list (styled for sales LP)
   =========================================== */
.challenge-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.challenge-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  font-size: 0.95rem;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.7;
}

.challenge-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 10px;
  height: 10px;
  border: 2px solid #ffa200;
  border-radius: 50%;
}

.challenge-list-footer {
  max-width: 800px;
  margin: 24px auto 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  text-align: left;
  padding-left: 28px;
  border-left: 3px solid #ffa200;
}

/* ===========================================
   Value Props (3-column with border-left accent)
   =========================================== */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.value-prop {
  padding: 32px;
  padding-left: 28px;
  border-left: 3px solid #ffa200;
  background: #fff;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.value-prop h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.value-prop p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.8;
}

/* ===========================================
   Category tags (inline pill style)
   =========================================== */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  justify-content: center;
}

.category-tag {
  display: inline-block;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 100px;
  font-size: 0.85rem;
  color: #333;
  font-weight: 500;
}

/* note / disclaimer */
.note {
  font-size: 0.75rem;
  color: #999;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .compare-table {
    display: block;
    overflow-x: auto;
  }

  .value-props {
    grid-template-columns: 1fr;
  }

  .sub-cta-links {
    flex-direction: column;
  }
}

/* ===========================================
   TYPE A: 戦略訴求型 (Strategy-appeal)
   =========================================== */
.strategy-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
}

.strategy-pillar {
  padding: 40px 32px;
  background: #fff;
  text-align: center;
  border-right: 1px solid #eee;
  position: relative;
}

.strategy-pillar:last-child {
  border-right: none;
}

.strategy-pillar::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #ffa200;
  margin: 0 auto 20px;
}

.strategy-pillar h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.strategy-pillar p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
}

.market-context {
  background: #1a1a2e;
  border-radius: 16px;
  padding: 48px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  color: #fff;
}

.market-context h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffa200;
}

.market-context p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.roi-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.roi-card {
  background: linear-gradient(135deg, #fff8ec, #fff);
  border: 1px solid rgba(255, 162, 0, 0.2);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.roi-card .roi-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffa200;
  line-height: 1.1;
}

.roi-card .roi-value span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #888;
}

.roi-card .roi-label {
  font-size: 0.8rem;
  color: #666;
  margin-top: 8px;
}

/* ===========================================
   TYPE B: 課題訴求型 (Problem-appeal)
   =========================================== */
.problem-deep {
  margin-top: 48px;
}

.problem-deep-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid #eee;
  align-items: start;
}

.problem-deep-item:last-child {
  border-bottom: none;
}

.problem-deep-icon {
  width: 56px;
  height: 56px;
  background: #fff3e0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.problem-deep-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.problem-deep-item p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.8;
}

.transition-banner {
  text-align: center;
  padding: 56px 24px;
  background: linear-gradient(135deg, #ffa200, #ff8c00);
  color: #fff;
}

.transition-banner h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.transition-banner p {
  font-size: 1rem;
  opacity: 0.9;
}

.problem-solution-map {
  margin-top: 48px;
}

.ps-row {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.ps-problem,
.ps-solution {
  padding: 20px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.ps-problem {
  background: #fef3f3;
  border: 1px solid #fdd;
  color: #c0392b;
}

.ps-problem strong {
  display: block;
  margin-bottom: 4px;
  color: #a93226;
}

.ps-arrow {
  text-align: center;
  font-size: 1.4rem;
  color: #ffa200;
}

.ps-solution {
  background: #eafaf1;
  border: 1px solid #b5e8c3;
  color: #1e7e34;
}

.ps-solution strong {
  display: block;
  margin-bottom: 4px;
  color: #196f3d;
}

/* ===========================================
   TYPE C: 事例訴求型 (Case-study-appeal)
   =========================================== */
.case-study {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eee;
  overflow: hidden;
  margin-bottom: 40px;
}

.case-study-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: #f7f8fa;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
  gap: 12px;
}

.case-study-company {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
}

.case-study-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 162, 0, 0.1);
  color: #ffa200;
}

.case-study-body {
  padding: 32px;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.case-metric {
  text-align: center;
  padding: 20px 12px;
  background: #f7f8fa;
  border-radius: 10px;
}

.case-metric .metric-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffa200;
  line-height: 1.1;
}

.case-metric .metric-value span {
  font-size: 0.85rem;
  font-weight: 400;
  color: #888;
}

.case-metric .metric-label {
  font-size: 0.75rem;
  color: #888;
  margin-top: 4px;
}

.case-before-after {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}

.case-before,
.case-after {
  padding: 20px;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.7;
}

.case-before {
  background: #fafafa;
  border: 1px solid #eee;
}

.case-after {
  background: #f0faf4;
  border: 1px solid #c8e6c9;
}

.case-before h4,
.case-after h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.case-before h4 {
  color: #999;
}

.case-after h4 {
  color: #27ae60;
}

.case-ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ffa200;
  padding-top: 24px;
}

.case-study-quote {
  padding: 20px 24px;
  background: #fffbf0;
  border-left: 3px solid #ffa200;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
  line-height: 1.8;
}

.case-study-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: #999;
  margin-top: 8px;
}

.testimonial-strip {
  padding: 64px 0;
  background: #1a1a2e;
  color: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 28px;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 16px;
}

.testimonial-card cite {
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===========================================
   TYPE D: 製品特化型 (Product-focused)
   =========================================== */
.product-showcase {
  background: #f7f8fa;
  border-radius: 16px;
  padding: 48px;
  margin-top: 48px;
  text-align: center;
}

.product-showcase-mockup {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
}

.mockup-toolbar {
  background: #f0f0f0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #ddd;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
}

.mockup-dot:nth-child(1) { background: #ff5f56; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #27c93f; }

.mockup-body {
  padding: 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #999;
  font-size: 0.9rem;
}

.mockup-body .mockup-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
}

.product-feature-deep {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
}

.pf-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pf-content .pf-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffa200;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.pf-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.pf-content p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.pf-points {
  list-style: none;
  padding: 0;
}

.pf-points li {
  font-size: 0.85rem;
  color: #555;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.pf-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  background: #ffa200;
  border-radius: 50%;
}

.pf-visual {
  background: linear-gradient(135deg, #f7f8fa, #eef0f5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.pf-visual svg {
  width: 120px;
  height: 120px;
}

.product-feature-deep:nth-child(even) .pf-content {
  order: 2;
}

.product-feature-deep:nth-child(even) .pf-visual {
  order: 1;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  font-size: 0.9rem;
}

.spec-table th,
.spec-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.spec-table th {
  width: 200px;
  font-weight: 700;
  color: #1a1a2e;
  background: #f7f8fa;
  vertical-align: top;
}

.spec-table td {
  color: #555;
  line-height: 1.7;
}

.product-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.product-flow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #eee;
  z-index: 0;
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow-step-dot {
  width: 48px;
  height: 48px;
  background: #ffa200;
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 12px;
}

.flow-step h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.flow-step p {
  font-size: 0.75rem;
  color: #888;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero {
    padding: 120px 0 64px;
  }

  .hero-bpo .hero-pattern {
    width: 500px;
    height: 500px;
    right: -150px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-item:nth-child(even) {
    direction: ltr;
  }

  .feature-visual {
    height: 200px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .stats-banner {
    padding: 32px 24px;
  }

  .form-wrapper {
    padding: 32px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .solution-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .header-logo span {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .strategy-pillars {
    grid-template-columns: 1fr;
  }

  .strategy-pillar {
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .strategy-pillar:last-child {
    border-bottom: none;
  }

  .market-context {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .ps-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ps-arrow {
    transform: rotate(90deg);
  }

  .case-before-after {
    grid-template-columns: 1fr;
  }

  .case-ba-arrow {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .product-feature-deep {
    grid-template-columns: 1fr;
  }

  .product-feature-deep:nth-child(even) .pf-content {
    order: 1;
  }

  .product-feature-deep:nth-child(even) .pf-visual {
    order: 2;
  }

  .pf-content {
    padding: 32px 24px;
  }

  .pf-visual {
    min-height: 200px;
  }

  .spec-table th {
    width: 120px;
  }

  .product-flow {
    flex-direction: column;
    gap: 20px;
  }

  .product-flow::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 100%;
  }

  .product-showcase {
    padding: 32px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 16px;
  }
}
