/*
 * 目次
 * 01. デザイントークン
 * 02. 基本設定・リセット
 * 03. 共通レイアウト・共通部品
 * 04. ヘッダー・グローバルナビ
 * 05. ファーストビュー
 * 06. 課題セクション（#issues）
 * 07. 課題の本質セクション（.truth）
 * 08. 仮想CHROセクション（#service）
 * 09. 実績紹介セクション（#case）
 * 10. 支援プロセス（#process）
 * 11. 他社との差別化（.difference）
 * 12. チーム構成（#team）
 * 13. FAQ（#faq）
 * 14. お問い合わせ（#contact）
 * 15. フッター
 * 16. レスポンシブ設定
 */

/* 01. デザイントークン：サイト全体の色・余白・コンテンツ幅 */
:root {
  --orange: #D56119;
  --orange-dark: #C04B02;
  --ink: #1d1e22;
  --ink-2: #25262b;
  --paper: #f3f3f2;
  --white: #fff;
  --muted: #77797d;
  --line: #d7d7d4;
  --container: 1120px;
}

/* 02. 基本設定・リセット：各要素の初期スタイル */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  letter-spacing: .04em;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, textarea {
  font: inherit;
}
.logo img {
  width: 100px;
  height: auto;
}
/* 03. 共通レイアウト・共通部品：複数セクションで使用 */
.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.narrow {
  max-width: 920px;
}
.center {
  text-align: center;
}
.light-section {
  background: var(--paper);
}
.dark-section {
  color: var(--white);
  background: var(--ink);
}
.section-kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: clamp(20px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: .14em;
}
.section-kicker.dark {
  color: var(--orange);
}
.dark-title {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
}
.lead {
  max-width: 780px;
  margin: 22px auto 0;
  line-height: 1.8;
  font-weight: 500;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: .08em;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button span {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-left: 28px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  border-radius: 1px;
  font-size: 0;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.button:hover span {
  transform: translateX(4px) rotate(45deg);
}
.button-primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 25px rgba(194,66,0,.22);
  border-radius: 10px;
  padding: 12px 28px;
}
.button-primary:hover {
  background: var(--orange-dark);
}
.button-dark {
  color: var(--white);
  background: var(--ink);
}

/* 04. ヘッダー・グローバルナビ：<header class="site-header"> */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 64px;
  padding: 0 4vw;
  color: var(--white);
}
.brand {
  display: block;
  overflow: hidden;
  font-size:.8rem;
}
.brand img {
  object-fit: contain;
  object-position: left center;
}
.global-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #2A2A2A;
  font-weight:500;
}
.global-nav a:not(.nav-cta) {
  transition: color .2s;
}
.global-nav a:not(.nav-cta):hover {
  color: #ff8c49;
}
.nav-cta {
  display: grid;
  place-items: center;
  height: 64px;
  padding: 0 28px;
  margin-right: -4vw;
  background: var(--orange);
  color: #fff;
}
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: var(--orange);
}
.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

/* 05. ファーストビュー：<section class="hero"> */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(400px, 65vh, 480px);
  overflow: hidden;
  color: var(--white);
  background: #16171a;
}
.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  right: 0;
  left: auto;
  width: min(100%, 1200px);
  object-fit: cover;
  object-position: center;
}
.hero-shade {
  background: linear-gradient(90deg, rgba(17,18,21,.92) 0%, rgba(18,19,21,.65) 43%, rgba(15,16,18,.16) 74%);
}
.hero-content {
  padding-top: 62px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(26px, 5.2vw, 52px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .05em;
}
.hero-copy {
  margin: 12px 0 40px;
  font-size: 2.2rem;
  font-weight: 700;
}
.hero-copy span {
  position: relative;
  display: inline-block;
  margin-left: .8em;
  padding: 0 .55em;
  color: #FF7C2B;
}
.hero-copy span::before,
.hero-copy span::after {
  content: "";
  position: absolute;
  width: .55em;
  height: 1.45em;
  pointer-events: none;
}
.hero-copy span::before {
  top: 50%;
  left: 0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translateY(-50%);
}
.hero-copy span::after {
  right: 0;
  bottom: 40%;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(50%);
}

/* 06. 課題セクション：よくある人事課題 <section id="issues"> */
.issues {
  position: relative;
  min-height: 920px;
  padding: 100px 0 130px;
  overflow: hidden;
}
/* 課題セクション左端の縦書きラベル */
.side-label {
  position: absolute;
  top: 20px;
  left: 38px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .08em;
}
.side-label-right {
  right: 38px;
  left: auto;
}

.side-label span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.side-label::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-bottom: 12px;
  background: var(--orange);
}

