@charset "UTF-8";
/* Document
 * ========================================================================== */
/**
 * 1. Add border box sizing in all browsers (opinionated).
 * 2. Backgrounds do not repeat by default (opinionated).
 */
*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  background-repeat: no-repeat; /* 2 */
}

/**
 * 1. Add text decoration inheritance in all browsers (opinionated).
 * 2. Add vertical alignment inheritance in all browsers (opinionated).
 */
::before,
::after {
  text-decoration: inherit; /* 1 */
  vertical-align: inherit; /* 2 */
}

/**
 * 1. Use the default cursor in all browsers (opinionated).
 * 2. Change the line height in all browsers (opinionated).
 * 3. Breaks words to prevent overflow in all browsers (opinionated).
 * 4. Use a 4-space tab width in all browsers (opinionated).
 * 5. Remove the grey highlight on links in iOS (opinionated).
 * 6. Prevent adjustments of font size after orientation changes in iOS.
 */
:where(:root) {
  cursor: default; /* 1 */
  line-height: 1.5; /* 2 */
  overflow-wrap: break-word; /* 3 */
  -moz-tab-size: 4; /* 4 */
  tab-size: 4; /* 4 */
  -webkit-tap-highlight-color: transparent; /* 5 */
  -webkit-text-size-adjust: 100%; /* 6 */
  text-size-adjust: 100%; /* 6 */
}

/* Sections
 * ========================================================================== */
/**
 * Remove the margin in all browsers (opinionated).
 */
:where(body) {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Edge, Firefox, and Safari.
 */
:where(h1) {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
 * ========================================================================== */
/**
 * Remove the margin on nested lists in Chrome, Edge, and Safari.
 */
:where(dl, ol, ul) :where(dl, ol, ul) {
  margin: 0;
}

/**
 * 1. Correct the inheritance of border color in Firefox.
 * 2. Add the correct box sizing in Firefox.
 */
:where(hr) {
  color: inherit; /* 1 */
  height: 0; /* 2 */
}

/**
 * Remove the list style on navigation lists in all browsers (opinionated).
 */
:where(nav) :where(ol, ul) {
  list-style-type: none;
  padding: 0;
}

/**
 * Prevent VoiceOver from ignoring list semantics in Safari (opinionated).
 */
:where(nav li)::before {
  content: "​";
  float: left;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 * 3. Prevent overflow of the container in all browsers (opinionated).
 */
:where(pre) {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
  overflow: auto; /* 3 */
}

/* Text-level semantics
 * ========================================================================== */
/**
 * Add the correct text decoration in Safari.
 */
:where(abbr[title]) {
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
:where(b, strong) {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
:where(code, kbd, samp) {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
:where(small) {
  font-size: 80%;
}

/* Embedded content
 * ========================================================================== */
/*
 * Change the alignment on media elements in all browsers (opinionated).
 */
:where(audio, canvas, iframe, img, svg, video) {
  vertical-align: middle;
}

/**
 * Remove the border on iframes in all browsers (opinionated).
 */
:where(iframe) {
  border-style: none;
}

/**
 * Change the fill color to match the text color in all browsers (opinionated).
 */
:where(svg:not([fill])) {
  fill: currentColor;
}

/* Tabular data
 * ========================================================================== */
/**
 * 1. Collapse border spacing in all browsers (opinionated).
 * 2. Correct table border color in Chrome, Edge, and Safari.
 * 3. Remove text indentation from table contents in Chrome, Edge, and Safari.
 */
:where(table) {
  border-collapse: collapse; /* 1 */
  border-color: currentColor; /* 2 */
  text-indent: 0; /* 3 */
}

/* Forms
 * ========================================================================== */
/**
 * Remove the margin on controls in Safari.
 */
:where(button, input, select) {
  margin: 0;
}

/**
 * Correct the inability to style buttons in iOS and Safari.
 */
:where(button, [type=button i], [type=reset i], [type=submit i]) {
  -webkit-appearance: button;
  appearance: button;
}

/**
 * Change the inconsistent appearance in all browsers (opinionated).
 */
:where(fieldset) {
  border: 1px solid #a0a0a0;
}

/**
 * Add the correct vertical alignment in Chrome, Edge, and Firefox.
 */
:where(progress) {
  vertical-align: baseline;
}

/**
 * 1. Remove the margin in Firefox and Safari.
 * 3. Change the resize direction in all browsers (opinionated).
 */
:where(textarea) {
  margin: 0; /* 1 */
  resize: vertical; /* 3 */
}

/**
 * 1. Correct the odd appearance in Chrome, Edge, and Safari.
 * 2. Correct the outline style in Safari.
 */
:where([type=search i]) {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

/**
 * Correct the cursor style of increment and decrement buttons in Safari.
 */
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the text style of placeholders in Chrome, Edge, and Safari.
 */
::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

/**
 * Remove the inner padding in Chrome, Edge, and Safari on macOS.
 */
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style upload buttons in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
 * ========================================================================== */
/*
 * Add the correct styles in Safari.
 */
:where(dialog) {
  background-color: white;
  border: solid;
  color: black;
  height: -moz-fit-content;
  height: fit-content;
  left: 0;
  margin: auto;
  padding: 1em;
  position: absolute;
  right: 0;
  width: -moz-fit-content;
  width: fit-content;
}

:where(dialog:not([open])) {
  display: none;
}

/*
 * Add the correct display in Safari.
 */
:where(details > summary:first-of-type) {
  display: list-item;
}

/* Accessibility
 * ========================================================================== */
/**
 * Change the cursor on busy elements in all browsers (opinionated).
 */
:where([aria-busy=true i]) {
  cursor: progress;
}

/*
 * Change the cursor on disabled, not-editable, or otherwise
 * inoperable elements in all browsers (opinionated).
 */
:where([aria-disabled=true i], [disabled]) {
  cursor: not-allowed;
}

/*
 * Change the display on visually hidden accessible elements
 * in all browsers (opinionated).
 */
:where([aria-hidden=false i][hidden]) {
  display: initial;
}

:where([aria-hidden=false i][hidden]:not(:focus)) {
  clip: rect(0, 0, 0, 0);
  position: absolute;
}

/**
 * Restrict sizing to the page width in all browsers (opinionated).
 */
:where(iframe, img, input, video, select, textarea) {
  height: auto;
  max-width: 100%;
}

/**
 * 1. Change the inconsistent appearance in all browsers (opinionated).
 * 2. Add typography inheritance in all browsers (opinionated).
 */
:where(button, input, select, textarea) {
  background-color: transparent; /* 1 */
  border: 1px solid WindowFrame; /* 1 */
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  letter-spacing: inherit; /* 2 */
  padding: 0.25em 0.375em; /* 1 */
}

/**
 * Change the inconsistent appearance in all browsers (opinionated).
 */
:where(select) {
  -webkit-appearance: none;
  appearance: none;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E") no-repeat right center/1em;
  border-radius: 0;
  padding-right: 1em;
}

/**
 * Don't show the arrow for multiple choice selects
 */
:where(select[multiple]) {
  background-image: none;
}

/**
 * Remove the border and padding in all browsers (opinionated).
 */
:where([type=color i], [type=range i]) {
  border-width: 0;
  padding: 0;
}

/*
 * 1. Remove animations when motion is reduced (opinionated).
 * 2. Remove fixed background attachments when motion is reduced (opinionated).
 * 3. Remove timed scrolling behaviors when motion is reduced (opinionated).
 * 4. Remove transitions when motion is reduced (opinionated).
 */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-delay: -1ms !important; /* 1 */
    animation-duration: 1ms !important; /* 1 */
    animation-iteration-count: 1 !important; /* 1 */
    background-attachment: initial !important; /* 2 */
    scroll-behavior: auto !important; /* 3 */
    transition-delay: 0s !important; /* 4 */
    transition-duration: 0s !important; /* 4 */
  }
}
/* ==========================================================================
   foundation/_base.scss  (REDEFINED)
   前提：
   - sanitize.css / sanitize-reduce-motion 導入済み（重複指定しない）
   - Web Font：Google Fonts "Noto Sans JP"（推奨: 400/500/700）
   対象：
   - 日本語公共サイト向け（可読性・アクセシビリティ重視）
   - 小〜中規模 / 静的→WordPress化前提
   注意：
   - vendor（sanitize系）は編集しない
   - base は「全体の素地」。コンポーネントの見た目は components へ
   ========================================================================== */
/* --------------------------------------------------------------------------
   Project Defaults（必要なら foundation/_variables.scss へ移動推奨）
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Document
   -------------------------------------------------------------------------- */
html {
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: #333;
  background: #fff;
  /* Google Fonts: Noto Sans JP（400/500/700）前提 */
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  /* レンダリング（Mac/Win差の暴れを抑える方向） */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 数字の字詰まり対策（本文データは汚さない） */
  font-kerning: normal;
  font-variant-numeric: proportional-nums;
  font-feature-settings: "palt" 1;
}

/* 長いURLや英数字のはみ出し対策（公共サイトで地味に効く） */
p,
li,
dd,
dt,
td,
th {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* sanitize にもあるが、プロジェクトの基本として明示 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Links / Focus
   -------------------------------------------------------------------------- */
a {
  color: #005bac;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #004a8f;
}

a:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[role=button]:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #005bac;
  outline-offset: 2px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Typography（公共サイト向け：読みやすさを優先）
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.75em;
  line-height: 1.35;
  font-weight: 700; /* 400/500/700 想定 */
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.15rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.95rem;
}

p {
  margin: 0 0 1em;
}

small {
  font-size: 0.875em;
}

/* strong/b は“強調”なので基本は太字へ（500固定はやめる） */
strong,
b {
  font-weight: 700;
}

em {
  font-style: italic;
}

hr {
  border: 0;
  border-top: 1px solid #dcdcdc;
  margin: 2em 0;
}

/* ルビ（必要な場合のみ運用） */
ruby {
  ruby-position: over;
}

rt {
  font-size: 0.65em;
  letter-spacing: 0;
}

/* 引用 */
blockquote {
  margin: 0 0 1.25em;
  padding: 0.75em 1em;
  border-left: 4px solid #dcdcdc;
  background: #f7f7f7;
}

/* code / pre */
code,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
}

/* インラインcodeが本文で潰れない最低限 */
code {
  padding: 0.15em 0.35em;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #fafafa;
}

pre {
  margin: 0 0 1.25em;
  padding: 1em;
  overflow: auto;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #fafafa;
}

pre code {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 1em;
}

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */
ul,
ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

li {
  margin: 0.25em 0;
}

dl {
  margin: 0 0 1.25em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0.25em 0 0.75em;
}

/* --------------------------------------------------------------------------
   Media / Embedded
   -------------------------------------------------------------------------- */
img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

img,
svg {
  vertical-align: middle;
}

iframe {
  max-width: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   Tables（公共サイトは表が多い：最低限のガード）
   -------------------------------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 0 1.5em;
}

th,
td {
  border: 1px solid #dcdcdc;
  padding: 0.6em 0.8em;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f3f5f7;
  font-weight: 700;
}

/* 横スクロールが必要な表はラッパーで対応（HTML側で .table-scroll を付与） */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll table {
  min-width: 640px;
}

/* --------------------------------------------------------------------------
   Forms（sanitize-forms があっても “使える素地” に寄せる）
   -------------------------------------------------------------------------- */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

label {
  display: inline-block;
  margin: 0 0 0.35em;
  font-weight: 700;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=url],
input[type=search],
input[type=password],
textarea,
select {
  width: 100%;
  max-width: 100%;
  padding: 0.65em 0.75em;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #fff;
}

textarea {
  min-height: 8em;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #666;
  opacity: 0.7;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
}

button,
input[type=button],
input[type=submit],
input[type=reset] {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ボタンの最低限（見た目は components/_button.scss で作る前提） */
button {
  padding: 0.65em 1em;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #f5f5f5;
}

/* --------------------------------------------------------------------------
   Helpers
   -------------------------------------------------------------------------- */
.hidden {
  display: none !important;
}

/* 視覚的に隠すが読み上げは残す */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#site-main {
  width: 100%;
  max-width: 1200px;
  margin: 45px auto 55px;
  /* 1200未満で左右に余白を確保（最小16px～最大40px） */
  padding-inline: clamp(16px, 5vw, 40px);
  padding-bottom: 3em; /* ← 下層で本文が短い時にFooterと詰まらないよう追加 */
  box-sizing: border-box;
}

/* =====================================================
   画面下まで伸ばす（本文が短いときにフッターが浮かないように）
   ===================================================== */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* main-bg が本文領域として伸びる */
.main-bg {
  width: 100%;
  flex: 1 0 auto;
  /* 下層ページは背景なし（デフォルト） */
  background-image: none;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto;
  padding-bottom: 0;
}

/* TOPページだけ本文エリアに背景画像を付与 */
body.page-home .main-bg {
  /* 背景画像：実寸・下揃え・中央配置（リピートなし） */
  background-image: url("../img/main-bg.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto; /* 実寸表示（3840px） */
  /* 背景が見えるための余白（必要に応じて調整） */
  padding-bottom: 75px;
}

#site-main .about {
  /* 背景 */
  background-image: url("../img/about-bg.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  /* ★ 背景を見せるための余白 */
  padding: clamp(30px, 12vw, 15%) 5% 50px 5%;
  font-weight: 700;
  font-size: 18px;
  /* ★ innerを「テキスト周辺のみ白板」にするため中央寄せの土台 */
  text-align: center;
}

#site-main .about .inner {
  /* ★ テキスト周辺だけ白板（面全体に広げない） */
  display: inline-block;
  width: auto;
  max-width: 980px; /* 読みやすい最大幅（必要なら調整） */
  /* テキストは左揃えに戻す */
  text-align: left;
  margin: 0 auto;
  padding: 20px 50px;
  border-radius: 15px 15px;
  background-color: rgba(255, 255, 255, 0.792);
}

#site-header {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  margin: 0;
}

.site-logo img {
  display: block;
  max-height: 100px;
  width: auto;
}

.head-btn {
  display: flex;
  gap: 15px;
}

#top-nav {
  width: 100%;
  height: 40px;
  line-height: 40px;
  background-color: #eb6e32;
  text-align: center;
}

#top-nav a {
  color: #fff;
}

.nav-toggle,
.hamburger,
.sp-overlay,
.sp-drawer {
  display: none;
}

@media (max-width: 880px) {
  #site-header .head-btn {
    display: none;
  }
  .nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    border-radius: 10px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
  }
  .hamburger__lines {
    position: relative;
    width: 24px;
    height: 2px;
    background: #111;
    border-radius: 2px;
    transition: background 220ms ease;
  }
  .hamburger__lines::before, .hamburger__lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: #111;
    border-radius: 2px;
    transition: transform 360ms ease, top 360ms ease, bottom 360ms ease, opacity 220ms ease;
  }
  .hamburger__lines::before {
    top: -7px;
  }
  .hamburger__lines::after {
    bottom: -7px;
  }
  #site-header .nav-toggle:checked ~ .hamburger .hamburger__lines {
    background: transparent;
  }
  #site-header .nav-toggle:checked ~ .hamburger .hamburger__lines::before {
    top: 0;
    transform: rotate(45deg);
  }
  #site-header .nav-toggle:checked ~ .hamburger .hamburger__lines::after {
    bottom: 0;
    transform: rotate(-45deg);
  }
}
/* footer.scss */
.footer-bg {
  width: 100%;
  background-color: #711300;
  padding: 50px 0;
}

