@charset "UTF-8";
/* =========================================================
   株式会社AI・DX コーポレートサイト
   ========================================================= */
:root {
  --navy: #13234a;
  --navy-2: #1c2f5e;
  --gold: #c09332;
  --gold-2: #d9b45a;
  --text: #2b3346;
  --muted: #6b7386;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --radius: 6px;
  --shadow: 0 6px 24px rgba(19, 35, 74, .08);
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  /* 本文も明朝体で統一 */
  --sans: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --en: "Lato", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sp-only { display: none; }
.pc-only { display: inline; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(19, 35, 74, .06);
}
.header__inner {
  height: 100%;
  width: min(100% - 48px, 1320px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand__logo { width: 104px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.2; }
/* 社名は名刺に合わせてゴシック（「株式会社」太字＋「AI・DX」中太） */
.brand__name strong { white-space: nowrap; font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; font-size: 19px; font-weight: 500; color: var(--navy); letter-spacing: .04em; }
.brand__kk { font-weight: 700; margin-right: .3em; }
.brand__name small { font-family: var(--en); font-size: 9px; letter-spacing: .18em; color: var(--muted); margin-top: 4px; }

.gnav { display: flex; align-items: center; gap: 36px; }
.gnav__list { display: flex; gap: 32px; }
.gnav__list a { font-size: 13px; font-weight: 500; color: var(--navy); position: relative; padding: 6px 0; white-space: nowrap; }
.gnav__list a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.gnav__list a:hover::after, .gnav__list a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  height: 52px; padding: 0 32px;
  border-radius: 4px;
  font-size: 14px; font-weight: 500; letter-spacing: .08em;
  transition: background .25s, transform .25s, box-shadow .25s;
  border: 0; cursor: pointer; font-family: inherit;
}
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); box-shadow: 0 8px 20px rgba(19, 35, 74, .25); }
.btn--gold { background: linear-gradient(180deg, #d4aa48, #b98b2a); color: #fff; }
.btn--gold:hover { box-shadow: 0 8px 20px rgba(192, 147, 50, .4); }
.btn--outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.btn--outline:hover { background: rgba(255, 255, 255, .1); }
.btn--sm { height: 42px; padding: 0 22px; font-size: 13px; }
.btn--wide { min-width: 300px; }

.more-link {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: 13px; font-weight: 500; color: var(--navy);
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.more-link .arrow { transition: transform .25s; }
.more-link:hover .arrow { transform: translateX(4px); }
.arrow { display: inline-block; width: 14px; height: 10px; flex: none; }

/* ---------- Hamburger ---------- */
.menu-btn { display: none; }

/* ---------- Hero (image) ---------- */
/* ヘッダーのロゴ〜ボタンと同じ幅で固定し、左右は白 */
.hero { background: #fff; }
.hero__frame { position: relative; width: min(100% - 48px, 1320px); margin-inline: auto; }
.hero__img { width: 100%; }
.hero__cta {
  position: absolute; left: 4.5%; top: 79.5%; width: 28%; height: 12.4%;
  border-radius: 6px;
}
.hero__cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Stats ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats__list { display: grid; grid-template-columns: repeat(3, 1fr); padding: 26px 0; }
.stats__item {
  display: flex; align-items: center; gap: 22px; padding: 4px 40px;
  border-left: 1px solid var(--line);
}
.stats__item:last-child { border-right: 1px solid var(--line); }
.stats__icon {
  flex: none; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid #cdd3e0; display: grid; place-items: center; color: var(--navy);
}
.stats__icon svg { width: 30px; height: 30px; }
.stats__label { font-size: 12px; color: var(--navy); font-weight: 500; }
.stats__value { font-family: var(--serif); color: var(--gold); font-weight: 600; font-size: 38px; line-height: 1.15; letter-spacing: .02em; }
.stats__value small { font-size: 18px; }
.stats__value--navy { color: var(--navy); font-size: 18px; line-height: 1.5; }
.stats__sub { font-size: 12px; color: var(--muted); }

/* ---------- Section ---------- */
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }
/* アンカーメニューは白い帯の上下中央に置く */
.section--nav { padding: 32px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.sec-head__main { display: flex; align-items: flex-end; gap: 48px; }
.eyebrow { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .24em; color: var(--muted); margin-bottom: 6px; }
.sec-title { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.4; letter-spacing: .06em; }
.sec-title .gold { color: var(--gold); font-size: 1.25em; }
.sec-lead { color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 10px; }
.sec-head__main .sec-lead { margin-top: 0; padding-bottom: 6px; }

/* ---------- Cards common ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(19, 35, 74, .04);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
a.card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(19, 35, 74, .14); }
.card__img { position: relative; overflow: hidden; }
.card__img img { width: 100%; aspect-ratio: var(--ratio, 16 / 9); object-fit: cover; transition: transform .6s; }
a.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 22px 26px 26px; position: relative; flex: 1; }
.card__arrow { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--navy); }

/* 導入効果・事例（紺の帯で目立たせる） */
.section--case { background: var(--navy); color: #fff; }
.section--case .sec-title { color: #fff; }
.section--case .eyebrow { color: var(--gold-2); }
.section--case .sec-lead { color: rgba(255, 255, 255, .78); }
.section--case .card { border: 0; }
.case-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 44px; }
.section--case .case-actions .btn { height: 60px; font-size: 15px; }

.cases-banner { background: var(--navy); color: #fff; }
.cases-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 0; flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.cases-banner .eyebrow { color: var(--gold-2); }
.cases-banner__title { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 32px); font-weight: 600; letter-spacing: .08em; }
.cases-banner__text { font-size: 14px; opacity: .85; margin-top: 4px; }
.cases-banner__text strong { color: var(--gold-2); font-size: 1.15em; }

.case-consult {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  margin: 20px 0 48px; padding: 22px 32px; background: #fff; border: 1px solid var(--gold); border-radius: var(--radius);
}
.case-consult p { font-size: 14.5px; color: var(--navy); font-weight: 500; line-height: 1.8; }

/* Results */
.result .card__img { --ratio: 206 / 108; }
.tag {
  /* 写真に焼き込まれたラベルを覆う位置・サイズ */
  position: absolute; left: 3.2%; top: 6%; width: 34%; height: 19%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: 12px; letter-spacing: .1em;
  border-radius: 3px;
}
.result__catch { font-size: 13px; font-weight: 600; color: var(--navy); }
.result__title {
  font-family: var(--serif); color: var(--gold); font-weight: 600;
  font-size: 30px; line-height: 1.4; margin: 6px 0 14px; letter-spacing: .04em;
}
.result__title .big { font-size: 1.25em; }
.result__title .small { font-size: .78em; }
.result__text { font-size: 13px; color: var(--muted); line-height: 1.9; }
.result .card__arrow { top: 42%; }

/* Tools */
.tool__visual {
  height: 150px; display: grid; place-items: center; color: var(--navy);
  background: radial-gradient(circle at 50% 120%, #fff 0, transparent 60%), linear-gradient(135deg, #edf1f8, #dbe3f1);
}
/* キャラクターの高さを全カードで揃える */
.tool__visual img { height: 124px; width: auto; max-width: 90%; object-fit: contain; transition: transform .4s; }
.tool__visual svg { width: 60px; height: 60px; opacity: .8; }
a.tool:hover .tool__visual img { transform: translateY(-4px); }
.tool .card__body { padding: 20px 24px 22px; }
a.tool .card__body { padding-right: 48px; }
.tool__name { font-size: 12px; font-weight: 600; color: var(--gold); letter-spacing: .12em; }
.tool__title { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--navy); line-height: 1.5; margin-top: 2px; }
.tool__text { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin-top: 6px; }
.tool__for { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--navy); line-height: 1.7; }
.tool__for span { display: block; width: fit-content; font-size: 11px; color: #fff; background: var(--navy); border-radius: 3px; padding: 0 8px; margin-bottom: 6px; }
/* 相談への大きな正方形ボタン */
.tool-note {
  align-self: center; width: 100%; aspect-ratio: 1 / 1;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
  padding: 32px 28px; border-radius: var(--radius); background: var(--navy); color: #fff; text-align: center;
  box-shadow: 0 12px 30px rgba(19, 35, 74, .25); transition: background .25s, transform .25s, box-shadow .25s;
}
.tool-note:hover { background: #1c3266; transform: translateY(-4px); box-shadow: 0 18px 38px rgba(19, 35, 74, .32); }
.tool-note p { font-family: var(--serif); font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; line-height: 1.8; letter-spacing: .04em; }
.tool-note__btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 30px; border-radius: 999px;
  background: var(--gold); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .08em;
}
.tool-note__btn .arrow { width: 14px; transition: transform .25s; }
.tool-note:hover .tool-note__btn .arrow { transform: translateX(4px); }

/* Industries */
.industry .card__img { --ratio: 204 / 50; }
.industry .card__body { padding: 16px 48px 18px 26px; }
.industry__title { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--navy); }
.industry__text { font-size: 12.5px; color: var(--muted); }

/* History */
.history__img img { width: 100%; aspect-ratio: 156 / 67; object-fit: cover; border-radius: 4px; }
.history__body { position: relative; padding: 14px 0 0 24px; margin-top: 10px; }
.history__body::before { content: ""; position: absolute; left: 6px; top: 22px; bottom: 0; width: 1px; background: var(--line); }
.history__body::after { content: ""; position: absolute; left: 3px; top: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.history__item:nth-child(3) .history__body::after { background: var(--navy); }
.history__year { font-family: var(--serif); font-size: 14px; color: var(--navy); }
.history__title { font-family: var(--serif); font-size: 19px; color: var(--navy); font-weight: 600; margin: 2px 0 6px; }
.history__text { font-size: 12.5px; color: var(--muted); line-height: 1.8; }

/* Reason */
.reason {
  position: relative; min-height: 210px; padding: 32px 30px 30px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.reason__photo {
  position: absolute; right: 0; top: 0; bottom: 0; width: 46%;
  background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  opacity: .9;
}
.reason > *:not(.reason__photo) { position: relative; }
.reason__num { font-family: var(--serif); font-size: 26px; color: var(--navy); font-weight: 600; line-height: 1.2; }
.reason__title { font-family: var(--serif); font-size: 20px; color: var(--navy); font-weight: 600; margin: 8px 0 18px; }
.reason__text { font-size: 13px; color: var(--muted); line-height: 1.9; max-width: 72%; text-shadow: 0 0 8px #fff, 0 0 8px #fff; }

/* Flow */
.flow-head { display: flex; align-items: baseline; gap: 40px; margin-bottom: 30px; flex-wrap: wrap; }
.flow-head .sec-title { font-size: clamp(22px, 2.4vw, 28px); }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 20px; }
.flow--4 { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: start; gap: 16px; }
.flow__step { display: flex; align-items: center; gap: 18px; }
.flow--4 .flow__step { flex-direction: column; align-items: flex-start; gap: 14px; }
.flow__top { display: flex; align-items: center; gap: 14px; }
.flow--4 .flow__sep { margin-top: 14px; }
.flow__num { font-family: var(--serif); font-size: 22px; color: var(--navy); font-weight: 600; }
.flow__icon {
  flex: none; width: 70px; height: 70px; border-radius: 50%; background: #fff;
  box-shadow: 0 4px 18px rgba(19, 35, 74, .1); display: grid; place-items: center; color: var(--navy);
}
.flow__icon svg { width: 30px; height: 30px; }
.flow__title { font-family: var(--serif); font-size: 19px; color: var(--navy); font-weight: 600; }
.flow__text { font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.flow__sep { width: 16px; height: 44px; color: #b5bccb; }

/* CTA */
.cta { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
/* 写真は元画像の幅（750px）以内で固定し、外側は紺の帯 */
.cta__bg {
  position: absolute; top: 0; bottom: 0;
  right: max(0px, calc((100% - 1320px) / 2)); width: min(640px, 46%);
  background: url(../img/cta-bg.webp) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 55%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 55%, #000 88%, transparent 100%);
}
.cta__inner { position: relative; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 56px; padding: 54px 0; }
.cta__sub { font-family: var(--serif); font-size: 17px; line-height: 1.9; letter-spacing: .1em; }
.cta__main { text-align: left; }
.cta__title { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.6; letter-spacing: .08em; font-weight: 500; margin-bottom: 22px; }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); }
.footer__inner {
  width: min(100% - 48px, 1320px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 0;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12.5px; color: var(--navy); }
.footer__nav a:hover { color: var(--gold); }
.footer__copy { white-space: nowrap; font-size: 11px; color: var(--muted); font-family: var(--en); }

/* ---------- Lower pages ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy);
}
.page-hero__bg {
  position: absolute; inset: 0 0 0 40%;
  background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0, #000 60%);
  opacity: .85;
}
/* 業種別：人物の顔が切れないよう画像の上端に合わせる */
.page-hero__bg[style*="page-solution"] { background-position: center top; }
.page-hero__inner { position: relative; padding: 76px 0 70px; }
.page-hero .eyebrow { color: var(--gold-2); }
.page-hero__title { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; letter-spacing: .08em; }
.page-hero__lead { margin-top: 14px; font-size: 14px; opacity: .85; max-width: 560px; }
.breadcrumb { background: var(--bg-soft); font-size: 12px; color: var(--muted); }
.breadcrumb ol { display: flex; gap: 10px; padding: 12px 0; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "›"; margin-right: 10px; }
.breadcrumb a { color: var(--navy); }

.subnav { display: flex; flex-wrap: wrap; gap: 12px; }
.subnav a {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px; background: #fff; border: 1px solid var(--line); border-radius: 4px;
  font-size: 13px; color: var(--navy); font-weight: 500; transition: border-color .25s, color .25s;
}
.subnav a:hover { border-color: var(--gold); color: var(--gold); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.split--rev .split__img { order: 2; }
.prose p + p { margin-top: 1em; }
.prose { font-size: 15px; line-height: 2; }
.h3 { font-family: var(--serif); font-size: 24px; color: var(--navy); font-weight: 600; line-height: 1.5; margin-bottom: 18px; }
.h3 .num { display: block; font-size: 14px; color: var(--gold); letter-spacing: .2em; margin-bottom: 4px; }

.message { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
/* 代表紹介：文章を左、写真を右に */
.message--photo-right { grid-template-columns: 1.6fr 1fr; }
.message__sign { margin-top: 28px; text-align: right; font-family: var(--serif); color: var(--navy); }
.message__sign strong { font-size: 22px; margin-left: 12px; }

.table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.table th, .table td { padding: 20px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { width: 200px; color: var(--navy); font-weight: 600; background: var(--bg-soft); }
.table tr:first-child th, .table tr:first-child td { border-top: 2px solid var(--navy); }

.feature { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 28px; }
.feature__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--navy); margin-bottom: 16px; }
.feature__icon svg { width: 28px; height: 28px; }
.feature__title { font-family: var(--serif); font-size: 19px; color: var(--navy); font-weight: 600; margin-bottom: 8px; }
.feature__text { font-size: 13.5px; color: var(--muted); line-height: 1.9; }
.feature__head { display: flex; align-items: center; gap: 16px; margin: 8px 0 14px; }
.feature__head .feature__icon { flex: none; margin-bottom: 0; }
.feature__head .feature__title { margin-bottom: 0; }
.feature__num { font-family: var(--en); font-size: 12px; letter-spacing: .2em; color: var(--gold); }

.case { display: grid; grid-template-columns: 380px 1fr; gap: 40px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.case + .case { margin-top: 28px; }
.case__img { position: relative; align-self: center; margin: 28px 0 28px 28px; border-radius: 4px; overflow: hidden; }
.case__img img { width: 100%; aspect-ratio: 206 / 108; object-fit: cover; }
.case__body { padding: 34px 40px 34px 0; }
.case__dl { display: grid; grid-template-columns: 72px 1fr; gap: 10px 16px; margin-top: 18px; font-size: 13.5px; }
.case__dl dt { color: #fff; background: var(--navy); font-size: 12px; text-align: center; border-radius: 3px; height: 26px; line-height: 26px; }
.case__dl dt.gold { background: var(--gold); }
.case__dl dd { margin: 0; color: var(--text); line-height: 1.85; }

.service-block { padding: 64px 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.check-list { margin-top: 20px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; font-size: 14px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.solution { display: grid; grid-template-columns: 340px 1fr; gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.solution + .solution { margin-top: 28px; }
.solution__img { align-self: center; padding: 28px 0 28px 28px; }
.solution__img img { width: 100%; aspect-ratio: 143 / 54; object-fit: cover; border-radius: 4px; }
.solution__name { margin-top: 14px; color: var(--navy); font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: .08em; line-height: 1.5; padding-left: 14px; border-left: 3px solid var(--gold); }
.solution__body { padding: 32px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.solution__label { display: inline-block; font-size: 12px; letter-spacing: .14em; color: var(--muted); border-bottom: 2px solid var(--line); padding-bottom: 4px; margin-bottom: 12px; }
.solution__label--gold { color: var(--gold); border-color: var(--gold); }
.solution__body ul li { font-size: 13.5px; line-height: 1.8; padding-left: 14px; position: relative; }
.solution__body ul li + li { margin-top: 6px; }
.solution__body ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: #b5bccb; }
.solution__body .solution__col--gold li::before { background: var(--gold); }

.sol-case { padding-left: 14px; border-left: 2px solid var(--line); }
.sol-case__title { font-size: 14.5px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.sol-case p { font-size: 13.5px; line-height: 1.85; color: var(--text); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature__ex { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--navy); line-height: 1.8; }
.task .feature__title { margin-top: 6px; }
.task__ai { display: inline-block; font-size: 11px; color: #fff; background: var(--gold); border-radius: 3px; padding: 0 8px; margin-right: 8px; }

/* About: group / timeline / profile */
.group .card__img { --ratio: 4 / 3; }
.group .card__body { padding: 20px 22px 24px; }
.group__biz { font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: .12em; }
.group__name { font-family: var(--serif); font-size: 18px; color: var(--navy); font-weight: 600; margin: 2px 0 8px; }
.group__text { font-size: 13px; color: var(--muted); line-height: 1.85; }

.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 67px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 32px; padding: 12px 0; }
.timeline li::before { content: ""; position: absolute; left: 64px; top: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.timeline__year { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--gold); line-height: 1.5; }
.timeline p { font-size: 14.5px; line-height: 1.9; padding-top: 2px; }

.profile__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius); box-shadow: var(--shadow); }
.profile__role { font-size: 13px; color: var(--muted); }
.profile__name { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--navy); letter-spacing: .16em; margin: 4px 0 24px; }
.profile__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.profile__stats li { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.profile__stats strong { display: block; font-family: var(--serif); font-size: 21px; color: var(--gold); line-height: 1.4; }
.profile__stats span { font-size: 12px; color: var(--muted); }

/* AI・DX: clients / future */
.clients { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px 40px; border-left: 4px solid var(--gold); }
.clients__label { font-size: 13px; color: var(--gold-2); letter-spacing: .1em; }
.clients__list { display: flex; flex-wrap: wrap; gap: 8px 48px; margin-top: 8px; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; letter-spacing: .08em; }
.future { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.future__item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 26px; border-top: 3px solid var(--navy); }
.future__item--gold { border-top-color: var(--gold); }
.future__when { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); }
.future__item--gold .future__when { color: var(--gold); }
.future__text { margin-top: 10px; font-size: 14px; line-height: 1.9; }
.note { margin-top: 20px; font-size: 12.5px; color: var(--muted); }

/* Form */
.form-note { font-size: 14px; margin-bottom: 32px; }
.form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px 56px; }
.form__row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.form__row:first-child { padding-top: 0; }
.form__label { font-weight: 600; color: var(--navy); font-size: 14px; padding-top: 12px; display: flex; align-items: flex-start; gap: 10px; }
.req, .opt { font-size: 11px; font-weight: 500; border-radius: 3px; padding: 1px 8px; color: #fff; margin-top: 3px; white-space: nowrap; }
.req { background: #b4443c; }
.opt { background: #9aa2b3; }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  border: 1px solid #cfd5e1; border-radius: 4px; padding: 12px 14px; background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(19, 35, 74, .1); background: #fff; }
.textarea { min-height: 200px; resize: vertical; }
.radios { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.radios input { accent-color: var(--navy); width: 17px; height: 17px; }
.form__agree { text-align: center; margin: 32px 0 26px; font-size: 14px; }
.form__agree input { accent-color: var(--navy); width: 17px; height: 17px; vertical-align: -3px; margin-right: 8px; }
.form__agree a { color: var(--navy); text-decoration: underline; }
.form__submit { text-align: center; }
/* ボット対策の隠し項目（人には見えない） */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__fail { margin-top: 24px; padding: 18px 22px; border: 1px solid #e3b7b2; border-radius: var(--radius); background: #fdf3f2; font-size: 13.5px; line-height: 1.9; }
.form__fail-msg { color: #b4443c; font-weight: 600; }
.form__fail a { color: var(--navy); text-decoration: underline; }
.btn[disabled] { opacity: .6; cursor: wait; }
.error { color: #b4443c; font-size: 12.5px; margin-top: 6px; display: none; }
.is-invalid .error { display: block; }
.is-invalid .input, .is-invalid .textarea, .is-invalid .select { border-color: #b4443c; }
.form-done { display: none; text-align: center; padding: 56px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-done.is-show { display: block; }

.contact-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.contact-alt__item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 32px; display: flex; gap: 20px; align-items: center; }

/* Privacy */
.policy { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 56px 64px; }
.policy h2 { font-family: var(--serif); font-size: 19px; color: var(--navy); margin: 40px 0 12px; padding-left: 14px; border-left: 3px solid var(--gold); line-height: 1.5; }
.policy h2:first-of-type { margin-top: 28px; }
.policy p, .policy li { font-size: 14px; line-height: 2; }
.policy ol { list-style: decimal; padding-left: 1.6em; margin-top: 8px; }
.policy .date { text-align: right; margin-top: 40px; font-size: 13px; color: var(--muted); }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .gnav__list { gap: 20px; }
  .gnav { gap: 20px; }
  .stats__item { padding: 4px 22px; gap: 16px; }
  .stats__value { font-size: 30px; }
  .result__title { font-size: 25px; }
  .flow { grid-template-columns: 1fr; gap: 18px; }
  .flow__sep { display: none; }
  .cta__inner { grid-template-columns: 1fr; text-align: center; }
  .cta__main { text-align: center; }
  .case { grid-template-columns: 300px 1fr; gap: 28px; }
  .solution { grid-template-columns: 260px 1fr; }
}

/* ヘッダーのメニューが1行に収まらない幅からハンバーガーに切り替える */
@media (max-width: 1240px) {
  :root { --header-h: 64px; }
  /* backdrop-filterがあると固定配置のメニューがヘッダー内に閉じ込められるため解除 */
  .header { backdrop-filter: none; background: #fff; }
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after {
    content: ""; display: block; width: 24px; height: 2px; background: var(--navy); position: relative; transition: transform .3s, background .3s;
  }
  .menu-btn span::before { position: absolute; top: -7px; }
  .menu-btn span::after { position: absolute; top: 7px; }
  .is-menu-open .menu-btn span { background: transparent; }
  .is-menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
  .is-menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
  .gnav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 28px; padding: 24px 24px 40px;
    transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; overflow-y: auto;
  }
  .is-menu-open .gnav { transform: none; visibility: visible; }
  .gnav__list { flex-direction: column; gap: 0; }
  .gnav__list a { display: block; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .gnav__list a::after { display: none; }
  .brand__logo { width: 84px; }
  .brand__name strong { font-size: 16px; }
}
@media (max-width: 900px) {

  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .future { grid-template-columns: 1fr 1fr; }
  .profile__img { max-width: 420px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sec-head__main { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stats__list { grid-template-columns: 1fr; padding: 8px 0; }
  .stats__item, .stats__item:last-child { border: 0; border-bottom: 1px solid var(--line); padding: 16px 4px; }
  .stats__item:last-child { border-bottom: 0; }
  .split, .message { grid-template-columns: 1fr; gap: 28px; }
  .message--photo-right .profile__img { order: -1; }
  .split--rev .split__img { order: 0; }
  .case, .solution { grid-template-columns: 1fr; }
  .case__img { margin: 20px 20px 0; }
  .solution__img { padding: 20px 20px 0; }
  .case__body { padding: 0 24px 28px; }
  .solution__body { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .form { padding: 32px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 8px; }
  .form__label { padding-top: 0; }
  .contact-alt { grid-template-columns: 1fr; }
  .policy { padding: 36px 22px; }
  .table th { width: 120px; padding: 16px; }
  .table td { padding: 16px; }
}

@media (max-width: 600px) {
  body { font-size: 14px; }
  .section { padding: 64px 0; }
  .grid-3, .grid-2, .future { grid-template-columns: 1fr; }
  .profile__stats { grid-template-columns: 1fr; }
  .clients { padding: 24px 22px; }
  .timeline::before { left: 55px; }
  .timeline li { grid-template-columns: 48px 1fr; gap: 24px; }
  .timeline li::before { left: 52px; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
  .hero__frame { width: 100%; }
  .case-consult { padding: 20px; }
  .case-consult .btn { width: 100%; }
  .brand__name small { display: none; }
  .reason__photo { width: 40%; }
  .reason__text { max-width: 64%; }
  .btn--wide { min-width: 0; width: 100%; }
  .table th, .table td { display: block; width: 100%; }
  .table tr:first-child td { border-top: 0; }
  .page-hero__bg { inset: 0; opacity: .35; -webkit-mask-image: none; mask-image: none; }
  .cta__bg { width: 100%; opacity: .35; }
}
