/* ============================================================
  Lervan Landing Page
  - clean / modern / single file
  - keep simulator safe (simulator-salary-chart.php has scoped styles)
============================================================ */

/* ---------
  Design tokens
--------- */
:root {
  --brand: #15b9bf;
  --brand-2: #0f6f86;
  --ink: #0b1f27;
  --text: #222;
  --muted: #607077;
  --line: rgba(15, 31, 39, .12);
  --bg: #ffffff;
  --bg-soft: #f6fbfc;

  --w-xl: 1200px;
  --w-lg: 980px;
  --w-md: 720px;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;

  --shadow-sm: 0 6px 18px rgba(0, 0, 0, .06);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, .10);

  --header-h: 64px;
}

/* ---------
  Base / reset (minimal)
--------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

/* ---------
  Layout helpers
--------- */
.wrap {
  margin: 0 auto;
  padding: 0 20px;
}

.wrap--xl {
  max-width: var(--w-xl);
}

.wrap--lg {
  max-width: var(--w-lg);
}

.wrap--md {
  max-width: var(--w-md);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
  margin: 0 0 8px;
}

.h2 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.35;
  letter-spacing: .01em;
  color: var(--ink);
}

@media (max-width: 480px) {
  .h2 {
    font-size: 22px;
    line-height: 1.4;
  }
}

.section__lead {
  margin: 10px 0 0;
  color: var(--muted);
}

.br-sm {
  display: none;
}

.br-pc {
  display: inline;
}

@media (max-width:768px) {
  .br-sm {
    display: inline;
  }

  .br-pc {
    display: none;
  }
}

/* ============================================================
  Header
============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
}

/* Smart Header State */
.header--hidden {
  transform: translateY(-100%);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__logo {
  height: 32px;
  width: auto;
}

.brand__name {
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
}

/* ============================================================
  Buttons
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  white-space: nowrap;
}

.btn--lg {
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 15px;
}

.btn--xl {
  padding: 14px 32px;
  border-radius: 16px;
  font-size: 16px;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(21, 185, 191, .18), 0 10px 28px rgba(15, 31, 39, .08);
}

.btn--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #eaffff;
  box-shadow: 0 14px 40px rgba(21, 185, 191, .25);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 56px rgba(21, 185, 191, .30);
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -35%;
  width: 70%;
  height: 240%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: translateX(-140%) rotate(12deg);
  opacity: 0;
  transition: transform .55s cubic-bezier(.2, .9, .2, 1), opacity .22s ease;
  pointer-events: none;
}

.btn--primary:hover::after {
  opacity: 1;
  transform: translateX(240%) rotate(12deg);
}

.btn--ghost {
  background: rgba(21, 185, 191, .10);
  color: var(--ink);
  border-color: rgba(21, 185, 191, .28);
}

.btn--ghost:hover {
  background: rgba(21, 185, 191, .16);
  border-color: rgba(21, 185, 191, .40);
}

.btn--back {
  background: rgba(15, 31, 39, .06);
  color: rgba(15, 31, 39, .78);
  border-color: rgba(15, 31, 39, .16);
}

.btn--back:hover {
  background: rgba(15, 31, 39, .10);
  border-color: rgba(15, 31, 39, .22);
}

/* mobile header: keep buttons small */
@media (max-width:768px) {
  :root {
    --header-h: 60px;
  }

  .wrap {
    padding: 0 14px;
  }

  .brand__name {
    font-size: 16px;
  }

  .btn {
    padding: 9px 12px;
    font-size: 13px;
  }

  .btn--lg {
    padding: 13px 14px;
    font-size: 15px;
  }

  .btn--xl {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 16px;
  }
}

/* ============================================================
  Hero
============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 10% 20%, rgba(21, 185, 191, .20), transparent 60%),
    radial-gradient(900px 460px at 90% 30%, rgba(16, 111, 134, .18), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
}







/* trust row */

@media (max-width:980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    padding: 34px 14px 38px;
  }

  .hero__visual {
    order: -1;
  }
}

