@charset "UTF-8";
@import url("./tokens.css");

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* 横スクロール安全弁：フルブリード要素やクラシックスクロールバー(macOS常時表示/Windows)起因の
   不意の横スクロールを防ぐ。clip はスクロールコンテナを作らないため position:sticky や
   scroll-driven アニメを壊さない。料金/比較表は .table-scroll が独自の横スクロールを持つので影響なし。 */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .7; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; width: 100%; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--w-container); margin: 0 auto; padding-inline: var(--pad-x); }
.container-narrow { width: 100%; max-width: var(--w-narrow); margin: 0 auto; padding-inline: var(--pad-x); }
.container-mid { width: 100%; max-width: var(--w-mid); margin: 0 auto; padding-inline: var(--pad-x); }
@media (max-width: 767px) {
  .container, .container-narrow, .container-mid { padding-inline: var(--pad-x-sp); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 110.241px;
  background: transparent;
}
.site-header__inner {
  height: 98px;
  background: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 98px;
  height: 12.241px;
  background: url("/assets/images/header-accent.svg") no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 49px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav__list {
  display: flex;
  gap: 8px;
  align-items: center;
}
.site-nav__link {
  font-family: var(--font-nav);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.8px;
  color: var(--c-grey-25);
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
}
.site-nav__link:hover { color: var(--c-red-40); opacity: 1; }
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  background: var(--c-red-40);
  color: var(--c-white) !important;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px -4px rgba(204,0,1,0.45);
  transition: box-shadow .2s, transform .2s;
}
.site-nav__cta::after { content: "→"; font-weight: 400; }
.site-nav__cta:hover {
  opacity: 1;
  box-shadow: 0 8px 20px -4px rgba(204,0,1,0.55);
  transform: translateY(-1px);
}
.site-nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0;
  position: relative;
  padding: 0;
  z-index: 110;
}
.site-nav__toggle span {
  position: absolute; left: 10px; right: 10px;
  height: 2.5px; background: var(--c-black);
  border-radius: 1px;
  transition: transform .3s, opacity .3s;
}
.site-nav__toggle span:nth-child(1) { top: 14px; }
.site-nav__toggle span:nth-child(2) { top: 21px; }
.site-nav__toggle span:nth-child(3) { top: 28px; }
.is-nav-open .site-nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-nav-open .site-nav__toggle span:nth-child(2) { opacity: 0; }
.is-nav-open .site-nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .site-header { height: var(--header-h-sp); }
  .site-header__inner { height: calc(var(--header-h-sp) - 4px); padding: 0 20px; }
  .site-header::after {
    top: calc(var(--header-h-sp) - 4px);
    height: 4px;
    background: linear-gradient(90deg, var(--c-red-40) 0%, var(--c-rose-50) 50%, var(--c-red-40) 100%);
  }
  .site-header__logo img { height: 36px; }
  .site-nav__toggle { display: block; }
  .site-nav__list, .site-nav > .site-nav__cta { display: none; }
  .site-nav__drawer {
    position: fixed;
    inset: var(--header-h-sp) 0 0 0;
    background: #fff;
    padding: 24px 20px 40px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .is-nav-open .site-nav__drawer { transform: translateX(0); }
  .site-nav__drawer .site-nav__list { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__drawer .site-nav__link {
    display: block;
    padding: 18px 4px;
    border-bottom: 1px solid var(--c-grey-100);
    font-size: 15px;
  }
  .site-nav__drawer .site-nav__cta {
    margin-top: 24px;
    justify-content: center;
    padding: 16px 18px;
    width: 100%;
  }
}
@media (min-width: 1024px) {
  .site-nav__drawer { display: contents; }
}

/* ---------- Buttons（共通リンクボタン・コンポーネント） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;                 /* 長文ラベルでもビューポート（親）幅を超えず、はみ出さない */
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  padding: 16px 28px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.btn::after { content: "→"; font-family: var(--font-en); font-weight: 400; flex: 0 0 auto; }
.btn:hover { opacity: .85; }
.btn--red { background: var(--c-red); color: #fff; }
.btn--red-dark { background: var(--c-red-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--c-red); border: 1.5px solid var(--c-red); }
.btn--lg { font-size: 15px; padding: 18px 32px; }

/* ---------- Headings（共通：セクション見出し） ---------- */
.section-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 48px;
}
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  letter-spacing: 1.8px;
  color: var(--c-grey-90);
  line-height: 1;                      /* グリフ下端のクリップ防止 */
  overflow: visible;
  display: block;
  max-width: 100%;                     /* 親幅を超えない（SP横はみ出し防止） */
  text-transform: none;
  pointer-events: none;
  user-select: none;
}
.section-title {
  position: relative;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 38.5px;
  color: var(--c-text);
}
.section-title--with-bar { padding-left: 0; }
.section-title--with-bar::before { display: none; }
.section-accent {
  display: block;
  width: 82px;
  height: 4px;
  margin-top: 0;
}
@media (max-width: 1023px) {
  .section-head { gap: 16px; margin-bottom: 36px; }
  .section-eyebrow { font-size: 44px; line-height: 1.1; letter-spacing: 1px; }
  .section-title { font-size: 22px; line-height: 1.5; }
}
@media (max-width: 767px) {
  .section-eyebrow { font-size: 30px; letter-spacing: .5px; }
  .section-title { font-size: 19px; }
}

