@charset "UTF-8";

/* ==========================================================
   H.B.O.P Corporate Site
   - デザイントークン（PC基準 / デザインカンバス幅 2831px）
     背景色           : #DFDFDF
     タイトル         : DIN Pro(→Barlow) 452.09px 700 #342E2E
     セクションタイトル : DIN Pro(→Barlow) 105px 700 #342E2E
     基本文字(欧文小)  : DIN Pro(→Barlow) 11.51px 500 #A39594
     基本文字(和文)    : Zen Kaku Gothic New 16px 500 #342E2E
     ボタン文字        : Zen Kaku Gothic New 20px 900 #454545
   ========================================================== */

:root {
  --color-bg: #DFDFDF;
  --color-card: #EBEBEB;
  --color-text: #342E2E;
  --color-text-sub: #A39594;
  --color-btn-text: #454545;
  --color-mauve: #A39594;
  --color-h: #54A3AF;
  --color-b: #E83F6F;
  --color-o: #F79E17;
  --color-p: #4464AD;
  --font-din: "Barlow", "Helvetica Neue", Arial, sans-serif; /* DIN Pro 代替 */
  --font-din-alt: "Archivo", "Barlow", "Helvetica Neue", Arial, sans-serif; /* DIN Pro 代替2（Qの字形がDINに近い / Q&Aで使用） */
  --font-zen: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{
    box-sizing: border-box; margin: 0; padding: 0;
  }
html{
    scroll-behavior: smooth;
  }
body {
  font-family: var(--font-zen);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{
  max-width: 100%; height: auto; vertical-align: bottom;
}
ul, ol{
  list-style: none;
}
a{
  color: inherit; text-decoration: none;
}
button{
  font: inherit; color: inherit; background: none; border: none; cursor: pointer;
}

/* hover時はopacity:0.7 */
@media (hover: hover) {
  a:hover, button:hover{
    opacity: 0.7; transition: opacity 0.3s;
  }
}
a, button{
  transition: opacity 0.3s;
}

.pc-only{
  display: inline;
}
.sp-only{
  display: none;
}

/* ==========================================================
   Header
   ========================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 40px;
  z-index: 100;
  transition: transform 0.4s var(--ease-out), background 0.3s;
}
.header__logo img{
  width: 170px;
}
.header__menu-btn {
  width: 36px; height: 24px;
  position: relative;
}
.header__menu-btn span {
  position: absolute;
  left: 0; width: 100%; height: 2px;
  background: var(--color-text);
  transition: 0.3s;
}
.header__menu-btn span:nth-child(1){
  top: 0;
}
.header__menu-btn span:nth-child(2){
  top: 50%; transform: translateY(-50%);
}
.header__menu-btn span:nth-child(3){
  bottom: 0;
}

/* スクロール中は隠す・停止で表示（JSで付与） */
.header.is-scrolled{
  background: rgba(223, 223, 223, 0.92);
}

/* index_02（.page-top2）: service__letters は動かさず常に全カードの前面 */
body.page-top2 .service__letters{
  z-index: 200;
}

/* ==========================================================
   Side Menu
   ========================================================== */
.sidemenu {
  position: fixed;
  inset: 0;
  background: var(--color-mauve);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
  overflow-y: auto;
}
.sidemenu.is-open{
  opacity: 1; visibility: visible;
}

.sidemenu__close {
  position: absolute;
  top: 28px; right: 40px;
  width: 36px; height: 36px;
}
.sidemenu__close span {
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 3px;
  background: var(--color-text);
}
.sidemenu__close span:nth-child(1){
  transform: rotate(45deg);
}
.sidemenu__close span:nth-child(2){
  transform: rotate(-45deg);
}

.sidemenu__inner {
  padding: min(70px, 8vh) 0 min(40px, 4.5vh) clamp(40px, 8vw, 150px);
  max-width: 1000px;
}
.sidemenu__item--large > a {
  display: inline-block;
  font-family: var(--font-din);
  font-size: min(clamp(40px, 4.6vw, 66px), 5.4vh);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0.35em 0;
}
.sidemenu__item--label > span {
  display: block;
  font-family: var(--font-din);
  font-size: min(clamp(26px, 2.4vw, 34px), 2.8vh);
  font-weight: 700;
  color: rgba(223, 223, 223, 0.45);
  margin-top: 0.5em;
}
.sidemenu__sublist{
  margin: 0.5em 0 0.9em;
}
.sidemenu__sublist a {
  display: inline-block;
  font-family: var(--font-din);
  font-size: min(clamp(18px, 1.7vw, 24px), 2.2vh);
  font-weight: 700;
  color: var(--color-text);
  margin: 0.3em 0;
}
.sidemenu__divider {
  width: min(560px, 70%);
  height: 1px;
  background: var(--color-text);
  opacity: 0.6;
  margin: min(28px, 3vh) 0 min(20px, 2.2vh);
}
.sidemenu__privacy {
  font-family: var(--font-din);
  font-size: min(clamp(20px, 1.9vw, 26px), 2.4vh);
  font-weight: 700;
  color: var(--color-text);
}

/* メニュー展開時もスクロールバーは表示したままにする（横ずれ防止） */
body.is-menu-open{
  overflow-y: scroll;
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
}
.hero__sidebar {
  width: 9.5vw;
  min-width: 270px;
  border-right: 1px solid rgba(52, 46, 46, 0.25);
  display: flex;
  align-items: flex-end;
  padding: 0 0 60px 24px;
  flex-shrink: 0;
}
.hero__services li {
  font-family: var(--font-din);
  font-size: 11.51px;
  font-weight: 500;
  color: var(--color-text-sub);
  line-height: 1.5;
  margin-top: 22px;
  letter-spacing: 0.02em;
}
.hero__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 110px 2vw 60px;
}
.hero__title {
  font-family: var(--font-din);
  /* .hero__main のほぼ横幅いっぱい（文字幅/フォントサイズ比 ≒ 2.85 で換算） */
  font-size: min(calc((96vw - 270px) * 0.347), 800px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.hero__copy {
  width: min(50vw, 980px);
  margin-top: 3vw;
  align-self: flex-end;
  margin-right: 6vw;
}
.hero__lead {
  margin-top: 3vw;
  font-size: clamp(13px, 1.13vw, 18px);
  font-weight: 500;
  letter-spacing: 0;
  align-self: flex-end;
  text-align: right;
  margin-right: 6vw;
}
.hero__scroll {
  position: absolute;
  right: 2.6vw;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero__scroll-text {
  font-family: var(--font-din);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-sub);
  writing-mode: vertical-rl;
  letter-spacing: 0.15em;
}
/* Scroll下のライン : 上から下へラインイン → 繰り返し */
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 110px;
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-text-sub);
  transform-origin: top;
  animation: scrollLine 2.2s var(--ease-out) infinite;
}
@keyframes scrollLine {
  0% {
    transform: scaleY(0); transform-origin: top;
  }
  45%, 55% {
    transform: scaleY(1); transform-origin: top;
  }
  56% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0); transform-origin: bottom;
  }
}
/* ==========================================================
   About
   ========================================================== */
.about{
    padding: 1.4vw 1.4vw 0; overflow: hidden;
  }
.about__card {
  position: relative;
  background: var(--color-card);
  border-radius: 32px;
  display: flex;
  align-items: stretch;
}
/* 円写真の高さ＝カードの高さ（縦横比1:1は維持） */
.about__photo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  aspect-ratio: 1 / 1;
  width: auto;
  border-radius: 50%;
  overflow: hidden;
}
.about__photo img{
  width: 100%; height: 100%; object-fit: cover;
}
.about__services{
  display: none;
}
.about__body {
  flex: 1;
  text-align: center;
  margin-left: clamp(300px, 36vw, 660px);
  padding: clamp(48px, 6vw, 110px) clamp(24px, 6vw, 110px) clamp(48px, 6vw, 110px) clamp(24px, 4vw, 64px);
}
.about__title {
  font-size: clamp(24px, 2.3vw, 38px);
  font-weight: 900;
  margin-bottom: 1.6em;
}
.about__text {
  font-size: clamp(13px, 1.06vw, 16px);
  line-height: 2.3;
}
.about__body .btn-more{
  margin-top: 2.6em;
}

/* ---------- 共通 MORE / 会社概要 ボタン ---------- */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
.btn-more:hover,
.service-mini:hover{
  opacity: 0.7;
}
.btn-more__label {
  font-family: var(--font-zen);
  font-size: clamp(15px, 1.25vw, 20px);
  font-weight: 900;
  color: var(--color-btn-text);
  letter-spacing: 0.1em;
}
.btn-more__circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-mauve);
  color: #fff;
}
.btn-more__circle svg{
  width: 12px;
  height: 12px;
}

/* ==========================================================
   Service
   ========================================================== */
.service-heading {
  font-family: var(--font-din);
  /* 105px / 2831px ≒ 3.71vw … スクショ比率に合わせて拡大表示 */
  font-size: clamp(48px, 7.4vw, 110px);
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  padding: clamp(30px, 4vw, 60px) 0;
  line-height: 1.1;
}

