/* ==========================================================================
   proplaiz LP スタイルシート（単一ファイル）
   トンマナ: テック・プロダクト系（コーポレートとは独立した別人格。
   IBM Plex Sans JP＋IBM Plex Mono、ダーク基調×ティール/ミントのアクセント）
   モバイルファースト。外部リソースはGoogle Fontsのみ許可。
   ========================================================================== */

:root {
  --c-dark: #0b1120;
  --c-accent: #0f766e;
  --c-accent-soft: #2dd4bf;
  --c-text: #1f2937;
  --c-muted: #475067;
  --c-border: #e6e9f0;
  --c-bg-alt: #f6faf9;
  --font-sans: "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--c-text);
  background: #fff;
  line-height: 1.85;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

::selection {
  background: var(--c-accent);
  color: #fff;
}

a {
  color: var(--c-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- ボタン ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  /* サイズ修飾子なしでも裸にならない既定パディング（--sm/--lg/--outlineで上書き） */
  padding: 13px 28px;
  font-size: 15px;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.88;
}

.btn--primary {
  background: linear-gradient(180deg, #5eead4 0%, #2dd4bf 55%, #14b8a6 100%);
  color: #042f2a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 4px 14px rgba(20, 184, 166, 0.32);
}

.btn--primary:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 20px rgba(20, 184, 166, 0.42);
}

.btn__arrow {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.btn--primary:hover .btn__arrow {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn:hover,
  .btn__arrow,
  .btn--primary:hover .btn__arrow {
    transition: none;
    transform: none;
  }
}

.btn--outline {
  border: 1.5px solid var(--c-accent);
  color: var(--c-accent);
  background: #fff;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn--lg {
  padding: 17px 42px;
  font-size: 17px;
}

.btn--outline {
  padding: 12px 22px;
  font-size: 14.5px;
}

/* ヘッダー内の企業向けボタン（エンジニア登録との役割違いを形で示す） */
.btn--hdr {
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.btn--hdr:hover {
  opacity: 1;
  background: #f0fbf8;
}

/* --- ヘッダー ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: saturate(150%) blur(10px);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap; /* サービス名が長くてもモバイル幅で2段に折り返して収める */
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  min-height: 68px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-header__brand {
  color: var(--c-dark);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.site-header__brand:hover {
  text-decoration: none;
}

.site-header__nav {
  display: flex;
  flex-wrap: wrap; /* モバイル幅では2つのボタンが縦に折り返す */
  align-items: center;
  justify-content: flex-end;
  gap: 8px 12px;
  max-width: 100%; /* flex-shrink:0にしない（navが縮まないと内部の折り返しが効かず、はみ出す） */
}

.site-header__link {
  color: var(--c-muted);
  font-size: 13.5px;
}

/* --- ファーストビュー --------------------------------------------------- */

.hero {
  position: relative;
  background: var(--c-dark);
  color: #fff;
  padding: 80px 0 64px;
  overflow: hidden;
}

/* 控えめな装飾（CSSのみ）: 右上の微グラデーション＋薄いドットグリッド。
   斜めのビームは::afterに分離し、ゆっくり漂わせる（transformのみ・低負荷） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(
      ellipse 70% 60% at 85% -10%,
      rgba(20, 184, 166, 0.55),
      transparent 70%
    ),
    radial-gradient(
      ellipse 55% 70% at -5% 110%,
      rgba(13, 148, 136, 0.3),
      transparent 65%
    );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 -18%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0 54%,
    rgba(94, 234, 212, 0.07) 54% 56%,
    transparent 56% 62%,
    rgba(94, 234, 212, 0.05) 62% 63.5%,
    transparent 63.5%
  );
  animation: hero-beams 16s ease-in-out infinite alternate;
}

@keyframes hero-beams {
  from {
    transform: translateX(-9%);
  }
  to {
    transform: translateX(9%);
  }
}

/* オーロラ状の光3つ（別周期で漂わせて重なりを変化させる）＋周期的な光のスイープ。
   すべてtransform/opacityのみ（低負荷）。コンテンツ（.hero__inner）より下に描画される */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg-blob {
  position: absolute;
  width: max(480px, 46vw);
  height: max(480px, 46vw);
  border-radius: 50%;
  will-change: transform;
}

.hero__bg-blob--1 {
  top: -34%;
  right: -14%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.42), transparent 62%);
  animation: blob-drift-1 18s ease-in-out infinite;
}

.hero__bg-blob--2 {
  bottom: -40%;
  left: -16%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.36), transparent 62%);
  animation: blob-drift-2 22s ease-in-out infinite;
}

.hero__bg-blob--3 {
  top: 4%;
  left: 32%;
  width: max(360px, 34vw);
  height: max(360px, 34vw);
  background: radial-gradient(circle, rgba(94, 234, 212, 0.28), transparent 65%);
  animation: blob-drift-3 14s ease-in-out infinite;
}

/* その場の明滅ではなく、光の塊がはっきり移動して回る周回パス（呼吸も併用） */
@keyframes blob-drift-1 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  33% {
    transform: translate(-30%, 22%) scale(1.25);
    opacity: 1;
  }
  66% {
    transform: translate(-44%, 2%) scale(1.05);
    opacity: 0.7;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
}

@keyframes blob-drift-2 {
  0% {
    transform: translate(0, 0) scale(1.2);
    opacity: 1;
  }
  38% {
    transform: translate(34%, -18%) scale(0.9);
    opacity: 0.55;
  }
  70% {
    transform: translate(14%, -34%) scale(1.15);
    opacity: 0.9;
  }
  100% {
    transform: translate(0, 0) scale(1.2);
    opacity: 1;
  }
}

@keyframes blob-drift-3 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.45;
  }
  30% {
    transform: translate(28%, 18%) scale(1.3);
    opacity: 1;
  }
  65% {
    transform: translate(46%, -8%) scale(1.1);
    opacity: 0.65;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.45;
  }
}

