/*
 * AI×FAQ シェル配下ページ 共通スタイル
 *
 * LPの style.css を土台に、配下ページ（feature/introduction/case/price/flow/faq 等）
 * で共通利用する要素（ページ見出しヒーロー等）を追加する。
 * LP本体の style.css は変更しない。
 */

/* ページ見出しヒーロー（配下ページ共通） */
.aifaq-page-hero {
  position: relative;
  padding: 3.75rem 1.25rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, #eaf3ff 0%, #f6faff 100%);
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .aifaq-page-hero {
    padding: 9rem 1.25rem 4.5rem;
  }
}

.aifaq-page-hero__inner {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
}

.aifaq-page-hero .blue-tag {
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

.aifaq-page-hero__title {
  color: #0f172a;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 1rem;
}

@media screen and (min-width: 768px) {
  .aifaq-page-hero__title {
    font-size: 2.75rem;
  }
}

.aifaq-page-hero__lead {
  color: #334155;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.9;
}

@media screen and (min-width: 768px) {
  .aifaq-page-hero__lead {
    font-size: 1.0625rem;
  }
}

/*
 * FAQ（よくある質問）: LPの .faq は内部に見出しを持つ前提で大きな上部paddingを取るが、
 * 配下ページではheroが見出しを担うため、hero直後の .faq 上部paddingを詰めて余白バランスを整える。
 */
.aifaq-page-hero + .faq {
  padding-top: 1.25rem;
}

@media screen and (min-width: 768px) {
  .aifaq-page-hero + .faq {
    padding-top: 2rem;
  }
}

/*
 * FAQカテゴリ見出し: 固定ページ本文のH1/H2をカテゴリ区切りとして表示する。
 */
.faq__inner .faq__category {
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.125rem solid #1a63ff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  color: #0f2f8f;
}

.faq__inner .faq__category:first-child {
  margin-top: 0;
}

.faq__inner .faq__category + .faq__content {
  margin-top: 1.25rem;
}

@media screen and (min-width: 768px) {
  .faq__inner .faq__category {
    margin-top: 3.5rem;
    font-size: 1.5rem;
  }

  .faq__inner .faq__category + .faq__content {
    margin-top: 1.75rem;
  }
}

/* ================================
 * 特徴（feature）ヒーロー：青背景・2カラム
 * ================================ */
.aifaq-feature-hero {
  background: linear-gradient(135deg, #1a63ff 0%, #0f2f8f 100%);
  padding: 2.5rem 1.25rem;
  overflow: hidden;
}

.aifaq-feature-hero__inner {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.aifaq-feature-hero .blue-tag {
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.aifaq-feature-hero__title {
  color: #fff;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 1rem;
}

.aifaq-feature-hero__title .blue-text {
  color: #ffd08a;
}

.aifaq-feature-hero__lead {
  color: #eaf1ff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.8;
}

.aifaq-feature-hero__image {
  width: 100%;
  max-width: 460px;
}

.aifaq-feature-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (min-width: 768px) {
  .aifaq-feature-hero {
    padding: 4rem 1.25rem;
  }

  .aifaq-feature-hero__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 2.5rem;
  }

  .aifaq-feature-hero .blue-tag {
    margin-inline: 0;
  }

  .aifaq-feature-hero__text {
    flex: 1 1 auto;
  }

  .aifaq-feature-hero__title {
    font-size: 2.5rem;
  }

  .aifaq-feature-hero__lead {
    font-size: 1.125rem;
  }

  .aifaq-feature-hero__image {
    flex: 0 0 46%;
    max-width: 520px;
  }
}

/* ================================
 * 特徴（feature）本文：3つの特徴フロー
 * ================================ */
.aifaq-feature {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding: 3rem 1.25rem;
}

.aifaq-feature__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.aifaq-feature__block {
  background: #fff;
  border: 1px solid #e4ecf7;
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 35, 80, 0.06);
  padding: 1.75rem 1.25rem;
}

.aifaq-feature__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.aifaq-feature__num {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #1a63ff;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
}

.aifaq-feature__title {
  color: #0f2350;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

/* フロー共通 */
.aifaq-feature__flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.aifaq-feature__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.aifaq-feature__node-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aifaq-feature__node-icon svg {
  width: 100%;
  height: 100%;
}

.aifaq-feature__node-label {
  color: #0f2350;
  font-size: 0.9375rem;
  font-weight: 700;
}

.aifaq-feature__node-sub {
  color: #6b7a90;
  font-size: 0.75rem;
  font-weight: 600;
}

.aifaq-feature__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a63ff;
}

.aifaq-feature__arrow svg {
  width: 1.5rem;
  height: 1.5rem;
  transform: rotate(90deg);
}

.aifaq-feature__arrow--down svg {
  transform: none;
}

/* 01 文書アイコン群 */
.aifaq-feature__docs {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 1rem 1.5rem;
  justify-content: center;
}

.aifaq-doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.aifaq-doc__icon {
  width: 2.75rem;
  height: 3.3rem;
  display: block;
}

.aifaq-doc__icon svg {
  width: 100%;
  height: 100%;
}

.aifaq-doc__label {
  color: #4a5871;
  font-size: 0.75rem;
  font-weight: 700;
}

/* 03 組み合わせ */
.aifaq-feature__combine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.aifaq-feature__combine-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.aifaq-feature__node--card {
  background: #f6f9ff;
  border: 1px solid #e4ecf7;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  min-width: 9.5rem;
}

.aifaq-feature__plus {
  color: #1a63ff;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.aifaq-feature__result {
  color: #1a63ff;
  font-size: 1.125rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
  margin: 0.25rem 0 0;
}

.aifaq-feature__caption {
  color: #4a5871;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.9;
  text-align: center;
  margin: 1.75rem 0 0;
}

@media screen and (min-width: 768px) {
  .aifaq-feature {
    padding: 4.5rem 1.25rem;
  }

  .aifaq-feature__inner {
    gap: 3.5rem;
  }

  .aifaq-feature__block {
    padding: 2.5rem 2.75rem;
  }

  .aifaq-feature__num {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.125rem;
  }

  .aifaq-feature__title {
    font-size: 1.375rem;
  }

  .aifaq-feature__flow {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .aifaq-feature__arrow svg {
    transform: none;
    width: 2rem;
    height: 1.5rem;
  }

  .aifaq-feature__node-icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .aifaq-feature__docs {
    grid-template-columns: repeat(2, auto);
    gap: 0.75rem 1.25rem;
  }

  .aifaq-feature__caption {
    font-size: 0.9375rem;
  }
}

/* ================================
 * 活用シーン（case）カード
 * ================================ */
.aifaq-cases {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 3rem 1.25rem 0;
}

@media screen and (min-width: 768px) {
  .aifaq-cases {
    padding: 4.5rem 1.25rem 0;
  }
}

.aifaq-cases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media screen and (min-width: 768px) {
  .aifaq-cases__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

.aifaq-case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2ebf5;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 0.75rem 1.75rem rgba(26, 117, 255, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media screen and (min-width: 768px) {
  .aifaq-case-card {
    padding: 2.25rem 2rem;
  }
}

.aifaq-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.25rem 2.5rem rgba(26, 117, 255, 0.12);
}

.aifaq-case-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.aifaq-case-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.875rem;
  color: #fff;
}

.aifaq-case-card__icon--callcenter { background: linear-gradient(135deg, #2f86ff, #1a63ff); }
.aifaq-case-card__icon--helpdesk   { background: linear-gradient(135deg, #21c2d3, #12a3b6); }
.aifaq-case-card__icon--manual     { background: linear-gradient(135deg, #35c47a, #22a862); }
.aifaq-case-card__icon--ojt        { background: linear-gradient(135deg, #ffa24d, #ff8524); }

.aifaq-case-card__title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.4;
}

.aifaq-case-card__desc {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: #475569;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

.aifaq-case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.aifaq-case-card__tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1a63ff;
  background: #eaf1ff;
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
}

.aifaq-case-card__action {
  text-align: right;
}

.aifaq-case-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a63ff;
  border: 1.5px solid #1a63ff;
  border-radius: 999px;
  padding: 0.625rem 1.5rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.aifaq-case-card__btn:hover {
  background: #1a63ff;
  color: #fff;
}

/* 中間メッセージバナー */
.aifaq-case-message {
  width: 100%;
  max-width: 1000px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.25rem;
}

@media screen and (min-width: 768px) {
  .aifaq-case-message {
    margin-bottom: 4.5rem;
  }
}

.aifaq-case-message__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  background: linear-gradient(135deg, #2f86ff, #1a63ff);
  color: #fff;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
}

@media screen and (min-width: 768px) {
  .aifaq-case-message__inner {
    font-size: 1.1875rem;
    padding: 1.75rem 2.5rem;
  }
}

.aifaq-case-message__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
}

/*
 * 配下ページのCTA共通余白
 * LPトップのCTAは直上のbannerに `.cta__inner` の負マージンで重ねる設計。
 * bannerを持たない配下ページ（feature/case/price/flow/faq等）では、この負マージンが
 * 直前セクションにCTAカードを食い込ませ余白が詰まるため、負マージンを打ち消し上部余白を確保する。
 */
.cta:not(:has(.banner)) {
  padding-top: 3rem;
}

.cta:not(:has(.banner)) .cta__inner {
  margin-top: 0;
}

@media screen and (min-width: 768px) {
  .cta:not(:has(.banner)) {
    padding-top: 4.5rem;
  }
}

/* ================================
 * 料金プラン（price）
 * ================================ */
.aifaq-price {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding: 3rem 1.25rem 0;
}

@media screen and (min-width: 768px) {
  .aifaq-price {
    padding: 4.5rem 1.25rem 0;
  }
}

.aifaq-price__title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f2350;
  line-height: 1.35;
  margin: 0 0 2.5rem;
}

.aifaq-price__title .blue-text {
  color: #1a63ff;
}

@media screen and (min-width: 768px) {
  .aifaq-price__title {
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
  }
}

/* 料金構成の式（基本料金 + サイズ選択 = お支払い） */
.aifaq-price-formula {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

@media screen and (min-width: 900px) {
  .aifaq-price-formula {
    grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1.7fr) auto minmax(0, 0.9fr);
    gap: 0.5rem;
  }
}

.aifaq-price-formula__box {
  position: relative;
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.aifaq-price-formula__box--base {
  border: 2px solid #cfe0f5;
  background: #fff;
}

.aifaq-price-formula__box--select {
  border: 2px solid #cfe0f5;
  background: #fff;
}

.aifaq-price-formula__box--pay {
  background: linear-gradient(135deg, #2f86ff, #1a63ff);
  color: #fff;
}

.aifaq-price-formula__op {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1a63ff;
}

.aifaq-price-formula__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.5rem;
  color: #1a63ff;
}

.aifaq-price-formula__box--pay .aifaq-price-formula__icon {
  color: #fff;
}

.aifaq-price-formula__label {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.aifaq-price-formula__pay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fff;
  margin-bottom: 0.875rem;
}

.aifaq-price-formula__pay-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #1a63ff;
}

.aifaq-price-formula__label--pay {
  align-self: stretch;
  font-size: 1.375rem;
  font-weight: 800;
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.aifaq-price-formula__amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f2350;
}

.aifaq-price-formula__amount .unit {
  font-size: 0.875rem;
}

.aifaq-price-formula__tax {
  font-size: 0.75rem;
  color: #64748b;
}

.aifaq-price-formula__sub {
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 700;
}

.aifaq-price-formula__badge {
  position: absolute;
  top: -0.75rem;
  left: 1rem;
  background: #ff8524;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.875rem;
}

.aifaq-price-formula__select-head {
  margin: 0 0 0.875rem;
}

.aifaq-price-formula__select-sub {
  display: block;
  font-size: 1rem;
  color: #475569;
  font-weight: 700;
}

.aifaq-price-formula__select-main {
  display: block;
  font-size: 1.5rem;
  color: #1a63ff;
  font-weight: 800;
  line-height: 1.3;
}

.aifaq-price-formula__chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
}

.aifaq-price-formula__chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #dbe8fa;
  border-radius: 0.75rem;
  padding: 0.875rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f2350;
  text-align: center;
}

.aifaq-price-formula__chip svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #1a63ff;
}

/* サイズ料金テーブル */
.aifaq-price-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aifaq-price-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  background: #f2f8ff;
  border: 1px solid #dbe8fa;
  border-radius: 1rem;
  padding: 1.25rem;
}

@media screen and (min-width: 768px) {
  .aifaq-price-row {
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
  }
}

.aifaq-price-row__head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.aifaq-price-row__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a63ff;
}

.aifaq-price-row__icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.aifaq-price-row__title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #1a63ff;
  margin: 0 0 0.125rem;
}

.aifaq-price-row__desc {
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.aifaq-price-cell {
  display: block;
  position: relative;
  cursor: pointer;
  height: 100%;
}

.aifaq-price-cell__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.aifaq-price-cell__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  background: #fff;
  border: 1.5px solid #dbe8fa;
  border-radius: 0.75rem;
  padding: 0.875rem 0.75rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.aifaq-price-cell:hover .aifaq-price-cell__inner {
  border-color: #9dc0ff;
}

.aifaq-price-cell__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f2350;
  line-height: 1.2;
}

.aifaq-price-cell__value .unit {
  font-size: 0.8125rem;
  font-weight: 700;
  margin-left: 0.125rem;
}

.aifaq-price-cell__price {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f2350;
  margin-top: 0.25rem;
}

.aifaq-price-cell__tax {
  display: block;
  font-size: 0.6875rem;
  color: #64748b;
}

.aifaq-price-cell__size {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #64748b;
}

.aifaq-price-cell__size::before {
  content: "";
  width: 0.875rem;
  height: 0.875rem;
  border: 1.5px solid #b6c6dd;
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.aifaq-price-cell__input:checked + .aifaq-price-cell__inner {
  border-color: #1a63ff;
  background: #eef4ff;
  box-shadow: 0 0 0 1.5px #1a63ff inset;
}

.aifaq-price-cell__input:checked + .aifaq-price-cell__inner .aifaq-price-cell__size {
  color: #1a63ff;
}

.aifaq-price-cell__input:checked + .aifaq-price-cell__inner .aifaq-price-cell__size::before {
  background: #1a63ff;
  border-color: #1a63ff;
  box-shadow: 0 0 0 2px #fff inset;
}

.aifaq-price-cell__input:focus-visible + .aifaq-price-cell__inner {
  outline: 2px solid #1a63ff;
  outline-offset: 2px;
}

.aifaq-price-select-hint {
  text-align: center;
  margin: 1.5rem 0 1.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #475569;
}

.aifaq-price-select-hint .blue-text {
  color: #1a63ff;
  font-weight: 800;
}

/* シミュレーター STEP02: 選択中サイズの読み出し（料金表と連動） */
.aifaq-sim-picks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aifaq-sim-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border: 1.5px solid #dbe8fa;
  border-radius: 0.75rem;
  background: #f7faff;
}

.aifaq-sim-pick__name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 800;
  color: #1a63ff;
}

.aifaq-sim-pick__name svg {
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
}

.aifaq-sim-pick__detail {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.aifaq-sim-pick__size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  background: #1a63ff;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.aifaq-sim-pick__spec {
  font-size: 0.875rem;
  font-weight: 800;
  color: #0f2350;
}

.aifaq-sim-pick__price {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #1a63ff;
}

.aifaq-price-note-wrap {
  text-align: center;
  margin: 2rem 0 0;
}

.aifaq-price-lead {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #0f2350;
  line-height: 1.7;
}

.aifaq-price-lead .blue-text {
  color: #1a63ff;
}

@media screen and (min-width: 768px) {
  .aifaq-price-lead {
    font-size: 1.25rem;
  }
}

.aifaq-price-note {
  font-size: 0.8125rem;
  color: #475569;
  margin-top: 0.75rem;
}

/* シミュレーター */
.aifaq-sim {
  margin-top: 3.5rem;
  border-top: 2px dotted #b6c6dd;
  padding-top: 2.5rem;
}

.aifaq-sim__title {
  text-align: center;
  margin: 0 0 0.25rem;
}

.aifaq-sim__title-jp {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #1a63ff;
}

.aifaq-sim__title-en {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #94a3b8;
  font-weight: 700;
}

.aifaq-sim__steps-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 800;
  color: #0f2350;
  margin: 1.5rem 0 2rem;
  font-size: 0.9375rem;
}

