@charset "UTF-8";
/* =========================================================
   下層ページ
   スマホを基本に書き、min-width で PC へ上書きする
   ========================================================= */

/* ---------- ページの見出し：トップビューと同じ方眼の地に、パンくず → 大きな英字（打ち込み）。日本語は見た目には出さない（h1 の中に読み上げ用に残す） ---------- */
.page-head {
  padding: calc(var(--header-h) + 48px) 0 40px;
  background-color: var(--c-white);
  background-image: var(--grid);
  background-size: 48px 48px;
  background-position: center bottom; /* 方眼の横線を下の罫線から数える（中央合わせだと罫線のすぐ上に線が来て二重に見えた） */
  border-bottom: 1px solid var(--c-line);
  position: relative;
  z-index: 1; /* 下へはみ出した方眼の線を、次の区画の白地より手前に出す */
  overflow-x: clip;
}
/* 方眼はトップビューと同じく JS で線を1本ずつ描く（common.js の rivGrid）。下の罫線は引かず、縦線が下の区画へ少しはみ出す。JSが無いときは背景の方眼と罫線のまま */
.is-js .page-head { background-image: none; border-bottom-color: transparent; }
.page-head__grid { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.page-head > .l-wrap { position: relative; }
.page-head__title { display: flex; flex-direction: column; align-items: flex-start; margin-top: 24px; }
.page-head__title .sec-title { font-size: clamp(3.6rem, 10vw, 5.6rem); } /* スマホは画面幅に合わせて（390pxで約3.9rem。Privacy Policy_ が1行に余裕を持って収まる） */
@media (min-width: 768px) {
  .page-head { padding: calc(var(--header-h) + 72px) 0 64px; background-size: 64px 64px; }
  .page-head__title { margin-top: 40px; }
  .page-head__title .sec-title { font-size: clamp(8rem, 7.4vw, 11.2rem); }
}

/* パンくず：英字で小さく、区切りは「/」 */
.breadcrumb__list { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-family: var(--ff-en); font-size: 1.3rem; letter-spacing: 0.08em; color: var(--c-gray-dark); }
.breadcrumb__list li + li::before { content: "/"; margin: 0 0.8em; color: var(--c-gray); }
.breadcrumb__list [aria-current] { color: var(--c-black); }

/* 下層ではフッターの上に黒いお問い合わせの面がないので、上に罫線を引く */
.is-sub main:not(:has(> .contact)) + .footer { border-top: 1px solid var(--c-line); } /* お問い合わせの面が無いページ（お問い合わせ・送信完了）だけ。面があればトップと同じく黒い面に直付け */

/* ---------- 区画：PCは左に見出し（スクロールしても残る）、右に中身。区画と区画の間は罫線 ---------- */
.sub-sec { padding: 72px 0; }
.sub-sec + .sub-sec { border-top: 1px solid var(--c-line); }
main > .sub-sec:last-child { padding-bottom: var(--sec-pad); }
.sub-sec__inner { display: grid; gap: 40px; }
.sub-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
@media (min-width: 768px) {
  .sub-sec { padding: 112px 0; }
  .sub-sec__inner { gap: 56px; }
}
@media (min-width: 1024px) {
  .sub-sec { padding: 136px 0; }
  .sub-sec__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
  .sub-sec__inner > .sub-sec__title { position: sticky; top: calc(var(--header-h) + 24px); }
  .sub-sec__inner--full { grid-template-columns: minmax(0, 1fr); }
  .sub-sec__body--right { grid-column: 2; } /* 左の見出しがない区画も、中身は右の列にそろえる */
}

/* 項目の表（会社概要・事例の概要） */
.info-list { margin: 0; border-top: 1px solid var(--c-line); }
.info-list__row { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.info-list__row dt { font-size: 1.3rem; color: var(--c-gray-dark); }
.info-list__row dd { margin: 0; line-height: 1.8; }
.info-list__row dd > span { display: block; }
/* 表の中の箇条書き（会社概要の事業内容・事例の Scope）：小さな黒い四角 */
.dot-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.dot-list li { position: relative; padding-left: 1.2em; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 5px; height: 5px; background: currentColor; }
@media (min-width: 768px) {
  /* 項目名と値の間に細い縦線（項目名のマスの右の線。値が複数行なら線も伸びる） */
  .info-list__row { grid-template-columns: 200px minmax(0, 1fr); gap: 0; padding: 28px 0; }
  .info-list__row dt { padding: 0.15em 24px 0 0; margin-right: 32px; border-right: 1px solid var(--c-line); font-size: 1.4rem; }
}

/* 大きな一文＋本文 */
.lead { font-size: 2rem; font-weight: 700; line-height: 1.7; letter-spacing: 0.06em; font-feature-settings: "palt"; }
.text { line-height: 2; color: var(--c-text); }
.lead + .text, .text + .text { margin-top: 20px; }
@media (min-width: 768px) {
  .lead { font-size: 2.8rem; }
  .lead + .text { margin-top: 32px; }
}

/* 番号つきの項目（できること・特長・やったこと）：番号は「01_」、上下は罫線。PCは2列 */
.item-list { display: grid; border-top: 1px solid var(--c-line); }
.item-list__item { padding: 24px 0 28px; border-bottom: 1px solid var(--c-line); }
.item-list__num { display: flex; align-items: flex-end; gap: 0.07em; font-family: var(--ff-en); font-weight: 500; font-size: 1.5rem; line-height: 0.8; letter-spacing: 0.04em; }
.item-list__title { margin-top: 16px; font-size: 1.7rem; font-weight: 700; line-height: 1.6; }
.item-list__text { margin-top: 8px; line-height: 1.9; color: var(--c-text); }
@media (min-width: 768px) {
  .item-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .item-list__item { padding: 32px 0 36px; }
  .item-list__title { margin-top: 20px; font-size: 1.9rem; }
}

/* 大きな画像（事例の画面・プロダクトのバナー） */
.figure { overflow: clip; background: var(--c-bg-gray); border: 1px solid var(--c-line); } /* 白っぽい画像でも地と分かれるよう、細い枠をつける */
.figure img { width: 100%; height: auto; }
.case-head__banner { max-width: 880px; margin: 0; } /* プロダクトのバナー：題の下に、横幅いっぱいにせず */

/* 事例のタイルを中身の列に置くとき（関連する事例）：2列 */
.works__grid--sub { gap: 2px; }
@media (min-width: 1024px) {
  .works__grid--sub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 文章のページ（プライバシーポリシー） */
.prose { line-height: 2; color: var(--c-text); }
.prose__intro { margin-bottom: 40px; }
.prose__item { padding: 28px 0 32px; border-top: 1px solid var(--c-line); }
.prose__item:last-child { border-bottom: 1px solid var(--c-line); }
.prose h2 { margin-bottom: 10px; font-size: 1.6rem; font-weight: 700; line-height: 1.6; color: var(--c-black); }
.prose ul { margin: 12px 0 0; padding-left: 1.4em; }
.prose li + li { margin-top: 6px; }
@media (min-width: 768px) {
  .prose__intro { margin-bottom: 56px; }
  .prose__item { padding: 36px 0 40px; }
  .prose h2 { margin-bottom: 14px; font-size: 1.8rem; }
}

/* ---------- ソリューションの親ページ ---------- */
.u-pc { display: none; }
@media (min-width: 768px) { .u-pc { display: inline; } }

/* 導入（見出しなし・文字だけ）：大きな一文の下に本文。どちらも左にそろえ、本文は読みやすい幅で折り返す */
.sub-intro { padding: 64px 0 72px; border-bottom: 1px solid var(--c-line); }
.sub-intro__lead { font-size: 2.8rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.04em; font-feature-settings: "palt"; }
.sub-intro__body { max-width: 46em; margin-top: 32px; }
@media (min-width: 768px) {
  .sub-intro { padding: 112px 0; }
  .sub-intro__lead { font-size: clamp(4rem, 4.4vw, 6.4rem); line-height: 1.4; }
  .sub-intro__body { margin-top: 48px; }
}
@media (min-width: 1024px) {
  .sub-intro { padding: 136px 0; }
  .sub-intro__body { margin-top: 56px; }
}

/* サービス：スマホはトップと同じく横に送るカード（.sol-status・.sol-track は common.css、動きは common.js）。768px からは送らずに全部並べる */
.sub-sec__inner--full > .sub-sec__title { position: static; } /* 全幅の区画は見出しを追従させない（中身に重なるため） */
.sub-sec--slide { overflow: clip; } /* 右へはみ出したカードを画面の端で切る */
.sol-slide .sol-status { margin-bottom: 20px; }
@media (min-width: 768px) {
  .sol-slide .sol-status { display: none; }
  .sol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; height: auto; touch-action: auto; user-select: auto; -webkit-user-select: auto; }
  .sol-grid .sol-card { position: relative; width: auto; height: auto; will-change: auto; }
  .sol-grid .pix { width: 96px; height: 96px; }
}
@media (min-width: 1600px) { .sol-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } } /* 見出しが左にあるので、右の列が広いときだけ3列 */

/* 区画の中の小見出し（h3）：メニューと同じ「>」で始まる小さな英字の行、その下に日本語。区画の見出し（大きな英字＋_）とは形を変える */
.sub-title { display: grid; gap: 10px; margin: 0; }
.sub-title__en { display: flex; gap: 0.5em; font-family: var(--ff-en); font-weight: 500; font-size: 1.6rem; line-height: 1; letter-spacing: 0.06em; color: var(--c-gray-dark); }
.sub-title__p { color: var(--c-gray); }
.sub-title__ja { font-size: 2.4rem; font-weight: 700; line-height: 1.4; letter-spacing: 0.04em; }
@media (min-width: 768px) { .sub-title__ja { font-size: 2.8rem; } }

/* 対応領域：黒い端末の画面。「>」の行が領域、「#」が主な内容（メニューの「>」・ロゴの「_」の仲間） */
.scope { margin-top: 88px; }
.scope-term { margin-top: 32px; overflow: hidden; border-radius: var(--radius); background: var(--c-black); color: var(--c-white); }
.scope-term__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--c-gray-dark); font-family: var(--ff-en); font-size: 1.2rem; letter-spacing: 0.08em; color: var(--c-gray); }
.scope-term__btns { display: flex; gap: 8px; }
.scope-term__btns i { width: 9px; height: 9px; border: 1px solid var(--c-gray); }
.scope-term__body { padding: 4px 20px 24px; }
.scope-term__list { margin: 0; }
.scope-term__row { display: grid; gap: 8px; padding: 18px 0; border-bottom: 1px dashed var(--c-gray-dark); }
.scope-term__row dt { display: flex; gap: 12px; font-size: 1.6rem; font-weight: 700; line-height: 1.6; }
.scope-term__p { flex: 0 0 auto; width: 1em; font-family: var(--ff-en); font-weight: 500; color: var(--c-gray); }
.scope-term__row dd { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 0; padding-left: 28px; font-size: 1.3rem; line-height: 1.8; color: var(--c-gray); }
.scope-term__row dd span::before { content: "# "; }
.scope-term__last { display: flex; gap: 12px; padding-top: 18px; font-size: 1.6rem; }
.scope-term__caret { display: inline-block; width: 0.6em; height: 0.12em; margin-top: 1.2em; background: var(--c-white); animation: blink 1.04s steps(1) infinite; }
@media (min-width: 768px) {
  .scope { margin-top: 136px; }
  .scope-term { margin-top: 48px; }
  .scope-term__body { padding: 8px 40px 36px; }
  .scope-term__row { padding: 20px 0; }
  .scope-term__row dt { font-size: 1.7rem; }
  .scope-term__row dd { padding-left: 29px; font-size: 1.4rem; }
}

