/*
Theme Name: 株式会社オルタンシア
Theme URI: https://orcansia.com/
Author: ORCANSIA
Description: 株式会社オルタンシア コーポレートサイト。精神科・高齢福祉領域の包括支援（見守り住居・訪問介護・訪問看護・居宅介護支援・身元保証）。紫陽花由来の青紫グラデーション。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: orcansia
*/
/* ============================================================
   _setup … 変数・ミックスイン・リセット・基本・共通コンポーネント
   ============================================================ */
/* ---- ブレイクポイント / ミックスイン ---- */
/* ---- カラー / フォント（CSSカスタムプロパティ） ---- */
:root {
  --deep: #2e3658;
  --navy: #3e4a82;
  --main: #5a6aa0;
  --fuji: #8e84bc;
  --mauve: #c58bab;
  --ink: #3b3a45;
  --sub: #6f6e7b;
  --base: #fbfafc;
  --white: #ffffff;
  --surf1: #f4f1f9;
  --surf2: #eaf0f8;
  --surf3: #f7eef3;
  --line: #e7e2ef;
  --disp: "Zen Kaku Gothic New", sans-serif;
  --body: "Noto Sans JP", sans-serif;
  --util: "Jost", sans-serif;
  --mark: url("img/mark.png"); /* ACFの紫陽花マーク画像があれば header で上書き */
}

/* ---- リセット / 基本 ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--base);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto; /* width/height属性付き画像(WP本文・アイキャッチ)の縦伸び防止。height指定の画像は各所で上書き */
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
.lead {
  text-wrap: pretty;
}

.nb {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .nb {
    white-space: normal;
  }
}

/* 改行ユーティリティ：br_sp=スマホ(≤600px)のみ改行 / br_pc=PC・タブレットのみ改行 */
.br_sp {
  display: none;
}

.br_pc {
  display: inline;
}

@media (max-width: 600px) {
  .br_sp {
    display: inline;
  }
  .br_pc {
    display: none;
  }
}
svg.fl {
  fill: currentColor;
}
svg.ar, svg.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- レイアウト ---- */
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 600px) {
  .wrap {
    padding: 0 20px;
  }
}
@media (max-width: 400px) {
  .wrap {
    padding: 0 16px;
  }
}

.section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px);
}
.section > .wrap {
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .section {
    padding-block: clamp(46px, 11vw, 72px);
  }
}

.sec--soft {
  background: var(--surf1);
}

.sec--blue {
  background: var(--surf2);
}

/* ---- 背景の紫陽花マーク装飾 ---- */
.deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  aspect-ratio: 360/276;
  background: var(--mark) center/contain no-repeat;
  opacity: 0.15;
}
.deco.dk {
  opacity: 0.22;
}
.deco.lt {
  filter: brightness(0) invert(1);
  opacity: 0.2;
}

/* ---- 見出し共通 ---- */
.kicker {
  font-family: var(--util);
  font-size: 12.5px;
  letter-spacing: 0.26em;
  color: var(--mauve);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 500;
}
.kicker .fl {
  width: 15px;
  height: 15px;
  color: var(--fuji);
}

.title {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  background: linear-gradient(100deg, #5b7ec0 0%, #8c6fb6 50%, #cb83ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead {
  color: var(--sub);
  font-size: clamp(0.96rem, 1.6vw, 1.06rem);
  line-height: 2.05;
}

.sec-head {
  max-width: 760px;
  margin-bottom: 46px;
}
.sec-head.center {
  text-align: center;
  margin-inline: auto;
}
.sec-head.center .kicker {
  justify-content: center;
}
.sec-head .lead {
  margin-top: 16px;
}
@media (max-width: 600px) {
  .sec-head {
    margin-bottom: 30px;
  }
  .sec-head .lead {
    font-size: 0.98rem;
  }
}

/* ---- ボタン ---- */
.btn {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 15px;
  padding: 15px 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.25s, color 0.25s, transform 0.15s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn .ar,
.btn .ph {
  width: 18px;
  height: 18px;
}
.btn .ph {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 600px) {
  .btn {
    padding: 14px 24px;
    font-size: 14.5px;
  }
}

.btn--primary {
  background: var(--main);
  color: #fff;
  box-shadow: 0 10px 26px rgba(90, 106, 160, 0.28);
}
.btn--primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

.btn--ghost {
  background: #fff;
  border-color: #c9c2de;
  color: var(--main);
}
.btn--ghost:hover {
  border-color: var(--main);
  background: var(--surf2);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width: 600px) {
  .cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- 共通CTAバンド ---- */
.cta-band {
  background: var(--main);
  position: relative;
  overflow: hidden;
}
.cta-band .wrap {
  position: relative;
  z-index: 2;
  padding-block: clamp(54px, 7vw, 84px);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--disp);
  font-weight: 700;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  line-height: 1.5;
  text-wrap: balance;
}
.cta-band p {
  color: #e6e9f5;
  font-size: 1rem;
  margin: 0 auto 32px;
  max-width: 560px;
  line-height: 1.9;
}
.cta-band .cta {
  justify-content: center;
}
.cta-band .deco {
  z-index: 1;
}
.cta-band .btn--primary {
  background: #fff;
  color: var(--main);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}
.cta-band .btn--primary:hover {
  background: var(--surf1);
}
.cta-band .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.cta-band .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ---- スクロールリビール ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1), filter 0.7s ease, clip-path 0.8s ease;
  /* バリアント（初期オフセット）を先に定義 */
}
.reveal.rv-left {
  transform: translateX(-46px);
}
.reveal.rv-right {
  transform: translateX(46px);
}
.reveal.rv-scale {
  transform: scale(0.92);
}
.reveal.rv-blur {
  filter: blur(12px);
  transform: translateY(14px);
}
.reveal.rv-clip {
  clip-path: inset(0 0 100% 0);
}
.reveal {
  /* 表示時のリセットは“後”に置いて必ず上書きする（同詳細度=後勝ち） */
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}
.reveal.rv-clip.in {
  clip-path: inset(0 0 0 0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.16, 0.84, 0.44, 1);
}
.stagger.in > * {
  opacity: 1;
  transform: none;
}
.stagger.in > *:nth-child(1) {
  transition-delay: 0.05s;
}
.stagger.in > *:nth-child(2) {
  transition-delay: 0.12s;
}
.stagger.in > *:nth-child(3) {
  transition-delay: 0.19s;
}
.stagger.in > *:nth-child(4) {
  transition-delay: 0.26s;
}
.stagger.in > *:nth-child(5) {
  transition-delay: 0.33s;
}
.stagger.in > *:nth-child(6) {
  transition-delay: 0.4s;
}
.stagger.in > *:nth-child(7) {
  transition-delay: 0.47s;
}
.stagger.in > *:nth-child(8) {
  transition-delay: 0.54s;
}
.stagger.in > *:nth-child(9) {
  transition-delay: 0.61s;
}
.stagger.in > *:nth-child(10) {
  transition-delay: 0.68s;
}

/* ---- トップへ戻る ---- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--main);
  color: #fff;
  border: none;
  box-shadow: 0 10px 26px rgba(90, 106, 160, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.25s;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--navy);
  transform: translateY(-2px);
}
.to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 600px) {
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}

/* ---- その他共通 ---- */
[id] {
  scroll-margin-top: 84px;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

:focus-visible {
  outline: 3px solid var(--fuji);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .scroll-cue span {
    animation: none;
  }
  * {
    transition: none !important;
  }
}
/* ============================================================
   _header … グローバルヘッダー
   ============================================================ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hdr.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(62, 74, 130, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand img {
  height: 64px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 3px;
}
.menu > a {
  font-family: var(--disp);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s, background 0.2s;
  padding: 8px 13px;
  border-radius: 9px;
  white-space: nowrap;
}
.menu > a:hover {
  color: var(--main);
  background: var(--surf2);
}
.menu > a[aria-current] {
  color: var(--main);
  background: var(--surf1);
}
.menu > a.nav-cta {
  background: var(--main);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(90, 106, 160, 0.28);
}
.menu > a.nav-cta:hover {
  background: var(--navy);
  color: #fff;
}
.menu > a.nav-cta[aria-current] {
  background: var(--navy);
  color: #fff;
}

.hamb {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 46px;
  height: 42px;
  cursor: pointer;
  color: var(--main);
}
.hamb svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 860px) {
  .hamb {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .menu {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(62, 74, 130, 0.1);
    z-index: 75; /* スティッキーヘッダー(80)の下＝バー直下に展開しバーへ重ならない */
    align-items: stretch;
    max-height: calc(100svh - 74px);
    overflow-y: auto;
    /* バー直下から下方向へなめらかにアンロール（ヘッダー上を横切らない） */
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: opacity 0.3s ease, clip-path 0.44s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.44s;
  }
  .menu.open {
    opacity: 1;
    visibility: visible;
    clip-path: inset(0 0 0 0);
  }
  .menu > a {
    padding: 15px 28px;
    border-bottom: 1px solid var(--surf1);
    border-radius: 0;
  }
  .menu > a.nav-cta {
    margin: 14px 24px 8px;
    text-align: center;
    justify-content: center;
    border-bottom: none;
  }
}
/* ============================================================
   _footer … グローバルフッター
   ============================================================ */