/* 8秒に1回、斜めの光の帯が画面を走り抜ける */
.hero__bg-streak {
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: 0;
  width: 26%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(94, 234, 212, 0.1) 42%,
    rgba(94, 234, 212, 0.22) 50%,
    rgba(94, 234, 212, 0.1) 58%,
    transparent
  );
  transform: skewX(-22deg) translateX(-360%);
  opacity: 0;
  will-change: transform, opacity;
  animation: streak-sweep 8s cubic-bezier(0.55, 0.06, 0.35, 0.95) infinite;
}

@keyframes streak-sweep {
  0% {
    transform: skewX(-22deg) translateX(-360%);
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  38%,
  100% {
    transform: skewX(-22deg) translateX(580%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero__bg-blob,
  .hero__bg-streak {
    animation: none;
  }

  .hero__bg-streak {
    display: none;
  }
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 44px;
}

/* FVの写真（ダークトーンのエディタ画面。ティールの縁で人格を揃える） */
.hero__media {
  margin: 0;
}

.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(94, 234, 212, 0.28);
  box-shadow: 0 24px 60px rgba(2, 6, 18, 0.55);
}

.hero__eyebrow {
  color: var(--c-accent-soft);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.hero__title {
  font-weight: 700;
  font-size: 31px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.hero__em {
  color: var(--c-accent-soft);
}

.hero__lead {
  color: #c8d3e8;
  font-size: 15px;
  max-width: 46em;
  margin-bottom: 14px;
}

.hero__cta {
  margin-top: 28px;
}

/* sticky header（約60px）分だけアンカージャンプ位置を下げる */
section[id],
[id] {
  scroll-margin-top: 72px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #5eead4;
  outline-offset: 2px;
}

/* --- 対比文ブロック ------------------------------------------------------ */

.contrast {
  padding: 34px 0 6px;
}

/* 情報の帯（callout）はカラーの丸枠にしない。見出しと同じ「左のアクセントバー」の言語で統一 */
.contrast__box {
  border-left: 4px solid var(--c-accent);
  border-radius: 0 10px 10px 0;
  background: #f0fbf8;
  padding: 22px 24px;
  font-size: 15.5px;
}

.contrast__box strong {
  color: var(--c-accent);
}

/* --- セクション共通 ------------------------------------------------------ */

.section {
  padding: 72px 0;
}

.section--alt {
  /* 質素すぎない程度の淡いウォッシュ（ドットパターンは使わない） */
  background: linear-gradient(180deg, #f1fbf8 0%, #f7fcfa 100%);
}

/* 見出し: 左のアクセントバー（英字eyebrowの代替）。
   同一セクション内の2つ目以降の見出し（/for-companyの「無料相談フォーム」等）は上に大きめの余白 */
* + .section__title {
  margin-top: 56px;
}

.section__title {
  font-weight: 700;
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--c-dark);
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--c-accent);
}

.section--company .section__title {
  border-left-color: var(--c-accent-soft);
}

/* max-widthは付けない（46em折返しが本文中の読点・単語の途中で切れて見える。
   長いリードは文の切れ目に .br-pc で改行を入れる） */
.section__lead {
  color: var(--c-muted);
  margin-bottom: 28px;
}

.section__note {
  margin-top: 26px;
  color: var(--c-text);
  font-weight: 500;
}

.section__cta {
  margin-top: 30px;
}

/* PC幅のみ有効な改行（長いリード文を文の切れ目で折り返す。モバイルは自然折返し） */
.br-pc {
  display: none;
}

@media (min-width: 720px) {
  .br-pc {
    display: inline;
  }
}

/* モバイルでは主要CTAをほぼ全幅に */
@media (max-width: 719.98px) {
  .hero__cta .btn--lg,
  .section__cta .btn,
  .cta-band .btn--lg {
    display: flex;
    width: 100%;
    max-width: 440px;
  }

  .cta-band .btn--lg {
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- 特徴3カード ---------------------------------------------------------- */

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

.feature {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 32px 30px 26px;
  box-shadow: 0 2px 12px rgba(11, 17, 32, 0.04);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(11, 17, 32, 0.09);
  border-color: #9fe6da;
}

@media (prefers-reduced-motion: reduce) {
  .feature,
  .feature:hover {
    transition: none;
    transform: none;
  }
}

.feature__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.feature__num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: #b6ece4;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #e6faf6;
  color: var(--c-accent);
}

.feature__icon svg {
  width: 26px;
  height: 26px;
}

.feature__title {
  font-size: 18px;
  color: var(--c-dark);
  margin-bottom: 10px;
}

.feature p {
  color: var(--c-muted);
  font-size: 15.5px;
}

/* --- 課題（2カード） ----------------------------------------------------- */

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

.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 30px 28px 24px;
  box-shadow: 0 2px 12px rgba(11, 17, 32, 0.04);
}

.card__title {
  font-size: 17.5px;
  color: var(--c-dark);
  margin-bottom: 10px;
}

.card p {
  color: var(--c-muted);
  font-size: 15.5px;
}

/* 課題セクションの具体例（企業の課題→これまで→proplaizなら の3段） */
.case {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 30px 28px;
  box-shadow: 0 2px 12px rgba(11, 17, 32, 0.04);
}

.case + .case {
  margin-top: 20px;
}

.case__title {
  font-size: 17.5px;
  color: var(--c-dark);
  margin-bottom: 20px;
}

.case__rows {
  display: grid;
  gap: 20px;
}

.case__row {
  display: grid;
  gap: 4px;
}

.case__label {
  font-weight: 700;
  font-size: 15px;
  color: var(--c-accent);
}

.case__row dd {
  color: var(--c-muted);
  font-size: 15.5px;
}

/* 回答行は既定の「左アクセントバー＋淡い背景」パターン（丸枠ボックスは使わない） */
.case__row--answer {
  border-left: 4px solid var(--c-accent);
  border-radius: 0 10px 10px 0;
  background: #f0fbf8;
  padding: 18px 20px;
}

.case__row--answer dd {
  color: var(--c-text);
}

/* --- 仕組み（ステップ） -------------------------------------------------- */

.how-grid {
  display: grid;
  gap: 36px;
}

.how-grid__media {
  margin: 0;
}

.how-grid__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--c-border);
  box-shadow: 0 10px 30px rgba(11, 17, 32, 0.09);
}

.steps {
  list-style: none;
  display: grid;
  gap: 28px;
}

.steps__item {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

/* ステップ間の接続線（番号円の中心から次の番号まで） */
.steps__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 46px;
  bottom: -28px;
  width: 2px;
  background: #dbe3f2;
}

.steps__num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  position: relative;
  box-shadow: 0 0 0 4px #e6faf6;
}