.service{
  position: relative;
}
/* スクロール量 = 100vh × (カード数) 分の高さを確保（JSが参照） */
.service__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  /* overflow:hidden はヒット判定をクリップするため廃止。
     clip-path:inset(0) で視覚のみクリッピング（ヒット判定には影響しない） */
  clip-path: inset(0);
}
.service__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.service__bg-layer {
  position: absolute;
  /* ぼかしの縁が出ないよう枠内で拡張（はみ出しは親の overflow:hidden で内包） */
  inset: -40px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(26px) saturate(1.05);
  transform: scale(1.06);
  opacity: 0;
  transition: opacity 0.7s ease;
  will-change: opacity;
}
.service__bg-layer.is-active{
  opacity: 1;
}
.service__letters {
  position: absolute;
  left: clamp(12px, 2.4vw, 40px);
  top: 14vh;
  z-index: 5;
}
.service__letters li {
  font-family: var(--font-din);
  font-size: clamp(40px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1.55;
  opacity: 0.5;
  transition: opacity 0.4s, transform 0.4s;
  position: relative;
  padding-left: 0;
}
.service__letters li.is-active{
  opacity: 1;
  transform: translateX(6px);
}
.service__letters li.is-active::before {
  content: "";
  position: absolute;
  left: -44px; top: 50%;
  width: 28px; height: 2px;
  background: currentColor;
}
.is-h{
  color: var(--color-h);
}
.is-b{
  color: var(--color-b);
}
.is-o{
  color: var(--color-o);
}
.is-p{
  color: var(--color-p);
}

.service__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Service Card（すりガラス） ---------- */
.service-card {
  position: absolute;
  width: min(82vw, 1280px);
  max-height: 86vh;
  /* カード内スクロールはJS（main.jsのService区間割り当て）が scrollTop を制御。
     ネイティブスクロールと競合しないよう hidden（プログラム制御は可能） */
  overflow-y: hidden;
  scrollbar-width: none;
  background: rgba(235, 235, 235, 0.35);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-radius: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  padding: clamp(28px, 3.4vw, 60px) clamp(24px, 3.6vw, 64px);
  display: flex;
  gap: clamp(24px, 3vw, 56px);
  will-change: transform, opacity;
  transform: translateY(120vh);
}
.service-card::-webkit-scrollbar{
  display: none;
}

/* PC: 内部スクロールが発生するカード（has-inner-scroll、main.jsが付与）は
   overflowコンテナの padding-bottom がスクロール末尾に反映されないため、
   スペーサーで下余白を確保し他カードと同じ見え感にする（B-Pcard_PC.jpg準拠）。
   SPは末尾余白が確保されているため対象外 */
@media (min-width: 768px) {
  .service-card.has-inner-scroll .service-card__content::after {
    content: "";
    display: block;
    flex: 0 0 auto;
    height: clamp(28px, 3.4vw, 60px);
  }
}
.service-card__visual {
  flex-shrink: 0;
  width: clamp(220px, 24vw, 380px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* 写真入りの大文字（background-clip: text） */
.service-card{
  --letter-size: min(clamp(280px, 36vw, 580px), 50vh);
}
.service-card__letter {
  font-family: var(--font-din);
  font-size: var(--letter-size);
  font-weight: 700;
  line-height: 1;
  /* 上端（インク上端）を「医療・～」見出しの上端に合わせる（Barlowのインク上端=0.185em） */
  margin-top: calc(-0.185em + 7px);
  /* 被せ色は参照画像（service-card__letter--*）から実測較正:
     下層=乗算(multiply)で色付け → 上層=焼き込み/スクリーンで明度・コントラスト調整 */
  background:
    linear-gradient(rgb(249, 225, 235), rgb(249, 225, 235)),
    linear-gradient(rgb(25, 214, 221), rgb(25, 214, 221)),
    url("../images/top_service_hr.jpg") 14% center / cover no-repeat;
  background-blend-mode: color-burn, multiply, normal;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.service-card__letter--b {
  background:
    linear-gradient(rgb(255, 34, 84), rgb(255, 34, 84)),
    linear-gradient(rgb(0, 124, 124), rgb(0, 124, 124)),
    url("../images/top_service_bd.png") 67% center / cover no-repeat;
  background-blend-mode: screen, multiply, normal;
  -webkit-background-clip: text;
  background-clip: text;
}
.service-card__letter--o {
  background:
    linear-gradient(rgb(98, 72, 0), rgb(98, 72, 0)),
    linear-gradient(rgb(232, 180, 0), rgb(232, 180, 0)),
    url("../images/top_service_od.png") 0% center / cover no-repeat;
  background-blend-mode: screen, multiply, normal;
  -webkit-background-clip: text;
  background-clip: text;
}
.service-card__letter--p {
  background:
    linear-gradient(rgb(24, 49, 95), rgb(24, 49, 95)),
    linear-gradient(rgb(11, 57, 141), rgb(11, 57, 141)),
    url("../images/top_service_pm.png") 21% center / cover no-repeat;
  background-blend-mode: screen, multiply, normal;
  -webkit-background-clip: text;
  background-clip: text;
}
.service-card__name {
  font-family: var(--font-din);
  font-size: clamp(24px, 2.25vw, 33px); /* 1.5倍 */
  font-weight: 700;
  margin-top: 0.6em;
}
/* PC : 文字インクの左端を .service-card__visual の左端へ寄せ、名前も左端揃えに */
@media (min-width: 768px) {
  .service-card__letter{
    margin-left: calc(var(--letter-size) * -0.0156);
  }
  .service-card__letter--o{
    margin-left: calc(var(--letter-size) * -0.047);
  }
  .service-card__name{
    margin-left: 0;
  }
}

.service-card__content{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.service-card__heads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  border-bottom: 1px solid rgba(52, 46, 46, 0.4);
  padding-bottom: 14px;
}
.service-card__head {
  font-size: clamp(14px, 1.13vw, 17px);
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.service-card__head-sub {
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 500;
  color: var(--color-text);
  border-left: 1px solid rgba(52, 46, 46, 0.4);
  padding-left: 12px;
}
.service-card__desc {
  font-size: clamp(12px, 0.93vw, 14px);
  line-height: 2;
  margin: 1.2em 0;
}
.service-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.2vw, 20px);
}
.service-mini {
  position: relative;
  background: rgba(244, 244, 244, 0.75);
  border: 1px solid rgba(52, 46, 46, 0.15);
  border-radius: 10px;
  padding: 14px 36px 14px 16px;
  display: flex;
  gap: 14px;
}
.service-mini__title {
  flex-shrink: 0;
  width: 4.5em;
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 700;
  border-right: 1px solid rgba(52, 46, 46, 0.35);
  padding-right: 10px;
}
.service-mini__title span {
  display: block;
  font-size: 0.85em;
  font-weight: 500;
  color: var(--color-text-sub);
  margin-top: 4px;
  line-height: 1.5;
}
.service-mini__text {
  font-size: clamp(10px, 0.78vw, 12px);
  line-height: 1.9;
}
.service-mini__arrow {
  position: absolute;
  right: 10px; bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-mauve);
  color: #fff;
}
.service-mini__arrow svg{
  width: 8px; height: 8px;
}
.service-mini.is-disabled .service-mini__title{
  color: var(--color-text-sub);
}

/* ---------- 求人ボタン（index_02 専用：HカードのGrid先頭） ---------- */
.service-recruit {
  position: relative;
  grid-row: span 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 18px 18px 16px;
  isolation: isolate;
}
.service-recruit__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40,36,36,0.32) 0%, rgba(40,36,36,0.58) 100%);
  z-index: -1;
}
.service-recruit__body{
  display: block;
}
.service-recruit__title {
  display: block;
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 700;
  line-height: 1.4;
}
.service-recruit__sub {
  display: block;
  font-size: clamp(10px, 0.78vw, 12px);
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.service-recruit__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-text);
  margin-top: 18px;
}
.service-recruit__arrow svg{
  width: 10px; height: 10px;
}
.service-card__more{
  margin-top: auto; align-self: flex-end; padding-top: 16px;
}

/* ---------- Detail Card（B / O / P : Features + Our Work） ---------- */
.service-card--detail .service-card__content{
  display: flex; flex-direction: column;
}
.service-card__desc--sub {
  margin-top: -0.4em;
  color: var(--color-text);
  padding-top: 1.1em;
  border-top: 1px solid rgba(52, 46, 46, 0.18);
}
.service-feature {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: clamp(16px, 1.6vw, 28px) clamp(18px, 1.8vw, 30px);
  margin-top: 0.4em;
}
.service-feature__label {
  font-family: var(--font-din);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 700;
  color: var(--color-text-sub);
  margin-bottom: 10px;
}
.service-feature__list{
  display: flex; flex-direction: column; gap: clamp(10px, 1vw, 16px);
}
.service-feature__item{
  display: flex; align-items: stretch; gap: 12px;
}
.service-feature__num {
  flex-shrink: 0;
  width: 22px;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2px;
  background: var(--color-text);
  color: #fff;
  font-family: var(--font-din);
  font-size: 12px;
  font-weight: 700;
}
.service-feature__title {
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 700;
  margin-bottom: 4px;
}
.service-feature__text {
  font-size: clamp(11px, 0.82vw, 13px);
  line-height: 1.8;
  color: var(--color-text);
}
.service-work{
  margin-top: clamp(18px, 2vw, 30px);
}
.service-work__label {
  font-family: var(--font-din);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 700;
  color: var(--color-text-sub);
  margin-bottom: 14px;
}
.service-work__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 26px) clamp(28px, 3.6vw, 70px);
}
.service-work__list--cols3{
  grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 2.4vw, 44px);
}
.service-work__item{
  border-top: 1px solid rgba(52, 46, 46, 0.5); padding-top: 8px;
}
.service-work__title {
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 700;
  margin-bottom: 12px;
}
.service-work__text {
  font-size: clamp(11px, 0.82vw, 13px);
  color: var(--color-text);
  line-height: 1.7;
}

