@charset "UTF-8";

/* ========================================================================
   笑声×クリエイト | style.css
   仕様書 ver.7.0 準拠 / インラインstyle禁止 / unsafe-inline不使用CSP対応
   ver.2: REHAS風手書きトーンへ全面リデザイン
   ======================================================================== */

/* ---------- 1. CSS Variables（デザインシステム） ---------- */
:root {
  /* カラーパレット */
  --color-main:     #007C95;
  --color-accent:   #E8461E;
  --color-text:     #333333;
  --color-muted:    #666666;
  --color-bg:       #F9F9F9;
  --color-white:    #FFFFFF;
  --color-border:   #E5E5E5;
  --color-deco:     #F2A89A;
  --color-deco-light: #FBDDD4;
  --color-deco-deep:  #E88675;
  --color-skeleton: #EEEEEE;

  /* 角丸 */
  --radius-card:    20px;
  --radius-pill:    9999px;
  --radius-section: 80px;

  /* タイポグラフィ */
  --font-base:    'Noto Sans JP', system-ui, -apple-system, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-hand:    'Yomogi', 'Klee One', 'Zen Kurenaido', var(--font-base);
  --font-display: 'Klee One', 'Zen Kurenaido', var(--font-base);
  --line-height:    1.8;
  --letter-spacing: 0.05em;

  /* 余白 */
  --section-pad:    120px;

  /* z-index */
  --z-skip:    9999;
  --z-header:  100;
  --z-menu:    1000;
  --z-overlay: 1500;
  --z-modal:   2000;

  /* 影 */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 30px rgba(0, 124, 149, 0.15);
}

/* ---------- 2. リセット・基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* 本文中リンクは色＋下線で識別（仕様書3.リンクスタイルルール） */
main a {
  color: var(--color-main);
  text-decoration: underline;
  text-underline-offset: 3px;
}
main a:hover { color: var(--color-accent); }

/* ナビ・ボタンのリンクは下線不要 */
.gnav a, .btn, .footer-nav a, .breadcrumb a, .skip-link {
  text-decoration: none;
}

/* focus-visible（キーボード時のみフォーカスリング） */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. skip link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: var(--z-skip);
  padding: 12px 20px;
  background: var(--color-main);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---------- 4. ユーティリティ ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: var(--section-pad) 0;
}
.section-bg {
  background: var(--color-bg);
}
.section-rounded {
  border-radius: var(--radius-section) var(--radius-section) 0 0;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* セクション見出し */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 16px;
  color: var(--color-text);
}
.section-title-en {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-main);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-lead {
  text-align: center;
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 720px;
  margin: 0 auto 60px;
}

/* ---------- 5. ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background: #d23a14;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 70, 30, 0.3);
}
.btn-secondary {
  background: var(--color-main);
  color: var(--color-white);
}
.btn-secondary:hover {
  background: #006477;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--color-main);
  border: 2px solid var(--color-main);
}
.btn-ghost:hover {
  background: var(--color-main);
  color: var(--color-white);
}
.btn-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform 0.2s;
}
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- 6. ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-main);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.site-logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--color-main);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 700;
}
.gnav { display: flex; }
.gnav-list {
  display: flex;
  gap: 32px;
}
.gnav-list a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s;
}
.gnav-list a:hover { color: var(--color-main); }
.gnav-list a[aria-current="page"] {
  color: var(--color-main);
  font-weight: 700;
}
.gnav-list a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}
.header-cta {
  display: flex;
  gap: 12px;
}
.header-cta .btn { padding: 10px 22px; font-size: 0.875rem; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: calc(var(--z-menu) + 1);
}
.hamburger-line {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, top 0.3s, opacity 0.3s;
}
.hamburger-line:nth-child(1) { top: 14px; }
.hamburger-line:nth-child(2) { top: 21px; }
.hamburger-line:nth-child(3) { top: 28px; }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  top: 21px; transform: rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  top: 21px; transform: rotate(-45deg);
}

/* スマホメニュー */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100%; height: 100vh; height: 100dvh;
  background: var(--color-white);
  z-index: var(--z-menu);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 32px;
  overflow-y: auto;
  visibility: hidden;
}
.mobile-menu[aria-hidden="false"] {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.mobile-menu-list a {
  display: block;
  padding: 16px 8px;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
}
.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.mobile-menu-cta .btn { width: 100%; }

/* ---------- 7. Hero（REHAS風・大胆な装飾） ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: var(--color-white);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding-right: 0;
  min-width: 0; /* gridの収縮を許可 */
}

