/* =========================================================
   J4C 共通スタイル（全ページで読み込む）
   ヘッダー / フッター / ボタン / 見出し / 基本設定
   ========================================================= */

:root {
  --c-text: #1a1a1a;
  --c-sub: #444;       /* 説明文・補足文 */
  --c-muted: #707070;  /* 日付・小さな補足 */
  --c-line: #e3e5e6;
  --c-bg: #ffffff;
  --c-bg-soft: #f7f8f8;
  --c-black: #111;
  --c-orange: #ff8a00;
  --c-orange-deep: #f2541b;
  --c-yellow: #ffd400;
  --c-green: #6ab42d;

  --f-base: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-en: "Poppins", "Noto Sans JP", sans-serif;
  --f-hand: "Yomogi", "Klee One", "Hiragino Maru Gothic ProN", cursive;

  --container: 1240px;
  --header-h: 92px;
  --radius-s: 8px;
  --radius-m: 14px;
  --shadow-soft: 0 6px 24px rgba(30, 30, 30, 0.08);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--f-base);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 15px;
  line-height: 1.8;
  font-feature-settings: "palt" 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a[aria-disabled="true"] { cursor: default; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 80px);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- 見出し共通 ---------- */
.section-en {
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-text);
  margin-bottom: 4px;
}
.section-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
.section-lead {
  margin-top: 6px;
  font-size: 14px;
  color: var(--c-sub);
  letter-spacing: 0.06em;
}

/* ---------- 矢印（CSSで描画） ---------- */
.arrow,
.btn-circle,
.btn-round,
.service-arrow,
.news-arrow { position: relative; display: inline-block; flex-shrink: 0; }

.arrow { width: 14px; height: 10px; margin-left: 10px; }
.arrow::before,
.btn-circle::before,
.btn-round::before,
.news-arrow::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.6px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.arrow::after,
.btn-circle::after,
.btn-round::after,
.news-arrow::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: translate(-1px, -50%) rotate(45deg);
}

/* ---------- ボタン ---------- */
.btn-circle {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-black);
}
.btn-circle-gray { background: #eef0f1; }

.btn-black,
.btn-white,
.btn-ghost,
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}