/* ==========================================================
   News
   ========================================================== */
.news-section {
  position: relative;
  padding: clamp(60px, 8vw, 140px) 5vw;
  overflow: hidden;
}
.news-lines {
  position: absolute;
  pointer-events: none;
}
.news-lines--pc {
  inset: 0;
  width: 100%;
  height: 100%;
}
.news-lines--sp{
  display: none;
}
.news {
  position: relative;
  background: var(--color-bg);
  border: 1px solid rgba(52, 46, 46, 0.35);
  border-radius: 48px;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(36px, 4.5vw, 70px) clamp(24px, 5vw, 80px);
}
.news__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(28px, 3vw, 48px);
}
.news__title {
  font-family: var(--font-din);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 700;
  line-height: 1;
}
.news__body {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  align-items: flex-start;
}
.news__categories {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news__cat {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-sub);
  border: 1px solid var(--color-text-sub);
  border-radius: 999px;
  padding: 4px 18px;
  text-align: center;
  transition: 0.3s;
}
.news__cat.is-active {
  background: var(--color-mauve);
  color: #fff;
}
.news__list{
  flex: 1;
  min-width: 0;
}
.news__item a {
  position: relative;
  display: block;
  padding: 18px 64px 18px 0;
  border-bottom: 1px solid rgba(52, 46, 46, 0.4);
}
.news__meta {
  font-family: var(--font-din);
  font-size: 11.51px;
  font-weight: 500;
  color: var(--color-text-sub);
  display: flex;
  align-items: center;
  gap: 12px;
}
.news__item-cat{
  font-family: var(--font-zen);
}
.news__item-title {
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-top: 6px;
}
.news__arrow {
  position: absolute;
  right: 0; bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-mauve);
  color: #fff;
}
.news__arrow svg{
  width: 11px; height: 11px;
}
.news__empty {
  flex: 1;
  font-size: 14px;
  color: var(--color-text-sub);
  padding: 24px 0;
}

/* ==========================================================
   Contact
   ========================================================== */
.contact-section{
  padding: 0 5vw clamp(60px, 8vw, 140px);
}
/* HR以外（BD/OD/PM）はcontact上余白を1.5倍 */
.page-b .contact-section,
.page-o .contact-section,
.page-p .contact-section{
  padding-top: clamp(90px, 10.5vw, 150px);
}
.contact {
  position: relative;
  display: block;
  background: #F4F4F4;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  min-height: clamp(220px, 24vw, 340px);
}
.contact__bg {
  position: absolute;
  inset: -30px;
  background: url("../images/contact_bg.jpg") center / cover no-repeat;
  filter: blur(14px) brightness(1.12);
  opacity: 0.5;
  transform: scale(1.05);
}
.contact__body {
  position: relative;
  padding: clamp(56px, 7vw, 110px) clamp(28px, 6vw, 90px);
}
.contact__title {
  font-family: var(--font-din);
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 700;
  line-height: 1;
}
.contact__lead {
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 700;
  margin-top: 10px;
  padding-left: 4px;
}
.contact__circle {
  position: absolute;
  left: clamp(330px, 34vw, 500px);
  top: 50%;
  transform: translateY(-30%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-text);
  color: #fff;
  z-index: 1;
}
.contact__circle svg{
  width: 13px;
  height: 13px;
}