.side-label::after {
  content: "";
  width: 1px;
  height: 245px;
  margin-top: 14px;
  background: rgba(255,255,255,.85);
}

.side-label-yoko {
  position: absolute;
  top: 56px;
  right: 0;
  z-index: 3;

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;

  color: #2a2a2a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;

  writing-mode: horizontal-tb;
  transform: none;
}

/* 左側のオレンジの四角 */
.side-label-yoko::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background-color: #ef5b00;
}

/* 右側の横線 */
.side-label-yoko::after {
  content: "";
  width: clamp(100px, 18vw, 280px);
  height: 1px;
  margin-left: 2px;
  background-color: #999;
}

.orange-panel {
  position: absolute;
  top: 165px;
  left: 0;
  width: 31%;
  height: 690px;
  background: var(--orange);
}
.issues-inner h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 32px);
  line-height: 1.45;
}
.issues .section-kicker {
  padding-left: 28px;
}
.issues .section-kicker + p {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 0px;
  line-height: 1.4;
}
.worries {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 62px;
  height: 590px;
  margin-top: 20px;
  padding-top: 18px;
}
.worry {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  margin: 0;
  padding: 14px 18px;
  color: var(--orange-dark);
  background: #fff;
  border-radius: 20px 20px 0 20px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
}
.js .worry {
  opacity: 0;
  transform: translate(28px, 28px) scale(.2);
  transform-origin: right bottom;
  transition:
    opacity .35s ease-out,
    transform .65s cubic-bezier(.2, 1.35, .4, 1);
  will-change: opacity, transform;
}
.js .worry.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.worry::after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #fff;
}
.worry strong {
  font-weight: 900;
}
.w1 {
  align-self: flex-end;
  margin-right: 80px;
}
.w2 {
  align-self: flex-end;
  margin-right: 310px;
}
.w3 {
  align-self: flex-end;
  margin-right: 42px;
}
.w4 {
  align-self: flex-end;
  margin-right: 330px;
}
.w5 {
  align-self: flex-end;
  margin-right: 100px;
}

/* 07. 課題の本質：グラフと説明文 <section class="truth"> */
.truth {
  position: relative;
  padding: 100px 0 125px;
}
.truth .section-kicker {
  color: var(--ink-2);
}
.dark-title {
  font-weight: 700;
  color: var(--orange);
}
.truth::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.graph-image {
  width: min(100%, 780px);
  margin: 56px auto 0;
  mix-blend-mode: multiply;
}

/* 08. 仮想CHRO：サービス概要 <section id="service"> */
.service {
  position: relative;
  padding: 105px 0 120px;
  overflow: hidden;
}
.service .section-heading p {
  font-size: 20px;
  font-weight: 700;
  margin-top: 0px;
}
.service-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  height: 390px;
  background: var(--orange);
  clip-path: polygon(0 0,100% 0,100% 100%,52% 100%);
}
/* 共通セクション見出し：サービス・実績・プロセス・チーム・FAQで使用 */
/* .section-heading {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.section-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.45;
} */
.service-intro {
  width: 64%;
  margin: 42px 0 90px auto;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--orange);
}
.service-intro p {
  margin: 0;
  color: var(--white);
}
.features-title {
  margin: 0 0 28px;
  color: var(--white);
  font-size: 24px;
  text-align: center;
}
.features {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  background-image: linear-gradient(rgba(12,13,16,.56), rgba(12,13,16,.56)), url("../img/feature-card1.webp");
  background-position: center;
  background-size: cover;
  border-radius: 14px;
  transition: background-image .25s ease;
}
.features:has(.feature-card:nth-child(2):hover) {
  background-image: linear-gradient(rgba(12,13,16,.56), rgba(12,13,16,.56)), url("../img/feature-card2.webp");
}
.features:has(.feature-card:nth-child(3):hover) {
  background-image: linear-gradient(rgba(12,13,16,.56), rgba(12,13,16,.56)), url("../img/feature-card3.webp");
}
.feature-card {
  display: grid;
  grid-template-columns: 120px 190px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 170px;
  padding: 40px 44px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.45);
  transition: background-color .25s ease;
}
.feature-card:last-child {
  border-bottom: 0;
}
.feature-card > b,
.feature-card > h3,
.feature-card > p {
  opacity: .38;
  transition: opacity .25s ease;
}
.feature-card:first-child > b,
.feature-card:first-child > h3,
.feature-card:first-child > p {
  opacity: 1;
}
.features:has(.feature-card:hover) .feature-card > b,
.features:has(.feature-card:hover) .feature-card > h3,
.features:has(.feature-card:hover) .feature-card > p {
  opacity: .38;
}
.features:has(.feature-card:hover) .feature-card:hover {
  background: rgba(0,0,0,.06);
}
.features:has(.feature-card:hover) .feature-card:hover > b,
.features:has(.feature-card:hover) .feature-card:hover > h3,
.features:has(.feature-card:hover) .feature-card:hover > p {
  opacity: 1;
}
.feature-card b {
  color: #fff;
  font-size: 18px;
}
.feature-card h3 {
  margin: 0;
  color: var(--orange);
  font-size: 18px;
}
.feature-card p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
}

