/* ================================================================
   OKINAWA LIFE Design — Free Consultation (Diagnostic LP)
   Loaded only when the page-free-consultation.php template is active.

   Layout: 7 blocks, alternating white / #f5f6f7 backgrounds.
     1 Hero       (white)
     2 About      (#f5f6f7)
     3 Diag       (white)
     4 Result     (#f5f6f7)  initially hidden
     5 Form       (white)    initially hidden, expanded by メールで相談
     6 FAQ        (#f5f6f7)
     7 Trust      (white)
================================================================ */

body.page-template-page-free-consultation {
  background: #ffffff;
  color: #0a2a35;
  margin: 0;
  overflow-x: hidden;
}
body.page-template-page-free-consultation *,
body.page-template-page-free-consultation *::before,
body.page-template-page-free-consultation *::after {
  box-sizing: border-box;
}

.fc-page h1,
.fc-page h2,
.fc-page h3,
.fc-page h4,
.fc-page p,
.fc-page ul,
.fc-page ol { margin: 0; }
.fc-page ul,
.fc-page ol { padding: 0; list-style: none; }

/* Reusable fade-in (controlled by JS via class toggle) */
.fc-fade-in {
  animation: fcFadeIn 0.32s ease both;
}
@keyframes fcFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Common eyebrow + title pattern */
.fc-about__header,
.fc-result__header,
.fc-form-section__header,
.fc-faq__header {
  text-align: center;
  margin-bottom: 48px;
}
.fc-about__eyebrow,
.fc-result__eyebrow,
.fc-form-section__eyebrow,
.fc-faq__eyebrow {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00a878;
  font-weight: 600;
  margin-bottom: 14px;
}
.fc-about__title,
.fc-result__title,
.fc-form-section__title,
.fc-faq__title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.45;
  color: #0a2a35;
  overflow-wrap: anywhere;
}
.fc-form-section__lead {
  font-size: 14.5px;
  line-height: 2;
  color: #4a6875;
  margin-top: 14px;
  overflow-wrap: anywhere;
}

/* ================================================================
   Block 1 — Hero
================================================================ */
.fc-hero {
  background: #ffffff;
  padding: calc(var(--site-header-height, 72px) + 88px) 24px 96px;
  text-align: center;
}
.fc-hero__inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.fc-hero__title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.5;
  color: #0a2a35;
  overflow-wrap: anywhere;
}
.fc-hero__sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 15.5px;
  line-height: 2;
  color: #4a6875;
  overflow-wrap: anywhere;
}
.fc-hero__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  background: #00a878;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 32px -10px rgba(0, 168, 120, 0.50);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.fc-hero__cta:hover {
  background: #009769;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(0, 168, 120, 0.60);
}

/* ================================================================
   Block 2 — About
================================================================ */
.fc-about {
  background: #f5f6f7;
  padding: 80px 24px;
}
.fc-about__inner {
  max-width: 820px;
  margin: 0 auto;
}
.fc-about__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.fc-about__meta-item {
  background: #ffffff;
  border: 1px solid rgba(10, 42, 53, 0.08);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fc-about__meta-num {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: #00a878;
  letter-spacing: 0.02em;
}
.fc-about__meta-label {
  font-size: 13.5px;
  color: #4a6875;
  line-height: 1.7;
}
.fc-about__result {
  background: #ffffff;
  border: 1px solid rgba(10, 42, 53, 0.08);
  border-radius: 14px;
  padding: 28px 28px 24px;
}
.fc-about__result-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 16px;
  color: #0a2a35;
  margin-bottom: 14px;
}
.fc-about__result-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.fc-about__result-list li {
  position: relative;
  padding: 10px 14px 10px 36px;
  background: rgba(0, 168, 120, 0.06);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #0a2a35;
  overflow-wrap: anywhere;
}
.fc-about__result-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00a878;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4 4 10-10'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ================================================================
   Block 3 — Diag