.steps__title {
  font-size: 18px;
  color: var(--c-dark);
  margin-bottom: 6px;
}

.steps__item p {
  color: var(--c-muted);
  font-size: 15.5px;
}

/* --- FAQ ---------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 16px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 24px 26px;
  box-shadow: 0 2px 12px rgba(11, 17, 32, 0.04);
}

.faq__q {
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 6px;
}

.faq__q::before {
  content: "Q. ";
  color: var(--c-accent);
}

.faq__a {
  color: var(--c-muted);
  font-size: 15.5px;
}

/* --- 企業向け ------------------------------------------------------------ */

.section--company {
  background: var(--c-dark);
  color: #c8d3e8;
  padding: 76px 0;
}

.section--company .section__title {
  color: #fff;
  font-size: 24px;
}

.section--company p {
  max-width: 46em;
  font-size: 16px;
  margin-bottom: 20px;
}

.section--company .btn--outline {
  background: transparent;
  border-color: var(--c-accent-soft);
  color: var(--c-accent-soft);
}

.company-grid {
  display: grid;
  gap: 40px;
}

.company-grid__media {
  margin: 0;
}

.company-grid__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(94, 234, 212, 0.2);
  box-shadow: 0 18px 44px rgba(2, 6, 18, 0.5);
}

/* --- 運営者情報 ---------------------------------------------------------- */

