  :root {
    --bg: #f5f6f8;
    --card: #ffffff;
    --text: #222;
    --muted: #666;
    --sub: #3d3d3d;
    --accent: #c0392b;        /* 見出しの線・「重要なお知らせ」ラベル */
    --brand: #e8737f;         /* ヘッダー下線・ボタン・企業向け枠 */
    --brand-tint: #fdf6f7;    /* 企業向け枠の背景 */
    --line: #e2e4e8;
    --link: #1a5fb4;
    --footer: #7a7a7a;        /* フッターの帯（グレー） */
  }
  * { box-sizing: border-box; }
  a { color: var(--link); }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
    line-height: 1.8;
  }
  .skip {
    position: absolute; left: -9999px; top: 0;
    background: #000; color: #fff; padding: 8px 12px;
  }
  .skip:focus { left: 8px; top: 8px; }
  header {
    background: var(--card);
    border-bottom: 3px solid var(--brand);
    padding: 16px;
  }
  /* PC：ロゴは左端（本文の左端にそろえる）、サイト名は中央 */
  .header-inner {
    max-width: 1088px; /* 本文カードの左端とそろえる */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    align-items: center;
    gap: 16px;
  }
  header .logo {
    display: block;
    max-width: 220px;
    max-height: 64px;
    width: auto;
    height: auto;
  }
  header .site { text-align: center; }
  /* 1行に収まらないときは「（臨時ページ）」をまるごと次の行へ（途中で折り返さない） */
  header .site-main, header .site-tmp { display: inline-block; white-space: nowrap; }
  header .site-tmp { font-size:1.6rem; }
  /* 画面幅が狭いとき：ロゴを上に左寄せ、サイト名をその下に */
  @media (max-width: 1000px) {
    .header-inner { grid-template-columns: 1fr; gap: 8px; }
    header .logo { max-height: 48px; }
    header .site { text-align: left; }
  }
  header .site {
    font-weight: bold;
    font-size: 2rem;
    line-height: 1.4;
    letter-spacing: 0.04em;
  }
  /* スマホ：「（臨時ページ）」を2行目に回して、文字は大きいまま収める */
  @media (max-width: 640px) {
    header .site { font-size: min(1.5rem, 6.9vw); }
    header .site-main, header .site-tmp { display: block; }
    header .site-tmp { font-size: 1.2rem; }
  }
  main {
    max-width: 1120px;
    margin: 32px auto;
    padding: 0 16px;
  }
  .card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px 24px;
    margin-bottom: 24px;
  }
  .label {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.8rem;
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
  }
  h1 { font-size: 1.4rem; margin: 0 0 4px; }
  .date { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
  h2 {
    font-size: 1.05rem;
    border-left: 4px solid var(--accent);
    padding-left: 10px;
    margin: 0 0 12px;
  }
  .card h2 + * { margin-top: 0; }
  .card .section { margin-top: 28px; }
  dl { margin: 0; }
  dt { font-weight: bold; margin-top: 8px; }
  dd { margin: 0 0 4px; }
  .note { color: var(--sub); font-size: 0.95rem; }
  /* 冒頭のお詫び文の囲み */
  .lead-box {
    background: #f7f7f8;
    border: 1px solid #dcdde0;
    border-radius: 0;
    padding: 16px 20px;
  }
  .lead-box p { margin: 0; }
  .lead-box p + p { margin-top: 12px; }
  .notice {
    background: #fdf2f2;
    border: 1px solid #f3c7c7;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  .lead-box .check { margin-top: 6px;font-size:0.9rem }
  .lead-box .check li + li { margin-top: 0; }
  .tel { font-size: 1.2rem; font-weight: bold; }
  .tel a { color: var(--text); text-decoration: none; }
  ul.links { list-style: none; margin: 0; padding: 0; }
  ul.links li { border-top: 1px solid var(--line); }
  ul.links li:last-child { border-bottom: 1px solid var(--line); }
  ul.links a {
    display: block;
    padding: 12px 4px;
    color: var(--link);
    text-decoration: none;
    font-weight: bold;
  }
  ul.links a:hover { background: #f9fafb; }
  ul.links .desc { display: block; font-weight: normal; font-size: 0.9rem; color: var(--sub); }
  /* 外部リンク（新しいタブで開くリンク）のマーク */
  a[target="_blank"]::after {
    content: "";
    content: "" / "（外部リンク・新しいタブで開きます）";
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    margin-left: 0.3em;
    vertical-align: -0.1em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-9 9'/%3E%3Cpath d='M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-9 9'/%3E%3Cpath d='M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  /* 説明文つきリンク：マークを名称の直後に出す */
  ul.links a { display: flex; flex-wrap: wrap; align-items: center; }
  ul.links a::after { order: 1; }
  ul.links .desc { order: 2; width: 100%; }
  .center { text-align: center; }
  .btn {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 28px;
    border-radius: 999px;
  }
  .btn:hover { opacity: 0.85; }
  details {
    border-top: 1px solid var(--line);
  }
  details:last-of-type { border-bottom: 1px solid var(--line); }
  summary {
    cursor: pointer;
    padding: 12px 4px;
    font-weight: bold;
    color: var(--link);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  summary::-webkit-details-marker { display: none; }
  /* 右側の開閉表示 */
  summary::after {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--link);
    border: 1px solid var(--link);
    border-radius: 999px;
    padding: 2px 12px 2px 10px;
    white-space: nowrap;
  }
  summary::after { content: "開く ▼"; }
  details[open] > summary::after { content: "閉じる ▲"; }
  summary:hover { background: #f9fafb; }
  .news-date {
    display: block;
    font-weight: normal;
    font-size: 0.85rem;
    color: var(--muted);
  }
  .news-body {
    padding: 4px 4px 16px;
    font-size: 0.95rem;
  }
  .news-body p { margin: 0 0 12px; }
  .corp-box {
    background: var(--brand-tint);
    border: 2px solid var(--brand);
  }
  .corp-box p { margin: 0 0 16px; }
  .contact-cols { display: grid; gap: 16px; margin-top: 16px; }
  .contact-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-title { font-weight: bold; }
  .contact-sub { margin: 4px 0 12px; font-size: 0.95rem; color: var(--sub); }
  .contact-box .tel { margin: 0; font-size: 1.6rem; line-height: 1.4; }
  .contact-addr { margin: 16px 0 0; text-align: center; }
  /* PC表示：横に並べてスクロールを減らす */
  @media (min-width: 900px) {
    .cols3 {
      display: grid;
      grid-template-columns: 1fr 1.2fr 1.3fr;
      gap: 28px;
      margin-top: 28px;
    }
    .cols3 > .section { margin-top: 0; }
    .cols2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      align-items: start;
    }
    .cols2 .card { margin-bottom: 24px; }
    .contact-cols { grid-template-columns: 1fr 1fr; }
  }
  .contact-notes {
    margin-top: 16px;
    background: #f7f7f8;
    border: 1px solid #dcdde0;
    padding: 14px 18px;
    font-size: 0.95rem;
  }
  .contact-notes-title { margin: 0 0 4px; font-weight: bold; }
  .contact-notes ul { margin: 0; padding-left: 1.3em; }
  .contact-notes li + li { margin-top: 2px; }
  .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; margin-bottom: 6px; }
  .footer-links a { color: #fff; text-decoration: none; }
  .footer-links a:hover { text-decoration: underline; }
  footer .copy { margin: 0; }
  main { margin-bottom: 40px; }
  footer {
    background: var(--footer);
    text-align: center;
    color: #fff;
    font-size: 0.85rem;
    padding: 20px 16px;
  }

  /* ===== 下層ページ用（お問い合わせ・プライバシーポリシー） ===== */
  .breadcrumb { font-size: 0.9rem; margin: 0 0 16px; color: var(--sub); }
  header .site a, .header-inner > a { color: inherit; text-decoration: none; }
  .check { margin: 0; padding-left: 1.3em; }
  .check li + li { margin-top: 6px; }
/* お問い合わせフォームの埋め込み：グレーの枠の中央にフォームを置く */
.form-embed {
  background: #f3f4f6;
  border: 1px solid #dcdde0;
  padding: 24px 16px;
  margin-top: 8px;
  margin-bottom: 20px;
}
.form-embed iframe {
  display: block;
  width: 100%;
  max-width: 700px;   /* Googleフォームの幅に合わせる */
  height: 1600px;     /* 中にスクロールバーが出なくなる高さ */
  margin: 0 auto;
  border: 0;
  background: #fff;
}
.form-notes {
  list-style: none;
  max-width: 700px;      /* 白いフォーム（iframe）と同じ幅 */
  margin: 10px auto 0;   /* 中央にそろえる */
  padding: 0;
  font-size: 0.85rem; 
}
.form-notes li { padding-left: 1.2em; text-indent: -1.2em; }
.form-notes li::before { content: "※"; }
.form-notes li + li { margin-top: 4px; }
@media (max-width: 640px) {
  .form-embed { padding: 12px 8px; }
  .form-embed iframe { height: 1850px; }  /* スマホは入力欄が縦に伸びるので長めに */
}
  .form-placeholder {
    border: 2px dashed #c9cbd0;
    background: #fafafa;
    color: var(--muted);
    text-align: center;
    padding: 80px 16px;
  }
  .btn-outline {
    display: inline-block;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--text);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 999px;
  }
  .btn-outline:hover { background: #f9fafb; }
  .policy h2 { margin-top: 32px; }
  .policy p, .policy ol, .policy ul { margin: 0 0 12px; }
  .policy-meta { margin: 20px 0 8px; text-align: right; color: var(--sub); font-size: 0.95rem; }
  .policy h1 { margin-bottom: 8px; }
  .policy h2.policy-section {
    margin-top: 48px;
    padding: 10px 14px;
    border-left: 0;
    background: #f3f4f6;
    font-size: 1.15rem;
  }
  .policy h3 { font-size: 1rem; margin: 24px 0 8px; }
  .policy ul { padding-left: 1.4em; }
  .policy li + li { margin-top: 4px; }
  .policy-box { background: #f7f7f8; border: 1px solid #dcdde0; padding: 14px 18px; }
  .policy-box-title { font-weight: bold; margin-bottom: 4px !important; }
  .policy-box p:last-child { margin-bottom: 0; }
  /* プライバシーポリシー内の囲み：「.policy p」の下余白を打ち消す（お問い合わせページと同じ見た目に） */
  .policy .lead-box p { margin: 0; }
  .policy .lead-box p + p { margin-top: 12px; }
  .tel-line { font-size: 1.4rem; font-weight: bold; margin: 4px 0 0; }
  .tel-line a { color: var(--text); text-decoration: none; }

  /* ===== 受託事業ページ用（大分・深谷など）：小さめのヘッダー ===== */
  /* 使い方：<header class="header-compact"> にする */
  header.header-compact { padding: 8px 16px; border-bottom-width: 2px; }
  header.header-compact .header-inner {
    max-width: 1000px;          /* 事業ページの本文幅に合わせる */
    display: flex;
    align-items: center;
    gap: 12px;
  }
  header.header-compact .logo { max-height: 32px; max-width: 120px; }
  header.header-compact .site {
    font-size: 1.05rem;
    letter-spacing: 0;
    text-align: center;
    line-height: 1.4;
  }
