 
    /* =========================================
       1. カラー変数
       ========================================= */
    :root {
      --color-main:        #7BAE7F;
      --color-accent:      #5A9460;
      --color-text:        #3D5242;
      --color-text-light:  #6B8C70;
      --color-glass-bg:    rgba(255, 253, 248, 0.91);
      --color-glass-border:rgba(123, 174, 127, 0.22);
      --color-section-gap: 280px;
      --radius:            20px;
      --shadow:            0 12px 40px rgba(60, 90, 60, 0.13);
      --transition:        0.4s cubic-bezier(0.4, 0.4, 0, 1);
    }

    /* =========================================
       2. リセット ＆ ベース
       ========================================= */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    html { scroll-behavior: smooth; }
    
   body {
   font-family: "Noto Sans JP", "Hiragino Sans", Meiryo,
               "Helvetica Neue", Arial, sans-serif;
      color: var(--color-text);
      background: #cce8f4; /* フォールバック（空色） */
      line-height: 1.9;
      overflow-x: hidden;
      font-size: 17px;
    }
    img { max-width: 100%; height: auto; display: block; }
    a   { text-decoration: none; color: inherit; }

    /* =========================================
       3. 【背景固定レイヤー】
          虹・青空・雲・四つ葉クローバーをSVGで描画
          スクロールしても動かず、手前のセクションが滑る
       ========================================= */
    #bg-layer {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;

      /* ▼ 青空グラデーション */
      background: linear-gradient(
        to bottom,
        #87CEEB 0%,
        #B0E2FF 40%,
        #D4F1FF 70%,
        #E8FBE8 100%
      );
    }

    /* ---- 雲（CSS only）---- */
    .cloud {
      position: absolute;
      background: rgba(255,255,255,0.92);
      border-radius: 50px;
      filter: blur(2px);
    }
    .cloud::before, .cloud::after {
      content: '';
      position: absolute;
      background: rgba(255,255,255,0.92);
      border-radius: 50%;
    }
    /* 雲1 */
    .cloud-1 {
      width: 200px; height: 55px;
      top: 10%; left: 5%;
      animation: cloudDrift 40s linear infinite;
    }
    .cloud-1::before {
      width: 90px; height: 80px;
      top: -38px; left: 28px;
    }
    .cloud-1::after {
      width: 70px; height: 60px;
      top: -28px; left: 90px;
    }
    /* 雲2 */
    .cloud-2 {
      width: 160px; height: 45px;
      top: 18%; right: 8%;
      animation: cloudDrift 55s linear infinite reverse;
      opacity: 0.85;
    }
    .cloud-2::before {
      width: 75px; height: 65px;
      top: -32px; left: 22px;
    }
    .cloud-2::after {
      width: 55px; height: 50px;
      top: -24px; left: 75px;
    }
    /* 雲3 */
    .cloud-3 {
      width: 240px; height: 60px;
      top: 5%; left: 45%;
      animation: cloudDrift 48s linear infinite;
      opacity: 0.75;
    }
    .cloud-3::before {
      width: 100px; height: 85px;
      top: -42px; left: 35px;
    }
    .cloud-3::after {
      width: 80px; height: 68px;
      top: -32px; left: 115px;
    }
    @keyframes cloudDrift {
      0%   { transform: translateX(0); }
      100% { transform: translateX(60px); }
    }

    /* ---- SVG（虹 ＋ 四つ葉クローバー）---- */
    #bg-svg {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
    }

    /* =========================================
       4. 【木の葉エフェクト】緑の葉が舞い落ちる
       ========================================= */
    .leaf {
      position: fixed;
      z-index: 1;
      pointer-events: none;
      opacity: 0.75;
      animation: leafFall linear infinite;
    }
    @keyframes leafFall {
      0% {
        top: -8%;
        transform: translateX(0) rotate(0deg);
      }
      100% {
        top: 108%;
        transform: translateX(120px) rotate(540deg);
      }
    }

    /* =========================================
       5. 【マウスエフェクト】光の粒（全域・強化版）
       ========================================= */
    .mouse-particle {
      position: fixed;
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      background: radial-gradient(circle,
        rgba(255,255,255,1) 0%,
        rgba(200,240,200,0.7) 50%,
        transparent 80%
      );
      animation: particleFade 1.2s ease-out forwards;
    }
    @keyframes particleFade {
      0%   { transform: scale(1);   opacity: 0.95; }
      100% { transform: scale(1.8); opacity: 0; }
    }

    /* =========================================
       6. 【メインコンテンツ】手前を滑るフローティングレイヤー
       ========================================= */
    #main-content {
      position: relative;
      z-index: 2;
    }

    /* ヒーローエリア（全画面） */
    #hero {
      position: relative;
      min-height: 100svh;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2;
      text-align: center;
      overflow: hidden;
    }
    .hero-content {
      padding: 40px 24px;
    }
    .hero-org {
      font-size: 15px;
      letter-spacing: 0.12em;
      color: var(--color-text);
      margin-bottom: 10px;
      opacity: 0;
      animation: fadeUp 0.8s ease forwards 0.15s;
      text-shadow: 0 1px 4px rgba(255,255,255,0.9);
    }
    .hero-subtitle {
      font-size: 17px;
      letter-spacing: 0.35em;
      color: var(--color-accent);
      margin-bottom: 18px;
      text-transform: uppercase;
      opacity: 0;
      animation: fadeUp 0.8s ease forwards 0.3s;
    }
    .hero-title {
      font-size: clamp(26px, 5vw, 52px);
      font-weight: 300;
      letter-spacing: 0.1em;
      color: #2e5c34;
      text-shadow: 0 2px 16px rgba(255,255,255,0.8),
                   0 0 32px rgba(168,255,168,0.4);
      margin-bottom: 20px;
      opacity: 0;
      animation: fadeUp 0.9s ease forwards 0.6s;
    }
    .hero-desc {
      font-size: 17px;
      color: var(--color-text);
      line-height: 2;
      opacity: 0;
      animation: fadeUp 0.9s ease forwards 1.0s;
      text-shadow: 0 1px 4px rgba(255,255,255,0.9);
    }
    /* スクロールダウン */
    .scroll-down {
      position: absolute;
      bottom: 28px; left: 50%;
      transform: translateX(-50%);
      display: flex; flex-direction: column;
      align-items: center; gap: 6px;
      opacity: 0;
      animation: fadeIn 1s ease forwards 2s;
    }
    .scroll-down span {
      font-size: 10px; letter-spacing: 0.2em;
      color: var(--color-accent);
    }
    .scroll-down::after {
      content: '';
      display: block;
      width: 1px; height: 40px;
      background: linear-gradient(to bottom, var(--color-accent), transparent);
      animation: scrollLine 1.5s ease infinite;
      transform-origin: top;
    }
    @keyframes scrollLine {
      0%   { transform: scaleY(0); opacity: 0; }
      20%  { opacity: 1; }
      80%  { transform: scaleY(1); opacity: 1; }
      100% { transform: scaleY(1); opacity: 0; }
    }

    /* ---- セクション共通（すりガラス）---- */
    .glass-section {
      position: relative;
      z-index: 2;
      background: var(--color-glass-bg);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-top:    1px solid var(--color-glass-border);
      border-bottom: 1px solid var(--color-glass-border);
      padding: 80px 20px;
      margin-bottom: var(--color-section-gap);
      box-shadow: 0 4px 24px rgba(60,90,60,0.06);
    }
    .section-inner {
      max-width: 820px;
      margin: 0 auto;
    }

    /* セクション見出し */
    .section-label {
      font-size: 17px;
      letter-spacing: 0.35em;
      color: var(--color-accent);
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .section-title {
      font-size: clamp(20px, 3.5vw, 30px);
      font-weight: 300;
      color: var(--color-text);
      margin-bottom: 36px;
      display: inline-block;
      position: relative;
    }
    .section-title::after {
      content: '';
      position: absolute;
      left: 0; bottom: -8px;
      width: 100%; height: 2px;
      background: linear-gradient(to right, var(--color-accent), transparent);
      border-radius: 2px;
    }

    /* ---- アコーディオン（details / summary）---- */
    .accordion-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    details {
      border: 1px solid var(--color-glass-border);
      border-radius: 12px;
      overflow: hidden;
      background: rgba(255,255,255,0.55);
      position: relative;
      transition: border-color 0.3s;
    }
    details::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 4px; height: 100%;
      background: var(--color-accent);
      transform: scaleY(0);
      transform-origin: top;
      transition: transform 0.3s ease;
      z-index: 2;
    }
    details:hover::before  { transform: scaleY(1); }
    details:hover          { border-color: rgba(90,148,96,0.4); }
    details[open]          { background: rgba(255,255,255,0.75); }

    summary {
      list-style: none;
      cursor: pointer;
      padding: 18px 20px;
      font-size: 17px;
      font-weight: 700;
      color: var(--color-text);
      background: rgba(123,174,127,0.07);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      user-select: none;
      transition: background 0.2s;
    }
    summary::-webkit-details-marker { display: none; }
    summary::marker                 { display: none; }
    summary:hover { background: rgba(123,174,127,0.15); }
    summary::after {
      content: '＋';
      font-size: 17px;
      font-weight: 400;
      color: var(--color-accent);
      flex-shrink: 0;
      transition: transform 0.3s;
    }
    details[open] > summary::after { content: '×'; }

    .accordion-tag {
      font-size: 10px;
      font-weight: 400;
      background: rgba(90,148,96,0.12);
      color: var(--color-accent);
      padding: 2px 8px;
      border-radius: 12px;
      margin-left: auto;
      margin-right: 8px;
    }
    .accordion-body {
      padding: 20px 24px 24px;
      font-size: 17px;
      line-height: 1.9;
      color: var(--color-text);
      border-top: 1px solid var(--color-glass-border);
    }
    .accordion-body p + p { margin-top: 10px; }
    .accordion-body ul {
      padding-left: 20px;
      margin-top: 10px;
    }
    .accordion-body ul li { margin-bottom: 6px; }

    /* ---- 診断フロー ---- */
    .diagnostic-step { display: none; }
    .diagnostic-step.active { display: block; }
    .options-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: 16px;
      margin-top: 24px;
    }
    .option-btn {
      background: rgba(123,174,127,0.12);
      border: 1px solid rgba(90,148,96,0.25);
      border-radius: 12px;
      padding: 18px 14px;
      cursor: pointer;
      font-size: 17px;
      color: var(--color-text);
      transition: all var(--transition);
    }
    .option-btn:hover {
      background: rgba(123,174,127,0.28);
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(60,90,60,0.12);
    }
    .result-box {
      background: rgba(168,220,168,0.18);
      border: 1px solid rgba(90,148,96,0.3);
      border-radius: 12px;
      padding: 20px 24px;
      margin-top: 20px;
      font-size: 17px;
      line-height: 1.9;
    }

    /* ---- CTAボタン ---- */
    .btn {
      display: inline-block;
      background: var(--color-main);
      color: #fff;
      padding: 15px 40px;
      border-radius: 40px;
      border: none;
      cursor: pointer;
      font-size: 17px;
      font-weight: bold;
      letter-spacing: 0.08em;
      transition: all var(--transition);
      box-shadow: 0 6px 20px rgba(90,148,96,0.25);
    }
    .btn:hover {
      background: var(--color-accent);
      transform: translateY(-2px);
      box-shadow: 0 10px 28px rgba(90,148,96,0.38);
    }

    /* ---- フェードイン ---- */
    .fade-in-up {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.75s ease, transform 0.75s ease;
    }
    .fade-in-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ---- フッター ---- */
    #footer {
      position: relative;
      z-index: 2;
      background: rgba(50,80,50,0.96);
      color: rgba(220,240,220,0.8);
      text-align: center;
      padding: 40px 20px;
      font-size: 12px;
      letter-spacing: 0.08em;
    }
    #footer p + p { margin-top: 6px; }

    /* =========================================
       7. キーフレーム（共通）
       ========================================= */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }

    /* =========================================
       8. アクセシビリティ（アニメーション軽減）
       ========================================= */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }
    }

    /* =========================================
       9. スマホ対応
       ========================================= */
    @media (max-width: 768px) {
      :root { --color-section-gap: 180px; }
      .glass-section {
        padding: 56px 16px;
        margin-bottom: 180px;
        background: rgba(255,253,248,0.93);
      }
      .options-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 480px) {
      .options-grid { grid-template-columns: 1fr; }
    }