.ft {
  background: var(--surf1);
  border-top: 1px solid var(--line);
  padding-block: 58px 26px;
  position: relative;
  overflow: hidden;
}
.ft .wrap {
  position: relative;
  z-index: 1;
}

.ft-top {
  display: grid;
  grid-template-columns: 1fr 1.85fr; /* 施設エリアを広げて3列でも名称が入るように */
  gap: 48px;
  margin-bottom: 44px;
}
@media (max-width: 860px) {
  .ft-top {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

.ft-brand img {
  height: 70px;
  margin-bottom: 18px;
}

.ft-name {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.ft-tag {
  font-family: var(--disp);
  font-weight: 500;
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.ft-info {
  color: var(--sub);
  font-size: 0.9rem;
  line-height: 1.95;
}
.ft-info a:hover {
  color: var(--main);
}

.ft-fac-h {
  font-family: var(--util);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--main);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}

.fac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3×2レイアウト */
  gap: 18px 22px;
}
@media (max-width: 980px) {
  .fac-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .fac-grid {
    grid-template-columns: 1fr;
  }
}

.fac .fn {
  font-family: var(--disp);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap; /* 入りきらない場合は英字を次行へ（名称の途中改行を避ける） */
  gap: 1px 7px;
  margin-bottom: 4px;
}
.fac .en {
  font-family: var(--util);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fuji);
}
.fac .fa {
  color: var(--sub);
  font-size: 0.84rem;
  line-height: 1.6;
}

.ft-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
@media (max-width: 860px) {
  .ft-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ft-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.ft-nav a {
  font-family: var(--disp);
  font-size: 13px;
  color: var(--sub);
}
.ft-nav a:hover {
  color: var(--main);
}

.copy {
  font-family: var(--util);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--sub);
}

/* ============================================================
   _front-page … TOPページ専用セクション
   ============================================================ */
/* 見出しグラデーション拡張 */
.split h3.lead-h,
.mission-close {
  background: linear-gradient(100deg, #5b7ec0 0%, #8c6fb6 50%, #cb83ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 820px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
@media (max-width: 600px) {
  .hero {
    min-height: 80svh;
  }
}
.hero .wrap {
  position: relative;
  z-index: 2;
  padding-block: 120px;
}
@media (max-width: 600px) {
  .hero .wrap {
    padding-block: 86px;
  }
}
.hero .kicker {
  color: #d9cfe6;
}
.hero .kicker .fl {
  color: #c7b6d8;
}
.hero h1 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(2.05rem, 5.6vw, 3.55rem);
  line-height: 1.42;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(20, 24, 48, 0.3);
  text-wrap: balance;
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(1.72rem, 6.4vw, 2.35rem);
  }
}
.hero .lead {
  color: #ebe7f2;
  max-width: 600px;
  margin-bottom: 38px;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 2;
}
.hero .btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-bg img:first-child {
  object-position: bottom;
}
.hero-bg img {
  /* ヒーロー1枚目だけ下寄せ */
}
.hero-bg .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08); /* 待機＝ズーム終端と一致させ、切替時のスナップを防止 */
  transition: opacity 1.6s ease;
  will-change: opacity, transform;
}
.hero-bg .slide.active {
  opacity: 1;
  animation: heroKenburns 6s ease-out forwards; /* ゆっくりズームイン */
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(36, 42, 72, 0.82) 0%, rgba(46, 54, 88, 0.62) 42%, rgba(90, 106, 160, 0.42) 100%);
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  right: 28px;
  z-index: 3;
  display: flex;
  gap: 9px;
}
.hero-dots b {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.3s, width 0.3s;
  cursor: default;
}
.hero-dots b.on {
  background: #fff;
  width: 22px;
  border-radius: 5px;
}

.hero-deco {
  position: absolute;
  right: -40px;
  bottom: -26px;
  width: 360px;
  height: auto;
  opacity: 0.26;
  z-index: 1;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--util);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue span {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.5);
  animation: cue 2s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}
@keyframes heroKenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08); /* 待機 .slide の scale と必ず一致させること */
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg .slide {
    animation: none !important;
    transform: none !important;
  }
}
/* ---------- 社会課題 ---------- */
.issues {
  background: var(--deep);
  color: #edeaf4;
}
.issues .kicker {
  color: var(--mauve);
}
.issues .kicker .fl {
  color: #a99bc4;
}
.issues .title {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}
.issues .sec-head .lead {
  color: #b9b5ce;
}

.ig {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .ig {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .ig {
    grid-template-columns: 1fr;
  }
}

.icard {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 30px 26px;
}
.icard .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.icard .ico {
  width: 28px;
  height: 28px;
  color: #c7b6d8;
}
.icard .n {
  font-family: var(--util);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #8f88ae;
}
.icard h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
.icard p {
  color: #b9b5ce;
  font-size: 0.9rem;
  line-height: 1.85;
}

/* ---------- 私たちの想い ---------- */
.mg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 980px) {
  .mg {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .mg {
    grid-template-columns: 1fr;
  }
}

.mcell {
  background: #fff;
  padding: 32px 28px;
}
.mcell .top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.mcell .ico {
  width: 24px;
  height: 24px;
  color: var(--fuji);
}
.mcell .en {
  font-family: var(--util);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--mauve);
  text-transform: uppercase;
}
.mcell h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.mcell p {
  color: var(--sub);
  font-size: 0.92rem;
  line-height: 1.85;
}

.mission-close {
  text-align: center;
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  letter-spacing: 0.03em;
  margin-top: 48px;
  line-height: 1.55;
  text-wrap: balance;
}
.mission-close em {
  font-style: normal;
  color: var(--fuji);
  -webkit-text-fill-color: var(--fuji);
}

.genesis {
  max-width: 760px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--sub);
  font-size: 1rem;
  line-height: 2.05;
}

/* 企業理念（大きく・目立つ配色：ブランドグラデ背景＋白文字） */
.creed {
  max-width: 900px;
  margin: 4px auto 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: clamp(40px, 6vw, 64px) clamp(26px, 5vw, 56px);
  background: linear-gradient(120deg, #3e4a82 0%, #5a6aa0 42%, #8e84bc 80%, #c58bab 100%);
  box-shadow: 0 24px 56px rgba(62, 74, 130, 0.28);
  /* 背景の紫陽花マークをうっすら */
}
.creed::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 260px;
  aspect-ratio: 360/276;
  background: var(--mark) center/contain no-repeat;
  opacity: 0.12;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.creed .creed-label {
  position: relative;
  font-family: var(--util);
  font-size: 12.5px;
  letter-spacing: 0.24em;
  color: #fff;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(2px);
}
.creed .creed-text {
  position: relative;
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.6vw, 2.25rem);
  line-height: 1.65;
  letter-spacing: 0.03em;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 18px rgba(20, 24, 48, 0.25);
}

/* ---------- 代表メッセージ ---------- */
.msg {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}

.msg-lead {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.6vw, 2.4rem);
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin: 14px 0 28px;
  background: linear-gradient(100deg, #5b7ec0, #8c6fb6 50%, #cb83ad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}

.msg-body p {
  color: var(--ink);
  line-height: 2.05;
  font-size: 1.01rem;
  margin-bottom: 18px;
  opacity: 0.92;
}
.msg-body p:last-child {
  margin-bottom: 0;
}

.msg-sign {
  margin-top: 36px;
  text-align: right;
}
.msg-sign .role {
  display: block;
  font-family: var(--util);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--sub);
  margin-bottom: 8px;
}
.msg-sign .nm {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: 0.1em;
}