/* ---------- Contact（contact_btn.png 準拠：横長バナー / 矢印は本文左下） ---------- */
.contact--btn {
  min-height: 0;
  border-radius: 28px;
}
.contact--btn .contact__bg {
  filter: blur(16px) brightness(1.14);
  opacity: 0.65;
}
.contact--btn .contact__body {
  padding: clamp(36px, 4.2vw, 64px) clamp(32px, 4.5vw, 80px) clamp(34px, 4vw, 60px);
}
.contact--btn .contact__title {
  font-size: clamp(40px, 4.4vw, 70px);
  letter-spacing: -0.01em;
}
.contact--btn .contact__lead {
  margin-top: 14px;
  padding-left: 4px;
  letter-spacing: 0.02em;
}
/* 矢印は静的フローで本文左下に配置（重なりを解除） */
.contact--btn .contact__circle {
  position: static;
  transform: none;
  margin-top: clamp(28px, 3.4vw, 52px);
  margin-left: 4px;
  width: clamp(44px, 3.4vw, 56px);
  height: clamp(44px, 3.4vw, 56px);
}
.contact--btn .contact__circle svg{
  width: 14px;
  height: 14px;
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  background: var(--color-card);
  border-top: 1px solid rgba(52, 46, 46, 0.15);
  padding: clamp(48px, 5vw, 80px) 5vw 24px;
}
.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.footer__logo{
  width: 190px;
}
.footer__address {
  font-size: 13px;
  margin-top: 18px;
  line-height: 1.9;
}
.footer__nav{
  display: flex; gap: clamp(40px, 8vw, 120px);
}
.footer__col li{
  margin-bottom: 1.1em;
}
.footer__col a {
  font-family: var(--font-din);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.footer__col a[href="#"]:not([class]){
  font-family: var(--font-zen);
}
.footer__copyright {
  max-width: 1180px;
  margin: 56px auto 0;
  text-align: right;
  font-family: var(--font-din);
  font-size: 10px;
  color: var(--color-text-sub);
}

/* ==========================================================
   Tablet（お任せ : 768px～1024px）
   ========================================================== */
@media (max-width: 1024px) {
  .hero__main{
    justify-content: center;
  }
  .service-card{
    width: 90vw;
  }
  .service-card__grid{
    grid-template-columns: 1fr;
  }
  .about__photo{
    margin-left: -14vw;
  }
}

/* ---------- タブレット専用（768px〜1024px）：SPは対象外 ---------- */
@media (min-width: 768px) and (max-width: 1024px) {
  /* ① hero__lead の改行位置をSPに合わせる */
  .hero__lead .sp-only{
    display: inline;
  }

  /* ② about__photo を about__text と重ならない位置まで左へ寄せる */
  .about__photo{
    margin-left: -32vw;
  }

  /* ③ service-card は右端まで（右余白なし・右上/右下の角丸なし）
     ④ 左端は service__letters と重ならない位置まで狭める */
  .service-card {
    left: 60px;
    right: 0;
    width: auto;
    border-radius: 24px 0 0 24px;
  }

  /* ④ service__letters のフォントサイズを80%に */
  .service__letters li{
    font-size: clamp(32px, 2.88vw, 44.8px);
  }
}

/* ==========================================================
   SP（414px～767px）
   ========================================================== */
@media (min-width: 414px) and (max-width: 767px) {
  .about__services{
    width: max-content !important;
  }
  .sp-only--small{
    display: none;
  }
}

/* ==========================================================
   SP（～767px）
   ========================================================== */
@media (max-width: 767px) {
  .pc-only{
    display: none;
  }
  .sp-only{
    display: inline;
  }

  .header{
    padding: 14px 18px; background: rgba(223, 223, 223, 0.92);
  }
  .header__logo img{
    width: 120px;
  }
  .header__menu-btn{
    width: 30px; height: 20px;
  }

  /* 閉じるボタンを三本線と同じ位置に */
  .sidemenu__close{
    top: 14px; right: 18px; width: 30px; height: 30px;
  }
  /* 左右の空白を同じ幅に / 1画面に収める */
  .sidemenu__inner{
    padding: min(80px, 9.5vh) 28px min(40px, 5vh);
  }
  .sidemenu__item--large > a{
    font-size: min(38px, 5.6vh);
  }
  .sidemenu__item--label > span{
    font-size: min(24px, 3vh);
  }
  .sidemenu__sublist a{
    font-size: min(17px, 2.2vh);
  }
  .sidemenu__divider{
    width: 100%;
  }
  .sidemenu__privacy{
    font-size: min(20px, 2.4vh);
  }

  /* Hero : 縦積み */
  .hero{
    flex-direction: column; min-height: auto; padding-bottom: 0;
  }
  .hero__sidebar{
    display: none;
  }
  .hero__main{
    padding: 100px 16px 24px;
  }
  /* TOP_SP.jpg に合わせて横幅ほぼいっぱい（HBOP幅 ≒ 94vw） */
  .hero__title{
    font-size: 40vw;
  }
  /* copy は横幅を狭めて左寄せ */
  .hero__copy{
    width: 78vw; align-self: flex-end; margin-top: 14px; margin-right: 0;
  }
  .hero__lead{
    font-size: 11px; margin-top: 18px; align-self: flex-end; text-align: right; margin-right: 0;
  }
  .hero__scroll{
    display: none;
  }

  /* About : TOP_SP.jpg のレイアウト
     - 円写真は中心が画面左端・直径112vw
     - サービスラベルは円の右側
     - カードの上端は円の中央あたり          */
  .about{
    padding: 0; margin-top: 24px; margin-bottom: 16vw; overflow: visible;
  }
  .about__card {
    display: block;
    position: relative;
    border-radius: 24px;
    margin-top: 50vw; /* 円がカード上に突き出す分のスペース */
    padding: 20vw 0 44px;
  }
  .about__photo {
    position: absolute;
    top: -50vw;
    left: -30vw;
    width: 78vw;
    height: auto;
    margin: 0;
    aspect-ratio: 1 / 1;
  }
  /* カード背景(#EBEBEB)に被らないよう、カード上端より上に収める */
  .about__services {
    display: block;
    position: absolute;
    top: -49vw;
    right: 16px;
    width: 42vw;
  }
  .about__services li {
    font-family: var(--font-din);
    font-size: 10px;
    font-weight: 500;
    color: var(--color-text-sub);
    line-height: 1.5;
    margin-bottom: 10px;
  }
  .about__body{
    margin-left: 0; padding: 0 20px; text-align: left;
  }
  .about__title{
    text-align: right; font-size: 24px; margin-bottom: 1.2em; padding-right: 8px;
  }
  .about__text{
    font-size: 14px; line-height: 2.1;
  }
  .about__body .btn-more{
    float: none; display: flex; width: fit-content; margin-left: auto; margin-top: 1.6em;
  }

  .service-heading{
    font-size: 15vw; padding-top: 0;
  }

  /* SP : PCと同じピン留めスタック方式に統一（背景フェード・カード切替演出を共有） */
  .service__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: visible;
    clip-path: inset(0);
    padding: 0;
    perspective: none;
  }
  .service__bg{
    display: block;
  }
  /* SP : 左肩のH/B/O/Pインジケーター（カードの左外側・前面に固定） */
  .service__letters {
    display: block;
    left: 12px;
    top: 32vw;
    transform: translateY(-50%);
    z-index: 20; /* カードより前面に出して重なりを防ぐ */
  }
  .service__letters li{
    font-size: 18px; line-height: 1.7;
  }
  .service__letters li.is-active{
    transform: translateX(4px);
  }
  .service__letters li.is-active::before{
    left: -12px; width: 8px;
  }
  .service__stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0;
    padding-top: 15vw;
    transform-style: flat;
  }
  .service-card {
    position: absolute;
    /* 左に文字スペース（約44px）を空け、右端まで使う */
    left: 44px;
    right: 0;
    width: auto;
    max-height: 86svh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    opacity: 1;
    pointer-events: none;
    will-change: transform, opacity;
    /* PCと同じく初期は画面外（下）。演出はJSのインラインstyleが制御 */
    transform: translateY(120vh);
    transition: none;
    max-width: none;
    flex-direction: column;
    padding: 22px 18px 24px;
    /* 右端に接するため右上・右下の角丸なし */
    border-radius: 24px 0 0 24px;
    gap: 0;
    /* 「H」とテキストの2カラム構成（ヘッダー部のみグリッド） */
    display: grid;
    grid-template-columns: 30vw 1fr;
    grid-template-areas:
      "letter side"
      "desc   desc"
      "feat   feat"
      "grid   grid"
      "work   work"
      "more   more";
    column-gap: 12px;
  }
  .service-card::-webkit-scrollbar{
    display: none;
  }
  .service-card__visual,
  .service-card__content{
    display: contents;
  }
  .service-card__letter {
    grid-area: letter;
    font-size: 52vw;
    align-self: start;
    /* 「H」のインク上端を「Human」のインク上端に揃える */
    margin-top: calc(-0.185em + 6px);
  }
  /* 右カラム : 英語名 ＋ 見出し */
  .service-card__name {
    grid-area: side;
    align-self: start;
    font-size: 24px;
    line-height: 1;
    margin-top: 4px;
  }
  .service-card__heads {
    grid-area: side;
    align-self: start;
    margin-top: calc(2.4em * 1.2 + 12px); /* 2行分の名前の下 */
    flex-direction: column;
    gap: 8px;
    border-bottom: none;
    padding-bottom: 0;
  }
  .service-card__head {
    display: block;
    font-size: 13px;
    border-left: 1px solid #342E2E;
    padding-left: 1em;
  }
  .service-card__head-sub {
    display: block;
    border-left: none;
    padding-left: 0;
    margin-top: 2px;
    font-size: 10.5px;
    line-height: 1.7;
  }
  .service-card__desc{
    grid-area: desc; font-size: 12px; line-height: 1.9; margin: 1em 0;
  }
  .service-card__desc--sub{
    margin-top: 0; padding-top: 1em;
  }
  .service-card__grid{
    grid-area: grid; grid-template-columns: 1fr;
  }
  .service-card__more {
    grid-area: more;
    justify-self: end;
    margin-top: 16px;
    position: relative;
    z-index: 30;
  }
  /* ミニカードのリンクも確実に前面化 */
  .service-mini{
    position: relative; z-index: 30;
  }

  /* ---------- SP : index_02 求人ボタン付きHカード（各ボタンは手動横スクロール） ---------- */
  .service-card__grid--recruit {
    grid-template-columns: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 6px;
    touch-action: pan-x;
  }
  .service-card__grid--recruit::-webkit-scrollbar{
    display: none;
  }
  .service-card__grid--recruit > .service-mini,
  .service-card__grid--recruit > .service-recruit {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .service-card__grid--recruit > .service-recruit {
    min-height: 150px;
  }
  .service-recruit__title{
    font-size: 15px;
  }
  .service-recruit__sub{
    font-size: 10.5px;
  }

  /* ---------- SP : Detailカード（B/O/P）Featureは手動横スクロール ---------- */
  .service-feature {
    grid-area: feat;
    background: transparent;
    padding: 0;
    margin-top: 0.2em;
  }
  .service-feature__list {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 6px;
    /* カード内部スクロールと干渉しないよう横スクロールを優先 */
    touch-action: pan-x;
  }
  .service-feature__list::-webkit-scrollbar{
    display: none;
  }
  .service-feature__item {
    flex: 0 0 78%;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 14px;
    padding: 16px 16px 18px;
    align-items: flex-start;
  }
  .service-feature__num{
    width: 20px;
  }
  .service-feature__title{
    font-size: 14px;
  }
  .service-feature__text{
    font-size: 12px;
  }
  .service-work{
    grid-area: work;
  }
  .service-work__list,
  .service-work__list--cols3{
    grid-template-columns: 1fr; gap: 14px;
  }

  /* SP : Detailカード（B/O/P）は単一カラムで上から積む（横幅フル活用・空白防止） */
  .service-card--detail {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .service-card--detail .service-card__visual {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 6px;
  }
  /* .service-card--detail .service-card__letter {
    font-size: 34vw;
    margin-top: calc(-0.185em + 6px);
    flex-shrink: 0;
  } */
  .service-card--detail .service-card__name {
    font-size: 18px;
    line-height: 1.2;
    margin-top: 0.4em;
    align-self: flex-start;
  }
  .service-card--detail .service-card__heads {
    margin-top: 12px;
    border-top: 1px solid rgba(52, 46, 46, 0.18);
    padding-top: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
  }
  /* .service-card--detail .service-card__head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    white-space: nowrap;
  } */
  /* .service-card--detail .service-card__head-sub {
    display: inline;
    white-space: normal;
    border-left: 1px solid rgba(52, 46, 46, 0.3);
    padding-left: 8px;
    margin-top: 0;
    font-size: 10px;
  } */
  .service-card--detail .service-card__desc{
    margin: 1em 0;
  }

  /* ② SP : B/O/P も HR と同じグリッド構成に戻し、heads を name の直下（大文字の右側）に配置 */
  .service-card--detail {
    display: grid;
    column-gap: 12px;
    row-gap: 0;
    /* desc が2本（本文＋補足）あるため専用の行を追加 */
    grid-template-areas:
      "letter side"
      "desc   desc"
      "desc2  desc2"
      "feat   feat"
      "grid   grid"
      "work   work"
      "more   more";
  }
  /* visual/content を grid の直接の子として扱う（heads を side 列に載せるため） */
  .service-card--detail .service-card__visual,
  .service-card--detail .service-card__content{
    display: contents;
  }
  .service-card--detail .service-card__desc--sub{
    grid-area: desc2;
  }
  /* .service-card--detail .service-card__name {
    grid-area: side;
    align-self: start;
    margin-top: 0;
  } */
  .service-card--detail .service-card__heads {
    grid-area: side;
    align-self: start;
    margin-top: calc(2.4em * 1.2 + 12px); /* HRと同じく2行分の名前の下 */
    border-top: none;
    padding-top: 0;
  }

  /* News : ラインはカード下で交差する束（TOP_SP.jpg準拠） */
  .news-section{
    padding: 60px 10px 150px;
  }
  .news-lines--pc{
    display: none;
  }
  .news-lines--sp {
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 200px;
  }
  .news{
    border-radius: 28px; padding: 32px 22px;
  }
  .news__body{
    flex-direction: column;
  }
  .news__categories{
    flex-direction: row; flex-wrap: wrap;
  }
  .news__item a{
    padding-right: 52px;
  }

  /* Contact : 縦幅を2/3に */
  .contact-section{
    padding: 0 16px 60px;
  }
  .page-b .contact-section,
  .page-o .contact-section,
  .page-p .contact-section{
    padding-top: 90px;
  }
  .contact{
    min-height: 146px;
  }
  .contact__body{
    padding: 28px 24px;
  }
  .contact__circle{
    left: auto; right: 24px; transform: translateY(-50%);
  }

  /* Contact（contact_btn.png 準拠）SP */
  .contact--btn{
    min-height: 0; border-radius: 22px;
  }
  .contact--btn .contact__body{
    padding: 30px 26px 30px;
  }
  .contact--btn .contact__title{
    font-size: 40px;
  }
  .contact--btn .contact__lead{
    margin-top: 12px; font-size: 12px;
  }
  .contact--btn .contact__circle {
    position: static;
    transform: none;
    left: auto; right: auto;
    margin-top: 30px;
    margin-left: 2px;
    width: 46px; height: 46px;
  }

  /* Footer */
  .footer__inner{
    flex-direction: column;
  }
  .footer__nav{
    flex-direction: column; gap: 8px;
  }
  .footer__copyright{
    text-align: left; margin-top: 40px;
  }
}

/* ==========================================================
   Reduced Motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html{
    scroll-behavior: auto;
  }
  .hero__scroll-line::before{
    animation: none; transform: scaleY(1);
  }
  *{
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================
   下層ページ（Human Resources 等）
   ========================================================== */
.lower{
  display: block;
}

/* セクション見出し（Features / 利用者の声） */
.sec-heading {
  font-family: var(--font-din);
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  padding: clamp(40px, 5vw, 80px) 0 clamp(28px, 3vw, 48px);
}
.voice .sec-heading,
.qa__title{
  font-family: var(--font-zen);
  font-weight: 900;
}
.voice .sec-heading{
  font-size: clamp(22px, 2.2vw, 32px);
}

/* ---------- ページ別アクセントカラー ---------- */
/* HR : --color-h (#6EB5C0 ティール) がデフォルト */
.page-b .lhero__title{ color: var(--color-b); } /* Business Development : ピンク */
.page-o .lhero__title{ color: var(--color-o); } /* Operation Design     : イエロー/ゴールド */
.page-p .lhero__title{ color: var(--color-p); } /* Pharma & Medical     : ライトネイビー */
.page-co .lhero__title{ color: var(--color-text); } /* Company Overview     : 黒 */
.page-pp .lhero__title{ color: var(--color-text); } /* Privacy Policy       : 黒 */
.page-news .lhero__title{ color: var(--color-text); font-size: clamp(56px, 7vw, 112px); } /* News : 黒・大 */

/* ---------- Lower Hero ---------- */
.lhero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "head   visual"
    "spacer lead";
  align-content: start;
  gap: 0 4vw;
  min-height: 60vh;
  padding: clamp(90px, 9vw, 150px) 9vw clamp(40px, 5vw, 80px) clamp(40px, 8vw, 150px);
  border-bottom: 1px solid rgba(52, 46, 46, 0.15);
}
.lhero__head{
  grid-area: head;
}
.lhero__label {
  font-family: var(--font-din);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 600;
  color: var(--color-text-sub);
  margin-bottom: 0.6em;
}
.lhero__title {
  font-family: var(--font-din);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-h);
}
.lhero__visual {
  grid-area: visual;
  align-self: start;
  justify-self: center;
  width: min(34vw, 480px);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
}
.lhero__visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lhero__lead {
  grid-area: lead;
  align-self: start;
  justify-self: center;
  width: min(34vw, 480px);
  max-width: none;
  margin-top: clamp(20px, 2vw, 36px);
}
.lhero__lead p {
  font-size: clamp(12px, 0.95vw, 15px);
  line-height: 2.1;
  color: var(--color-text);
}
.lhero__scroll {
  position: absolute;
  right: 2.6vw;
  bottom: 0;
}