/* ============================================================
  Sections
============================================================ */
.section {
  padding: 70px 0;
}

.section--light {
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--sim {
  padding: 0;
  background:
    radial-gradient(1100px 420px at 50% 10%, rgba(21, 185, 191, .14), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
}

.section--contact {
  background: linear-gradient(180deg, var(--bg-soft), #ffffff);
  border-top: 1px solid var(--line);
}

.section__head {
  margin-bottom: 40px;
  text-align: center;
}

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-sm);
}

.card__num {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-weight: 900;
  color: rgba(15, 31, 39, .9);
  background: rgba(21, 185, 191, .14);
}

.card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.card__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width:900px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }
}

/* callout */
.callout {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(21, 185, 191, .28);
  background:
    radial-gradient(680px 240px at 20% 20%, rgba(21, 185, 191, .18), transparent 65%),
    rgba(255, 255, 255, .84);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.callout__title {
  margin: 0;
  font-weight: 900;
  color: var(--ink);
}

.callout__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ============================================================
  FAQ
============================================================ */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq__item {
  border-top: 1px solid var(--line);
}

.faq__item:first-child {
  border-top: none;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 18px;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "＋";
  font-weight: 900;
  color: rgba(15, 31, 39, .6);
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__body {
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 14px;
}

/* ============================================================
  Contact form
============================================================ */
.formCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 22px;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.field legend {
  font-size: 14px;
  font-weight: 800;
  color: rgba(15, 31, 39, .84);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 31, 39, .16);
  background: rgba(15, 31, 39, .04);
  outline: none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(21, 185, 191, .7);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(21, 185, 191, .12);
}

/* Validation states */
.field.is-success input,
.field.is-success select {
  border-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2315b9bf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  padding-right: 40px;
}

#contactStepForm select.is-success {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(15,31,39,.55)' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2315b9bf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-position: right 14px center, right 38px center;
  padding-right: 64px;
}

.field.is-error input,
.field.is-error select {
  border-color: #ff4d4f;
  background-color: #fff1f0;
}

.radio-list {
  display: grid;
  gap: 10px;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 31, 39, .14);
  background: rgba(15, 31, 39, .03);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .02s ease;
}

.radio-row:active {
  transform: translateY(1px);
}

.radio-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-ui {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(15, 31, 39, .45);
  position: relative;
  flex: 0 0 18px;
}

.radio-row input:checked+.radio-ui {
  border-color: rgba(21, 185, 191, .95);
}

.radio-row input:checked+.radio-ui::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 999px;
  background: rgba(21, 185, 191, .95);
}

.radio-text {
  font-weight: 700;
  color: rgba(15, 31, 39, .90);
}

.radio-row:has(input:checked) {
  border-color: rgba(21, 185, 191, .55);
  background: rgba(21, 185, 191, .10);
}

.submit {
  margin-top: 6px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: .02em;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #eaffff;
  box-shadow: 0 16px 44px rgba(21, 185, 191, .28);
  transition: transform .12s ease, box-shadow .18s ease, opacity .18s ease;
}

.submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(21, 185, 191, .32);
}

.submit:active {
  transform: translateY(1px);
}

.submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  box-shadow: none;
}

/* Loading state */
.submit.is-loading {
  color: transparent !important;
  pointer-events: none;
  position: relative;
}

.submit.is-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: calc(50% - 10px);
  left: calc(50% - 10px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: formSpin 0.8s linear infinite;
}

@keyframes formSpin {
  to {
    transform: rotate(360deg);
  }
}

.err {
  color: #d33;
  font-size: 12px;
  min-height: 1em;
  margin: 0;
}

.note {
  margin: 0;
  color: var(--muted);
}

/* ============================================================
  Bottom fixed CTA (mobile)
============================================================ */
.bottomCta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: none;
  gap: 10px;
  z-index: 1200;
}

.bottomCta__btn {
  flex: 1;
  text-align: center;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15, 31, 39, .14);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
}

.bottomCta__btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #eaffff;
}

