@charset "UTF-8";
/* ==========================================================
   LLMOコンサルティング (/service/llmo-consulting/)
   template: page-service-llmo-consulting.php

   ■ スコープ方針
     page-service.css / seo-consulting-service.css を前提に、
     2026-10 改修で追加・変更した部分だけをここに書く。
     既存クラス（el_fv_* / c_flow__* など）のルールは上書きせず、
     本文のラッパーに付けた .p-llmo の配下（p-llmo-* クラスなど）に当てる。
     page-service.css などを共有している SEOコンサルティング等のページには影響しない。
   ========================================================== */

/* ===== 共通 ===== */
.p-llmo .p-llmo-sp,
.p-llmo .p-llmo-br-sp {
  display: none;
}

@media (max-width: 800px) {
  .p-llmo .p-llmo-pc,
  .p-llmo .p-llmo-br-pc {
    display: none;
  }

  .p-llmo .p-llmo-sp {
    display: block;
  }

  .p-llmo .p-llmo-br-sp {
    display: inline;
  }
}

/* 全角かっこの空きを詰める */
.p-llmo .p-llmo-palt {
  font-feature-settings: "palt";
}

/* 語の途中で改行させない（入りきらないときは、この塊ごと次の行に送る） */
.p-llmo .p-llmo-nobr {
  display: inline-block;
}

/* ===== ページ内ナビ =====
   「LLMO研究の歩み」を足して9項目になり、1200〜1259px で文字が折り返すため少し縮める
   （1200px 未満は page-service.css でナビ自体が非表示） */
@media (max-width: 1259px) {
  .p-llmo .c_service_nav__list li a {
    font-size: 15px;
    white-space: nowrap;
  }
}

/* ===== FV ===== */
.p-llmo .p-llmo-fv__lead {
  color: #333;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.p-llmo .el_fv_mainttl.p-llmo-fv__title {
  color: #333;
  /* 2行目（AI検索対策・AIO・GEO）が約10.8文字分の幅。
     左の列幅は 801〜1279px で約 (100vw - 120px) / 2 なので、それに合わせて縮める（1280px 以上は列 580px・文字 53px） */
  font-size: clamp(30px, calc((100vw - 120px) / 22.2), 53px);
  font-weight: 700;
  line-height: 1.28;
  margin-top: 16px;
}

/* 2行目は中黒も詰めて、1行目と同じくらいの幅にする */
.p-llmo .p-llmo-fv__title-sub {
  font-feature-settings: "palt";
}

/* タイトル直下の資料ダウンロードボタン（見た目はページ内のボタンと同じ。
   大きさは page-service.css の .llmo-consulting .ly_fvWrapper .el_ctaList の指定を使い、幅だけ1つ用に変える） */
.p-llmo .ly_fvWrapper .p-llmo-fv__cta li {
  width: 300px;
  max-width: 100%;
}

@media (max-width: 800px) {
  /* 390px幅でデザインの文字サイズ。狭い端末では1行に収まるよう縮める */
  .p-llmo .p-llmo-fv__lead {
    font-size: clamp(16px, calc((100vw - 80px) / 15), 20px);
    line-height: 1.3;
  }

  .p-llmo .el_fv_mainttl.p-llmo-fv__title {
    font-size: clamp(20px, calc((100vw - 80px) / 11.2), 35px);
    line-height: 1.29;
    margin-top: 4px;
  }

  /* フォーム見出し：「せ」だけ次の行に落ちないよう、狭い端末では少し縮めて1行に収める（18px → 最小16px）。
     それでも入らない幅（320px 程度）では「お問い合わせ」ごと次の行に送る */
  .p-llmo .el_fv_form_ttl {
    font-size: clamp(16px, calc((100vw - 72px) / 18.2), 18px);
  }
}

/* ===== 今、LLMOに取り組むべき理由：出典 ===== */
.p-llmo .p-llmo-note {
  font-weight: 400;
  color: #333;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 40px;
}

.p-llmo .p-llmo-note a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 800px) {
  .p-llmo .p-llmo-note {
    margin-top: 10px;
  }
}