/* ---------- News / News詳細 / CompanyOverview / PrivacyPolicy PC専用 ----------
   News_PC.jpg / News_detail_PC.jpg / CO_PC.jpg 準拠（PrivacyPolicyはCOと同一パターン）。
   ビジュアルは絶対配置（幅36.67vw・右余白8.33vw・下端62.5vw）とし、
   コンテンツ（.news-content / .news-detail / .company-table-section）を
   lhero__head の直下から右のビジュアルと並走させる。 */
@media (min-width: 768px) {
  .page-news .lhero, .page-co .lhero, .page-pp .lhero {
    display: block;          /* headのみ通常フロー */
    min-height: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .page-news .lhero__visual, .page-co .lhero__visual, .page-pp .lhero__visual {
    position: absolute;
    right: 8.33vw;
    width: 36.67vw;
    border-radius: 0;
    margin: 0;
    overflow: hidden;
    z-index: 1;
  }
  /* 全ページ共通（COパターン）: ページ最上部から下端62.5vwまで */
  .page-news .lhero__visual, .page-co .lhero__visual, .page-pp .lhero__visual{
    top: 0; height: 62.47vw;
  }

  /* Scrollインジケータ: 下端をビジュアル下端に揃える */
  .page-news .lhero__scroll, .page-co .lhero__scroll, .page-pp .lhero__scroll{
    top: 50.8vw; bottom: auto;
  }

  /* コンテンツ横幅を news-detail と同一に：
     news-detail は「padding内側の要素」に max-width を掛けているため、
     こちらも子要素側に同じ max-width を掛けて計算基準を揃える */
  .news-content > *{
    max-width: calc(50% - clamp(25px, 3.75vw, 50px));
  }
  .company-table{
    max-width: calc(50% - clamp(25px, 3.75vw, 50px));
  }
  .policy-body > *{
    max-width: calc(50% - clamp(25px, 3.75vw, 50px));
  }
  .contact-form-section > *{
    max-width: calc(50% - clamp(25px, 3.75vw, 50px));
  }

  /* ビジュアル（下端62.5vw）がフッターや後続セクションに被らないよう最低高を確保 */
  .page-news .news-content, .page-news .news-detail, .page-contact .contact-form-section{
    min-height: calc(53.5vw - 110px);
  }
  .page-co .company-table-section{
    min-height: calc(48.5vw - 110px);
  }
  .page-pp .policy-body{
    min-height: calc(48.5vw - 110px);
  }
}

/* ==========================================================
   News 共通
   ========================================================== */
/* --- News lhero の左カラム（head/lead の下に続くコンテンツエリア） --- */
.news-content {
  padding: clamp(28px, 3.5vw, 56px) clamp(40px, 8vw, 150px) clamp(60px, 8vw, 120px);
  /* 横幅制限はPC用メディアクエリ側（.news-content > *）で news-detail と同一基準に統一 */
}

/* --- カテゴリフィルター --- */
.news-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.news-cat-btn {
  font-family: var(--font-zen);
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 500;
  padding: 6px 16px;
  border: 1px solid var(--color-mauve);
  border-radius: 999px;
  background: transparent;
  color: var(--color-mauve);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.news-cat-btn.is-active,
.news-cat-btn:hover {
  background: var(--color-mauve);
  color: #fff;
}

/* --- 記事リスト --- */
.news-list{
  list-style: none;
}
.news-list__item {
  border-bottom: 1px solid rgba(52, 46, 46, 0.15);
}
.news-list__item:first-child {
  border-top: 1px solid rgba(52, 46, 46, 0.15);
}
.news-list__link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "meta  arrow"
    "title arrow";
  align-items: center;
  gap: 4px 16px;
  padding: clamp(18px, 2vw, 28px) 0;
  text-decoration: none;
  color: inherit;
}
.news-list__meta {
  grid-area: meta;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(11px, 0.85vw, 13px);
  color: var(--color-text-sub);
}
.news-list__sep{
  opacity: 0.4;
}
.news-list__cat-label {
  font-size: clamp(11px, 0.85vw, 13px);
  color: var(--color-text-sub);
}
.news-list__title {
  grid-area: title;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 700;
  line-height: 1.6;
}
.news-list__arrow {
  grid-area: arrow;
  width: clamp(32px, 2.6vw, 40px);
  height: clamp(32px, 2.6vw, 40px);
  border-radius: 50%;
  background: var(--color-mauve);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.news-list__arrow svg{
  width: 11px;
  height: 11px;
}
.news-list__arrow svg path{
  stroke: #fff;
}
.news-list__link:hover .news-list__arrow{
  opacity: 0.7;
}

/* --- ページネーション --- */
.news-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: clamp(24px, 3vw, 40px);
}
.news-pagination__btn {
  font-family: var(--font-din);
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 600;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
  color: var(--color-mauve);
  transition: opacity 0.2s;
}
.news-pagination__btn.is-active {
  color: var(--color-text);
  text-decoration: underline;
}
.news-pagination__btn:hover{
  opacity: 0.6;
}

/* ==========================================================
   News 詳細
   ========================================================== */
.news-detail{
  padding: clamp(28px, 3.5vw, 56px) clamp(40px, 8vw, 150px) clamp(60px, 8vw, 120px);
}
.news-detail__max-width{
  max-width: calc(50% - clamp(25px, 3.75vw, 50px));
}

/* メタ情報 */
.news-detail__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(11px, 0.85vw, 13px);
  color: var(--color-text-sub);
  margin-bottom: clamp(10px, 1.2vw, 18px);
}

/* タイトル */
.news-detail__title {
  font-family: var(--font-zen);
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: clamp(14px, 1.5vw, 22px);
  padding-bottom: clamp(14px, 1.5vw, 22px);
  border-bottom: 1px solid rgba(52, 46, 46, 0.15);
}

/* 本文 */
.news-detail__body {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 2;
  color: var(--color-text);
  margin-bottom: clamp(36px, 4vw, 60px);
}
.news-detail__body p + p{
  margin-top: 1.4em;
}