/* ----- ピンクの装飾ブロブ（REHAS風・シンプル円形） ----- */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  pointer-events: none;
  background: var(--color-deco);
}

/* 個別配置・サイズ・色・不整形シェイプ（10個・小さめ・重なりあり） */

/* ── タイトル周辺クラスター（左上） ── */
.hero-blob-1 {
  /* 大きめ：タイトル左上の主役 */
  width: 110px; height: 118px;
  top: 6%; left: 4%;
  opacity: 0.65;
  background: var(--color-deco);
  border-radius: 62% 38% 52% 48% / 44% 58% 42% 56%;
  animation: blob-float 7s ease-in-out infinite;
}
.hero-blob-2 {
  /* blob-1 に重なる小さめ濃いめ */
  width: 58px; height: 62px;
  top: 4%; left: 16%;
  opacity: 0.8;
  background: var(--color-deco-deep);
  border-radius: 44% 56% 68% 32% / 60% 42% 58% 40%;
  animation: blob-float 5.5s ease-in-out infinite -2s;
}
.hero-blob-3 {
  /* タイトル左、少し下 */
  width: 46px; height: 50px;
  top: 22%; left: 0%;
  opacity: 0.6;
  background: var(--color-deco);
  border-radius: 70% 30% 45% 55% / 38% 62% 40% 60%;
  animation: blob-float 6s ease-in-out infinite -1s;
}
.hero-blob-4 {
  /* タイトル文字の中央付近 */
  width: 78px; height: 72px;
  top: 14%; left: 30%;
  opacity: 0.55;
  background: var(--color-deco);
  border-radius: 55% 45% 38% 62% / 50% 62% 38% 50%;
  animation: blob-float 8s ease-in-out infinite -3s;
}
.hero-blob-5 {
  /* タイトル下あたり・左側 */
  width: 42px; height: 46px;
  top: 38%; left: 12%;
  opacity: 0.7;
  background: var(--color-deco-deep);
  border-radius: 48% 52% 60% 40% / 64% 36% 62% 38%;
  animation: blob-float 6.5s ease-in-out infinite -1.5s;
}

/* ── 右側（画像エリア周辺） ── */
.hero-blob-6 {
  /* 画像上方・右寄り */
  width: 68px; height: 64px;
  top: 5%; right: 28%;
  opacity: 0.72;
  background: var(--color-deco-deep);
  border-radius: 52% 48% 36% 64% / 58% 44% 56% 42%;
  animation: blob-float 7.5s ease-in-out infinite -4s;
}
.hero-blob-7 {
  /* blob-6 に重なる小さい */
  width: 38px; height: 42px;
  top: 2%; right: 18%;
  opacity: 0.65;
  background: var(--color-deco);
  border-radius: 66% 34% 52% 48% / 42% 58% 46% 54%;
  animation: blob-float 5s ease-in-out infinite -0.5s;
}
.hero-blob-8 {
  /* 右下寄り */
  width: 82px; height: 88px;
  bottom: 14%; right: 6%;
  opacity: 0.5;
  background: var(--color-deco-light);
  border-radius: 44% 56% 62% 38% / 52% 48% 54% 46%;
  animation: blob-float 9s ease-in-out infinite -2.5s;
}