/* トップに戻るボタン */
#page-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  background: rgba(255, 253, 248, 0.92);
  border: 2.5px solid #7BAE7F;
  border-radius: 50%;
  color: #5A9460;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.35s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(90, 148, 96, 0.22),
              0 0 0 4px rgba(123, 174, 127, 0.10);
  line-height: 1;
}
#page-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#page-top:hover {
  background: #7BAE7F;
  color: #fff;
  box-shadow: 0 8px 24px rgba(90, 148, 96, 0.38),
              0 0 0 6px rgba(123, 174, 127, 0.18);
  transform: translateY(-3px);
}

/* =========================================
   10. 事業所情報カード ＆ 地図 ＆ 電話タップ発信
   ========================================= */
.office-card {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--color-glass-border);
  border-radius: 14px;
  padding: 28px 26px;
  margin-bottom: 20px;
}
.office-card + .office-card { margin-top: 4px; }
.office-name {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.office-name-en {
  font-size: 13px;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.office-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.office-service-tag {
  font-size: 13px;
  background: rgba(123,174,127,0.14);
  color: var(--color-accent);
  padding: 5px 12px;
  border-radius: 14px;
}
.office-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.office-table tr {
  border-top: 1px solid var(--color-glass-border);
}
.office-table tr:first-child { border-top: none; }
.office-table th {
  text-align: left;
  color: var(--color-text-light);
  font-weight: 500;
  padding: 12px 12px 12px 0;
  width: 110px;
  vertical-align: top;
  white-space: nowrap;
}
.office-table td {
  padding: 12px 0;
  vertical-align: top;
}
.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tel-link:hover { color: var(--color-main); }
.map-wrap {
  margin-top: 22px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-glass-border);
  box-shadow: 0 4px 16px rgba(60,90,60,0.08);
}
.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}
.rep-badge {
  display: inline-block;
  font-size: 12px;
  color: var(--color-accent);
  background: rgba(123,174,127,0.14);
  padding: 3px 10px;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---- 詳細解説用の子アコーディオンのスタイル調整 ---- */
.sub-details {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.8) !important;
  border-left: 4px solid var(--color-main) !important;
}
.sub-summary {
  font-size: 16px !important;
  background: rgba(123,174,127,0.1) !important;
  padding: 14px 18px !important;
}
.sub-body {
  font-size: 15px !important;
  padding: 16px 20px !important;
}
.sub-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
  background: #fff;
}
.sub-table th, .sub-table td {
  border: 1px solid rgba(123,174,127,0.3);
  padding: 8px 10px;
  vertical-align: top;
}
.sub-table th {
  background: rgba(123,174,127,0.15);
  color: var(--color-text);
  font-weight: bold;
  width: 25%;
}