.btn-black {
  min-width: 230px;
  padding: 10px 28px 10px 12px;
  border-radius: 999px;
  background: var(--c-black);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.btn-black:hover { transform: translateY(-2px); }

.btn-white,
.btn-ghost {
  min-width: 250px;
  padding: 12px 28px 12px 14px;
  border-radius: 6px;
}
.btn-white { background: #fff; color: var(--c-text); }
.btn-white .btn-circle { background: #eef0f1; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .85); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost .btn-circle { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-white:hover, .btn-ghost:hover { transform: translateY(-2px); }

.btn-pill {
  padding: 12px 30px 12px 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
a.btn-pill:not([aria-disabled]):hover { transform: translateY(-2px); }

.btn-round {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--c-black);
  color: #fff;
}
.btn-round-lg { width: 64px; height: 64px; }
.btn-round-lg::before { width: 16px; }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-inner {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4.5% 0 8.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-brand { display: flex; align-items: center; gap: 22px; }
.header-logo { width: 128px; }
.header-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.75;
}

.global-nav { display: flex; align-items: center; gap: 40px; }
.global-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  position: relative;
}
.global-nav > a:not(.nav-contact)::after,
.nav-item > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--c-orange);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.global-nav > a:not(.nav-contact):hover::after,
.global-nav > a[aria-current="page"]::after,
.nav-item > a:hover::after,
.nav-item.is-current > a::after { transform: scaleX(1); }

/* ---------- サブメニュー（私たちについて） ---------- */
.nav-item { position: relative; }
.nav-item > a { display: inline-block; }
.sub-nav {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 190px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
/* マウスがメニューとの間のすき間を通っても閉じないようにする */
.sub-nav::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover .sub-nav,
.has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.global-nav .sub-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.global-nav .sub-nav a:hover,
.global-nav .sub-nav a[aria-current="page"] { background: #fff6e8; color: var(--c-orange); }

.global-nav .nav-contact {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 11px 26px;
  border-radius: 999px;
  background: var(--c-black);
  color: #fff;
  font-weight: 700;
}

.menu-toggle { display: none; }

/* =========================================================
   下層ページ共通（これまでの歩み・私たちの想い など）
   ページ見出し／パンくず／左の目次／2カラムの枠／表示アニメーション
   ========================================================= */
:root {
  --page-max: 1320px;   /* 本文エリアの最大幅（左右の余白込み） */
  --page-pad: 40px;     /* 画面端との余白 */
}

/* 写真を画面右端まで伸ばすときの横スクロール防止 */
main { overflow-x: clip; }

/* ---------- ページ見出し ---------- */
.page-head {
  position: relative;
  z-index: 3;
  pointer-events: none;
}
.page-head a { pointer-events: auto; }

/* 背景の太い曲線 */
.page-head-wave {
  position: absolute;
  top: 10px;
  right: 0;
  width: 64%;
  height: 250px;
  overflow: visible;
  animation: wave-draw 1.6s var(--ease) .2s both;
}
.page-head-wave path {
  fill: none;
  stroke: rgba(232, 232, 230, .62);
  stroke-width: 72px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
/* 右から左へ線が伸びていくように見せる */
@keyframes wave-draw {
  from { clip-path: inset(-60px -60px -60px 100%); }
  to   { clip-path: inset(-60px -60px -60px -60px); }
}

.page-head-inner {
  position: relative;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 84px var(--page-pad) 46px calc(var(--page-pad) + 56px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.page-head-en {
  font-family: var(--f-en);
  font-size: clamp(54px, 6.4vw, 92px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  overflow: hidden;           /* 文字が下からせり上がる */
  padding-bottom: .08em;
}
/* common.js が1文字ずつ <span class="char"> に分ける */
.page-head-en .char {
  display: inline-block;
  transform: translateY(105%);
  animation: char-rise .8s var(--ease) both;
  animation-delay: calc(.15s + var(--i) * .05s);
}
@keyframes char-rise { to { transform: translateY(0); } }

.page-head-ja {
  margin-top: 14px;
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-orange);
  animation: fade-up .8s var(--ease) .6s both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.breadcrumb {
  display: flex;
  align-items: center;
  margin: 0 0 54px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  animation: fade-up .8s var(--ease) .8s both;
}
.breadcrumb li + li::before {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  margin: 0 14px 2px;
  border-radius: 50%;
  background: #cfcfcf;
  vertical-align: middle;
}
.breadcrumb a:hover { color: var(--c-orange); }
.breadcrumb [aria-current="page"] { color: var(--c-orange); }

/* ---------- 2カラムの枠（左：目次／右：本体） ---------- */
.page-body {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad) 120px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 40px;
}

/* ---------- 左の目次（スクロールしても残る） ---------- */
.side-nav ul {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  padding-top: 4px;
}
.side-nav li + li { margin-top: 6px; }
.side-nav a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--c-text);
  transition: color .25s;
}
.side-nav a::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c-orange);
  transform: translateY(-50%) scale(0);
  transition: transform .25s var(--ease);
}
.side-nav a:hover,
.side-nav a.is-active { color: var(--c-orange); }
.side-nav a.is-active::before { transform: translateY(-50%) scale(1); }

/* ---------- スクロールで表示（common.js が .is-in を付ける） ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * .12s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  :root { --page-pad: 22px; }
  .page-head-wave { width: 90%; height: 170px; }
  .page-head-wave path { stroke-width: 44px; }
  .page-head-inner { flex-direction: column; align-items: flex-start; padding: 44px 22px 30px; }
  .breadcrumb { order: -1; margin: 0 0 18px; }
  .page-body { grid-template-columns: 1fr; gap: 0; padding-bottom: 80px; }
  .side-nav { display: none; }
}

/* 動きを減らす設定のときはアニメーションなしで表示 */
@media (prefers-reduced-motion: reduce) {
  .page-head-wave,
  .page-head-ja,
  .breadcrumb,
  .page-head-en .char { animation: none; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   事業所リンク帯（フッター直前・全ページ共通）
   ========================================================= */
.pre-footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(30, 30, 30, .42) 0%, rgba(30, 30, 30, .22) 55%, rgba(30, 30, 30, .1) 100%),
    url("images/footer-bg.jpg") center 35% / cover no-repeat;
  color: #fff;
}
.pre-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 40px 190px;
  text-align: center;
}
.pre-footer-title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.pre-footer-lead {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
.office-links {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  text-align: left;
}
.office-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .97);
  color: var(--c-text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.office-link:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .16); }
.office-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff6e8;
  display: grid;
  place-items: center;
}
.office-icon svg { width: 28px; height: 28px; }
.office-text {
  flex: 1;
  word-break: keep-all;     /* 事業所名がスペースの位置で改行されるように */
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.office-text small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #d0650a;
  letter-spacing: 0.06em;
}
.office-arrow {
  position: relative;
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
}
.office-arrow::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  border-top: 1.6px solid var(--c-text);
  border-right: 1.6px solid var(--c-text);
  transform: translate(-70%, -50%) rotate(45deg);
}

/* 黄色〜オレンジの波（帯とフッターの境目） */
.pre-footer-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 170px;
  pointer-events: none;
}
.pre-footer-wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pre-footer-hand {
  position: absolute;
  left: max(5.5%, calc((100vw - 1320px) / 2 + 40px));
  bottom: 22px;
  font-family: var(--f-hand);
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: #222;
  transform: rotate(-7deg);
  transform-origin: left bottom;
}
.pre-footer-hand span { display: inline-block; padding-left: 2.6em; }

/* =========================================================
   フッター（全ページ共通）
   ========================================================= */
