/* ============================================================
   REXLI HPリニューアル 下層ページ共有CSS（運用実績 一覧・詳細）
   モックC（スマホの中の世界）のデザイントークンを継承
   ============================================================ */
:root {
  --teal: #0E9A96;
  --teal-dark: #0B807C;
  --teal-tint: #EFF6F5;
  --soft-yellow: #FEF9C9;
  --ink: #14262A;
  --body: #41504F;
  --muted: #93A09E;
  --line: #E5EAE8;
  --bg: #FFFFFF;
  --cream: #F3F7F6;
  --amber: #0E9A96;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--body); background: var(--bg);
  line-height: 2.05; font-size: 15px; letter-spacing: .03em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--teal); color: #fff; }
.en { font-family: 'Inter', sans-serif; }
.inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; position: relative; }
img { max-width: 100%; height: auto; }

/* ===== header ===== */
header.site-hd { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .5s var(--ease), background .3s, border-color .3s; border-bottom: 1px solid transparent; }
header.site-hd.solid { background: rgba(251,250,247,.92); backdrop-filter: blur(12px); border-color: var(--line); }
header.site-hd.hide { transform: translateY(-100%); }
.header-in { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 40px; height: 74px; }
.logo { font-family: 'Inter'; font-weight: 800; font-size: 21px; color: var(--ink); letter-spacing: .06em; text-decoration: none; }
.logo i { font-style: normal; color: var(--teal); }
.site-hd nav { margin-left: auto; display: flex; gap: 30px; }
.site-hd nav a { color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 500; position: relative; padding: 4px 0; }
.site-hd nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.site-hd nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700;
  border-radius: 12px; border: none; cursor: pointer;
  padding: 15px 30px; font-size: 14px; letter-spacing: .04em;
  box-shadow: 0 4px 0 rgba(20,38,42,.16);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(20,38,42,.16); }