/* 進め方の4段階：ローディングと同じく、太い線が01から順に伸びる。最後は四角が点滅して、公開後も続くことを表す。スマホは縦の線 */
.flow-bar { display: grid; margin: 0; padding: 0; list-style: none; }
.flow-bar__step { position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr); column-gap: 24px; padding-bottom: 32px; }
.flow-bar__bar { grid-row: 1 / span 3; position: relative; background: var(--c-gray-f0); }
.flow-bar__fill { position: absolute; inset: 0; background: var(--c-black); transform-origin: top; transform: scaleY(0); transition: transform 0.7s var(--ease-out) calc(var(--i) * 0.55s + 0.3s); }
.flow-bar.is-in .flow-bar__fill { transform: none; }
.flow-bar__num { display: flex; align-items: flex-end; gap: 0.07em; font-family: var(--ff-en); font-weight: 500; font-size: 2.4rem; line-height: 0.8; }
.flow-bar__title { margin-top: 16px; font-size: 1.7rem; font-weight: 700; line-height: 1.6; }
.flow-bar__text { margin-top: 8px; line-height: 1.9; color: var(--c-text); }
.flow-bar__step:last-child .flow-bar__bar::after { content: ""; position: absolute; left: 0; bottom: -20px; width: 12px; height: 12px; background: var(--c-black); opacity: 0; }
.flow-bar.is-in .flow-bar__step:last-child .flow-bar__bar::after { opacity: 1; animation: blink 1.04s steps(1) 2.6s infinite backwards; }
@media (min-width: 768px) {
  .flow-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 6px; }
  .flow-bar__step { display: block; padding: 0 24px 0 0; }
  .flow-bar__bar { display: block; height: 12px; margin-bottom: 28px; }
  .flow-bar__fill { transform-origin: left; transform: scaleX(0); }
  .flow-bar__step:last-child .flow-bar__bar::after { left: auto; right: -18px; bottom: 0; }
  .flow-bar__title { font-size: 1.8rem; }
}
/* 見出しが左にあって右の列が狭い間は、2つずつ */
@media (min-width: 1024px) and (max-width: 1279px) {
  .flow-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 6px; }
}