@media (max-width:768px) {
  .bottomCta {
    display: flex;
    pointer-events: none;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s;
  }

  .bottomCta.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  body {
    padding-bottom: 86px;
  }
}

/* Side Floating CTA (Desktop) */
.side-cta {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.side-cta.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.side-cta__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px 10px 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-radius: 99px;
  box-shadow: 0 16px 32px rgba(21, 185, 191, 0.25);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.side-cta__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(21, 185, 191, 0.35);
}

.side-cta__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.side-cta__text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.side-cta__text span {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 600;
  margin-left: 2px;
}

@media (max-width: 768px) {
  .side-cta {
    display: none;
    /* モバイルは既存のコンバージョンバーを使用 */
  }
}

/* accessibility */
:focus-visible {
  outline: 3px solid rgba(21, 185, 191, .35);
  outline-offset: 3px;
}


/* ============================================================
  Fullscreen Visual HERO (top.png is the main)
============================================================ */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero--visual {
  width: 100%;
  height: auto;
  min-height: auto;
  background: #fff;
  border-bottom: 0;
  position: relative;
}

.hero--visual .hero__media {
  position: relative;
  width: 100%;
  max-height: 850px;
  /* ★高さを制限して画像が間延びするのを防止 */
  overflow: hidden;
}

.hero--visual .hero__media img {
  width: 100%;
  height: auto;
  display: block;
}



.hero--visual .hero__overlay {
  position: absolute;
  left: 50%;
  top: 79%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 0 18px;
  z-index: 2;
  width: min(520px, 92vw);
}

/* button pop on photo */
.hero--visual .btn {
  box-shadow: 0 18px 45px rgba(0, 0, 0, .20), 0 8px 18px rgba(0, 0, 0, .18);
  border-color: rgba(255, 255, 255, .22);
}

.hero--visual .btn--ghost {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .hero--visual {
    min-height: auto;
  }

  .hero--visual .hero__media {
    position: relative;
  }

  .hero--visual .hero__media img {
    height: auto;
    object-fit: contain;
    transform: none;
  }

  .hero--visual .hero__media::after {
    display: none;
  }

  .hero--visual .hero__overlay {
    display: none;
  }

  .hero--visual .btn--xl {
    width: 100%;
    justify-content: center;
  }

  .hero__scroll {
    margin-top: -46px;
    /* モバイルのパディング（56px）分を引き上げ */
    margin-bottom: 16px;
  }

  .hero__scroll-line {
    height: 30px;
  }
}

/* Scroll indicator */
.hero__scroll {
  position: relative;
  margin-top: -60px;
  /* セクションのパディング（70px）分を引き上げ */
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.hero__scroll-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.4em;
  margin-bottom: 8px;
  opacity: 0.6;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brand);
  animation: scrollDownAnim 2s cubic-bezier(0.76, 0, 0.3, 1) infinite;
}

@keyframes scrollDownAnim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  45% {
    transform: scaleY(1);
    transform-origin: top;
  }

  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ===== HOW IT WORKS センター配置 ===== */
.how {
  text-align: center;
}

.how .section-header {
  text-align: center;
  margin: 0 auto 30px;
}

.how .section-eyebrow {
  display: block;
  text-align: center;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--brand);
  margin-bottom: 8px;
}

.how .section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-top: 6px;
  color: #334155;
  margin-bottom: 6px;
}

.how .section-subtitle {
  font-size: 16px;
  color: #666;
}


/* Step form: ensure active step is visible (minimal fix) */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* Step progress fallback (minimal) */
.progress-wrap {
  margin-bottom: 20px;
  text-align: center;
}

.progress-bar {
  height: 8px;
  background: rgba(0, 0, 0, .08);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width .35s ease;
}

.progress-text {
  font-size: 13px;
  color: rgba(15, 31, 39, .6);
}

/* Step form visibility (scoped & forced) */
#contactStepForm .form-step {
  display: none !important;
}

#contactStepForm .form-step.active {
  display: block !important;
}


/* ============================================================
   Step Form UX (scoped to contactStepForm)
============================================================ */
#contactStepForm .form-step {
  display: none !important;
}