/* 一覧へボタン */
.news-back {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(13px, 1vw, 15px);
  color: var(--color-text);
  text-decoration: none;
}
.news-back__circle {
  width: clamp(36px, 2.6vw, 44px);
  height: clamp(36px, 2.6vw, 44px);
  border-radius: 50%;
  background: var(--color-mauve);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.news-back__circle svg{
  width: 11px;
  height: 11px;
}
.news-back__circle svg path{
  stroke: #fff;
}
.news-back:hover .news-back__circle{
  opacity: 0.7;
}

/* ==========================================================
   News SP
   ========================================================== */
@media (max-width: 767px) {
  /* lhero */
  .page-news .lhero {
    grid-template-columns: 2fr 1.56fr;
    grid-template-areas:
      "head   visual"
      "lead   visual";
    padding: 90px 0 40px 20px;
    gap: 0;
    border-bottom: none;
  }
  .page-news .lhero__visual {
    aspect-ratio: auto;
    width: 100%;
    min-height: 100vw;
    margin: 0;
    align-self: stretch;
    border-radius: 0;
  }
  /* コンテンツ */
  .news-content {
    padding: 32px 20px 60px;
    max-width: 100%;
  }
  .news-cat-btn{
    font-size: 12px; padding: 5px 13px;
  }
  .news-list__title{
    font-size: 13px;
  }
  .news-detail{
    padding: 32px 20px 60px;
  }
  .news-detail__max-width{
    max-width: 100%;
  }
  .news-detail__title{
    font-size: 17px;
  }
  .news-detail__body{
    font-size: 13px;
  }
}

/* ---------- Features ---------- */
.features{
  padding: 0 0 clamp(50px, 6vw, 90px);
}
.features__slider{
  padding: 0 clamp(20px, 4vw, 64px);
}
/* PC: セクション幅いっぱいに3枚を等間隔配置（縦横比600:516・スライド間隔は維持、アニメーションなし） */
.features__slider.is-static-3{
  padding: 0 clamp(20px, 4vw, 64px);
}
.features__slider.is-static-3 .splide__track{
  overflow: visible;
}
.features__slider.is-static-3, .features__slider.is-static-3 .splide__list, .features__slider.is-static-3 .splide__slide{
  visibility: visible !important;
}
.features__slider.is-static-3 .splide__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem; /* スライド間隔は従来スライダーと同じ */
}
.features__slider.is-static-3 .splide__slide{
  width: auto !important;
}
/* カードは内容に応じて高さが伸びる（テキスト全文表示）。
   画像帯だけ幅比例（600:322≒1.863）で高さを追従させ、見た目の比率を維持。
   ※カード自体に aspect-ratio を掛けると高さが固定されテキストが切れるため掛けない */
.features__slider.is-static-3 .feature-card{
  height: auto;
}
.features__slider.is-static-3 .feature-card__img {
  flex: 0 0 auto;
  height: auto;
  aspect-ratio: 600 / 322;
}
.features__slider .splide__slide{
  display: flex;
  height: 100%;
}
.feature-card {
  text-align: left;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border-radius: 18px;
  overflow: hidden;
}
/* 画像帯はPCで高さ322px固定（*_comp_02.jpg準拠）、残りがタイトル＋本文帯 */
.feature-card__img {
  flex: 0 0 322px;
  overflow: hidden;
}
.feature-card__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* テキスト上揃え */
  padding: clamp(20px, 1.8vw, 32px);
}
.feature-card__title {
  font-size: clamp(14px, 1.05vw, 17px); /* achievement-card__title と同一 */
  font-weight: 700;
  margin-bottom: 0.7em;
}
.feature-card__text {
  font-size: clamp(11px, 0.8vw, 13px); /* achievement 準拠 */
  line-height: 1.9;
  color: var(--color-text);
}

/* ---------- 利用者の声（voice_PC.jpg 準拠） ---------- */
.voice{
  padding: 0 0 clamp(60px, 7vw, 110px);
}
.voice__slider{
  padding: 8px clamp(20px, 4vw, 64px) 0;
  position: relative;
}
/* 矢印 : スライダー両端・上下中央（サイト共通の丸ボタン意匠） */
.voice__slider .splide__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: clamp(40px, 3.4vw, 52px);
  height: clamp(40px, 3.4vw, 52px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--color-mauve);
  color: #fff;
  opacity: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: background 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}
.voice__slider .splide__arrow svg{
  width: clamp(14px, 1.2vw, 18px);
  height: clamp(14px, 1.2vw, 18px);
  fill: none;
  transform: none;
}
.voice__slider .splide__arrow:hover{
  background: var(--color-text);
  opacity: 1;
}
.voice__slider .splide__arrow:disabled{
  opacity: 0.35;
}
.voice__slider .splide__arrow--prev{
  left: clamp(2px, 0.7vw, 16px);
}
.voice__slider .splide__arrow--next{
  right: clamp(2px, 0.7vw, 16px);
}
.voice-card {
  background: #fff;
  border-radius: 18px;
  padding: clamp(28px, 2.4vw, 40px) clamp(26px, 2.2vw, 38px) clamp(36px, 3vw, 48px);
  height: 100%;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
}
/* 本文の開閉で高さが変わるため、カードは内容に追従させる */
.voice__slider .splide__list{
  align-items: flex-start;
}
.voice-card__cat {
  display: inline-block;
  font-size: 12px;
  color: var(--color-text-sub);
  margin-bottom: 0.6em;
}
.voice-card__name {
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 700;
  margin-bottom: 0.7em;
}
/* 氏名の下の区切り線 */
.voice-card__divider {
  display: block;
  height: 1px;
  background: rgba(52, 46, 46, 0.25);
  margin-bottom: 1.4em;
}
.voice-card__text {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 2.1;
  /* 5行までを表示し、残りはグラデーションで隠す（line-height 2.1 × 5行） */
  position: relative;
  overflow: hidden;
  max-height: calc(2.1em * 5);
  transition: max-height 0.45s var(--ease-out);
}
.voice-card__text::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3.4em;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 55%,
    rgba(255, 255, 255, 0.96) 100%);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
/* 全文表示中 / 5行以内で隠す必要がない場合はグラデーションを消す */
.voice-card__text.is-open::after,
.voice-card__text.is-plain::after {
  opacity: 0;
}
.voice-card__text.is-plain {
  max-height: none;
}
/* 「詳しく見る」トグル */
.voice-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.1em;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-zen);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 700;
  color: var(--color-btn-text);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: opacity 0.25s var(--ease-out);
}
.voice-card__toggle:hover {
  opacity: 0.7;
}
.voice-card__toggle[hidden] {
  display: none;
}
.voice-card__toggle-icon {
  position: relative;
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-mauve);
  transition: transform 0.3s var(--ease-out);
}
.voice-card__toggle-icon::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -68%) rotate(45deg);
}
.voice-card__toggle[aria-expanded="true"] .voice-card__toggle-icon {
  transform: rotate(180deg);
}

/* ---------- 実績（achievement） ---------- */
.achievement{
  padding: 0 0 clamp(60px, 7vw, 100px);
}
/* 「実績」見出しは利用者の声と同サイズ・同フォント */
.achievement .sec-heading {
  font-family: var(--font-zen);
  font-weight: 900;
  font-size: clamp(22px, 2.2vw, 32px);
}
.achievement__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
  padding: 8px clamp(20px, 4vw, 64px) 0;
}
.achievement__grid--4{
  grid-template-columns: repeat(4, 1fr);
}
.achievement__slider{
  padding: 8px clamp(20px, 4vw, 64px) 0;
}
/* PC静的グリッド（is-static付与時）*/
.achievement__slider.is-static .splide__track{
  overflow: visible;
}
.achievement__slider.is-static, .achievement__slider.is-static .splide__list, .achievement__slider.is-static .splide__slide{
  visibility: visible !important;
}
.achievement__slider.is-static .splide__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
}
.achievement-card {
  background: #fff; /* bd_comp.jpg 準拠：カード背景は白 */
  border-radius: 18px;
  overflow: hidden;
}
/* スライダー内では高さを揃える（fixedHeightのスライドいっぱいにカードを広げる） */
.achievement__slider .splide__slide{
  display: flex;
  height: 100%;
}
.achievement__slider .splide__slide .achievement-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
/* 画像帯はカード高さの約64%（bd_comp.jpg準拠）、残りがタイトル帯 */
.achievement-card__img {
  flex: 0 0 64%;
  overflow: hidden;
}
.achievement-card__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.achievement-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(16px, 1.4vw, 24px);
}
.achievement-card__title {
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 0;
}
.achievement-card__text {
  font-size: clamp(11px, 0.8vw, 13px);
  line-height: 1.9;
  color: var(--color-text-sub);
}
/* BD専用: 画像なし・グレー枠（スクリーンショット「画像などがあれば挿入」状態） */
.achievement-card--no-img .achievement-card__img {
  background: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #888;
}

/* ---------- 実績 Flow ---------- */
/* Splide ページネーション色 */
.splide__pagination__page{
  background: rgba(52, 46, 46, 0.25);
}
.splide__pagination__page.is-active{
  background: var(--color-mauve);
  transform: scale(1.3);
}

/* ---------- Flow（Flow_PC.jpg 準拠） ---------- */
.flow-section{
  padding: clamp(40px, 5vw, 80px) 1.4vw;
}
.flow {
  position: relative;
  background: var(--color-card);
  border-radius: 32px;
  padding: clamp(40px, 5vw, 90px) clamp(24px, 5vw, 90px);
}
.flow__title {
  font-family: var(--font-din);
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: 700;
  margin-bottom: clamp(24px, 3vw, 48px);
}
/* PC : 4ステップを横並び（静的）
   ※ Splide未mount時、Splide CSSが list/slide を visibility:hidden にするため明示的に可視化 */