/* ===== お問い合わせ実績パネル（33.6%） ===== */
.p-llmo .p-llmo-inquiry {
  position: relative;
  max-width: 840px;
  margin: 59px auto 75px;
  padding: 35px 15px 35px;
  border: 3px solid #f5f5f5;
  border-radius: 10px;
  box-sizing: border-box;
}

.p-llmo .p-llmo-inquiry__ttl {
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
  width: 654px;
  max-width: calc(100% - 40px);
  padding: 6px 0;
  background: #fff;
  color: #014173;
  font-size: 20px;
  font-weight: 700;
  line-height: 23px;
  text-align: center;
  box-sizing: border-box;
}

.p-llmo .p-llmo-inquiry__txt {
  font-weight: 400;
  color: #333;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

/* PC：横棒グラフ */
.p-llmo .p-llmo-chart {
  position: relative;
  width: 536px;
  height: 138px;
  margin: 40px auto 0;
}

.p-llmo .p-llmo-chart__grid {
  position: absolute;
  top: 0;
  left: 102px;
  width: 399px;
  height: 138px;
}

.p-llmo .p-llmo-chart__line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 114px;
  background: #dee5d7;
}

.p-llmo .p-llmo-chart__line::after {
  font-weight: 400;
  content: attr(data-label);
  position: absolute;
  top: 117px;
  left: 50%;
  transform: translateX(-50%);
  color: #555;
  font-family: Arimo, Arial, sans-serif;
  font-size: 10px;
  line-height: normal;
  white-space: nowrap;
}

.p-llmo .p-llmo-chart__line--0 {
  left: 0;
  background: #888d83;
}

.p-llmo .p-llmo-chart__line--10 { left: 20%; }
.p-llmo .p-llmo-chart__line--20 { left: 40%; }
.p-llmo .p-llmo-chart__line--30 { left: 60%; }
.p-llmo .p-llmo-chart__line--40 { left: 80%; }
.p-llmo .p-llmo-chart__line--50 { left: 100%; }

.p-llmo .p-llmo-chart__row {
  position: absolute;
  left: 0;
  width: 100%;
  height: 35px;
}

.p-llmo .p-llmo-chart__row--ai {
  top: 12px;
}

.p-llmo .p-llmo-chart__row--search {
  top: 66px;
  height: 34px;
}