#contactStepForm .form-step.active {
  display: block !important;
}

#contactStepForm .form-step {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .28s ease, transform .32s cubic-bezier(.22, .9, .32, 1);
}

#contactStepForm .form-step.active {
  opacity: 1;
  transform: translateY(0);
}

#contactStepForm .step-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

#contactStepForm .form-step[data-step="1"] .field:last-of-type {
  margin-bottom: 14px;
}

#contactStepForm .next-step,
#contactStepForm .prev-step,
#contactStepForm .submit {
  width: 100%;
}

#contactStepForm .btn__sub {
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: .75;
  margin-top: 6px;
}

#contactStepForm .next-step[disabled],
#contactStepForm .step-next[disabled],
#contactStepForm .submit[disabled] {
  cursor: not-allowed;
  opacity: .55;
  filter: saturate(.6);
  box-shadow: none !important;
  transform: none !important;
}

#contactStepForm .next-step.is-ready,
#contactStepForm .submit.is-ready {
  opacity: 1;
  filter: none;
}

#contactStepForm .almost {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  color: rgba(15, 31, 39, .62);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .28s ease, transform .32s cubic-bezier(.22, .9, .32, 1);
}

#contactStepForm .almost.show {
  opacity: 1;
  transform: translateY(0);
}

/* Progress */
.progress-wrap {
  margin-bottom: 22px;
  text-align: center;
}

.progress-bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15, 31, 39, .10);
}

.progress-fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width .35s ease;
}

.progress-text {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(15, 31, 39, .55);
}

/* Modern select (scoped) */
#contactStepForm select {
  width: 100%;
  padding: 12px 44px 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 31, 39, .16);
  background: #fff;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(15,31,39,.55)' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

#contactStepForm select:focus {
  border-color: rgba(21, 185, 191, .7);
  box-shadow: 0 0 0 4px rgba(21, 185, 191, .12);
}

/* Thank you */
.thanks {
  text-align: center;
  padding: 18px 4px 6px;
}

.thanks__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(21, 185, 191, .12);
  color: rgba(15, 31, 39, .78);
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 12px;
}

.thanks__title {
  margin: 14px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.thanks__text {
  margin: 0 auto 18px;
  max-width: 540px;
  color: rgba(15, 31, 39, .68);
  font-size: 14px;
  line-height: 1.8;
}

.thanks__btn {
  max-width: 320px;
  margin: 0 auto;
}

.send-error {
  margin-top: 12px;
  text-align: center;
  color: #b42318;
  font-size: 13px;
}


/* ============================================================
   Step Form: 3-step polish (scoped)
============================================================ */
#contactStepForm .step-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
}

#contactStepForm .step-label__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 31, 39, .06);
  color: rgba(15, 31, 39, .72);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
}

#contactStepForm .step-label__title {
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 16px;
  color: #0f1f27;
}

#contactStepForm .step-actions--row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width:720px) {
  #contactStepForm .step-actions--row {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

#contactStepForm .confirm {
  border-radius: 18px;
  border: 1px solid rgba(15, 31, 39, .10);
  background: rgba(255, 255, 255, .86);
  padding: 14px 14px 4px;
  box-shadow: 0 10px 28px rgba(15, 31, 39, .08);
  backdrop-filter: saturate(140%) blur(8px);
}

#contactStepForm .confirm__lead {
  margin: 0 0 12px;
  font-size: 13px;
  color: rgba(15, 31, 39, .66);
  line-height: 1.8;
}

/* ============================================================
   Confirm Screen Enhancement
============================================================ */
.confirm {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--line);
}

.confirm__lead {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  text-align: center;
}

.confirm__list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.confirm__row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px !important;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.confirm__row dt {
  font-size: 13px !important;
  font-weight: 700;
  color: var(--muted) !important;
}

.confirm__row dd {
  font-size: 15px !important;
  font-weight: 800;
  color: var(--ink) !important;
  margin: 0 !important;
}

