/* ==========================================================================
   日本初調査総研 サイト共通スタイル
   白地に墨の文字。赤はボタンと重要なリンクだけに使う。
   ========================================================================== */
:root {
  --ink: #1d2126;
  --ink-2: #3b4047;
  --ink-3: #5d636b;
  --paper: #fff;
  --mist: #f5f6f7;
  --rule: #d9dde2;
  --rule-2: #c3c8cf;
  --red: #af0006;
  --red-dark: #8c0005;
  --sumi: #16181c;
  --sans: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(56px, 5.6vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; color-scheme: light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  line-break: strict;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: min(100%, calc(var(--wrap) + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* 見出し ---------------------------------------------------------------- */
.ttl {
  font-weight: 700;
  font-feature-settings: "palt";
  letter-spacing: .03em;
  line-height: 1.5;
  word-break: auto-phrase;
  text-wrap: balance;
}
.sec-title { font-size: clamp(26px, 2.6vw, 36px); }
.sec-lead { margin-top: 16px; color: var(--ink-2); font-size: 15px; line-height: 1.9; word-break: auto-phrase; text-wrap: pretty; }
.note { color: var(--ink-3); font-size: 14px; line-height: 1.8; }

/* ボタン ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px;
  font-weight: 700; font-size: 16px; letter-spacing: .04em; text-decoration: none;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 10px; transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--mist); }
.btn--ghost { border-color: rgba(255, 255, 255, .72); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--ink); }

/* ヘッダー -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-stuck { border-bottom-color: var(--rule); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.site-logo { flex: none; }
.site-logo img { width: 208px; height: auto; }
.gnav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.gnav__list { display: flex; gap: clamp(16px, 2vw, 28px); }
.gnav__list a { font-size: 14px; font-weight: 500; text-decoration: none; padding: 6px 0; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size .2s; }
.gnav__list a:hover, .gnav__list a[aria-current="page"] { background-size: 100% 1px; }
.gnav__cta { min-height: 44px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .2s, background-color .2s; }
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ヒーロー：街の写真をゆっくり動かし、2枚を切り替える -------------------- */
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(500px, 66vh, 680px); overflow: hidden; background: var(--sumi); color: #fff; }
.hero__media, .hero__photo { position: absolute; inset: 0; }
.hero__media { z-index: -1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; mix-blend-mode: multiply;
  background: linear-gradient(90deg, #222a35 0%, #2b3440 36%, #8d97a4 64%, #f0f2f5 100%);
}
.hero__photo img {
  width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%;
  transform-origin: 76% 42%; will-change: transform;
  animation: hero-zoom 36s linear infinite;
}
.hero__photo + .hero__photo { opacity: 0; animation: hero-fade 36s ease-in-out infinite; }
.hero__photo + .hero__photo img { object-position: 50% 50%; transform-origin: 56% 50%; animation-delay: 15.84s; }
@keyframes hero-fade {
  0%, 44% { opacity: 0; }
  50%, 94% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes hero-zoom {
  0% { transform: scale(1); }
  56% { transform: scale(1.07); }
  56.01%, 100% { transform: scale(1); }
}
.hero__body { padding-block: clamp(56px, 7vw, 96px); }
.hero__title { font-size: clamp(34px, 3.95vw, 58px); line-height: 1.36; letter-spacing: .01em; word-break: normal; text-wrap: nowrap; }
.hero__title span { display: block; }
.hero__lead { margin-top: 22px; max-width: 32em; font-size: clamp(16px, 1.25vw, 18px); color: rgba(255, 255, 255, .9); word-break: auto-phrase; text-wrap: pretty; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* 3項目の要約 */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.facts > div { padding: 20px 28px 24px 0; }
.facts > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.facts dt { font-size: 14px; color: var(--ink-3); letter-spacing: .06em; }
.facts dd { margin-top: 4px; font-weight: 700; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5; font-feature-settings: "palt"; }
.facts__sub { display: block; margin-top: 6px; font-weight: 400; font-size: 14px; line-height: 1.7; color: var(--ink-2); font-feature-settings: normal; }

/* セクション共通（左に見出し、右に本文）-------------------------------- */
.sec { padding-block: var(--section); }
.sec--mist { background: var(--mist); }
.split { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 8.6fr); gap: clamp(32px, 5vw, 72px); }
.split__head { align-self: start; position: sticky; top: 104px; }

/* 調査実績 -------------------------------------------------------------- */
.proof { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--rule); }
.proof__main { font-weight: 700; font-size: 15px; line-height: 1.7; word-break: auto-phrase; text-wrap: balance; }

.case-group { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 16px; padding-top: 14px; border-top: 1px solid var(--ink); }
.case-group + .case-group { margin-top: 28px; }
.case-group h3 { font-size: 14px; font-weight: 700; line-height: 1.7; padding-top: 2px; }
.case { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 0 0 13px; text-decoration: none; }
.case-group li + li .case { padding-top: 13px; border-top: 1px solid var(--rule); }
.case__kind { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.case__title { font-weight: 500; font-size: 16px; line-height: 1.7; }
.case__listed { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.case:hover .case__main { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.case__src { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.case__src svg { width: 9px; height: 9px; transition: transform .2s; }
.case:hover .case__src svg { transform: translate(2px, -2px); }
.cases-note { margin-top: 24px; }

/* 調査が必要な理由 ------------------------------------------------------ */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.why h3 { font-size: 17px; line-height: 1.6; padding-top: 14px; border-top: 1px solid var(--ink); font-feature-settings: "palt"; }
.why p { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link svg { width: 16px; height: 9px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }
.why-more { margin-top: 28px; }

/* サービス -------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.service { display: flex; flex-direction: column; padding: 24px 36px 4px 0; }
.service + .service { padding-left: 36px; padding-right: 0; border-left: 1px solid var(--rule); }
.service h3 { font-size: 20px; line-height: 1.5; font-feature-settings: "palt"; }
.service__price { margin-top: 10px; font-weight: 600; font-size: clamp(32px, 3.2vw, 40px); line-height: 1.25; letter-spacing: 0; font-variant-numeric: tabular-nums lining-nums; }
.service__price small { font-weight: 400; font-size: 14px; margin-left: 8px; color: var(--ink-2); letter-spacing: .02em; }
.service__text { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.service dl { margin-top: 16px; font-size: 14px; }
.service dl > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding-block: 10px; border-top: 1px solid var(--rule); }
.service dt { color: var(--ink-3); }
.service dd { line-height: 1.75; }
.service__link { margin-top: 14px; }

/* 納品物 ---------------------------------------------------------------- */
.deliver { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.deliver h3 { font-size: 16px; font-weight: 700; line-height: 1.6; padding-top: 14px; border-top: 1px solid var(--ink); }
.deliver p { margin-top: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.9; }

/* 調査の流れ ------------------------------------------------------------ */
.flow { margin-top: 26px; counter-reset: flow; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.flow li { counter-increment: flow; padding: 16px 20px 4px 0; }
.flow li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.flow li::before { content: counter(flow); display: block; font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--ink-3); }
.flow h3 { margin-top: 6px; font-size: 16px; line-height: 1.5; }
.flow p { margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.85; }

/* よくある質問 ---------------------------------------------------------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: center; gap: 16px;
  padding: 18px 4px 18px 0; font-weight: 700; font-size: 16px; line-height: 1.6; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; justify-self: end;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 36px 20px 0; font-size: 15px; color: var(--ink-2); }

/* コラム ---------------------------------------------------------------- */
.posts { border-top: 1px solid var(--ink); }
.posts a { display: grid; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.posts--dated a { grid-template-columns: 96px minmax(0, 1fr) 18px; align-items: baseline; }
.posts time { font-size: 14px; color: var(--ink-3); }
.posts__title { font-weight: 500; line-height: 1.7; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
.posts a:hover .posts__title { background-size: 100% 1px; }
.posts svg { width: 16px; height: 9px; align-self: center; }
.posts-more { margin-top: 22px; }

/* お問い合わせ導線 ------------------------------------------------------ */
.cta { background: var(--sumi); color: #fff; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 48px; padding-block: clamp(52px, 6vw, 80px); }
.cta__title { font-size: clamp(23px, 2.3vw, 30px); }
.cta__text { margin-top: 8px; font-size: 15px; color: #c9cbd0; }

/* フッター -------------------------------------------------------------- */
.site-footer { background: var(--sumi); color: #c9cbd0; border-top: 1px solid #2c2f35; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 2.4fr)); gap: 32px; padding-block: 52px 36px; }
.site-footer img { width: 208px; }
.site-footer address { margin-top: 16px; font-style: normal; line-height: 1.9; font-size: 14px; }
.fnav__title { color: #fff; font-size: 14px; font-weight: 700; }
.fnav ul { margin-top: 8px; }
.fnav a { display: inline-block; padding: 3px 0; text-decoration: none; }
.fnav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 16px 24px; border-top: 1px solid #2c2f35; font-size: 13px; color: #a2a5ab; }
.site-footer__sns { display: flex; gap: 18px; }
.site-footer__sns a { text-decoration: none; }
.site-footer__sns a:hover { color: #fff; }

/* 下層ページ ------------------------------------------------------------ */
.page-head { padding-block: clamp(36px, 5vw, 60px) clamp(28px, 3.4vw, 40px); border-bottom: 1px solid var(--ink); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--rule-2); }
.page-title { margin-top: 10px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.4; }
.page-title--post { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.55; }
.page-lead { margin-top: 12px; max-width: 40em; color: var(--ink-2); }
.page-body { padding-block: clamp(44px, 5.4vw, 72px) var(--section); }
.narrow { max-width: 780px; }

/* 記事本文 */
.prose { font-size: 16px; line-height: 2; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { margin-top: 2.6em; font-size: clamp(21px, 2vw, 24px); line-height: 1.55; font-feature-settings: "palt"; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.prose h3 { margin-top: 2.2em; font-size: 18px; line-height: 1.6; }
.prose h4 { margin-top: 1.8em; font-size: 16px; line-height: 1.6; }
.prose a { color: var(--red); text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { list-style: decimal; padding-left: 1.5em; }
.prose li + li { margin-top: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.8; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--rule-2); text-align: left; vertical-align: top; }
.prose th { background: var(--mist); font-weight: 700; }
.prose blockquote { margin: 1.4em 0 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--rule-2); color: var(--ink-2); }
.prose img { height: auto; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: 2.4em; }

/* 会社概要の表（本文のインライン指定を上書き） */
.prose .s_table table { border: 0; font-size: 15px; }
.prose .s_table td { padding: 14px 16px 14px 0; border: 0; border-bottom: 1px solid var(--rule); background: none !important; color: var(--ink) !important; }
.prose .s_table tr:first-child td { border-top: 1px solid var(--ink); }
.prose .s_table td:first-child { width: 30% !important; }
.prose .s_table td:last-child { width: auto !important; }
.prose .s_table img { margin-top: 10px; }

/* 一覧 */
.pager { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 6px; }
.pager .page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--rule-2); text-decoration: none; font-size: 14px; }
.pager .page-numbers.current, .pager a.page-numbers:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.post-meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--ink-3); }
.post-cta { margin-top: 52px; padding: 26px 28px; background: var(--mist); }
.post-cta h2 { font-size: 18px; line-height: 1.6; font-feature-settings: "palt"; }
.post-cta p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.post-cta .btn { margin-top: 14px; }
.post-nav { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; font-size: 14px; }
.post-nav a { text-decoration: none; display: block; padding-top: 12px; border-top: 1px solid var(--rule-2); line-height: 1.7; }
.post-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-nav span { display: block; font-size: 13px; color: var(--ink-3); }
.post-nav div:last-child { text-align: right; }

/* サービス詳細 */
.steps { counter-reset: step; border-top: 1px solid var(--ink); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 8px; padding-block: 16px; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); grid-row: 1 / 3; font-weight: 600; font-size: 20px; line-height: 1.5; color: var(--ink-3); }
.steps h3 { font-size: 17px; line-height: 1.6; }
.steps p { margin-top: 2px; font-size: 15px; color: var(--ink-2); }

/* 料金表 */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.plan { padding: 24px 32px 28px 0; }
.plan + .plan { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--rule); }
.plan h2 { font-size: 20px; font-feature-settings: "palt"; }
.plan .plan__price { margin-top: 8px; font-weight: 600; font-size: clamp(38px, 4vw, 50px); line-height: 1.25; letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.plan .plan__price small { font-weight: 400; font-size: 14px; margin-left: 8px; color: var(--ink-2); letter-spacing: .02em; }
.plan p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.block { margin-top: clamp(44px, 5.4vw, 64px); }
.block__title { font-size: clamp(22px, 2vw, 26px); margin-bottom: 18px; }
.included { border-top: 1px solid var(--ink); }
.included > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding-block: 14px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.included dt { font-weight: 700; }
.included dd { color: var(--ink-2); }

/* お問い合わせ */
.contact { display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr); gap: clamp(32px, 6vw, 88px); }
.contact-side { align-self: start; position: sticky; top: 104px; font-size: 15px; }
.contact-side h2 { font-size: 15px; padding-top: 12px; border-top: 1px solid var(--ink); }
.contact-side p { margin-top: 6px; color: var(--ink-2); line-height: 1.85; }
.contact-side section + section { margin-top: 26px; }
.contact-side a { color: var(--red); text-underline-offset: 3px; }
.contact-side__note { margin-top: 22px; }
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7-form > p { margin: 0 0 22px; }
.wpcf7-form p > br, .wpcf7-form label > br { display: none; }
.wpcf7-form label { display: block; font-weight: 700; font-size: 15px; line-height: 1.7; }
.wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7-form label:has(.wpcf7-validates-as-required)::before { content: "必須"; float: right; font-size: 12px; font-weight: 500; line-height: 1.6; padding: 2px 0 0; color: var(--ink-3); }
.wpcf7-text, .wpcf7-textarea, .wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="url"] {
  width: 100%; padding: 12px 14px; font: inherit; font-weight: 400; font-size: 16px; line-height: 1.6;
  background: #fff; color: var(--ink); border: 1px solid var(--rule-2); border-radius: 2px; transition: border-color .15s;
}
.wpcf7-text:focus, .wpcf7-textarea:focus { outline: 0; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.wpcf7-text::placeholder, .wpcf7-textarea::placeholder { color: #8d9299; }
.wpcf7-radio { display: grid; gap: 2px; margin-top: 2px; }
.wpcf7-list-item { display: block; margin: 0; }
.wpcf7-list-item label { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 400; cursor: pointer; }
.wpcf7-list-item input { width: 18px; height: 18px; margin: 0; accent-color: var(--red); }
.wpcf7-submit {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 320px; min-height: 54px; margin-top: 6px;
  background: var(--red); color: #fff; font: inherit; font-weight: 700; letter-spacing: .08em; border: 0; border-radius: 2px; cursor: pointer; transition: background-color .2s;
}
.wpcf7-submit:hover { background: var(--red-dark); }
.wpcf7-spinner { display: block; margin: 12px 0 0; }
.wpcf7-not-valid-tip { color: var(--red); font-size: 14px; font-weight: 400; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; font-size: 14px; border: 1px solid var(--rule-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* タブレット ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .gnav { position: fixed; inset: 72px 0 0 0; z-index: 49; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; background: #fff; overflow-y: auto; }
  .gnav.is-open { display: flex; }
  .gnav__list { flex-direction: column; gap: 0; }
  .gnav__list a { display: block; padding: 16px 0; font-size: 16px; border-bottom: 1px solid var(--rule); background: none; }
  .gnav__cta { margin-top: 20px; min-height: 54px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .split__head { position: static; max-width: 640px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li, .flow li + li { padding: 16px 20px 20px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .flow li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--rule); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact-side { position: static; }
}

/* スマートフォン -------------------------------------------------------- */
@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }
  .admin-bar .site-header { top: 0; position: relative; }
  .site-header__inner { height: 64px; }
  .site-logo img { width: 176px; }
  .gnav { inset: 64px 0 0 0; }
  .hero { align-items: end; min-height: 600px; }
  .hero__media::after { background: linear-gradient(180deg, #e8ebef 0%, #aab2bc 22%, #3b4450 44%, #222a35 100%); }
  .hero__photo img, .hero__photo + .hero__photo img { object-position: 50% 0; }
  .hero__body { padding-block: 200px 36px; }
  .hero__title { font-size: min(7.6vw, 40px); line-height: 1.42; }
  .hero__lead { margin-top: 14px; }
  .hero__cta { margin-top: 24px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: minmax(0, 1fr); border-bottom: 0; }
  .facts > div, .facts > div + div { padding: 14px 0 16px; border-left: 0; border-bottom: 1px solid var(--rule); }
  .case-group { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .case { grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; }
  .case__kind { grid-column: 1 / 3; }
  .case__src span { display: none; }
  .why, .services, .deliver, .plans { grid-template-columns: minmax(0, 1fr); }
  .why { gap: 24px; }
  .service, .service + .service { padding: 22px 0 24px; border-left: 0; }
  .service + .service { border-top: 1px solid var(--ink); }
  .plan, .plan + .plan { padding: 22px 0 24px; border-left: 0; }
  .plan + .plan { border-top: 1px solid var(--ink); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow li, .flow li + li, .flow li:nth-child(even) { padding: 14px 0 16px; border-left: 0; }
  .posts--dated a { grid-template-columns: minmax(0, 1fr) 18px; gap: 2px 12px; }
  .posts--dated time { grid-column: 1 / 3; }
  .cta__inner .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
  .included > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .post-nav div:last-child { text-align: left; }
  .faq details p { padding-right: 0; }
}