.operator-table {
  width: 100%;
  max-width: 560px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.operator-table th,
.operator-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}

.operator-table th {
  width: 90px;
  color: var(--c-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* --- 登録CTAバンド ------------------------------------------------------- */

.cta-band {
  position: relative;
  background: linear-gradient(160deg, #0a1f24, var(--c-dark));
  color: #fff;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
}

/* CTAバンドにもheroと同系の柔らかい光を足して単調さを消す */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 60% 90% at 50% 110%,
    rgba(20, 184, 166, 0.35),
    transparent 70%
  );
}

.cta-band .wrap {
  position: relative;
}

.cta-band__title {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}

/* --- モバイル追従CTA（indexのみ設置。720px以上では非表示） ----------------- */

.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(150%) blur(8px);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -6px 20px rgba(11, 17, 32, 0.08);
}

.sticky-cta__btn {
  display: flex;
  width: 100%;
  padding: 13px;
  font-size: 15.5px;
}

@media (max-width: 719.98px) {
  .sticky-cta:not([hidden]) {
    display: block;
  }

  /* 追従CTAがフッター末尾を隠さないよう余白を確保 */
  body:has(.sticky-cta:not([hidden])) .site-footer {
    padding-bottom: 96px;
  }
}

/* --- フッター ------------------------------------------------------------ */

.site-footer {
  background: #060a14;
  color: #9aa2b4;
  padding: 44px 0;
  font-size: 13.5px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__nav a {
  color: #c8d3e8;
}

/* --- 登録フォーム（/register） ------------------------------------------- */

.register-hero {
  background: var(--c-dark);
  color: #fff;
  padding: 44px 0 36px;
}

.register-hero__title {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

.register-hero__lead {
  color: #c8d3e8;
  font-size: 14.5px;
  max-width: 46em;
  margin-bottom: 8px;
}

/* 404ページの数字（モノスペースのワードマークと同じ言語） */
.notfound-code {
  font-family: var(--font-mono);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  color: var(--c-accent-soft);
  opacity: 0.5;
  margin-bottom: 12px;
}

/* フォーム直前の契約形態注記（業務委託の明示） */
.register-contract-note {
  margin: 26px 0 22px;
  font-weight: 600;
}

.form-notice {
  margin: 26px 0 0;
  border-left: 4px solid #d97706;
  border-radius: 0 10px 10px 0;
  background: #fff7e6;
  color: #8a6512;
  padding: 16px 18px;
  font-size: 14.5px;
  font-weight: 600;
}

.form-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 26px 22px;
  margin-top: 28px;
  box-shadow: 0 8px 30px rgba(11, 17, 32, 0.05);
}

.field {
  margin-bottom: 26px;
}

/* fieldset.field はブラウザ既定の枠線・レイアウトを打ち消してカード内に馴染ませる */
fieldset.field {
  border: none;
  padding: 0;
  margin: 0 0 26px;
  min-width: 0;
}

fieldset.field legend {
  padding: 0;
}

.field__note--inline {
  display: inline;
  font-weight: 400;
}

.field__label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--c-dark);
  margin-bottom: 8px;
}