/* 09. 実績紹介：導入成果カード <section id="case"> */
.case {
  position: relative;
  padding: 110px 0 120px;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--orange) 0 19%, transparent 19% 100%) top / 100% 88% no-repeat,
    var(--ink);
  color: #fff;
}
.case>p {
  text-align: center;
}
.dark-heading {
  color: var(--ink);
}
.case .section-heading {
  color: #fff;
  text-align: center;
}
.case .section-heading h2,
.case .section-heading p {
  margin: 0;
}
.case-slider {
  position: relative;
  width: min(920px, 78%);
  margin-top: 54px;
  margin-bottom: 48px;
}
.case-card {
  padding: 42px;
  color: var(--ink);
  background: #fff;
  border-radius: 7px;
  box-shadow: 34px 44px 56px 0px rgba(0, 0, 0, 0.25);
}
.case-card.active {
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.case-card.active:hover {
  transform: translateY(-4px);
  box-shadow: 34px 50px 62px rgba(0,0,0,.3);
}
.case-card.active:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}
.case-more {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin: 28px 0 0 auto;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}
.case-more span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}
.case-more:hover span,
.case-more:focus-visible span {
  background: var(--orange-dark);
  transform: translateX(3px);
}
.case-more:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}
.case-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.8rem;
}
.case-summary {
  margin: 0;
  font-size: 1.4rem;
}
.case-meta span {
  padding: 5px 10px;
  width: 20px;
  height: 20px;
  background: var(--orange);
}
.before-after {
  display: grid;
  grid-template-columns: minmax(170px, .75fr) minmax(320px, 1.35fr);
  gap: 28px;
  align-items: end;
  margin-top: 28px;
  font-size: 1.4rem;
  font-weight: 700;
}
.before {
  padding-right: 20px;
}
.before > div:nth-child(2) {
  padding: 18px 24px;
  background: #f2f2f1;
}
.after > div:nth-child(1)  {
  font-size: 1.8rem;
  color: var(--orange);
}
.after > div:nth-child(2) {
  padding: 18px 24px;
  background: #FFE1CE;
  border: 3px solid #D56119;
}
.after > div:nth-child(2) span  {
  font-size: 3rem;
  color: var(--orange);
}
.before-after p {
  margin: 4px 0 0;
  color: #777;
  font-size: 11px;
}
.before-after i {
  color: var(--orange);
  font-style: normal;
  font-size: 28px;
}
.slide-next {
  position: absolute;
  top: 50%;
  right: -92px;
  width: 72px;
  height: 120px;
  color: white;
  border: 0;
  background: transparent;
  font-size: 0;
  transform: translateY(-50%);
  cursor: pointer;
}
.slide-next::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 30px;
  height: 76px;
  background: #fff;
  transform: translateY(-50%);

  clip-path: polygon(
    0 0,
    12% 0,
    100% 50%,
    12% 100%,
    0 100%,
    82% 50%
  );
}

.slide-next::after {
  content: none;
}

.center-button {
  display: flex;
  width: max-content;
  margin: 50px auto 0;
}

