/* ============================================================
   法人向けページ /biz/ 専用スタイル
   配色は wifi.nomad.inc 基準（teal #1fbec4 / #43c6ac / #65ebce）
   ============================================================ */

.biz-page {
  color: #333;
  line-height: 1.8;
  overflow-x: hidden;
  /* アイコン用カラートークン（サイト基調色から抽出） */
  --icon-stroke: #3a5560; /* ダークスレート */
  --icon-accent: #1fbec4; /* ブランドteal */
}

/* SVGアイコン共通 */
.biz-ic {
  display: block;
  flex: none;
  color: var(--icon-stroke);
}

/* カード上部: 44px + 角丸下敷き */
.biz-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(58, 86, 96, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.biz-card--case .biz-card-icon {
  background: rgba(31, 190, 196, 0.1);
}

/* 料金表の行頭 20px */
.biz-ic-inline {
  display: inline-block;
  vertical-align: -4px;
  margin-right: 8px;
}

/* フォーム見出し上: グラデ円形に白線アイコン */
.biz-form-ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1fbec4, #65ebce);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.biz-form-ic .biz-ic {
  color: #fff;
}

.biz-page section {
  padding: 60px 20px;
}

.biz-page .biz-section--slim {
  padding-top: 0;
}

.biz-page .biz-section--bg {
  background: #effcfb;
}

/* 見出し */
.biz-ttl {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 16px;
}

.biz-ttl::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1fbec4, #65ebce);
}

.biz-ttl-sub {
  font-size: 0.6em;
  font-weight: 400;
  color: #667681;
}