.flow__slider.is-static .splide__track{
  overflow: visible;
}
.flow__slider.is-static, .flow__slider.is-static .splide__list, .flow__slider.is-static .splide__slide{
  visibility: visible !important;
}
.flow__slider.is-static .splide__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3.6vw, 60px);
  transform: none !important;
}
.flow__slider.is-static .splide__slide {
  position: relative;
  width: auto !important;
  margin: 0 !important;
}
/* ステップ間：矢印のみ（縦線なし）位置はJSで制御 */
.flow__slider.is-static .splide__slide:not(:first-child)::after {
  content: "";
  position: absolute;
  left: calc(clamp(28px, 3.6vw, 60px) / -2);
  transform: translateX(-50%) translateY(-50%);
  top: var(--arrow-top, 40%);
  border-style: solid;
  border-width: 9px 0 9px 13px;
  border-color: transparent transparent transparent var(--color-text);
}
.flow-step__num {
  display: block;
  font-family: var(--font-din);
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 700;
  color: #C9C4C1;
  margin-bottom: 16px;
  line-height: 1;
}
.flow-step__img {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
}
.flow-step__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* タイトル：黒背景・白文字ラベル */
.flow-step__label {
  display: inline-block;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
  color: #fff;
  background: var(--color-text);
  padding: 8px 16px;
  line-height: 1.4;
}
.flow-step__label strong{
  font-weight: 700;
}
.flow-step__note {
  font-size: clamp(11px, 0.85vw, 13px);
  color: var(--color-text-sub);
  margin-top: 10px;
}

/* ---------- Q&A ---------- */
/* qa_pc.png / qa_sp.png 準拠 */
.qa-section{
  padding: clamp(50px, 6vw, 100px) 5vw;
}
.qa{
  max-width: 1100px; margin: 0 auto;
}
.qa__title {
  font-family: var(--font-din-alt) !important; /* ArchivoのQはDIN Proに近い字形 */
  font-weight: 700 !important;
  font-size: clamp(48px, 6.5vw, 104px);
  line-height: 1;
  margin-bottom: clamp(28px, 3vw, 48px);
}
.qa__list{
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.qa-item {
  border-bottom: 1px solid rgba(52, 46, 46, 0.3);
}
/* 質問行：Q1.（上）と質問文（下）の縦積み、右にアイコン */
.qa-item__q {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "mark icon"
    "text icon";
  column-gap: 18px;
  row-gap: 4px;
  align-items: center;
  padding: 16px 0 18px;
  text-align: left;
  cursor: pointer;
}
.qa-item__qmark {
  grid-area: mark;
  font-family: var(--font-din-alt);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 600;
  color: var(--color-text-sub);
}
.qa-item__qtext {
  grid-area: text;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
}
/* 開閉アイコン（黒丸＋下向きシェブロン。開くと180度回転） */
.qa-item__icon {
  grid-area: icon;
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-text);
  transition: transform 0.3s var(--ease-out);
}
.qa-item__icon::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -68%) rotate(45deg);
}
.qa-item__icon::after{
  content: none;
}
.qa-item__q[aria-expanded="true"] .qa-item__icon{
  transform: rotate(180deg);
}
/* 回答：高さ0→autoのアコーディオン（grid-template-rowsで滑らかに） */
.qa-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}
.qa-item__a.is-open{
  grid-template-rows: 1fr;
}
.qa-item__a-inner {
  overflow: hidden;
  display: block; /* A.（上）と回答文（下）の縦積み */
}
.qa-item__a-inner > *{
  min-height: 0;
}
.qa-item__amark {
  display: block;
  font-family: var(--font-din-alt);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 600;
  color: var(--color-h);
  margin-bottom: 4px;
}
.qa-item__atext {
  font-size: clamp(13px, 1vw, 16px); /* qtextと同一サイズ */
  line-height: 2;
  padding-bottom: 18px;
}

/* PC: カンプ準拠の2カラム（左にQ&Aタイトル、右にリスト） */
@media (min-width: 768px) {
  .qa-section{
    padding: clamp(50px, 6vw, 100px) 8.5vw;
  }
  .qa {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(180px, 26.8%) 1fr;
    column-gap: 2vw;
    align-items: start;
  }
  .qa__title{
    margin-bottom: 0;
  }
}

/* ==========================================================
   下層ページ SP
   ========================================================== */
/* ===== Features タブレット以下：スライダー表示（カード高さ内容追従・テキスト全文表示） ===== */
@media (max-width: 1024px) {
  .features__slider{
    padding: 0;
  }
  .features__slider .splide__slide,
  .features__slider .splide__slide .feature-card{
    height: auto;
  }
  .features__slider .feature-card__img {
    flex: 0 0 auto;
    height: auto;
    aspect-ratio: 600 / 322;
  }
  .features__slider .feature-card__body{
    flex: 0 0 auto; padding: clamp(16px, 2.4vw, 20px);
  }
}

@media (max-width: 767px) {
  .lhero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "visual"
      "lead";
    gap: 0;
    min-height: auto;
    padding: 90px 20px 40px;
  }
  .lhero__title{
    font-size: 42px;
  }
  /* visual を正方形に（横幅・上端位置は維持） */
  .lhero__visual{
    width: 100%; aspect-ratio: 1 / 1; justify-self: stretch; margin: 24px 0;
  }
  .lhero__lead{
    width: 100%; max-width: none; justify-self: stretch; margin-top: 0;
  }
  .lhero__lead p{
    font-size: 13px;
  }
  .lhero__scroll{
    display: none;
  }

  /* CompanyOverview SP: head左・visual右（page-ppと同じ幅） */
  .page-co .lhero {
    grid-template-columns: 2fr 1.56fr;  /* page-ppと同じ幅 */
    grid-template-areas:
      "head   visual"
      "lead   visual";
    padding: 90px 0 40px 20px;
    gap: 0;
    border-bottom: none;
  }
  .page-co .lhero__visual {
    aspect-ratio: auto;
    width: 100%;
    min-height: 100vw;   /* 縦長（指定通り） */
    margin: 0;
    align-self: stretch;
    border-radius: 0;    /* 角丸なし */
  }
  .sec-heading{
    font-size: 11vw;
  }

  /* 利用者の声SP: スライダー左右余白リセット */
  .voice__slider{
    padding: 0;
  }
  /* SP : 矢印はやや小さめ、カードの見切れ部分に重ねる */
  .voice__slider .splide__arrow{
    width: 38px;
    height: 38px;
  }
  .voice__slider .splide__arrow svg{
    width: 13px;
    height: 13px;
  }
  .voice__slider .splide__arrow--prev{
    left: 6px;
  }
  .voice__slider .splide__arrow--next{
    right: 6px;
  }

  /* ===== 利用者の声 SP：白カード・中央主役・両隣見切れ ===== */
  .voice-card__name{
    font-size: 16px;
  }
  .voice-card__text{
    font-size: 13px;
  }

  /* ===== Flow SP（slide_SP.jpg）：画像角丸＋黒ラベル＋縦線/三角矢印 ===== */
  .flow-section{
    padding: 30px 12px;
  }
  .flow{
    padding: 36px 16px; border-radius: 24px;
  }
  .flow__title{
    font-size: 11vw;
  }
  .flow-step{
    position: relative;
  }
  .flow-step__num{
    font-size: 30px; color: #C9C4C1; margin-bottom: 14px;
  }
  .flow-step__img{
    aspect-ratio: 1 / 1; border-radius: 16px; margin-bottom: 16px;
  }
  .flow-step__label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--color-text);
    padding: 8px 16px;
    border-left: none;
  }
  .flow-step__note{
    font-size: 11px; margin-top: 8px;
  }
  /* ===== Flow SP：矢印のみ（縦線なし）位置はJSで .flow-step__img の中央に合わせる ===== */
  .flow__slider .splide__slide{
    position: relative;
  }
  .flow__slider .splide__slide:not(.splide__slide--clone)::after {
    content: "";
    position: absolute;
    right: -1rem; /* gap(2rem)の中央 */
    top: var(--arrow-top, 40%);
    transform: translateY(-50%);
    border-style: solid;
    border-width: 9px 0 9px 13px;
    border-color: transparent transparent transparent var(--color-text);
  }

  .qa-section{
    padding: 50px 16px;
  }
  .qa__title{
    font-size: 15vw;
  }
  .qa-item__qtext{
    font-size: 14px;
  }
  .qa-item__atext{
    font-size: 14px;
  } /* qtextと同一サイズ */

  /* ===== 実績 SP ===== */
  .achievement__slider{
    padding: 8px 0 0;
  }
  .achievement__grid{
    grid-template-columns: 1fr; padding: 0 16px;
  }
  .achievement__grid--4{
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   お問い合わせフォーム（Contact_PC.jpg / Contact_SP.jpg 準拠）
   ========================================================== */
.contact-form-section {
  padding: clamp(28px, 3.5vw, 56px) clamp(40px, 8vw, 150px) clamp(60px, 8vw, 120px);
}
.cform__lead {
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 2.1;
  margin-bottom: clamp(28px, 3vw, 44px);
}
.cform__hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cform__field{
  margin-bottom: clamp(20px, 2.2vw, 32px);
}
.cform__label {
  display: block;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-mauve);
  margin-bottom: 10px;
}
.cform__req{
  color: #CE4E73;
}
.cform input[type="text"],
.cform input[type="tel"],
.cform input[type="email"],
.cform select,
.cform textarea {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 15px 16px;
  font-family: var(--font-zen);
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: 0.06em;
  color: var(--color-text);
}
.cform input::placeholder,
.cform textarea::placeholder{
  color: rgba(163, 149, 148, 0.75);
}
.cform select:invalid{
  color: rgba(163, 149, 148, 0.75);
} /* 未選択時はプレースホルダー色 */
.cform input:focus,
.cform select:focus,
.cform textarea:focus {
  outline: none;
  border-color: var(--color-mauve);
}
/* セレクト（右端に上下キャレット） */
.cform__select{
  position: relative;
}
.cform__select select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 44px;
}
.cform__select::after {
  content: "\25B4\A\25BE"; /* ▴ ▾ */
  white-space: pre;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  line-height: 1.1;
  color: var(--color-text-sub);
  pointer-events: none;
  text-align: center;
}
.cform textarea {
  min-height: clamp(220px, 17vw, 250px);
  resize: vertical;
}
/* エラー表示 */
.cform__error {
  display: none;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #CE4E73;
  margin-top: 8px;
}
.cform__field.is-error .cform__error{
  display: block;
}
.cform__field.is-error input, .cform__field.is-error select, .cform__field.is-error textarea{
  border-color: #CE4E73;
}
.cform__error--send {
  display: block;
  margin-bottom: clamp(20px, 2.2vw, 32px);
}
/* 送信ボタン */
.cform__submit {
  display: block;
  width: min(100%, 320px);
  margin: clamp(32px, 3.4vw, 52px) auto 0;
  padding: 17px 10px;
  background: var(--color-mauve);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: var(--font-zen);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.cform__submit:hover{
  opacity: 0.82;
}
.cform__submit:disabled{
  opacity: 0.6;
  cursor: default;
}
/* 内容確認ページ */
.cform-confirm {
  margin: 0 0 clamp(28px, 3vw, 44px);
}
.cform-confirm__row {
  padding: clamp(16px, 1.6vw, 22px) 0;
  border-bottom: 1px solid rgba(52, 46, 46, 0.18);
}
.cform-confirm__row:first-child{
  border-top: 1px solid rgba(52, 46, 46, 0.18);
}
.cform-confirm__label {
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-mauve);
  margin-bottom: 6px;
}
.cform-confirm__value {
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: 0.06em;
  line-height: 1.9;
  overflow-wrap: anywhere; /* 長いメールアドレス等の折返し */
}
.cform-confirm__value--multiline{
  line-height: 2;
}
.cform-confirm__errors {
  list-style: none;
  margin-bottom: clamp(20px, 2.2vw, 32px);
}
.cform-confirm__errors .cform__error--send{
  margin-bottom: 6px;
}
/* 確認ページのボタン群（修正する / 送信する） */
.cform-confirm__actions {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 24px);
  flex-wrap: wrap;
  margin-top: clamp(32px, 3.4vw, 52px);
}
.cform-confirm__actions form{
  flex: 0 1 auto;
}
.cform-confirm__actions .cform__submit{
  margin: 0;
  width: 260px;
  max-width: 100%;
}
.cform__submit--back {
  background: transparent;
  color: var(--color-mauve);
  border: 1px solid var(--color-mauve);
}
.cform__submit--back:hover{
  opacity: 1;
  background: rgba(163, 149, 148, 0.12);
}