/* ── 下部・散らし ── */
.hero-blob-9 {
  /* 左下 */
  width: 50px; height: 46px;
  bottom: 20%; left: 22%;
  opacity: 0.6;
  background: var(--color-deco-deep);
  border-radius: 38% 62% 54% 46% / 60% 40% 68% 32%;
  animation: blob-float 6.5s ease-in-out infinite -3.5s;
}
.hero-blob-10 {
  /* 中央下、小さい */
  width: 34px; height: 36px;
  bottom: 28%; left: 40%;
  opacity: 0.5;
  background: var(--color-deco);
  border-radius: 58% 42% 46% 54% / 44% 56% 40% 60%;
  animation: blob-float 7s ease-in-out infinite -5s;
}

/* ふわっと揺れるアニメ（reduced-motion時はOFF） */
@keyframes blob-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-main);
  background: rgba(0, 124, 149, 0.08);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

/* ========== メインコピー（手書き・大型） ========== */
.hero-title {
  font-family: var(--font-hand);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin: 0 0 32px;
  color: var(--color-text);
}
.hero-title .accent {
  color: var(--color-main);
  position: relative;
  display: inline-block;
  font-family: var(--font-hand);
}
.hero-title .accent::after {
  content: '';
  position: absolute;
  left: -2px; right: -2px;
  bottom: 0;
  height: 12px;
  background: var(--color-deco);
  opacity: 0.6;
  z-index: -1;
  border-radius: 50% 30% 60% 40% / 60% 50% 50% 60%;
  transform: rotate(-1deg);
}
.hero-title .line { display: block; }
.hero-title .line + .line { margin-top: 0.1em; }

.hero-text {
  font-size: 1rem;
  color: var(--color-muted);
  margin: 0 0 36px;
  max-width: 520px;
  line-height: 2;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* ========== Hero右：動画スペース（大型楕円） ========== */
.hero-media-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 88vh;
  display: grid;
  place-items: center;
}
.hero-media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #007C95 0%, #00A2BD 50%, #00B4D0 100%);
  box-shadow:
    0 40px 80px -20px rgba(0, 124, 149, 0.35),
    0 20px 40px -16px rgba(0, 124, 149, 0.2);
}
.hero-media video,
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.25), transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(242, 168, 154, 0.35), transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.hero-media-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  z-index: 2;
  letter-spacing: 0.12em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
  font-family: var(--font-display);
  pointer-events: none;
}
.hero-media-label.is-hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s;
}
.hero-media-label small {
  display: block;
  font-size: 0.55em;
  margin-top: 0.4em;
  color: var(--color-deco-light);
  letter-spacing: 0.08em;
  font-family: var(--font-base);
  font-weight: 500;
}

/* ---------- 8. NEWSテロップバー ---------- */
.news-ticker {
  background: var(--color-main);
  color: var(--color-white);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.news-ticker-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.news-ticker-label {
  flex-shrink: 0;
  padding: 4px 14px;
  background: var(--color-accent);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-left: 24px;
}
.news-ticker-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.news-ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 40s linear infinite;
  font-size: 0.9375rem;
}
.news-ticker-content a {
  color: var(--color-white);
  margin-right: 48px;
  text-decoration: none;
}
.news-ticker-content a:hover { text-decoration: underline; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.news-ticker[data-state="loading"] .news-ticker-content {
  animation: none;
  opacity: 0.5;
}

/* ---------- 9. 使命セクション ---------- */
.mission-box {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 48px;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  text-align: center;
  position: relative;
}
.mission-box::before,
.mission-box::after {
  content: '';
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--color-deco);
  opacity: 0.2;
  z-index: -1;
}
.mission-box::before { top: -30px; left: -30px; }
.mission-box::after { bottom: -30px; right: -30px; background: var(--color-main); }
.mission-quote {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
  margin: 0 0 32px;
}
.mission-quote .em {
  color: var(--color-main);
  font-weight: 700;
}