.btn .arr { transition: transform .35s var(--ease); font-family: 'Inter'; }
.btn:hover .arr { transform: translateX(5px); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid #cdd7d5; }
.btn-ghost:hover { border-color: var(--ink); }
.header-cta { padding: 12px 24px; font-size: 13px; }

/* ===== section parts ===== */
.badge-sticker {
  display: inline-block; border: none; background: var(--ink); color: #fff;
  border-radius: 100px; padding: 8px 26px; font-size: 14px; font-weight: 900; letter-spacing: .1em;
  position: relative; font-family: 'Inter', 'Noto Sans JP', sans-serif;
}
.badge-sticker::after {
  content: ""; position: absolute; left: 20px; bottom: -8px;
  border: 4px solid transparent; border-top: 9px solid var(--ink);
  border-left-width: 2px; border-right-width: 7px;
}
.sec-h { font-size: clamp(32px, 4vw, 48px); font-weight: 900; color: var(--ink); line-height: 1.55; margin-top: 22px; }
.sec-h .marker, .highlight { background: linear-gradient(transparent 62%, #C9E8E5 62%); }
.underline { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sec-back {
  position: absolute; left: -8px; top: -54px; z-index: 0; pointer-events: none; user-select: none;
  font-family: 'Inter'; font-weight: 900; font-size: clamp(90px, 12vw, 168px); letter-spacing: .01em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(14,154,150,.13); white-space: nowrap;
}
.concept-lead { margin-top: 16px; max-width: 720px; color: var(--body); font-size: 15px; line-height: 2; }

[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ===== リボンライン（一覧ページ上部の装飾） ===== */
.pf-ribbon { position: absolute; z-index: 0; top: 64px; left: 0; width: 100%; height: 230px; overflow: hidden; pointer-events: none; }
.pf-ribbon svg { display: block; width: 100%; height: 100%; }
.pf-line-path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
@keyframes ribbonBob { from { transform: translateY(-16px); } to { transform: translateY(18px); } }
.ribbon-bob { animation: ribbonBob 8s ease-in-out infinite alternate; }

/* ===== 一覧（アーカイブ） ===== */
.pf-hero { padding: 158px 0 30px; position: relative; overflow: hidden; background: linear-gradient(180deg, #F4FAF9, #FFFFFF 86%); }
.pf-hero .inner { z-index: 1; }
.pf-lead { margin-top: 14px; max-width: 660px; }
.pf-list-sec { padding: 10px 0 110px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.fchip {
  font-size: 13.5px; font-weight: 700; color: var(--ink); border: 1.5px solid #b9c6c3; background: #fff;
  border-radius: 100px; padding: 8px 22px; cursor: pointer; font-family: inherit; letter-spacing: .03em;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--bounce);
}
.fchip:hover { border-color: var(--teal); color: var(--teal-dark); }
.fchip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.fchip .cnt { font-family: 'Inter'; font-size: 11px; opacity: .65; margin-left: 5px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.case-card {
  display: flex; flex-direction: column; background: #fff; border: 2px solid var(--ink); border-radius: 20px;
  overflow: hidden; text-decoration: none;
  transition: transform .4s var(--bounce), box-shadow .4s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: 10px 10px 0 rgba(14,154,150,.16); }
.case-card.hidden { display: none; }
.case-thumb { position: relative; aspect-ratio: 16 / 10; border-bottom: 2px solid var(--ink); overflow: hidden; background: var(--teal-tint); }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.case-card:hover .case-thumb img { transform: scale(1.05); }
.case-thumb .noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-family: 'Inter'; font-weight: 900; font-size: 30px; color: rgba(14,154,150,.25); letter-spacing: .08em; }
.case-tag { position: absolute; top: 12px; left: 12px; background: #fff; border: 1.5px solid var(--ink); border-radius: 100px; padding: 4px 14px; font-size: 11px; font-weight: 900; color: var(--ink); }
.case-body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.case-client { font-size: 18px; font-weight: 900; color: var(--ink); line-height: 1.6; }
.case-biz { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.7; }
.case-copy { margin-top: 12px; font-size: 14px; color: var(--body); line-height: 1.95; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-go { margin-top: auto; padding-top: 16px; font-family: 'Inter'; font-size: 11.5px; font-weight: 800; color: var(--ink); letter-spacing: .12em; display: inline-flex; align-items: center; gap: 8px; }
.case-go .arr { transition: transform .35s var(--ease); }
.case-card:hover .case-go .arr { transform: translateX(5px); }
.pf-empty { margin-top: 40px; color: var(--muted); }

/* ===== 詳細（シングル） ===== */
.pf-single-hero .inner, .pf-body-sec .inner, .pf-related .inner { max-width: 920px; }
.pf-single-hero { padding: 140px 0 0; position: relative; overflow: hidden; background: linear-gradient(180deg, #F4FAF9, #FFFFFF 90%); }
.pf-crumb { font-size: 13.5px; margin-bottom: 26px; }
.pf-crumb a { color: var(--teal-dark); text-decoration: none; font-weight: 700; }
.pf-crumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pf-crumb span { color: var(--muted); margin: 0 8px; }
.pf-ind-tag { display: inline-block; background: #fff; border: 1.5px solid var(--ink); border-radius: 100px; padding: 5px 18px; font-size: 12px; font-weight: 900; color: var(--ink); }
.pf-client-h { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; color: var(--ink); line-height: 1.6; margin-top: 18px; }
.pf-biz { font-size: 15px; color: var(--muted); margin-top: 6px; }
.pf-catch { font-size: clamp(18px, 2.2vw, 24px); font-weight: 900; color: var(--ink); line-height: 1.9; margin-top: 22px; max-width: 860px; }
.pf-figure { max-width: 600px; margin: 42px auto 0; border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--teal-tint); }
.pf-figure img { width: 100%; height: auto; display: block; }
.pf-body-sec { padding: 56px 0 90px; }
.pf-lead-box {
  background: var(--teal-tint); border-left: 4px solid var(--teal); border-radius: 0 14px 14px 0;
  padding: 26px 30px; font-size: 16px; line-height: 2.1; margin-bottom: 54px;
}
.pf-block { margin-top: 54px; }
.pf-block-h { display: flex; align-items: center; gap: 16px; }
.pf-block-h .num { font-family: 'Inter'; font-weight: 900; font-size: 15px; color: #fff; background: var(--teal); border-radius: 50%; width: 40px; height: 40px; flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; }
.pf-block-h h2 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 900; color: var(--ink); line-height: 1.6; }
.pf-block-body { margin-top: 24px; }
.pf-block-body strong, .pf-block-body b { color: var(--teal-dark); }
.pf-issue-list { list-style: none; display: grid; gap: 14px; }
.pf-issue-list li {
  position: relative; background: #fff; border: 1.5px solid rgba(196,213,210,.9); border-radius: 14px;
  padding: 18px 24px 18px 58px; font-size: 15.5px; line-height: 2.05;
}
.pf-issue-list li::before {
  content: ""; position: absolute; left: 22px; top: 27px; width: 19px; height: 19px; border-radius: 5px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.pf-measure-body { font-size: 16px; }
.pf-measure-body p { margin: 14px 0; }
.pf-measure-body ul, .pf-measure-body ol { margin: 14px 0 14px 24px; }
.pf-measure-body img { border: 1.5px solid var(--line); border-radius: 14px; display: block; margin: 14px auto; max-width: min(100%, 700px); height: auto; }
.pf-measure-body h4.case-sub-heading, .pf-measure-body h4 {
  font-size: 18.5px; font-weight: 900; color: var(--ink); line-height: 1.7;
  border-left: 4px solid var(--teal); padding: 4px 0 4px 16px; margin: 36px 0 12px;
}
.pf-measure-body h4:first-child { margin-top: 0; }
.col2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.col2 img { border: 1.5px solid var(--line); border-radius: 14px; width: 100%; max-width: 100%; margin: 0; height: auto; }
.pf-arrow { text-align: center; margin: 48px 0 0; }
.pf-arrow i {
  display: inline-block; width: 0; height: 0;
  border-left: 26px solid transparent; border-right: 26px solid transparent; border-top: 22px solid var(--teal);
  opacity: .85;
}
.pf-result-box {
  margin-top: 24px; background: linear-gradient(135deg, #F0FAF8, #FDFBEF);
  border: 2px solid var(--teal); border-radius: 20px; padding: 36px 40px;
  font-size: 16px; line-height: 2.15;
}
.pf-result-box p { margin: 12px 0; }
.pf-result-box p:first-child { margin-top: 0; }
.pf-result-box strong, .pf-result-box b { color: var(--teal-dark); }

/* 関連事例・一覧へ */
.pf-related { padding: 0 0 100px; }
.pf-related-h { font-size: 21px; font-weight: 900; color: var(--ink); }
.pf-related .case-grid { margin-top: 26px; }
.pf-back-wrap { text-align: center; margin-top: 52px; }

/* ===== CTA帯 ===== */
.pf-cta { background: var(--ink); color: #C6D2D0; padding: 84px 0; text-align: center; position: relative; overflow: hidden; }
.pf-cta .cta-h { font-size: clamp(24px, 3vw, 34px); font-weight: 900; color: #fff; line-height: 1.7; }
.pf-cta p { color: #9AACAA; max-width: 640px; margin: 16px auto 0; font-size: 14px; }
.pf-cta .ctas { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pf-cta .btn-teal { padding: 18px 44px; font-size: 15px; }
.pf-cta .btn-ghost { background: transparent; border-color: #405352; color: #fff; }
.pf-cta-ribbon { position: absolute; top: -6px; left: 0; width: 100%; height: 120px; overflow: hidden; pointer-events: none; opacity: .7; }
.pf-cta-ribbon svg { display: block; width: 100%; height: 100%; }

/* ===== footer ===== */
footer { padding: 60px 0 54px; border-top: 1px solid var(--line); }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-co { font-size: 12.5px; color: var(--muted); line-height: 2.1; }
.foot-co b { color: var(--ink); font-size: 15px; font-family: 'Inter'; }
.foot-links { display: flex; gap: 26px; font-size: 12.5px; }
.foot-links a { color: var(--body); text-decoration: none; }
.foot-links a:hover { color: var(--teal-dark); }

/* ===== privacy policy ===== */
.privacy-hero { padding-bottom: 56px; }
.privacy-body { padding: 72px 0 110px; background: linear-gradient(180deg, #fff, var(--cream)); }
.privacy-inner { max-width: 920px; }
.privacy-intro { max-width: 780px; font-size: 16px; line-height: 2.15; color: var(--ink); }
.privacy-list { margin-top: 46px; display: grid; gap: 18px; }
.privacy-item { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 22px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 30px 34px; }
.privacy-num { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-size: 13px; font-weight: 900; }
.privacy-item h2 { color: var(--ink); font-size: 20px; line-height: 1.6; font-weight: 900; margin: 5px 0 12px; }
.privacy-item p, .privacy-item li { font-size: 14.5px; line-height: 2; }
.privacy-item ul { margin: 10px 0 0 1.35em; }
.privacy-item li + li { margin-top: 5px; }
.privacy-contact { margin-top: 18px; padding: 20px 22px; background: var(--teal-tint); border-radius: 12px; font-style: normal; line-height: 2; }
.privacy-contact a { color: var(--teal-dark); font-weight: 700; }

/* ===== recruit ===== */
.recruit-hero { padding-bottom: 60px; }
.recruit-body { padding: 74px 0 110px; }
.recruit-body > .inner { max-width: 1000px; }
.recruit-eyebrow { color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.recruit-section-h { color: var(--ink); font-size: 28px; line-height: 1.5; font-weight: 900; margin-top: 5px; }
.recruit-lead { margin-top: 10px; }
.job-grid { display: grid; gap: 22px; margin-top: 34px; }
.job-card { border: 1.5px solid var(--line); border-radius: 20px; padding: 30px 34px; background: #fff; }
.job-card-head { display: flex; align-items: center; gap: 15px; }
.job-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--teal); font-size: 12px; font-weight: 900; }
.job-card h3 { color: var(--ink); font-size: 21px; font-weight: 900; }
.job-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 24px; }
.job-columns h4 { color: var(--teal-dark); font-size: 14px; font-weight: 900; margin-bottom: 9px; }
.job-columns ul { margin-left: 1.2em; }
.job-columns li { font-size: 14px; line-height: 1.9; }
.recruit-section { margin-top: 78px; }
.recruit-table-wrap { margin-top: 28px; border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; }
.recruit-table { width: 100%; border-collapse: collapse; }
.recruit-table th, .recruit-table td { padding: 19px 24px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; line-height: 1.9; }
.recruit-table tr:last-child th, .recruit-table tr:last-child td { border-bottom: 0; }
.recruit-table th { width: 190px; color: var(--ink); background: var(--teal-tint); font-weight: 900; }
.apply-box { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 38px; border-radius: 20px; background: var(--cream); }
.apply-box > div { max-width: 650px; }
.apply-box p:not(.recruit-eyebrow) { margin-top: 16px; font-size: 14px; }
.apply-box address { margin-top: 18px; font-style: normal; font-size: 13.5px; line-height: 1.9; }
.apply-box .btn { flex: 0 0 auto; }
.recruit-flow { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 28px; }
.recruit-flow li { position: relative; text-align: center; padding: 24px 10px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; }
.recruit-flow span { display: block; color: var(--teal); font-family: Inter; font-size: 12px; font-weight: 900; }
.recruit-flow b { display: block; color: var(--ink); margin-top: 4px; font-size: 15px; }

/* ===== mobile ===== */
@media (max-width: 900px) {
  .site-hd nav { display: none; }
  .header-cta { margin-left: auto; }
  .privacy-body { padding: 48px 0 76px; }
  .privacy-intro { font-size: 14.5px; }
  .privacy-item { grid-template-columns: 1fr; gap: 14px; padding: 24px 20px; }
  .privacy-item h2 { margin-top: 0; font-size: 18px; }
  .recruit-body { padding: 50px 0 76px; }
  .recruit-section-h { font-size: 23px; }
  .job-card { padding: 24px 20px; }
  .job-columns { grid-template-columns: 1fr; gap: 22px; }
  .recruit-table th, .recruit-table td { display: block; width: 100%; padding: 14px 18px; }
  .recruit-table th { border-bottom: 0; padding-bottom: 7px; }
  .recruit-table td { padding-top: 5px; }
  .apply-box { display: block; padding: 28px 22px; }
  .apply-box .btn { width: 100%; justify-content: center; margin-top: 24px; }
  .recruit-flow { grid-template-columns: repeat(2,1fr); }
  .sec-back { font-size: 64px; top: -34px; }
  .sec-h { font-size: 26px; }
  .pf-hero { padding: 120px 0 20px; }
  .pf-ribbon { top: 46px; height: 130px; }
  .pf-ribbon svg { width: 190vw; transform: translateX(-46vw); }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .col2 { grid-template-columns: minmax(0, 1fr); }
  .pf-single-hero { padding: 108px 0 0; }
  .pf-lead-box { padding: 20px 22px; }
  .pf-result-box { padding: 26px 22px; }
  .pf-cta .ctas .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ribbon-bob { animation: none; }
  .pf-line-path { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
}

/* ===== 対談記事（インタビュー） ===== */
.iv-thumb-video { aspect-ratio: 16 / 9; }
.iv-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 15px; padding-left: 4px;
  transition: scale .35s var(--bounce), background .3s, color .3s;
}
.case-card:hover .iv-play { scale: 1.15; background: var(--teal); color: #fff; }
.iv-kpi-chip { display: inline-block; background: var(--teal-tint); border: 1.5px solid var(--teal); color: var(--teal-dark); border-radius: 100px; padding: 3px 14px; font-size: 11.5px; font-weight: 900; margin-top: 10px; }
.iv-quote-mark { position: absolute; top: 4px; right: 16px; font-family: 'Inter'; font-weight: 900; font-size: 56px; line-height: 1; color: var(--teal); opacity: .18; pointer-events: none; }

.iv-video {
  max-width: 860px; margin: 42px auto 0; border: 2px solid var(--ink); border-radius: 20px;
  overflow: hidden; background: #000; aspect-ratio: 16 / 9; position: relative;
}
.iv-video iframe { width: 100%; height: 100%; display: block; border: 0; }
.iv-kpi-line { margin-top: 16px; }
.iv-kpi-line .iv-kpi-chip { font-size: 13px; padding: 5px 18px; }

.iv-body { max-width: 860px; margin: 0 auto; font-size: 16px; }
.iv-body h2 { font-size: clamp(20px, 2.3vw, 25px); font-weight: 900; color: var(--ink); line-height: 1.7; margin: 46px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--teal); }
.iv-body h3 { font-size: 18px; font-weight: 900; color: var(--ink); line-height: 1.7; border-left: 4px solid var(--teal); padding: 4px 0 4px 16px; margin: 34px 0 12px; }
.iv-body p { margin: 14px 0; }
.iv-body strong, .iv-body b { color: var(--teal-dark); }
.iv-body blockquote {
  background: var(--teal-tint); border-left: 4px solid var(--teal); border-radius: 0 14px 14px 0;
  padding: 20px 26px; margin: 20px 0; font-size: 15px;
}
.iv-body img { max-width: min(100%, 700px); height: auto; display: block; margin: 14px auto; border: 1.5px solid var(--line); border-radius: 14px; }
/* 文字起こしQ&A用（話者ラベル）。wpautopがラベルを別段落に包んでも崩れないようgrid */
.iv-body .talk-q, .iv-body .talk-a {
  display: grid; grid-template-columns: 108px 1fr; gap: 6px 16px;
  align-items: start; margin: 22px 0;
}
.iv-body .talk-q .who, .iv-body .talk-a .who {
  display: inline-block; justify-self: start; white-space: nowrap;
  border-radius: 100px; padding: 4px 14px;
  font-size: 11.5px; font-weight: 900; margin-top: 3px;
}
.iv-body .talk-q .who { background: var(--ink); color: #fff; }
.iv-body .talk-a .who { background: var(--teal); color: #fff; }
.iv-body .talk-q p, .iv-body .talk-a p { margin: 0; }
.iv-body .talk-q > p:last-child, .iv-body .talk-a > p:last-child { grid-column: 2; grid-row: 1; }
.iv-body .talk-q p { font-weight: 700; color: var(--ink); }
@media (max-width: 900px) {
  .iv-body .talk-q, .iv-body .talk-a { grid-template-columns: 1fr; gap: 6px; }
  .iv-body .talk-q > p:last-child, .iv-body .talk-a > p:last-child { grid-column: 1; grid-row: auto; }
}
.iv-preparing {
  max-width: 860px; margin: 40px auto 0; text-align: center;
  background: var(--cream); border: 1.5px dashed #b9c6c3; border-radius: 16px;
  padding: 34px 24px; color: var(--muted); font-size: 14px;
}
@media (max-width: 900px) {
  .iv-video { margin-top: 30px; }
  .iv-body { font-size: 15.5px; }
}

/* ===== お問い合わせページ ===== */
.contact-hero { padding-bottom: 10px; }
.contact-body { padding: 30px 0 100px; }
.contact-body .inner { max-width: 860px; }
#line-contact, #mail-contact { scroll-margin-top: 100px; }
.contact-line-card {
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  background: var(--teal-tint); border: 2px solid var(--teal); border-radius: 20px; padding: 32px 38px;
}
.contact-line-card .clc-tag {
  display: inline-block; background: var(--teal); color: #fff; border-radius: 100px;
  padding: 4px 16px; font-size: 11.5px; font-weight: 900; letter-spacing: .06em;
}
.contact-line-card h2 { font-size: 22px; font-weight: 900; color: var(--ink); margin-top: 10px; line-height: 1.6; }
.contact-line-card p { font-size: 13.5px; margin-top: 8px; line-height: 1.9; }
.contact-line-card .btn { padding: 18px 40px; font-size: 15px; }
.contact-divider {
  display: flex; align-items: center; gap: 18px; margin: 44px 0;
  color: var(--muted); font-size: 13.5px; text-align: center;
}
.contact-divider::before, .contact-divider::after { content: ""; flex: 1; height: 1.5px; background: var(--line); }
.contact-form-card { background: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: 40px 44px 44px; }
.cfc-title { font-size: 22px; font-weight: 900; color: var(--ink); line-height: 1.6; }
.cfc-note { font-size: 12.5px; color: var(--muted); margin: 6px 0 10px; }

/* WPFormsを新デザインに寄せる */
.contact-form-card .wpforms-container { margin: 0; }
.contact-form-card .wpforms-field { padding: 14px 0; }
.contact-form-card .wpforms-field-label,
.contact-form-card legend.wpforms-field-label {
  font-size: 14px; font-weight: 900; color: var(--ink); margin-bottom: 8px; letter-spacing: .03em;
}
.contact-form-card .wpforms-required-label { color: #D2542F; }
.contact-form-card .wpforms-form input[type="text"],
.contact-form-card .wpforms-form input[type="email"],
.contact-form-card .wpforms-form textarea {
  width: 100%; max-width: 100%;
  background: var(--cream); border: 1.5px solid #cdd7d5; border-radius: 12px;
  padding: 14px 18px; font-size: 15px; font-family: inherit; color: var(--ink);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.contact-form-card .wpforms-form input:focus,
.contact-form-card .wpforms-form textarea:focus {
  outline: none; background: #fff; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,154,150,.14);
}
.contact-form-card .wpforms-form textarea { min-height: 180px; }
.contact-form-card .wpforms-field-sublabel { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.contact-form-card .wpforms-form ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.contact-form-card .wpforms-form ul li { display: flex; align-items: center; gap: 7px; }
.contact-form-card .wpforms-form input[type="radio"] { accent-color: var(--teal); width: 17px; height: 17px; }
.contact-form-card .wpforms-field-label-inline { font-size: 14px; color: var(--body); }
.contact-form-card .wpforms-submit-container { padding-top: 22px; text-align: center; }
.contact-form-card .wpforms-container {
  --wpforms-button-background-color: var(--teal);
  --wpforms-button-background-color-alt: var(--teal-dark);
  --wpforms-button-text-color: #fff;
  --wpforms-button-border-radius: 12px;
}
.contact-form-card .wpforms-form button[type="submit"],
.contact-form-card .wpforms-form .wpforms-submit {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--teal) !important; color: #fff !important; border: none !important; border-radius: 12px !important;
  padding: 18px 52px !important; font-size: 15.5px !important; font-weight: 700; font-family: inherit; letter-spacing: .04em;
  box-shadow: 0 4px 0 rgba(20,38,42,.16);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .3s;
}
.contact-form-card .wpforms-form button[type="submit"]:hover,
.contact-form-card .wpforms-form .wpforms-submit:hover {
  background: var(--teal-dark) !important; transform: translateY(2px); box-shadow: 0 2px 0 rgba(20,38,42,.16);
}
@media (max-width: 900px) {
  #line-contact, #mail-contact { scroll-margin-top: 100px; }
.contact-line-card { padding: 24px 22px; }
  .contact-line-card .clc-right { width: 100%; }
  .contact-line-card .btn { width: 100%; justify-content: center; }
  .contact-form-card { padding: 26px 20px 30px; }
}

/* ===== 立体感（下層共通） ===== */
.btn-green { background: #2FC25B; color: #fff; }
.btn-green:hover { background: #27A94E; }
.case-card { box-shadow: 7px 7px 0 rgba(20,38,42,.07); }
.contact-form-card, .contact-line-card { box-shadow: 8px 8px 0 rgba(14,128,124,.10); }
.pf-result-box { box-shadow: 8px 8px 0 rgba(14,128,124,.10); }
.iv-video, .pf-figure { box-shadow: 9px 9px 0 rgba(14,128,124,.10); }
@keyframes fbDrift {
  from { transform: translate3d(0,-16px,0) rotate(.6deg); }
  to { transform: translate3d(0,24px,0) rotate(-.6deg); }
}
.pf-hero::before {
  content: ""; position: absolute; left: 6%; bottom: 8%; width: 120px; height: 120px;
  border-radius: 22px; background: #BFE9E4; opacity: .55; filter: blur(9px);
  pointer-events: none; animation: fbDrift 17s ease-in-out infinite alternate;
}
.pf-hero::after {
  content: ""; position: absolute; right: 8%; top: 20%; width: 140px; height: 140px;
  border-radius: 22px; background: #FBF0BE; opacity: .55; filter: blur(9px);
  pointer-events: none; animation: fbDrift 15s ease-in-out infinite alternate; animation-delay: -7s;
}
.pf-single-hero::after {
  content: ""; position: absolute; right: 6%; top: 10%; width: 130px; height: 130px;
  border-radius: 22px; background: #BFE9E4; opacity: .5; filter: blur(9px);
  pointer-events: none; animation: fbDrift 16s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  .pf-hero::before, .pf-hero::after, .pf-single-hero::after { animation: none; }
}

/* ===== 会社概要ページ ===== */
.co-hero { padding-bottom: 20px; }
.co-body { padding: 30px 0 100px; }
.co-body .inner { max-width: 860px; }
.co-table-wrap {
  background: #fff; border: 2px solid var(--ink); border-radius: 20px; overflow: hidden;
  box-shadow: 8px 8px 0 rgba(14,128,124,.08);
}
.co-table { width: 100%; border-collapse: collapse; }
.co-table th {
  width: 170px; text-align: left; vertical-align: top;
  background: var(--teal-tint); color: var(--ink);
  font-size: 13.5px; font-weight: 900; letter-spacing: .04em;
  padding: 18px 26px; border-bottom: 1px solid var(--line);
}
.co-table td { font-size: 14.5px; line-height: 2; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.co-table tr:last-child th, .co-table tr:last-child td { border-bottom: none; }
.co-table .co-note { font-size: 12px; color: var(--muted); }
.co-members { margin-top: 64px; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; margin-top: 24px; }
.member {
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px;
  padding: 20px 10px 18px; text-align: center;
}
.member img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--teal-tint); background: var(--cream); }
.member .m-name { font-size: 13.5px; font-weight: 900; color: var(--ink); margin-top: 10px; line-height: 1.5; }
.member .m-role { font-size: 11px; color: var(--muted); margin-top: 2px; }
@media (max-width: 900px) {
  .co-table th { width: 108px; padding: 14px 14px; font-size: 12.5px; }
  .co-table td { padding: 14px 16px; font-size: 14px; }
  .member-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

/* ===== お問い合わせ完了ページ ===== */
.thanks-page { min-height: calc(100vh - 90px); background: var(--cream); }
.thanks-hero {
  position: relative; overflow: hidden; padding: 150px 0 100px;
  background:
    radial-gradient(circle at 12% 18%, rgba(191,233,228,.42), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(251,240,190,.42), transparent 27%),
    var(--cream);
}
.thanks-card {
  position: relative; z-index: 1; max-width: 760px; margin: 0 auto;
  background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 16px;
  padding: 64px 70px 58px; text-align: center;
}
.thanks-eyebrow { margin: 0 0 16px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .22em; }
.thanks-kicker { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.thanks-card h1 { margin: 0; color: var(--ink); font-size: clamp(30px, 4vw, 43px); line-height: 1.5; letter-spacing: -.02em; }
.thanks-card h1 span { display: block; white-space: nowrap; }
.thanks-lead { margin: 22px auto 0; color: var(--body); font-size: 15px; line-height: 2; }
.thanks-steps {
  margin-top: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: transparent; text-align: left;
}
.thanks-step { display: flex; gap: 18px; align-items: flex-start; padding: 20px 24px; }
.thanks-step + .thanks-step { border-top: 1px solid var(--line); }
.thanks-step-num { flex: 0 0 auto; color: var(--teal); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.thanks-step strong { display: block; color: var(--ink); font-size: 14px; }
.thanks-step p { margin: 5px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.thanks-step code { padding: 2px 6px; border-radius: 5px; background: #fff; color: var(--teal-dark); font-family: Inter, sans-serif; font-size: 12px; }
.thanks-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.thanks-actions .btn { min-width: 210px; justify-content: center; }
@media (max-width: 900px) {
  .thanks-hero { padding: 112px 18px 70px; }
  .thanks-card { padding: 44px 22px 38px; border-radius: 14px; }
  .thanks-card h1 { font-size: 25px; line-height: 1.6; }
  .thanks-lead { font-size: 14px; text-align: left; }
  .thanks-lead br { display: none; }
  .thanks-step { padding: 18px 17px; gap: 12px; }
  .thanks-actions { display: grid; }
  .thanks-actions .btn { width: 100%; min-width: 0; }
  footer .inner { padding-inline: 24px; }
  .foot-links { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
  .foot-links a { white-space: nowrap; }
}