/* ---------- 制作事例の詳細：見出しの段は区画の名前（Works_）だけ。下の段にタグ・題（h1）・ひとことと項目、その下にPCの画面を並べる ---------- */
.case-head { padding: 64px 0 56px; }
.case-head__inner { display: grid; gap: 48px; }
.case-head__tags { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.case-head__tags li { display: inline-flex; align-items: center; font-size: 1.3rem; font-weight: 500; line-height: 1.4; letter-spacing: 0.04em; } /* 分野のタグは VIEW ALL と同じ［ ］で挟む */
/* 項目：罫線の表を1列に縦に積む（左に英字の項目名、右に値）。PCは左の列の幅に収まる。実施内容は箇条書き */
@media (min-width: 768px) { .case-meta .info-list__row { grid-template-columns: 144px minmax(0, 1fr); } }
.case-meta .info-list__row dt { font-family: var(--ff-en); font-weight: 500; letter-spacing: 0.06em; }
.case-meta .u-ext { font-family: var(--ff-en); font-size: 1.6rem; letter-spacing: 0.04em; }

.case-head__title { margin-top: 20px; font-size: 2.6rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.04em; font-feature-settings: "palt"; }
.case-head__lead { margin-top: 24px; line-height: 2; color: var(--c-text); }
.case-shots { display: grid; gap: 16px; padding-block: 16px 72px; }
.case-shots__item { margin: 0; }
/* スマホの画面を並べる（レプスキ）：角を丸めた縦長の画面を、スマホ2列・PC3列 */
.case-shots--sp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-shots--sp img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--c-line); }
/* 画面のイメージが1枚だけのとき（業務システム）も大きくせず、ほかの事例の1枚と同じ大きさ（PCは2列の1マス） */
.sub-works { padding-block: 72px var(--sec-pad); border-top: 1px solid var(--c-line); overflow: clip; } /* お問い合わせの面との間は空ける */
@media (min-width: 768px) {
  .case-head { padding: 96px 0 80px; }
  .case-head__tags li { font-size: 1.4rem; }
  .case-head__title { font-size: 3.4rem; }
  .case-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 24px 136px; }
  .case-shots--sp { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; gap: 48px; }
  .sub-works { padding-top: 112px; }
}
@media (min-width: 1024px) {
  .case-head__inner { gap: 64px; }
}