.confirm__divider {
  height: 1px;
  background: var(--line);
  margin: 8px 0;
}

/* Confirm animation */
.form-step[data-step="3"].active .confirm__row {
  animation: confirmRowIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes confirmRowIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-step[data-step="3"].active .confirm__row:nth-child(1) {
  animation-delay: 0.05s;
}

.form-step[data-step="3"].active .confirm__row:nth-child(2) {
  animation-delay: 0.1s;
}

.form-step[data-step="3"].active .confirm__row:nth-child(3) {
  animation-delay: 0.15s;
}

.form-step[data-step="3"].active .confirm__row:nth-child(4) {
  animation-delay: 0.2s;
}

.form-step[data-step="3"].active .confirm__row:nth-child(6) {
  animation-delay: 0.25s;
}

.form-step[data-step="3"].active .confirm__row:nth-child(7) {
  animation-delay: 0.3s;
}

.form-step[data-step="3"].active .confirm__row:nth-child(8) {
  animation-delay: 0.35s;
}

.form-step[data-step="3"].active .confirm__row:nth-child(9) {
  animation-delay: 0.4s;
}

.form-step[data-step="3"].active .confirm__row:nth-child(10) {
  animation-delay: 0.45s;
}

#contactStepForm .fineprint {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: rgba(15, 31, 39, .58);
}

/* Thanks page actions */
.thanks__actions {
  display: grid;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

@media (min-width:720px) {
  .thanks__actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   Strengths Section (Why Choose Us)
============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.feature {
  padding: 40px 30px;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(21, 185, 191, .1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.feature__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--ink);
}

.feature__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  text-align: left;
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   Strategic Process (Horizontal Flow)
============================================================ */
.process-flow {
  margin-top: 60px;
  position: relative;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  position: relative;
}

/* 接続ライン（PCのみ） */
@media (min-width: 901px) {
  .process-steps::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 100px;
    right: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--line), var(--brand));
    opacity: 0.2;
    z-index: 0;
  }
}

.process-item {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.process-marker {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  position: relative;
}

.process-item:hover .process-marker {
  border-color: var(--brand);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(21, 185, 191, 0.15);
}

.process-marker__num {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.process-marker__step {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}

.process-content {
  background: #fff;
  padding: 30px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  flex: 1;
  text-align: center;
  transition: all 0.4s ease;
}

.process-item:hover .process-content {
  border-color: rgba(21, 185, 191, 0.3);
  box-shadow: var(--shadow-md);
}

.process-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.5;
  color: var(--ink);
  height: 3em;
  /* 2行分確保して高さを揃える */
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 20px;
}

.process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.process-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--brand);
  border: 1px solid rgba(21, 185, 191, 0.25);
  background: rgba(21, 185, 191, 0.05);
  padding: 2px 10px;
  border-radius: 99px;
}

@media (max-width: 900px) {
  .process-steps {
    flex-direction: column;
    gap: 40px;
  }

  .process-marker {
    width: 80px;
    height: 80px;
    margin-bottom: -40px;
    z-index: 2;
  }

  .process-content {
    padding-top: 60px;
  }

  .process-title {
    height: auto;
    margin-bottom: 12px;
  }
}



/* ============================================================
   Success Stories Section (Slider)
============================================================ */
.section--stories {
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}

.section--stories .section__head {
  padding: 0 20px;
}