/* footer本体 */
.site-footer {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 40px);
}

/* バナー  768px以上：4×1  768px未満：2×2
===================================== */
.footer-bnr-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 18px;
}

.footer-bnr {
  display: block;
  width: calc((100% - 54px) / 4);
}

.footer-bnr img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .footer-bnr {
    width: calc((100% - 18px) / 2);
  }
}
/* ロゴ
========================= */
.footer-logo {
  margin-top: 50px;
}

.footer-logo a {
  display: inline-block;
}

.footer-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 住所 + メニュー（PC）
========================= */
.footer-bottom {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

/* 住所 */
.address {
  color: #fff;
  line-height: 1.8;
}

.address p {
  margin: 0;
}

/* メニュー（PC：横並び + ｜） */
.footer-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}

.footer-menu li + li {
  position: relative;
  padding-left: 14px;
}

.footer-menu li + li::before {
  content: "|";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  text-decoration: underline;
}

/* ▼ ～850px：縦並び＋中央寄せ */
@media (max-width: 850px) {
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-logo {
    order: 1;
    margin-top: 30px;
  }
  .footer-bottom {
    order: 2;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
  }
  .footer-menu {
    order: 3;
    margin-top: 20px;
  }
  .address,
  .footer-menu ul {
    justify-content: center;
    text-align: center;
  }
}
/* ▼ ～768px：スマホ最適化（3行メニュー・区切り線なし） */
@media (max-width: 767px) {
  .footer-bg {
    padding: 40px 0;
  }
  .footer-menu ul {
    flex-direction: column;
    gap: 10px;
  }
  .footer-menu li + li {
    padding-left: 0;
  }
  .footer-menu li + li::before {
    content: none;
  }
}
/* コピーライト
========================= */
#copyright {
  text-align: center;
  color: #333;
  padding: 15px 0;
}

#copyright .u-break {
  display: inline; /* PCでは通常の半角スペースとして効かせる */
}

