/* アキリブ 看板受け皿ページ — /contact 固有スタイル
   モバイル（390）を基準に書き、900px 以上で PC（1280）モックのレイアウトへ。 */

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* ---- ナビ ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 20px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.brand-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-org {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-3);
}

.brand-org-long {
  display: none;
}

.nav-tel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green);
}

.nav-actions {
  display: none;
}

.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.nav-tel .icon {
  color: var(--green-dark);
}

.nav-tel:hover {
  color: var(--green-dark);
}

.nav-form {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
  box-shadow: none;
}

/* ---- ヒーロー ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 20px 0;
}

.hero-blob {
  position: absolute;
  right: -90px;
  top: 230px;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: var(--green-tint);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
}

.hero-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.35;
}

.hero-lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}

.hero-actions,
.hero-note {
  display: none;
}

.hero-figure {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.hero-figure img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

/* ---- CTA ---- */
.cta {
  padding: 28px 20px;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-head p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}

.cta-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tel-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--radius-m);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tel-card:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-lg);
}

.tel-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}

.tel-card-label .icon {
  color: var(--green-dark);
}

.tel-card-number {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

/* フォーム：モバイルはボタン＋注記、PC は緑カード */
.form-btn {
  border-radius: var(--radius-m);
  min-height: 56px;
  padding: 0 18px;
}

.form-card {
  display: none;
}

.cta-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
  text-align: center;
}

/* ---- 流れ ---- */
.steps-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--green);
  color: var(--paper);
  font-size: 14px;
  font-weight: 800;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-title {
  font-size: 15px;
  font-weight: 800;
}

.step-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* ---- アキリブとは ---- */
.about-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: var(--paper);
  border: 1px solid var(--line);
}

.notice .icon {
  color: var(--green-dark);
  margin-top: 2px;
}

.notice p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
}

/* ---- 運営 ---- */
.org {
  padding-bottom: 120px; /* 下部固定CTAぶん */
}

.org-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.org-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.org-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.org-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.7;
}

.org-name {
  font-size: 15px;
  font-weight: 800;
}

.org-address a {
  text-decoration: underline;
}

.org-number {
  font-size: 13px;
  color: var(--ink-3);
}

.owner-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.owner-link:hover {
  color: var(--ink);
  border-color: var(--green);
  transform: translateY(-1px);
}

.owner-link strong {
  color: var(--green-dark);
}

.owner-link .icon {
  color: var(--green-dark);
}

.copyright {
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 8px;
}

/* ---- 下部固定CTA（モバイル） ---- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sticky-cta .btn {
  min-height: 48px;
  padding: 0 12px;
  border-radius: var(--radius-s);
  font-size: 14px;
  white-space: nowrap;
  box-shadow: none;
}

.sticky-cta .btn-outline {
  flex: 1;
  gap: 6px;
}

.sticky-cta .btn-primary {
  flex: 1.4;
}

/* =========================================================
   PC（900px 以上）
   ========================================================= */
@media (min-width: 900px) {
  .nav {
    padding: 18px 32px;
  }

  .brand {
    gap: 10px;
  }

  .brand-name {
    font-size: 26px;
  }

  .brand-org {
    font-size: 12px;
  }

  .brand-org-short {
    display: none;
  }

  .brand-org-long {
    display: inline;
  }

  .nav-tel-icon {
    display: none;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  /* ヒーロー */
  .hero {
    padding: 72px 32px 56px;
  }

  .hero-blob {
    right: calc(50% - 620px);
    top: 40px;
    width: 420px;
    height: 420px;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }

  .hero-copy {
    flex: 1 1 520px;
    min-width: 0;
    gap: 22px;
  }

  .badge {
    gap: 8px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .hero-title {
    font-size: 48px;
    line-height: 1.3;
  }

  .hero-lead {
    font-size: 17px;
    line-height: 1.9;
    max-width: 520px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 4px;
  }

  .hero-actions .btn {
    font-size: 17px;
  }

  .hero-actions .btn-primary {
    padding: 0 28px;
  }

  .hero-note {
    display: block;
    font-size: 13px;
    color: var(--ink-3);
  }

  .hero-figure {
    flex: none;
    margin: 0;
  }

  .hero-figure img {
    width: 300px;
  }

  /* CTA */
  .cta {
    padding: 64px 32px;
  }

  .cta-inner {
    gap: 36px;
  }

  .cta-head {
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .cta-head p {
    font-size: 15px;
  }

  .cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .tel-card {
    gap: 8px;
    padding: 28px 32px;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-card-lg);
  }

  .tel-card-label {
    font-size: 13px;
  }

  .tel-card-number {
    font-size: 40px;
  }

  .form-btn,
  .cta-note {
    display: none;
  }

  .form-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 28px 32px;
    border-radius: var(--radius-l);
    background: var(--green);
    color: var(--paper);
    text-decoration: none;
    box-shadow: var(--shadow-green-lg);
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

  .form-card:hover {
    color: var(--paper);
    background: var(--green-hover);
    transform: translateY(-2px);
  }

  .form-card-sub {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
  }

  .form-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.3;
  }

  .form-card-note {
    font-size: 14px;
    opacity: 0.9;
  }

  /* 流れ：PC では CTA セクションの続きとしてカード3列 */
  .steps {
    background: var(--ground);
    padding-top: 0;
  }

  .steps-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .steps-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .step {
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border-radius: var(--radius-m);
    background: var(--paper);
    border: 1px solid var(--line);
  }

  .step-num {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .step-body {
    gap: 10px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-desc {
    font-size: 14px;
  }

  /* アキリブとは */
  .about {
    background: var(--paper);
  }

  .about-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 48px;
  }

  .about-text {
    flex: 1 1 480px;
    min-width: 0;
    gap: 16px;
  }

  .notice {
    flex: 1 1 380px;
    min-width: 0;
    gap: 12px;
    padding: 20px 24px;
    border-radius: var(--radius-m);
    background: var(--ground);
  }

  .notice .icon {
    margin-top: 3px;
  }

  .notice p {
    font-size: 14px;
    line-height: 1.8;
  }

  /* 運営 */
  .org {
    background: var(--ground);
    border-top: 1px solid var(--line);
    padding: 56px 32px 40px;
  }

  .org-inner {
    gap: 32px;
  }

  .org-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
  }

  .org-info {
    flex: 1 1 420px;
    min-width: 0;
  }

  .org-title {
    font-size: 22px;
  }

  .org-address {
    font-size: 15px;
  }

  .org-name {
    font-size: 17px;
  }

  .org-number {
    font-size: 14px;
  }

  .owner-link {
    flex: 0 1 380px;
    align-self: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius-m);
    font-size: 14px;
    line-height: 1.6;
  }

  .owner-link strong {
    font-size: 16px;
  }

  .copyright {
    font-size: 12px;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .sticky-cta {
    display: none;
  }
}