================================================================ */
.fc-diag {
  background: #ffffff;
  padding: 96px 24px;
}
.fc-diag__inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Progress bar */
.fc-diag__progress {
  position: relative;
  margin-bottom: 56px;
}
.fc-diag__progress-track {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 2px;
  background: rgba(10, 42, 53, 0.10);
  transform: translateY(-50%);
  border-radius: 2px;
  overflow: hidden;
}
.fc-diag__progress-fill {
  height: 100%;
  width: 0%;
  background: #00a878;
  transition: width 0.4s ease;
}
.fc-diag__progress-dots {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
}
.fc-diag__progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(10, 42, 53, 0.16);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(10, 42, 53, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.fc-diag__progress-dot.is-active {
  border-color: #00a878;
  background: #00a878;
  color: #ffffff;
}
.fc-diag__progress-dot.is-done {
  border-color: #00a878;
  background: #00a878;
  color: #ffffff;
}

/* Step (only the active one is shown) */
.fc-diag__step {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fc-diag__qnum {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #00a878;
  text-transform: uppercase;
}
.fc-diag__q {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: clamp(20px, 2.8vw, 28px);
  line-height: 1.55;
  color: #0a2a35;
  overflow-wrap: anywhere;
}

.fc-diag__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.fc-diag__option {
  position: relative;
  display: block;
  cursor: pointer;
}
.fc-diag__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fc-diag__option-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 24px 18px 56px;
  background: #ffffff;
  border: 1.5px solid rgba(10, 42, 53, 0.12);
  border-radius: 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.fc-diag__option-body::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(10, 42, 53, 0.20);
  background: #ffffff;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.fc-diag__option-body::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translate(0, -50%) scale(0);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s ease;
}
.fc-diag__option:hover .fc-diag__option-body {
  border-color: rgba(0, 168, 120, 0.45);
}
.fc-diag__option input:checked ~ .fc-diag__option-body {
  border-color: #00a878;
  background: rgba(0, 168, 120, 0.05);
  box-shadow: 0 8px 24px -12px rgba(0, 168, 120, 0.30);
}
.fc-diag__option input:checked ~ .fc-diag__option-body::before {
  border-color: #00a878;
  background: #00a878;
}
.fc-diag__option input:checked ~ .fc-diag__option-body::after {
  transform: translate(0, -50%) scale(1);
}
.fc-diag__option input:focus-visible ~ .fc-diag__option-body {
  outline: 3px solid rgba(0, 168, 120, 0.30);
  outline-offset: 2px;
}
.fc-diag__option-label {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 500;
  color: #0a2a35;
  line-height: 1.55;
}
.fc-diag__option-sub {
  font-size: 13px;
  color: #4a6875;
  line-height: 1.6;
}

/* Step navigation buttons */
.fc-diag__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.fc-diag__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  border: 1.5px solid transparent;
}
.fc-diag__btn--ghost {
  background: transparent;
  color: #4a6875;
  border-color: rgba(10, 42, 53, 0.16);
}
.fc-diag__btn--ghost:hover:not(:disabled) {
  border-color: rgba(10, 42, 53, 0.32);
  color: #0a2a35;
}
.fc-diag__btn--primary {
  background: #00a878;
  color: #ffffff;
  border-color: #00a878;
  box-shadow: 0 12px 28px -10px rgba(0, 168, 120, 0.45);
}
.fc-diag__btn--primary:hover:not(:disabled) {
  background: #009769;
  border-color: #009769;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(0, 168, 120, 0.55);
}
.fc-diag__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

/* ================================================================
   Block 4 — Result (5 plans, only matched is visible)
================================================================ */
.fc-result {
  background: #f5f6f7;
  padding: 96px 24px;
}
.fc-result__inner {
  max-width: 760px;
  margin: 0 auto;
}

.fc-plan {
  background: #ffffff;
  border: 1px solid rgba(10, 42, 53, 0.08);
  border-radius: 18px;
  padding: 40px 36px;
  box-shadow: 0 12px 40px -16px rgba(10, 42, 53, 0.18);
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}
.fc-plan__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.fc-plan__tag {
  align-self: center;
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: rgba(0, 168, 120, 0.10);
  color: #00a878;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  border-radius: 999px;
  text-transform: uppercase;
}
.fc-plan__name {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: clamp(22px, 3.0vw, 30px);
  line-height: 1.5;
  color: #0a2a35;
  overflow-wrap: anywhere;
}
.fc-plan__sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  line-height: 1.95;
  color: #4a6875;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.fc-plan__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.fc-plan__meta-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.fc-plan__meta-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #4a6875;
  text-transform: uppercase;
}
.fc-plan__meta-val {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 22px);
  color: #0a2a35;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.fc-plan__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fc-plan__h {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 14.5px;
  color: #0a2a35;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(10, 42, 53, 0.08);
}
.fc-plan__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fc-plan__list li {
  position: relative;
  padding: 0 0 0 30px;
  font-size: 14px;
  line-height: 1.85;
  color: #0a2a35;
  overflow-wrap: anywhere;
}
.fc-plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00a878;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4 4 10-10'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.fc-plan__desc {
  font-size: 14px;
  line-height: 2;
  color: #4a6875;
  overflow-wrap: anywhere;
}