/* ---------- 一気通貫（blueprint） ---------- */
.bp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 8px;
}
@media (max-width: 980px) {
  .bp {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }
}
@media (max-width: 600px) {
  .bp {
    grid-template-columns: 1fr;
  }
}

.bp-line {
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, #9eb3c7, #b7a3bc, #d7c4d0);
  z-index: 0;
}
@media (max-width: 980px) {
  .bp-line {
    display: none;
  }
}

.bp-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 14px;
}
.bp-step:nth-child(3) .bp-dot {
  color: var(--fuji);
}
.bp-step:nth-child(4) .bp-dot {
  color: var(--mauve);
}
.bp-step .en {
  font-family: var(--util);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mauve);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bp-step h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.06rem;
  margin-bottom: 10px;
}
.bp-step p {
  color: var(--sub);
  font-size: 0.86rem;
  line-height: 1.8;
}

.bp-dot {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--main);
}
.bp-dot .ico {
  width: 32px;
  height: 32px;
}

/* ---------- 5つの事業（bloom） ---------- */
.bloom {
  position: relative;
  max-width: 640px;
  margin: 6px auto 56px;
  aspect-ratio: 1;
}
@media (max-width: 860px) {
  .bloom {
    aspect-ratio: auto;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}

.bloom-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
@media (max-width: 860px) {
  .bloom-svg {
    display: none;
  }
}
.bloom-svg .spoke,
.bloom-svg .edge {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.bnode {
  position: absolute;
  width: 154px;
  height: 154px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(62, 74, 130, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  z-index: 1;
  transition: transform 0.25s, box-shadow 0.25s;
}
.bnode:hover {
  box-shadow: 0 18px 40px rgba(62, 74, 130, 0.18);
  transform: translate(-50%, -50%) scale(1.04);
}
.bnode .ico {
  width: 27px;
  height: 27px;
  color: var(--main);
  margin-bottom: 6px;
}
.bnode:nth-of-type(odd) .ico {
  color: var(--fuji);
}
.bnode .bl {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.96rem;
  line-height: 1.3;
}
.bnode .btag {
  font-family: var(--body);
  font-size: 0.68rem;
  color: var(--sub);
  line-height: 1.45;
  margin-top: 5px;
}
@media (max-width: 860px) {
  .bnode {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    min-height: 0;
    border-radius: 16px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
  }
  .bnode:hover {
    transform: none;
  }
  .bnode .ico {
    margin-bottom: 0;
  }
}

.bcenter {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 156px;
  height: 156px;
  border-radius: 50%;
  background: var(--main);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  box-shadow: 0 16px 42px rgba(90, 106, 160, 0.32);
  padding: 14px;
}
.bcenter .ico {
  width: 26px;
  height: 26px;
  color: #fff;
  margin-bottom: 8px;
}
.bcenter .be {
  font-family: var(--util);
  font-size: 10px;
  letter-spacing: 0.16em;
  opacity: 0.85;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.bcenter .bl {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
}
@media (max-width: 860px) {
  .bcenter {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    border-radius: 16px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
    order: -1;
  }
  .bcenter .ico {
    margin-bottom: 0;
  }
}

.b1 {
  left: 50%;
  top: 13%;
}

.b2 {
  left: 85.2%;
  top: 38.6%;
}

.b3 {
  left: 71.7%;
  top: 79.9%;
}

.b4 {
  left: 28.3%;
  top: 79.9%;
}

.b5 {
  left: 14.8%;
  top: 38.6%;
}

@media (min-width: 861px) {
  .bcenter {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
    transition: opacity 0.55s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .bnode {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
    transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
  }
  .bloom-svg .spoke {
    transition: stroke-dashoffset 0.5s ease;
  }
  .bloom-svg .edge {
    transition: stroke-dashoffset 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .bloom.go .bcenter {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  .bloom.go .bnode {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  .bloom.go .spoke,
  .bloom.go .edge {
    stroke-dashoffset: 0;
  }
  .bloom.go .s1 {
    transition-delay: 0.34s;
  }
  .bloom.go .s2 {
    transition-delay: 0.42s;
  }
  .bloom.go .s3 {
    transition-delay: 0.5s;
  }
  .bloom.go .s4 {
    transition-delay: 0.58s;
  }
  .bloom.go .s5 {
    transition-delay: 0.66s;
  }
  .bloom.go .b1 {
    transition-delay: 0.82s;
  }
  .bloom.go .b2 {
    transition-delay: 0.9s;
  }
  .bloom.go .b3 {
    transition-delay: 0.98s;
  }
  .bloom.go .b4 {
    transition-delay: 1.06s;
  }
  .bloom.go .b5 {
    transition-delay: 1.14s;
  }
  .bloom.go .e1 {
    transition-delay: 1.52s;
  }
  .bloom.go .e2 {
    transition-delay: 1.64s;
  }
  .bloom.go .e3 {
    transition-delay: 1.76s;
  }
  .bloom.go .e4 {
    transition-delay: 1.88s;
  }
  .bloom.go .e5 {
    transition-delay: 2s;
  }
  .bloom.go .bnode:hover {
    transform: translate(-50%, -50%) scale(1.04);
  }
}
/* ---------- split（住居事業など） ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.split.rev .split-img {
  order: 2;
}
@media (max-width: 820px) {
  .split.rev .split-img {
    order: 0;
  }
}

.split-media {
  position: relative;
}
.split-media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 22px;
}
.split-media .badge {
  position: absolute;
  left: -14px;
  bottom: -14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 22px;
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 16px 40px rgba(62, 74, 130, 0.12);
  font-size: 0.95rem;
}
.split-media .badge .en {
  font-family: var(--util);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mauve);
  display: block;
  font-weight: 500;
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .split-media .badge {
    left: 14px;
  }
}

.split h3.lead-h {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.5;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.split .feat {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.split .feat li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.split .feat .fl {
  width: 18px;
  height: 18px;
  color: var(--mauve);
  margin-top: 5px;
  flex: 0 0 auto;
}
.split .feat b {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.98rem;
  display: block;
  margin-bottom: 1px;
}
.split .feat span {
  color: var(--sub);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ---------- サービスカード ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 34px;
}
@media (max-width: 980px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}

.scard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.scard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(62, 74, 130, 0.1);
  border-color: #d9d2ea;
}
.scard:nth-child(2) .ic {
  background: var(--surf1);
  color: var(--fuji);
}
.scard:nth-child(4) .ic {
  background: var(--surf3);
  color: var(--mauve);
}
.scard h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.12rem;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.scard .catch {
  font-family: var(--disp);
  font-weight: 500;
  color: var(--main);
  font-size: 0.91rem;
  margin-bottom: 16px;
}
.scard ul {
  list-style: none;
  display: grid;
  gap: 9px;
}
.scard li {
  display: flex;
  gap: 10px;
  color: var(--sub);
  font-size: 0.87rem;
  line-height: 1.6;
  align-items: flex-start;
}
.scard li .fl {
  width: 14px;
  height: 14px;
  color: var(--fuji);
  margin-top: 4px;
  flex: 0 0 auto;
}
.scard .ic {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--surf2);
  color: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.scard .ic .ico {
  width: 28px;
  height: 28px;
}

/* ---------- 支援フロー ---------- */
.flow {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  position: relative;
}
.flow::before {
  content: "";
  position: absolute;
  top: 39px;
  left: 11%;
  right: 11%;
  height: 2px;
  background: linear-gradient(90deg, #9eb3c7, #b7a3bc, #d7c4d0);
  z-index: 0;
}
@media (max-width: 860px) {
  .flow {
    flex-direction: column;
    gap: 2px;
  }
  .flow::before {
    display: none;
  }
}

.fstep {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}
.fstep h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.04rem;
  margin-bottom: 9px;
}
.fstep p {
  color: var(--sub);
  font-size: 0.86rem;
  line-height: 1.8;
  padding: 0 6px;
}
@media (max-width: 860px) {
  .fstep p {
    max-width: 420px;
    margin: 0 auto;
  }
}

.fcirc {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--fuji);
  color: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.fcirc .ico {
  width: 32px;
  height: 32px;
}

.fnum {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--main);
  color: #fff;
  font-family: var(--util);
  font-size: 11px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(90, 106, 160, 0.3);
}

.farrow {
  flex: 0 0 auto;
  color: var(--fuji);
  margin-top: 28px;
  opacity: 0.75;
  z-index: 1;
}
.farrow .ico {
  width: 24px;
  height: 24px;
}
@media (max-width: 860px) {
  .farrow {
    margin: 2px auto;
    transform: rotate(90deg);
  }
}

/* ---------- バンド ---------- */
.band {
  position: relative;
  min-height: clamp(360px, 46vw, 460px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.band .wrap {
  position: relative;
  z-index: 2;
  text-align: center;
}
.band .kicker {
  justify-content: center;
  color: #d9cfe6;
}
.band .kicker .fl {
  color: #c7b6d8;
}
.band h2 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.55;
  letter-spacing: 0.03em;
  max-width: 820px;
  margin: 0 auto;
  text-shadow: 0 2px 24px rgba(20, 24, 48, 0.3);
  text-wrap: balance;
}
.band p {
  color: #e7e3f0;
  max-width: 620px;
  margin: 18px auto 0;
  line-height: 1.95;
}

.band-bg {
  position: absolute;
  inset: 0;
}
.band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(46, 54, 88, 0.86), rgba(90, 106, 160, 0.5));
}

/* ---------- 強み / 差別化 ---------- */
.str-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .str-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .str-grid {
    grid-template-columns: 1fr;
  }
}

.str {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px;
  border-top: 3px solid var(--fuji);
}
.str:nth-child(2) {
  border-top-color: var(--main);
}
.str:nth-child(3) {
  border-top-color: var(--mauve);
}
.str:nth-child(4) {
  border-top-color: var(--navy);
}
.str .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.str .ico {
  width: 28px;
  height: 28px;
  color: var(--fuji);
}
.str:nth-child(2) .ico {
  color: var(--main);
}
.str:nth-child(3) .ico {
  color: var(--mauve);
}
.str:nth-child(4) .ico {
  color: var(--navy);
}
.str .n {
  font-family: var(--util);
  font-size: 22px;
  font-weight: 300;
  color: var(--fuji);
  letter-spacing: 0.04em;
}
.str h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.str p {
  color: var(--sub);
  font-size: 0.89rem;
  line-height: 1.85;
}

.diff {
  margin-top: 42px;
  background: var(--surf1);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
@media (max-width: 980px) {
  .diff {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .diff {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}
.diff .di b {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.diff .di b .fl {
  width: 15px;
  height: 15px;
  color: var(--mauve);
}
.diff .di p {
  color: var(--sub);
  font-size: 0.86rem;
  line-height: 1.75;
}
.diff .di .vs {
  font-family: var(--util);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--fuji);
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

/* ---------- こんな方へ ---------- */
.pg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .pg {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .pg {
    grid-template-columns: 1fr;
  }
}

.pcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.pcard:hover {
  box-shadow: 0 16px 38px rgba(62, 74, 130, 0.09);
  transform: translateY(-4px);
}
.pcard .top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pcard .pico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--surf1);
  color: var(--fuji);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.pcard .pico .ico {
  width: 24px;
  height: 24px;
}
.pcard:nth-child(2) .pico {
  background: var(--surf2);
  color: var(--main);
}
.pcard:nth-child(3) .pico {
  background: var(--surf3);
  color: var(--mauve);
}
.pcard:nth-child(4) .pico {
  background: var(--surf1);
  color: var(--navy);
}
.pcard .tag {
  font-family: var(--util);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mauve);
  text-transform: uppercase;
}
.pcard h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.04rem;
  margin-bottom: 10px;
  text-wrap: balance;
}
.pcard p {
  color: var(--sub);
  font-size: 0.88rem;
  line-height: 1.8;
}

.who-note {
  text-align: center;
  margin-top: 40px;
  font-family: var(--disp);
  font-weight: 500;
  color: var(--main);
  font-size: 1rem;
}

/* ---------- 施設紹介 ---------- */
.fac-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 720px) {
  .fac-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .fac-cards {
    grid-template-columns: 1fr;
  }
}

.fcard {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.28s, box-shadow 0.28s;
}
.fcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(62, 74, 130, 0.12);
}
.fcard .ph {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.fcard .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.fcard:hover .ph img {
  transform: scale(1.05);
}
.fcard .body {
  padding: 24px 24px 26px;
}
.fcard .en {
  font-family: var(--util);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mauve);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.fcard h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.fcard .addr {
  color: var(--sub);
  font-size: 0.88rem;
  line-height: 1.7;
  display: flex;
  gap: 8px;
}
.fcard .addr .ico {
  width: 16px;
  height: 16px;
  color: var(--fuji);
  flex: 0 0 auto;
  margin-top: 3px;
}

.fac-sub {
  margin-top: 34px;
  background: var(--surf2);
  border-radius: 18px;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 28px;
}
@media (max-width: 720px) {
  .fac-sub {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .fac-sub {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }
}
.fac-sub .fs {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.fac-sub .fs .ico {
  width: 22px;
  height: 22px;
  color: var(--main);
  flex: 0 0 auto;
  margin-top: 2px;
}
.fac-sub .fs b {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 2px;
}
.fac-sub .fs span {
  color: var(--sub);
  font-size: 0.84rem;
}

/* ---------- お知らせ（TOP/共通） ---------- */
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.link-more {
  font-family: var(--util);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.link-more .ar {
  width: 15px;
  height: 15px;
}

/* ---------- 採用 ---------- */
.recruit-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}
.recruit-roles span {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--main);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
}

/* ============================================================
   _lower … 下層ページ共通コンポーネント
   ============================================================ */
/* ---------- ページ見出しバナー ---------- */
.pbanner {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 40vw, 430px);
  display: flex;
  align-items: center;
  color: #fff;
}
@media (max-width: 640px) {
  .pbanner {
    min-height: auto;
    padding-block: clamp(54px, 16vw, 80px);
  }
}
.pbanner .wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
}
.pbanner .kicker {
  color: #d9cfe6;
}
.pbanner .kicker .fl {
  color: #c7b6d8;
}
.pbanner .title {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
  text-shadow: 0 2px 24px rgba(20, 24, 48, 0.3);
}
.pbanner .lead {
  color: #ece8f3;
}

.pbanner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pbanner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.pbanner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(34, 40, 70, 0.84), rgba(46, 54, 88, 0.62) 45%, rgba(90, 106, 160, 0.5));
}

.crumb {
  font-family: var(--util);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 18px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.crumb a {
  color: #fff;
}
.crumb a:hover {
  text-decoration: underline;
}
.crumb span {
  opacity: 0.55;
}
@media (max-width: 640px) {
  .crumb {
    font-size: 11px;
    gap: 6px;
  }
}

/* ---------- 下層 split ---------- */
.split-img {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(46, 54, 88, 0.14);
}
.split-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.split-body .lead {
  margin-bottom: 14px;
}

.split-points {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 20px;
}
@media (max-width: 640px) {
  .split-points {
    gap: 11px;
  }
}
.split-points .it {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.split-points .fl {
  width: 18px;
  height: 18px;
  color: var(--mauve);
  margin-top: 4px;
  flex: 0 0 auto;
}
.split-points b {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.97rem;
}
.split-points span {
  color: var(--sub);
  font-size: 0.87rem;
  line-height: 1.65;
  display: block;
}

/* ---------- jobs（特長カード） ---------- */
.jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .jobs {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .jobs {
    grid-template-columns: 1fr;
  }
}
.jobs.j4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  .jobs.j4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .jobs.j4 {
    grid-template-columns: 1fr;
  }
}
.jobs.j5 {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 980px) {
  .jobs.j5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .jobs.j5 {
    grid-template-columns: 1fr;
  }
}

.job {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.job:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(62, 74, 130, 0.1);
}
.job .ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--surf2);
  color: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.job .ic .ico {
  width: 26px;
  height: 26px;
}
.job:nth-child(3n+2) .ic {
  background: var(--surf1);
  color: var(--fuji);
}
.job:nth-child(3n) .ic {
  background: var(--surf3);
  color: var(--mauve);
}
.job h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.06rem;
  margin-bottom: 6px;
}
.job .emp {
  font-family: var(--util);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mauve);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.job p {
  color: var(--sub);
  font-size: 0.88rem;
  line-height: 1.8;
}
@media (max-width: 640px) {
  .job {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ---------- points ---------- */
.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 980px) {
  .points {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .points {
    grid-template-columns: 1fr;
  }
}
.points .point {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.points .point .fl {
  width: 18px;
  height: 18px;
  color: var(--mauve);
  margin-top: 4px;
  flex: 0 0 auto;
}
.points .point b {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.98rem;
  display: block;
  margin-bottom: 3px;
}
.points .point span {
  color: var(--sub);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ---------- フロー（番号ステップ） ---------- */
.rsteps {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  position: relative;
  margin-top: 8px;
}
.rsteps::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 11%;
  right: 11%;
  height: 2px;
  background: linear-gradient(90deg, #9eb3c7, #b7a3bc, #d7c4d0);
  z-index: 0;
}
@media (max-width: 980px) {
  .rsteps {
    flex-wrap: wrap;
    gap: 22px;
  }
  .rsteps::before {
    display: none;
  }
}

.rstep {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}
@media (max-width: 980px) {
  .rstep {
    flex: 1 1 40%;
  }
}
@media (max-width: 600px) {
  .rstep {
    flex: 1 1 100%;
  }
}
.rstep .num {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--fuji);
  color: var(--main);
  font-family: var(--util);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.rstep h4 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 7px;
}
.rstep p {
  color: var(--sub);
  font-size: 0.85rem;
  line-height: 1.75;
  padding: 0 6px;
}

/* ---------- サービス詳細（在宅・身元保証） ---------- */
.svc-intro {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.svc-intro .lead {
  font-size: clamp(1rem, 1.7vw, 1.12rem);
}

.svc-detail {
  max-width: 900px;
  margin: 0 auto;
}

.facwrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 720px) {
  .facwrap {
    grid-template-columns: 1fr;
  }
}

.faccard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.faccard:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(62, 74, 130, 0.1);
}
.faccard img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.faccard .b {
  padding: 20px 22px;
}
.faccard .fn {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 6px;
}
.faccard .en {
  font-family: var(--util);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fuji);
  font-weight: 400;
}
.faccard .fa {
  color: var(--sub);
  font-size: 0.86rem;
  line-height: 1.65;
}

.subsvc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 3.5vw, 40px);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 640px) {
  .subsvc {
    padding: 24px 20px;
    border-radius: 18px;
  }
}
.subsvc:nth-of-type(3n + 2) .subsvc-ic {
  background: var(--surf1);
  color: var(--fuji);
}
.subsvc:nth-of-type(3n) .subsvc-ic {
  background: var(--surf3);
  color: var(--mauve);
}
.subsvc .d {
  color: var(--sub);
  line-height: 1.95;
  margin-bottom: 16px;
}