.site-footer {
  position: relative;
  background: #fffcf6;
}
.footer-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 40px 56px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 2fr;
  gap: 60px;
}

/* ---------- 左：会社情報 ---------- */
.footer-logo { display: inline-block; }
.footer-logo img { width: 130px; }
.footer-tagline {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--c-sub);
}
.footer-name {
  margin-top: 26px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.footer-address {
  margin-top: 8px;
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--c-sub);
}
.footer-tel {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.footer-tel-label {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-orange);
  letter-spacing: 0.08em;
}
.footer-tel a {
  font-family: var(--f-en);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.footer-hours {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--c-sub);
}
.footer-contact {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--c-black);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform .25s var(--ease);
}
.footer-contact:hover { transform: translateY(-2px); }

/* ---------- 右：サイトマップ ---------- */
.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-top: 6px;
}
.footer-sitemap ul { margin: 0; padding: 0; list-style: none; }
.footer-sitemap > ul > li + li { margin-top: 22px; }
.footer-sitemap > ul > li > a {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.footer-sitemap li ul { margin-top: 10px; }
.footer-sitemap li ul li + li { margin-top: 6px; }
.footer-sitemap li ul a {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--c-sub);
}
.footer-sitemap li ul a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 1px;
  background: var(--c-orange);
}
.footer-sitemap a:not([aria-disabled]):hover { color: var(--c-orange); }
.footer-sitemap a[aria-disabled="true"] { color: var(--c-muted); }
.soon {
  display: inline-block;
  white-space: nowrap;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #f0eee9;
  font-size: 11px;
  font-weight: 500;
  color: var(--c-muted);
  vertical-align: 2px;
}

/* ---------- 下段（中央そろえ） ---------- */
.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 40px 30px;
  border-top: 1px solid #ece8df;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-sub { display: flex; align-items: center; justify-content: center; }
.footer-sub a { font-size: 12px; color: var(--c-muted); letter-spacing: 0.06em; padding: 0 16px; line-height: 1.2; white-space: nowrap; }
.footer-sub a + a { border-left: 1px solid #d9d4c9; }
.copyright {
  font-size: 12px;
  color: var(--c-muted);
  letter-spacing: 0.06em;
}

/* ---------- ページトップボタン（右下に浮かぶ） ---------- */
.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 50px; height: 50px;
  border: 1px solid #e6e1d6;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, border-color .25s;
}
/* common.js が少しスクロールしたら .is-show を付ける */
.page-top.is-show { opacity: 1; visibility: visible; transform: none; }
.page-top:hover { border-color: var(--c-orange); }
.page-top::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 9px; height: 9px;
  border-top: 1.8px solid var(--c-text);
  border-left: 1.8px solid var(--c-text);
  transform: translate(-50%, -25%) rotate(45deg);
}

/* =========================================================
   レスポンシブ（共通）
   ========================================================= */
/* 中くらいの画面幅 */
@media (max-width: 1180px) {
  .office-links { grid-template-columns: repeat(2, 1fr); }
  .footer-main { gap: 40px; }
}

@media (max-width: 1180px) {
  .global-nav { gap: 26px; }
  .header-inner { padding: 0 32px; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  body { font-size: 14px; }
  .container { padding: 0 22px; }
  .header-inner { padding: 0 18px; }
  .header-logo { width: 86px; }
  .header-tagline { font-size: 11px; letter-spacing: 0.14em; }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 46px; height: 46px;
    padding: 0 11px;
    border-radius: 50%;
    background: var(--c-black);
    z-index: 2;
  }
  .menu-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .global-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 28px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;   /* 閉じているときはタップに反応しない */
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .global-nav a { padding: 16px 4px; border-bottom: 1px solid var(--c-line); font-size: 15px; }
  .global-nav > a:not(.nav-contact)::after,
  .nav-item > a::after { display: none; }
  .nav-item > a { display: block; }
  .sub-nav {
    position: static;
    min-width: 0;
    padding: 0 0 0 16px;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: inherit;    /* メニューが閉じていればサブメニューも見えない・押せない */
    transform: none;
  }
  .has-sub:hover .sub-nav,
  .has-sub:focus-within .sub-nav { transform: none; }
  .sub-nav::before { display: none; }
  .global-nav .sub-nav a { padding: 12px 4px; border-radius: 0; font-size: 14px; color: var(--c-sub); }
  .global-nav .sub-nav a::before { content: "－"; margin-right: 8px; color: var(--c-orange); }
  .global-nav .sub-nav a:hover,
  .global-nav .sub-nav a[aria-current="page"] { background: none; }
  .global-nav .nav-contact { margin: 20px 0 0; justify-content: center; border-bottom: 0; }

  .pre-footer-inner { padding: 52px 22px 170px; }
  .pre-footer-wave { height: 140px; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; padding: 48px 22px 40px; }
  .footer-sitemap { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
  .footer-bottom { padding: 18px 22px 26px; }
  .page-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

@media (max-width: 560px) {
  .office-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