@media (max-width: 768px) {
  #copyright .u-break {
    display: block; /* SPでは改行にする */
    height: 0; /* 余計な隙間を作らない */
    line-height: 0;
    font-size: 0;
  }
}
/* ==========================================================================
   layout/_page.scss
   下層ページ共通（Gutenbergエディタ同見た目対応：最簡単セット）
   - 本文の任意wrapper（.c-content等）を必須にしない
   - front：body.page #site-main 配下の素要素に適用
   - editor：.editor-styles-wrapper 配下の素要素に適用
   - Breadcrumb：
       - 通常HTML（デモ用）：.c-breadcrumb（有効）
       - WP化（Breadcrumb NavXT想定）：.breadcrumbs（コメントアウトで残す）
   - H1（ページタイトル）装飾：.c-page-title と #site-main直下h1 を対象に復活
   - テーブル系は components/_table.scss に分離
   ========================================================================== */
:root {
  --heading-indent: 0.45em;
  --radius-sm: 7px;
  --radius-md: 9px;
  --space-1: 10px;
  --space-2: 16px;
  --space-3: 22px;
  --space-4: 32px;
  --space-5: 46px;
  --page-title-gap: 40px;
  --ink: rgba(0, 0, 0, 0.86);
  --ink-soft: rgba(0, 0, 0, 0.62);
  --accent-1: #f08a00;
  --accent-2: #ffd24a;
  --accent-soft-1: rgba(240, 138, 0, 0.12);
  --accent-soft-2: rgba(255, 210, 74, 0.16);
  --link: #0f4ea8;
}

/* =========================================================
   フロント本文の基礎（#site-main は最大1200）
   ※ body.page 限定をやめて「TOP以外」に適用（single/archive/taxonomy等も含む）
========================================================= */
body:not(.page-home) #site-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(16px, 5vw, 40px);
  line-height: 1.9;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.01em;
  /* ★ 本文が短い時のFooter詰まり防止（要件） */
  padding-bottom: 3em;
}

.editor-styles-wrapper {
  line-height: 1.9;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.01em;
}

/* =========================================================
   Breadcrumb（通常HTMLデモ：.c-breadcrumb）※有効
========================================================= */
body:not(.page-home) #site-main .c-breadcrumb {
  margin: var(--space-4) 0 var(--space-3);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body:not(.page-home) #site-main .c-breadcrumb__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
}

/* NavXT の <li> 出力に合わせる（bcn_display_list()） */
body:not(.page-home) #site-main .c-breadcrumb__list > li {
  display: inline;
}

body:not(.page-home) #site-main .c-breadcrumb__list > li + li::before {
  content: ">";
  display: inline-block;
  margin-right: 8px; /* gap があるので二重余白防止 */
  color: rgba(0, 0, 0, 0.35);
}

body:not(.page-home) #site-main .c-breadcrumb__list a {
  color: var(--ink);
  text-decoration: none;
}

body:not(.page-home) #site-main .c-breadcrumb__list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

body:not(.page-home) #site-main .c-breadcrumb__list a:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================================
   TOPと同じデザインを下層でも継承：新着/募集中/過去結果
   ※ home.scss の該当ブロックを二元管理で複製
========================================================= */
/* ------------------------------
   新着情報
------------------------------ */
body:not(.page-home) #site-main .news {
  margin-top: 5em;
}

/* 見出し（h2でもh1でも class が top-news なら当てる） */
body:not(.page-home) #site-main h1.top-news,
body:not(.page-home) #site-main h2.top-news,
body:not(.page-home) #site-main .top-news {
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("../img/icon-news.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 84px 84px;
  padding-left: 100px;
  min-height: 84px;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
}

body:not(.page-home) #site-main h1.top-news::after,
body:not(.page-home) #site-main h2.top-news::after,
body:not(.page-home) #site-main .top-news::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 100%;
  height: 5px;
  background-color: #eb6e32;
}

body:not(.page-home) #site-main .news-list {
  list-style: none;
  margin: 50px 0 30px 0;
  padding: 0;
}

body:not(.page-home) #site-main .news-list__item:nth-child(odd) {
  background: hsla(0, 100%, 85%, 0.35);
}

body:not(.page-home) #site-main .news-list__link {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  column-gap: 8px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}

body:not(.page-home) #site-main .news-list__link:hover {
  text-decoration: underline;
}

body:not(.page-home) #site-main .news-list__date {
  font-weight: 700;
  white-space: nowrap;
}

body:not(.page-home) #site-main .news-list__title {
  min-width: 0;
}

body:not(.page-home) #site-main .more-text {
  text-align: right;
}

body:not(.page-home) #site-main .more-text a {
  color: #333;
  text-decoration: none;
}

body:not(.page-home) #site-main .more-text a:hover {
  text-decoration: underline;
}

/* 0件表示調整（news） */
body:not(.page-home) #site-main .news-list__link.is-empty .news-list__date {
  display: none;
}

body:not(.page-home) #site-main .news-list__link.is-empty {
  grid-template-columns: 1fr;
  column-gap: 0;
  cursor: default;
  text-decoration: none;
}

body:not(.page-home) #site-main .news-list__link.is-empty .news-list__title {
  padding-left: 14.5em;
}

/* ------------------------------
   募集中アンケート
------------------------------ */
body:not(.page-home) #site-main .survey {
  margin-top: 5em;
}

body:not(.page-home) #site-main h1.top-survey,
body:not(.page-home) #site-main h2.top-survey,
body:not(.page-home) #site-main .top-survey {
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("../img/icon-survey.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 84px 84px;
  padding-left: 100px;
  min-height: 84px;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
}

body:not(.page-home) #site-main h1.top-survey::after,
body:not(.page-home) #site-main h2.top-survey::after,
body:not(.page-home) #site-main .top-survey::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 100%;
  height: 5px;
  background-color: #eb6e32;
}

body:not(.page-home) #site-main .survey-list {
  list-style: none;
  margin: 50px 0 30px 0;
  padding: 0;
}

body:not(.page-home) #site-main .survey-list__item:nth-child(odd) {
  background: hsla(130, 100%, 88%, 0.35);
}

body:not(.page-home) #site-main .survey-list__link {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  column-gap: 8px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}

body:not(.page-home) #site-main .survey-list__link:hover {
  text-decoration: underline;
}

body:not(.page-home) #site-main .survey-list__date {
  font-weight: 700;
  white-space: nowrap;
}

body:not(.page-home) #site-main .survey-list__title {
  min-width: 0;
}

/* 0件表示調整（survey） */
body:not(.page-home) #site-main .survey-list__link.is-empty .survey-list__date {
  display: none;
}

body:not(.page-home) #site-main .survey-list__link.is-empty {
  grid-template-columns: 1fr;
  column-gap: 0;
  cursor: default;
  text-decoration: none;
}

body:not(.page-home) #site-main .survey-list__link.is-empty .survey-list__title {
  padding-left: 14.5em;
}

/* ------------------------------
   過去のアンケート結果
------------------------------ */
body:not(.page-home) #site-main .result {
  margin-top: 7.5em;
}

body:not(.page-home) #site-main h1.top-result,
body:not(.page-home) #site-main h2.top-result,
body:not(.page-home) #site-main .top-result {
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("../img/icon-result.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 84px 84px;
  padding-left: 100px;
  min-height: 84px;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
}

body:not(.page-home) #site-main h1.top-result::after,
body:not(.page-home) #site-main h2.top-result::after,
body:not(.page-home) #site-main .top-result::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 100%;
  height: 5px;
  background-color: #eb6e32;
}

body:not(.page-home) #site-main .result-list {
  list-style: none;
  margin: 50px 0 30px 0;
  padding: 0;
}

body:not(.page-home) #site-main .result-list__item:nth-child(odd) {
  background: rgba(178, 213, 255, 0.35);
}

body:not(.page-home) #site-main .result-list__link {
  display: block;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}

body:not(.page-home) #site-main .result-list__link:hover {
  text-decoration: underline;
}

body:not(.page-home) #site-main .result-list__title {
  display: block;
  min-width: 0;
}

/* 年度別リンク（背景画像ボタン） */
body:not(.page-home) #site-main .result-year {
  list-style: none;
  margin: 50px 0 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

body:not(.page-home) #site-main .result-year__item {
  margin: 0;
}

body:not(.page-home) #site-main .result-year__link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-indent: 2em;
  width: 100%;
  aspect-ratio: 370/80;
  padding: 0 28px;
  background-image: url("../img/btn-result-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: #333;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

body:not(.page-home) #site-main .result-year__link:hover {
  text-decoration: underline;
}