/* ---------- 10. 事業紹介セクション（フルブリード背景） ---------- */
.business {
  position: relative;
  color: var(--color-white);
  padding: var(--section-pad) 0;
  overflow: hidden;
  isolation: isolate;
}
.business::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #005f73 0%, var(--color-main) 50%, #0096b3 100%);
  z-index: -2;
}
.business::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 168, 154, 0.15), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(232, 70, 30, 0.1), transparent 40%);
  z-index: -1;
}
.business .section-title { color: var(--color-white); }
.business .section-title-en { color: var(--color-deco); }
.business .section-lead { color: rgba(255, 255, 255, 0.85); }
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.business-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  transition: transform 0.3s, background 0.3s;
}
.business-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
}
.business-card-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-deco);
  margin-bottom: 12px;
}
.business-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.4;
}
.business-card-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px;
}
.business-card .btn {
  background: var(--color-white);
  color: var(--color-main);
  font-size: 0.8125rem;
  padding: 10px 22px;
}
.business-card .btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* ---------- 11. 事業所情報セクション ---------- */
.info {
  background: var(--color-bg);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.info-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}
.info-card:hover { transform: translateY(-4px); }
.info-card-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  background: rgba(0, 124, 149, 0.08);
  border-radius: 50%;
  color: var(--color-main);
}
.info-card-icon svg { width: 28px; height: 28px; }
.info-card-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
  margin: 0 0 6px;
  letter-spacing: 0.1em;
}
.info-card-value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
}

/* ---------- 12. 新着情報セクション ---------- */
.news-list {
  max-width: 880px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-list li {
  display: grid;
  grid-template-columns: 110px 100px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s;
}
.news-list li:hover { background: rgba(0, 124, 149, 0.03); }
.news-list .date {
  font-size: 0.875rem;
  color: var(--color-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.news-list .category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--color-white);
  background: var(--color-main);
  border-radius: var(--radius-pill);
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.news-list .title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}
/* スケルトン */
.skeleton {
  height: 64px;
  background: linear-gradient(90deg, var(--color-skeleton) 0%, #F5F5F5 50%, var(--color-skeleton) 100%);
  background-size: 200% 100%;
  border-radius: 8px;
  margin-bottom: 8px;
  animation: skeleton 1.5s ease-in-out infinite;
}
@keyframes skeleton {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.news-cta { text-align: center; }

/* ---------- 13. CTAセクション（共通） ---------- */
.cta-section {
  background: var(--color-bg);
  padding: 80px 0;
  text-align: center;
}
.cta-section .section-title { margin-bottom: 16px; }
.cta-section .section-lead { margin-bottom: 32px; }
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- 14. フッター ---------- */
.site-footer {
  background: #1A2730;
  color: var(--color-white);
  padding: 80px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand .site-logo { color: var(--color-white); }
.footer-brand .site-logo-mark { background: var(--color-white); color: var(--color-main); }
.footer-brand p {
  margin: 16px 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}
.footer-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px 16px;
  font-size: 0.875rem;
}
.footer-info dt { color: rgba(255, 255, 255, 0.5); }
.footer-info dd { margin: 0; color: rgba(255, 255, 255, 0.9); }
.footer-info a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}
.footer-info a:hover {
  color: var(--color-deco);
  text-decoration-color: var(--color-deco);
}
.footer-nav-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-deco);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--color-white); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 15. パンくずリスト ---------- */
.breadcrumb {
  padding: 100px 0 16px;
  background: var(--color-bg);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.8125rem;
  color: var(--color-muted);
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 8px;
  color: var(--color-border);
}
.breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--color-main); text-decoration: underline; }
.breadcrumb [aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

/* ---------- 16. ページヘッダ（下層共通） ---------- */
.page-hero {
  background: var(--color-bg);
  padding: 40px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--color-deco);
  opacity: 0.15;
  z-index: 0;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-en {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--color-main);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  margin: 0 0 16px;
}
.page-hero-text {
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-muted);
}

