/* ===== 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; }
}