/* =========================================================
   Breadcrumb NavXT（WP化で使用予定：.breadcrumbs）※コメントアウトで残す
========================================================= */
/*
body:not(.page-home) #site-main .breadcrumbs {
  margin: var(--space-4) 0 var(--space-3);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body:not(.page-home) #site-main .breadcrumbs a {
  color: var(--ink);
  text-decoration: none;
}

body:not(.page-home) #site-main .breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

body:not(.page-home) #site-main .breadcrumbs a:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
  border-radius: 4px;
}
*/
/* =========================================================
   H1（ページタイトル）
========================================================= */
body:not(.page-home) #site-main .c-page-title,
body:not(.page-home) #site-main > h1 {
  margin: 0 0 var(--page-title-gap);
  padding: 28px 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  font-weight: 700;
  line-height: 1.22;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.01em;
  padding-left: calc(20px + var(--heading-indent));
  position: relative;
}

body:not(.page-home) #site-main .c-page-title::after,
body:not(.page-home) #site-main > h1::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  opacity: 0.95;
}

body:not(.page-home) #site-main .c-page-lead {
  margin: 0 0 var(--space-5);
  padding: 0 2px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  opacity: 0.95;
}

/* =========================================================
   本文：段落/リンク/コード
========================================================= */
body:not(.page-home) #site-main p,
.editor-styles-wrapper p {
  margin: 1.05em 0;
  max-width: none;
}

body:not(.page-home) #site-main p + p,
.editor-styles-wrapper p + p {
  margin-top: 1.25em;
}

body:not(.page-home) #site-main a,
.editor-styles-wrapper a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

body:not(.page-home) #site-main a:hover,
.editor-styles-wrapper a:hover {
  text-decoration-thickness: 2px;
}

body:not(.page-home) #site-main a:focus-visible,
.editor-styles-wrapper a:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
  border-radius: 4px;
}

body:not(.page-home) #site-main code,
.editor-styles-wrapper code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  padding: 0.15em 0.35em;
  border-radius: 6px;
  background: rgba(240, 138, 0, 0.12);
}

body:not(.page-home) #site-main pre,
.editor-styles-wrapper pre {
  margin: 1.2em 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  overflow: auto;
  background: rgba(240, 138, 0, 0.1);
  border: 1px solid rgba(240, 138, 0, 0.18);
}

/* =========================================================
   見出し：H2〜H6
========================================================= */
body:not(.page-home) #site-main h2,
body:not(.page-home) #site-main h3,
body:not(.page-home) #site-main h4,
body:not(.page-home) #site-main h5,
body:not(.page-home) #site-main h6,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 3.9em 0 1.15em;
  padding-left: var(--heading-indent);
  position: relative;
}

body:not(.page-home) #site-main h2 + p,
body:not(.page-home) #site-main h3 + p,
body:not(.page-home) #site-main h4 + p,
body:not(.page-home) #site-main h5 + p,
body:not(.page-home) #site-main h6 + p,
.editor-styles-wrapper h2 + p,
.editor-styles-wrapper h3 + p,
.editor-styles-wrapper h4 + p,
.editor-styles-wrapper h5 + p,
.editor-styles-wrapper h6 + p {
  margin-top: 0.65em;
}

/* H2 */
body:not(.page-home) #site-main h2,
.editor-styles-wrapper h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  padding: 12px 14px 12px calc(var(--heading-indent) + 18px);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--accent-soft-2), var(--accent-soft-1));
  border: 1px solid rgba(240, 138, 0, 0.18);
}

body:not(.page-home) #site-main h2::before,
.editor-styles-wrapper h2::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 12px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent-1));
}

/* H3 */
body:not(.page-home) #site-main h3,
.editor-styles-wrapper h3 {
  font-size: clamp(18px, 2vw, 22px);
  padding-bottom: 14px;
}

body:not(.page-home) #site-main h3::after,
.editor-styles-wrapper h3::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-1), rgba(240, 138, 0, 0));
  opacity: 0.92;
}

body:not(.page-home) #site-main h3::before,
.editor-styles-wrapper h3::before {
  content: "";
  position: absolute;
  left: 0;
  right: 35%;
  bottom: 3px;
  height: 1px;
  background: rgba(0, 0, 0, 0.14);
}

/* H4 */
body:not(.page-home) #site-main h4,
.editor-styles-wrapper h4 {
  font-size: 18px;
  padding: 12px 12px 12px calc(var(--heading-indent) + 10px);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

body:not(.page-home) #site-main h4::before,
.editor-styles-wrapper h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: rgba(240, 138, 0, 0.55);
}

/* H5 */
body:not(.page-home) #site-main h5,
.editor-styles-wrapper h5 {
  font-size: 16px;
  padding: 10px 12px 10px calc(var(--heading-indent) + 12px);
  border-radius: var(--radius-sm);
  background: rgba(255, 210, 74, 0.12);
  border: 1px solid rgba(240, 138, 0, 0.16);
  color: rgba(120, 60, 0, 0.92);
}

body:not(.page-home) #site-main h5::after,
.editor-styles-wrapper h5::after {
  content: "";
  position: absolute;
  left: 0;
  right: 55%;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-1), rgba(240, 138, 0, 0));
  opacity: 0.9;
}

/* H6 */
body:not(.page-home) #site-main h6,
.editor-styles-wrapper h6 {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: rgba(120, 60, 0, 0.92);
  padding: 7px 12px 7px calc(var(--heading-indent) + 14px);
  border-radius: 999px;
  background: rgba(255, 210, 74, 0.18);
  border: 1px solid rgba(240, 138, 0, 0.2);
}

body:not(.page-home) #site-main h6::before,
.editor-styles-wrapper h6::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent-1));
  box-shadow: 0 0 0 4px rgba(240, 138, 0, 0.1);
}

/* =========================================================
   リスト
========================================================= */
body:not(.page-home) #site-main ul,
body:not(.page-home) #site-main ol,
.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
  margin: 1em 0 1em 1.3em;
  padding: 0;
  max-width: none;
}

body:not(.page-home) #site-main li,
.editor-styles-wrapper li {
  margin: 0.45em 0;
}

/* =========================================================
   引用/区切り
========================================================= */
body:not(.page-home) #site-main blockquote,
.editor-styles-wrapper blockquote {
  margin: 1.2em 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border-left: 6px solid rgba(240, 138, 0, 0.55);
  background: rgba(255, 210, 74, 0.14);
  max-width: none;
}

body:not(.page-home) #site-main hr,
.editor-styles-wrapper hr {
  border: 0;
  height: 1px;
  background: rgba(240, 138, 0, 0.25);
  margin: 28px 0;
}

/* =========================================================
   Responsive（SP）
========================================================= */
@media (max-width: 768px) {
  body:not(.page-home) #site-main {
    font-size: 15px;
  }
  body:not(.page-home) #site-main .c-breadcrumb {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    user-select: none;
    min-height: 20.8px;
  }
  /* TOP継承の見出し（news/survey/result） */
  body:not(.page-home) #site-main h1.top-news,
  body:not(.page-home) #site-main h2.top-news,
  body:not(.page-home) #site-main h1.top-survey,
  body:not(.page-home) #site-main h2.top-survey,
  body:not(.page-home) #site-main h1.top-result,
  body:not(.page-home) #site-main h2.top-result,
  body:not(.page-home) #site-main .top-news,
  body:not(.page-home) #site-main .top-survey,
  body:not(.page-home) #site-main .top-result {
    background-size: 56px 56px;
    padding-left: 68px;
    min-height: 56px;
    font-size: clamp(18px, 5vw, 24px);
  }
  body:not(.page-home) #site-main .news-list__link,
  body:not(.page-home) #site-main .survey-list__link {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }
  body:not(.page-home) #site-main .news-list__date,
  body:not(.page-home) #site-main .news-list__title,
  body:not(.page-home) #site-main .survey-list__date,
  body:not(.page-home) #site-main .survey-list__title {
    display: block;
  }
  /* 0件時のタイトル左寄せ（SPは1列前提なので余白を消す） */
  body:not(.page-home) #site-main .news-list__link.is-empty .news-list__title,
  body:not(.page-home) #site-main .survey-list__link.is-empty .survey-list__title {
    padding-left: 0;
  }
  /* 年度別リンク：SP 1列 */
  body:not(.page-home) #site-main .result-year {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body:not(.page-home) #site-main .result-year__item {
    margin-bottom: 15px;
  }
  body:not(.page-home) #site-main .result-year__item:last-child {
    margin-bottom: 0;
  }
  body:not(.page-home) #site-main .result-year__link {
    padding: 0 18px;
  }
  body:not(.page-home) #site-main .c-page-title,
  body:not(.page-home) #site-main > h1 {
    font-size: clamp(22px, 5.5vw, 30px);
    padding: 30px 16px 35px;
    padding-left: calc(16px + var(--heading-indent));
    border-radius: var(--radius-sm);
    margin-top: -35px;
    margin-bottom: 35px;
  }
  body:not(.page-home) #site-main .c-page-title::after,
  body:not(.page-home) #site-main > h1::after {
    margin-top: 14px;
  }
  body:not(.page-home) #site-main .c-page-lead {
    margin-bottom: 36px;
  }
  body:not(.page-home) #site-main h2,
  body:not(.page-home) #site-main h3,
  body:not(.page-home) #site-main h4,
  body:not(.page-home) #site-main h5,
  body:not(.page-home) #site-main h6,
  .editor-styles-wrapper h2,
  .editor-styles-wrapper h3,
  .editor-styles-wrapper h4,
  .editor-styles-wrapper h5,
  .editor-styles-wrapper h6 {
    margin: 3.3em 0 1.05em;
  }
  body:not(.page-home) #site-main h2,
  .editor-styles-wrapper h2 {
    padding-left: calc(var(--heading-indent) + 16px);
  }
  body:not(.page-home) #site-main h2::before,
  .editor-styles-wrapper h2::before {
    left: 10px;
  }
}
/* 768〜1024：result-year 2列 */
@media (min-width: 769px) and (max-width: 1024px) {
  body:not(.page-home) #site-main .result-year {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
/* 1024〜1200：result-year 3列固定 */
@media (min-width: 1025px) and (max-width: 1200px) {
  body:not(.page-home) #site-main .result-year {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* =========================================================
   TOP同等デザイン継承：アーカイブ（新着/募集中/過去結果）のリストUI
   - home.scss の .page-home 配下で効いている装飾を、下層（非TOP）にも適用
   - survey-open / survey-result / （必要なら投稿アーカイブ）で共通に効かせる
   ========================================================= */
body:not(.page-home) #site-main .news,
body:not(.page-home) #site-main .survey,
body:not(.page-home) #site-main .result {
  margin-top: 0; /* 下層はH1があるため、TOPの大きい余白は付けない */
}

/* リスト共通（news / survey / result） */
body:not(.page-home) #site-main .news-list,
body:not(.page-home) #site-main .survey-list,
body:not(.page-home) #site-main .result-list {
  list-style: none;
  margin: 50px 0 30px 0;
  padding: 0;
}