/* ---------- Triangle (red angled banner) ---------- */
.triangle-divider {
  display: none;
}
.triangle-divider--legacy {
  position: relative;
  height: 280px;
  pointer-events: none;
  overflow: hidden;
}
.triangle-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(230,57,70,.0) 0%, rgba(230,57,70,1) 100%);
  clip-path: polygon(50% 100%, 100% 0, 0 0);
}
.triangle-divider--big {
  height: 360px;
}
.triangle-divider--big::before {
  clip-path: polygon(50% 100%, 100% 0, 0 0);
  background: linear-gradient(to bottom, rgba(230,57,70,.0) 0%, rgba(230,57,70,1) 80%, rgba(204,0,1,1) 100%);
}
@media (max-width: 767px) {
  .triangle-divider { height: 160px; }
  .triangle-divider--big { height: 200px; }
}

/* ---------- 初回相談0円 CTA ---------- */
.consult-banner {
  --cta-bg: #f3f3f3;
  --cta-border: var(--c-neutral-300);
  --cta-accent: 84px;
  position: relative;
  margin-block: 80px;
  padding: 64px 48px;
  background-color: var(--cta-bg);
  background-image: url("/assets/images/bg-cross.svg");
  background-repeat: repeat;
  border: 1px solid var(--cta-border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.consult-banner__accent {
  position: absolute;
  width: var(--cta-accent);
  height: var(--cta-accent);
  background: url("/assets/images/cta-accent.svg") no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.consult-banner__accent--tl { top: -4px;    left: -4px;  transform: rotate(0deg); }
.consult-banner__accent--tr { top: -4px;    right: -4px; transform: rotate(90deg); }
.consult-banner__accent--br { bottom: -4px; right: -4px; transform: rotate(180deg); }
.consult-banner__accent--bl { bottom: -4px; left: -4px;  transform: rotate(270deg); }

.consult-banner__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}
.consult-banner__title {
  font-family: var(--font-jp-black);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1;
  letter-spacing: .64px;
  color: var(--c-grey-10);
  display: flex;
  align-items: baseline;
}
.consult-banner__zero {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(78px, 11vw, 148px);
  line-height: 1;
  color: var(--c-red-40);
  margin: 0 .02em;
}
.consult-banner__yen { color: var(--c-red-40); }
.consult-banner__sub {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: .64px;
  color: var(--c-grey-25);
}
.consult-banner__body > .btn { margin-top: 8px; }
.consult-banner__aside {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 24px;
}
.consult-banner__watermark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: .9;
  letter-spacing: -.7px;
  color: var(--c-neutral-200);
}
.consult-banner__note {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: .64px;
  color: var(--c-grey-25);
  border: 1px solid var(--cta-border);
  padding: 16px;
  text-align: left;
}
@media (max-width: 1023px) {
  .consult-banner { grid-template-columns: 1fr; padding: 48px 28px; gap: 28px; }
  .consult-banner__aside { justify-self: start; align-items: flex-start; text-align: left; }
  .consult-banner__accent { --cta-accent: 56px; }
}
@media (max-width: 767px) {
  .consult-banner { margin-block: 56px; padding: 36px 20px 32px; }
  .consult-banner__note { font-size: 13px; }
  .consult-banner__sub { font-size: 14px; }
}

/* ========================================================================
   Footer block (Let's Talk + Footer) — unified #f6f6f6 surface
   ======================================================================== */
.site-footer {
  position: relative;
  background: var(--c-grey-96);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-red-40) 0%, var(--c-rose-50) 50%, var(--c-red-40) 100%);
  opacity: .6;
}