.subsvc-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.subsvc-head h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.22rem;
}
@media (max-width: 640px) {
  .subsvc-head h3 {
    font-size: 1.08rem;
  }
}
.subsvc-head .fac-tag {
  font-family: var(--util);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mauve);
  background: var(--surf3);
  border-radius: 999px;
  padding: 5px 13px;
  text-transform: uppercase;
}

.subsvc-ic {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--surf2);
  color: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.subsvc-ic .ico {
  width: 30px;
  height: 30px;
}

.feat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px 26px;
}
@media (max-width: 680px) {
  .feat-list {
    grid-template-columns: 1fr;
  }
}
.feat-list .it {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.feat-list .fl {
  width: 17px;
  height: 17px;
  color: var(--mauve);
  margin-top: 4px;
  flex: 0 0 auto;
}
.feat-list b {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 2px;
}
.feat-list span {
  color: var(--sub);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ---------- こんな方へ（whom） ---------- */
.whom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 680px) {
  .whom-grid {
    grid-template-columns: 1fr;
  }
}

.whom {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
@media (max-width: 640px) {
  .whom {
    padding-left: 18px;
    padding-right: 18px;
  }
}
.whom .ck {
  width: 24px;
  height: 24px;
  color: var(--main);
  flex: 0 0 auto;
  margin-top: 2px;
}
.whom p {
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.faq-item.open {
  box-shadow: 0 14px 34px rgba(62, 74, 130, 0.09);
  border-color: #d9d2ea;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 18px 22px;
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.2s;
}
@media (max-width: 640px) {
  .faq-q {
    padding-left: 18px;
    padding-right: 18px;
  }
}
.faq-q:hover {
  color: var(--main);
}
.faq-q .q {
  font-family: var(--util);
  color: var(--mauve);
  font-weight: 500;
  flex: 0 0 auto;
}
.faq-q .qt {
  flex: 1;
}
.faq-q .pl {
  margin-left: auto;
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 auto;
}
.faq-q .pl::before, .faq-q .pl::after {
  content: "";
  position: absolute;
  background: var(--main);
  border-radius: 2px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.faq-q .pl::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}
.faq-q .pl::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}

.faq-item.open .faq-q .pl::after {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-aw {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.44s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-aw .a {
  overflow: hidden;
  color: var(--sub);
  line-height: 1.9;
  font-size: 0.94rem;
  padding: 0 22px;
  opacity: 0;
  transition: opacity 0.4s ease, padding 0.44s ease;
}
@media (max-width: 640px) {
  .faq-aw .a {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.faq-item.open .faq-aw {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-aw .a {
  opacity: 1;
  padding-bottom: 20px;
}

/* ---------- 関連サービス ---------- */
.rel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 680px) {
  .rel-grid {
    grid-template-columns: 1fr;
  }
}

.relcard {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
@media (max-width: 640px) {
  .relcard {
    gap: 14px;
    padding-left: 18px;
    padding-right: 18px;
  }
}
.relcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(62, 74, 130, 0.1);
  border-color: #d9d2ea;
}
.relcard .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surf2);
  color: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.relcard .ic .ico {
  width: 26px;
  height: 26px;
}
.relcard:nth-child(2) .ic {
  background: var(--surf3);
  color: var(--mauve);
}
.relcard .tx {
  flex: 1;
  min-width: 0;
}
.relcard h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 3px;
}
.relcard p {
  color: var(--sub);
  font-size: 0.85rem;
  line-height: 1.6;
}
.relcard .go {
  color: var(--main);
  flex: 0 0 auto;
}
.relcard .go .ar {
  width: 20px;
  height: 20px;
}
@media (max-width: 680px) {
  .relcard .go {
    display: none;
  }
}

/* ---------- イメージ帯 ---------- */
.imgband {
  position: relative;
  overflow: hidden;
  min-height: clamp(240px, 32vw, 360px);
  display: flex;
  align-items: center;
  color: #fff;
}
.imgband .wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
}
@media (max-width: 640px) {
  .imgband .wrap {
    padding: 0 22px;
  }
}
.imgband .eyebrow {
  font-family: var(--util);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d9cfe6;
  margin-bottom: 14px;
}
.imgband h2 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-wrap: balance;
  color: #fff;
}
@media (max-width: 640px) {
  .imgband {
    min-height: 208px;
  }
}

.imgband-bg {
  position: absolute;
  inset: 0;
}
.imgband-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.imgband-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(34, 40, 70, 0.8), rgba(90, 106, 160, 0.5));
}