/* 交互背景（TOPと同様の色味） */
body:not(.page-home) #site-main .news-list__item:nth-child(odd) {
  background: hsla(0, 100%, 85%, 0.35);
}

body:not(.page-home) #site-main .survey-list__item:nth-child(odd) {
  background: hsla(130, 100%, 88%, 0.35);
}

body:not(.page-home) #site-main .result-list__item:nth-child(odd) {
  background: rgba(178, 213, 255, 0.35);
}

/* news / survey は「日付 + タイトル」の2カラム（TOP同様） */
body:not(.page-home) #site-main .news-list__link,
body:not(.page-home) #site-main .survey-list__link {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  column-gap: 8px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}

/* result は1カラム（TOP同様） */
body:not(.page-home) #site-main .result-list__link {
  display: block;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}

/* span版（0件のとき等）でも見た目を揃える */
body:not(.page-home) #site-main .news-list__link,
body:not(.page-home) #site-main .survey-list__link,
body:not(.page-home) #site-main .result-list__link {
  cursor: pointer;
}

body:not(.page-home) #site-main .news-list__link.is-empty,
body:not(.page-home) #site-main .survey-list__link.is-empty,
body:not(.page-home) #site-main .result-list__link.is-empty {
  cursor: default;
}

/* hover（aでもspanでも“見た目”だけ揃える） */
body:not(.page-home) #site-main a.news-list__link:hover,
body:not(.page-home) #site-main a.survey-list__link:hover,
body:not(.page-home) #site-main a.result-list__link:hover {
  text-decoration: underline;
}

body:not(.page-home) #site-main .news-list__date,
body:not(.page-home) #site-main .survey-list__date {
  font-weight: 700;
  white-space: nowrap;
}

body:not(.page-home) #site-main .news-list__title,
body:not(.page-home) #site-main .survey-list__title,
body:not(.page-home) #site-main .result-list__title {
  display: block;
  min-width: 0;
}

/* =========================================================
   0件表示：TOPと同じ「左位置揃え」を下層でも再現
   - 要件：TOPは0件時だけ日付列を潰してタイトル位置を揃えている
   - 下層（非TOP）でも同じ挙動にする
   ========================================================= */
/* 共通：0件時は date を消す */
body:not(.page-home) #site-main .news-list__link.is-empty .news-list__date,
body:not(.page-home) #site-main .survey-list__link.is-empty .survey-list__date {
  display: none;
}

/* ---------- PC / Tablet（769px〜）：TOP最終版と同じ “block + padding-left” ---------- */
@media (min-width: 769px) {
  body:not(.page-home) #site-main .news-list__link.is-empty,
  body:not(.page-home) #site-main .survey-list__link.is-empty {
    display: block; /* grid をやめて result 側に合わせる */
    padding-left: 16px; /* result-list__link と同一 */
    column-gap: 0; /* 念のため */
  }
  body:not(.page-home) #site-main .news-list__link.is-empty .news-list__title,
  body:not(.page-home) #site-main .survey-list__link.is-empty .survey-list__title {
    padding-left: 0; /* 余計なオフセットを完全に除去 */
  }
}
/* ---------- SP（〜768px）：1列前提で余白を消す ---------- */
@media (max-width: 768px) {
  body:not(.page-home) #site-main .news-list__link,
  body:not(.page-home) #site-main .survey-list__link {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }
  body:not(.page-home) #site-main .news-list__link.is-empty,
  body:not(.page-home) #site-main .survey-list__link.is-empty,
  body:not(.page-home) #site-main .result-list__link.is-empty {
    padding-left: 0;
  }
}
/* ==========================================================================
   Button Component（ヘッダー共通ボタン：モニター登録・お問い合わせ）
   --------------------------------------------------------------------------
   - ボタンの見た目・状態・振る舞いを一元管理
   - hover / focus 時の色・拡大率はここで固定する
   - 配置・並びは layout 側で制御する
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: #fff;
  transition: transform 180ms ease;
  transform-origin: center;
  will-change: transform;
}
.btn:hover {
  transform: scale(1.1);
  color: #fff;
}
.btn:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

.btn-touroku {
  background-color: #eb6e32;
}

.btn-contact {
  background-color: #666;
}

/* ==========================================================================
   SP ONLY：hover挙動の上書き（モニター登録・お問い合わせ）
   --------------------------------------------------------------------------
   - hover時の拡大を無効化
   - 代わりに文字色を黄色に変更
   - PC挙動は完全に維持
   ========================================================================== */
@media (max-width: 880px) {
  .btn.btn-touroku:hover,
  .btn.btn-contact:hover {
    transform: none;
    color: #ffd84d;
  }
  .btn.btn-touroku,
  .btn.btn-contact {
    transition: color 160ms ease;
  }
}
/* ==========================================================================
   survey-login（カードUI：モニター登録/問い合わせ 共通）
   - カード最大1200 / 中身最大840
   ========================================================================== */
.survey-login {
  margin-top: 28px;
  margin-bottom: 10px;
}

.survey-login__inner {
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(16px, 3.2vw, 28px);
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.survey-login__title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
}

.survey-login__lead {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.72);
}

.survey-login__form {
  margin-top: 10px;
  width: min(840px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.survey-login__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .survey-login__fields {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.survey-login__field {
  min-width: 0;
}

.survey-login__label {
  display: inline-block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.82);
}

.survey-login__input {
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.16);
  font-size: 16px;
  line-height: 1.2;
  color: #111;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 120ms ease;
}
.survey-login__input:hover {
  border-color: rgba(0, 0, 0, 0.26);
}
.survey-login__input:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.38);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}
.survey-login__input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.survey-login__actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   survey-login（カードUI：モニター登録/問い合わせ 共通）
   - カード最大1200 / 中身最大840
   ========================================================================== */
.survey-login {
  margin-top: 28px;
  margin-bottom: 10px;
}

.survey-login__inner {
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(16px, 3.2vw, 28px);
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.survey-login__title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
}

.survey-login__lead {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.72);
}

.survey-login__form {
  margin-top: 10px;
  width: min(840px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.survey-login__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .survey-login__fields {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.survey-login__field {
  min-width: 0;
}

.survey-login__label {
  display: inline-block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.82);
}

.survey-login__input {
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.16);
  font-size: 16px;
  line-height: 1.2;
  color: #111;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 120ms ease;
}
.survey-login__input:hover {
  border-color: rgba(0, 0, 0, 0.26);
}
.survey-login__input:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.38);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}
.survey-login__input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.survey-login__actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Submit（button / a 共通）
   ========================================================================== */
