/* ── 2 薄い文字：小さなオレンジ文字を濃く（図形や大きな数字はそのまま） ── */
:root .v5c-rel a .ty,
:root .dbc-faq-q .dbc-faq-badge,
:root .v5c-steps > li > .no,
:root .v5c figure > figcaption > span,
:root .v5c-k > b,
:root .hb-card > .hb-num,
:root .hb-step > .hb-num,
:root .g-sl > figcaption > span,
:root .v5w-themes > a > .no,
:root .v5a-meta > .kd,
:root .hb-eyebrow,
:root .ix-step > em,
:root .ix-step > em > span,
:root .dbc-lp-step > .dbc-lp-num,
:root .glass > span > span:first-child,
:root .mxp-no,
:root .dbc-hero-eyebrow,
:root .ix-tl li.ix-now .ix-y { color: #B74D36 !important; }
/* 青地の上のオレンジ（単位の文字） */
:root #projects .card .ix-fig b i { color: #FFCDBF !important; }
/* 薄いグレーの補足文字 */
:root .ix-tl .ix-s,
:root .ix-tl-note,
:root .ix-ring-center b small { color: #706A64 !important; }

/* ── 4 スマホで押しにくいリンク：見た目を変えずに押せる範囲だけ広げる ── */
@media (max-width: 899px) {
  :root .v5h-logo,
  :root #site header > a { align-self: stretch; align-items: center; }
  :root .v5c-crumb a,
  :root .v5c-next a { padding-top: 6px; padding-bottom: 6px; margin-top: -6px; margin-bottom: -6px; }
  :root .v5f-en a,
  :root .v5f-svc a,
  :root #site footer .ulink { padding-top: 9px; margin-top: -9px; }
  :root .v5f-bot a { padding-top: 12px; margin-top: -12px; }
}

/* ── 5 ページ名の見出し：事例ページの大きさに合わせる（PC幅） ── */
@media (min-width: 900px) {
  :root .v5c .v5t-h1 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.35; }
  :root:not([lang^="en"]) .v5c .v5t-h1 { letter-spacing: .12em; }
}

/* ── 6 5枚のカードは端数を出さない ── */
@media (min-width: 1200px) {
  :root .v5c-steps:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 900px) and (max-width: 1199px) {
  :root .v5c-steps:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── 7 お問い合わせ：検証の表示を送信ボタンの直前へ ── */
:root .wpcf7-form.qa-ord { display: flex; flex-direction: column; }
:root .wpcf7-form.qa-ord > .wpcf7-turnstile { order: 1; margin-bottom: 24px; }
:root .wpcf7-form.qa-ord > .qa-submit { order: 2; }
:root .wpcf7-form.qa-ord > .qa-after { order: 3; }

/* ── 1 スマホのトップにメニュー（下層ページの MENU と同じ見た目） ── */
:root #site header .nav .qa-menu { display: none; }
.qa-m { position: fixed; z-index: 99; inset: 0; background: #006199; color: #fff; padding: 120px 32px 48px; overflow: auto; }
.qa-m[hidden] { display: none; }
.qa-m nav { display: flex; flex-direction: column; gap: 22px; }
.qa-m a { color: #fff; text-decoration: none; font: 500 26px/1.2 Jost, sans-serif; letter-spacing: .18em; }
.qa-m a.qa-m-lang { margin-top: 12px; font-size: 16px; letter-spacing: .2em; opacity: .85; }
.qa-m a.qa-m-lang[lang="ja"] { font-family: "Zen Kaku Gothic New", sans-serif; letter-spacing: .14em; }
#ix-sound { scroll-margin-top: 120px; }
@media (max-width: 899px) {
  :root #site header .nav .qa-menu { display: block; height: 40px; padding: 0 16px; margin: 0 8px 0 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.7); background: transparent; color: #fff; font: 500 12px/1 Jost, sans-serif; letter-spacing: .2em; cursor: pointer; -webkit-appearance: none; appearance: none; }
}
@media (max-width: 599px) {
  :root #site header .nav a.pill.lang { display: none !important; }
}
@media (max-width: 420px) {
  :root #site header > a img { width: 120px !important; }
  :root #site header .nav .qa-menu { padding: 0 12px; }
  :root #site header .nav a.pill { padding: 0 12px !important; letter-spacing: .1em !important; }
}

/* 確認用の表示であることを示す札（一般公開時は出ない） */
.qa-badge { position: fixed; left: 12px; bottom: 12px; z-index: 2147483000; padding: 7px 12px; border-radius: 999px; background: rgba(35,24,21,.86); color: #fff; font: 500 11px/1.2 "Zen Kaku Gothic New", sans-serif; letter-spacing: .08em; pointer-events: none; }

/* ── 7b ニュースレター登録欄：お問い合わせフォームと同じ見た目に ── */
.qa-nl { max-width: 640px; margin: 8px auto 0; padding: 36px 40px; background: #F4F2EE; text-align: left; font-family: "Zen Kaku Gothic New", sans-serif; color: #231815; box-sizing: border-box; }
.qa-nl * { box-sizing: border-box; }
.qa-nl .qa-nl-desc { margin: 0 0 22px; font-size: 14px; line-height: 1.9; letter-spacing: .04em; font-weight: 500; }
.qa-nl .entry__label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .06em; line-height: 1.9; }
.qa-nl .entry__label::after { content: " (必須)"; }
.qa-nl .input { display: block; width: 100%; height: 56px; margin: 0; padding: 14px 16px; border: 1px solid #E3DFD8; border-radius: 0; background: #fff; color: #231815; font: 16px/1.5 "Zen Kaku Gothic New", sans-serif; -webkit-appearance: none; appearance: none; }
.qa-nl .input:focus { outline: 2px solid #006199; outline-offset: 1px; }
.qa-nl .input::placeholder { color: #8F8780; }
.qa-nl .entry__error { display: block; margin: 8px 0 0; font-size: 13px; font-weight: 700; line-height: 1.7; color: #B3261E; }
.qa-nl .entry__error:empty { display: none; }
.qa-nl .entry_errored .input { border-color: #B3261E; }
.qa-nl .sib-form-block__button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin: 24px 0 0; height: 56px; padding: 0 44px; border: 0; border-radius: 999px; background: #006199; color: #fff; font: 700 16px/1 "Zen Kaku Gothic New", sans-serif; letter-spacing: .14em; cursor: pointer; -webkit-appearance: none; appearance: none; }
.qa-nl .sib-form-block__button:hover { background: #00507F; }
.qa-nl .sib-form-block__button[disabled] { opacity: .6; cursor: default; }
.qa-nl .progress-indicator__icon { width: 18px; height: 18px; animation: qa-spin 1s linear infinite; }
.qa-nl .sib-hide-loader-icon { display: none; }
@keyframes qa-spin { to { transform: rotate(360deg); } }
.qa-nl .input--hidden { display: none !important; }
.qa-nl .sib-form-message-panel { display: none; margin: 0 0 20px; padding: 14px 16px; background: #fff; border-left: 3px solid currentColor; font-size: 14px; font-weight: 700; line-height: 1.8; }
.qa-nl .sib-form-message-panel--active { display: block; }
.qa-nl #error-message { color: #B3261E; }
.qa-nl #success-message { color: #006199; }
@media (max-width: 599px) {
  .qa-nl { padding: 28px 20px; }
  .qa-nl .sib-form-block__button { width: 100%; }
}

/* ── 11 英語ページのボタン：長い文言はボタンの中で折り返す（スマホで矢印がはみ出さないように） ── */
html[lang^="en"] .v5c-btn { white-space: normal; height: auto; min-height: 58px; padding-top: 12px; padding-bottom: 12px; line-height: 1.4; text-align: left; }
html[lang^="en"] .v5c-btn > i { flex: none; }
@media (max-width: 599px) {
  html[lang^="en"] .v5c-btn { padding-left: 24px; gap: 14px; letter-spacing: .08em; }
}