/* Plan B — case study link */
.fc-plan__case {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: #f8f9fa;
  border: 1px solid rgba(0, 168, 120, 0.20);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.fc-plan__case:hover {
  background: rgba(0, 168, 120, 0.06);
  border-color: rgba(0, 168, 120, 0.45);
  transform: translateY(-2px);
}
.fc-plan__case-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #00a878;
  text-transform: uppercase;
}
.fc-plan__case-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 14.5px;
  font-weight: 500;
  color: #0a2a35;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.fc-plan__case-arrow {
  color: #00a878;
  font-size: 18px;
  font-weight: 600;
}

/* Plan E — slight visual distinction */
.fc-plan--hearing .fc-plan__tag {
  background: rgba(255, 112, 67, 0.12);
  color: #d65a3a;
}

/* Result CTA */
.fc-result__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.fc-result__cta-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  line-height: 1.85;
  color: #0a2a35;
  text-align: center;
}
.fc-result__cta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.fc-cta-btn {
  position: relative;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Noto Serif JP', serif;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}
.fc-cta-btn__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}
.fc-cta-btn__label { white-space: nowrap; }

.fc-cta-btn--line {
  background: #06c755;
  box-shadow: 0 12px 28px -10px rgba(6, 199, 85, 0.45);
}
.fc-cta-btn--line:hover {
  background: #05b74d;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(6, 199, 85, 0.55);
}
.fc-cta-btn__tag {
  position: absolute;
  top: -8px;
  right: 12px;
  background: #ff7043;
  color: #ffffff;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.fc-cta-btn--ig {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
  box-shadow: 0 12px 28px -10px rgba(221, 42, 123, 0.35);
}
.fc-cta-btn--ig:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(221, 42, 123, 0.5);
}

.fc-cta-btn--mail {
  background: #0a2a35;
  box-shadow: 0 12px 28px -10px rgba(10, 42, 53, 0.35);
}
.fc-cta-btn--mail:hover {
  background: #163d4d;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(10, 42, 53, 0.5);
}

.fc-result__retry {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(10, 42, 53, 0.16);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: 'Noto Serif JP', serif;
  font-size: 13.5px;
  color: #4a6875;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.fc-result__retry:hover {
  border-color: rgba(10, 42, 53, 0.32);
  color: #0a2a35;
  background: rgba(10, 42, 53, 0.03);
}
.fc-result__retry span {
  font-size: 16px;
  line-height: 1;
}

/* ================================================================
   Block 5 — Email form (expandable)
================================================================ */
.fc-form-section {
  background: #ffffff;
  padding: 80px 24px;
}
.fc-form-section__inner {
  max-width: 640px;
  margin: 0 auto;
}