.survey-login__submit {
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(320px, 100%);
  height: 55px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #EB6E32, #EB6E32);
  box-shadow: 0 10px 22px rgba(27, 100, 214, 0.22), 0 2px 8px rgba(15, 79, 179, 0.18);
  transition: transform 140ms ease, box-shadow 180ms ease, filter 180ms ease, color 160ms ease;
}
.survey-login__submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  color: #ffeb3b;
  box-shadow: 0 14px 26px rgba(27, 100, 214, 0.26), 0 4px 10px rgba(15, 79, 179, 0.18);
}
.survey-login__submit:active {
  transform: translateY(0);
  filter: brightness(0.98);
}
.survey-login__submit:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
  color: #ffeb3b;
}
@media (prefers-reduced-motion: reduce) {
  .survey-login__submit {
    transition: none;
  }
  .survey-login__submit:hover, .survey-login__submit:active {
    transform: none;
  }
}

.survey-login__note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  .survey-login__inner {
    background: #fff;
  }
}
/* ==========================================================================
   リンクボタン版（URL未設定時）
   ========================================================================== */
.survey-login__submit.is-disabled {
  pointer-events: none;
  cursor: not-allowed;
  background: #9aa7b7;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
  color: #fff;
}
.survey-login__submit.is-disabled:hover, .survey-login__submit.is-disabled:focus-visible {
  color: #fff;
  filter: none;
  transform: none;
}

/* link色の強制（visited対策含む） */
.survey-login .survey-login__actions a.survey-login__submit:link,
.survey-login .survey-login__actions a.survey-login__submit:visited {
  color: #fff !important;
  text-decoration: none !important;
}

.survey-login .survey-login__actions a.survey-login__submit:hover,
.survey-login .survey-login__actions a.survey-login__submit:focus-visible,
.survey-login .survey-login__actions a.survey-login__submit:active {
  color: #ffeb3b !important;
  text-decoration: none !important;
}

.survey-login button.survey-login__submit {
  color: #fff;
}

.survey-login button.survey-login__submit:hover,
.survey-login button.survey-login__submit:focus-visible,
.survey-login button.survey-login__submit:active {
  color: #ffeb3b;
}

.survey-login .survey-login__submit.is-disabled,
.survey-login .survey-login__submit.is-disabled:hover,
.survey-login .survey-login__submit.is-disabled:focus-visible,
.survey-login .survey-login__submit.is-disabled:active {
  color: #fff !important;
}

/* ==========================================================================
   survey-regist（モニター登録の拡張）
   ========================================================================== */
.survey-login__field.is-full {
  grid-column: 1/-1;
}

.survey-regist__req {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  background: rgba(235, 110, 50, 0.12);
  color: #EB6E32;
}

.survey-regist__hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.62);
}

.survey-regist__address {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.survey-regist__pref {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 14px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.72);
}

.survey-login__input.survey-regist__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, rgba(0, 0, 0, 0.55) 50%), linear-gradient(135deg, rgba(0, 0, 0, 0.55) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.survey-regist__birthday {
  display: grid;
  grid-template-columns: 1fr 110px 110px;
  gap: 10px;
}
@media (max-width: 520px) {
  .survey-regist__birthday {
    grid-template-columns: 1fr;
  }
}

.survey-regist__check {
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.survey-regist__check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.survey-regist__check-input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

.survey-regist__check-text {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.78);
  font-weight: 700;
}

.survey-regist__actions {
  gap: 12px;
  flex-wrap: wrap;
}

.survey-regist__reset {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fff;
  color: rgba(0, 0, 0, 0.82);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(240px, 100%);
  height: 55px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition: transform 140ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.survey-regist__reset:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(0, 0, 0, 0.06);
}
.survey-regist__reset:active {
  transform: translateY(0);
}
.survey-regist__reset:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .survey-regist__reset {
    transition: none;
  }
  .survey-regist__reset:hover, .survey-regist__reset:active {
    transform: none;
  }
}

/* ==========================================================================
   問い合わせ：ラジオ（灰色枠なし）
   ========================================================================== */
.survey-contact__radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.survey-contact__radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.78);
  font-weight: 700;
}

.survey-contact__radio-group input[type=radio] {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   CF7：エラーUI（survey-login 内だけ）
   ========================================================================== */
.survey-login .wpcf7-not-valid {
  border-color: rgba(200, 0, 0, 0.45) !important;
  box-shadow: 0 0 0 4px rgba(200, 0, 0, 0.1) !important;
}
.survey-login .wpcf7-not-valid:hover {
  border-color: rgba(200, 0, 0, 0.55) !important;
}
.survey-login .wpcf7-not-valid:focus {
  outline: none;
  border-color: rgba(200, 0, 0, 0.6) !important;
  box-shadow: 0 0 0 4px rgba(200, 0, 0, 0.12) !important;
}
.survey-login textarea.wpcf7-not-valid {
  box-shadow: 0 0 0 4px rgba(200, 0, 0, 0.1) !important;
}
.survey-login .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(200, 0, 0, 0.88);
  background: transparent;
  padding: 0;
  border: none;
}
.survey-login .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.78);
}
.survey-login .wpcf7 form.invalid .wpcf7-response-output {
  background: rgba(200, 0, 0, 0.06);
  border-color: rgba(200, 0, 0, 0.22);
  color: rgba(0, 0, 0, 0.78);
}
.survey-login .wpcf7 form.failed .wpcf7-response-output,
.survey-login .wpcf7 form.aborted .wpcf7-response-output {
  background: rgba(200, 0, 0, 0.08);
  border-color: rgba(200, 0, 0, 0.26);
  color: rgba(0, 0, 0, 0.78);
}
.survey-login .wpcf7 form.sent .wpcf7-response-output {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.78);
}
.survey-login .wpcf7 .wpcf7-spinner {
  margin: 0 0 0 10px;
}
.survey-login .wpcf7-form-control.wpcf7-radio + .wpcf7-not-valid-tip,
.survey-login .wpcf7-form-control.wpcf7-checkbox + .wpcf7-not-valid-tip {
  margin-top: 8px;
}
.survey-login .wpcf7-form-control-wrap br {
  display: none;
}

/* ==========================================================================
   確認画面：表示値（入力欄風）
   ========================================================================== */
.survey-contact-confirm__value {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 16px;
  line-height: 1.7;
  color: #111;
  overflow-wrap: anywhere;
}

.survey-contact-confirm__value--message {
  min-height: 140px;
  white-space: pre-wrap;
}

/* ==========================================================================
   確認画面：2ボタン（幅統一・PC中央 / SP縦）
   ========================================================================== */
.survey-login .survey-contact-confirm__actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  gap: 14px;
  margin-top: 30px;
  box-sizing: border-box;
}

/* CF7が吐く p / span ラッパーを無効化（直下に居る場合） */
.survey-login .survey-contact-confirm__actions > p,
.survey-login .survey-contact-confirm__actions > span {
  display: contents;
  margin: 0;
  padding: 0;
}

/* ボタン共通：幅を完全統一 */
.survey-login .survey-contact-confirm__actions .survey-regist__reset,
.survey-login .survey-contact-confirm__actions .survey-login__submit {
  width: min(320px, 100%);
  margin: 0;
}

/* SP：縦並び */
@media (max-width: 640px) {
  .survey-login .survey-contact-confirm__actions {
    flex-direction: column;
    gap: 12px;
  }
}
/* ==========================================================================
   confirm：CF7 spinner による“後から左ズレ”対策
   ========================================================================== */
.survey-login .survey-contact-confirm__actions .wpcf7-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.survey-login .survey-contact-confirm__actions .wpcf7-spinner {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  margin: 0 !important;
}

.cf7-hidden {
  display: none !important;
}

html.is-spmenu-open,
html.is-spmenu-open body {
  overflow: hidden;
}

@media (max-width: 880px) {
  .sp-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms ease;
    z-index: 9000;
  }
  .sp-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100dvh;
    background: #fff2e8;
    transform: translateX(110%);
    opacity: 0;
    transition: transform 360ms ease, opacity 360ms ease;
    z-index: 9100;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  }
  .sp-drawer__inner {
    padding: 18px 18px 22px;
  }
  .sp-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 14px;
    position: sticky;
    top: 0;
    z-index: 1;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .sp-drawer__title {
    margin: 0;
    font-weight: 900;
    letter-spacing: 0.14em;
    font-size: 18px;
    color: #111;
    text-transform: uppercase;
  }
  .sp-drawer__btns {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .sp-drawer__btns .btn {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
  .sp-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border-radius: 10px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
  }
  .sp-close__lines {
    position: relative;
    width: 22px;
    height: 22px;
  }
  .sp-close__lines::before, .sp-close__lines::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 2px;
    background: #111;
    border-radius: 2px;
    transform-origin: center;
  }
  .sp-close__lines::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .sp-close__lines::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .sp-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .sp-nav__item + .sp-nav__item {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
  }
  .sp-nav__link {
    display: block;
    padding: 14px 6px;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: transform 220ms ease, opacity 220ms ease;
  }
  .sp-nav__link:hover {
    transform: translateX(2px);
    opacity: 0.9;
  }
  html.is-spmenu-open .sp-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  html.is-spmenu-open .sp-drawer {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (max-width: 880px) and (prefers-reduced-motion: reduce) {
  .sp-overlay,
  .sp-drawer,
  .hamburger__lines,
  .hamburger__lines::before,
  .hamburger__lines::after,
  .sp-nav__link {
    transition: none !important;
  }
}
/* ==========================================================================
   components/_nav.scss
   ========================================================================== */
/* =========================================================
   PC / 全ページ共通 上部ナビ（#top-nav）
========================================================= */
#top-nav {
  width: 100%;
  margin: var(--space-3) 0 var(--space-3);
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PC用リンク群 */
#top-nav .top-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

#top-nav .top-nav__item {
  display: inline-flex;
  align-items: center;
}