.p-llmo .p-llmo-chart__label {
  font-weight: 400;
  position: absolute;
  top: 50%;
  right: calc(100% - 95px);
  transform: translateY(-50%);
  color: #15191c;
  font-size: 18px;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.p-llmo .p-llmo-chart__row--search .p-llmo-chart__label {
  font-size: 14px;
}

.p-llmo .p-llmo-chart__label small {
  display: block;
  color: #555;
  font-size: 8px;
  line-height: 1.3;
}

.p-llmo .p-llmo-chart__bar {
  position: absolute;
  top: 0;
  left: 103px;
  height: 100%;
}

/* 0〜50% の目盛り幅（399px）に対する比率 */
.p-llmo .p-llmo-chart__row--ai .p-llmo-chart__bar {
  width: calc(399px * 33.6 / 50);
  background: #014173;
}

.p-llmo .p-llmo-chart__row--search .p-llmo-chart__bar {
  width: calc(399px * 35.1 / 50);
  background: #bdbdbd;
}

.p-llmo .p-llmo-chart__val {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  font-family: Arimo, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.p-llmo .p-llmo-chart__row--ai .p-llmo-chart__val {
  left: calc(103px + 399px * 33.6 / 50 + 10px);
  color: #014173;
}

.p-llmo .p-llmo-chart__row--search .p-llmo-chart__val {
  left: calc(103px + 399px * 35.1 / 50 + 10px);
}

/* SP：縦棒グラフ（画像） */
.p-llmo .p-llmo-inquiry__chartSp {
  width: 269px;
  max-width: 100%;
  margin: 31px auto 0;
}

.p-llmo .p-llmo-inquiry__chartSp img {
  display: block;
  width: 100%;
  height: auto;
}

/* グラフの出典（文字サイズは上の「※Semrush〜」と同じ） */
.p-llmo .p-llmo-inquiry__source {
  color: #333;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  margin-top: 16px;
}

@media (max-width: 800px) {
  .p-llmo .p-llmo-inquiry {
    max-width: 350px;
    margin: 56px auto 40px;
    padding: 80px 15px 40px;
  }

  .p-llmo .p-llmo-inquiry__ttl {
    top: -19px;
    width: 255px;
    padding: 0;
    line-height: 27px;
  }

  .p-llmo .p-llmo-inquiry__txt {
    width: 269px;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }
}

/* ===== ナイルのLLMO研究の歩み ===== */
.p-llmo .p-llmo-research {
  background: rgba(63, 162, 215, 0.05);
  padding: 86px 20px 92px;
}

.p-llmo .p-llmo-research__inner {
  max-width: 840px;
  margin-inline: auto;
}

.p-llmo .p-llmo-research__ttl {
  color: #014173;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.p-llmo .p-llmo-research__lead {
  color: #171b1e;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  margin-top: 22px;
}

/* 年表 */
.p-llmo .p-llmo-history {
  background: #fff;
  border: 1px solid #c7cdd6;
  border-radius: 10px;
  padding: 42px 22px 26px;
  margin-top: 22px;
  box-sizing: border-box;
}

.p-llmo .p-llmo-history__item {
  --llmo-history-color: #027ad8;
  position: relative;
  display: grid;
  grid-template-columns: 59px 231px 1fr;
  padding: 0 0 14px 29px;
}

.p-llmo .p-llmo-history__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 23px;
  height: 23px;
  border: 5px solid var(--llmo-history-color);
  border-radius: 50%;
  box-sizing: border-box;
}

.p-llmo .p-llmo-history__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  bottom: 0;
  left: 11px;
  width: 1px;
  background: #e0e0e0;
}