.aifaq-sim__steps-label .step-key {
  color: #ff8524;
}

.aifaq-sim__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

@media screen and (min-width: 900px) {
  .aifaq-sim__grid {
    grid-template-columns: minmax(0, 0.85fr) auto minmax(0, 2fr) auto minmax(0, 1fr);
    gap: 0.5rem;
    align-items: stretch;
  }
}

.aifaq-sim__op {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1a63ff;
}

.aifaq-sim-card {
  border: 1px solid #dbe8fa;
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  background: #fff;
  position: relative;
}

.aifaq-sim-card__step {
  position: absolute;
  top: -0.9rem;
  left: 1.25rem;
  background: #1a63ff;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.05em;
}

.aifaq-sim-card--base {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.aifaq-sim-card__head {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0f2350;
  margin: 0 0 1rem;
}

.aifaq-sim-card__head .req {
  color: #ff8524;
  font-size: 0.8125rem;
}

.aifaq-sim-card--base .aifaq-price-formula__icon {
  color: #1a63ff;
}

.aifaq-sim-item {
  padding: 1rem 0;
  border-bottom: 1px solid #eef2f8;
}

.aifaq-sim-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.aifaq-sim-item:first-child {
  padding-top: 0;
}

.aifaq-sim-item__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #1a63ff;
  margin-bottom: 0.625rem;
}