/* ---------- ギャラリー ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .gallery {
    gap: 12px;
  }
}
.gallery .gi {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery .gi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.gallery .gi:hover img {
  transform: scale(1.06);
}

/* ============================================================
   _news … お知らせ一覧・タブ・ページャー
   ============================================================ */
.ntabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.ntab {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--sub);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ntab:hover {
  border-color: #c9c2de;
  color: var(--main);
}
.ntab.on {
  background: var(--main);
  color: #fff;
  border-color: var(--main);
}

.news-list {
  border-top: 1px solid var(--line);
}

.nrow {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.nrow:hover {
  background: var(--surf1);
}
.nrow p {
  font-family: var(--disp);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.97rem;
  flex: 1;
  min-width: 0;
}

.nthumb {
  width: 84px;
  height: 60px;
  border-radius: 11px;
  object-fit: cover;
  flex: 0 0 auto;
}
@media (max-width: 600px) {
  .nthumb {
    display: none;
  }
}

.ndate {
  font-family: var(--util);
  font-size: 14px;
  color: var(--main);
  letter-spacing: 0.05em;
  flex: 0 0 auto;
}

.ntag {
  font-family: var(--disp);
  font-size: 12px;
  font-weight: 500;
  color: var(--fuji);
  background: var(--surf1);
  border-radius: 999px;
  padding: 4px 14px;
  flex: 0 0 auto;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pager > a,
.pager > span {
  font-family: var(--util);
  font-size: 14px;
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--sub);
  transition: 0.2s;
  padding: 0 6px;
}
.pager > a:hover {
  border-color: #c9c2de;
  color: var(--main);
}
.pager .on {
  background: var(--main);
  color: #fff;
  border-color: var(--main);
}

/* お知らせ詳細本文 */
.news-body {
  color: var(--ink);
  line-height: 1.95;
}
.news-body h2 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.2rem;
  margin: 28px 0 12px;
}
.news-body h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  margin: 22px 0 10px;
}
.news-body p {
  margin-bottom: 16px;
}
.news-body a {
  color: var(--main);
  text-decoration: underline;
}
.news-body img {
  border-radius: 12px;
  margin: 14px 0;
}
.news-body ul,
.news-body ol {
  margin: 10px 0 16px 1.3em;
}
.news-body li {
  margin-bottom: 6px;
}