/* ---------- 17. work.html ---------- */
.work-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  max-width: 980px;
  margin: 0 auto;
}
.work-item {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 48px;
  border: 1px solid var(--color-border);
}
.work-item:nth-child(even) {
  grid-template-columns: 1fr 1.2fr;
}
.work-item:nth-child(even) .work-item-media { order: -1; }
.work-item-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-main), #00A2BD);
  border-radius: var(--radius-card);
  display: grid; place-items: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.25rem;
  position: relative;
  overflow: hidden;
}
.work-item-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 50%);
}
.work-item-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.work-item-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 12px;
}
.work-item-text {
  color: var(--color-muted);
  margin: 0 0 20px;
  font-size: 0.9375rem;
}

/* ハッシュタグ */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}
.tag {
  font-size: 0.8125rem;
  color: var(--color-main);
  background: rgba(0, 124, 149, 0.08);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}

/* 工賃シミュレーション */
.wage-sim {
  max-width: 720px;
  margin: 80px auto 0;
  background: var(--color-bg);
  padding: 48px 40px;
  border-radius: var(--radius-card);
}
.wage-sim h3 {
  text-align: center;
  font-size: 1.375rem;
  margin: 0 0 8px;
}
.wage-sim p {
  text-align: center;
  color: var(--color-muted);
  margin: 0 0 32px;
  font-size: 0.9375rem;
}
.wage-sim-control {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.wage-sim-control label {
  font-size: 0.875rem;
  color: var(--color-muted);
  flex-shrink: 0;
  width: 100px;
}
.wage-sim-control input[type="range"] {
  flex: 1;
  accent-color: var(--color-main);
}
.wage-sim-control output {
  font-weight: 700;
  color: var(--color-main);
  width: 80px;
  text-align: right;
  font-size: 1.0625rem;
}
.wage-sim-result {
  background: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-card);
  text-align: center;
  border: 2px solid var(--color-main);
}
.wage-sim-result-label {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0 0 4px;
}
.wage-sim-result-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-main);
  margin: 0;
}
.wage-sim-result-value .yen {
  font-size: 1rem;
  margin-left: 4px;
}
.wage-sim-note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  text-align: center;
  margin: 16px 0 0;
}

/* ---------- 18. about.html ---------- */
.philosophy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.philosophy-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 32px;
  line-height: 1.5;
}
.philosophy-title .em {
  color: var(--color-main);
}
.philosophy-text {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-muted);
  margin: 0 0 24px;
}
.about-table {
  max-width: 720px;
  margin: 60px auto 0;
  width: 100%;
  border-collapse: collapse;
}
.about-table th,
.about-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
}
.about-table th {
  width: 30%;
  font-weight: 500;
  color: var(--color-muted);
  background: var(--color-bg);
}
.about-table td { color: var(--color-text); }

/* システム図 */
.system-diagram {
  max-width: 880px;
  margin: 60px auto 0;
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: 40px;
}
.system-diagram svg {
  width: 100%;
  height: auto;
}
.system-diagram-caption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 16px 0 0;
}

/* ---------- 19. access.html ---------- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.access-info h2 {
  font-size: 1.5rem;
  margin: 0 0 24px;
}
.access-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
.access-table th,
.access-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
}
.access-table th {
  width: 45%;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg);
}
.access-table .duration {
  font-weight: 700;
  color: var(--color-main);
}
.access-map {
  aspect-ratio: 4 / 3;
  background: var(--color-bg);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.access-tel-cta {
  margin-top: 24px;
}

/* ---------- 20. contact.html / フォーム ---------- */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.form-intro {
  text-align: center;
  margin-bottom: 48px;
}
.form-intro p {
  color: var(--color-muted);
  margin: 0 0 16px;
}
.form-intro .tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-main);
  text-decoration: none;
  padding: 12px 24px;
  border: 2px solid var(--color-main);
  border-radius: var(--radius-pill);
}
.form-intro .tel:hover {
  background: var(--color-main);
  color: var(--color-white);
}

.contact-form {
  background: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
}
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}
.form-label .required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.6875rem;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.form-label .optional {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.6875rem;
  background: var(--color-border);
  color: var(--color-muted);
  border-radius: 4px;
  font-weight: 500;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-main);
  box-shadow: 0 0 0 3px rgba(0, 124, 149, 0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}