/* =========================================
   11. 福祉なんでも相談チャット（LINE風吹き出し）
   ★ここから追加（アドオン）★
   ========================================= */
.chat-section-inner { max-width: 640px; }

.chat-notice {
  font-size: 12.5px;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ---- 空＋虹＋雲のミニ背景（チャット専用） ---- */
.chat-sky {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(to bottom, #8FD3F4 0%, #C9EAFB 55%, #EAFBF0 100%);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-glass-border);
}
.chat-sky-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.chat-cloud {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border-radius: 50px;
  filter: blur(1px);
}
.chat-cloud::before, .chat-cloud::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
}
.chat-cloud-a { width: 120px; height: 34px; top: 8%;  left: 6%; }
.chat-cloud-a::before { width: 55px; height: 48px; top: -22px; left: 16px; }
.chat-cloud-a::after  { width: 42px; height: 36px; top: -16px; left: 54px; }
.chat-cloud-b { width: 96px; height: 28px; top: 16%; right: 10%; opacity: 0.85; }
.chat-cloud-b::before { width: 44px; height: 38px; top: -18px; left: 12px; }
.chat-cloud-b::after  { width: 34px; height: 30px; top: -14px; left: 44px; }

/* ---- メッセージ表示エリア ---- */
.chat-window {
  position: relative;
  z-index: 1;
  height: 420px;
  overflow-y: auto;
  padding: 24px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-bubble-row { display: flex; }
.chat-bubble {
  max-width: 78%;
  background: #DCF2D8;               /* 淡い緑（LINE風） */
  color: var(--color-text);
  padding: 10px 14px;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: 0 2px 6px rgba(60,90,60,0.10);
}
.chat-bubble .chat-nick {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 3px;
}
.chat-bubble .chat-time {
  display: block;
  font-size: 10px;
  color: var(--color-text-light);
  margin-top: 4px;
  text-align: right;
}
.chat-bubble .chat-del-btn {
  display: none;   /* 通常は非表示。管理者モードON時のみ表示 */
  margin-top: 6px;
  font-size: 11px;
  color: #c0392b;
  background: rgba(255,255,255,0.7);
  border: 1px solid #c0392b;
  border-radius: 10px;
  padding: 2px 10px;
  cursor: pointer;
}
body.admin-mode .chat-bubble .chat-del-btn { display: inline-block; }

/* ---- 入力エリア ---- */
.chat-input-area {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.85);
  border-top: 1px solid var(--color-glass-border);
  padding: 14px 16px;
}
.chat-input-area input[type="text"],
.chat-input-area textarea {
  width: 100%;
  border: 1px solid var(--color-glass-border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
}
.chat-input-area input[type="text"] { margin-bottom: 8px; }
.chat-input-area textarea { resize: none; min-height: 64px; }
.chat-input-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.chat-count { font-size: 12px; color: var(--color-text-light); }
.chat-send-btn {
  background: var(--color-main);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 8px 26px;
  font-weight: bold;
  cursor: pointer;
  transition: all var(--transition);
}
.chat-send-btn:hover { background: var(--color-accent); }
.chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-error {
  color: #c0392b;
  font-size: 13px;
  margin-top: 6px;
  min-height: 18px;
}
.chat-privacy-note {
  font-size: 11.5px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-top: 8px;
}

.chat-admin-toggle {
  font-size: 12px;
  color: var(--color-text-light);
  text-decoration: underline;
  cursor: pointer;
  display: block;
  text-align: right;
  margin-top: 8px;
}