.stories-slider {
  margin-top: 40px;
  width: 100%;
  position: relative;
  overflow: hidden;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.stories-slider.is-dragging {
  cursor: grabbing;
}

.stories-track {
  display: flex;
  gap: 24px;
  padding: 10px 0;
  will-change: transform;
  width: max-content;
}

.stories-track .story {
  flex-shrink: 0;
}

.story {
  flex: 0 0 340px;
  /* 固定幅 */
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.story__head {
  padding: 24px 24px 20px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
}

.story__avatar {
  flex: 0 0 56px;
  height: 56px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.story__head-info {
  flex: 1;
}

.story__achievement {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff2a6d;
  /* 濃いピンク */
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(255, 42, 109, 0.25);
}

.story__tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 4px;
  margin-bottom: 6px;
}

.story__profile {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}

.story__body {
  padding: 24px;
  flex: 1;
}

.story__income {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.story__old {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}

.story__arrow {
  color: var(--brand);
  font-weight: 900;
}

.story__new {
  font-size: 22px;
  font-weight: 900;
  color: var(--brand-2);
}

.story__text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .story {
    flex: 0 0 280px;
  }

  /* stories slider: JS制御 */
}

/* ============================================================
   Message Section
============================================================ */
/* ============================================================
   Message Section (Brand Message)
============================================================ */
.message-box {
  position: relative;
  background-color: var(--ink);
  background-image: url("img/support-message-bg.jpg");
  background-size: cover;
  background-position: center right;
  color: #fff;
  border-radius: var(--r-lg);
  padding: 100px 80px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* 文字の可読性を確保するグラデーション（左から暗くする） */
.message-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(15, 31, 39, 0.95) 0%,
      rgba(15, 31, 39, 0.8) 40%,
      rgba(15, 31, 39, 0.2) 100%);
  z-index: 1;
}

/* 装飾用の巨大な引用符 */
.message-box::after {
  content: "“";
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 160px;
  line-height: 1;
  font-family: serif;
  color: var(--brand);
  opacity: 0.15;
  z-index: 1;
}

.message-box__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.message-box__title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.message-box__text {
  font-size: 17px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.message-box__author {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.message-box__author-info b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 4px;
}

.message-box__author-info span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .message-box {
    padding: 60px 24px;
    background-position: center;
  }

  .message-box__title {
    font-size: 24px;
    line-height: 1.5;
  }

  .message-box__text {
    font-size: 15px;
    line-height: 1.8;
  }

  .message-box::after {
    display: none;
  }

  .message-box::before {
    background: linear-gradient(0deg,
        rgba(15, 31, 39, 0.95) 20%,
        rgba(15, 31, 39, 0.7) 100%);
  }
}

@media (max-width: 480px) {
  .message-box {
    padding: 48px 20px;
  }
}


/* ============================================================
   Company Footer
============================================================ */
.footer {
  padding: 60px 0 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer__info {
  max-width: 300px;
}

.footer__brand {
  margin-bottom: 20px;
}

.footer__text {
  font-size: 14px;
  color: var(--muted);
}

.company-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  text-align: left;
}

.company-table th {
  width: 140px;
  color: var(--muted);
  font-weight: 700;
}

.company-table td {
  color: var(--ink);
  font-weight: 500;
}

.copyright {
  margin-top: 80px;
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  color: #fff;
  background: var(--ink);
  /* 濃紺で引き締め */
  border-top: 4px solid var(--brand);
  /* ブランドカラーの太いラインで区切る */
  position: relative;
}

.copyright .privacy-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.copyright .privacy-link:hover {
  color: var(--brand);
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
  }

  .company-table th {
    width: 100px;
  }

  .company-table .th-license {
    font-size: 12px;
  }
}

