/* ===== YOLO 新HP試作 v8（UZUZパレット×グラフィック：クリーム×墨×バーントオレンジ） ===== */
:root {
  --cream: #f2e9d3;          /* 基調のクリーム */
  --cream-2: #ece1c4;        /* 少し濃いクリーム */
  --paper: #faf5e8;          /* カード面 */
  --ink: #23281f;            /* 墨（緑がかった黒） */
  --ink-soft: #5c6153;
  --orange: #d2711f;         /* バーントオレンジ */
  --orange-deep: #b95f14;
  --dark: #2a3126;           /* ダーク色面（深緑がかった墨） */
  --white: #ffffff;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --disp: Montserrat, sans-serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth; scroll-padding-top: 80px;
  /* 装飾（大きな文字・円・斜めの帯）が画面外へ出るため横スクロールを抑止。
     clip はスクロール領域を作らないので sticky ヘッダーが壊れない（hidden は旧環境用の保険） */
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999;
  background-image: var(--noise);
  opacity: .05; pointer-events: none;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---- 日本語の改行を整える ----
   auto-phrase … 「大丈/夫」のような語の途中で切らず、文節単位で折り返す
   strict       … 禁則処理を厳格にし、行頭に「、」「）」等が来ないようにする
   balance      … 見出しの各行の長さを均等に近づける
   pretty       … 最終行が1文字だけ残るのを防ぐ                        */
body {
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}
h1, h2, h3,
.hero-title, .cta-title, .page-hero h1, .section-title, .jobs-title {
  text-wrap: balance;
}
p, li, td, th, figcaption, blockquote, .section-lead {
  text-wrap: pretty;
}
/* 途中で分断させたくない塊（電話番号・営業時間など） */
.nw { white-space: nowrap; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.pc { display: inline; }

/* ---- ヘッダー ---- */
.header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 28px;
  background: rgba(242,233,211,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--ink);
  transition: box-shadow .3s ease;
}
.header.scrolled { box-shadow: 0 6px 20px rgba(35,40,31,.12); }
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand-mark {
  font-family: var(--disp);
  font-weight: 800; font-size: 25px; letter-spacing: .12em;
  color: var(--ink);
}
.brand-sub { font-size: 10.5px; color: var(--ink-soft); letter-spacing: .1em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  position: relative;
  font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap;
  padding: 4px 0; letter-spacing: .06em;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2.5px; background: var(--orange);
  transition: right .28s ease;
}
.nav a:hover::after, .nav a.current::after { right: 0; }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; }

/* ---- ボタン（スクエア×ハードシャドウ） ---- */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 0;
  font-weight: 700; font-size: 14px; line-height: 1.45;
  letter-spacing: .08em;
  border: 1.5px solid var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-lg { padding: 20px 44px; font-size: 15px; }
.btn-note { font-size: 10.5px; font-weight: 500; opacity: .85; letter-spacing: .05em; }
.btn-cta {
  background: var(--orange); color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: var(--orange-deep); }