/* 送信完了 */
.cform-done{
  padding-top: clamp(8px, 1vw, 16px);
}
.cform-done__title {
  font-size: clamp(18px, 1.6vw, 26px); /* .news-detail__title と同一 */
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  padding-bottom: clamp(16px, 1.8vw, 26px);
  margin-bottom: clamp(20px, 2.2vw, 32px);
  border-bottom: 1px solid rgba(52, 46, 46, 0.24);
}
.cform-done__text {
  font-size: clamp(13px, 1vw, 15px); /* .news-detail__body と同一 */
  line-height: 2.2;
  margin-bottom: clamp(32px, 3.4vw, 52px);
}

/* ==========================================================
   Company Overview
   ========================================================== */

/* 会社情報テーブル */
.company-table-section {
  /* CO_PC.jpg準拠：タイトル直下からテーブル開始（右のvisualと並走） */
  padding: clamp(20px, 2.5vw, 40px) clamp(40px, 8vw, 150px) clamp(50px, 6vw, 100px);
  /* 横幅制限はPC用メディアクエリ側（.company-table の max-width）で news-detail と同一基準に統一。
     ※無スコープの max-width はSP側の max-width:100% を後勝ちで潰すため置かないこと */
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr {
  border-top: 1px solid rgba(52, 46, 46, 0.15);
}
.company-table tr:last-child {
  border-bottom: 1px solid rgba(52, 46, 46, 0.15);
}
.company-table th {
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 500;
  color: var(--color-text-sub);
  text-align: left;
  vertical-align: top;
  padding: clamp(18px, 2vw, 28px) clamp(16px, 2vw, 32px) clamp(18px, 2vw, 28px) 0;
  white-space: nowrap;
  width: 7em;
}
.company-table td {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.9;
  vertical-align: top;
  padding: clamp(18px, 2vw, 28px) 0;
}
.company-table td .td-name {
  font-weight: 700;
  display: block;
  margin-bottom: 0.2em;
}
.company-table td .td-note {
  font-size: clamp(11px, 0.85vw, 13px);
  color: var(--color-text-sub);
  display: block;
  margin-bottom: 0.3em;
}

@media (max-width: 767px) {
  /* SP: 横幅を news-content と同じに（左右20px、罫線も20px内側）
     ※基底 .company-table-section より後に置くこと（前に置くと後勝ちで無効化される） */
  .company-table-section {
    padding: 32px 20px;
    max-width: 100%;
    width: 100%;
  }
  /* SP: お問い合わせフォーム（Contact_SP.jpg準拠） */
  .contact-form-section{
    padding: 40px 20px 64px;
  }
  .cform__lead{
    font-size: 13px; line-height: 2.05;
  }
  .cform__label{
    font-size: 13px;
  }
  .cform input[type="text"],
  .cform input[type="tel"],
  .cform input[type="email"],
  .cform select,
  .cform textarea{
    font-size: 16px; padding: 14px 14px;
  } /* 16px未満だとiOSでフォーカス時に自動ズームされるため16px */
  .cform textarea{
    min-height: 300px;
  }
  .cform__submit{
    width: min(100%, 320px); padding: 16px 10px; font-size: 15px;
  }
  .cform-confirm__actions{
    flex-direction: column; align-items: center;
  }
  .cform-confirm__actions form{
    width: 100%; display: flex; justify-content: center;
  }
  .cform-done__title{
    font-size: 17px;
  }
  .cform-done__text{
    font-size: 13px;
  }
  .company-table{
    max-width: none;
  }
  .company-table th{
    font-size: 12px; width: 5.5em; padding-right: 12px;
  }
  .company-table td{
    font-size: 13px;
  }
}

/* ==========================================================
   Privacy Policy
   ========================================================== */
/* PC/SP共通：左コンテンツ＋右画像sticky の2カラムレイアウト */
/* ==========================================================
   Privacy Policy — lhero共通構造 + 条文セクション
   ========================================================== */
/* page-pp の lhero は page-co と同じ（上の共通ルールで定義済み） */
/* 条文エリア：タイトル直下50px・visual横幅に被らない・border-top/bottom なし */
.policy-body {
  padding: 50px clamp(40px, 8vw, 150px) clamp(50px, 6vw, 90px);
  /* 横幅制限はPC用メディアクエリ側（.policy-body > *）で news-detail と同一基準に統一 */
}
.policy-item{
  margin-bottom: clamp(24px, 3vw, 40px);
}
.policy-item__heading {
  font-size: clamp(18px, 1.6vw, 26px); /* .news-detail__title と同一 */
  font-weight: 700;
  margin-bottom: 0.7em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid rgba(52, 46, 46, 0.15);
}
/* ポリシー前文（見出しなしの導入段落） */
.policy-intro{
  margin-bottom: clamp(24px, 2.6vw, 40px);
}
.policy-item__text {
  font-size: clamp(13px, 1vw, 15px); /* .news-detail__body と同一 */
  line-height: 2;
  color: var(--color-text);
}

@media (max-width: 767px) {
  /* page-pp SP: page-coと同一レイアウト */
  .page-pp .lhero {
    grid-template-columns: 2fr 1.56fr;  /* 1.3 × 1.2 = 1.56（1.2倍） */
    grid-template-areas:
      "head   visual"
      "lead   visual";
    padding: 90px 0 40px 20px;
    gap: 0;
    border-bottom: none; /* SP: border-bottomなし */
  }
  .page-pp .lhero__visual {
    aspect-ratio: auto;
    width: 100%;
    min-height: 100vw;
    margin: 0;
    align-self: stretch;
    border-radius: 0;
  }
  /* policy-body SP: lheroの下に通常フロー・border-top/bottom なし */
  .policy-body {
    padding: 32px 20px;
    max-width: 100%;
    /* border-top/bottom なし */
  }
  .policy-item__heading{
    font-size: 17px;
  } /* .news-detail__title SPと同一 */
  .policy-item__text{
    font-size: 13px;
  }    /* .news-detail__body SPと同一 */
}