/* ---------- お問い合わせのフォーム ---------- */
.form { display: grid; gap: 32px; }
.form__field { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.form__label { display: flex; align-items: center; gap: 10px; padding: 0; font-size: 1.4rem; font-weight: 700; }
.form__req { padding: 1px 8px; font-size: 1.2rem; font-weight: 500; line-height: 1.6; background: var(--c-black); color: var(--c-white); }
.form__input {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 1.6rem; /* 16px未満だとスマホで拡大されるため */
  line-height: 1.6;
  color: var(--c-black);
  background: var(--c-bg-gray);
  border: 1px solid var(--c-bg-gray);
  border-radius: 0;
  appearance: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.form__input::placeholder { color: var(--c-gray); }
.form__input:focus { outline: none; border-color: var(--c-black); background: var(--c-white); }
textarea.form__input { min-height: 220px; resize: vertical; line-height: 1.8; }
.form__field.is-error .form__input { border-color: var(--c-error); background: var(--c-white); }
/* エラー：「>」で始まる赤い行（メニュー・ロゴの「>」の仲間）。出るときは少し上から（11/24 C案。最後の「_」は付けない） */
.form__error { display: flex; align-items: baseline; gap: 0.6em; font-size: 1.3rem; font-weight: 500; line-height: 1.6; color: var(--c-error); animation: form-err-in 0.3s var(--ease-out); }
.form__error::before { content: ">"; flex: 0 0 auto; font-family: var(--ff-en); font-weight: 500; }
@keyframes form-err-in { from { opacity: 0; transform: translateY(-4px); } }
.form__error:empty { display: none; }
/* 種別：札を並べ、選んだものだけ黒地に白い文字（11/24 B案。MENUボタン・必須の札の仲間）。札の左の小さな四角は、選ぶと塗られる
   見出し（legend）は grid の gap が効かないので、札の上に他の欄と同じだけ空きをとる */
.form__choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.form__choice, .form__choices .wpcf7-list-item label { position: relative; display: inline-flex; cursor: pointer; }
.form__choices input[type="radio"] { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.form__choices input[type="radio"] + span { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border: 1px solid var(--c-line); background: var(--c-white); font-size: 1.5rem; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.form__choices input[type="radio"] + span::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border: 1px solid currentColor; }
.form__choices input[type="radio"]:checked + span { background: var(--c-black); border-color: var(--c-black); color: var(--c-white); font-weight: 700; }
.form__choices input[type="radio"]:checked + span::before { background: currentColor; }
.form__choices input[type="radio"]:focus-visible + span { outline: 2px solid var(--c-black); outline-offset: 2px; }
/* 同意：□ ＋「プライバシーポリシー（押すと窓が開く）に同意する」＋ 必須。「に同意する」を押してもチェックが入る */
.form__agree { display: flex; align-items: center; gap: 8px; } /* 四角・文・必須を折り返さずに横に並べる（文が長いときは文の中で折り返す） */
/* 同意のチェック：四角が黒く塗られ、白い線のチェックが引かれる（11/24 B案）。四角と線は同じマスに重ねる */
.form__check { display: inline-grid; flex: 0 0 auto; margin-right: 2px; }
.form__check > * { grid-area: 1 / 1; }
.form__agree-box { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid var(--c-black); border-radius: 0; background: var(--c-white); cursor: pointer; transition: background-color 0.15s; }
.form__agree-box:checked { background: var(--c-black); }
.form__agree-box:focus-visible { outline: 2px solid var(--c-black); outline-offset: 3px; }
.form__field.is-error .form__agree-box { border-color: var(--c-error); }
.form__check-mark { width: 22px; height: 22px; pointer-events: none; }
.form__check-mark path { fill: none; stroke: var(--c-white); stroke-width: 2; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset 0.25s var(--ease-out) 0.05s; }
.form__agree-box:checked + .form__check-mark path, .form__check:has(.form__agree-box:checked) .form__check-mark path { stroke-dashoffset: 0; } /* :has は WordPress（Contact Form 7 が四角を入れ物で包む）用 */
.form__agree-text { min-width: 0; font-size: 1.5rem; }
.form__agree-text label { cursor: pointer; }
.form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 64px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--c-black);
  color: var(--c-white);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.form__submit .icon-arrow { width: 22px; height: 10px; }
.form__submit:disabled { background: var(--c-line); color: var(--c-gray-dark); cursor: not-allowed; }
.form__submit:disabled .icon-arrow { display: none; }
.form__note { font-size: 1.3rem; line-height: 1.8; color: var(--c-gray-dark); }
@media (min-width: 768px) {
  .form { gap: 36px; }
  .form__label { font-size: 1.5rem; }
  .form__submit { height: 72px; font-size: 1.7rem; }
}

/* プライバシーポリシーの窓（×か背景で閉じる）。開いている間は背面を止める */
body.is-modal-open { overflow: hidden; }
.modal { width: min(880px, calc(100% - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 0; background: var(--c-white); color: var(--c-black); overflow-y: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgb(34 34 34 / 0.6); }
.modal__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 20px; background: var(--c-white); border-bottom: 1px solid var(--c-line); font-weight: 700; }
.modal__close { position: relative; flex: 0 0 auto; width: 44px; height: 44px; }
.modal__close::before, .modal__close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 1.5px; background: currentColor; }
.modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.modal__body { padding: 24px 20px 40px; }
@media (min-width: 768px) {
  .modal__head { padding: 16px 16px 16px 32px; }
  .modal__body { padding: 32px 32px 56px; }
}

/* ---------- プロダクトの詳細：お悩み・頼めること・できること・想定するお仕事・比較・よくある質問 ---------- */

/* お悩み：お客様が口にしそうな言葉を、メニューと同じ「>」で始まる行で並べる（1列。数が奇数でも欠けない） */
.voice-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.voice-list li { position: relative; padding: 18px 20px 18px 44px; background: var(--c-bg-gray); font-weight: 700; line-height: 1.7; }
.voice-list li::before { content: ">"; position: absolute; left: 20px; top: 18px; font-family: var(--ff-en); font-weight: 500; color: var(--c-gray); }

/* できること（すごい業務改革）：領域ごとの札。番号（.item-list__num）・名前・一文の下に「主な内容」と「変わること」 */
.svc-list { display: grid; gap: 12px; }
.svc { padding: 28px 24px 32px; background: var(--c-bg-gray); border-radius: var(--radius); }
.svc__title { margin-top: 16px; font-size: 1.9rem; font-weight: 700; line-height: 1.5; }
.svc__text { margin-top: 8px; line-height: 1.9; color: var(--c-text); }
.svc__dl { display: grid; gap: 16px; margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--c-line); }
.svc__dl dt { font-size: 1.3rem; font-weight: 700; color: var(--c-gray-dark); }
.svc__dl dd { margin: 8px 0 0; line-height: 1.8; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.svc__tags li { padding: 4px 12px; background: var(--c-white); border: 1px solid var(--c-line); font-size: 1.3rem; line-height: 1.6; }

/* 想定するお仕事（LINE顧客管理）：ドット絵・業種・いつ何を送るか。2列、右の列が広いときは4列 */
.use-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.use { padding: 24px 16px; border: 1px solid var(--c-line); border-radius: var(--radius); }
.use .use__pix { display: block; width: 48px; height: 48px; margin: 0 auto; } /* アイコンだけ中央（ソリューションのカードと同じ） */
.use__title { margin-top: 20px; font-size: 1.6rem; font-weight: 700; line-height: 1.5; }
.use__text { margin-top: 8px; font-size: 1.3rem; line-height: 1.8; color: var(--c-text); }

/* ハガキ・メルマガとの違い：1マスに1項目、どのマスも中央ぞろえ。右端（LINE顧客管理）の列だけ黒い見出しと太字。
   スマホは項目名を行の上に出し、3つの値を横に並べる（項目名の列があると値の列が狭く、1〜2文字ずつで折り返すため） */
.compare__table { display: block; width: 100%; border-collapse: collapse; font-size: 1.3rem; line-height: 1.6; }
.compare__table thead, .compare__table tbody { display: block; }
.compare__table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--c-line); }
.compare__table th, .compare__table td { padding: 12px 8px; text-align: center; vertical-align: middle; }
.compare__table thead td { display: none; }
.compare__table thead th { font-weight: 700; background: var(--c-bg-gray); }
.compare__table thead th.is-ours { background: var(--c-black); color: var(--c-white); }
.compare__table tbody th { grid-column: 1 / -1; padding-bottom: 0; font-size: 1.2rem; font-weight: 500; color: var(--c-gray-dark); }
.compare__table td { color: var(--c-text); }
.compare__table td.is-ours { font-weight: 700; color: var(--c-black); }