body.case-modal-open { overflow: hidden; }
.case-modal[hidden] { display: none; }
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
  background: rgba(15,16,18,.78);
  opacity: 0;
  transition: opacity .2s ease;
}
.case-modal.is-open { opacity: 1; }
.case-detail-dialog {
  position: relative;
  width: min(1360px, 100%);
  max-height: calc(100dvh - 32px);
  padding: 42px clamp(32px, 4.5vw, 64px) 58px;
  overflow-y: auto;
  color: var(--ink);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
}
.case-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.case-modal-close:hover,
.case-modal-close:focus-visible {
  color: var(--orange);
  background: #f3f3f2;
  outline: none;
}
.case-detail-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding-right: 50px;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.4;
}
.case-detail-title span {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  background: var(--orange);
}
.case-detail-summary {
  margin: 25px 0 30px 31px;
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 600;
}
.case-detail-plan {
  margin: 0 24px;
  padding: 31px clamp(30px, 5vw, 70px);
  background: #ffe0cd;
  border-radius: 6px;
}
.case-detail-plan p {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 15px;
  margin: 0;
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 700;
  line-height: 1.75;
}
.case-detail-plan p > strong {
  position: relative;
  align-self: start;
  padding-right: 15px;
  border-right: none;
}

.case-detail-plan p > strong::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 3px;
  height: 24px;
  background-color: var(--orange);
  transform: translateY(-50%);
}
.case-detail-results {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(430px, 530px);
  align-items: end;
  justify-content: center;
  gap: 44px;
  margin: 42px auto 0;
}
.case-detail-results h3 {
  margin: 0 0 10px;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.2;
}
.case-detail-before p {
  display: grid;
  place-items: center;
  min-height: 128px;
  margin: 0;
  padding: 22px;
  background: #ededed;
  font-size: clamp(23px, 2.2vw, 32px);
  font-weight: 600;
}
.case-detail-after h3 {
  color: var(--orange);
  font-size: clamp(34px, 3.5vw, 50px);
}
.case-detail-after > div {
  min-height: 164px;
  padding: 28px 34px 23px;
  background: #ffe0cd;
  border: 4px solid var(--orange);
}
.case-detail-after p {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}
.case-detail-after strong {
  color: var(--orange);
  font-size: 1.45em;
}
.case-detail-after sup {
  color: var(--ink);
  font-size: 12px;
}
.case-detail-after small {
  display: block;
  margin-top: 8px;
  font-size: clamp(15px, 1.4vw, 21px);
  font-weight: 600;
}
.case-detail-voice { margin-top: 60px; }
.case-detail-voice > h3 {
  margin: 0 0 24px;
  font-size: clamp(26px, 2.5vw, 36px);
  text-align: center;
}
.case-detail-voice > div {
  display: grid;
  grid-template-columns: 216px 1fr;
  gap: 27px;
  align-items: start;
}
.case-detail-voice img {
  width: 216px;
  height: 216px;
  object-fit: cover;
}
.case-detail-voice-copy p {
  margin: 0 0 24px;
  font-size: clamp(15px, 1.45vw, 21px);
  line-height: 1.35;
}
.case-detail-voice-copy p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .case-modal { padding: 8px; }
  .case-detail-dialog {
    max-height: calc(100dvh - 16px);
    padding: 54px 18px 34px;
    border-radius: 10px;
  }
  .case-modal-close { top: 8px; right: 9px; }
  .case-detail-title {
    gap: 10px;
    padding-right: 0;
    font-size: 21px;
  }
  .case-detail-title span { width: 14px; height: 14px; }
  .case-detail-summary {
    margin: 20px 0 24px;
    font-size: 14px;
    line-height: 1.7;
  }
  .case-detail-plan { margin: 0; padding: 18px; }
  .case-detail-plan p {
    grid-template-columns: 42px 1fr;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
  }
  .case-detail-plan p > strong {
    padding-right: 10px;
    border-right-width: 3px;
  }
  .case-detail-plan p + p { margin-top: 7px; }
  .case-detail-results {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }
  .case-detail-results h3,
  .case-detail-after h3 { font-size: 30px; }
  .case-detail-before p { min-height: 100px; font-size: 24px; }
  .case-detail-after > div { min-height: 0; padding: 20px 16px; }
  .case-detail-after p { font-size: 21px; white-space: normal; }
  .case-detail-voice { margin-top: 42px; }
  .case-detail-voice > h3 { font-size: 28px; }
  .case-detail-voice > div { grid-template-columns: 1fr; }
  .case-detail-voice img {
    width: min(216px, 72%);
    height: auto;
    margin: 0 auto;
  }
  .case-detail-voice-copy p { font-size: 14px; line-height: 1.7; }
}
/* 10. 支援プロセス：スクロール連動の5ステップ <section id="process"> */
.process {
  --process-shift: 0px;
  position: relative;
  height: 100vh;
  background: var(--paper);
}
.process-sticky {
  position: sticky;
  top: 0;
  height: 60vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--paper);
}
.process-panel {
  position: absolute;
  top: 0;
  bottom: clamp(62px, 12.3vh, 90px);
  left: clamp(84px, 12.2vw, 114px);
  right: clamp(80px, 12.1vw, 113px);
  overflow: visible;
  color: var(--white);
  background: var(--ink);
}
.process-heading {
  position: absolute;
  top: clamp(36px, 8.3vh, 58px);
  left: 0;
  width: 100%;
  text-align: center;
}
.process-heading h2 {
  margin: 0;
  color: var(--orange);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.3;
  letter-spacing: .08em;
}
.process-heading p {
  margin: 16px 0 0;
  color: var(--white);
  letter-spacing: .02em;
}
.process-track {
  position: absolute;
  top: clamp(162px, 41vh, 224px);
  left: clamp(118px, 17.6vw, 164px);
  display: flex;
  gap: clamp(36px, 5.35vw, 50px);
  width: max-content;
  margin: 0;
  transform: translate3d(calc(var(--process-shift) * -1), 0, 0);
  will-change: transform;
}
.process-track article {
  display: flex;
  flex: 0 0 clamp(274px, 40.7vw, 400px);
  flex-direction: column;
  justify-content: space-between;
  width: clamp(274px, 40.7vw, 480px);
  height: clamp(146px, 21.65vw, 222px);
  min-height: 0;
  padding: 30px 38px;
  color: #15161a;
  background: #fff;
  border: 3px solid var(--orange);
  border-radius: 12px;
  box-shadow: none;
}
.process-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.process-step-head span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--orange);
  font-size: clamp(9px, 1.3vw, 12px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.process-step-head em {
  margin-left: 5px;
  font-size: clamp(30px, 5vw, 52px);
  font-style: normal;
  font-weight: 100;
  line-height: .8;
}
.process-step-head h3 {
  margin: 0;
  color: var(--orange);
  line-height: 1.5;
  text-align: right;
  white-space: nowrap;
}
.process-track article > p {
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}
.process-note {
  position: absolute;
  right: 20px;
  bottom: clamp(16px, 4vh, 30px);
  left: clamp(104px, 12.2vw, 134px);
  margin: 0;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

/* 11. 他社との差別化：比較表と選ばれる理由 <section class="difference"> */
.difference {
  position: relative;
  padding: 105px 0 120px;
}
.difference h3 {
  font-size: 1.4rem;
  margin: 60px auto 30px;
  text-align: center;
}
.left-title {
  max-width: 720px;
}
.align-left {
  margin-top: 0;
  margin-left: 0;
}
.table-image {
  width: min(100%, 820px);
  margin: 0 auto 68px;
  mix-blend-mode: multiply;
}
.question-ribbon {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 18px;
  width: calc(72% + 50vw - 50%);
  margin: 0 0 50px calc(50% - 50vw);
  padding: 15px 74px 15px 0;
  color: #fff;
  background: var(--orange);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
  clip-path: polygon(0 0, 95% 0, 100% 100%, 0 100%);
  overflow: hidden;
}
.question-ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--orange);
  transform-origin: left center;
}
.js .question-ribbon {
  color: transparent;
  background: transparent;
  transition: color .2s ease .72s;
}
.js .question-ribbon::after {
  transform: scaleX(0);
  transition: transform .85s cubic-bezier(.77, 0, .18, 1);
  will-change: transform;
}
.js .question-ribbon.is-visible {
  color: #fff;
}
.js .question-ribbon.is-visible::after {
  transform: scaleX(1);
}
.question-ribbon::before {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255,255,255,.9);
}
.js .question-ribbon::before {
  opacity: 0;
  transition: opacity .2s ease .72s;
}
.js .question-ribbon.is-visible::before {
  opacity: 1;
}
.reason-list {
  display: grid;
  gap: 42px;
  width: 80%;
  margin-left: 8%;
}
.reason-list article {
  display: block;
  padding: 0;
  border: 0;
}
.reason-list span {
  display: none;
}
.reason-list h3 {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: var(--orange);
  font-size: 1.2rem;
  font-weight: 800;
}
.reason-list h3::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(232,91,11,.58);
}
.reason-list p {
  margin: 9px 0 0;
  font-weight: 500;
  line-height: 1.65;
}
.closing-copy {
  margin: 60px auto 0;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.closing-copy span {
  color: var(--orange);
}
/* 12. チーム構成：代表者と専門メンバー <section id="team"> */
.team {
  position: relative;
  padding: 110px 0 105px;
}
.team .side-label-right {
  top: 80px;
  right: clamp(24px, 4.8vw, 60px);
  left: auto;
}
.team h2 {
  text-align: center;
}
.team h3 {
  font-size: 1.8rem;
  color: var(--orange);
  margin: 0;
}
.founder {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  align-items: center;
  margin-top: 45px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.founder-romaji {
  margin: 0 0 22px;
  color: rgba(70,70,70,.50);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.25;
}
.founder-photo {
  position: relative;
  max-width: 130%;
  transform: translateX(-60px);
  overflow: hidden;
  box-shadow: 20px 20px 0 var(--orange);
  line-height: 0;
}
.founder-photo img {
  display: block;
  width: 100%;
}
.founder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}
.founder-photo.is-revealed::after {
  animation: founder-photo-wipe 1.4s cubic-bezier(.77, 0, .18, 1) both;
}
@keyframes founder-photo-wipe {
  0% {
    transform: scaleX(0);
    transform-origin: left center;
  }
  45% {
    transform: scaleX(1);
    transform-origin: left center;
  }
  55% {
    transform: scaleX(1);
    transform-origin: right center;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right center;
  }
}
.founder > p {
  grid-column: 1 / -1;
  margin: 0;
  line-height: 1.3;
}
.founder-copy ul {
  list-style-type: square;
}
.founder-copy li::marker {
  color: var(--orange);
  font-size: 0.9em;
}
.consultant-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}
.consultant-position {
  margin-top: 0;
}
.project-team {
  padding-top: 52px;
}
.members {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 60px;
}
.members figure {
  margin: 0;
  text-align: center;
}
.members img {
  width: 120px;
  height: 120px;
  margin: auto;
  border-radius: 50%;
}
.members figcaption {
  margin-top: 12px;
}
.team-etc {
  margin: 10px 3% 0 0;
  font-size: 14px;
  text-align: right;
}