.fc-form {
  background: #ffffff;
  border: 1px solid rgba(10, 42, 53, 0.08);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 8px 32px rgba(10, 42, 53, 0.04);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.fc-form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fc-form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fc-form__label {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 500;
  color: #0a2a35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fc-form__req {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: #c8443b;
  padding: 2px 8px;
  border-radius: 4px;
}
.fc-form__input {
  appearance: none;
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(10, 42, 53, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14.5px;
  color: #0a2a35;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fc-form__input:focus {
  outline: none;
  border-color: #00a878;
  box-shadow: 0 0 0 3px rgba(0, 168, 120, 0.15);
}
.fc-form__textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.85;
}
.fc-form__feedback {
  font-size: 14px;
  line-height: 1.7;
  min-height: 1.4em;
}
.fc-form__feedback.is-success { color: #00a878; font-weight: 600; }
.fc-form__feedback.is-error   { color: #c8443b; font-weight: 600; }
.fc-form__submit {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 56px;
  background: #00a878;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-family: 'Noto Serif JP', serif;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 12px 28px -10px rgba(0, 168, 120, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.fc-form__submit:hover:not(:disabled) {
  background: #009769;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(0, 168, 120, 0.55);
}
.fc-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.fc-form__thanks {
  background: #ffffff;
  border: 1px solid rgba(0, 168, 120, 0.30);
  border-radius: 18px;
  padding: 56px 36px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 168, 120, 0.12);
}
.fc-form__thanks-icon {
  width: 56px;
  height: 56px;
  color: #00a878;
  margin: 0 auto 20px;
}
.fc-form__thanks-icon svg { width: 100%; height: 100%; }
.fc-form__thanks-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 22px;
  color: #0a2a35;
  margin-bottom: 14px;
}
.fc-form__thanks-text {
  font-size: 14px;
  line-height: 2;
  color: #4a6875;
}

/* ================================================================
   Block 6 — FAQ
================================================================ */
.fc-faq {
  background: #f5f6f7;
  padding: 80px 24px;
}
.fc-faq__inner {
  max-width: 720px;
  margin: 0 auto;
}
.fc-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fc-faq__item {
  background: #ffffff;
  border: 1px solid rgba(10, 42, 53, 0.10);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.fc-faq__item[open] {
  border-color: rgba(0, 168, 120, 0.4);
  box-shadow: 0 12px 28px -16px rgba(0, 168, 120, 0.25);
}
.fc-faq__q {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.6;
  color: #0a2a35;
}
.fc-faq__q::-webkit-details-marker { display: none; }
.fc-faq__q::after {
  content: "+";
  justify-self: end;
  color: #00a878;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.fc-faq__item[open] .fc-faq__q::after {
  content: "−";
}
.fc-faq__qmark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #00a878;
  color: #ffffff;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fc-faq__qtext { overflow-wrap: anywhere; }

.fc-faq__a {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  align-items: flex-start;
  gap: 12px;
  padding: 0 22px 22px;
  font-size: 14px;
  line-height: 2;
  color: #4a6875;
}
.fc-faq__amark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(10, 42, 53, 0.08);
  color: #0a2a35;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fc-faq__atext { overflow-wrap: anywhere; padding-top: 4px; }

/* ================================================================
   Block 7 — Trust badges
================================================================ */
.fc-trust {
  background: #ffffff;
  padding: 64px 24px 96px;
}
.fc-trust__inner {
  max-width: 1080px;
  margin: 0 auto;
}
.fc-trust__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.fc-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(0, 168, 120, 0.05);
  border-radius: 14px;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 500;
  color: #0a2a35;
  line-height: 1.6;
}
.fc-trust__icon {
  width: 24px;
  height: 24px;
  color: #00a878;
  display: inline-flex;
  flex-shrink: 0;
}
.fc-trust__icon svg { width: 100%; height: 100%; }
.fc-trust__text { overflow-wrap: anywhere; }

/* ================================================================
   Responsive
================================================================ */
@media (max-width: 1024px) {
  .fc-result__cta-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .fc-hero { padding: calc(var(--site-header-height, 72px) + 56px) 20px 64px; }
  .fc-hero__inner { gap: 22px; }
  .fc-hero__cta { padding: 16px 32px; font-size: 15px; }

  .fc-about,
  .fc-diag,
  .fc-result,
  .fc-form-section,
  .fc-faq { padding: 64px 20px; }

  .fc-trust { padding: 48px 20px 72px; }

  .fc-about__header,
  .fc-result__header,
  .fc-form-section__header,
  .fc-faq__header { margin-bottom: 32px; }

  .fc-about__meta { grid-template-columns: 1fr; gap: 12px; }
  .fc-about__meta-num { font-size: 28px; }
  .fc-about__result { padding: 22px 22px 18px; }
  .fc-about__result-list { grid-template-columns: 1fr; gap: 10px; }

  .fc-diag__inner { max-width: 100%; }
  .fc-diag__progress { margin-bottom: 36px; }
  .fc-diag__progress-dot { width: 28px; height: 28px; font-size: 12px; }
  .fc-diag__option-body { padding: 16px 22px 16px 50px; }
  .fc-diag__option-body::before { left: 18px; width: 18px; height: 18px; }
  .fc-diag__option-body::after { left: 23px; width: 7px; height: 7px; }
  .fc-diag__option-label { font-size: 15px; }
  .fc-diag__nav { flex-direction: row; }
  .fc-diag__btn { padding: 12px 22px; font-size: 14px; flex: 1; }

  .fc-plan { padding: 32px 24px; gap: 22px; }
  .fc-plan__meta { grid-template-columns: 1fr; gap: 10px; }
  .fc-plan__meta-item { padding: 14px 18px; }
  .fc-plan__case { grid-template-columns: 1fr; text-align: left; }
  .fc-plan__case-arrow { justify-self: end; }

  .fc-form { padding: 28px 22px; border-radius: 14px; }
  .fc-form__submit { align-self: stretch; padding: 14px 24px; }
  .fc-form__thanks { padding: 44px 24px; }

  .fc-faq__q { font-size: 14.5px; padding: 16px 18px; gap: 10px; grid-template-columns: 30px 1fr 22px; }
  .fc-faq__qmark { width: 26px; height: 26px; font-size: 12px; }
  .fc-faq__a { padding: 0 18px 20px; grid-template-columns: 30px 1fr 22px; gap: 10px; font-size: 13.5px; }
  .fc-faq__amark { width: 26px; height: 26px; font-size: 12px; }

  .fc-trust__list { grid-template-columns: 1fr; gap: 10px; }
  .fc-trust__item { padding: 16px 20px; }
}

@media (max-width: 375px) {
  .fc-hero__title { font-size: 24px; }
  .fc-diag__option-body { padding: 14px 18px 14px 46px; }
  .fc-diag__btn { padding: 11px 16px; font-size: 13.5px; }
  .fc-plan { padding: 28px 20px; }
  .fc-plan__name { font-size: 20px; }
  .fc-form { padding: 24px 18px; }
}
