/* =========================================================
   ほすぴタッチ 公式サイト リニューアル  共通スタイル
   ---------------------------------------------------------
   配色は現行サイト（https://hospi.ai/）から取得した値です。
   色を変える場合はこのブロックだけを編集してください。
   ========================================================= */
:root {
  /* 現行サイトの配色 */
  --green:        #0a786c;  /* メインカラー：ヘッダー・ボタン・見出し */
  --magenta:      #d1006c;  /* 強調：見出しアクセント・「業界初」 */
  --magenta-2:    #e60056;  /* 強調（明） */
  --yellow:       #fcc800;  /* AIチャット・注目 */
  --navy:         #203744;  /* 見出し・濃色テキスト */
  --ink:          #333333;  /* 本文 */
  --gray:         #f3f3f3;  /* 背景・フッター */
  --white:        #ffffff;

  /* 上記から作る補助色（同系の濃淡のみ） */
  --green-dark:   color-mix(in srgb, var(--green) 82%, #000);
  --green-soft:   color-mix(in srgb, var(--green) 9%, #fff);
  --green-line:   color-mix(in srgb, var(--green) 22%, #fff);
  --magenta-soft: color-mix(in srgb, var(--magenta) 8%, #fff);
  --ink-sub:      color-mix(in srgb, var(--ink) 72%, #fff);
  --line:         #e2e2e2;

  /* タイポ・レイアウト */
  --ff: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --ff-en: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --gutter: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 28px rgba(32, 55, 68, .08);
  --shadow-lg: 0 20px 50px rgba(32, 55, 68, .15);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ff); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.9; letter-spacing: .04em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
b, strong { font-weight: 700; }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding: 112px 0; }
.section--gray { background: var(--gray); }
.section--green-soft { background: var(--green-soft); }
.sp-only { display: none; }
.nw { white-space: nowrap; display: inline-block; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.text-magenta { color: var(--magenta); }
.text-green { color: var(--green); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.8em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; line-height: 1.4; cursor: pointer; transition: transform .2s, background-color .2s, color .2s, box-shadow .2s, border-color .2s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn .i { transition: transform .2s; }
.btn:hover .i { transform: translate(2px, -2px); }
.btn--lg { font-size: 1.05rem; padding: 1.05em 2.2em; }
.btn--block { width: 100%; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--green) 30%, transparent); }
.btn--green:hover { background: var(--green-dark); }
.btn--magenta { background: var(--magenta); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--magenta) 30%, transparent); }
.btn--magenta:hover { background: color-mix(in srgb, var(--magenta) 85%, #000); }
.btn--white { background: #fff; color: var(--green); }
.btn--white:hover { box-shadow: var(--shadow-lg); }
.btn--outline { border-color: var(--green); color: var(--green); background: #fff; }
.btn--outline:hover { background: var(--green-soft); }
.btn--outline-white { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--outline-white:hover { background: rgba(255,255,255,.12); }

/* ---------- header（現行と同じ緑のヘッダー） ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); background: var(--green); color: #fff; transition: box-shadow .3s, height .3s; }
.header.is-scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.header__inner { height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { width: 210px; height: auto; }
.gnav { display: flex; align-items: center; gap: 30px; }
.gnav__list { display: flex; gap: 6px; }
.gnav__list a { display: block; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; transition: background-color .2s; }
.gnav__list a:hover { background: rgba(255,255,255,.14); }
.gnav__list a[aria-current="page"] { background: #fff; color: var(--green); }
.gnav__contact { display: inline-flex; align-items: center; gap: 6px; padding: .7em 1.4em; border-radius: 8px; background: #fff; color: var(--green); font-weight: 700; font-size: .92rem; transition: background-color .2s, transform .2s; }
.gnav__contact:hover { transform: translateY(-1px); background: var(--yellow); color: var(--navy); }
.gnav__sub { display: none; }

.menu-btn { display: none; width: 46px; height: 46px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 12px; background: transparent; position: relative; cursor: pointer; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 21px; } .menu-btn span:nth-child(3) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 下層ページの見出し ---------- */
.page-head { position: relative; background: var(--green); color: #fff; padding: calc(var(--header-h) + 64px) 0 96px; overflow: hidden; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; background: var(--white); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.page-head--to-gray::after { background: var(--gray); }
.page-head__inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-head__en { font-family: var(--ff-en); font-weight: 600; letter-spacing: .14em; font-size: .9rem; opacity: .85; margin-top: 8px; }
.page-head__title { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 900; line-height: 1.3; letter-spacing: .06em; }
.page-head__robot { width: 190px; margin-bottom: -84px; position: relative; z-index: 2; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; opacity: .8; margin-bottom: 18px; }
.breadcrumb li + li::before { content: "／"; margin-right: 6px; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- section heading ---------- */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head__en { display: inline-block; font-family: var(--ff-en); font-weight: 700; letter-spacing: .2em; font-size: .82rem; color: var(--green); padding: 2px 14px; border: 1.5px solid var(--green-line); border-radius: 999px; }
.sec-head__title { margin-top: 16px; font-size: clamp(1.55rem, 3.2vw, 2.35rem); line-height: 1.55; font-weight: 900; color: var(--navy); }
.sec-head__title--magenta { color: var(--magenta); }
.sec-head__title--green { color: var(--green); }
.sec-head__desc { margin: 18px auto 0; max-width: 46em; color: var(--ink-sub); }
.sec-head--left { text-align: left; }
.sec-head--left .sec-head__desc { margin-left: 0; }
.marker { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--yellow) 55%, transparent) 62%); }

/* ---------- 汎用：画像＋テキスト ---------- */
.media { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.media--rev .media__img { order: 2; }
.media > *, .point > *, .worries > *, .hero__inner > *, .contact-layout > *, .support-item > * { min-width: 0; }
.media__img img { margin: 0 auto; }
.media__title { font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.6; font-weight: 900; color: var(--navy); }
.media__title--magenta { color: var(--magenta); }
.media__body { display: grid; gap: 1.1em; margin-top: 22px; color: var(--ink); }
.label { display: inline-block; font-size: .78rem; font-weight: 700; color: #fff; background: var(--magenta); padding: 2px 12px; border-radius: 4px; margin-bottom: 14px; letter-spacing: .1em; }

/* ---------- CTAバンド（オンライン相談） ---------- */
.cta-band { background: var(--green); color: #fff; border-radius: 28px; padding: 56px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cta-band::before { content: ""; position: absolute; right: -90px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 48px solid rgba(255,255,255,.07); }
.cta-band__title { font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 900; line-height: 1.55; }
.cta-band__time { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: rgba(255,255,255,.14); padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.cta-band__time b { color: var(--yellow); }
.cta-band__actions { display: grid; gap: 12px; position: relative; z-index: 1; }
.cta-band__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-band__sub .btn { padding: .8em 1em; font-size: .9rem; }

/* ---------- カード ---------- */
.card { background: #fff; border-radius: var(--radius); padding: 36px; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__title { font-size: 1.2rem; font-weight: 900; color: var(--navy); line-height: 1.6; }
.card__text { margin-top: 10px; color: var(--ink-sub); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- TOP: hero ---------- */
.hero { position: relative; background: var(--green); color: #fff; padding: calc(var(--header-h) + 56px) 0 150px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1.5px, transparent 1.5px); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: #fff; clip-path: ellipse(70% 100% at 50% 100%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hero__catch { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--green); font-weight: 700; padding: 6px 18px 6px 6px; border-radius: 999px; font-size: .9rem; }
.hero__catch span { background: var(--magenta); color: #fff; padding: 2px 12px; border-radius: 999px; }
.hero__title { margin-top: 26px; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; line-height: 1.28; letter-spacing: .06em; }
.hero__title em { font-style: normal; color: var(--yellow); }
.hero__lead { margin-top: 26px; font-size: 1.04rem; line-height: 2; opacity: .95; }
.hero__lead strong { color: var(--yellow); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { position: relative; }
.hero__screen { width: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.28)); }
.hero__robot { position: absolute; left: -6%; top: -18%; width: 38%; animation: float 4s ease-in-out infinite; }
.hero__badge { position: absolute; right: -2%; bottom: -10%; width: 28%; animation: spin-in 1s .4s both; }
@keyframes spin-in { from { transform: scale(.4) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- TOP: 出前 ---------- */
.delivery { text-align: center; }
.delivery__img { width: min(340px, 70%); margin: 0 auto; }
.delivery__title { margin-top: 28px; font-size: clamp(1.5rem, 3.4vw, 2.4rem); font-weight: 900; color: var(--green); line-height: 1.5; }
.delivery__text { margin-top: 20px; font-size: 1.1rem; font-weight: 700; line-height: 2; color: var(--navy); }

/* ---------- TOP: 課題 ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: pain; }
.pain { position: relative; background: #fff; border-radius: var(--radius); padding: 34px 28px 30px; box-shadow: var(--shadow); font-weight: 700; color: var(--navy); }
.pain::before { counter-increment: pain; content: "0" counter(pain); display: block; font-family: var(--ff-en); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--magenta); margin-bottom: 14px; }
.pain::after { content: ""; position: absolute; left: 36px; bottom: -9px; width: 18px; height: 18px; background: #fff; transform: rotate(45deg); }
.solve { margin-top: 64px; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; text-align: center; }
.solve__arrow { width: 0; height: 0; border-left: 26px solid transparent; border-right: 26px solid transparent; border-top: 22px solid var(--green); margin: 40px auto 0; }
.solve__text { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 900; color: var(--navy); line-height: 1.6; }
.solve__text strong { color: var(--green); }
.solve__num { font-family: var(--ff-en); color: var(--magenta); font-size: 1.5em; }

/* ---------- TOP: 強み ---------- */
.strength-list { display: grid; gap: 14px; }
.strength { display: block; border-radius: var(--radius-sm); padding: 26px 32px; text-align: center; position: relative; }
.strength__main { font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 900; line-height: 1.5; }
.strength__sub { margin-top: 4px; font-weight: 700; font-size: .95rem; }
.strength--magenta { background: var(--magenta); color: #fff; }
.strength--green { background: var(--green); color: #fff; }
.strength--line { border: 2px solid var(--green); color: var(--green); background: #fff; }
.strength__tag { position: absolute; left: -10px; top: -14px; background: #fff; color: var(--magenta); border: 2px solid var(--magenta); font-weight: 900; font-size: .8rem; padding: 2px 12px; border-radius: 6px; transform: rotate(-6deg); }
.strength-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strength-mini li { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 76px; padding: 14px; border: 2px solid var(--green); border-radius: var(--radius-sm); color: var(--green); font-weight: 900; text-align: center; line-height: 1.5; background: #fff; }

.people { position: relative; margin-top: 72px; }
.people img { width: 70%; }
.people__copy { position: absolute; font-weight: 900; color: var(--magenta); font-size: clamp(1.1rem, 2.6vw, 1.9rem); transform: rotate(-8deg); line-height: 1.5; text-align: center; }
.people--right img { margin-left: auto; }
.people--left .people__copy { right: 2%; top: 30%; }
.people--right .people__copy { left: 2%; top: 30%; }
.people__mid { text-align: center; font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 900; color: var(--green); margin: 28px 0; }

/* ---------- 動画（クリックで読み込み） ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--green); box-shadow: var(--shadow-lg); }
.video__btn { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: center / cover no-repeat; }
.video__btn::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.15); transition: background-color .2s; }
.video__btn:hover::before { background: rgba(0,0,0,.05); }
.video__play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--magenta); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .2s; }
.video__btn:hover .video__play { transform: scale(1.08); }
.video__play svg { width: 34px; height: 34px; fill: #fff; margin-left: 5px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { margin-top: 14px; text-align: center; font-size: .88rem; color: var(--ink-sub); }

/* ---------- 業種タグ ---------- */
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tags li { padding: 12px 22px; border-radius: 999px; background: #fff; border: 1.5px solid var(--green-line); font-weight: 700; color: var(--navy); }
.tags li strong { color: var(--magenta); }

/* ---------- ロゴ風 導入先一覧 ---------- */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.clients a, .clients li > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 18px 22px; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); font-weight: 700; color: var(--navy); line-height: 1.55; transition: border-color .2s, color .2s; }
.clients a:hover { border-color: var(--green); color: var(--green); }
.clients .i { color: var(--green); opacity: .7; }

/* ---------- ニュース ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.news-list a:hover { background: var(--green-soft); }
.news-list time { font-family: var(--ff-en); font-weight: 600; color: var(--green); }
.news-list .news__title { font-weight: 700; color: var(--navy); }
.news-list .news__excerpt { display: block; margin-top: 4px; font-size: .88rem; color: var(--ink-sub); font-weight: 400; }
.news-list .i { color: var(--green); }
.news-tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 10px; border-radius: 4px; margin-right: 8px; vertical-align: 2px; background: var(--green-soft); color: var(--green); }
.news-tag--important { background: var(--magenta); color: #fff; }

/* ---------- 初めての方：悩み ---------- */
.worries { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.bubbles { display: flex; flex-wrap: wrap; gap: 12px; }
.bubbles li { position: relative; background: #fff; border: 2px solid var(--navy); border-radius: 999px; padding: 10px 22px; font-weight: 700; color: var(--navy); }
.bubbles li:nth-child(3n+2) { border-color: var(--magenta); color: var(--magenta); }
.bubbles li:nth-child(3n) { border-color: var(--green); color: var(--green); }
.note { font-size: .82rem; color: var(--ink-sub); }
.prose { display: grid; gap: 1.2em; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 8px 0; }
.stat { background: #fff; border-radius: var(--radius); padding: 26px; text-align: center; border: 1px solid var(--line); }
.stat__label { font-size: .88rem; font-weight: 700; color: var(--ink-sub); }
.stat__num { font-family: var(--ff-en); font-weight: 800; color: var(--magenta); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.3; }
.stat__num small { font-family: var(--ff); font-size: .45em; color: var(--navy); margin-left: 4px; }

/* ---------- Q&A ---------- */
.qa-list { display: grid; gap: 22px; }
.qa { display: grid; grid-template-columns: 140px 1fr; gap: 36px; align-items: center; background: #fff; border-radius: var(--radius); padding: 36px 40px; border: 1px solid var(--line); }
.qa__icon { width: 120px; height: 120px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; }
.qa__icon img { width: 76px; }
.qa__q { font-size: 1.2rem; font-weight: 900; color: var(--navy); display: flex; gap: 10px; }
.qa__q::before { content: "Q."; color: var(--green); font-family: var(--ff-en); }
.qa__a { margin-top: 12px; display: grid; gap: .8em; color: var(--ink); }
.qa__more { margin-top: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--magenta); }

/* ---------- 関連リンク ---------- */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); line-height: 1.5; transition: border-color .2s, color .2s; }
.related a:hover { border-color: var(--green); color: var(--green); }
.related .i { color: var(--green); }

/* ---------- 特長・強み ---------- */
.manifesto { text-align: center; }
.manifesto__lines { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 900; color: var(--green); line-height: 1.8; }
.manifesto__lines span { display: block; }
.manifesto__lines span:nth-child(2) { color: var(--magenta); }
.manifesto__mid { margin-top: 32px; font-size: 1.1rem; font-weight: 700; color: var(--navy); line-height: 2; }
.manifesto__q { margin-top: 26px; display: inline-block; font-size: clamp(1.25rem, 2.8vw, 1.8rem); font-weight: 900; color: var(--navy); border-bottom: 4px solid var(--yellow); }
.manifesto__imgs { margin-top: 48px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; justify-content: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.manifesto__imgs img:last-child { width: 200px; }
.answer { text-align: center; }
.answer__lead { font-size: clamp(1.4rem, 3.2vw, 2.2rem); font-weight: 900; color: var(--magenta); line-height: 1.5; }
.answer__title { margin-top: 10px; font-size: clamp(1.4rem, 3.2vw, 2.2rem); font-weight: 900; color: var(--green); line-height: 1.5; }
.answer img { margin: 40px auto 0; width: min(100%, 900px); }

.point { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px dashed var(--green-line); }
.point:first-child { border-top: 0; }
.point--rev .point__img { order: 2; }
.point__no { font-family: var(--ff-en); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--green-line); }
.point__title { margin-top: 6px; font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 900; color: var(--green); line-height: 1.5; }
.point__body { margin-top: 18px; display: grid; gap: 1em; }
.point__quote { font-weight: 900; color: var(--magenta); font-size: 1.15rem; }
.point__img img { margin: 0 auto; }

/* ---------- 導入実績 ---------- */
.voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.voice { background: #fff; border-radius: var(--radius); padding: 36px; position: relative; border: 1px solid var(--line); }
.voice__head { display: flex; align-items: center; gap: 14px; }
.voice__head img { width: 52px; height: 52px; }
.voice__who { font-weight: 900; color: var(--green); line-height: 1.5; }
.voice__body { margin-top: 18px; display: grid; gap: .8em; }
.voice__body strong { background: linear-gradient(transparent 60%, color-mix(in srgb, var(--yellow) 50%, transparent) 60%); }
.voice::after { content: "”"; position: absolute; right: 24px; top: 4px; font-family: Georgia, serif; font-size: 5.5rem; line-height: 1; color: var(--green-soft); }

/* ---------- 料金 ---------- */
.price-intro { text-align: center; }
.price-intro__title { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 900; color: var(--navy); line-height: 1.7; }
.price-intro__title strong { color: var(--magenta); font-weight: 900; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: #fff; border-radius: 20px; border: 2px solid var(--green-line); overflow: hidden; }
.price-card__head { background: var(--green); color: #fff; padding: 20px 26px; display: flex; align-items: center; gap: 12px; }
.price-card__step { font-family: var(--ff-en); font-weight: 800; font-size: 1.6rem; line-height: 1; opacity: .6; }
.price-card__name { font-size: 1.2rem; font-weight: 900; }
.price-card__price { padding: 28px 26px 6px; text-align: center; color: var(--navy); }
.price-card__price .unit { display: block; font-size: .88rem; font-weight: 700; color: var(--ink-sub); }
.price-card__price .num { font-family: var(--ff-en); font-weight: 800; font-size: 2.8rem; color: var(--magenta); line-height: 1.25; }
.price-card__price .yen { font-size: 1.2rem; font-weight: 900; margin-right: 2px; color: var(--magenta); }
.price-card__price .tax { display: block; font-size: .8rem; color: var(--ink-sub); }
.price-card__notes { padding: 18px 26px 28px; display: grid; gap: 8px; font-size: .88rem; color: var(--ink-sub); flex: 1; }
.price-card__notes li { padding-left: 1.2em; position: relative; line-height: 1.7; }
.price-card__notes li::before { content: "・"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.price-card__foot { padding: 0 26px 28px; }
.price-card--featured { border-color: var(--magenta); }
.price-card--featured .price-card__head { background: var(--magenta); }
.pay { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pay li { background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); padding: 20px 14px; text-align: center; font-weight: 700; color: var(--navy); }
.pay li small { display: block; color: var(--ink-sub); font-weight: 400; font-size: .8rem; }
.banner-link { display: block; max-width: 760px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.banner-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- サポート ---------- */
.support-list { display: grid; gap: 28px; }
.support-item { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; background: #fff; border-radius: 22px; padding: 44px; border: 1px solid var(--line); }
.support-item__img { display: grid; place-items: center; background: var(--green-soft); border-radius: var(--radius); padding: 28px; min-height: 220px; }
.support-item__img img { max-height: 200px; width: auto; }
.support-item__title { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 900; color: var(--green); }
.support-item__body { margin-top: 14px; display: grid; gap: .8em; }
.support-item__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.chat-sample { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow); color: var(--navy); font-weight: 900; padding: 6px 16px; border-radius: 10px; font-size: .9rem; }

/* ---------- お問い合わせ ---------- */
.contact-layout { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.contact-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.side-box { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.side-box__title { font-weight: 900; color: var(--green); margin-bottom: 8px; }
.side-box p { font-size: .9rem; color: var(--ink-sub); }
.side-box .btn { margin-top: 14px; }
.notice { background: var(--magenta-soft); border-left: 4px solid var(--magenta); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 22px 26px; }
.notice__title { font-weight: 900; color: var(--magenta); margin-bottom: 8px; }
.notice ol { counter-reset: n; display: grid; gap: 6px; font-size: .9rem; }
.notice li { counter-increment: n; padding-left: 2em; position: relative; }
.notice li::before { content: "［" counter(n) "］"; position: absolute; left: -.4em; color: var(--magenta); font-weight: 700; font-size: .85em; top: .1em; }

.form { margin-top: 28px; background: #fff; border-radius: 22px; padding: 44px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__group + .form__group { margin-top: 36px; }
.form__group-title { font-weight: 900; color: var(--navy); padding-left: 12px; border-left: 4px solid var(--green); margin-bottom: 20px; }
.form__fields { display: grid; gap: 22px; }
.field { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.field__label { font-weight: 700; color: var(--navy); padding-top: 12px; line-height: 1.6; }
.req, .opt { display: inline-block; font-size: .7rem; font-weight: 700; padding: 1px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }
.req { background: var(--magenta); color: #fff; }
.opt { background: var(--gray); color: var(--ink-sub); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--gray); font-size: 16px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px var(--green-soft); }
.field textarea { resize: vertical; min-height: 180px; }
.field__help { font-size: .8rem; color: var(--ink-sub); margin-top: 6px; display: flex; justify-content: space-between; gap: 12px; }
.field__err { color: var(--magenta); font-size: .82rem; font-weight: 700; margin-top: 6px; display: none; }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--magenta); background: var(--magenta-soft); }
.field.is-error .field__err { display: block; }
.form__agree { margin-top: 32px; text-align: center; font-size: .92rem; }
.form__agree label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.form__agree input { width: 20px; height: 20px; accent-color: var(--green); }
.form__agree a { color: var(--green); text-decoration: underline; }
.form__agree.is-error { color: var(--magenta); font-weight: 700; }
.form__submit { margin-top: 24px; display: flex; justify-content: center; }
.form__submit .btn { min-width: 320px; }
.form__msg { margin-top: 18px; text-align: center; font-weight: 700; min-height: 1.5em; }
.form__msg.is-ok { color: var(--green); }
.form__msg.is-ng { color: var(--magenta); }

/* ---------- footer（現行と同じ薄グレー） ---------- */
.footer-cta { background: var(--gray); padding: 0 0 88px; }
.footer { background: var(--gray); color: var(--navy); padding: 64px 0 0; font-size: .92rem; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 24px; }
.footer__top a { font-weight: 700; display: inline-block; padding: 3px 0; }
.footer__top a:hover { color: var(--green); text-decoration: underline; }
.footer__top ul { display: grid; gap: 6px; }
.footer__bottom { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.footer__logo img { width: 420px; }
.footer__company { font-size: .95rem; line-height: 1.8; }
.footer__company b { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.footer__company a { text-decoration: underline; }
.footer__legal { margin-top: 40px; text-align: center; font-size: .82rem; line-height: 1.9; }
.footer__legal a { text-decoration: underline; }
.footer__copy { padding: 18px 0 26px; text-align: center; font-size: .8rem; color: var(--ink-sub); }

/* ---------- 固定ボタン ---------- */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; background: var(--yellow); color: var(--navy); font-weight: 900; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .9rem; transition: transform .2s; }
.chat-fab:hover { transform: translateY(-2px); }
.to-top { position: fixed; right: 20px; bottom: 84px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s, background-color .2s; }
.to-top.is-show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--green-dark); }
.sticky-cta { display: none; }

/* ---------- 表示アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .gnav { gap: 16px; }
  .gnav__list a { padding: 8px 10px; font-size: .88rem; }
  .header__logo img { width: 180px; }
}

/* タブレット以下：ハンバーガーメニュー */
@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .header__logo img { width: 168px; }
  .menu-btn { display: block; }
  .gnav { position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: stretch; gap: 20px; padding: 20px var(--gutter) 40px; background: var(--green); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s, visibility .3s; }
  .gnav.is-open { opacity: 1; visibility: visible; transform: none; }
  .gnav__list { flex-direction: column; gap: 0; }
  .gnav__list a { padding: 16px 6px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 1.05rem; display: flex; justify-content: space-between; }
  .gnav__list a::after { content: "→"; opacity: .6; }
  .gnav__list a[aria-current="page"] { background: transparent; color: var(--yellow); }
  .gnav__contact { justify-content: center; padding: 1em; font-size: 1rem; }
  .gnav__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .gnav__sub a { display: block; text-align: center; padding: 12px 8px; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; font-size: .88rem; font-weight: 700; }
  body.is-locked { overflow: hidden; }

  .hero__inner { grid-template-columns: 1fr; gap: 80px; }
  .hero__visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .media, .worries, .point { grid-template-columns: 1fr; gap: 36px; }
  .media--rev .media__img, .point--rev .point__img { order: 0; }
  .media__img img { width: min(100%, 440px); }
  .cta-band { grid-template-columns: 1fr; padding: 44px 36px; }
  .strength-mini, .grid-4, .related, .pay { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .price-cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .support-item { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-side { position: static; grid-template-columns: 1fr 1fr; order: 2; }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { grid-template-columns: 1fr; }
  .footer__logo img { width: 340px; }
  .page-head__robot { width: 140px; margin-bottom: -70px; }
}

/* スマートフォン */
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 15px; }
  .section { padding: 76px 0; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
  .sec-head { margin-bottom: 40px; }
  .sec-head__desc { text-align: left; }
  .header__logo img { width: 150px; }

  .hero { padding-top: calc(var(--header-h) + 36px); padding-bottom: 120px; }
  .hero__catch { font-size: .78rem; }
  .hero__lead { font-size: .96rem; }
  .hero__lead br { display: none; }
  .hero__actions .btn { flex: 1 1 100%; font-size: .95rem; padding: 1em 1.2em; }
  .hero__robot { width: 34%; top: -26%; left: -2%; }

  .page-head { padding: calc(var(--header-h) + 40px) 0 76px; }
  .page-head__robot { width: 96px; margin-bottom: -56px; }

  .pains, .grid-2, .grid-3, .voices { grid-template-columns: 1fr; gap: 16px; }
  .strength { padding: 20px 18px; }
  .strength-mini { grid-template-columns: 1fr 1fr; gap: 10px; }
  .strength-mini li { font-size: .9rem; min-height: 64px; }
  .people { margin-top: 48px; }
  .people__copy { position: static; transform: none; display: block; margin-bottom: 12px; }
  .people img { width: 100%; }

  .cta-band { padding: 36px 22px; border-radius: 20px; }
  .cta-band__sub { grid-template-columns: 1fr; }
  .card, .voice { padding: 26px 22px; }
  .clients, .related { grid-template-columns: 1fr; }
  .news-list a { grid-template-columns: 1fr auto; gap: 4px 14px; padding: 18px 4px; }
  .news-list time { grid-column: 1 / -1; font-size: .85rem; }
  .qa { grid-template-columns: 1fr; gap: 18px; padding: 28px 22px; }
  .qa__icon { width: 84px; height: 84px; }
  .qa__icon img { width: 52px; }
  .stat-row { grid-template-columns: 1fr; }
  .pay { grid-template-columns: 1fr 1fr; }
  .manifesto__imgs { grid-template-columns: 1fr; }
  .manifesto__imgs img:last-child { width: 170px; margin: 0 auto; }
  .support-item { padding: 24px 20px; }
  .support-item__img { min-height: 0; }

  .contact-side { grid-template-columns: 1fr; }
  .form { padding: 28px 20px; border-radius: 18px; }
  .field { grid-template-columns: 1fr; gap: 8px; }
  .field__label { padding-top: 0; }
  .form__submit .btn { min-width: 0; width: 100%; }

  .footer-cta { padding-bottom: 64px; }
  .footer__top { grid-template-columns: 1fr 1fr; font-size: .85rem; }
  .footer__logo img { width: 100%; }
  .footer { padding-bottom: 70px; }
  .chat-fab { bottom: 84px; right: 14px; padding: 10px 14px; font-size: .8rem; }
  .to-top { bottom: 140px; right: 14px; width: 42px; height: 42px; }
  .sticky-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -4px 16px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .3s; }
  .sticky-cta.is-show { transform: none; }
  .sticky-cta .btn { padding: .8em .6em; font-size: .86rem; }
}

/* =========================================================
   下層ページ（コンテンツページ・記事・フォーム）用
   ========================================================= */
.lead-block { max-width: 880px; margin: 0 auto; display: grid; gap: 1.1em; font-size: 1.05rem; }
.lead-block .quote { margin-bottom: .4em; }
.page-hero-img { margin: 0 auto 48px; border-radius: var(--radius); overflow: hidden; max-width: 1000px; box-shadow: var(--shadow); }
.page-hero-img img { width: 100%; }
.quote { font-size: clamp(1.25rem, 2.8vw, 1.8rem); font-weight: 900; color: var(--magenta); text-align: center; line-height: 1.6; }
.chapter { text-align: center; margin: 24px 0 8px; }
.chapter span { display: inline-block; font-size: clamp(1.2rem, 2.4vw, 1.55rem); font-weight: 900; color: #fff; background: var(--green); padding: 10px 28px; border-radius: 999px; }

.c-sections { display: grid; gap: 0; }
.c-sec { padding: 64px 0; border-top: 1px dashed var(--green-line); }
.c-sec:first-child { border-top: 0; padding-top: 0; }
.c-sec__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.c-sec--rev .c-sec__media { order: 2; }
.c-sec__media img { margin: 0 auto; border-radius: var(--radius-sm); }
.c-sec__media--sm img { max-width: 260px; }
.c-sec__head { margin-bottom: 18px; }
.c-sec__no { font-family: var(--ff-en); font-weight: 800; font-size: .9rem; color: #fff; background: var(--magenta); display: inline-block; padding: 2px 14px; border-radius: 999px; margin-bottom: 10px; letter-spacing: .1em; }
.c-sec__title { font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.55; font-weight: 900; color: var(--green); }
.c-sec__sub { margin-top: 6px; font-weight: 700; color: var(--magenta); }
.c-body { display: grid; gap: 1em; }
.c-body ul.ul { display: grid; gap: 8px; }
.c-body ul.ul li { position: relative; padding-left: 1.4em; }
.c-body ul.ul li::before { content: ""; position: absolute; left: .2em; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.c-body .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.box { background: var(--green-soft); border-radius: var(--radius-sm); padding: 20px 24px; display: grid; gap: .6em; border-left: 4px solid var(--green); }
.c-note { font-size: .85rem; color: var(--ink-sub); }
.c-figure { margin: 8px 0; }
.c-figure img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.c-figure figcaption { margin-top: 8px; font-size: .86rem; color: var(--ink-sub); text-align: center; }
.c-wide { display: block; margin: 0 auto; max-width: 900px; border-radius: var(--radius-sm); overflow: hidden; }

/* カードレイアウト（機能一覧） */
.c-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.c-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 32px; display: grid; gap: 14px; align-content: start; }
.c-card__icon { width: 96px; height: 96px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; overflow: hidden; }
.c-card__icon img { width: 80%; }

/* スクリーンショット */
.c-shot { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.c-shot__imgs { display: grid; gap: 16px; }
.c-shot__imgs figure img { width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.c-shot__imgs figcaption { font-size: .82rem; color: var(--ink-sub); margin-top: 6px; text-align: center; }
.c-shot--tall .c-shot__imgs img { max-height: 760px; object-fit: contain; object-position: top; background: #fff; }

/* ステップ */
.steps { display: grid; gap: 18px; counter-reset: st; }
.step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.step::before { counter-increment: st; content: counter(st); width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--ff-en); font-weight: 800; font-size: 1.6rem; display: grid; place-items: center; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 59px; bottom: -19px; width: 2px; height: 20px; background: var(--green-line); }
.step h3 { font-size: 1.15rem; font-weight: 900; color: var(--navy); }
.step p { margin-top: 6px; color: var(--ink-sub); }
.step .btn { margin-top: 12px; }

/* 定義リスト */
.defs { display: grid; border-top: 1px solid var(--line); }
.defs > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.defs dt { font-weight: 900; color: var(--green); font-family: var(--ff-en); }
.defs dd { margin: 0; }

/* 対談 */
.dialog { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: start; }
.dialog + .dialog { margin-top: 18px; }
.dialog__who { font-weight: 900; text-align: center; padding: 6px 4px; border-radius: 10px; font-size: .9rem; }
.dialog--a .dialog__who { background: var(--green); color: #fff; }
.dialog--b .dialog__who { background: var(--magenta); color: #fff; }
.dialog__txt { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; line-height: 1.95; }
.profile { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.profile + .profile { margin-top: 18px; }
.profile img { border-radius: 50%; width: 180px; height: 180px; object-fit: cover; }
.profile__name { font-size: 1.3rem; font-weight: 900; color: var(--navy); }
.profile__name small { margin-left: 10px; font-size: .8rem; color: var(--ink-sub); font-weight: 400; }
.profile p { margin-top: 10px; font-size: .94rem; }

/* 記事カード */
.a-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.a-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.a-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.a-card__img { aspect-ratio: 5 / 3; background: var(--green-soft); overflow: hidden; display: grid; place-items: center; }
.a-card__img img { width: 100%; height: 100%; object-fit: cover; }
.a-card__img--contain img { object-fit: contain; width: 60%; }
.a-card__body { padding: 18px 20px 22px; display: grid; gap: 6px; }
.a-card__date { font-family: var(--ff-en); font-weight: 600; color: var(--green); font-size: .85rem; }
.a-card__title { font-weight: 900; color: var(--navy); line-height: 1.6; }
.a-card__text { font-size: .86rem; color: var(--ink-sub); }
.a-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* SNS・リンク */
.l-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.l-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; transition: border-color .2s; }
.l-card:hover { border-color: var(--green); }
.l-card img { width: 56px; height: 56px; border-radius: 12px; }
.l-card b { display: block; color: var(--navy); }
.l-card small { color: var(--ink-sub); }

/* 資料 */
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.doc { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; transition: border-color .2s, transform .2s; }
.doc:hover { border-color: var(--green); transform: translateY(-2px); }
.doc__icon { width: 52px; height: 64px; border-radius: 8px; background: var(--magenta); color: #fff; font-family: var(--ff-en); font-weight: 800; font-size: .8rem; display: grid; place-items: center; flex: none; position: relative; }
.doc__icon::after { content: ""; position: absolute; right: 0; top: 0; border-left: 14px solid color-mix(in srgb, var(--magenta) 70%, #fff); border-bottom: 14px solid color-mix(in srgb, var(--magenta) 70%, #fff); border-top: 14px solid #fff; border-right: 14px solid #fff; width: 0; height: 0; border-radius: 0 8px 0 0; }
.doc__title { font-weight: 900; color: var(--navy); line-height: 1.5; }
.doc__meta { font-size: .82rem; color: var(--ink-sub); }
.doc .i { margin-left: auto; color: var(--green); }

/* 連載リスト */
.episodes { border-top: 1px solid var(--line); }
.episodes li { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; padding: 16px 6px; border-bottom: 1px solid var(--line); }
.episodes time { font-family: var(--ff-en); color: var(--green); font-weight: 600; }
.episodes b { color: var(--navy); }
.episodes .eps-links { display: flex; gap: 8px; }
.eps-links a { font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; border: 1.5px solid var(--green); color: var(--green); white-space: nowrap; }
.eps-links a:hover { background: var(--green); color: #fff; }

/* 記事ページ */
.article { max-width: 820px; margin: 0 auto; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 20px; }
.article__meta time { font-family: var(--ff-en); font-weight: 600; color: var(--green); }
.article__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; line-height: 1.55; color: var(--navy); }
.article__cover { margin: 28px 0 36px; border-radius: var(--radius); overflow: hidden; background: var(--green-soft); }
.article__cover img { width: 100%; }
.article__cover--icon { display: grid; place-items: center; padding: 40px; }
.article__cover--icon img { width: 120px; }
.article .c-body h2 { margin-top: 1.2em; font-size: 1.3rem; font-weight: 900; color: var(--green); padding-left: 14px; border-left: 4px solid var(--green); line-height: 1.5; }
.article-nav { margin-top: 56px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.article-nav a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-size: .88rem; color: var(--navy); font-weight: 700; line-height: 1.5; }
.article-nav a small { color: var(--green); font-family: var(--ff-en); font-weight: 700; }
.article-nav a:hover { border-color: var(--green); }
.article-nav .next { text-align: right; }
.article-nav .back { justify-content: center; align-items: center; background: var(--green); color: #fff; border-color: var(--green); }
.tag-chip { display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.tag-chip--important { background: var(--magenta); color: #fff; }
a.tag-chip:hover { background: var(--green); color: #fff; }

/* ニュース一覧の絞り込み */
.filters { display: grid; gap: 14px; margin-bottom: 36px; }
.filters__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters__label { font-weight: 900; color: var(--navy); font-size: .88rem; margin-right: 6px; min-width: 4em; }
.chip { border: 1.5px solid var(--green-line); background: #fff; color: var(--navy); font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.news-count { font-size: .88rem; color: var(--ink-sub); margin-bottom: 10px; }
.news-list li[hidden] { display: none; }
.news-empty { text-align: center; padding: 40px 0; color: var(--ink-sub); }

/* サイトマップ */
.sitemap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sitemap h2 { font-size: 1.05rem; font-weight: 900; color: var(--green); padding-bottom: 8px; border-bottom: 2px solid var(--green); margin-bottom: 10px; }
.sitemap ul { display: grid; gap: 6px; }
.sitemap a { font-weight: 700; color: var(--navy); }
.sitemap a:hover { color: var(--green); text-decoration: underline; }
.sitemap ul ul { margin: 6px 0 4px 1em; font-size: .92rem; }

/* フォーム追加 */
.radios { display: flex; gap: 24px; padding-top: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; }
.radios input { width: 18px; height: 18px; accent-color: var(--green); }
.team-row { display: grid; grid-template-columns: 1fr 140px; gap: 12px; }

/* 料金の注意書き */
.alert { display: flex; gap: 14px; align-items: flex-start; background: var(--magenta-soft); border: 1.5px solid color-mix(in srgb, var(--magenta) 40%, #fff); border-radius: var(--radius-sm); padding: 18px 22px; max-width: 900px; margin: 0 auto 48px; }
.alert b { color: var(--magenta); }
.alert .i { color: var(--magenta); width: 1.5em; height: 1.5em; margin-top: 2px; }
.alert a { color: var(--magenta); text-decoration: underline; font-weight: 700; }

@media (max-width: 1024px) {
  .c-sec__grid, .c-shot { grid-template-columns: 1fr; gap: 28px; }
  .c-sec--rev .c-sec__media { order: 0; }
  .c-sec__media img { max-width: min(100%, 460px); }
  .a-cards, .l-cards, .sitemap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .c-sec { padding: 44px 0; }
  .c-cards, .a-cards, .l-cards, .docs, .sitemap { grid-template-columns: 1fr; }
  .c-card { padding: 24px 20px; }
  .step { grid-template-columns: 1fr; padding: 22px 20px; gap: 12px; }
  .step::before { width: 48px; height: 48px; font-size: 1.2rem; }
  .step:not(:last-child)::after { display: none; }
  .defs > div { grid-template-columns: 1fr; gap: 4px; }
  .dialog { grid-template-columns: 1fr; gap: 6px; }
  .dialog__who { justify-self: start; padding: 2px 14px; }
  .profile { grid-template-columns: 1fr; text-align: center; padding: 22px; }
  .profile img { margin: 0 auto; width: 140px; height: 140px; }
  .profile p { text-align: left; }
  .episodes li { grid-template-columns: 1fr; gap: 6px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { text-align: left; }
  .team-row { grid-template-columns: 1fr 110px; }
}

/* =========================================================
   トップ：ファーストビュー（左右バランス調整版）
   ========================================================= */
.hero { padding: calc(var(--header-h) + 48px) 0 132px; }
.hero__inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); gap: 48px; align-items: center; min-height: min(640px, calc(100vh - var(--header-h) - 140px)); }
.hero__title { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
.hero__lead { max-width: 34em; }
.hero__trust { margin-top: 40px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid rgba(255,255,255,.22); padding-top: 22px; }
.hero__trust li { display: flex; align-items: center; gap: 10px; padding: 0 22px; border-left: 1px solid rgba(255,255,255,.22); }
.hero__trust li:first-child { padding-left: 0; border-left: 0; }
.hero__trust b { font-family: var(--ff-en); font-size: 2rem; line-height: 1; color: var(--yellow); white-space: nowrap; }
.hero__trust b small { font-family: var(--ff); font-size: .5em; margin-left: 2px; }
.hero__trust span { font-size: .78rem; line-height: 1.5; opacity: .9; }

.hero__visual { position: relative; padding: 48px 0 70px 24px; }
.hero__glow { position: absolute; inset: 6% 0 4% 8%; border-radius: 40px; background: radial-gradient(closest-side, rgba(255,255,255,.22), rgba(255,255,255,0)); filter: blur(10px); }
.hero__stage { position: relative; background: #fff; border-radius: 28px; padding: 28px 22px 22px; box-shadow: 0 40px 80px rgba(0,0,0,.28); transform: rotate(-2deg); }
.hero__stage::before { content: ""; position: absolute; left: 22px; top: 10px; width: 46px; height: 8px; border-radius: 99px; background: radial-gradient(circle, var(--magenta) 3.5px, transparent 4px) 0 0 / 14px 8px repeat-x; opacity: .9; }
.hero__screen { width: 100%; filter: none; }
.hero__robot { left: -4%; top: -6%; width: 30%; z-index: 2; }
.hero__badge { right: -3%; bottom: 0; width: 24%; z-index: 2; }
.hero__chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy); font-weight: 900; font-size: .88rem; padding: 10px 16px 10px 10px; border-radius: 999px; box-shadow: var(--shadow-lg); white-space: nowrap; animation: float 5s ease-in-out infinite; }
.hero__chip .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; stroke-width: 3; }
.hero__chip--a { right: 2%; top: 4%; }
.hero__chip--a .i { background: var(--green); }
.hero__chip--b { left: 0; bottom: 12%; animation-delay: -2.5s; }
.hero__chip--b .i { background: var(--magenta); }
.hero__note { position: absolute; left: 28%; right: 24%; bottom: 0; font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.92); text-align: center; }

@media (max-width: 1180px) {
  .hero__trust li { padding: 0 14px; }
  .hero__trust b { font-size: 1.6rem; }
}
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero__visual { max-width: 640px; margin: 0 auto; width: 100%; padding: 40px 12px 80px; }
  .hero__note { left: 10%; right: 10%; }
}
@media (max-width: 640px) {
  .hero__trust { grid-template-columns: repeat(3, 1fr); }
  .hero__trust li { flex-direction: column; align-items: flex-start; gap: 4px; padding: 0 10px; }
  .hero__trust b { font-size: 1.4rem; }
  .hero__trust span { font-size: .7rem; }
  .hero__stage { padding: 18px 12px 12px; border-radius: 18px; }
  .hero__chip { font-size: .72rem; padding: 6px 12px 6px 6px; }
  .hero__chip .i { width: 22px; height: 22px; }
  .hero__chip--a { top: 0; right: 0; }
  .hero__chip--b { bottom: 22%; }
  .hero__robot { width: 28%; top: -2%; left: -2%; }
  .hero__note { font-size: .74rem; left: 0; right: 0; }
  .hero__note br { display: none; }
}

/* AIチャット：Tayoriのボタンが表示されたらサイト独自ボタンは隠す */
button.chat-fab { border: 0; font: inherit; font-weight: 900; cursor: pointer; }
.has-tayori-chat .chat-fab { display: none; }
.has-tayori-chat .to-top { bottom: 20px; right: 90px; }
/* フォームのスパム対策用（人には見えない項目） */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* 調整 */
@media (min-width: 1025px) { .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.hero__lead br { display: none; }
.hero__lead { font-size: 1rem; }
.hero__trust span { white-space: nowrap; }
.hero__note { left: 4%; right: 30%; text-align: left; }
.hero__badge { bottom: 4%; }
@media (max-width: 1024px) { .hero__note { left: 6%; right: 30%; } }
@media (max-width: 640px) { .hero__note { left: 0; right: 26%; } .hero__trust span { white-space: normal; } }

/* グリッド内の大きな画像でレイアウトが横にはみ出さないようにする */
.c-sec__grid > *, .c-shot > *, .c-shot__imgs > *, .c-cards > *, .a-cards > *, .l-cards > *, .docs > *,
.profile > *, .step > *, .point > *, .manifesto__imgs > *, .people, .grid-2 > *, .grid-3 > *, .grid-4 > *,
.price-cards > *, .voices > *, .qa > *, .support-item > *, .cta-band > *, .hero__visual, .c-figure, .c-wide { min-width: 0; }
.c-figure img, .c-wide img, .c-sec__media img, .c-shot__imgs img, .page-hero-img img, .point__img img { max-width: 100%; height: auto; }
.c-body, .lead-block, .media__body, .point__body, .support-item__body, .qa__a { grid-template-columns: minmax(0, 1fr); }
.c-body > *, .lead-block > * { min-width: 0; }
.manifesto__imgs { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 640px) { .manifesto__imgs { grid-template-columns: minmax(0, 1fr); } }
.c-wide { width: 100%; } .c-wide img { width: 100%; }

/* 見出しを列の幅に合わせる（ブラウザの文字サイズ設定が大きい場合も「シフトはない」が1行に収まる） */
.hero__copy { container-type: inline-size; }
.hero__title { font-size: min(13cqi, 4.4rem); }

/* ロゴ・トップのAIロボットを少し大きく */
.header__logo img { width: 244px; }
.hero__robot { width: 37%; left: -6%; top: -9%; }
@media (max-width: 1180px) { .header__logo img { width: 204px; } }
@media (max-width: 1024px) { .header__logo img { width: 196px; } }
@media (max-width: 640px) {
  .header__logo img { width: 172px; }
  .hero__robot { width: 34%; top: -4%; left: -3%; }
}

/* AIロボットをさらに30%大きく（トップ・各ページタイトル） */
.hero__robot { width: 48%; left: -9%; top: -14%; }
.page-head__robot { width: 247px; margin-bottom: -109px; flex-shrink: 0; }
@media (max-width: 1024px) { .page-head__robot { width: 182px; margin-bottom: -91px; } }
@media (max-width: 640px) {
  .hero__robot { width: 44%; top: -8%; left: -4%; }
  .page-head__robot { width: 125px; margin-bottom: -73px; }
}

/* ---------- トップ：基本情報・よくあるご質問（AI検索・LLMO向けの要約） ---------- */
.overview__lead { font-size: 1.05rem; line-height: 2; background: #fff; border-left: 6px solid var(--green); border-radius: var(--radius-sm); padding: 24px 28px; }
.overview__lead strong { color: var(--navy); }
.facts { margin-top: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.facts > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { background: var(--green-soft); color: var(--green); font-weight: 900; padding: 16px 20px; }
.facts dd { padding: 16px 22px; line-height: 1.8; }
.overview__sub { margin-top: 56px; margin-bottom: 20px; text-align: center; font-size: 1.5rem; font-weight: 900; color: var(--navy); }
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq__q { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: baseline; padding: 18px 52px 18px 22px; position: relative; font-weight: 900; color: var(--navy); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before { content: "Q."; color: var(--green); font-family: var(--ff-en); font-weight: 800; }
.faq__q::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq__item[open] .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { padding: 0 22px 20px 52px; line-height: 1.9; }
@media (max-width: 640px) {
  .overview__lead { padding: 18px 18px; font-size: 1rem; }
  .facts > div { grid-template-columns: minmax(0, 1fr); }
  .facts dt { padding: 10px 16px; }
  .facts dd { padding: 12px 16px 16px; }
  .overview__sub { font-size: 1.3rem; margin-top: 44px; }
  .faq__q { padding: 16px 44px 16px 16px; }
  .faq__q::after { right: 18px; }
  .faq__a { padding: 0 16px 18px 16px; }
}

/* ---------- ニュース（シンプル・コンパクト／サムネイル付き） ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a.news-card { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 22px; align-items: center; padding: 18px 4px; border: 0; border-radius: 0; }
.news-list a.news-card:hover { background: none; }
.news-card__thumb { display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--green-soft); }
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-card__thumb--icon img { object-fit: contain; padding: 14%; }
.news-card:hover .news-card__thumb img { transform: scale(1.04); }
.news-card__body { display: block; min-width: 0; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .8rem; }
.news-card__meta time { font-family: var(--ff-en); font-weight: 700; color: var(--green); letter-spacing: .02em; }
.news-card__meta .tag-chip { font-size: .7rem; padding: 1px 9px; }
.news-card__title { margin: 6px 0 4px; font-size: clamp(1.08rem, 1.6vw, 1.28rem); font-weight: 900; line-height: 1.5; color: var(--navy); transition: color .2s; }
.news-card:hover .news-card__title { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.news-card__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .85rem; line-height: 1.7; color: var(--ink-sub); }
.filters { gap: 10px; margin-bottom: 24px; }
.filters .chip { font-size: .8rem; padding: 4px 12px; }
.news-count { margin-bottom: 6px; }
.article__meta { margin-bottom: 12px; gap: 8px 12px; font-size: .9rem; }
.article__title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; line-height: 1.45; letter-spacing: .02em; }
.article__cover { margin: 22px 0 30px; border-radius: 12px; }
.article__cover--icon { padding: 28px; }
.article__cover--icon img { width: 96px; }
.article-nav { margin-top: 44px; }
@media (max-width: 640px) {
  .news-list a.news-card { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px 0; align-items: start; }
  .news-card__title { font-size: 1rem; margin: 4px 0 0; }
  .news-card__excerpt { display: none; }
  .news-card__meta { font-size: .74rem; }
  .article__title { font-size: 1.45rem; }
}
.form__turnstile { margin: 8px 0 16px; display: flex; justify-content: center; min-height: 65px; }

/* トップの見出し：キャッチと主見出しを1つの h1 に（見た目は従来どおり） */
.hero__h1 { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.hero__h1 .hero__title { display: block; }
.facts dd a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* サイトマップ：文字サイズをそろえ、階層は字下げ・線・太さで表す */
.sitemap ul { gap: 8px; }
.sitemap a { font-size: .95rem; line-height: 1.6; }
.sitemap ul ul { margin: 8px 0 4px 2px; padding-left: 14px; border-left: 2px solid var(--green-line); font-size: inherit; gap: 6px; }
.sitemap ul ul a { font-size: .95rem; font-weight: 500; color: var(--ink); }

/* トップのリード文を少し太く（どの端末でも同じ太さになるよう Noto Sans JP の 500 を使用） */
.hero__lead { font-family: "Noto Sans JP", var(--ff); font-weight: 500; }

/* ---------- 本文の文字サイズを20%大きく（見出し・メニュー・ボタン・ラベルはそのまま） ---------- */
body { font-size: 19.2px; }
.hero__lead { font-size: 1.2rem; }
.lead-block, .overview__lead { font-size: 1.26rem; }
.strength__sub { font-size: 1.14rem; }
.video-note, .stat__label, .price-card__notes { font-size: 1.06rem; }
.note, .doc__meta, .hero__note, .c-shot__imgs figcaption { font-size: .98rem; }
.side-box p, .notice ol { font-size: 1.08rem; }
.form__agree { font-size: 1.1rem; }
.c-note, .news-card__excerpt { font-size: 1.02rem; }
.c-figure figcaption, .a-card__text { font-size: 1.03rem; }
.article-nav a { font-size: 1.06rem; }
@media (max-width: 640px) {
  body { font-size: 18px; }
  .hero__lead { font-size: 1.15rem; }
  .overview__lead { font-size: 1.2rem; }
  .hero__note { font-size: .89rem; }
}
.profile p { font-size: 1.13rem; }
.delivery__text, .manifesto__mid { font-size: 1.32rem; }
.point__quote { font-size: 1.38rem; }
/* 画像下の説明文は画像の下に並べる（文字が大きくなっても重ならない） */
.hero__visual { padding: 0; }
.hero__frame { position: relative; padding: 48px 0 24px 24px; }
.hero__note { position: static; margin: 28px 30% 0 4%; }
.hero__chip--b { bottom: 0; }
@media (max-width: 1024px) {
  .hero__visual { padding: 0; }
  .hero__frame { padding: 40px 12px 24px; }
  .hero__note { margin: 28px 6% 0; }
}
@media (max-width: 640px) {
  .hero__note { margin: 24px 0 0; }
  .hero__chip--b { bottom: 4px; }
}
/* ヘッダーメニューは折り返さない（本文の字間が広がっても1行に収める） */
.gnav__list a, .gnav__contact { white-space: nowrap; letter-spacing: .04em; }
/* 画像下の説明文は固定の改行をやめ、幅に合わせて自然に折り返す */
.hero__note br { display: none; }
.hero__note { margin-right: 14%; }
@media (max-width: 1024px) { .hero__note { margin-right: 6%; } }
@media (max-width: 640px) { .hero__note { margin-right: 0; } }

/* ---------- スマートフォンのメニュー：オンライン相談・4種のフォームを追加 ---------- */
.gnav__more { display: none; }
@media (max-width: 1024px) {
  .gnav { gap: 0; padding-bottom: 48px; }
  .gnav__contact { display: none; }               /* フォームは下の一覧から選べるので重複させない */
  .gnav__more { display: block; margin-top: 28px; }
  .gnav__group { font-size: .9rem; font-weight: 700; letter-spacing: .08em; color: var(--yellow); padding: 0 6px 8px; border-bottom: 2px solid rgba(255,255,255,.35); }
  .gnav__list--forms a { font-size: 1rem; }
  .gnav__list--forms li:first-child a { color: var(--yellow); }  /* オンライン相談を目立たせる */
  .gnav__sub { margin-top: 24px; }
  .gnav__sub a { font-size: .95rem; padding: 14px 8px; }
  .gnav__list a { min-height: 52px; align-items: center; }
}

/* ---------- 小さいスマートフォンでも読みやすい文字サイズ（最小 13px、注記・日付は 14px 以上） ---------- */
@media (max-width: 640px) {
  /* ラベル・バッジ類 */
  .hero__trust b small, .hero__trust span, .req, .opt, .tag-chip, .news-card__meta .tag-chip,
  .hero__catch, .hero__catch span, .label, .strength__tag, .doc__icon, .hero__chip, .chip { font-size: .8125rem; }
  .hero__trust span { line-height: 1.5; }
  /* 日付・注記・補足 */
  .breadcrumb, .breadcrumb a, .footer__copy, .footer__legal, .news-card__meta, .news-card__meta time, .a-card__date,
  .tax, .unit, .field__help, .profile__name small, .eps-links a, .filters__label, .news-count,
  .article-nav a small, .page-head__en, .sec-head__en, .c-sec__no, .article__meta, .article__meta time,
  .price-card__price small, .pay small, .dialog__who { font-size: .875rem; }
  /* 読む・押すテキスト */
  .footer__nav a, .footer a, .sticky-cta .btn, .cta-band__sub .btn, .cta-band__time, .strength-mini li,
  .hero__note, .chat-sample, .link-arrow, .side-box p, .notice ol, .c-note, .note, .c-figure figcaption,
  .a-card__text, .news-card__excerpt, .doc__meta, .price-card__notes, .stat__label, .video-note { font-size: .9375rem; }
  .breadcrumb { line-height: 1.7; }
  /* 本文の行間と余白を少しゆったり */
  body { line-height: 1.85; }
  .container { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 374px) {
  /* 幅の狭い端末（iPhone SE など）：見出しが窮屈にならないよう少し抑え、本文は 17px を確保 */
  body { font-size: 17px; }
  .hero__title { font-size: min(14cqi, 2.7rem); }
  .page-head__title { font-size: 1.75rem; }
  .sec-head__title { font-size: 1.45rem; }
}
@media (max-width: 640px) {
  .price-card__price .tax, .pay li small, main li small, .filters .chip { font-size: .875rem; }
}
/* 小さいスマートフォン：バッジは折り返さない／ページタイトルは幅いっぱいに使い、ロボットは右下に小さく */
.hero__catch span { white-space: nowrap; }
@media (max-width: 480px) {
  .hero__catch { padding-right: 14px; line-height: 1.5; }
  .page-head__inner { display: block; position: relative; }
  .page-head__inner > div { padding-right: 0; }
  .page-head__robot { position: absolute; right: 8px; top: calc(100% - 4px); width: 92px; margin: 0; }
  .page-head { padding-bottom: 92px; }
  .page-head__title { word-break: keep-all; overflow-wrap: anywhere; }
}

/* フォーム内のチェックボックス（利用規約への同意など） */
.checks { padding-top: 8px; }
.checks label { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 700; line-height: 1.7; }
.checks input { flex-shrink: 0; width: 20px; height: 20px; margin-top: .3em; accent-color: var(--green); }
.checks a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* フォーム内の注意書き（赤文字） */
.form__alert { color: var(--magenta); font-weight: 700; line-height: 1.7; margin: 0 0 4px; }
.form__alert a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form__alert a:hover { text-decoration-thickness: 2px; }

/* お問い合わせ系ページ左上「オンライン相談（無料）」の見出し */
.side-box .side-box__title--booking { color: #cf006a; }

/* お問い合わせ系ページ「その他のフォーム」の見出し */
.side-box .side-box__title--forms { color: #cf006a; }

/* トップのキャッチコピー「まるで出前のように…」の文字色 */
.delivery .delivery__title { color: #d0006a; }

/* ---------- フォーム：入力 → 確認 → 完了 ---------- */
[hidden] { display: none !important; }
.form-steps { display: flex; justify-content: center; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; counter-reset: none; }
.form-steps li { display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--gray); color: var(--ink-sub); font-weight: 700; font-size: .95rem; }
.form-steps li + li::before { content: ""; display: none; }
.form-steps__num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--ink-sub); font-family: var(--ff-en); font-size: .9rem; }
.form-steps li.is-current { background: var(--green); color: #fff; }
.form-steps li.is-current .form-steps__num { color: var(--green); }
.form-confirm__lead { margin-bottom: 24px; }
.form-confirm__group { font-size: 1rem; font-weight: 900; color: var(--green); margin: 28px 0 8px; }
.form-confirm__group:first-child { margin-top: 0; }
.form-confirm__list { display: grid; grid-template-columns: minmax(180px, 34%) 1fr; border-top: 1px solid var(--line); margin: 0 0 8px; }
.form-confirm__list dt, .form-confirm__list dd { padding: 14px 12px; border-bottom: 1px solid var(--line); margin: 0; }
.form-confirm__list dt { font-weight: 700; color: var(--navy); background: var(--green-soft); }
.form-confirm__list dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.form-confirm__list dd.is-empty { color: var(--ink-sub); }
.form__submit--confirm { flex-wrap: wrap; gap: 16px; align-items: center; }
.form__submit--confirm .form__turnstile { flex-basis: 100%; display: flex; justify-content: center; }
.form__submit--confirm .btn { min-width: 260px; }
@media (max-width: 640px) {
  .form-steps { gap: 4px; margin-bottom: 24px; }
  .form-steps li { padding: 4px 10px 4px 4px; font-size: .85rem; gap: 6px; }
  .form-steps__num { width: 24px; height: 24px; }
  .form-confirm__list { grid-template-columns: 1fr; }
  .form-confirm__list dt { border-bottom: 0; padding-bottom: 6px; }
  .form-confirm__list dd { padding-top: 6px; }
  .form__submit--confirm { flex-direction: column-reverse; }
  .form__submit--confirm .btn { min-width: 0; width: 100%; }
}

/* 進み具合：番号と文字の高さをそろえる（同じ書体・行の高さ1で中央そろえ） */
.form-steps li { line-height: 1; }
.form-steps__num, .form-steps__label { display: inline-flex; align-items: center; justify-content: center; line-height: 1; font-family: var(--ff); font-weight: 700; }
.form-steps__num { font-size: .95rem; font-variant-numeric: tabular-nums; padding-top: .06em; }
.form-steps__label { height: 28px; }
@media (max-width: 640px) { .form-steps__label { height: 24px; } }

/* トップ中ほどのオンライン相談BOX（フッターのBOXと同じもの） */
.section--cta-mid { padding-top: 0; }

/* ---------- トップ：シフト作成ソフトとの違い（比較表） ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.compare__lead { margin-top: 12px; }
.compare { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare__table { width: 100%; border-collapse: collapse; line-height: 1.7; table-layout: fixed; }
.compare__table thead th:nth-child(1) { width: 26%; }
.compare__table thead th:nth-child(2) { width: 32%; }
.compare__table th, .compare__table td { padding: 14px 18px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare__table thead th { border-top: 0; background: var(--gray); color: var(--navy); font-weight: 900; }
.compare__table thead th:last-child { background: var(--green); color: #fff; }
.compare__table tbody th { width: 26%; background: var(--green-soft); color: var(--green); font-weight: 900; }
.compare__table td:last-child { font-weight: 700; color: var(--navy); background: color-mix(in srgb, var(--green) 4%, #fff); }
.compare__table a { color: var(--green); text-decoration: underline; }
.compare__note { margin-top: 10px; font-size: .9rem; color: var(--ink-sub); }
@media (max-width: 640px) {
  .compare__table thead { display: none; }
  .compare__table, .compare__table tbody, .compare__table tr, .compare__table th, .compare__table td { display: block; width: 100%; }
  .compare__table tr { border-top: 1px solid var(--line); }
  .compare__table tr:first-child { border-top: 0; }
  .compare__table tbody th { width: 100%; border-top: 0; padding: 12px 16px; }
  .compare__table td { border-top: 0; padding: 8px 16px 12px; }
  .compare__table td::before { content: attr(data-label); display: block; font-size: .82rem; font-weight: 700; color: var(--ink-sub); }
  .compare__table td:last-child::before { color: var(--green); }
}