/* 13. FAQ：アコーディオン <section id="faq"> */
.faq {
  position: relative;
  padding: 110px 0;
}
.faq h2 {
  text-align: center;
  color: var(--ink2);
  line-height: 1.2;
}
.faq h2 small{
  font-size: 14px;
  font-weight: 500;
}
.accordion {
  margin-top: 55px;
}
.accordion details {
  margin-bottom: 10px;
  background: #dfdfdd;
}
.accordion summary {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 18px 22px;
  list-style: none;
  font-weight: 700;
  cursor: pointer;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: "+";
  margin-left: auto;
  color: var(--orange);
  font-size: 20px;
}
.accordion details[open] summary::after {
  content: "−";
}
.accordion summary span, .accordion details > div > span {
  color: var(--orange);
  font-weight: 900;
}
.accordion details > div {
  display: flex;
  gap: 15px;
  padding: 0 22px 18px;
  font-size: 14px;
}
.accordion details > div p {
  margin: 0;
}

/* 14. お問い合わせ：入力フォーム <section id="contact"> */
.contact {
  position: relative;
  padding:0;
}
.contact .side-label-right {
  top: 56px;
  right: 38px;
  left: auto;
  color: var(--ink);
}
.contact .side-label-right::after {
  background: rgba(29,30,34,.5);
}
.contact-container {
  display: block;
}
.contact-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.contact-heading p {
  padding-top: 20px;
  margin: 0;
  font-weight: 700;
}
.contact-heading p span {
  color: var(--orange);
}
.contact-heading h2 {
  margin: 0 0 20px;
  line-height: 1.5;
}
.contact-heading > .section-kicker {
  color: var(--ink-2);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: min(100%, 680px);
  margin: 60px auto 0;
}
.hubspot-form {
  display: block;
}
.hubspot-form iframe {
  width: 100% !important;
  border: 0;
}
.hubspot-form-loading,
.hubspot-form + noscript {
  text-align: center;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 28px;
  font-size: 16px;
  font-weight: 700;
}
.contact-form .form-row > span {
  white-space: nowrap;
}
.contact-form input:not([type="checkbox"]), .contact-form textarea {
  width: 100%;
  margin: 0;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  outline: none;
  background: #dededc;
  transition: border .2s, background .2s;
}
.contact-form input:not([type="checkbox"]) {
  min-height: 52px;
}
.contact-form input:not([type="checkbox"]):focus,
.contact-form input:not([type="checkbox"]):not(:placeholder-shown),
.contact-form textarea:focus,
.contact-form textarea:not(:placeholder-shown) {
  border-color: var(--orange);
  background: #fff;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: #aaa7a7;
  opacity: 1;
}
.contact-form textarea {
  min-height: 190px;
  resize: vertical;
}
.contact-form .form-row-message {
  align-items: start;
}
.contact-form .form-row-message > span {
  padding-top: 13px;
}
.privacy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  margin-top: 2px;
  color: #2f3033;
  font-size: 12px;
  font-weight: 400 !important;
}
.privacy input {
  appearance: none;
  display: grid;
  place-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  background: #dededc;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}
.privacy input::before {
  content: "";
  width: 7px;
  height: 12px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg) scale(0);
  transition: transform .15s ease;
}
.privacy input:checked {
  background: var(--orange);
}
.privacy input:checked::before {
  transform: rotate(45deg) scale(1);
}
.privacy input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.privacy-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-form .button {
  width: 265px;
  margin: -2px auto 0;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(29,30,34,.22);
  font-size: 18px;
}
.form-message {
  min-height: 1.8em;
  margin: -12px 0 0;
  color: var(--orange-dark);
  text-align: center;
}