.form-error {
  margin: 8px 0 0;
  padding: 8px 12px;
  background: rgba(232, 70, 30, 0.08);
  color: var(--color-accent);
  font-size: 0.8125rem;
  border-radius: 6px;
  border-left: 3px solid var(--color-accent);
}
.form-help {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 6px 0 0;
}
/* ハニーポット（CSS非表示） */
.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-submit-wrap {
  text-align: center;
  margin-top: 32px;
}
.form-submit {
  min-width: 240px;
  padding: 16px 40px;
  font-size: 1rem;
}
.form-submit:disabled {
  background: var(--color-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.form-privacy {
  font-size: 0.8125rem;
  color: var(--color-muted);
  text-align: center;
  margin: 16px 0 0;
}

/* ---------- 21. thanks.html / 404.html ---------- */
.utility-page {
  padding: 160px 0 120px;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.utility-page .container { width: 100%; }
.utility-icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  display: grid; place-items: center;
  background: rgba(0, 124, 149, 0.08);
  border-radius: 50%;
  color: var(--color-main);
}
.utility-icon svg { width: 40px; height: 40px; }
.utility-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 16px;
}
.utility-text {
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}
.utility-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 404のリンクリスト */
.notfound-links {
  margin: 40px auto 0;
  max-width: 480px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.notfound-links a {
  display: block;
  padding: 14px 16px;
  background: var(--color-bg);
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.notfound-links a:hover {
  background: var(--color-main);
  color: var(--color-white);
}

/* ---------- 22. スクロールアニメ ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .news-ticker-content { animation: none; }
  .hero-blob, .hero-media { animation: none !important; }
}

/* ---------- 23. レスポンシブ（768px以下） ---------- */
@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
    --radius-section: 40px;
  }

  .container { padding: 0 20px; }
  .header-inner { padding: 14px 20px; }
  .gnav, .header-cta { display: none; }
  .hamburger { display: block; }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
  }
  .hero-content {
    padding-right: 0;
    order: 1;
  }
  .hero-media-wrap {
    aspect-ratio: 4 / 5;
    max-height: 60vh;
    order: 2;
  }
  .hero-title {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
    margin-bottom: 24px;
  }

  /* スマホでは一部を非表示・縮小 */
  .hero-blob-3, .hero-blob-5, .hero-blob-9, .hero-blob-10 { display: none; }
  .hero-blob-1 { width: 72px;  height: 76px; }
  .hero-blob-2 { width: 40px;  height: 44px; }
  .hero-blob-4 { width: 52px;  height: 48px; }
  .hero-blob-6 { width: 46px;  height: 44px; }
  .hero-blob-7 { width: 28px;  height: 30px; }
  .hero-blob-8 { width: 56px;  height: 60px; }

  .business-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .news-list li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 4px;
  }
  .news-list .category { justify-self: start; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .work-item,
  .work-item:nth-child(even) {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .work-item:nth-child(even) .work-item-media { order: 0; }

  .access-grid { grid-template-columns: 1fr; gap: 40px; }
  .access-table th { width: 40%; }

  .contact-form { padding: 28px 20px; }

  .mission-box { padding: 36px 24px; }
  .mission-box::before, .mission-box::after { width: 50px; height: 50px; }

  .notfound-links { grid-template-columns: 1fr; }

  .news-ticker-label { margin-left: 16px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .info-grid { grid-template-columns: 1fr; }
  .header-cta-mini .btn { padding: 8px 14px; font-size: 0.75rem; }
}

/* ---------- 24. モバイルメニュー オーバーレイ ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.menu-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

/* ---------- 25. body スクロールロック ---------- */
body.menu-open {
  overflow: hidden;
}

/* ---------- 26. プリント ---------- */
@media print {
  .site-header, .site-footer, .news-ticker, .hamburger, .menu-overlay { display: none; }
  body { color: #000; background: #fff; }
}