/* よくある質問：Q と A の英字を左に置いた罫線の並び */
.faq { margin: 0; border-top: 1px solid var(--c-line); }
.faq__item { padding: 24px 0 26px; border-bottom: 1px solid var(--c-line); }
.faq__q, .faq__a { display: grid; grid-template-columns: 28px minmax(0, 1fr); }
.faq__q { font-weight: 700; line-height: 1.7; }
.faq__a { margin: 10px 0 0; line-height: 1.9; color: var(--c-text); }
.faq__mark { font-family: var(--ff-en); font-weight: 500; font-size: 1.7rem; line-height: 1.6; }
.faq__a .faq__mark { color: var(--c-gray); }

@media (min-width: 768px) {
  .voice-list { gap: 12px; }
  .voice-list li { padding: 26px 28px 26px 56px; font-size: 1.6rem; }
  .voice-list li::before { left: 28px; top: 26px; }
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .svc { padding: 36px 32px 40px; }
  .svc__title { margin-top: 20px; font-size: 2rem; }
  .use-list { gap: 16px; }
  .use { padding: 32px 28px; }
  .use .use__pix { width: 64px; height: 64px; }
  .use__title { margin-top: 24px; font-size: 1.8rem; }
  .use__text { font-size: 1.4rem; }
  .compare__table { display: table; table-layout: fixed; font-size: 1.5rem; }
  .compare__table thead { display: table-header-group; }
  .compare__table tbody { display: table-row-group; }
  .compare__table tr { display: table-row; }
  .compare__table th, .compare__table td { padding: 20px 16px; }
  .compare__table thead td { display: table-cell; width: 9em; }
  .compare__table tbody th { padding-bottom: 20px; font-size: inherit; }
  .faq__item { padding: 32px 0 34px; }
  .faq__q { font-size: 1.7rem; }
  .faq__q, .faq__a { grid-template-columns: 40px minmax(0, 1fr); }
  .faq__mark { font-size: 2rem; line-height: 1.4; }
}
@media (min-width: 1600px) { .use-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- WordPress（Contact Form 7）のフォーム：Contact Form 7 が足す入れ物を、静的HTMLと同じ並びにする。見た目は上のフォームの決まりのまま ---------- */
.form .wpcf7-form-control-wrap { display: block; }
.form__choices .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.form__choices .wpcf7-list-item { margin: 0; }
.form__check .wpcf7-form-control-wrap, .form__check .wpcf7-form-control, .form__check .wpcf7-list-item { display: block; margin: 0; }
.wpcf7-not-valid-tip, .wpcf7-spinner, .wpcf7 .hidden-fields-container { display: none; } /* エラーは欄のすぐ下の .form__error に出す（js/sub-page.js） */
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.wpcf7-response-output { margin: 20px 0 0; font-size: 1.4rem; line-height: 1.8; }
/* reCAPTCHA の右下のバッジは出さない（11/24）。代わりに、送信ボタンの下に reCAPTCHA の注記（.form__note）を出している（バッジを隠すときの Google の決まり） */
.grecaptcha-badge { visibility: hidden; }
.wpcf7-form.init .wpcf7-response-output, .wpcf7-form.submitting .wpcf7-response-output, .wpcf7-form.resetting .wpcf7-response-output, .wpcf7-form.sent .wpcf7-response-output { display: none; }
.wpcf7-form.invalid .wpcf7-response-output, .wpcf7-form.failed .wpcf7-response-output, .wpcf7-form.spam .wpcf7-response-output { color: var(--c-error); }

/* ---------- 404：主なページへの入口（箇条書きの■＋下線の文字） ---------- */
.notfound-links { gap: 12px; margin-top: 32px; }
@media (min-width: 768px) { .notfound-links { margin-top: 40px; } }

/* ---------- PCで乗せたとき ---------- */
@media (hover: hover) and (pointer: fine) {
  .form__submit:not(:disabled):hover .icon-arrow { animation: arrow-r 0.5s; }
}