/* 15. フッター：ページ末尾 */
.site-footer {
  display: grid;
  place-items: center;
  padding: 20px 0;
  color: var(--ink-2);
  text-align: center;
}
.site-footer small {
  font-size: 10px;
}

/* 16-1. レスポンシブ：タブレット・小型PC（900px以下） */
@media (max-width: 900px) {
  .global-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 24px;
    background: rgba(29,30,34,.98);
  }
  .global-nav.is-open {
    display: flex;
  }
  .nav-cta {
    height: 55px;
    margin: 0;
  }
  .menu-button {
    display: block;
  }
  .site-header {
    height: 70px;
  }
  .hero {
    min-height: 600px;
  }
  .hero-image {
    object-position: 60% center;
  }
  .orange-panel {
    width: 18%;
  }
  .issues {
    min-height: 910px;
  }
  .worry {
    width: 270px;
  }
  .w1 { margin-right: 4%; }.w2 { margin-right: 28%; }.w3 { margin-right: 2%; }.w4 { margin-right: 30%; }.w5 { margin-right: 5%; }
  .service-intro {
    width: 76%;
    margin: 42px 0 70px auto;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: auto;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* 16-2. レスポンシブ：モバイルレイアウト（640px以下） */
@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }
  .site-header {
    padding: 0 16px;
  }
  .hero {
    min-height: 590px;
  }
  .hero-shade {
    background: linear-gradient(90deg, rgba(17,18,21,.92), rgba(18,19,21,.42));
  }
  .hero-content {
    padding-top: 75px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-copy {
    font-size: 14px;
  }
  .button {
    width: 100%;
  }
  .issues {
    min-height: 900px;
    padding-top: 78px;
  }
  .orange-panel {
    top: 55px;
    width: 26%;
    height: 610px;
  }
  .issues-inner h2 {
    font-size: 31px;
  }
  .issues .section-kicker {
    padding-left: 0;
  }
  .worries {
    height: 640px;
    gap: 42px;
    padding-top: 40px;
  }
  .worry {
    width: min(260px, 80%);
    padding: 11px 14px;
    font-size: 11px;
  }
  .w1 { align-self: flex-end; margin-right: 0; }
  .w2 { align-self: flex-start; margin-right: 0; margin-left: 8%; }
  .w3 { align-self: flex-end; margin-right: 0; }
  .w4 { align-self: flex-start; margin-right: 0; margin-left: 4%; }
  .w5 { align-self: flex-end; margin-right: 0; }
  .truth, .service, .difference, .team, .faq, .contact {
    padding-top: 78px;
    padding-bottom: 84px;
  }
  .truth::before {
    top: 0;
    height: 50px;
  }
  .graph-image {
    margin-top: 35px;
  }
  .section-heading {
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 27px;
  }
  .service-accent {
    width: 38%;
    height: 220px;
  }
  .service-intro {
    width: 100%;
    margin: 42px 0 60px;
    padding-left: 14px;
  }
  .case {
    padding: 78px 0 88px;
    background:
      linear-gradient(90deg, var(--orange) 0 7%, transparent 7% 100%) top / 100% 88% no-repeat,
      var(--ink);
  }
  .case .section-heading {
    margin-left: 7%;
  }
  .case-slider {
    width: 80%;
    margin-top: 38px;
  }
  .case-card {
    padding: 24px 19px;
  }
  .case-more {
    margin-top: 20px;
    font-size: 15px;
  }
  .case-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .before-after {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
  }
  .before-after i {
    transform: rotate(90deg);
    text-align: center;
  }
  .slide-next {
    right: -33px;
    width: 42px;
    height: 78px;
  }
  .slide-next::before {
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border-width: 0 3px 3px 0;
  }
  .process-panel {
    left: 54px;
    right: 24px;
  }
  .process-track {
    left: 24px;
  }
  .process-heading {
    padding: 0 18px;
  }
  .process-heading p {
    line-height: 1.6;
  }
  .process-note {
    left: 64px;
    padding: 0 10px;
  }
  .question-ribbon {
    width: calc(100% + 50vw - 50%);
    padding: 14px 22px 14px 0;
    font-size: 13px;
  }
  .reason-list {
    width: 100%;
    margin-left: 0;
  }
  .closing-copy {
    font-size: 15px;
  }
  .founder {
    grid-template-columns: 1fr;
  }
  .founder-photo {
    grid-row: 1;
    width: 82%;
    margin-left: auto;
    transform: none;
  }
  .members {
    gap: 16px;
  }
  .members img {
    width: 82px;
    height: 82px;
  }
  .members figcaption {
    max-width: 95px;
  }
  .contact-form {
    gap: 24px;
    margin-top: 42px;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .contact-form .form-row-message > span {
    padding-top: 0;
  }
  .contact-form input:not([type="checkbox"]) {
    min-height: 54px;
  }
  .contact-form textarea {
    min-height: 180px;
  }
  .privacy {
    align-items: flex-start;
    font-size: 13px;
  }
  .privacy input {
    flex: 0 0 24px;
  }
  .contact-form .button {
    width: 100%;
  }
}

/* 16-3. アクセシビリティ：アニメーション軽減設定 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
  }
  .founder-photo::after {
    display: none;
  }
  .js .worry {
    opacity: 1;
    transform: none;
  }
}

/* 16-4. レスポンシブ：モバイル文字サイズ統一（640px以下） */
@media (max-width: 640px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 28px !important;
  }

  p,
  li,
  a,
  summary,
  label,
  input,
  textarea,
  button,
  figcaption,
  small {
    font-size: 16px !important;
  }

  .process {
    padding: 0;
  }
  .process-heading h2 {
    font-size: 22px !important;
  }
  .process-heading p {
    font-size: 10px !important;
  }
  .process-step-head span {
    font-size: 9px !important;
  }
  .process-step-head h3 {
    font-size: 11px !important;
  }
  .process-track article > p {
    font-size: 10px !important;
  }
  .process-note {
    font-size: 11px !important;
  }
}
/* 課題セクション左端ラベル：モバイル調整 */
@media (max-width: 640px) {
  .side-label {
    top: 16px;
    left: 5px;
    font-size: 10px;
  }

  .side-label::before {
    width: 5px;
    height: 5px;
    margin-bottom: 8px;
  }

  .side-label::after {
    height: 120px;
    margin-top: 10px;
  }

  .team .side-label-right {
    top: 26px;
    right: 8px;
    left: auto;
  }
  .contact .side-label-right {
    top: 26px;
    right: 8px;
    left: auto;
  }
}
/* features：モバイル調整 */
@media (max-width: 640px) {
  .features-title {
    margin-bottom: 22px;
    font-size: 22px !important;
  }
  .features {
    border-radius: 10px;
  }
  .feature-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px 14px;
    min-height: auto;
    padding: 22px 18px;
  }
  .feature-card b {
    align-self: center;
    font-size: 16px !important;
  }
  .feature-card h3 {
    font-size: 18px !important;
  }
  .feature-card p {
    grid-column: 1 / -1;
    font-size: 14px !important;
    line-height: 1.7;
  }
}