.field__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: 2px;
}

.field__badge--req {
  background: var(--c-accent);
  color: #fff;
}

.field__badge--opt {
  background: var(--c-bg-alt);
  color: var(--c-muted);
  border: 1px solid var(--c-border);
}

.field__note {
  font-size: 12.5px;
  color: var(--c-muted);
  margin-top: 6px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 11px 13px;
  border: 1px solid #d7dce6;
  border-radius: 8px;
  background: #fff;
  color: var(--c-text);
}

.field textarea {
  resize: vertical;
  line-height: 1.8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18);
}

.choice-list {
  display: grid;
  gap: 6px;
  border: none;
}

.choice-list--2col {
  grid-template-columns: 1fr 1fr;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14.5px;
  color: var(--c-text);
  cursor: pointer;
  line-height: 1.7;
  padding: 4px 2px;
}

.choice input {
  margin-top: 5px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--c-accent);
  cursor: pointer;
}

.consent {
  border-top: 1px solid var(--c-border);
  padding-top: 22px;
  margin-bottom: 24px;
}

.consent .choice {
  font-size: 14px;
  color: var(--c-muted);
}

.form-card .btn--submit {
  display: block;
  width: 100%;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 15px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #5eead4 0%, #2dd4bf 55%, #14b8a6 100%);
  color: #042f2a;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 4px 14px rgba(20, 184, 166, 0.32);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.form-card .btn--submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 20px rgba(20, 184, 166, 0.42);
}

.form-card .btn--submit:disabled {
  background: #b9c6c3;
  box-shadow: none;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .form-card .btn--submit,
  .form-card .btn--submit:hover:not(:disabled) {
    transition: none;
    transform: none;
  }
}

.form-status {
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
  line-height: 1.7;
  min-height: 1px;
}

/* 登録完了画面（/register 送信成功時にフォームと差し替え） */
.done-box {
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-accent);
  border-radius: 14px;
  padding: 30px 24px;
  margin-top: 28px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(11, 17, 32, 0.05);
}

.done-box__title {
  font-size: 20px;
  color: var(--c-dark);
  margin-bottom: 12px;
}

.done-box p {
  color: var(--c-muted);
  font-size: 14.5px;
  max-width: 38em;
  margin: 0 auto 8px;
}

.done-box__cta {
  margin: 18px auto 6px;
}

.done-box__note {
  font-size: 12.5px !important;
  margin-top: 12px !important;
}

.form-fallback {
  margin-top: 20px;
  text-align: center;
}

/* ハニーポット（スパム対策・人間には非表示） */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- タブレット以上 ------------------------------------------------------ */

@media (min-width: 720px) {
  body {
    font-size: 16.5px;
  }

  .hero {
    padding: 124px 0 96px;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .section {
    padding: 110px 0;
  }

  .section__title {
    font-size: 34px;
    margin-bottom: 28px;
    padding-left: 18px;
  }

  .section__lead {
    font-size: 17px;
    margin-bottom: 44px;
  }

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

  .case {
    padding: 36px 40px;
  }

  .case__row {
    grid-template-columns: 176px 1fr;
    gap: 24px;
  }

  .case__row--answer {
    padding: 22px 24px;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .contrast {
    padding: 52px 0 8px;
  }

  .contrast__box {
    padding: 34px 40px;
    font-size: 18px;
  }

  .faq {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .steps {
    max-width: 860px;
  }

  .cta-band {
    padding: 90px 0;
  }

  .cta-band__title {
    font-size: 32px;
  }

  .site-header__brand {
    font-size: 18px;
  }

  .site-header__link {
    font-size: 14.5px;
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .register-hero__title {
    font-size: 34px;
  }

  .form-card {
    padding: 40px 46px;
  }
}

/* --- デスクトップ（写真を横に並べる幅） ----------------------------------- */

@media (min-width: 1000px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.72fr);
    align-items: center;
    gap: 64px;
  }

  .how-grid {
    grid-template-columns: minmax(0, 1fr) 400px;
    align-items: center;
    gap: 64px;
  }

  .how-grid__media img {
    aspect-ratio: auto;
    height: 100%;
    max-height: 480px;
  }

  .company-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: center;
    gap: 72px;
  }
}