/* ============================================================
   _contact … お問い合わせ（情報カード・フォーム）
   ============================================================ */
.cgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 860px) {
  .cgrid {
    grid-template-columns: 1fr;
  }
}

.cinfo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  text-align: center;
}
.cinfo .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surf2);
  color: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.cinfo .ic .ico {
  width: 26px;
  height: 26px;
}
.cinfo:nth-child(2) .ic {
  background: var(--surf1);
  color: var(--fuji);
}
.cinfo:nth-child(3) .ic {
  background: var(--surf3);
  color: var(--mauve);
}
.cinfo h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 8px;
}
.cinfo .big {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--main);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
@media (max-width: 400px) {
  .cinfo .big {
    font-size: 1.12rem;
  }
}
.cinfo p {
  color: var(--sub);
  font-size: 0.88rem;
  line-height: 1.7;
}

.formwrap {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 44px);
}
@media (max-width: 640px) {
  .formwrap {
    padding: 24px 20px;
    border-radius: 18px;
  }
}

.field {
  margin-bottom: 22px;
}
.field label {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}
.field .req {
  color: var(--mauve);
  font-size: 0.78rem;
  margin-left: 8px;
  font-family: var(--util);
  letter-spacing: 0.04em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--base);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--fuji);
  box-shadow: 0 0 0 3px rgba(142, 132, 188, 0.16);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 860px) {
  .frow {
    grid-template-columns: 1fr;
  }
}

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 6px 0 26px;
  color: var(--sub);
  font-size: 0.9rem;
  line-height: 1.7;
}
.consent input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--main);
}
.consent a {
  color: var(--main);
  text-decoration: underline;
}

.form-submit {
  text-align: center;
}

.note {
  color: var(--sub);
  font-size: 0.82rem;
  text-align: center;
  margin-top: 18px;
  line-height: 1.7;
}

.formMsg {
  display: none;
  text-align: center;
  background: var(--surf1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 46px 30px;
  max-width: 760px;
  margin: 0 auto;
}
.formMsg .ic {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  color: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 10px 26px rgba(90, 106, 160, 0.16);
}
.formMsg .ic .ico {
  width: 32px;
  height: 32px;
}
.formMsg h3 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.formMsg p {
  color: var(--sub);
  line-height: 1.9;
}

/* ============================================================
   お問い合わせフロー：ステップ表示 / CF7 / 完了画面
   ============================================================ */
/* ---- ステップインジケーター（入力→確認→完了） ---- */
.form-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 520px;
  margin: 0 auto 44px;
  list-style: none;
}
.form-steps li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  color: var(--sub);
  font-family: var(--disp);
  font-size: 0.85rem;
}
.form-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.form-steps li.done::after {
  background: var(--fuji);
}
.form-steps .num {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  color: var(--sub);
  font-family: var(--util);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-steps li.current .num {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
  box-shadow: 0 6px 16px rgba(90, 106, 160, 0.3);
}
.form-steps li.current .txt {
  color: var(--main);
  font-weight: 700;
}
.form-steps li.done .num {
  background: var(--fuji);
  border-color: var(--fuji);
  color: #fff;
}

/* ---- Contact Form 7（.formwrap 内） ---- */
.formwrap .wpcf7 {
  margin: 0;
}
.formwrap label {
  display: block;
  font-family: var(--disp);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 20px;
}
.formwrap .red, .formwrap .blue {
  font-family: var(--util);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  color: #fff;
}
.formwrap .red {
  background: var(--mauve);
}
.formwrap .blue {
  background: var(--main);
}
.formwrap input.wpcf7-form-control:not([type=checkbox]):not([type=submit]),
.formwrap textarea.wpcf7-form-control,
.formwrap select.wpcf7-form-control {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--base);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  margin-top: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.formwrap input.wpcf7-form-control:not([type=checkbox]):not([type=submit]):focus,
.formwrap textarea.wpcf7-form-control:focus,
.formwrap select.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--fuji);
  box-shadow: 0 0 0 3px rgba(142, 132, 188, 0.16);
}
.formwrap textarea.wpcf7-form-control {
  min-height: 150px;
  resize: vertical;
  line-height: 1.7;
}
.formwrap input[readonly], .formwrap textarea[readonly] {
  background: var(--surf1);
  cursor: default;
}
.formwrap label.policy {
  display: flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--sub);
  font-size: 0.92rem;
  margin: 4px 0 24px;
  font-weight: 500;
}
.formwrap .wpcf7-list-item {
  margin: 0;
}
.formwrap input[type=submit], .formwrap .wpcf7-submit {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 15px;
  padding: 15px 40px;
  border-radius: 999px;
  background: var(--main);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(90, 106, 160, 0.28);
  transition: background 0.25s, transform 0.15s;
  display: block;
  margin: 10px auto 0;
}
.formwrap input[type=submit]:hover, .formwrap .wpcf7-submit:hover {
  background: var(--navy);
  transform: translateY(-2px);
}
.formwrap .wpcf7-previous {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 15px;
  padding: 15px 32px;
  border-radius: 999px;
  background: #fff;
  color: var(--main);
  border: 1.5px solid #C9C2DE;
  cursor: pointer;
  transition: 0.2s;
}
.formwrap .wpcf7-previous:hover {
  border-color: var(--main);
  background: var(--surf2);
}
.formwrap .cf7-confirm-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.formwrap .cf7-confirm-actions input {
  margin: 0;
  display: inline-flex;
}
@media (max-width: 600px) {
  .formwrap .cf7-confirm-actions {
    flex-direction: column-reverse;
  }
  .formwrap .cf7-confirm-actions input {
    width: 100%;
    justify-content: center;
  }
}
.formwrap .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 6px;
}
.formwrap .wpcf7-spinner {
  margin: 12px auto 0;
}
.formwrap .wpcf7-response-output {
  margin: 18px 0 0 !important;
  border-radius: 12px;
  padding: 14px 18px !important;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---- 完了画面 ---- */
.contact-complete {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  background: var(--surf1);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(40px, 6vw, 64px) 30px;
}
.contact-complete h2 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 14px;
}
.contact-complete p {
  color: var(--sub);
  line-height: 1.95;
}

.complete-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  color: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 12px 30px rgba(90, 106, 160, 0.18);
}
.complete-icon svg {
  width: 38px;
  height: 38px;
}

/* ============================================================
   _company … 会社概要テーブル
   ============================================================ */
.company {
  max-width: 760px;
  margin: 0 auto;
}