/* ---------- Let's Talk ---------- */
.lets-talk {
  border-bottom: 1px solid var(--c-grey-90);
  padding: 80px 0;
}
.lets-talk__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.lets-talk__head {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--c-red-40);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.lets-talk__title {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  color: var(--c-grey-10);
  line-height: 1.375;
  letter-spacing: .02em;
  margin-top: 4px;
}
.lets-talk__sub {
  font-family: var(--font-jp);
  font-size: 16px;
  color: var(--c-grey-33);
  line-height: 1.625;
  margin-top: 12px;
}
.lets-talk__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 40px;
  border-radius: 9999px;
  background: var(--c-red-40);
  color: #fff;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  box-shadow: 0 10px 30px -8px rgba(204, 0, 1, .55);
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.lets-talk__btn::after { content: "→"; font-family: var(--font-en); font-weight: 400; }
.lets-talk__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(204, 0, 1, .65);
}

/* ---------- Footer main ---------- */
.site-footer__main { padding: 64px 0; }
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: 64px;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.site-footer__logo-img { display: block; width: 192px; height: auto; }
.site-footer__tagline {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  color: var(--c-grey-10);
  line-height: 1.4;
  letter-spacing: -.05em;
  margin: 0;
}
.site-footer__company {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px 16px;
  margin: 0;
}
.site-footer__company dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--c-grey-45);
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 20px;
}
.site-footer__company dd {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .04em;
}
.site-footer__company dt:nth-of-type(1) + dd { font-weight: 700; color: var(--c-grey-10); }
.site-footer__company dd:last-of-type { color: var(--c-grey-25); }

.site-footer__sitemap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
}
.site-footer__sitemap-label {
  width: 100%;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-red-40);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.site-footer__sitemap-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-footer__sitemap-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 13px;
  border-bottom: 1px solid var(--c-grey-90-70);
  transition: color .2s, padding-right .2s;
}
.site-footer__sitemap-list a .label {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: .04em;
  color: var(--c-grey-10);
}
.site-footer__sitemap-list a .num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--c-grey-64);
  letter-spacing: .05em;
}
.site-footer__sitemap-list a::after {
  content: "→";
  font-size: 14px;
  color: var(--c-grey-64);
  transition: transform .2s, color .2s;
}
.site-footer__sitemap-list a:hover { color: var(--c-red-40); }
.site-footer__sitemap-list a:hover .label { color: var(--c-red-40); }
.site-footer__sitemap-list a:hover::after { transform: translateX(4px); color: var(--c-red-40); }