.btn-outline {
  background: var(--paper); color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-outline:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: #fff; }
.btn-ghost {
  background: transparent; color: var(--cream);
  border-color: var(--cream);
  box-shadow: 4px 4px 0 rgba(242,233,211,.35);
}
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.btn-line {
  background: #06c755; color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-line:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: #05b34c; }

/* ---- ヒーロー ---- */
.hero {
  position: relative; overflow: hidden;
  background: var(--cream);
  padding: 104px 24px 140px;
}
.hero-bg-text {
  position: absolute; right: -30px; bottom: -60px;
  font-family: var(--disp); font-weight: 800;
  font-size: clamp(180px, 26vw, 380px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(35,40,31,.14);
  letter-spacing: .02em; user-select: none;
}
.hero-vertical {
  position: absolute; right: 42px; top: 96px;
  writing-mode: vertical-rl;
  font-weight: 700; font-size: 14px; letter-spacing: .34em;
  color: var(--ink);
  border-right: 1.5px solid var(--ink);
  padding-right: 14px;
  height: 340px;
}
.hero-inner { position: relative; z-index: 2; max-width: 1032px; margin: 0 auto; }
.hero-eyebrow {
  font-family: var(--disp);
  font-size: 13px; letter-spacing: .4em; font-weight: 700;
  color: var(--orange);
  margin-bottom: 26px; text-transform: uppercase;
  display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before {
  content: ""; width: 46px; height: 2px; background: var(--orange); flex-shrink: 0;
}
.hero-title {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 900; line-height: 1.42; margin-bottom: 28px;
  letter-spacing: .02em;
}
.hero-title .line { display: block; }
.hero-title em {
  font-style: normal; color: var(--orange);
  text-shadow: 3px 3px 0 rgba(35,40,31,.18);
}
.hero-title .stroke {
  color: transparent; -webkit-text-stroke: 1.3px var(--ink);
}
.hero-lead {
  font-size: clamp(14px, 1.5vw, 16px); color: #454a3d;
  margin-bottom: 42px; line-height: 2.15; letter-spacing: .03em;
  max-width: 620px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 38px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.hero-badges li {
  font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: .08em;
  border: 1.5px solid var(--ink); background: var(--paper);
  padding: 5px 16px;
}
.hero-badges li:nth-child(odd) { transform: rotate(-1.6deg); }
.hero-badges li:nth-child(even) { transform: rotate(1.2deg); }

/* 回転バッジ */
.badge-spin {
  position: absolute; right: 150px; bottom: 100px; z-index: 2;
  width: 148px; height: 148px;
}
.badge-spin svg {
  width: 100%; height: 100%;
  animation: spin 18s linear infinite;
  overflow: visible;
  will-change: transform;
  transform-origin: 50% 50%;
}
.badge-spin text {
  font-family: var(--disp); font-weight: 700; font-size: 10.5px;
  letter-spacing: .22em; fill: var(--ink);
}
.badge-core {
  position: absolute; inset: 0; margin: auto;
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--orange); color: #fff;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--disp); font-weight: 800; font-size: 17px; line-height: 1.05;
  text-align: center; letter-spacing: .06em;
  box-shadow: 3px 3px 0 var(--ink);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 幾何あしらい */
.hero-arc {
  position: absolute; left: -90px; bottom: -90px; z-index: 1;
  width: 240px; height: 240px; border-radius: 50%;
  background: var(--orange);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  opacity: .92;
}

/* ---- マーキー（流れる帯） ---- */
.marquee {
  position: relative; z-index: 3;
  background: var(--orange);
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(-1.4deg) scale(1.03);
  overflow: hidden;
  margin: -34px 0 0;
}
.marquee-rev { transform: rotate(1.2deg) scale(1.03); background: var(--ink); margin: 0; }
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.marquee span {
  font-family: var(--disp); font-weight: 700; font-size: 15px;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--cream);
  padding: 13px 0;
  flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- セクション共通 ---- */
.section { position: relative; padding: 110px 0 100px; }
.section-eyebrow {
  font-family: var(--disp);
  font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: .2em;
  color: var(--ink); text-align: center; margin-bottom: 0; text-transform: uppercase;
  line-height: 1.25;
}
.section-eyebrow::after {
  content: ""; display: block; width: 44px; height: 2.5px;
  background: var(--orange); margin: 14px auto 12px;
}
.section-title {
  font-size: 13.5px; font-weight: 700; text-align: center; line-height: 1.7;
  margin-bottom: 52px; letter-spacing: .18em; color: var(--ink-soft);
}
.section-lead { text-align: center; color: #4c5244; margin: -22px auto 52px; letter-spacing: .03em; max-width: 800px; }
.section-lead strong { color: var(--ink); }

/* ダーク色面セクション */
.section-dark { background: var(--dark); color: var(--cream); overflow: hidden; }
.section-dark .section-eyebrow { color: var(--cream); }
.section-dark .section-title { color: #a7ac9c; }
.section-dark-bg {
  position: absolute; left: -20px; top: -34px;
  font-family: var(--disp); font-weight: 800;
  font-size: clamp(120px, 18vw, 240px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(242,233,211,.08);
  letter-spacing: .04em; user-select: none; pointer-events: none;
}

/* ---- グリッド・カード ---- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative;
  background: var(--paper); border: 1.5px solid var(--ink);
  padding: 40px 22px 30px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.reason-grid .card:nth-child(even) { margin-top: 30px; }
.card-num {
  position: absolute; top: -20px; left: 14px;
  font-family: var(--disp);
  font-weight: 800; font-size: 42px; line-height: 1;
  color: var(--orange);
  text-shadow: 2.5px 2.5px 0 var(--ink);
  letter-spacing: .02em;
}
.card h3 { font-size: 17px; line-height: 1.6; margin-bottom: 12px; font-weight: 900; letter-spacing: .02em; }
.card p { font-size: 13.5px; color: #4c5244; }

/* ---- 導線カード（ダーク面上） ---- */
.nav-card {
  display: block; position: relative;
  background: var(--cream); color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 32px 26px 66px;
  box-shadow: 5px 5px 0 rgba(0,0,0,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 rgba(0,0,0,.45); }
.nav-card .en {
  font-family: var(--disp); font-weight: 700; font-size: 11px;
  letter-spacing: .3em; color: var(--orange); text-transform: uppercase;
}
.nav-card h3 { font-size: 19px; font-weight: 900; margin: 10px 0 10px; letter-spacing: .02em; }
.nav-card p { font-size: 13.5px; color: #4c5244; }
.nav-card .arrow {
  position: absolute; right: 22px; bottom: 20px;
  width: 40px; height: 40px;
  border: 1.5px solid var(--ink); color: var(--ink); background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-card:hover .arrow { background: var(--orange); color: #fff; transform: translateX(4px); }

.feature {
  background: var(--paper); padding: 32px 24px;
  border: 1.5px solid var(--ink); border-top: 5px solid var(--orange);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.feature h3 { font-size: 17px; margin-bottom: 12px; font-weight: 900; letter-spacing: .02em; }
.feature p { font-size: 14px; color: #4c5244; }

/* ---- 対応職種 ---- */
.jobs { margin-top: 58px; text-align: center; }
.jobs-title { font-size: 19px; margin-bottom: 20px; font-weight: 900; letter-spacing: .1em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chips li {
  background: var(--paper); border: 1.5px solid var(--ink);
  color: var(--ink); font-weight: 700; font-size: 13.5px; letter-spacing: .06em;
  padding: 7px 20px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.chips li:nth-child(odd) { transform: rotate(-1deg); }
.chips li:nth-child(even) { transform: rotate(1deg); }
.chips li:hover { background: var(--orange); color: #fff; transform: translate(-2px, -2px) rotate(0deg); box-shadow: 5px 5px 0 var(--ink); }
.jobs-note { margin-top: 24px; font-size: 14px; color: #4c5244; }

/* ---- 声（付箋・ステッカー風） ---- */
.voice {
  background: var(--paper); border: 1.5px solid var(--ink);
  padding: 34px 26px 28px; position: relative;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .2s ease;
}
.voice-grid .voice:nth-child(1) { transform: rotate(-.8deg); }
.voice-grid .voice:nth-child(2) { transform: rotate(.6deg) translateY(14px); }
.voice-grid .voice:nth-child(3) { transform: rotate(-.5deg); }
.voice:hover { transform: rotate(0deg) translateY(-4px) !important; }
.voice::before {
  content: "“"; position: absolute; top: -26px; left: 14px;
  font-size: 64px; color: var(--orange); font-family: Georgia, serif;
  text-shadow: 2px 2px 0 var(--ink);
}
.voice p { font-size: 13.5px; color: #3c4234; }
.voice footer {
  margin-top: 16px; font-weight: 700; font-size: 12.5px;
  color: var(--orange-deep); letter-spacing: .08em;
  border-top: 1.5px dashed rgba(35,40,31,.3); padding-top: 12px;
}

/* ---- 流れ ---- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: flow; }
.flow li {
  background: var(--paper); border: 1.5px solid var(--ink);
  padding: 26px 14px; text-align: center; font-weight: 700; font-size: 14.5px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.flow li:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.flow li span {
  font-family: var(--disp); font-size: 11px; font-weight: 800;
  color: var(--orange); letter-spacing: .26em;
  white-space: nowrap; /* 「STEP」と「1」が分かれて2行になるのを防ぐ */
}
.flow li small { font-size: 11.5px; font-weight: 400; color: #4c5244; }
.flow-note { text-align: center; margin-top: 34px; font-size: 15.5px; }
.flow-note strong {
  color: var(--ink); font-size: 18px; font-weight: 900;
  background: linear-gradient(transparent 62%, rgba(210,113,31,.45) 62%);
  padding: 0 4px;
}

/* ---- 代表ごあいさつ（写真＋メッセージ） ---- */
.message-grid {
  display: grid; grid-template-columns: 400px 1fr; gap: 56px;
  align-items: center; max-width: 1000px; margin: 0 auto;
}
.message-photo {
  margin: 0;
  background: var(--paper); border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 12px 12px 14px;
  transform: rotate(-1.4deg);
  transition: transform .25s ease;
}
.message-photo:hover { transform: rotate(0deg); }
.message-photo img {
  display: block; width: 100%;
  border: 1px solid rgba(35,40,31,.25);
}
.message-photo figcaption {
  text-align: center; font-weight: 700; font-size: 13px;
  letter-spacing: .14em; margin-top: 12px; color: var(--ink);
}
.message-text p { font-size: 14.5px; color: #4c5244; margin-bottom: 1.3em; letter-spacing: .02em; }
.message-text strong { color: var(--ink); background: linear-gradient(transparent 62%, rgba(210,113,31,.4) 62%); padding: 0 2px; }
.message-sign { text-align: right; color: var(--ink) !important; font-size: 13px; margin-top: 22px; margin-bottom: 0 !important; }
.message-sign strong { display: block; font-size: 21px; font-weight: 900; letter-spacing: .18em; background: none !important; padding: 0; }

/* ---- 会社概要 ---- */
.company-table {
  width: 100%; max-width: 760px; margin: 0 auto;
  border-collapse: collapse; background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.company-table th, .company-table td {
  padding: 16px 22px; font-size: 14.5px; text-align: left;
  border-bottom: 1px solid rgba(35,40,31,.25);
}
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table th { width: 132px; background: var(--cream-2); color: var(--ink); vertical-align: top; font-weight: 700; letter-spacing: .06em; }

/* ---- CTAバンド ---- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--dark);
  color: var(--cream); padding: 104px 0 96px;
}
.cta-bg-text {
  position: absolute; left: 50%; top: -20px; transform: translateX(-50%);
  font-family: var(--disp); font-weight: 800;
  font-size: clamp(110px, 17vw, 230px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(242,233,211,.08);
  letter-spacing: .04em; user-select: none; pointer-events: none;
  white-space: nowrap;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; margin-bottom: 20px; letter-spacing: .04em; }
.cta-lead { opacity: .85; margin-bottom: 42px; letter-spacing: .03em; }
.cta-buttons { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.cta-band .btn-cta { box-shadow: 4px 4px 0 rgba(0,0,0,.5); border-color: var(--cream); }
.cta-band .btn-cta:hover { box-shadow: 6px 6px 0 rgba(0,0,0,.5); }
.cta-band .btn-line { box-shadow: 4px 4px 0 rgba(0,0,0,.5); border-color: var(--cream); }
.cta-band .btn-line:hover { box-shadow: 6px 6px 0 rgba(0,0,0,.5); }
.cta-tel { font-size: 14.5px; color: #b9beac; }
.cta-tel a { font-weight: 800; font-size: 20px; color: var(--cream); border-bottom: 2px solid var(--orange); padding-bottom: 1px; }

/* ---- フッター ---- */
.footer { background: var(--ink); color: #a7ac9c; padding: 46px 0 24px; border-top: 1.5px solid var(--ink); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.footer-brand { font-family: var(--disp); font-weight: 800; font-size: 21px; color: var(--cream); letter-spacing: .12em; }
.footer-brand span { font-family: var(--sans); font-size: 13px; font-weight: 500; color: #a7ac9c; letter-spacing: .02em; }
.footer-small { font-size: 12px; margin-top: 6px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.footer-nav a:hover { color: var(--cream); }
.footer-copy { text-align: center; font-size: 12px; margin-top: 34px; opacity: .5; }

/* ---- 下層ページ用ヒーロー ---- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--dark);
  color: var(--cream);
  padding: 88px 24px 66px;
  border-bottom: 1.5px solid var(--ink);
}
.page-hero::before {
  content: ""; position: absolute; right: -70px; top: -70px;
  width: 210px; height: 210px; border-radius: 50%;
  background: var(--orange); border: 1.5px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(0,0,0,.4);
  opacity: .9;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1032px; margin: 0 auto; }
.page-hero-eyebrow {
  font-family: var(--disp);
  font-weight: 700; font-size: 12px; letter-spacing: .4em;
  color: var(--orange); margin-bottom: 12px; text-transform: uppercase;
}
.page-hero h1 {
  font-size: clamp(27px, 3.8vw, 42px); font-weight: 900; letter-spacing: .03em;
  line-height: 1.55;
}
.page-hero p { margin-top: 12px; font-size: 14px; color: #b9beac; letter-spacing: .03em; }

/* ---- モーション ---- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.19,.7,.3,1), transform .8s cubic-bezier(.19,.7,.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.voice-grid .voice.reveal.is-visible:nth-child(1) { transform: rotate(-.8deg); }
.voice-grid .voice.reveal.is-visible:nth-child(2) { transform: rotate(.6deg) translateY(14px); }
.voice-grid .voice.reveal.is-visible:nth-child(3) { transform: rotate(-.5deg); }

.hero-in {
  opacity: 0;
  animation: heroUp .9s cubic-bezier(.19,.7,.3,1) forwards;
}
@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .hero-in { animation: none; opacity: 1; }
  .badge-spin svg, .marquee-track { animation: none; }
}

/* ---- レスポンシブ ---- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .reason-grid .card:nth-child(even) { margin-top: 0; }
  .voice-grid .voice { transform: none !important; }
  .flow { grid-template-columns: 1fr; }
  /* スマホでは「STEP N」を左、見出しと説明を右に積む。
     横一列にすると見出しが「ご相談・/ヒアリング」のように割れるため */
  .flow li {
    display: grid; grid-template-columns: auto 1fr;
    column-gap: 14px; row-gap: 2px;
    align-items: center; text-align: left;
    padding: 20px 18px;
  }
  .flow li span { grid-row: 1 / span 2; align-self: center; }
  .flow li b { font-weight: 700; }
  .nav { display: none; }
  .pc { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; gap: 5px;
    margin-left: auto; background: none; border: none; padding: 8px; cursor: pointer;
  }
  .menu-toggle span { width: 24px; height: 2px; background: var(--ink); }
  .header-cta { display: none; }
  body.nav-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1.5px solid var(--ink);
    padding: 8px 0;
  }
  body.nav-open .nav a { padding: 13px 28px; border-top: 1px solid rgba(35,40,31,.2); }
  body.nav-open .nav a::after { display: none; }
  .message-grid { grid-template-columns: 1fr; gap: 36px; }
  .message-photo { max-width: 340px; margin: 0 auto; }
  .hero { padding: 64px 24px 156px; }
  .hero-vertical { display: none; }
  .hero-badges { max-width: calc(100% - 106px); }
  .badge-spin { right: 22px; bottom: 26px; width: 92px; height: 92px; }
  .badge-spin text { font-size: 9.5px; letter-spacing: .18em; }
  .badge-core { width: 50px; height: 50px; font-size: 12px; }
  .hero-arc { width: 150px; height: 150px; left: -60px; bottom: -60px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 72px 0 66px; }
  .marquee span { font-size: 12.5px; padding: 10px 0; }
}

/* ---- スマホ（640px以下）：2カラムだと1行7文字ほどになり読めないため1カラムへ ---- */
@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
  .reason-grid .card:nth-child(even) { margin-top: 0; }
  /* PC用に入れた見出しの改行は、幅が変わると「の」だけが行に残るため無効化 */
  .card h3 br { display: none; }
}

/* ---- 規約・ポリシーページ ---- */
.legal { max-width: 820px; margin: 0 auto; }
.legal p { font-size: 14.5px; color: #4c5244; margin-bottom: 1.2em; }
.legal h2 {
  font-size: 17px; font-weight: 900; letter-spacing: .04em;
  margin: 44px 0 16px; padding: 12px 16px;
  background: var(--paper); border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.legal h2:first-of-type { margin-top: 36px; }
.legal h3 {
  font-size: 15px; font-weight: 900; margin: 26px 0 10px;
  padding-left: 12px; border-left: 4px solid var(--orange);
}
.legal ul, .legal ol { margin: 0 0 1.4em 1.4em; }
.legal li { font-size: 14.5px; color: #4c5244; margin-bottom: .5em; }
.legal ul li { list-style: disc; }
.legal ol li { list-style: decimal; }
.legal b { color: var(--ink); }
.legal-date { font-size: 13px; color: var(--ink-soft); text-align: right; }
.legal-note { font-size: 13px; color: var(--ink-soft); }
.legal .company-table { margin-top: 20px; }
@media (max-width: 640px) {
  .legal h2 { font-size: 15.5px; padding: 10px 12px; }
}

/* ---- 自社運営事業の一覧 ---- */
.facility-meta {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--orange-deep); margin-bottom: 6px;
}
.facility-addr { font-size: 13px; color: #4c5244; }
.facility-desc { display: block; margin-top: 8px; font-size: 12.5px; color: var(--ink-soft); }

/* ---- よくあるご質問（アコーディオン） ---- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--paper); border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  margin-bottom: 18px;
}
.faq-item summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 20px 56px 20px 22px;
  font-size: 15px; font-weight: 700; line-height: 1.7; letter-spacing: .02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; font-family: var(--disp); font-weight: 800; font-size: 13px;
  color: var(--orange); margin-right: 10px; letter-spacing: .1em;
}
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 13px; height: 13px; margin-top: -9px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-item[open] summary { border-bottom: 1.5px dashed rgba(35,40,31,.3); }
.faq-a { padding: 18px 22px 20px; }
.faq-a p { font-size: 14px; color: #4c5244; margin-bottom: .9em; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a b { color: var(--ink); background: linear-gradient(transparent 62%, rgba(210,113,31,.4) 62%); padding: 0 2px; }
.faq-link { color: var(--orange-deep); font-weight: 700; border-bottom: 1.5px solid var(--orange); }
@media (max-width: 640px) {
  .faq-item summary { font-size: 14.5px; padding: 18px 46px 18px 18px; }
  .faq-a { padding: 16px 18px 18px; }
}
.facility-desc b { color: var(--ink); background: linear-gradient(transparent 62%, rgba(210,113,31,.4) 62%); padding: 0 2px; }

/* ============================================================
   お問い合わせフォーム（contact.html）
   ============================================================ */
.section-form { background: var(--cream-2); position: relative; }
.section-form::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--noise); opacity: .25; pointer-events: none;
}
.section-form > .container { position: relative; }

.cform { max-width: 760px; margin: 48px auto 0; text-align: left; }
.cform-row { margin-bottom: 26px; }
.cform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }

.cform-label {
  display: block; margin-bottom: 9px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink);
}
.tag-req, .tag-opt {
  display: inline-block; margin-left: 6px; padding: 2px 7px;
  font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .08em;
  border: 1.5px solid var(--ink); vertical-align: 1.5px;
}
.tag-req { background: var(--orange); color: #fff; }
.tag-opt { background: transparent; color: var(--ink-soft); border-color: rgba(35,40,31,.35); }

.cform input[type="text"],
.cform input[type="email"],
.cform input[type="tel"],
.cform textarea {
  width: 100%; display: block;
  padding: 13px 15px;
  font-family: var(--sans); font-size: 15.5px; line-height: 1.7; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 0;
  box-shadow: 3px 3px 0 rgba(35,40,31,.16);
  transition: box-shadow .18s ease, transform .18s ease, background .18s ease;
  -webkit-appearance: none; appearance: none;
}
.cform textarea { resize: vertical; min-height: 150px; }
.cform input::placeholder, .cform textarea::placeholder { color: rgba(92,97,83,.55); }
.cform input:focus, .cform textarea:focus {
  outline: none; background: #fff;
  box-shadow: 5px 5px 0 var(--orange);
  transform: translate(-1px, -1px);
}
.cform input:user-invalid, .cform textarea:user-invalid { border-color: #b4341c; }

.cform-help {
  margin: 8px 0 0; font-size: 12.5px; line-height: 1.75; color: var(--ink-soft);
}

/* ラジオ */
.cform-radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cform-radio { position: relative; display: block; cursor: pointer; }
.cform-radio input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.cform-radio span {
  display: flex; flex-direction: column; gap: 3px;
  padding: 15px 14px;
  font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(35,40,31,.16);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.cform-radio span small { font-size: 11px; font-weight: 500; opacity: .75; letter-spacing: .04em; }
.cform-radio:hover span { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 rgba(35,40,31,.22); }
.cform-radio input:checked + span {
  background: var(--orange); color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
.cform-radio input:checked + span small { opacity: .9; }
.cform-radio input:focus-visible + span { box-shadow: 0 0 0 3px rgba(210,113,31,.45), 4px 4px 0 var(--ink); }

/* 同意チェック */
.cform-consent {
  margin-top: 34px; padding: 22px 22px 20px;
  background: var(--paper);
  border: 1.5px dashed rgba(35,40,31,.45);
}
.cform-check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.cform-check input {
  flex: none; width: 21px; height: 21px; margin-top: 1px;
  accent-color: var(--orange); cursor: pointer;
}
.cform-check span { font-size: 14px; font-weight: 700; line-height: 1.6; }
.cform-check a { color: var(--orange-deep); border-bottom: 1.5px solid var(--orange); }
.cform-consent .cform-help { margin-top: 12px; }

/* 迷惑メール対策用の隠し欄 */
.cform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 送信 */
.cform-submit-area { margin-top: 34px; text-align: center; }
.cform-submit { min-width: 260px; }
.cform-submit:disabled { opacity: .6; cursor: progress; transform: none; }
.cform-msg {
  margin: 20px auto 0; max-width: 560px; padding: 0;
  font-size: 14px; font-weight: 700; line-height: 1.8;
}
.cform-msg.is-ok, .cform-msg.is-ng {
  padding: 16px 18px; border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.cform-msg.is-ok { background: #e8f3e4; color: #1f4d17; }
.cform-msg.is-ng { background: #fbe6e1; color: #8f2a12; }
.cform-msg a { color: inherit; border-bottom: 1.5px solid currentColor; font-weight: 700; }

@media (max-width: 720px) {
  .cform { margin-top: 34px; }
  .cform-grid { grid-template-columns: 1fr; gap: 0; }
  .cform-radios { grid-template-columns: 1fr; gap: 10px; }
  .cform-radio span { flex-direction: row; align-items: baseline; gap: 8px; padding: 14px 14px; }
  .cform-radio span small { font-size: 10.5px; }
  .cform input[type="text"], .cform input[type="email"],
  .cform input[type="tel"], .cform textarea { font-size: 16px; }
  .cform-submit { width: 100%; min-width: 0; }
  .cform-consent { padding: 18px 16px 16px; }
}

/* ---- フッターのSNSアイコン ---- */
.footer-sns { display: flex; gap: 12px; list-style: none; margin-top: 20px; }
.footer-sns a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(0,0,0,.5);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.footer-sns a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 rgba(0,0,0,.5); }
.footer-sns svg { width: 22px; height: 22px; display: block; }

/* Instagram：オレンジ地に白の線画 */
.sns-ig { background: var(--orange); }
.sns-ig:hover { background: var(--orange-deep); }
.sns-ig svg { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sns-ig svg .dot { fill: #fff; stroke: none; }

/* LINE：LINEグリーン地に白の吹き出し */
.sns-line { background: #06c755; }
.sns-line:hover { background: #05b34c; }
.sns-line svg { fill: #fff; stroke: none; }

@media (max-width: 900px) { .footer-sns { margin-top: 16px; } }

/* ============================================================
   下層ページの識別性（どのページにいるか一目で分かるように）
   ============================================================ */

/* 背景に敷く特大のページ名（ページごとに文字が変わる） */
.page-hero-bg {
  position: absolute; right: -14px; bottom: -26px;
  font-family: var(--disp); font-weight: 800;
  font-size: clamp(74px, 13vw, 168px); line-height: 1;
  color: transparent;
  letter-spacing: .04em; user-select: none; pointer-events: none;
  white-space: nowrap;
}

/* ダーク面のページ（事業者／FAQ／会社概要／プライバシー） */
.page-hero-dark { background: var(--dark); color: var(--cream); }
.page-hero-dark .page-hero-bg { -webkit-text-stroke: 1.5px rgba(242,233,211,.10); }

/* 明るい面のページ（求職者向け／お問い合わせ） */
.page-hero-light {
  background: var(--cream-2);
  color: var(--ink);
}
.page-hero-light::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--noise); opacity: .3; pointer-events: none;
}
.page-hero-light .page-hero-bg { -webkit-text-stroke: 1.5px rgba(35,40,31,.13); }
.page-hero-light .page-hero-eyebrow { color: var(--orange-deep); }
.page-hero-light h1 { color: var(--ink); }
.page-hero-light .page-hero-inner > p { color: #4c5244; }
/* 明るい面では右上の円をダークにして、ダーク面と印象を分ける */
.page-hero-light::before { background: var(--dark); box-shadow: 5px 5px 0 rgba(35,40,31,.28); }

/* ヘッダー：現在いるページをはっきり示す */
.nav a.current { color: var(--orange-deep); }
.nav a.current::after { height: 3px; }

@media (max-width: 640px) {
  .page-hero-bg { font-size: clamp(56px, 17vw, 92px); right: -8px; bottom: -14px; }
}

/* ============================================================
   ナビゲーション：事業内容のドロップダウン
   ============================================================ */
.nav-drop { position: relative; }
.nav-drop-label {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap;
  padding: 4px 0; letter-spacing: .06em; cursor: pointer;
}
.nav-drop-label::before {
  content: ""; width: 0; height: 0; order: 2;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--ink);
  transition: transform .22s ease;
}
.nav-drop-label::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2.5px; background: var(--orange); transition: right .28s ease;
}
.nav-drop:hover .nav-drop-label::after,
.nav-drop:focus-within .nav-drop-label::after,
.nav-drop.is-current .nav-drop-label::after { right: 0; }
.nav-drop.is-current .nav-drop-label { color: var(--orange-deep); }
.nav-drop.is-current .nav-drop-label::before { border-top-color: var(--orange-deep); }
.nav-drop:hover .nav-drop-label::before { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute; left: -18px; top: 100%;
  margin-top: 14px; padding: 10px;
  min-width: 268px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-drop::after {   /* ラベルとメニューの隙間を埋め、ホバーが切れないようにする */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop-menu a {
  display: block; padding: 12px 14px;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--ink);
  border-bottom: 1px dashed rgba(35,40,31,.22);
  transition: background .16s ease, color .16s ease;
}
.nav-drop-menu a:last-child { border-bottom: none; }
.nav-drop-menu a small {
  display: block; margin-top: 3px;
  font-size: 11px; font-weight: 500; color: var(--ink-soft); letter-spacing: .02em;
}
.nav-drop-menu a:hover { background: var(--orange); color: #fff; }
.nav-drop-menu a:hover small { color: rgba(255,255,255,.85); }
.nav-drop-menu a.current { color: var(--orange-deep); }
.nav-drop-menu a.current:hover { color: #fff; }

/* ============================================================
   入居紹介ページ
   ============================================================ */
.page-hero-care { background: var(--paper); color: var(--ink); }
.page-hero-care::before { background: var(--orange); box-shadow: 5px 5px 0 rgba(35,40,31,.3); }
.page-hero-care::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 12px, transparent 12px 24px);
  opacity: .5;
}
.page-hero-care .page-hero-bg { -webkit-text-stroke: 1.5px rgba(35,40,31,.11); }
.page-hero-care .page-hero-eyebrow { color: var(--orange-deep); }
.page-hero-care .page-hero-inner > p { color: #4c5244; font-size: 16px; }
.page-hero-care .page-hero-inner > p b {
  color: var(--ink);
  background: linear-gradient(transparent 60%, rgba(210,113,31,.45) 60%);
  padding: 0 3px;
}

/* お困りごとリスト */
.worry-list {
  list-style: none; max-width: 840px; margin: 0 auto;
  display: grid; gap: 14px;
}
.worry-list li {
  position: relative;
  background: var(--paper); border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 18px 22px 18px 62px;
  font-size: 15px; font-weight: 700; line-height: 1.8;
  transition: transform .18s ease, box-shadow .18s ease;
}
.worry-list li:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.worry-list li::before {
  content: "✓"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff;
  border: 1.5px solid var(--ink);
  font-size: 15px; font-weight: 700;
}
.worry-list li:nth-child(odd) { margin-left: 0; margin-right: 22px; }
.worry-list li:nth-child(even) { margin-left: 22px; margin-right: 0; }
.worry-note { text-align: center; margin-top: 34px; font-size: 15px; line-height: 2; }

/* ホバーしない情報カード（ダーク面上） */
.nav-card-static { padding-bottom: 32px; cursor: default; }
.nav-card-static:hover { transform: none; box-shadow: 5px 5px 0 rgba(0,0,0,.45); }

/* 縦の大きなステップ */
.steps-v { list-style: none; max-width: 880px; margin: 0 auto; counter-reset: sv; }
.steps-v > li {
  position: relative;
  display: grid; grid-template-columns: 108px 1fr; gap: 26px;
  padding-bottom: 34px;
}
.steps-v > li::before {   /* 縦の線 */
  content: ""; position: absolute; left: 53px; top: 84px; bottom: -6px;
  width: 2px; background: repeating-linear-gradient(var(--ink) 0 6px, transparent 6px 12px);
}
.steps-v > li:last-child { padding-bottom: 0; }
.steps-v > li:last-child::before { display: none; }
.steps-v-num {
  width: 108px; height: 84px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--orange); color: #fff;
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--disp); font-weight: 800; font-size: 32px; line-height: 1;
}
.steps-v-num span {
  font-size: 10px; letter-spacing: .28em; font-weight: 700;
  margin-bottom: 5px; opacity: .9;
}
.steps-v-body {
  background: var(--paper); border: 1.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 24px 26px;
}
.steps-v-body h3 { font-size: 19px; font-weight: 900; margin-bottom: 12px; letter-spacing: .03em; }
.steps-v-body p { font-size: 14.5px; color: #4c5244; margin-bottom: .9em; }
.steps-v-body p:last-child { margin-bottom: 0; }
.steps-v-body b {
  color: var(--ink);
  background: linear-gradient(transparent 62%, rgba(210,113,31,.4) 62%);
  padding: 0 2px;
}
.steps-v-sub { font-size: 13.5px !important; }
.steps-v-note {
  font-size: 12.5px !important; color: var(--ink-soft) !important;
  border-top: 1px dashed rgba(35,40,31,.28); padding-top: 12px; margin-top: 14px !important;
}
.check-list { list-style: none; margin: 14px 0; display: grid; gap: 8px; }
.check-list li {
  position: relative; padding-left: 26px;
  font-size: 13.5px; line-height: 1.85; color: #4c5244;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--orange-deep); font-weight: 700; font-size: 14px;
}
.check-list b { color: var(--ink); font-weight: 700; }

/* 事例ボックス（減額交渉） */
.case-box {
  max-width: 880px; margin: 8px auto 0;
  background: var(--paper); border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 34px 30px 30px; position: relative;
}
.case-label {
  position: absolute; top: -16px; left: 22px;
  background: var(--ink); color: var(--cream);
  font-size: 11px; font-weight: 700; letter-spacing: .22em;
  padding: 5px 16px; border: 1.5px solid var(--ink);
}
.case-title { font-size: 19px; font-weight: 900; margin-bottom: 24px; letter-spacing: .03em; }
.case-figures {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  flex-wrap: wrap; margin-bottom: 26px;
}
.case-fig { text-align: center; }
.case-fig span { display: block; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 8px; }
.case-fig b {
  font-family: var(--disp); font-weight: 800; font-size: 46px; line-height: 1;
  color: var(--ink-soft);
}
.case-fig b small { font-family: var(--sans); font-size: 15px; margin-left: 3px; }
.case-fig-after b { color: var(--orange-deep); text-shadow: 3px 3px 0 rgba(35,40,31,.16); }
.case-arrow { font-size: 30px; font-weight: 700; color: var(--orange); }
.case-desc { font-size: 14.5px; color: #4c5244; }
.case-desc b { color: var(--ink); background: linear-gradient(transparent 62%, rgba(210,113,31,.4) 62%); padding: 0 2px; }
.case-caution {
  margin-top: 26px; padding: 18px 20px;
  background: var(--cream-2); border: 1.5px dashed rgba(35,40,31,.5);
}
.case-caution-title { font-size: 13px; font-weight: 700; letter-spacing: .1em; margin-bottom: 10px; color: var(--ink); }
.case-caution ul { list-style: none; display: grid; gap: 9px; }
.case-caution li {
  position: relative; padding-left: 16px;
  font-size: 12.5px; line-height: 1.85; color: #4c5244;
}
.case-caution li::before { content: "・"; position: absolute; left: 0; }
.case-caution b { color: var(--ink); }

/* ============================================================
   事業者ページ：左右交互レイアウト・費用表・簡易フロー
   ============================================================ */
.split-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 30px;
  align-items: center; max-width: 940px; margin: 0 auto 30px;
}
.split-row:last-child { margin-bottom: 0; }
.split-rev { grid-template-columns: 1fr 150px; }
.split-rev .split-num { order: 2; }
.split-rev .split-body { order: 1; }
.split-num {
  display: flex; align-items: center; justify-content: center;
  height: 150px;
  font-family: var(--disp); font-weight: 800; font-size: 60px; line-height: 1;
  color: var(--orange); background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  text-shadow: 3px 3px 0 rgba(35,40,31,.16);
}
.split-row:nth-child(odd) .split-num { transform: rotate(-1.5deg); }
.split-row:nth-child(even) .split-num { transform: rotate(1.5deg); }
.split-body {
  background: var(--paper); border: 1.5px solid var(--ink);
  border-left: 5px solid var(--orange);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 26px 28px;
}
.split-rev .split-body { border-left: 1.5px solid var(--ink); border-right: 5px solid var(--orange); }
.split-body h3 { font-size: 19px; font-weight: 900; margin-bottom: 12px; letter-spacing: .03em; }
.split-body p { font-size: 14.5px; color: #4c5244; }
.split-body b { color: var(--ink); background: linear-gradient(transparent 62%, rgba(210,113,31,.4) 62%); padding: 0 2px; }

/* ダーク面に置いた表は、セルの文字色が背景色を継承して白飛びするため明示する */
.section-dark .company-table td,
.section-dark .company-table th { color: var(--ink); }
.cost-table b { font-family: var(--disp); font-size: 20px; color: var(--orange-deep); letter-spacing: .02em; }
.flow-note-dark { color: var(--cream); }
.flow-note-dark strong { color: var(--cream); }

/* 簡易フロー（横一列・矢印区切り） */
.flow-line {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  align-items: stretch; gap: 0; max-width: 1000px; margin: 0 auto;
}
.flow-line li {
  position: relative; flex: 1 1 0; min-width: 150px;
  padding: 18px 14px 18px 26px;
  background: var(--paper);
  border: 1.5px solid var(--ink); border-right: none;
  text-align: center;
}
.flow-line li:last-child { border-right: 1.5px solid var(--ink); }
.flow-line li::after {
  content: ""; position: absolute; right: -11px; top: 50%; z-index: 2;
  width: 20px; height: 20px; margin-top: -10px;
  background: var(--paper);
  border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink);
  transform: rotate(45deg);
}
.flow-line li:last-child::after { display: none; }
.flow-line li b { display: block; font-size: 14.5px; font-weight: 900; letter-spacing: .02em; }
.flow-line li small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.7; }

/* ---- レスポンシブ ---- */
@media (max-width: 900px) {
  .nav-drop-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    margin: 8px 0 0; box-shadow: none; min-width: 0;
    background: transparent; border: none; padding: 0;
  }
  .nav-drop::after { display: none; }
  .nav-drop-menu a { padding: 10px 0 10px 16px; border-bottom: none; }
  .nav-drop-menu a small { font-size: 10.5px; }
  .nav-drop-label { cursor: default; }

  .split-row, .split-rev { grid-template-columns: 1fr; gap: 0; margin-bottom: 26px; }
  .split-rev .split-num { order: 0; }
  .split-rev .split-body { order: 0; }
  .split-num {
    height: 62px; font-size: 34px; transform: none !important;
    box-shadow: 4px 4px 0 var(--ink); margin-bottom: 14px; width: 96px;
  }
  .split-body, .split-rev .split-body {
    border-left: 5px solid var(--orange); border-right: 1.5px solid var(--ink);
  }

  .steps-v > li { grid-template-columns: 1fr; gap: 0; padding-bottom: 26px; }
  .steps-v > li::before { display: none; }
  .steps-v-num {
    width: 100%; height: 54px; flex-direction: row; gap: 10px;
    font-size: 24px; margin-bottom: 14px;
  }
  .steps-v-num span { margin-bottom: 0; }
  .steps-v-body { padding: 20px 18px; }

  .worry-list li { padding: 16px 18px 16px 54px; font-size: 14.5px; }
  .worry-list li:nth-child(odd), .worry-list li:nth-child(even) { margin-left: 0; margin-right: 0; }

  .flow-line li {
    flex: 1 1 100%; border-right: 1.5px solid var(--ink); border-bottom: none;
    padding: 16px 14px;
  }
  .flow-line li:last-child { border-bottom: 1.5px solid var(--ink); }
  .flow-line li::after {
    right: 50%; top: auto; bottom: -11px; margin: 0 -10px 0 0;
    transform: rotate(135deg);
  }

  .case-box { padding: 30px 18px 24px; }
  .case-figures { gap: 14px; }
  .case-fig b { font-size: 36px; }
  .case-arrow { transform: rotate(90deg); font-size: 24px; }
}

/* ---- トップ：ヒーロー下のサブ導線 ---- */
.hero-sub-link { margin-top: 22px; }
.hero-sub-link a {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--ink);
  border-bottom: 1.5px solid var(--orange);
  padding-bottom: 3px;
  transition: color .18s ease, gap .18s ease;
}
.hero-sub-link a::before {
  content: "▸"; color: var(--orange); font-size: 12px;
}
.hero-sub-link a:hover { color: var(--orange-deep); gap: 13px; }

/* ---- お問い合わせフォーム：選択肢4つ（2列×2段） ---- */
.cform-radios-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) {
  .cform-radios-4 { grid-template-columns: 1fr; }
}

/* ---- ダーク面のFAQ（入居紹介カテゴリ） ---- */
.section-dark .faq-item { background: var(--paper); }
.section-dark .faq-item summary { color: var(--ink); }

/* ============================================================
   FAQ：ご相談の種類ごとに折りたたむ（大カテゴリ）
   ============================================================ */
.faq-cats { max-width: 880px; margin: 0 auto; display: grid; gap: 20px; }

.faq-cat {
  background: var(--dark);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transition: box-shadow .2s ease, transform .2s ease;
}
.faq-cat[open] { box-shadow: 6px 6px 0 var(--ink); }
.faq-cat:not([open]):hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }

.faq-cat > summary {
  position: relative;
  list-style: none; cursor: pointer;
  padding: 26px 66px 24px 26px;
  color: var(--cream);
}
.faq-cat > summary::-webkit-details-marker { display: none; }
.faq-cat-en {
  display: block;
  font-family: var(--disp); font-weight: 700; font-size: 10.5px;
  letter-spacing: .3em; color: var(--orange); text-transform: uppercase;
  margin-bottom: 8px;
}
.faq-cat > summary b {
  display: block;
  font-size: 21px; font-weight: 900; letter-spacing: .04em; line-height: 1.5;
}
.faq-cat > summary small {
  display: block; margin-top: 6px;
  font-size: 12.5px; font-weight: 400; color: #a7ac9c; letter-spacing: .02em;
}
/* 開閉の＋／− */
.faq-cat > summary::before,
.faq-cat > summary::after {
  content: ""; position: absolute; right: 26px;
  background: var(--cream);
  transition: transform .28s ease, background .2s ease;
}
.faq-cat > summary::before { top: 50%; margin-top: -1.5px; width: 20px; height: 3px; }
.faq-cat > summary::after  { top: 50%; margin-top: -10px; width: 3px; height: 20px; right: 34.5px; }
.faq-cat[open] > summary::after { transform: rotate(90deg); opacity: 0; }
.faq-cat > summary:hover::before,
.faq-cat > summary:hover::after { background: var(--orange); }

.faq-cat-body {
  background: var(--cream-2);
  border-top: 1.5px solid var(--ink);
  padding: 24px 22px 26px;
}
.faq-cat-body .faq { display: grid; gap: 12px; }
.faq-cat-body .faq-item { background: var(--paper); }

@media (max-width: 640px) {
  .faq-cat > summary { padding: 22px 52px 20px 18px; }
  .faq-cat > summary b { font-size: 17.5px; }
    .faq-cat > summary::before { right: 18px; width: 17px; }
  .faq-cat > summary::after { right: 25px; height: 17px; margin-top: -8.5px; }
  .faq-cat-body { padding: 18px 14px 20px; }
}

/* ---- 代表ごあいさつ：冒頭の一文を大きく ---- */
.message-lead {
  font-size: 20px !important; font-weight: 900; line-height: 1.75;
  color: var(--ink) !important;
  letter-spacing: .02em;
  padding-left: 16px;
  border-left: 5px solid var(--orange);
  margin-bottom: 1.6em !important;
}
/* 文章量が増えたため、写真は上寄せにして読みやすくする */
.message-grid { align-items: start; }
.message-photo { position: sticky; top: 104px; }
@media (max-width: 900px) {
  .message-photo { position: static; }
  .message-lead { font-size: 17.5px !important; padding-left: 13px; border-left-width: 4px; }
}

/* 代表ごあいさつ：文中の小見出し */
.message-h3 {
  margin: 2.2em 0 1.1em;
  padding-bottom: 12px;
  font-size: 17.5px; font-weight: 900; letter-spacing: .04em; line-height: 1.7;
  color: var(--ink);
  border-bottom: 2.5px solid var(--orange);
}
@media (max-width: 900px) { .message-h3 { font-size: 16px; margin-top: 1.9em; } }

/* ---- 長文本文の折り返し ----
   word-break: auto-phrase は文節単位で折り返すため、見出しや短文では有効だが
   長文に適用すると行末が大きく凸凹する。本文は文字単位の折り返し（日本語の標準）に戻す。
   禁則処理は line-break: strict で維持されるため、行頭に「、」等が来ることはない。 */
.message-text p,
.faq-a p,
.steps-v-body p,
.split-body p,
.case-desc,
.case-caution li,
.check-list li {
  word-break: normal;
}
/* 代表ごあいさつ：本文幅を広げて1行あたりの文字数を確保する */
.message-grid { grid-template-columns: 340px 1fr; gap: 48px; max-width: 1040px; }

/* ── 中間CTA ─────────────────────────────────────────────────
   下部の .cta-band（大きなダーク面）とは別物。
   本文の山場を読み終えた地点で、読書を止めずにその場で行動できる受け皿。
   各ページに1本だけ置く。くどくならないよう見た目は意図的に軽くする。 */
.midcta {
  max-width: 1080px;
  /* 前後のセクションが濃色面のこともあるため、食い込ませず
     セクション本来の余白（上100px／下110px）の中に置く。 */
  margin: 0 auto;
  padding: 0 24px;
}
.midcta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 24px 30px;
  transform: rotate(-0.35deg);
}
.midcta-text {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}
.midcta-text small {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink-soft);
}
.midcta .btn { flex: 0 0 auto; }

@media (max-width: 760px) {
  .midcta { margin: 0 auto; }
  .midcta-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 18px;
    padding: 22px 20px;
    transform: none;
  }
  .midcta .btn { width: 100%; }
}