.crow {
  display: grid;
  grid-template-columns: 170px 1fr;
  border-bottom: 1px solid var(--line);
}
.crow dt {
  font-family: var(--disp);
  font-weight: 500;
  color: var(--main);
  padding: 18px 0;
  font-size: 0.92rem;
}
.crow dd {
  padding: 18px 0;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.7;
}
@media (max-width: 860px) {
  .crow {
    grid-template-columns: 110px 1fr;
  }
}
@media (max-width: 600px) {
  .crow {
    grid-template-columns: 100px 1fr;
  }
  .crow dt,
  .crow dd {
    padding: 14px 0;
  }
}
@media (max-width: 400px) {
  .crow {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .crow dt {
    padding-bottom: 2px;
  }
  .crow dd {
    padding-top: 2px;
  }
}

/* ============================================================
   _policy … プライバシーポリシー本文
   ============================================================ */
.policy {
  max-width: 820px;
  margin: 0 auto;
}
.policy .intro {
  color: var(--sub);
  font-size: 1rem;
  line-height: 2.05;
  margin-bottom: 36px;
}
.policy section {
  margin-bottom: 34px;
}
.policy h2 {
  font-family: var(--disp);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 4px solid var(--fuji);
  margin-top: 34px;
}
.policy p {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.95;
  margin-bottom: 10px;
}
.policy ul,
.policy ol {
  margin: 8px 0 8px 1.2em;
  color: var(--ink);
}
.policy li {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 6px;
}
.policy .meta {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--sub);
  font-size: 0.9rem;
  line-height: 1.9;
}
.policy .meta b {
  color: var(--ink);
  font-family: var(--disp);
  font-weight: 500;
}

/* ============================================================
   _loader … 全ページ展開ローダー
   ネイビー背景／紫陽花マークが弾けて出る → 社名 → プログレスバー
   ============================================================ */
#orc-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #2a3050 0%, #46538e 100%);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
#orc-loader.done {
  opacity: 0;
  visibility: hidden;
}

/* マーク（弾けて出る）＋ハロー */
.lmark {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lmark .halo {
  position: absolute;
  inset: -28%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 72%);
  opacity: 0;
  animation: lhalo 0.8s ease both;
}
.lmark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.45)) drop-shadow(0 3px 16px rgba(130, 155, 220, 0.5));
  animation: lpop 0.72s cubic-bezier(0.3, 1.62, 0.5, 1) both;
}

/* 社名 */
.lname {
  margin-top: 30px;
  text-align: center;
  opacity: 0;
  animation: lfade 0.6s ease both 0.42s;
}
.lname b {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: #fff;
}
.lname span {
  display: block;
  font-family: var(--util);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: #d9cfe6;
  margin-top: 8px;
  text-transform: uppercase;
}

/* プログレスバー */
.lbar {
  position: absolute;
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
  width: 158px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}
.lbar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #7e9ad6, #a98fd0, #d89abf);
  transform: translateX(-100%);
  animation: lbar 1.4s cubic-bezier(0.5, 0, 0.2, 1) both 0.15s;
}