/* ① ヒーロー */
.biz-hero {
  text-align: center;
  padding: 70px 20px !important;
  background: linear-gradient(135deg, #effcfb 0%, #e2f1ff 100%);
}

.biz-badge {
  display: inline-block;
  background: #1fbec4;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 30px;
  padding: 6px 20px;
  margin-bottom: 20px;
}

.biz-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.biz-hero-sub {
  font-size: 18px;
  color: #667681;
  margin-bottom: 30px;
}

/* CTAボタン */
.biz-cta-btn {
  display: inline-block;
  background: #65ebce;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  border-radius: 40px;
  padding: 16px 48px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(31, 190, 196, 0.35);
  transition: 0.3s;
}

.biz-cta-btn:hover {
  background: #43c6ac;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.biz-cta-section {
  text-align: center;
  background: #effcfb;
}

.biz-cta-copy {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ②⑥ カード（お悩み・企業例） */
.biz-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.biz-card {
  flex: 1 1 280px;
  max-width: 320px;
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border-top: 4px solid #1fbec4;
}

.biz-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}

.biz-card p {
  font-size: 14px;
  color: #667681;
  margin: 0;
}

.biz-card--worry {
  border-top-color: #e87985;
}

/* ③ メリット */
.biz-merits {
  max-width: 800px;
  margin: 0 auto;
}

.biz-merit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.biz-merit-ic {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(31, 190, 196, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-merit h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.biz-merit p {
  font-size: 14px;
  color: #667681;
  margin: 0;
}

/* ④ 料金表 */
.biz-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.biz-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.biz-table th {
  background: #1fbec4;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
}

.biz-table td {
  padding: 16px;
  font-size: 14px;
  border-bottom: 1px solid #f0f2f5;
  vertical-align: middle;
}

.biz-table-plan {
  font-weight: 700;
  white-space: nowrap;
}

.biz-table-plan span {
  font-size: 12px;
  font-weight: 400;
  color: #667681;
}

.biz-table-price {
  font-size: 18px !important;
  font-weight: 700;
  color: #1fbec4;
  white-space: nowrap;
}

.biz-table-use {
  color: #667681;
}

.biz-table-care td {
  background: #effcfb;
}

.biz-table-care .biz-table-plan {
  color: #43c6ac;
}

/* 注記 */
.biz-notes {
  max-width: 900px;
  margin: 24px auto 0;
  padding: 0;
  list-style: none;
}

.biz-notes li {
  font-size: 12px;
  color: #667681;
  margin-bottom: 4px;
}

.biz-notes--box {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 0;
}

/* ⑤ ご利用の流れ */
.biz-steps {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.biz-steps li {
  flex: 1 1 160px;
  max-width: 185px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
}

.biz-steps li:not(:last-child)::after {
  content: "▶";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: #1fbec4;
  font-size: 12px;
  z-index: 1;
}

.biz-steps li .biz-ic {
  margin: 0 auto 10px;
}

.biz-step-num {
  display: inline-block;
  color: #1fbec4;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.biz-steps p {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}

/* フォーム */
.biz-form-section {
  background: linear-gradient(135deg, #effcfb 0%, #e2f1ff 100%);
}

.biz-form-sub {
  text-align: center;
  color: #667681;
  font-size: 14px;
  margin: -24px 0 32px;
}

.biz-form-card {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 40px 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.biz-form-intro {
  font-size: 14px;
  color: #667681;
  background: #effcfb;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 28px;
}

.biz-form-error {
  font-size: 14px;
  font-weight: 700;
  color: #c0392b;
  background: #fdeaea;
  border: 1px solid #e87985;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
}

/* ハニーポット（人間には見えない欄） */
.biz-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.biz-field {
  margin-bottom: 22px;
}

.biz-label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.biz-req,
.biz-opt {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  margin-right: 8px;
  vertical-align: 1px;
}

.biz-req {
  background: #e87985;
}

.biz-opt {
  background: #b0b8cc;
}

.biz-input,
.biz-select,
.biz-textarea {
  width: 100%;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 16px;
  background: #fafafa;
  transition: 0.2s;
}

.biz-input:focus,
.biz-select:focus,
.biz-textarea:focus {
  outline: none;
  border-color: #1fbec4;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 190, 196, 0.15);
}

.biz-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23667681' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.biz-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.biz-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  margin: 0;
  background: #fafafa;
  transition: 0.2s;
}

.biz-radio:hover {
  border-color: #1fbec4;
}

.biz-radio input {
  accent-color: #1fbec4;
  margin: 0;
}

.biz-consent {
  text-align: center;
  font-size: 14px;
  margin: 28px 0 8px;
}

.biz-consent label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
}

/* main.css が input[type='checkbox'] を display:none にしているため、
   同意チェックボックスはここで復活させて描画する */
.biz-consent input[type='checkbox'] {
  display: inline-block;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid #b0b8cc;
  border-radius: 5px;
  background: #fafafa;
  cursor: pointer;
  flex: none;
  position: relative;
  transition: 0.2s;
}

.biz-consent input[type='checkbox']::before,
.biz-consent input[type='checkbox']::after {
  content: none;
}

.biz-consent input[type='checkbox']:checked {
  background: #1fbec4;
  border-color: #1fbec4;
}

.biz-consent input[type='checkbox']:checked::after {
  content: '';
  display: block;
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 1;
}

.biz-consent a {
  color: #1fbec4;
  text-decoration: underline;
}

.biz-form-submit {
  text-align: center;
  margin-top: 24px;
}

.biz-submit {
  display: inline-block;
  background: #65ebce;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 40px;
  padding: 16px 64px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(31, 190, 196, 0.35);
  transition: 0.3s;
}

.biz-submit:hover {
  background: #43c6ac;
  color: #fff;
  transform: translateY(-2px);
}

/* 完了ページ */
.biz-thanks {
  text-align: center;
  padding: 80px 20px;
  max-width: 680px;
  margin: 0 auto;
}

.biz-thanks h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
}

.biz-thanks p {
  color: #667681;
  margin-bottom: 32px;
}

/* SP */
@media screen and (max-width: 767px) {
  .biz-page section {
    padding: 44px 16px;
  }

  .biz-hero {
    padding: 50px 16px !important;
  }

  .biz-hero h1 {
    font-size: 26px;
  }

  .biz-hero-sub {
    font-size: 15px;
  }

  .biz-ttl {
    font-size: 22px;
  }

  .biz-cta-btn {
    font-size: 16px;
    padding: 14px 32px;
  }

  .biz-card {
    max-width: 100%;
    flex-basis: 100%;
  }

  .biz-merit {
    padding: 16px;
  }

  .biz-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .biz-steps li {
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    text-align: left;
  }

  .biz-steps li .biz-ic {
    margin: 0;
  }

  .biz-step-body {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .biz-step-num {
    margin-bottom: 0;
    white-space: nowrap;
  }

  .biz-steps li:not(:last-child)::after {
    content: "▼";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -16px;
    transform: translateX(-50%);
  }

  .biz-form-card {
    padding: 28px 18px;
  }

  .biz-radio-group {
    gap: 8px;
  }

  .biz-radio {
    padding: 9px 12px;
    font-size: 13px;
  }

  .biz-submit {
    width: 100%;
    padding: 16px 20px;
  }
}