#top-nav .top-nav__item + .top-nav__item::before {
  content: "｜";
  margin: 0 16px;
  color: #fff;
  font-weight: 500;
  font-size: 20px;
}

#top-nav .top-nav__link {
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
}

/* =========================================================
   SP（<=880px）
   - PC用 #top-nav の「文字だけ」消す
   - スマホ用 .sp-nav は一切触らない
========================================================= */
@media (max-width: 880px) {
  #top-nav .top-nav__list {
    display: none;
  }
}
/* =========================================================
   トップページ位置合わせ（必要なら）
========================================================= */
body.page-home #top-nav {
  margin-top: 22px;
}

/* ==========================================================================
   Pager（news archive）
   - WP-PageNavi / paginate_links 両対応
   ========================================================================== */
body:not(.page-home) #site-main .c-pager {
  display: flex;
  justify-content: center;
  margin: 40px 0 0;
}

/* paginate_links(type=list) の場合 */
body:not(.page-home) #site-main .c-pager .page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

body:not(.page-home) #site-main .c-pager .page-numbers li {
  margin: 0;
}

body:not(.page-home) #site-main .c-pager .page-numbers a,
body:not(.page-home) #site-main .c-pager .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  line-height: 1;
}

body:not(.page-home) #site-main .c-pager .page-numbers a:hover {
  text-decoration: underline;
}

body:not(.page-home) #site-main .c-pager .page-numbers .current {
  font-weight: 800;
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

/* WP-PageNavi の場合 */
body:not(.page-home) #site-main .c-pager .wp-pagenavi {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

body:not(.page-home) #site-main .c-pager .wp-pagenavi a,
body:not(.page-home) #site-main .c-pager .wp-pagenavi span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  line-height: 1;
}

body:not(.page-home) #site-main .c-pager .wp-pagenavi a:hover {
  text-decoration: underline;
}

body:not(.page-home) #site-main .c-pager .wp-pagenavi span.current {
  font-weight: 800;
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

/* ========== components/_table.scss（今回のテーブル分離フル） ========== */
/* ==========================================================================
   components/_table.scss
   テーブル共通
   - 背景色要件：プラグイン用／サンプル用 いずれも td/th 背景は #fff 固定
   - 対象：
     1) Flexible Table Block（プラグイン想定）
        figure.wp-block-flexible-table-block-table
     2) Gutenberg Core Table
        figure.wp-block-table
     3) デモHTML（静的サンプル）
        .c-table > table
   ========================================================================== */
/* =========================================================
   1) Flexible Table Block（プラグイン）
========================================================= */
body.page #site-main figure.wp-block-flexible-table-block-table,
.editor-styles-wrapper figure.wp-block-flexible-table-block-table {
  margin: 1.2em 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.76);
  overflow: hidden;
}

body.page #site-main figure.wp-block-flexible-table-block-table.is-scroll-on-pc,
body.page #site-main figure.wp-block-flexible-table-block-table.is-scroll-on-mobile,
.editor-styles-wrapper figure.wp-block-flexible-table-block-table.is-scroll-on-pc,
.editor-styles-wrapper figure.wp-block-flexible-table-block-table.is-scroll-on-mobile {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.page #site-main figure.wp-block-flexible-table-block-table > table,
.editor-styles-wrapper figure.wp-block-flexible-table-block-table > table {
  width: 100%;
  border-collapse: collapse;
}

body.page #site-main figure.wp-block-flexible-table-block-table > table.has-fixed-layout,
.editor-styles-wrapper figure.wp-block-flexible-table-block-table > table.has-fixed-layout {
  max-width: none;
}

/* th/td：背景は白固定 */
body.page #site-main figure.wp-block-flexible-table-block-table th,
body.page #site-main figure.wp-block-flexible-table-block-table td,
.editor-styles-wrapper figure.wp-block-flexible-table-block-table th,
.editor-styles-wrapper figure.wp-block-flexible-table-block-table td {
  padding: 12px 14px;
  vertical-align: top;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 15px;
  line-height: 1.75;
  background-color: #fff;
}

/* thead：背景も白固定 */
body.page #site-main figure.wp-block-flexible-table-block-table thead th,
.editor-styles-wrapper figure.wp-block-flexible-table-block-table thead th {
  border-top: 0;
  font-weight: 700;
  background-color: #fff;
}

/* =========================================================
   2) Gutenberg Core Table（wp-block-table）
========================================================= */
body.page #site-main figure.wp-block-table,
.editor-styles-wrapper figure.wp-block-table {
  margin: 1.2em 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.76);
}

body.page #site-main figure.wp-block-table table,
.editor-styles-wrapper figure.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

/* th/td：背景は白固定 */
body.page #site-main figure.wp-block-table th,
body.page #site-main figure.wp-block-table td,
.editor-styles-wrapper figure.wp-block-table th,
.editor-styles-wrapper figure.wp-block-table td {
  padding: 12px 14px;
  vertical-align: top;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 15px;
  line-height: 1.75;
  background-color: #fff;
}

/* =========================================================
   3) デモHTML（静的サンプル：.c-table）
   - NOTE:
     WP本番では figure.wp-block-table / プラグインブロックに寄せる想定
========================================================= */
body.page #site-main .c-table table {
  width: 100%;
  border-collapse: collapse;
}

body.page #site-main .c-table th,
body.page #site-main .c-table td {
  padding: 12px 14px;
  vertical-align: top;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 15px;
  line-height: 1.75;
  background-color: #fff;
}

/* animation.scss */
/*  u-fade-in-up：下からふわっと（inviewで発火させる前提） */
.u-fade-in-up {
  opacity: 0;
  transform: translateY(50px);
}