.p-llmo .p-llmo-history__item:nth-child(2) { --llmo-history-color: #026fc4; }
.p-llmo .p-llmo-history__item:nth-child(3) { --llmo-history-color: #0165b3; }
.p-llmo .p-llmo-history__item:nth-child(4) { --llmo-history-color: #025ca3; }
.p-llmo .p-llmo-history__item:nth-child(5) { --llmo-history-color: #01518f; }
.p-llmo .p-llmo-history__item:nth-child(6) { --llmo-history-color: #014173; }

.p-llmo .p-llmo-history__year {
  color: var(--llmo-history-color);
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
}

.p-llmo .p-llmo-history__name {
  color: #171b1e;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.p-llmo .p-llmo-history__txt {
  font-weight: 400;
  color: #171b1e;
  font-size: 16px;
  line-height: 23px;
}

/* 結論の帯 */
.p-llmo .p-llmo-research__summary {
  background: #014173;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  padding: 11px 20px;
  margin-top: 22px;
}

/* 実践者（細山） */
.p-llmo .p-llmo-leader__label {
  position: relative;
  z-index: 1;
  width: 479px;
  max-width: 100%;
  margin: 39px auto -22px;
  padding: 10px 10px 11px;
  background: #3fa2d7;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 23px;
  text-align: center;
  box-sizing: border-box;
}

.p-llmo .p-llmo-leader__label::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-top: 14px solid #3fa2d7;
  border-right: 12.5px solid transparent;
  border-left: 12.5px solid transparent;
}

.p-llmo .p-llmo-leader {
  background: #fff;
  padding: 36px 43px 30px 44px;
  box-sizing: border-box;
}

.p-llmo .p-llmo-leader__name {
  color: #014173;
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  text-align: center;
}

.p-llmo .p-llmo-leader__profile {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.p-llmo .p-llmo-leader__photo {
  flex-shrink: 0;
  width: 150px;
  height: 200px;
  margin: 0;
  background: #e5e7eb;
  overflow: hidden;
}

.p-llmo .p-llmo-leader__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-llmo .p-llmo-leader__txt {
  font-weight: 400;
  color: #171b1e;
  font-size: 14.2px;
  line-height: 24.5px;
}

.p-llmo .p-llmo-leader__areas {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

.p-llmo .p-llmo-leader__area {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 0;
  min-height: 106px;
  padding: 12px 14px;
  border: 1px solid #c7cdd6;
  border-radius: 10px;
  box-sizing: border-box;
}

/* .service-page img { width: 100% } を打ち消してデザインの寸法にする */
.p-llmo .p-llmo-leader__icon {
  flex-shrink: 0;
  display: block;
  height: auto;
}

.p-llmo .p-llmo-leader__icon--strategy {
  width: 66px;
}

.p-llmo .p-llmo-leader__icon--research {
  width: 50px;
}

.p-llmo .p-llmo-leader__areaTtl {
  color: #171b1e;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.p-llmo .p-llmo-leader__areaTxt {
  font-weight: 400;
  color: #171b1e;
  font-size: 13.5px;
  line-height: 23px;
  margin-top: 6px;
}

.p-llmo .p-llmo-leader__message {
  background: #014173;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  padding: 8px 20px;
}

/* 無料ツール */
.p-llmo .p-llmo-tools__ttl {
  color: #014173;
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
  margin-top: 84px;
}

.p-llmo .p-llmo-tools__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 753px;
  margin: 22px auto 0;
}

/* ツール・サービスのバナー（無料ツール2件・AIブランドプロテクトで共通） */
.p-llmo .p-llmo-tool {
  display: grid;
  grid-template-columns: 295px 1fr;
  /* イラストが文字より高いとき、余りを本文の下に回す（見出しと本文の間が広がらないように） */
  grid-template-rows: auto 1fr auto;
  max-width: 753px;
  margin-inline: auto;
  padding: 35px 48px 39px 24px;
  color: #fff;
  box-sizing: border-box;
}

.p-llmo .p-llmo-tool--report {
  background: linear-gradient(273.63deg, #4e84ff 17.04%, #c2d4ff 99.98%);
}

.p-llmo .p-llmo-tool--checker {
  background: linear-gradient(273.63deg, #005976 17.04%, #00a5dc 99.98%);
}

.p-llmo .p-llmo-tool--abp {
  background: linear-gradient(274.16deg, #131b3d 17.04%, #e0763b 99.98%);
  margin-top: 60px;
}

.p-llmo .p-llmo-tool__img {
  grid-column: 1;
  grid-row: 1 / 3;
  margin: 9px 0 0;
}

.p-llmo .p-llmo-tool__img img {
  display: block;
  width: 267px;
  height: auto;
}

.p-llmo .p-llmo-tool--checker .p-llmo-tool__img {
  margin: 5px 0 0 5px;
}

.p-llmo .p-llmo-tool--checker .p-llmo-tool__img img {
  width: 262px;
}

/* 天地の余白は上の2つのバナーと揃える */
.p-llmo .p-llmo-tool--abp .p-llmo-tool__img {
  margin: 9px 0 0 -6px;
}

.p-llmo .p-llmo-tool--abp .p-llmo-tool__img img {
  width: 274px;
  height: 185px;
}

.p-llmo .p-llmo-tool__sub {
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.p-llmo .p-llmo-tool__ttl {
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
  margin-top: 9px;
}

.p-llmo .p-llmo-tool__txt {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 18px;
}

.p-llmo .p-llmo-tool__btn {
  grid-column: 1 / -1;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 476px;
  max-width: 100%;
  min-height: 40px;
  margin-top: 30px;
  padding: 0 20px;
  background: #e4f8fd;
  border-radius: 45px;
  color: #000;
  font-size: 15px;
  font-weight: 700;
  line-height: 21px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.3s;
}

.p-llmo .p-llmo-tool__btn::after {
  content: "";
  flex-shrink: 0;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  border-left: 6px solid currentColor;
}

.p-llmo .p-llmo-tool__btn:hover {
  opacity: 0.7;
}

@media (max-width: 800px) {
  .p-llmo .p-llmo-research {
    padding: 20px 20px 40px;
  }

  .p-llmo .p-llmo-research__inner {
    max-width: 350px;
  }

  .p-llmo .p-llmo-research__ttl {
    font-size: 28px;
    line-height: 40px;
  }

  .p-llmo .p-llmo-research__lead {
    font-size: 14px;
    margin-top: 18px;
  }

  .p-llmo .p-llmo-history {
    padding: 23px 14px 6px;
    margin-top: 18px;
  }

  .p-llmo .p-llmo-history__item {
    grid-template-columns: 55px 1fr;
    padding: 0 0 17px 30px;
  }

  .p-llmo .p-llmo-history__item::before {
    top: 1px;
    left: 1px;
  }

  .p-llmo .p-llmo-history__item:not(:last-child)::after {
    top: 24px;
    left: 12px;
  }

  .p-llmo .p-llmo-history__year {
    grid-row: 1 / 3;
    font-size: 14px;
    line-height: 20px;
  }

  .p-llmo .p-llmo-history__name {
    font-size: 13px;
    line-height: 20px;
  }

  .p-llmo .p-llmo-history__txt {
    font-size: 13px;
    line-height: 22px;
  }

  .p-llmo .p-llmo-research__summary {
    font-size: 16px;
    line-height: 24px;
    padding: 16px 10px;
    margin-top: 18px;
  }

  .p-llmo .p-llmo-leader__label {
    width: 280px;
    margin: 40px auto -10px;
    padding: 12px 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .p-llmo .p-llmo-leader {
    padding: 24px 20px;
  }

  .p-llmo .p-llmo-leader__name {
    font-size: 14px;
    line-height: 22px;
  }

  .p-llmo .p-llmo-leader__profile {
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
  }

  .p-llmo .p-llmo-leader__photo {
    width: 100%;
  }

  .p-llmo .p-llmo-leader__areas {
    flex-direction: column;
    margin-top: 18px;
  }

  .p-llmo .p-llmo-leader__area {
    flex: none;
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding: 16px;
  }

  .p-llmo .p-llmo-leader__areaTxt {
    font-size: 13px;
    line-height: 22px;
  }

  .p-llmo .p-llmo-leader__message {
    font-size: 16px;
    line-height: 20px;
    padding: 11px 10px;
    margin-top: 25px;
  }

  /* 帯は画面幅いっぱいに広げる（.service-page が overflow: hidden なので横スクロールは出ない） */
  .p-llmo .p-llmo-tools__ttl {
    margin: 34px calc(50% - 50vw) 0;
    padding: 24px 20px;
    background: #e8f2f8;
    font-size: 24px;
  }

  .p-llmo .p-llmo-tools__list {
    gap: 20px;
    max-width: 350px;
    margin-top: 0;
  }

  .p-llmo .p-llmo-tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 350px;
    padding: 20px;
    border-radius: 10px;
  }

  .p-llmo .p-llmo-tool--report {
    background: linear-gradient(86.51deg, #4e84ff 19.81%, #c2d4ff 93.39%);
  }

  .p-llmo .p-llmo-tool--checker {
    background: linear-gradient(91.13deg, #005976 17.04%, #00a5dc 99.98%);
  }

  .p-llmo .p-llmo-tool--abp {
    background: linear-gradient(91.15deg, #131b3d 17.04%, #e0763b 99.98%);
    margin-top: 40px;
    padding: 22px 20px 20px;
  }

  .p-llmo .p-llmo-tool__head {
    order: 1;
    text-align: center;
  }

  .p-llmo .p-llmo-tool__img,
  .p-llmo .p-llmo-tool--checker .p-llmo-tool__img,
  .p-llmo .p-llmo-tool--abp .p-llmo-tool__img {
    order: 2;
    margin: 0;
  }

  .p-llmo .p-llmo-tool__txt {
    order: 3;
    margin-top: 0;
  }

  .p-llmo .p-llmo-tool__btn {
    order: 4;
    width: 100%;
    margin-top: 0;
  }

  .p-llmo .p-llmo-tool--report .p-llmo-tool__img img {
    height: 160px;
    object-fit: cover;
  }

  .p-llmo .p-llmo-tool__sub {
    font-size: 12px;
    line-height: 18px;
  }

  .p-llmo .p-llmo-tool--abp .p-llmo-tool__sub {
    font-size: 14px;
    line-height: 22px;
  }

  .p-llmo .p-llmo-tool__ttl {
    line-height: 30px;
    margin-top: 8px;
  }

  .p-llmo .p-llmo-tool--checker .p-llmo-tool__txt {
    font-size: 14px;
  }

  .p-llmo .p-llmo-tool--abp .p-llmo-tool__txt {
    padding: 0 12px;
  }

  .p-llmo .p-llmo-tool--checker .p-llmo-tool__btn {
    min-height: 54px;
  }

  .p-llmo .p-llmo-tool__btn {
    color: #333;
  }
}

/* ===== 選ばれる3つの理由 ===== */
/* デザインに合わせて背景は白（page-service.css の #F5FAFD を上書き） */
.p-llmo .c_service_ch.c_reason {
  background: #fff;
}

/* 見出しと本文の間を詰める（SP は既存CSSで余白なし） */
@media (min-width: 801px) {
  .p-llmo .c_reason__list-item__content p.c_reason__list-item__content__txt {
    padding-top: 4px;
  }
}

/* SP：既存CSSは見出しを絶対配置＋カード上余白80px固定のため、見出しが3行だと画像に重なり、
   1行だと間が空く。見出しを通常配置にして、行数に関係なく画像までの間隔を揃える */
@media (max-width: 800px) {
  .p-llmo .c_reason__list-item {
    padding-top: 0;
  }

  .p-llmo .c_reason__list-item__ttl {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: -30px auto 20px;
  }
}

/* ===== 高い推薦実績（ChatGPT例のみ） ===== */
.p-llmo .p-llmo-achievements__txt {
  margin-top: 20px;
}

/* ===== サービス内容と料金 ===== */
/* 「含まれるサービス」の1項目目が2行になるため、PC は全部の枠を2行分の高さに揃える
   （SP は1項目ずつ縦に並ぶので、該当の枠だけが広がる） */
@media (min-width: 801px) {
  .p-llmo .c_price__list.li-item--1 .c_price__list-item__bottom__list-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(14px * 1.6 * 2 + 16px);
    box-sizing: border-box;
  }
}

/* SP の見出し「LLMO（AI検索対策）＋SEO」は 360px 幅でちょうど収まる長さなので、それより狭い画面では文字を縮める */
@media (max-width: 800px) {
  .p-llmo .c_price__list-item__ttl {
    font-size: min(24px, calc((100vw - 80px) / 11.8));
  }
}

/* ===== ご支援のながれ ===== */
.p-llmo .p-llmo-flow {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 40px;
}

.p-llmo .p-llmo-flow__item {
  display: flex;
  align-items: stretch;
}

.p-llmo .p-llmo-flow__ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 194px;
  padding: 10px;
  background: #014173;
  border-radius: 10px 0 0 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  box-sizing: border-box;
}

.p-llmo .p-llmo-flow__body {
  flex: 1 1 auto;
  padding: 16px 20px 18px 38px;
  background: #f6f9ff;
  border-radius: 0 10px 10px 0;
}

.p-llmo .p-llmo-flow__list {
  list-style: disc;
  margin: 0;
  padding: 0;
}

.p-llmo .p-llmo-flow__list li {
  font-weight: 400;
  display: list-item;
  list-style: disc;
  color: #333;
  font-size: 16px;
  line-height: 25.6px;
}

/* 支援スケジュール */
.p-llmo .p-llmo-schedule {
  width: 100%;
  margin-top: 64px;
  border-collapse: collapse;
  table-layout: fixed;
}

/* 読み上げ用。画面には出さない */
.p-llmo .p-llmo-schedule__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.p-llmo .p-llmo-schedule col:nth-child(1) { width: 31%; }
.p-llmo .p-llmo-schedule col:nth-child(2) { width: 15.8%; }
.p-llmo .p-llmo-schedule col:nth-child(3),
.p-llmo .p-llmo-schedule col:nth-child(4) { width: 15.7%; }
.p-llmo .p-llmo-schedule col:nth-child(5) { width: 21.8%; }

.p-llmo .p-llmo-schedule th,
.p-llmo .p-llmo-schedule td {
  height: 36px;
  padding: 0 4px;
  border: 1px solid #c8cdd5;
  background: #fff;
  color: #181b1e;
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  vertical-align: middle;
}

.p-llmo .p-llmo-schedule thead th {
  background: #f2f3f5;
}

.p-llmo .p-llmo-schedule td.is-active {
  background: #56ccf2;
}

.p-llmo .p-llmo-schedule td.is-arrow-pc {
  background: #fff url(/img/service/llmo-consulting/icon_schedule_arrow_pc.svg) no-repeat left center / 154px 36px;
}

@media (max-width: 800px) {
  .p-llmo .p-llmo-flow {
    gap: 36px;
  }

  .p-llmo .p-llmo-flow__item {
    flex-direction: column;
  }

  .p-llmo .p-llmo-flow__ttl {
    width: 100%;
    min-height: 40px;
    padding: 5px 10px;
    border-radius: 10px 10px 0 0;
  }

  .p-llmo .p-llmo-flow__body {
    padding: 17px 20px 17px 44px;
    border-radius: 0 0 10px 10px;
  }

  .p-llmo .p-llmo-schedule {
    margin-top: 46px;
  }

  .p-llmo .p-llmo-schedule col:nth-child(1) { width: 25.8%; }
  .p-llmo .p-llmo-schedule col:nth-child(n+2) { width: 18.55%; }

  .p-llmo .p-llmo-schedule th,
  .p-llmo .p-llmo-schedule td {
    height: 72px;
    padding: 0 2px;
    line-height: 18px;
  }

  .p-llmo .p-llmo-schedule thead th {
    height: 46px;
    line-height: 14px;
  }

  .p-llmo .p-llmo-schedule td.is-arrow-pc {
    background: #fff;
  }

  .p-llmo .p-llmo-schedule td.is-arrow-sp {
    position: relative;
  }

  /* 横向きの矢印画像を90度回して下向きにする */
  .p-llmo .p-llmo-schedule td.is-arrow-sp::after {
    content: "";
    position: absolute;
    top: 10.34px;
    left: calc(50% - 19px);
    width: 38px;
    height: 17.32px;
    background: url(/img/service/llmo-consulting/icon_schedule_arrow_sp.svg) no-repeat center / 38px 17.32px;
    transform: rotate(90deg);
  }
}

/* ===== よくいただくご質問 ===== */
/* その他の質問ボタン削除後の余白 */
.p-llmo .p-llmo-faq .faq:last-child {
  margin-bottom: 0;
}

/* 設問はクリックしても何も起きないので、共通CSS（アコーディオン用）のポインターを外す */
.p-llmo .section-faq02 .faq .faq_flex,
.p-llmo .section-faq02 .faq .q {
  cursor: auto;
}

/* ===== ナイルが提供するデジタルマーケティングサービス =====
   AIブランドプロテクト（ai-brand-protect.css の 94 related）と同じ見た目 */
.p-llmo .c_service_ch.c_relation.p-llmo-related {
  background: #f8fafc;
}

.p-llmo .p-llmo-related .c_service_ch__inner {
  max-width: 1152px;
}

.p-llmo .p-llmo-related__ttl {
  color: #1b2b65;
}

.p-llmo .p-llmo-related__brSp {
  display: none;
}

.p-llmo .p-llmo-related__item--quarter {
  width: calc((100% - 54px) / 4);
  padding: 25px 20px;
}

.p-llmo .p-llmo-related__item--quarter a.main-link {
  font-size: 16px;
}

@media (max-width: 800px) {
  .p-llmo .p-llmo-related__item--quarter {
    width: 100%;
    padding: 20px;
  }

  .p-llmo .p-llmo-related__item--quarter a.main-link {
    font-size: 18px;
  }

  .p-llmo .p-llmo-related__brPc {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .p-llmo .p-llmo-related__ttl {
    font-size: 48px;
    line-height: 1.2;
  }

  .p-llmo .p-llmo-related__ttl small {
    font-size: 30px;
  }

  .p-llmo .p-llmo-related__brSp {
    display: inline;
  }
}
