/* 53-flow-value-faq.css */

/* Flow section: LINE / PHONE grid */
#flow .flow-grid {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
#flow .flow-card {
  background: var(--surface-card);
  border: 1px solid var(--brand-12);
  border-radius: 0.7rem;
  box-shadow: 0 10px 30px var(--brand-08);
  padding: 1.4rem 1.15rem;
}
#flow .flow-card-header {
  margin-bottom: 1.1rem;
}
#flow .flow-card-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: rgba(var(--brand-rgb), 0.58);
}
#flow .flow-card-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 4.8vw, 2rem);
  color: var(--brand-color);
  line-height: 1.25;
}
#flow .flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
#flow .flow-step {
  display: flex;
  align-items: flex-start;
  gap: 0.78rem;
}
#flow .flow-step-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1;
}
#flow .flow-step-badge-line {
  background: var(--line-green);
  color: #fff;
  font-size: 0.85rem;
}
#flow .flow-step-badge-main {
  background: var(--brand-color);
  color: #fff;
  font-size: 0.85rem;
}
#flow .flow-step-badge-sub {
  background: #fff;
  color: var(--brand-color);
  border: 1px solid var(--brand-28);
  font-size: 0.85rem;
}
#flow .flow-step-badge-meeting {
  background: var(--brand-10);
  color: var(--brand-color);
  font-size: 0.68rem;
}
#flow .flow-step-title {
  margin: 0 0 0.18rem;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--brand-color);
}
#flow .flow-step-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}
#flow .flow-note-wrap {
  margin-top: 1.35rem;
  text-align: center;
}
#flow .flow-note {
  display: inline-block;
  margin: 0;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--brand-20);
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-muted);
}
@media (min-width: 768px) {
  #flow .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.55rem;
  }
  #flow .flow-card {
    padding: 1.75rem 1.6rem;
  }
  #flow .flow-note-wrap {
    margin-top: 1.65rem;
  }
}
#value .value-section-label,
#value [class*="tracking-[0.3em]"] {
  color: var(--text-muted) !important;
}
#value .value-section-label {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 0.6875rem !important;
  letter-spacing: 0.35em !important;
  text-transform: uppercase;
}
#value h2 {
  color: var(--brand-color) !important;
}
#value .value-section-header {
  position: relative;
}
#value .value-item h3 {
  color: var(--brand-color) !important;
}
/* 見出し：強調箇所はそのまま、それ以外は少し小さく／2行目に余白 */
#value .value-heading-accent {
  font-weight: 700;
}
#value .value-heading-sub {
  font-size: 0.85em;
}
#value .value-heading-line2 {
  display: block;
  margin-top: 0.4em;
}
#value .value-item p,
#value .value-item ul,
#value .value-item li span:last-child {
  color: var(--text-secondary) !important;
}
#value .value-item [class*="uppercase"]:not(.value-section-label) {
  color: var(--accent-color) !important;
}
/* 01 / 02 / 03 の装飾数字の位置（テキストエリア右上） */
#value .value-item-number {
  top: -0.5rem;
  right: 0;
  color: var(--brand-15) !important;
}
/* 私たちの強み：画像から枠線と影を除去 */
#value .value-item .rounded-sm.shadow-lg {
  border: none !important;
  box-shadow: none !important;
}
#value .value-item-check {
  background-color: var(--brand-05) !important;
  color: var(--accent-color) !important;
}
#value .value-indicator-label span {
  color: var(--text-muted) !important;
}
#value .value-indicator-dot {
  background-color: var(--brand-25);
  box-shadow: 0 0 10px var(--brand-25);
}
#value .value-indicator-dot.scale-150 {
  background-color: var(--brand-color);
  box-shadow: 0 0 10px var(--brand-35);
}
@media (min-width: 768px) {
  #value .value-section-header {
    margin-left: -9rem;
    width: calc(100% + 9rem);
  }
}
#value .value-indicator-line {
  background-color: var(--brand-15);
}

/* OUR VALUE セクション：PCで01→02→03が切り替わる演出 */
.value-items-wrapper {
  position: relative;
}

/* PC：インジケーターを画像の左側で縦中央に揃え、画像の上でも見えるよう前面に */
@media (min-width: 768px) {
  .value-indicator-col {
    height: calc(8rem + 60vh);
    justify-content: flex-start;
    z-index: 10;
    position: relative;
  }
  .value-indicator-col::before {
    content: '';
    display: block;
    height: 8rem;
    flex-shrink: 0;
  }
  .value-indicator-list {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .value-indicator-line {
    top: calc(8rem + 30vh);
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 768px) {
  .value-items-wrapper {
    height: 60vh;
    min-height: 420px;
  }

  .value-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(2rem);
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .value-item-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 767px) {
  .value-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5rem;
  }

  .value-item {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  /* インジケーターのドットとラベルのアニメーション */
  .value-indicator-dot {
    transition: background-color 0.5s ease, transform 0.5s ease;
  }

  .value-indicator-label {
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
}

/* FAQ：カード（常時表示） */
#faq .faq-item {
  background: #fff;
  border: 1px solid var(--brand-08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(var(--brand-rgb), 0.06);
}
#faq .faq-question {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 0;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--brand-color);
  font-size: 1.0625rem;
  line-height: 1.55;
}
#faq .faq-q {
  color: var(--accent-color);
  font-family: var(--font-serif);
  font-style: italic;
  flex-shrink: 0;
}
#faq .faq-q-text {
  flex: 1;
}
#faq .faq-body {
  padding: 1rem 1.5rem 1.5rem 3.25rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #4a5568;
  border-top: 1px solid rgba(var(--brand-rgb), 0.06);
}