/* ---------- Bottom bar (full-bleed top border) ---------- */
.site-footer__bottom { border-top: 1px solid var(--c-grey-90); }
.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  flex-wrap: wrap;
}
.site-footer__copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-grey-45);
  letter-spacing: .05em;
}
.site-footer__credit {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c-grey-64);
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ---------- Footer responsive ---------- */
@media (max-width: 1023px) {
  .site-footer__inner { gap: 48px; }
  .site-footer__tagline { font-size: 26px; }
}
@media (max-width: 767px) {
  .lets-talk { padding: 48px 0; }
  .lets-talk__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .lets-talk__title { font-size: 24px; line-height: 1.4; }
  .lets-talk__sub { font-size: 14px; }
  .lets-talk__btn { width: 100%; justify-content: center; }

  .site-footer__main { padding: 48px 0; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__sitemap { align-items: stretch; }
  .site-footer__tagline { font-size: 22px; }
  .site-footer__company { grid-template-columns: 96px 1fr; }

  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 0; }
  .site-footer__credit { font-size: 9px; letter-spacing: .15em; }
}

/* ---------- Underlay (gridlines pattern) ---------- */
body {
  background-color: #f3f3f3;
  background-image: url("/assets/images/bg-pattern.svg");
  background-repeat: repeat;
  background-size: 194px 194px;
  background-attachment: fixed;
}
@media (max-width: 767px) {
  body { background-size: 64px 64px; }
  body, p { font-size: 14px; }
  .consult-banner__title { font-size: 44px; }
}

/* ---------- Page sections ---------- */
.page { padding-top: var(--header-h); }
@media (max-width: 1023px) { .page { padding-top: var(--header-h-sp); } }

.section { padding: 96px 0; position: relative; }

.matrix-section { padding: 96px 0; position: relative; }
.matrix-card {
  background: #fff;
  border: 1px solid var(--c-grey-100);
  padding: 60px 24px;
}
@media (max-width: 767px) {
  .matrix-card { padding: 28px 12px; }
}
@media (max-width: 767px) { .section { padding: 56px 0; } }
@media (max-width: 767px) { .matrix-section { padding: 96px 0 24px; } }