@keyframes lpop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  55% {
    opacity: 1;
    transform: scale(1.13);
  }
  74% {
    transform: scale(0.97);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes lhalo {
  0% {
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes lfade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes lbar {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  #orc-loader .lmark img,
  #orc-loader .lname,
  #orc-loader .lbar i,
  #orc-loader .lmark .halo {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
/* ============================================================
   _responsive … スマホ/タブレットの読みやすさ微調整
   （style.scss の最後に読み込み、各パーシャルを上書き）
   ============================================================ */
/* ---- 見出しの中途半端な改行を防ぐ ----
   PCでは nb 句が成り行きで折り返るが、スマホでは「句ごとに1行」にして
   句の途中でバラバラに割れないようにする */
@media (max-width: 600px) {
  .nb {
    display: block;
    white-space: normal;
  }
}
/* ---- 3項目グリッドの“2列で1つあぶれる”を解消 ----
   .points（3項目）は 3列 → 1列 に直行（2列段階を飛ばす） */
@media (max-width: 980px) {
  .points {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .points {
    grid-template-columns: 1fr;
  }
}

/* ---- 求人カード（5項目）の端数段落ちを緩和 ----
   小型タブレット〜大型スマホ横（〜860px）では1列にして読みやすく
   （3列の 3+2 段落ちは PC寄りの 861〜980px のみに限定） */
@media (max-width: 860px) {
  .jobs.j5 {
    grid-template-columns: 1fr;
  }
}

/* ---- 施設カード（3項目）の窮屈な3列を回避 ----
   小型タブレット（〜860px）では1列にして余白と文字量を確保 */
@media (max-width: 860px) {
  .fac-cards,
  .fac-sub,
  .facwrap,
  .cgrid {
    grid-template-columns: 1fr;
  }
}

/* ---- 下層 split：画像→本文の縦積み時に間延びしすぎないよう余白調整 ---- */
@media (max-width: 860px) {
  .split.rev .split-img {
    order: 0;
  }
}
/* ---- 極小スマホ（〜400px）：見出し・本文の詰まりを軽減 ---- */
@media (max-width: 400px) {
  .sec-head {
    margin-bottom: 26px;
  }
  .title {
    line-height: 1.5;
  }
  .lead,
  .icard p,
  .mcell p,
  .scard li,
  .job p {
    font-size: 0.9rem;
  }
}
/* ============================================================
   ③ 「私たちの想い」：スマホでも 2×2 ブロックで見やすく
   ============================================================ */
@media (max-width: 600px) {
  .mg {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mcell {
    padding: 18px 14px;
  }
  .mcell .top {
    gap: 7px;
    margin-bottom: 8px;
  }
  .mcell .ico {
    width: 21px;
    height: 21px;
  }
  .mcell .en {
    font-size: 10.5px;
    letter-spacing: 0.12em;
  }
  .mcell h3 {
    font-size: 1rem;
    margin-bottom: 7px;
  }
  .mcell p {
    font-size: 0.82rem;
    line-height: 1.75;
  }
}

/* ============================================================
   ④ 「一気通貫の支援」：スマホは 2×2 のコンパクトカードで再構築
   ============================================================ */
@media (max-width: 600px) {
  .bp {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 14px;
  }
}

@media (max-width: 600px) {
  .bp-step {
    padding: 0 4px;
  }
  .bp-step .en {
    font-size: 10px;
    margin-bottom: 4px;
  }
  .bp-step h3 {
    font-size: 0.98rem;
    margin-bottom: 7px;
  }
  .bp-step p {
    font-size: 0.8rem;
    line-height: 1.7;
  }
}

@media (max-width: 600px) {
  .bp-dot {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
  }
  .bp-dot .ico {
    width: 26px;
    height: 26px;
  }
}

/* ============================================================
   ⑤ 「5つの事業」：スマホ専用の段階アニメ
   大元(その人らしい暮らし)が出る → 光る → 5項目がふわっと → 線が伸びてつながる
   ============================================================ */
@media (max-width: 860px) {
  .bloom {
    position: relative;
  }
  /* 大元から下へ伸びる“つながりの線”（最後に描画） */
  .bloom::after {
    content: "";
    position: absolute;
    left: 37px;
    top: 44px;
    bottom: 44px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(var(--main), var(--fuji), var(--mauve));
    transform: scaleY(0);
    transform-origin: top center;
    opacity: 0;
    z-index: 0;
  }
  .bcenter,
  .bnode {
    position: relative;
    z-index: 1;
    left: auto; /* PC五角形配置の left:50% 等を無効化（relativeだと右へずれる原因） */
    top: auto;
  }
  /* 初期：隠す */
  .bcenter {
    opacity: 0;
    transform: translateY(10px) scale(0.92);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .bnode {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
  }
  /* 発火（IntersectionObserver が .go を付与） */
  .bloom.go .bcenter {
    opacity: 1;
    transform: none;
    animation: bloomGlow 1.5s ease 0.55s 1; /* 出現後に“光る” */
  }
  .bloom.go .bnode {
    opacity: 1;
    transform: none;
  }
  .bloom.go .b1 {
    transition-delay: 0.78s;
  }
  .bloom.go .b2 {
    transition-delay: 0.91s;
  }
  .bloom.go .b3 {
    transition-delay: 1.04s;
  }
  .bloom.go .b4 {
    transition-delay: 1.17s;
  }
  .bloom.go .b5 {
    transition-delay: 1.3s;
  }
  .bloom.go::after {
    opacity: 1;
    transform: scaleY(1);
    transition: transform 0.85s cubic-bezier(0.4, 0, 0.2, 1) 1.55s, opacity 0.3s ease 1.55s;
  }
}
@keyframes bloomGlow {
  0% {
    box-shadow: 0 16px 42px rgba(90, 106, 160, 0.32);
  }
  45% {
    box-shadow: 0 0 0 10px rgba(142, 132, 188, 0.22), 0 16px 50px rgba(90, 106, 160, 0.55);
  }
  100% {
    box-shadow: 0 16px 42px rgba(90, 106, 160, 0.32);
  }
}
/* ============================================================
   ⑥ 「支援プロセス」：スマホは番号付き縦タイムラインで再構築
   （矢印だけでプロセス感が無かったのを、線でつなぐ）
   ============================================================ */
@media (max-width: 860px) {
  .flow {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .flow::before {
    display: none;
  }
  .farrow {
    display: none;
  }
  .fstep {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 18px;
    row-gap: 4px;
    text-align: left;
    padding-bottom: 30px;
    position: relative;
  }
  .fstep:last-of-type {
    padding-bottom: 0;
  }
  .fstep {
    /* 円の下から次の円へ伸びる縦線 */
  }
  .fstep:not(:last-of-type)::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 64px;
    bottom: -2px;
    width: 2px;
    background: linear-gradient(var(--fuji), var(--mauve));
    opacity: 0.5;
  }
  .fstep h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }
  .fstep p {
    grid-column: 2;
    grid-row: 2;
    padding: 0;
    max-width: none;
    margin: 0;
  }
  .fcirc {
    grid-column: 1;
    grid-row: 1/span 2;
    width: 60px;
    height: 60px;
    margin: 0;
    align-self: start;
  }
  .fcirc .ico {
    width: 26px;
    height: 26px;
  }
}
/* リダクションモーション時は装飾アニメを止める */
@media (prefers-reduced-motion: reduce) {
  .bcenter {
    animation: none !important;
  }
}
/* ============================================================
   ① 修正：SP「5つの事業」カードのはみ出し防止（行→グリッドで収める）
   アイコン＝左、ラベル＝右上、タグ＝右下。1fr 側で必ず折り返す
   ============================================================ */
@media (max-width: 860px) {
  .bnode,
  .bcenter {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    row-gap: 2px;
    align-items: center;
  }
  .bnode .ico,
  .bcenter .ico {
    grid-column: 1;
    grid-row: 1/span 2;
    align-self: center;
    margin: 0;
  }
  .bnode .bl {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    min-width: 0;
  }
  .bnode .btag {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    min-width: 0;
  }
  .bcenter .be {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }
  .bcenter .bl {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    min-width: 0;
  }
}
/* ============================================================
   ② 「こんな方へ」：スマホは 2×2 で視覚的に見やすく
   ============================================================ */
@media (max-width: 600px) {
  .pg {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pcard {
    padding: 18px 15px;
  }
  .pcard .top {
    gap: 9px;
    margin-bottom: 10px;
  }
  .pcard .pico {
    width: 38px;
    height: 38px;
  }
  .pcard .pico .ico {
    width: 20px;
    height: 20px;
  }
  .pcard .tag {
    font-size: 10px;
  }
  .pcard h3 {
    font-size: 0.97rem;
    margin-bottom: 7px;
  }
  .pcard p {
    font-size: 0.82rem;
    line-height: 1.7;
  }
}

/* ============================================================
   「強み・差別化」：スマホも 2×2 で見やすく
   ============================================================ */
@media (max-width: 600px) {
  .str-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .str {
    padding: 18px 14px;
  }
  .str .top {
    margin-bottom: 10px;
  }
  .str .ico {
    width: 24px;
    height: 24px;
  }
  .str .n {
    font-size: 18px;
  }
  .str h3 {
    font-size: 1rem;
    margin-bottom: 7px;
  }
  .str p {
    font-size: 0.8rem;
    line-height: 1.7;
  }
}

@media (max-width: 600px) {
  .diff {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 14px;
    padding: 22px 16px;
  }
  .diff .di b {
    font-size: 0.9rem;
    gap: 6px;
    margin-bottom: 5px;
  }
  .diff .di p {
    font-size: 0.8rem;
    line-height: 1.65;
  }
  .diff .di .vs {
    font-size: 9.5px;
    margin-top: 6px;
  }
}

/* ============================================================
   下層②：ヒーロー直下「導入(About)」をスマホで収める
   画像が大きく画面を占有して本文まで届かない → 画像を低く＆余白圧縮
   ============================================================ */
@media (max-width: 600px) {
  .split-img img {
    aspect-ratio: 16/10;
  }
  .split {
    gap: 24px;
  }
  /* ヒーロー直下の最初のセクションは上余白を詰める */
  .pbanner + .section {
    padding-top: clamp(34px, 8vw, 50px);
  }
}
/* ============================================================
   下層③：「流れ」をスマホで番号付き縦タイムラインに再構築
   （中央寄せの羅列 → 円＋つなぎ線でプロセス感を出す）
   ============================================================ */
@media (max-width: 600px) {
  .rsteps {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .rstep {
    flex: none;
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 16px;
    row-gap: 2px;
    text-align: left;
    padding-bottom: 26px;
    position: relative;
  }
  .rstep:last-child {
    padding-bottom: 0;
  }
  .rstep {
    /* 円の下から次の円へ伸びる縦線 */
  }
  .rstep:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 54px;
    bottom: -2px;
    width: 2px;
    background: linear-gradient(var(--fuji), var(--mauve));
    opacity: 0.45;
  }
  .rstep .num {
    grid-column: 1;
    grid-row: 1/span 2;
    margin: 0;
    align-self: start;
  }
  .rstep h4 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }
  .rstep p {
    grid-column: 2;
    grid-row: 2;
    padding: 0;
  }
}
/* ============================================================
   下層：jobsカードのスマホ最適化（2列化）
   ① 見守り住居「安心して暮らせる4つの軸」(.jobs.j4) → 2×2
   ② 見守り住居「日々のサポート」(.jobs 6項目)        → 2×3
   ③ 身元保証「4つの柱」(.jobs.j4)                     → 2×2
   （求人5項目の .jobs.j5 は1列のまま）
   ============================================================ */
@media (max-width: 600px) {
  .jobs.j4,
  .jobs:not(.j4):not(.j5) {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .job {
    padding: 18px 14px;
    border-radius: 16px;
  }
  .job .ic {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 12px;
  }
  .job .ic .ico {
    width: 22px;
    height: 22px;
  }
  .job .emp {
    font-size: 10px;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
  }
  .job h3 {
    font-size: 1rem;
    margin-bottom: 5px;
  }
  .job p {
    font-size: 0.82rem;
    line-height: 1.7;
  }
}

/* ============================================================
   お問い合わせ・求人：スマホ最適化
   ① 募集職種(.jobs.j5)：縦長カード → アイコン左＋情報右の横並びでコンパクトに
   ② 連絡先(.cgrid/.cinfo)：中央寄せの縦長 → 横並びで見やすく
   ============================================================ */
@media (max-width: 600px) {
  /* ① 募集職種 */
  .jobs.j5 .job {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    padding: 16px 16px;
  }
  .jobs.j5 .job .ic {
    grid-column: 1;
    grid-row: 1/span 3;
    align-self: center;
    width: 44px;
    height: 44px;
    margin: 0;
  }
  .jobs.j5 .job .emp {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 2px;
  }
  .jobs.j5 .job h3 {
    grid-column: 2;
    grid-row: 2;
    margin-bottom: 4px;
  }
  .jobs.j5 .job p {
    grid-column: 2;
    grid-row: 3;
    font-size: 0.82rem;
    line-height: 1.65;
  }
  /* ② 連絡先カード */
  .cgrid {
    gap: 12px;
  }
  .cinfo {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 15px;
    align-items: center;
    text-align: left;
    padding: 16px 18px;
  }
  .cinfo .ic {
    grid-column: 1;
    grid-row: 1/span 3;
    align-self: center;
    width: 46px;
    height: 46px;
    margin: 0;
  }
  .cinfo h3 {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 1px;
  }
  .cinfo .big {
    grid-column: 2;
    grid-row: 2;
  }
  .cinfo p {
    grid-column: 2;
    grid-row: 3;
  }
}