.u-fade-in-up.is-inview {
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* prefers-reduced-motion：OS設定でアニメを減らす人への配慮 */
@media (prefers-reduced-motion: reduce) {
  .u-fade-in-up {
    opacity: 1;
    transform: none;
  }
  .u-fade-in-up.is-inview {
    animation: none;
  }
}
/* Pickup：フェードイン時差（stagger） */
.pickup .pickup__item.u-fade-in-up.is-inview {
  animation-duration: 0.8s;
}

.pickup .pickup__item:nth-child(1).u-fade-in-up.is-inview {
  animation-delay: 0s;
}

.pickup .pickup__item:nth-child(2).u-fade-in-up.is-inview {
  animation-delay: 0.15s;
}

/* Footer banner：フェードイン時差（stagger） */
.footer-bnr-area .footer-bnr.u-fade-in-up.is-inview {
  animation-duration: 0.8s;
}

.footer-bnr-area .footer-bnr:nth-child(1).u-fade-in-up.is-inview {
  animation-delay: 0s;
}

.footer-bnr-area .footer-bnr:nth-child(2).u-fade-in-up.is-inview {
  animation-delay: 0.15s;
}

.footer-bnr-area .footer-bnr:nth-child(3).u-fade-in-up.is-inview {
  animation-delay: 0.3s;
}

.footer-bnr-area .footer-bnr:nth-child(4).u-fade-in-up.is-inview {
  animation-delay: 0.45s;
}

/* home.scss（TOPページ専用）
    ※共通（#site-main / .main-bg / .about背景 等）は layout 側で管理済み前提
   ============================================================== */
.page-home {
  /* about セクション内の見出し */
  /* about セクション内の本文（.about自体の背景やpadding等は layout 側） */
  /* pickup（バナー2枚）
  ============================== */
  /* 画像表示枠（ここでクリップ） */
  /* 画像本体 */
  /* ホバー時：枠内で画像だけ拡大 */
  /* 新着情報
  ============================== */
  /* 募集中アンケート
  ============================== */
  /* 過去のアンケート結果
  ============================== */
  /* 年度別リンク（背景画像ボタン） */
  /* =========================================================
     ★ 修正版：0件表示の調整（左位置を揃える）
     - 既存の display:grid を壊さない（重要）
     - 「8px」ではなく「8em」でずらす
     ========================================================= */
  /* 0件時：日付要素は非表示 */
  /* 0件時：1カラム化（gridのまま） */
  /*
    0件時：タイトルを右へ寄せる
    - 日付列 6.5em + ずらし 8em（ユーザー指定）
    ※過去のアンケート結果（1カラム）と左端を揃えたい意図に合わせる
  */
  /* 0件時：クリック不可の見た目（任意） */
  /* Responsive
  ============================== */
  /* 768px以下 */
  /* 768〜1024：2列 */
  /* 1024〜1200：3列（明示。上のデフォルトと同じだが意図を固定） */
}
.page-home .top-about {
  color: #eb6e32;
  font-size: clamp(24px, 4.7vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  text-shadow: -1px 0 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, 0 1px 0 #fff, -2px 0 0 #fff, 2px 0 0 #fff, 0 -2px 0 #fff, 0 2px 0 #fff, -3px 0 0 #fff, 3px 0 0 #fff, 0 -3px 0 #fff, 0 3px 0 #fff, -4px 0 0 #fff, 4px 0 0 #fff, 0 -4px 0 #fff, 0 4px 0 #fff, -5px 0 0 #fff, 5px 0 0 #fff, 0 -5px 0 #fff, 0 5px 0 #fff;
}
.page-home .about .inner p {
  font-size: clamp(16px, 3.5vw, 18px);
  line-height: 1.8;
  margin-bottom: 1em;
  color: #333;
}
.page-home .pickup {
  margin: 50px 0;
  display: flex;
  gap: 50px;
}
.page-home .pickup__item {
  flex: 1 1 0;
}
.page-home .pickup__link {
  display: block;
  text-align: center;
  text-decoration: none;
}
.page-home .pickup__media {
  overflow: hidden;
  border-radius: 0;
  /* 必要なら角丸指定 */
}
.page-home .pickup__img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.3s ease;
  will-change: transform;
}
.page-home .pickup__link:hover .pickup__img {
  transform: scale(1.1);
}
.page-home .bnr-text-link {
  display: block;
  color: #333;
  margin-top: 1em;
  font-weight: 700;
  line-height: 1.4;
}
.page-home .pickup__link:hover .bnr-text-link {
  text-decoration: underline;
}
.page-home .news {
  margin-top: 5em;
}
.page-home h2.top-news {
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("../img/icon-news.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 84px 84px;
  padding-left: 100px;
  min-height: 84px;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
}
.page-home h2.top-news::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 100%;
  height: 5px;
  background-color: #eb6e32;
}
.page-home .news-list {
  list-style: none;
  margin: 50px 0 30px 0;
  padding: 0;
}
.page-home .news-list__item:nth-child(odd) {
  background: hsla(0, 100%, 85%, 0.35);
}
.page-home .news-list__link {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  /* PC：2列 */
  column-gap: 8px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}
.page-home .news-list__link:hover {
  text-decoration: underline;
}
.page-home .news-list__date {
  font-weight: 700;
  white-space: nowrap;
}
.page-home .news-list__title {
  min-width: 0;
}
.page-home .more-text {
  text-align: right;
}
.page-home .more-text a {
  color: #333;
  text-decoration: none;
}
.page-home .more-text a:hover {
  text-decoration: underline;
}
.page-home .survey {
  margin-top: 5em;
}
.page-home h2.top-survey {
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("../img/icon-survey.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 84px 84px;
  padding-left: 100px;
  min-height: 84px;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
}
.page-home h2.top-survey::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 100%;
  height: 5px;
  background-color: #eb6e32;
}
.page-home .survey-list {
  list-style: none;
  margin: 50px 0 30px 0;
  padding: 0;
}
.page-home .survey-list__item:nth-child(odd) {
  background: hsla(130, 100%, 88%, 0.35);
}
.page-home .survey-list__link {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  /* PC：2列 */
  column-gap: 8px;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}
.page-home .survey-list__link:hover {
  text-decoration: underline;
}
.page-home .survey-list__date {
  font-weight: 700;
  white-space: nowrap;
}
.page-home .survey-list__title {
  min-width: 0;
}
.page-home .result {
  margin-top: 7.5em;
}
.page-home h2.top-result {
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("../img/icon-result.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 84px 84px;
  padding-left: 100px;
  min-height: 84px;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
}
.page-home h2.top-result::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 100%;
  height: 5px;
  background-color: #eb6e32;
}
.page-home .result-list {
  list-style: none;
  margin: 50px 0 30px 0;
  padding: 0;
}
.page-home .result-list__item:nth-child(odd) {
  background: rgba(178, 213, 255, 0.35);
}
.page-home .result-list__link {
  display: block;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}
.page-home .result-list__link:hover {
  text-decoration: underline;
}
.page-home .result-list__title {
  display: block;
  min-width: 0;
}
.page-home .result-year {
  list-style: none;
  margin: 50px 0 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 1024〜：3列 */
  gap: 20px;
}
.page-home .result-year__item {
  margin: 0;
}
.page-home .result-year__link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-indent: 2em;
  width: 100%;
  aspect-ratio: 370/80;
  /* 縦横比固定 */
  padding: 0 28px;
  /* ← 左アクセントに被らないよう余白を増やす */
  background-image: url("../img/btn-result-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* 途切れ・はみ出し防止 */
  color: #333;
  font-weight: 700;
  text-decoration: none;
  /* テキストが詰まる場合の保険（任意） */
  line-height: 1.2;
}
.page-home .result-year__link:hover {
  text-decoration: underline;
}
.page-home .news-list__link.is-empty .news-list__date,
.page-home .survey-list__link.is-empty .survey-list__date {
  display: none;
}
.page-home .news-list__link.is-empty,
.page-home .survey-list__link.is-empty {
  grid-template-columns: 1fr;
  column-gap: 0; /* 0件時は不要なので明示 */
}
.page-home .news-list__link.is-empty .news-list__title,
.page-home .survey-list__link.is-empty .survey-list__title {
  padding-left: 14.5em;
}
.page-home .news-list__link.is-empty,
.page-home .survey-list__link.is-empty {
  cursor: default;
  text-decoration: none;
}
@media (max-width: 768px) {
  .page-home {
    /* 0件時のタイトル左寄せ（SPは1列前提なので余白を消す） */
    /* 年度別リンク：SP 1列 */
    /* ★ SP時だけ li 間隔を追加（最小変更・意図が明確） */
    /* 最後だけ余白を消す（不要なら削除可） */
  }
  .page-home .pickup {
    flex-direction: column;
    gap: 20px;
  }
  .page-home h2.top-news,
  .page-home h2.top-survey,
  .page-home h2.top-result {
    background-size: 56px 56px;
    padding-left: 68px;
    min-height: 56px;
    font-size: clamp(18px, 5vw, 24px);
  }
  .page-home .news-list__link,
  .page-home .survey-list__link {
    grid-template-columns: 1fr;
    /* SP：1列 */
    row-gap: 6px;
  }
  .page-home .news-list__date,
  .page-home .news-list__title,
  .page-home .survey-list__date,
  .page-home .survey-list__title {
    display: block;
  }
  .page-home .news-list__link.is-empty .news-list__title,
  .page-home .survey-list__link.is-empty .survey-list__title {
    padding-left: 0;
  }
  .page-home .result-year {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .page-home .result-year__item {
    margin-bottom: 15px;
  }
  .page-home .result-year__item:last-child {
    margin-bottom: 0;
  }
  .page-home .result-year__link {
    padding: 0 18px;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .page-home .result-year {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .page-home .result-year {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================================
   0件表示：募集中アンケートと結果の左位置を完全に揃える
   対象：PC / Tablet（769px〜）
   ========================================================= */
/* 共通：0件時は date を消す */
.page-home .survey-list__link.is-empty .survey-list__date,
.page-home .result-list__link.is-empty .result-list__date {
  display: none;
}

/* ---------- PC / Tablet ---------- */
@media (min-width: 769px) {
  /* survey（元は grid 2列） */
  .page-home .survey-list__link.is-empty {
    display: block; /* grid をやめて result 側に合わせる */
    padding-left: 16px; /* result-list__link と同一 */
  }
  .page-home .survey-list__link.is-empty .survey-list__title {
    padding-left: 0; /* 余計なオフセットを完全に除去 */
  }
  /* result（もともと block） */
  .page-home .result-list__link.is-empty {
    display: block;
    padding-left: 16px;
  }
  .page-home .result-list__link.is-empty .result-list__title {
    padding-left: 0;
  }
}
/* ---------- SP（既存仕様を維持） ---------- */
@media (max-width: 768px) {
  .page-home .survey-list__link.is-empty,
  .page-home .result-list__link.is-empty {
    padding-left: 0;
  }
}