/* ---------- Sub-page Hero ---------- */
.sub-hero {
  position: relative;
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 112px;
  background: transparent;
}
.sub-hero__media {
  position: absolute;
  top: 0; right: 0;
  width: 35%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.sub-hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sub-hero > .container { position: relative; z-index: 1; }
.sub-hero__copy { max-width: 706px; }

.sub-hero__crumbs {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.sub-hero__crumbs .crumb-top { color: #737373; }
.sub-hero__crumbs .crumb-sep { color: #d4d4d4; }
.sub-hero__crumbs .crumb-cur { color: var(--c-red-40); }

.sub-hero__heading {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  color: var(--c-grey-100);
  letter-spacing: -1.6px;
  line-height: 1.05;
  margin-bottom: 16px;
}
.sub-hero__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.5;
  letter-spacing: .025em;
  padding: 8px 0;
}
.sub-hero__accent { display: block; margin: 4px 0 0; }
.sub-hero__lead {
  max-width: 760px;
  margin-top: 24px;
  padding-top: 8px;
  display: flex; flex-direction: column; gap: 16px;
}
.sub-hero__lead p {
  margin: 0;
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: .05em;
  color: var(--c-grey-700);
}
@media (prefers-reduced-motion: reduce) {
  .sub-hero__video { display: none; }
}
@media (max-width: 1023px) {
  .sub-hero { padding-top: 32px; padding-bottom: 72px; }
  .sub-hero__media { display: none; }
  .sub-hero__copy { max-width: none; }
  .sub-hero__heading { font-size: 52px; }
}
@media (max-width: 767px) {
  .sub-hero { padding-top: 24px; padding-bottom: 48px; }
  .sub-hero__heading { font-size: 40px; }
  .sub-hero__title { font-size: 20px; line-height: 1.6; }
  .sub-hero__lead p { font-size: 14px; line-height: 1.9; }
  .sub-hero__crumbs { margin-bottom: 28px; }
}

.sub-fv { display: none; }

/* ---------- Animations ---------- */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes firefly-glow {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}
.marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.marquee__track {
  display: flex;
  gap: var(--marquee-gap, 56px);
  width: max-content;
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}
.marquee--slow .marquee__track { animation-duration: 60s; }
.marquee--fast .marquee__track { animation-duration: 24s; }
.heart-beat { animation: firefly-glow 3.2s ease-in-out infinite; }
.heart-beat-glow { animation: firefly-glow 4.6s ease-in-out infinite; }
.scroll-reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.scroll-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
  }
  .marquee__track { animation: none !important; }
  .heart-beat, .heart-beat-glow { animation: none !important; }
  .fv__video { display: none !important; }
  .fv .fv-poster { opacity: 1 !important; visibility: visible !important; }
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hide-pc { display: none; }
@media (max-width: 1023px) { .hide-pc { display: revert; } .hide-sp { display: none; } }

/* ---------- Tables ---------- */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- Scroll hint overlay（scroll-hint.js が横溢れ時のみ注入）---------- */
.scroll-hint-wrap { position: relative; }

.scroll-hint-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.is-scroll-hint-active > .scroll-hint-overlay { opacity: 1; }
.is-scroll-hint-dismissed > .scroll-hint-overlay { opacity: 0; }

.scroll-hint-overlay__inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(20, 20, 22, .72);
  color: #fff;
  backdrop-filter: blur(2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.scroll-hint-overlay__hand {
  width: 38px;
  height: 38px;
  color: #fff;
  animation: sh-swipe 1.4s ease-in-out infinite;
}
.scroll-hint-overlay__text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.scroll-hint-overlay__arrow {
  font-size: 15px;
  line-height: 1;
  color: var(--c-primary-500, #e60012);
}
.scroll-hint-overlay__arrow--l { animation: sh-arrow-l 1.4s ease-in-out infinite; }
.scroll-hint-overlay__arrow--r { animation: sh-arrow-r 1.4s ease-in-out infinite; }

@keyframes sh-swipe {
  0%, 100% { transform: translateX(-9px); }
  50%      { transform: translateX(9px); }
}
@keyframes sh-arrow-l {
  0%, 100% { transform: translateX(0); opacity: .4; }
  50%      { transform: translateX(-3px); opacity: 1; }
}
@keyframes sh-arrow-r {
  0%, 100% { transform: translateX(0); opacity: .4; }
  50%      { transform: translateX(3px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint-overlay { transition: none; }
  .scroll-hint-overlay__hand,
  .scroll-hint-overlay__arrow--l,
  .scroll-hint-overlay__arrow--r { animation: none; }
  .scroll-hint-overlay__arrow { opacity: 1; }
}

/* ---------- Strategy matrix table (shared: TOP + strategy) ---------- */
.strategy-matrix {
  border-collapse: separate;
  border-spacing: 5px;
  table-layout: fixed;
  width: 100%;
  background: transparent;
  font-family: var(--font-jp);
}
.strategy-matrix col.mx-cat { width: 140px; }
.strategy-matrix col.mx-col { width: auto; }
/* 1024px 以下は横スクロール（文字潰れ防止・CLAUDE.md §6） */
@media (max-width: 1024px) {
  .strategy-matrix { min-width: 1120px; }
}
.strategy-matrix th,
.strategy-matrix td {
  padding: 10px 6px;
  text-align: center;
  vertical-align: middle;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
}
/* ---- 期間軸 Phases / Footer Container ---- */
.mx-axis-row {
  display: flex;
  gap: 5px;
  padding: 8px 5px;
  width: 100%;
}
.mx-axis-row__cat { flex: 0 0 140px; }
.mx-period {
  flex: var(--w, 1) 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.mx-axis-row--bottom .mx-period { flex-direction: column-reverse; }
.mx-period__label {
  font-size: 10px;
  line-height: 12.5px;
  color: var(--c-grey-25);
  letter-spacing: .64px;
  white-space: nowrap;
}
.mx-arrow {
  display: flex;
  align-items: center;
  width: 100%;
}
.mx-arrow::before {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-grey-64);
}
.mx-arrow::after {
  content: "";
  width: 0; height: 0;
  border-left: 5px solid var(--c-grey-64);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}
@media (max-width: 1024px) {
  .mx-axis-row { min-width: 1120px; }
}
.strategy-matrix .mx-phases th {
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  border-radius: 8px;
  height: 40px;
}
.strategy-matrix .mx-phases .ph-1 { background: var(--c-red-maroon); }
.strategy-matrix .mx-phases .ph-2 { background: var(--c-red-deep); }
.strategy-matrix .mx-phases .ph-3 { background: var(--c-red-dark); }
.strategy-matrix .mx-phases .ph-4 { background: var(--c-rose); }
.strategy-matrix .mx-phases .ph-5 { background: var(--c-hot-pink); }
.strategy-matrix .mx-phases .ph-6 { background: var(--c-soft-pink); }
.strategy-matrix .mx-phases .mx-cat { background: transparent; }
.strategy-matrix tbody th {
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  text-align: center;
  line-height: 1.5;
  border-radius: 8px;
}
.strategy-matrix tbody tr.grp-1 th { background: var(--c-red-deepest); }
.strategy-matrix tbody tr.grp-2 th { background: var(--c-red-maroon); }
.strategy-matrix tbody tr.grp-3 th { background: var(--c-red-dark); }
.strategy-matrix tbody tr.grp-4 th { background: var(--c-rose); }
.strategy-matrix tbody tr.grp-5 th { background: var(--c-pink-light); }
.strategy-matrix tbody td {
  background: #fff;
  border: 1px solid var(--c-grey-83);
  color: var(--c-grey-15);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 400;
  height: 40px;
  padding: 7px 4px;
  letter-spacing: .2px;                 /* 0.64pxだと7文字セルが溢れるため微縮 */
}
@media (min-width: 1320px) {
  .strategy-matrix tbody td { white-space: nowrap; }
}
.strategy-matrix tbody td.blank {
  background: transparent;
  border: none;
}
.strategy-matrix tr.grp-1 td {
  background: transparent;
  border: 0;
  padding: 0;
  position: relative;
  height: 40px;
  overflow: visible;
}
.strategy-matrix tr.grp-1 .mx-c {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  background: #fff;
  border: 1px solid var(--c-grey-83);
  border-radius: 8px;
  color: var(--c-grey-15);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .2px;
  padding: 7px 4px;
  white-space: nowrap;
}
.strategy-matrix tr.grp-1 td.op .mx-c   { margin-left: 9px; }
.strategy-matrix tr.grp-1 td.op-l .mx-c { margin-right: 9px; }
.strategy-matrix td.op::before {
  content: attr(data-op);
  position: absolute;
  left: -2.5px;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 400;
  color: var(--c-grey-25);
  line-height: 1;
}

/* ---------- SP: 本文・段落の PC調整改行(br)を無効化 ---------- */
/* PC向けに入れた <br> はSPで折り返せず横溢れや不自然な改行を生むため、
   段落(p)内の br を一括で消し、自然に折り返させる。
   ただし display見出し/装飾ウォーターマーク/下層FV見出しの意図的な改行は維持する。 */
@media (max-width: 767px) {
  p br { display: none; }
  .fv__panel-eyebrow br,
  .cross-func__eyebrow br,
  .engagement__eyebrow br,
  .consult-banner__watermark br,
  .sub-hero__title br,
  .diff-card2__label br { display: inline; }
}


/* ---------- SP: 最下部に固定ボタン追加 ---------- */
.fixed_btn {
  display: none;
}
@media (max-width: 1023px) {
  .fixed_btn {
    padding: 20px 20px 0;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 99;
    display: flex;
    justify-content: flex-end;
  }
  .fixed_btn a.bottom_cta {
    font-size: 16px;
    height: 56px;
    justify-content: center;
    width: 400px;
    box-shadow: 0 10px 20px -8px rgba(204, 0, 1, .55);
  }
  body:has(.fixed_btn) .site-footer {
    padding-bottom: 60px;
  }
}
@media (max-width: 767px) {
  .fixed_btn a.bottom_cta {
    width: 100%;
  }
}