.aifaq-sim-item__head svg {
  width: 1.5rem;
  height: 1.5rem;
}

.aifaq-sim-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.aifaq-sim-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.aifaq-sim-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.aifaq-sim-option__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  height: 100%;
  min-height: 3.25rem;
  border: 1.5px solid #dbe8fa;
  border-radius: 0.625rem;
  padding: 0.5rem 0.375rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.aifaq-sim-option__price {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #0f2350;
}

.aifaq-sim-option__size {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
}

.aifaq-sim-option input:checked + .aifaq-sim-option__body {
  border-color: #1a63ff;
  background: #1a63ff;
  color: #fff;
}

.aifaq-sim-option input:checked + .aifaq-sim-option__body .aifaq-sim-option__price,
.aifaq-sim-option input:checked + .aifaq-sim-option__body .aifaq-sim-option__size {
  color: #fff;
}

.aifaq-sim-option input:focus-visible + .aifaq-sim-option__body {
  outline: 2px solid #1a63ff;
  outline-offset: 2px;
}

.aifaq-sim-card--total {
  background: linear-gradient(160deg, #1f6dff, #1550d8);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.aifaq-sim-card--total .aifaq-sim-card__step {
  display: none;
}

.aifaq-sim-total__head {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.aifaq-sim-total__formula {
  font-size: 0.8125rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.aifaq-sim-total__amount {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
}

.aifaq-sim-total__amount .unit {
  font-size: 1rem;
}

.aifaq-sim-total__tax {
  font-size: 0.8125rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

/* ブースト機能 */
.aifaq-boost {
  width: 100%;
  max-width: 1040px;
  margin: 3.5rem auto 0;
  padding: 1.75rem 1.25rem;
  background: #eef4ff;
  border-radius: 1.25rem;
}

@media screen and (min-width: 768px) {
  .aifaq-boost {
    padding: 2.5rem;
  }
}

.aifaq-boost__title {
  text-align: center;
  font-size: 1.375rem;
  font-weight: 800;
  color: #0f2350;
  margin: 0 0 1.75rem;
}

.aifaq-boost__title .tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
  font-size: 0.75rem;
  background: #fff;
  border: 1.5px solid #1a63ff;
  color: #1a63ff;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

.aifaq-boost__title .accent {
  color: #1a63ff;
}

.aifaq-boost__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media screen and (min-width: 768px) {
  .aifaq-boost__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.aifaq-boost-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.aifaq-boost-card__size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #1a63ff;
  color: #fff;
  font-weight: 800;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.aifaq-boost-card__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f2350;
}

.aifaq-boost-card__count {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a63ff;
  margin: 0.25rem 0 0.75rem;
}

.aifaq-boost-card__count .unit {
  font-size: 0.9375rem;
}

.aifaq-boost-card__price {
  font-size: 1.1875rem;
  font-weight: 800;
  color: #0f2350;
}

.aifaq-boost-card__price .unit {
  font-size: 0.8125rem;
}

.aifaq-boost-card__tax {
  font-size: 0.75rem;
  color: #64748b;
}

.aifaq-boost__note {
  text-align: right;
  font-size: 0.8125rem;
  color: #475569;
  margin: 1rem 0 0;
}

.aifaq-boost__note + .aifaq-boost__note {
  margin-top: 0.25rem;
}

/* 無料トライアル */
.aifaq-trial {
  width: 100%;
  max-width: 1040px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.25rem;
}

@media screen and (min-width: 768px) {
  .aifaq-trial {
    margin-bottom: 4.5rem;
  }
}

.aifaq-trial__inner {
  position: relative;
  border: 2px solid #ffd8b0;
  background: #fff7f0;
  border-radius: 1.25rem;
  padding: 2.25rem 1.5rem 1.75rem;
}

@media screen and (min-width: 768px) {
  .aifaq-trial__inner {
    padding: 2.5rem;
  }
}

.aifaq-trial__badge {
  position: absolute;
  top: -0.9rem;
  left: 1.5rem;
  background: #ff8524;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.375rem 1rem;
}

.aifaq-trial__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .aifaq-trial__grid {
    grid-template-columns: auto 1fr;
    gap: 2rem;
  }
}

.aifaq-trial__head {
  text-align: center;
}

.aifaq-trial__catch {
  font-size: 1rem;
  font-weight: 800;
  color: #ff8524;
}

.aifaq-trial__name {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f2350;
  border-bottom: 2px dotted #ffbf8a;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.aifaq-trial__term {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f2350;
}

.aifaq-trial__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.aifaq-trial-spec {
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.875rem 0.5rem;
  text-align: center;
}

.aifaq-trial-spec__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #1a63ff;
  border-bottom: 1px solid #e2ebf5;
  padding-bottom: 0.375rem;
  margin-bottom: 0.375rem;
}

.aifaq-trial-spec__label svg {
  width: 1rem;
  height: 1rem;
}

.aifaq-trial-spec__value {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0f2350;
}

.aifaq-trial-spec__value .num {
  font-size: 1.25rem;
  color: #1a63ff;
}

.aifaq-trial__foot {
  grid-column: 1 / -1;
}

.aifaq-trial__memo {
  font-size: 0.8125rem;
  color: #475569;
  text-align: center;
  margin: 0.5rem 0 1rem;
}

.aifaq-trial__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
  background: linear-gradient(135deg, #ff9a3d, #ff7a00);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 1.125rem 1.5rem;
  text-decoration: none;
  box-shadow: 0 0.5rem 1.25rem rgba(255, 122, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.aifaq-trial__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.5rem rgba(255, 122, 0, 0.4);
}

.aifaq-trial__btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ================================
 * ご利用の流れ（flow）
 * ================================ */
.aifaq-flow {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding: 3rem 1.25rem 0;
  margin-bottom: 3rem;
}

@media screen and (min-width: 768px) {
  .aifaq-flow {
    padding: 4.5rem 1.25rem 0;
    margin-bottom: 4.5rem;
  }
}

.aifaq-flow__title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f2350;
  line-height: 1.35;
  margin: 0 0 2.5rem;
}

.aifaq-flow__title .blue-text {
  color: #1a63ff;
}

@media screen and (min-width: 768px) {
  .aifaq-flow__title {
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
  }
}

.aifaq-flow__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media screen and (min-width: 768px) {
  .aifaq-flow__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.aifaq-flow-step {
  position: relative;
  background: #fff;
  border: 1px solid #dbe8fa;
  border-radius: 1rem;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 0.5rem 1.5rem rgba(26, 99, 255, 0.06);
}

/* ステップ間の矢印 */
.aifaq-flow-step::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 1.5rem;
  height: 1.5rem;
  background: #2f86ff;
  -webkit-mask: url("/service/ai-faq/lp/assets/img/svg/flow-arrow.svg") no-repeat center / contain;
  mask: url("/service/ai-faq/lp/assets/img/svg/flow-arrow.svg") no-repeat center / contain;
  left: 50%;
  bottom: -2rem;
  transform: translateX(-50%) rotate(90deg);
}

.aifaq-flow-step:last-child::after {
  display: none;
}

@media screen and (min-width: 768px) {
  .aifaq-flow-step::after {
    left: auto;
    right: -1.4rem;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }
}

.aifaq-flow-step__tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f86ff, #1a63ff);
  color: #fff;
  margin-bottom: 1rem;
}

.aifaq-flow-step__tag-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.aifaq-flow-step__tag-num {
  font-size: 1.125rem;
  font-weight: 800;
}

.aifaq-flow-step__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6.5rem;
  margin-bottom: 1rem;
}

.aifaq-flow-step__image img {
  max-width: 100%;
  max-height: 100%;
}

.aifaq-flow-step__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f2350;
  margin: 0 0 0.75rem;
}

.aifaq-flow-step__text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #475569;
  text-align: left;
  margin: 0;
}