/* ============================================================
   CEO Message
============================================================ */
.section--ceo {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.ceo-box {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.ceo-image {
  position: relative;
  overflow: hidden;
  background-color: var(--ink);
}

.ceo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
}

.ceo-content {
  padding: 28px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ceo-tagline {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 12px;
  display: block;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.ceo-message {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 18px;
}

.ceo-message p {
  margin-bottom: 0.6em;
}

.ceo-message p:last-child {
  margin-bottom: 0;
}

.ceo-profile {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
}

.ceo-profile__title {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.05em;
}

.ceo-profile__name {
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.1em;
}

.ceo-profile__name small {
  font-size: 15px;
  font-weight: 700;
  margin-left: 10px;
}

@media (max-width: 1100px) {
  .ceo-box {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ceo-content {
    padding: 40px 30px 60px;
  }

  .ceo-image {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .ceo-image {
    min-height: auto;
  }

  .ceo-image img {
    height: auto;
    object-fit: initial;
  }

  .ceo-tagline {
    font-size: 18px;
  }

  .ceo-message {
    font-size: 14.5px;
  }

  .ceo-profile__name {
    font-size: 24px;
  }
}


/* ============================================================
   Privacy Policy & Consent
============================================================ */
.consent-area {
  margin: 30px 0 20px;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  text-align: center;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  user-select: none;
  line-height: 1.5;
}

.checkbox-label input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
  cursor: pointer;
  margin: 0;
}

.privacy-link {
  color: var(--brand);
  text-decoration: underline;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s;
}

.privacy-link:hover {
  opacity: 0.7;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 31, 39, 0.85);
  backdrop-filter: blur(8px);
}

.modal__content {
  position: relative;
  width: 90%;
  max-width: 680px;
  max-height: 85vh;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 50px 40px;
  z-index: 2;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.is-active .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg-soft);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.2s;
  color: var(--ink);
}

.modal__close:hover {
  background: var(--line);
  transform: rotate(90deg);
}

.modal__title {
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 800;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--brand);
  color: var(--ink);
}

.policy-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.policy-text h4 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.policy-text h4:first-child {
  margin-top: 0;
}

.policy-text h5 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  margin: 24px 0 10px;
}

.policy-text h6 {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  margin: 20px 0 8px;
}

.policy-text p {
  margin-bottom: 16px;
}

.policy-text ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.policy-text li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .modal__content {
    padding: 40px 20px;
    width: 95%;
  }
}

/* Target Audience / Invitation */
.section--invitation {
  background: var(--ink);
  color: #fff;
  padding: 100px 0;
}

.invitation-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 60px;
  max-width: 950px;
  margin: 0 auto;
}


.invitation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.invitation-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.invitation-item svg {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 4px;
}

/* Trouble Section */
.section--trouble {
  background: #0b1f27;
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}

/* 装飾用の背景グラデーション */
.section--trouble::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(21, 185, 191, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
}

.trouble-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.trouble-card {
  position: relative;
  height: 100%;
  min-height: 300px;
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 32px 24px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trouble-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.trouble-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.trouble-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.trouble-card:hover .trouble-card__bg img {
  transform: scale(1.1);
}

/* ガラスのオーバーレイ */
.trouble-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(11, 31, 39, 0.95) 0%,
      rgba(11, 31, 39, 0.6) 50%,
      rgba(11, 31, 39, 0.2) 100%);
  z-index: 1;
}

.trouble-card__content {
  position: relative;
  z-index: 2;
}

.trouble-card__num {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  display: block;
}

.trouble-card__title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.4;
}

.trouble-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.trouble-card__item {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.trouble-card__item::before {
  content: "？";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 900;
  font-size: 12px;
}

/* Solution Section (Closing) */
.section--solution {
  background: #0b1f27;
  padding: 0 0 100px;
  text-align: center;
  position: relative;
}

.solution-box {
  max-width: 950px;
  margin: 0 auto;
  padding: 48px 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.solution-box::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(21, 185, 191, 0.08) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.solution-tagline {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  display: block;
  margin-bottom: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.solution-title {
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 800;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.solution-btn-wrap {
  position: relative;
  z-index: 1;
}

@media (max-width: 1200px) {
  .trouble-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .section--trouble {
    padding: 60px 0;
  }

  .trouble-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trouble-card {
    min-height: auto;
    padding: 24px 18px;
  }

  .trouble-card__title {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .solution-box {
    padding: 40px 16px;
  }

  .solution-title {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
}

@media (max-width: 900px) {
  .invitation-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .consultant-grid {
    grid-template-columns: 1fr;
  }

  .invitation-box {
    padding: 40px 24px;
  }

  .section--invitation {
    padding: 60px 0;
  }
}

/* ---------
  Calendar embed: PC=iframe / SP=link button
--------- */
.calendar-embed--sp { display: none; }
.calendar-embed--pc { display: block; }

@media (max-width: 768px) {
  .calendar-embed--pc { display: none; }
  .calendar-embed--sp { display: block; }
}