@charset "UTF-8";
/* main.scss */
* {
  box-sizing: border-box;
}

body,
button,
input,
select,
optgroup,
textarea {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 640px) {
  body,
  button,
  input,
  select,
  optgroup,
  textarea {
    font-size: 14px;
  }
}

a {
  color: #328b47;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
  color: black;
}
a img {
  transition: all 0.3s ease;
}
a img:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: #000;
  color: #fff;
  z-index: 10000;
}

br[class^=br-] {
  display: none;
}

@media (min-width: 640px) {
  br.br-sm {
    display: inline;
  }
}
@media (min-width: 800px) {
  br.br-md {
    display: inline;
  }
}
@media (min-width: 1080px) {
  br.br-lg {
    display: inline;
  }
}
@media (max-width: 640px) {
  br.br-only-sm {
    display: inline;
  }
}
.img-sm-only,
.img-md-only,
.img-lg-only {
  display: none;
}

@media (max-width: 640px) {
  .img-sm-only {
    display: block;
  }
}
@media (min-width: 640px) {
  .img-sm-up {
    display: block;
  }
}
@media (max-width: 800px) {
  .img-md-only {
    display: block;
  }
}
@media (min-width: 800px) {
  .img-md-up {
    display: block;
  }
}
@media (min-width: 1080px) {
  .img-lg-up {
    display: block;
  }
}
p {
  margin: 0.5em auto 1em;
}
p:first-child {
  margin-top: 0;
}

:root {
  --page-padding: 1.5rem;
}

.entry-content > .alignwide {
  width: var(--vw, 100vw);
  max-width: 1240px; /* ここで本来止まってほしい幅を指定 */
  margin-left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  padding-inline: var(--page-padding);
}

.entry-content > .alignfull {
  width: var(--vw);
  max-width: var(--vw);
  margin-left: 50%;
  transform: translateX(-50%);
  padding-inline: var(--page-padding);
}

body {
  overflow-x: hidden;
}

/* ----------------------------------------
 * WordPress: alignments
 * 画像・figure・ブロック共通
 * -------------------------------------- */
/* 左寄せ：テキスト回り込み */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

/* 右寄せ：テキスト回り込み */
.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

/* 中央寄せ：ブロックとして中央に */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

img.alignleft,
.wp-block-image .alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

img.alignright,
.wp-block-image .alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

img.aligncenter,
.wp-block-image .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* figure 共通の余白調整など */
.wp-block-image,
figure {
  max-width: 100%;
}

.wp-block-image img {
  height: auto;
}

/* キャプション */
.wp-element-caption,
.wp-block-image figcaption {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.5em;
  color: #666;
}

@media (max-width: 768px) {
  .alignleft,
  .alignright,
  img.alignleft,
  img.alignright,
  .wp-block-image .alignleft,
  .wp-block-image .alignright {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
/* パララックスが含まれる場合のみ、transformを解除して計算式に差し替える */
.entry-content > .alignfull:has(.has-parallax) {
  transform: none;
  margin-left: calc(50% - var(--vw) / 2);
}

/* 右側に回り込まないようにする */
.is-layout-constrained > * {
  clear: both;
}

.is-layout-constrained {
  display: flow-root;
}

/* PDFリンクにアイコンを付与する設定 */
a[href$=".pdf"]:not(:has(img)) {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  text-decoration: none; /* 下線がアイコンにかぶるのを防ぐ場合 */
}
a[href$=".pdf"]:not(:has(img))::before {
  content: "";
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  vertical-align: middle;
  /* マスク設定 */
  -webkit-mask-image: url("/syusyoku_wp/wp-content/themes/syusyoku/assets/image/icon-pdf.svg");
  mask-image: url("/syusyoku_wp/wp-content/themes/syusyoku/assets/image/icon-pdf.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  /* 色の設定：ここが重要 */
  background-color: currentColor;
}

/* 1. すべての外部リンク（絶対パス）にアイコンを付与 */
a.is-external:not(:has(img))::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.3em;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask-image: url("/syusyoku_wp/wp-content/themes/syusyoku/assets/image/icon-external.svg");
  mask-image: url("/syusyoku_wp/wp-content/themes/syusyoku/assets/image/icon-external.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  mask-repeat: no-repeat;
}

.entry-content:not(.front-entry) h2,
.entry-content:not(.front-entry) h3,
.entry-content:not(.front-entry) h4,
.entry-content:not(.front-entry) h5,
.entry-content:not(.front-entry) h6 {
  margin: 2em auto 1em;
  font-weight: 500;
}
.entry-content:not(.front-entry) h2 {
  font-size: 1.8em;
}
.entry-content:not(.front-entry) h2:before {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  background-color: #328b47;
  border-radius: 100%;
  margin-right: 0.25em;
}
.entry-content:not(.front-entry) h3 {
  font-size: 1.6em;
  border-bottom: 1px solid #328b47;
  color: #328b47;
}
.entry-content:not(.front-entry) h4 {
  font-size: 1.4em;
}
.entry-content:not(.front-entry) h5 {
  font-size: 1.3em;
  color: #328b47;
}
.entry-content:not(.front-entry) h6 {
  font-size: 1.2em;
}

.entry-content.front-entry h2,
.entry-content.front-entry h3,
.entry-content.front-entry h4,
.entry-content.front-entry h5,
.entry-content.front-entry h6 {
  margin: 2em auto 1em;
  font-weight: 500;
}
.entry-content.front-entry h2 {
  font-size: 1.8em;
  position: relative;
  padding: 1em 0;
}
.entry-content.front-entry h2:after {
  content: "";
  width: 60px;
  height: 2px;
  background-color: #328b47;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.entry-content.front-entry h3 {
  font-size: 1.6em;
}
.entry-content.front-entry h4 {
  font-size: 1.4em;
}
.entry-content.front-entry h5 {
  font-size: 1.3em;
}
.entry-content.front-entry h6 {
  font-size: 1.2em;
}

.mailform input, .mailform select, .mailform textarea {
  width: 100%;
}

span.red {
  color: red;
  font-size: 0.8em;
  margin-left: 0.25em;
}

.form-btn-p.center {
  text-align: center;
  padding: 3em 0;
}
.form-btn-p button,
.form-btn-p input {
  padding: 0.75em 2em;
  border-radius: 5px;
  background-color: gray;
  color: white;
  transition: background-color 0.3s ease;
  width: auto;
}
.form-btn-p button:hover,
.form-btn-p input:hover {
  background-color: black;
  color: white;
}
.form-btn-p :is(button.btn-go-confirm, input.wpcf7-submit) {
  background-color: #328b47;
  color: white;
  cursor: pointer;
  width: auto;
}
.form-btn-p :is(button.btn-go-confirm, input.wpcf7-submit):hover {
  background-color: black;
}
.form-btn-p :is(button.btn-go-confirm, input.wpcf7-submit).is-inactive {
  background-color: gray;
  color: white;
  cursor: not-allowed;
}

p.mail-title {
  border-bottom: 1px solid #CCC;
  margin-bottom: 0.5em;
}

.mail-container {
  margin: 2em auto;
}

/* =========================================================
   Header — Figma `2110:1772`（1920×80 / 白地 / drop-shadow 0 3px 3px #8AC89D）

   1920 のときカンプ通りの寸法（ロゴ237 / バッジ20px / ナビ18px / CTA 280×60）になり、
   幅が狭まるにつれて clamp() で連続的に縮む。
   横並びに必要な最小幅は約 1150px。それを下回る $bp-header 未満では
   ナビと CTA をドロワーへ逃がす（layout/_nav.scss）。
   ========================================================= */
header#header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 3px 3px #8ac89d;
  z-index: 1000;
}
header#header .header-container {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.04vw, 20px);
  height: 80px;
  padding-inline: clamp(12px, 0.89vw, 17px);
}
@media (max-width: 1200px) {
  header#header .header-container {
    height: 64px;
    gap: 12px;
    padding-inline: 12px;
  }
}
header#header {
  /* ロゴ 237×51（1920時） */
}
header#header .site-branding {
  flex: 0 0 auto;
  line-height: 0;
}
header#header .site-branding .site-logo {
  margin: 0;
  font-size: 0;
}
header#header .site-branding .site-logo img {
  display: block;
  width: clamp(160px, 12.34vw, 237px);
  height: auto;
  aspect-ratio: 237/51;
  object-fit: contain;
}
@media (max-width: 1200px) {
  header#header .site-branding .site-logo img {
    width: 168px;
  }
}
@media (max-width: 640px) {
  header#header .site-branding .site-logo img {
    width: 110px;
  }
}
header#header .site-branding .site-logo img {
  /* 320px 級ではロゴを詰めて、事業名バッジの折り返しを2行に収める */
}
@media (max-width: 360px) {
  header#header .site-branding .site-logo img {
    width: 92px;
  }
}
header#header {
  /* 事業名バッジ — bg $main / radius 40px / 1920時 padding 10px 30px / 20px bold */
}
header#header .site-badge {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  padding: clamp(6px, 0.52vw, 10px) clamp(10px, 1.56vw, 30px);
  border-radius: 40px;
  background-color: #328b47;
  color: #fff;
  font-size: clamp(13px, 1.04vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  /* ドロワー幅では折り返しを許す。
     flex-grow は 0 のまま（伸ばすと空きぶん間延びして帯のようになる）、
     shrink と min-width:0 でハンバーガーの居場所は確保する */
}
@media (max-width: 1200px) {
  header#header .site-badge {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 15px;
    line-height: 1.3;
    padding: 8px 16px;
    white-space: normal;
    text-align: center;
  }
}
@media (max-width: 800px) {
  header#header .site-badge {
    font-size: 13px;
    padding: 7px 12px;
  }
}
@media (max-width: 640px) {
  header#header .site-badge {
    font-size: 10px;
    padding: 6px 8px;
    border-radius: 12px;
  }
}
header#header {
  /* ナビ + CTA */
}
header#header .nav-area {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.67vw, 32px);
}
header#header {
  /* 右端CTA — bg $accent / 1920時 280×60 / radius 36.5px / 18px bold / 2行 */
}
header#header .header-cta {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(200px, 14.58vw, 280px);
  min-height: 60px;
  padding: 6px 10px;
  border-radius: 36.5px;
  background-color: #39ab70;
  color: #fff;
  font-size: clamp(13px, 0.94vw, 18px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
header#header .header-cta:hover, header#header .header-cta:focus-visible {
  background-color: #328b47;
  color: #fff;
}
header#header {
  /* -----------------------------------------
     ハンバーガー（$bp-header 未満）
     ----------------------------------------- */
}
header#header .sp-menu {
  display: none;
}
@media (max-width: 1200px) {
  header#header .sp-menu {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-left: auto;
    appearance: none;
    border: 0;
    background: #328b47;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  header#header .sp-menu:focus-visible {
    outline: 2px solid #39ab70;
    outline-offset: 2px;
  }
  header#header .sp-menu {
    /* 320px 級。タップ領域として 48 は確保する */
  }
}
@media (max-width: 1200px) and (max-width: 360px) {
  header#header .sp-menu {
    width: 48px;
    height: 48px;
  }
}
header#header .sp-menu .sp-menu-bars {
  position: relative;
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
  /* ⚠️ 上下の線は ::before / ::after の絶対配置なので、この要素の高さ（2px）に
     含まれない。マージンで -7〜+9 の 16px ぶんの場所を確保しないと、
     下の線が gap を飛び越えて「MENU」の文字に重なる。
     線の位置そのものは動かないので見た目は変わらない。 */
  margin-block: 7px;
}
header#header .sp-menu .sp-menu-bars::before, header#header .sp-menu .sp-menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}
header#header .sp-menu .sp-menu-bars::before {
  top: -7px;
}
header#header .sp-menu .sp-menu-bars::after {
  top: 7px;
}
header#header .sp-menu .sp-menu-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}
header#header .sp-menu {
  /* 開いている状態 → × */
}
header#header .sp-menu.active .sp-menu-bars {
  background: transparent;
}
header#header .sp-menu.active .sp-menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}
header#header .sp-menu.active .sp-menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* =========================================================
   グローバルナビ
   $bp-header 以上: ヘッダー内に横並び（文字と間隔は clamp で連続的に縮む）
   $bp-header 未満: `.nav-area.active` でドロワー展開
   開閉は assets/js/main.js（`.sp-menu` ⇄ `.nav-area` に .active を付け外し）
   ドロワーの top は main.js が header の実高さを入れる
   ========================================================= */
#global-menu .global-menu-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.67vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}
#global-menu .global-menu-list li {
  margin: 0;
}
#global-menu .global-menu-list li a {
  color: #39ab70;
  font-size: clamp(14px, 0.94vw, 18px);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}
#global-menu .global-menu-list li a:hover, #global-menu .global-menu-list li a:focus-visible {
  color: #328b47;
}
#global-menu .global-menu-list li.current-menu-item > a {
  color: #328b47;
}

/* -----------------------------------------
   PC（$bp-header 以上）
   ----------------------------------------- */
@media (min-width: 1201px) {
  header#header .nav-area {
    position: static;
    transform: none;
    visibility: visible;
    opacity: 1;
  }
}
/* -----------------------------------------
   ドロワー（$bp-header 未満）
   ----------------------------------------- */
@media (max-width: 1200px) {
  header#header .nav-area {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    /* top は main.js がヘッダーの実高さを入れる */
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    background-color: #fff;
    padding: 40px 24px 64px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  header#header .nav-area.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  #global-menu {
    width: 100%;
  }
  #global-menu .global-menu-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  #global-menu .global-menu-list li {
    width: 100%;
    text-align: center;
  }
  #global-menu .global-menu-list li a {
    display: block;
    padding: 22px 8px;
    font-size: 20px;
    white-space: normal;
  }
  header#header .header-cta {
    width: min(100%, 320px);
    min-height: 0;
    height: auto;
    padding: 14px 20px;
    margin-top: 24px;
    font-size: 16px;
  }
  /* ドロワーを開いている間は背面をスクロールさせない */
  body.nav-open {
    overflow: hidden;
  }
}
/* サブメニュー（既存テーマの .menu-item-has-children / .is-hover を踏襲） */
.menu-item-has-children {
  position: relative;
}
.menu-item-has-children .sub-menu {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1201px) {
  .menu-item-has-children .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    padding: 8px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  }
}
.menu-item-has-children .sub-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 16px;
}
.menu-item-has-children.is-hover > .sub-menu {
  display: block;
}
@media (max-width: 1200px) {
  .menu-item-has-children > .sub-menu {
    display: block;
  }
  .menu-item-has-children > .sub-menu li a {
    font-size: 16px;
    padding: 14px 8px;
    color: #666;
  }
}

.entry-content {
  width: min(100% - 1rem * 2, 1200px);
  margin-inline: auto;
}

/*********************アーカイブ***/
nav.navigation.pagination .nav-links {
  margin-top: 5em;
  text-align: center;
}
nav.navigation.pagination .nav-links span,
nav.navigation.pagination .nav-links a {
  padding: 0.75em 1.25em;
  border: 1px solid;
  transition: background-color ease 0.3s;
}
nav.navigation.pagination .nav-links a:hover {
  background-color: black;
  color: white;
  border: 1px solid black;
}
nav.navigation.pagination .nav-links .current {
  background-color: #666;
  color: white;
  border: 1px solid #666;
}
nav.navigation.pagination .nav-links a.prev,
nav.navigation.pagination .nav-links a.next {
  border: none;
}

nav.navigation.post-navigation {
  border-top: 1px solid #ddd;
  margin-top: 5em;
}
nav.navigation.post-navigation .nav-links {
  margin: 1em 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
}
nav.navigation.post-navigation .nav-links .nav-previous a:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: currentColor;
  -webkit-mask: url("/syusyoku_wp/wp-content/themes/syusyoku/assets/image/icon-tri.svg") no-repeat center/contain;
  mask: url("/syusyoku_wp/wp-content/themes/syusyoku/assets/image/icon-tri.svg") no-repeat center/contain;
  margin-left: 0.5em;
  transform: rotate(180deg);
}
nav.navigation.post-navigation .nav-links .nav-next {
  text-align: right;
}
nav.navigation.post-navigation .nav-links .nav-next a:after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: currentColor;
  -webkit-mask: url("/syusyoku_wp/wp-content/themes/syusyoku/assets/image/icon-tri.svg") no-repeat center/contain;
  mask: url("/syusyoku_wp/wp-content/themes/syusyoku/assets/image/icon-tri.svg") no-repeat center/contain;
  margin-left: 0.5em;
}
@media (max-width: 640px) {
  nav.navigation.post-navigation .nav-links {
    grid-template-columns: 1fr;
    gap: 0.5em;
  }
}

.post-card a {
  display: grid;
  grid-template-columns: 120px 1fr 1em;
  padding: 0.5em 0;
  border-bottom: 1px solid #ddd;
  color: #333;
  align-items: center;
}
.post-card a h2,
.post-card a h3 {
  font-size: 1.1em !important;
  font-weight: 500;
  margin: 0 !important;
  color: #333;
}
.post-card a h2:before,
.post-card a h3:before {
  display: none !important;
}
.post-card a:after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("/syusyoku_wp/wp-content/themes/syusyoku/assets/image/icon-tri.svg") no-repeat center/contain;
  mask: url("/syusyoku_wp/wp-content/themes/syusyoku/assets/image/icon-tri.svg") no-repeat center/contain;
  margin-left: 0.5em;
}
.post-card a:hover {
  color: #328b47;
}
.post-card a:hover h2,
.post-card a:hover h3 {
  color: #328b47;
}

.post-container--interview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
}
@media (max-width: 640px) {
  .post-container--interview {
    grid-template-columns: 1fr;
  }
}

article.custom-card {
  padding: 1em;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
article.custom-card .custom-card__img-wrapper a img {
  margin: auto;
}
article.custom-card .custom-card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
article.custom-card h2.custom-card__title,
article.custom-card h3.custom-card__title {
  font-size: 1.1em;
  margin: 0;
  border-bottom: 1px solid #ddd;
  padding: 0.25em 0;
}
article.custom-card h2.custom-card__title a,
article.custom-card h3.custom-card__title a {
  color: #333;
}
article.custom-card h2.custom-card__title:before,
article.custom-card h3.custom-card__title:before {
  display: none;
}
article.custom-card .custom-card__site-info {
  text-align: right;
  font-weight: 500;
  margin: 0.5em auto;
}
article.custom-card .custom-card__more {
  margin-top: 1em;
}
article.custom-card .custom-card__more a {
  background-color: #666;
  color: white;
  width: 100%;
  display: block;
  text-align: center;
  padding: 0.25em;
  border-radius: 2em;
}
article.custom-card .custom-card__more a:hover {
  background-color: #328b47;
}

/*********************Page Single***/
span.date {
  font-size: 0.9em;
}

.page-title {
  margin: 3em 0 1em;
}
.page-title h1.entry-title,
.page-title .archive-title {
  font-size: 1.8em;
  font-weight: 500;
}

/*********************FAQ***/
.faq-term-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: row wrap;
  gap: 0.5em;
}
.faq-term-list ul li a {
  display: inline-block;
  padding: 0.25em 1em;
  background-color: #328b47;
  color: white;
  border-radius: 3px;
}
.faq-term-list ul li a:hover {
  background-color: black;
}

.entry-content.content-404 {
  text-align: center;
}

.img-404 {
  max-width: 240px;
  margin: 5em auto;
  width: 50%;
}

@media (max-width: 640px) {
  .adviser-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.archive-description {
  margin: 1em auto 2em;
}

/*********************STEP***/
@media (max-width: 640px) {
  .step-grid {
    grid-template-columns: 1fr !important;
  }
}

.step-box {
  background: #d6efd9;
  padding: 1em 0.5em;
  text-align: center;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
.step-box .step {
  display: inline-block;
  background: #328b47;
  padding: 0.15em 1em;
  border-radius: 5px;
  font-weight: bold;
  color: white;
}
.step-box .step-title {
  margin: 0.5em 0;
  color: #328b47;
}
.step-box .step-text {
  margin: 0;
}

@media (max-width: 1080px) {
  .reservation-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}

/* =========================================================
   Footer — Figma `79:3539`（1920×300 / bg #328B47）
   ========================================================= */
footer#footer {
  background-color: #328b47;
  color: #fff;
  padding: 60px 20px 26px;
  margin-top: 0;
  box-shadow: none;
}
footer#footer a {
  color: #fff;
}
footer#footer {
  /* ロゴ + 問い合わせ先を横一列に */
}
footer#footer .footer-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
@media (max-width: 1080px) {
  footer#footer .footer-main {
    flex-direction: column;
    gap: 20px;
  }
}
footer#footer {
  /* 白地 450×100 の中にロゴ 400×78 */
}
footer#footer .footer-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 450px;
  height: 100px;
  background-color: #fff;
}
@media (max-width: 640px) {
  footer#footer .footer-logo {
    width: min(100%, 320px);
    height: 72px;
  }
}
footer#footer .footer-logo img {
  display: block;
  width: 400px;
  height: 78px;
  object-fit: contain;
}
@media (max-width: 640px) {
  footer#footer .footer-logo img {
    width: 280px;
    height: 55px;
  }
}
footer#footer .footer-contact-label {
  flex: 0 0 auto;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}
footer#footer {
  /* 縦の区切り線つき */
}
footer#footer .footer-contact {
  flex: 0 0 auto;
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.7);
}
@media (max-width: 1080px) {
  footer#footer .footer-contact {
    padding-left: 0;
    border-left: 0;
    text-align: center;
  }
}
footer#footer .footer-contact p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
footer#footer .footer-contact-mail {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 1080px) {
  footer#footer .footer-contact-mail {
    justify-content: center;
  }
}
footer#footer .footer-contact-mail img {
  width: 22px;
  height: 18px;
  flex: 0 0 auto;
}
footer#footer .footer-contact-mail a {
  text-decoration: none;
  word-break: break-all;
}
footer#footer .footer-contact-mail a:hover, footer#footer .footer-contact-mail a:focus-visible {
  text-decoration: underline;
}
footer#footer {
  /* 委託注記 13px */
}
footer#footer .footer-note {
  margin: 30px auto 0;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
footer#footer {
  /* プライバシーポリシー 14px 下線 */
}
footer#footer .footer-privacy {
  margin: 10px auto 0;
  font-size: 14px;
  text-align: center;
}
footer#footer .footer-privacy a {
  text-decoration: underline;
}
footer#footer {
  /* コピーライト 14px */
}
footer#footer .site-info {
  margin: 20px auto 0;
  font-size: 14px;
  text-align: center;
}

/* =========================================================
   ページトップへ戻る（表示制御は main.js）
   ========================================================= */
#page_top {
  position: fixed;
  right: 1em;
  bottom: 1em;
  width: 58px;
  height: 58px;
  z-index: 999;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  appearance: none;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: #328b47;
  color: #fff;
  transition: all 0.3s ease;
}
#page_top:hover {
  bottom: 2em;
  background-color: #39ab70;
}
#page_top:focus-visible {
  outline: 2px solid #39ab70;
  outline-offset: 2px;
}
#page_top {
  /* 上向き矢印 */
}
#page_top .page-top-arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-top: 4px;
}
#page_top .page-top-label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.breadcrumbs {
  background-color: #d6efd9;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.8em;
  padding: 0.25em 1em;
}
.breadcrumbs li + li::before {
  content: ">";
  margin-right: 0.5rem;
  color: #999;
}

.is-layout-constrained > * {
  clear: both;
}

.is-layout-constrained {
  display: flow-root;
}

:root :where(.wp-element-button, .wp-block-button__link) {
  background-color: #328b47;
}

.wp-block-button .wp-block-button__link:hover {
  background-color: black !important;
  color: white !important;
  border-color: black !important;
}

.is-provider-youtube .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.is-provider-youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

figure.wp-block-embed.aligncenter.is-type-video.is-provider-youtube.wp-block-embed-youtube {
  text-align: center;
}

/* パララックスが含まれる場合のみ、transformを解除して計算式に差し替える */
.entry-content > .alignfull:has(.has-parallax) {
  transform: none;
  margin-left: calc(50% - var(--vw) / 2);
}

:root :where(.wp-block-button.is-style-outline .wp-block-button__link) {
  border-width: 1px !important;
}

.has-background:not(.wp-block-button__link) {
  padding: 1em;
}

.has-border-color {
  padding: 1.2em;
}

.swiper-container {
  overflow: hidden;
  position: relative;
}

/* =========================================================
   この案件で繰り返し出てくる共通パーツ

   寸法は Figma `1:2`（1920幅）の実測値をそのまま px で持つ。
   コンテナが 1200px 固定なので、ビューポートが 1200 以上あれば
   カンプと同じ余白になる。

   カンプの基準値:
   - コンテナ 1200（1920 の中央、左右 360）
   - パネルの内側 1140（＝左右 30 のパディング）
   - パネルの上下パディング 40
   - パネル同士の間隔 60
   ========================================================= */
/* ---------------------------------------------------------
   ページ見出し（下線つき中央寄せ）
   --------------------------------------------------------- */
.page-title {
  /* カンプ `2089:669`: 文字 30px `$accent` / 下線は文字幅ぶん 3px / 下線から次のパネルまで 60
     （企業一覧・申込フォームのカンプも同じ緑なので共通で `$accent`） */
  margin: 0 auto 60px;
  padding-bottom: 12px;
  font-size: clamp(20px, 1.923vw + 10.77px, 30px);
  font-weight: 700;
  line-height: 1.4;
  color: #39ab70;
  text-align: center;
  border-bottom: 3px solid #39ab70;
  width: fit-content;
  max-width: 100%;
  /* 「〈社名〉（企業詳細）」のように括弧で終わる見出しは、
     括弧の前後で改行できず狭い画面ではみ出すことがある */
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .page-title {
    margin-bottom: 32px;
  }
}

/* ---------------------------------------------------------
   セクション見出し（緑のピル型バー ＋ 先頭の●）
   カンプ: 高さ50 / 左パディング21 / ●30 / ●と文字の間20 / 文字28px bold
   --------------------------------------------------------- */
.sec-heading {
  display: flex;
  align-items: center;
  gap: clamp(14px, 0.968vw + 9.35px, 20px);
  width: 100%;
  min-height: clamp(42px, 1.29vw + 35.81px, 50px);
  margin: 0 0 30px;
  padding-block: 6px;
  padding-inline: clamp(16px, 0.645vw + 12.9px, 20px);
  border-radius: 999px;
  /* カンプはピルもページ見出しと同じ `$accent`（TOP の「● 事業概要」等も同色） */
  background-color: #39ab70;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  color: #fff;
  /* 見出し文は「企業一覧に参加する企業の募集について」のように長いものがあり、
     28px 固定のままだと狭い幅で2行になってピルの高さが倍になる */
  font-size: clamp(17px, 1.774vw + 8.48px, 28px);
  font-weight: 700;
  line-height: 1.3;
}
.sec-heading::before {
  content: "";
  flex: 0 0 auto;
  width: clamp(22px, 1.29vw + 15.81px, 30px);
  height: clamp(22px, 1.29vw + 15.81px, 30px);
  border-radius: 50%;
  background-color: #fff;
}
.sec-heading {
  /* `.is-auto`（文字幅ぶんのピル）は、2026-10-06 のカンプ差し替えで
     使っていた「セミナー紹介（全2回）/ 当日の流れ」ごと無くなったので削除した。
     いまのピルはすべて親の幅いっぱい。 */
}
@media (max-width: 800px) {
  .sec-heading {
    margin-bottom: 24px;
  }
}

/* ---------------------------------------------------------
   パネル（淡緑カード）
   --------------------------------------------------------- */
.panel {
  padding: 24px;
  border-radius: 12px;
  background-color: #d6efd9;
}
.panel.is-white {
  background-color: #fff;
}
@media (max-width: 640px) {
  .panel {
    padding: 16px;
  }
}

/* セクションの外枠（白いカード） */
.sec-block {
  margin: 0 0 60px;
  padding: 40px 30px;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(50, 139, 71, 0.08);
}
.sec-block:last-child {
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .sec-block {
    padding: 24px 16px;
    margin-bottom: 32px;
  }
}

/* ---------------------------------------------------------
   セクション背景
   --------------------------------------------------------- */
.section-pale {
  background-color: #ebfce2;
}

.section-off {
  background-color: #f8fbf9;
}

.section-inner {
  width: min(100% - 1rem * 2, 1200px);
  margin-inline: auto;
}

/* ---------------------------------------------------------
   ボタン
   カンプ: パネル内のボタンは高さ60・文字幅ぶん
          単独のCTA帯は 700×80、「企業をもっと見る」は 500×80 の白抜き

   ⚠️ **狭い幅でボタンを `width: 100%` にしない。**
      以前は `.btn` が 640px 未満、`.btn-wide` / `.btn-outline-wide` が 800px 未満で
      全幅になっていた。375px では 6つのボタン全部が枠いっぱいに伸び、
      とくに FV 下の CTA は **画面の端から端（360/360）**まで届いていた。
      いまは中身の幅（`inline-flex`）のまま中央に置き、`max-width: 100%` で
      はみ出しだけ止める。文字が長いときは折り返して縦に伸びる。
   --------------------------------------------------------- */
.btn, .btn-outline, .btn-outline-wide, .btn-wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: clamp(52px, 1.538vw + 44.62px, 60px);
  padding-block: 10px;
  padding-inline: clamp(24px, 3.077vw + 9.23px, 40px);
  border-radius: 999px;
  background-color: #328b47;
  color: #fff;
  font-size: clamp(16px, 0.769vw + 12.31px, 20px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border: 2px solid #328b47;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 100%;
}
.btn:hover, .btn-outline:hover, .btn-outline-wide:hover, .btn-wide:hover, .btn:focus-visible, .btn-outline:focus-visible, .btn-outline-wide:focus-visible, .btn-wide:focus-visible {
  background-color: #fff;
  color: #328b47;
}

/* 単独のCTA帯（カンプ 700×80） */
/* ⚠️ 幅も**段階指定にしない**。
   `800px 未満なら中身の幅` にすると、801px で 700 → 799px で 240 と一気に縮んで段差が出る。
   文字サイズと同じく `fluid()` で連続的に縮める。下限 200px は
   「企業一覧はこちら」（18px・8文字＋左右パディング＝192px）が1行に収まる幅。 */
.btn-wide {
  width: clamp(200px, 96.154vw - 261.54px, 700px);
  max-width: 100%;
  min-height: clamp(64px, 3.077vw + 49.23px, 80px);
  font-size: clamp(18px, 1.154vw + 12.46px, 24px);
}

/* 「企業をもっと見る」（カンプ 500×80 の白抜き） */
.btn-outline, .btn-outline-wide {
  background-color: #fff;
  color: #328b47;
}
.btn-outline:hover, .btn-outline-wide:hover, .btn-outline:focus-visible, .btn-outline-wide:focus-visible {
  background-color: #328b47;
  color: #fff;
}

.btn-outline-wide {
  width: clamp(200px, 57.692vw - 76.92px, 500px);
  max-width: 100%;
  min-height: clamp(64px, 3.077vw + 49.23px, 80px);
  font-size: clamp(18px, 1.154vw + 12.46px, 24px);
}

/* ボタンだけを中央に置く帯 */
.cta-band {
  display: flex;
  justify-content: center;
}

/* ---------------------------------------------------------
   定義リスト（事業概要・企業情報）
   カンプ: 表は左右40の内側 / ラベル列186 / 行の高さ80
   --------------------------------------------------------- */
/* ⚠️ **コアの表ブロックは `<figure class="wp-block-table def-table">` で包む。**
   `.def-table` が figure に付くので、幅と余白は figure、罫線は中の table に当てる。
   さらにコアが `th`/`td` に `border: 1px solid` と `padding: .5em` を入れてくるので、
   打ち消さないと 1px ずつ幅がずれる（実測で x が 1px 動いた）。 */
.def-table {
  width: calc(100% - 80px);
  margin-inline: 40px;
  border-collapse: collapse;
  /* 日時やURLのように切れ目の少ない文字列が入るので、
     縦積みになる狭い幅でもはみ出さないようにする */
  overflow-wrap: anywhere;
}
.def-table table {
  width: 100%;
  border-collapse: collapse;
}
.def-table th,
.def-table td {
  border: 0;
  padding: 14px 0;
  font-size: 16px;
  line-height: 25px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid rgba(50, 139, 71, 0.25);
}
.def-table th {
  width: 186px;
  padding-right: 16px;
  color: #328b47;
  font-size: 18px;
  font-weight: 700;
}
.def-table tr:last-child th,
.def-table tr:last-child td {
  border-bottom: 0;
}
@media (max-width: 800px) {
  .def-table {
    width: 100%;
    margin-inline: 0;
  }
  .def-table th,
  .def-table td {
    display: block;
    width: auto;
    padding: 0;
  }
  .def-table th {
    padding-top: 14px;
    border-bottom: 0;
  }
  .def-table td {
    padding-bottom: 14px;
  }
}

/* ---------------------------------------------------------
   緑ドットの箇条書き
   --------------------------------------------------------- */
.dot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dot-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.8;
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #328b47;
}
.dot-list li:last-child {
  margin-bottom: 0;
}

/* =========================================================
   form_system 由来の見た目（カードと申込フォーム）をこの案件の配色に合わせる

   - カード: プラグイン fs-seminar-cards の `fs-seminar-cards.css`（`--fs-*`）
   - フォーム: `form_system/assets/css/public.css`（`--primary` 系）

   どちらも CSS カスタムプロパティで色を組み立てているので、
   **元ファイルは書き換えず、変数をここで上書きする**。
   プラグインの CSS はテーマより先に enqueue されるので後勝ちでこちらが効く。

   public.css を直接書き換えなかった理由: プラグインが
   `wp_enqueue_style('fs-public', ..., '2.6.3')` とバージョンを固定しているため、
   ファイルを直しても古いものがブラウザに残る。テーマ側は filemtime で
   キャッシュバストされるので、こちらに寄せたほうが確実。
   ========================================================= */
:root {
  /* カード（fs-seminar-cards.css） */
  --fs-primary: #328b47;
  --fs-primary-dark: #276f39;
  --fs-primary-light: #ebfce2;
  --fs-green: #39ab70;
  --fs-green-dark: #328b47;
  --fs-radius: 10px;
  /* 申込フォーム（public.css） */
  --primary: #328b47;
  --primary-dark: #276f39;
  --primary-light: #ebfce2;
}

/* 変数で拾えない分だけ個別に上書きする */
/* 申込フォームの表 — public.css が淡いターコイズを直接書いている（変数を使っていない） */
.form-wrapper .form-table th {
  background: #ebfce2;
  border-color: #328b47;
  /* カンプ `78:2851` のラベル欄は 211（public.css は 200）。
     11px 広げると「合同説明・面接会の申込 ※」と「その他お問い合せ/相談内容」が
     1行に収まり、語の途中で折り返さなくなる。

     ⚠ public.css は 768px 以下でラベルを `width: 100%` の縦積みにするが、
     テーマの CSS が後に読まれるぶん同じ詳細度でも後勝ちしてしまう。
     ここで幅を指定してよいのは横並びのときだけなので min-width で括る */
}
@media (min-width: 769px) {
  .form-wrapper .form-table th {
    width: 211px;
  }
}
.form-wrapper .form-table td {
  border-color: #328b47;
}

/* カンプでは「詳細はこちら」もグレーではなく緑（明るいほう） */
.fs-btn-detail {
  background: #39ab70;
}
.fs-btn-detail:hover, .fs-btn-detail:focus-visible {
  background: #328b47;
}

/* タグ（業界名）— カンプは細い枠線のピル */
.fs-tag {
  background: #fff;
  border: 1px solid #328b47;
  color: #328b47;
}

/* カルーセルのスライドは高さをそろえて、カード側で伸ばす */
.company-carousel .swiper-wrapper {
  align-items: stretch;
}
.company-carousel .swiper-slide {
  height: auto;
}

/* グリッド／カルーセルに並べるので、カード単体の余白と最大幅は打ち消す */
.company-grid .fs-card,
.company-carousel .fs-card {
  margin: 0;
}
.company-grid .fs-card-top,
.company-carousel .fs-card-top {
  max-width: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(50, 139, 71, 0.15);
}
.company-grid .fs-card-top-body,
.company-carousel .fs-card-top-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.company-grid,
.company-carousel {
  /* ボタンはカードの高さが違ってもそろえて下端に置く */
}
.company-grid .fs-card-actions-split,
.company-carousel .fs-card-actions-split {
  margin-top: auto;
}

/* カルーセルが1枚表示になる幅では、スライドが画面幅いっぱいまで広がる。
   縦型カードのまま横だけ伸びると間延びして見えるので、
   企業一覧の1列時と同じ 400px で止めて中央に置く。
   上限は swiper.js の 2枚表示ブレイクポイント（700）と合わせること。 */
@media (max-width: 699px) {
  .company-carousel .swiper-slide .fs-card-top {
    max-width: 400px;
    margin-inline: auto;
  }
}
/* 「社名｜」の小さいラベル */
.fs-card-title-label::after {
  content: "｜";
  font-weight: 400;
}

/* =========================================================
   狭い画面でカードが縦に伸びすぎるのを抑える

   プラグインの 768px 以下の指定は「横型フルカード」（1枚が画面幅いっぱい）向けで、
   ・情報テーブルを1列に積む（ラベルの下に値）
   ・ボタンを縦積みで全幅にする
   という作りになっている。グリッド／カルーセルの細いカードにこれが効くと、
   1枚あたり 180px ほど高くなって縦横比が 1.9 まで伸びてしまう。
   細いカードでは2列テーブルと横並びボタンのままのほうが収まりが良い。
   ========================================================= */
@media (max-width: 768px) {
  .company-grid,
  .company-carousel {
    /* 情報テーブルは2列のまま（プラグイン側が !important なのでこちらも付ける） */
  }
  .company-grid .fs-info-table,
  .company-grid .fs-info-table tbody,
  .company-carousel .fs-info-table,
  .company-carousel .fs-info-table tbody {
    display: table !important;
    width: 100% !important;
  }
  .company-grid .fs-info-table tbody,
  .company-carousel .fs-info-table tbody {
    display: table-row-group !important;
  }
  .company-grid .fs-info-table tr,
  .company-carousel .fs-info-table tr {
    display: table-row !important;
    width: auto !important;
  }
  .company-grid .fs-info-table th,
  .company-grid .fs-info-table td,
  .company-carousel .fs-info-table th,
  .company-carousel .fs-info-table td {
    display: table-cell !important;
    width: auto !important;
    padding: 7px 0;
    border-bottom: 1px solid rgba(50, 139, 71, 0.2);
    vertical-align: top;
  }
  .company-grid .fs-info-table th,
  .company-carousel .fs-info-table th {
    width: 74px !important;
    padding-right: 8px;
    white-space: nowrap;
  }
  .company-grid,
  .company-carousel {
    /* ボタンは横並びのまま */
  }
  .company-grid .fs-card-actions-split,
  .company-carousel .fs-card-actions-split {
    flex-direction: row;
    gap: 8px;
  }
  .company-grid .fs-card-actions-split .fs-btn,
  .company-carousel .fs-card-actions-split .fs-btn {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 6px;
    font-size: 13px;
  }
  .company-grid,
  .company-carousel {
    /* サムネイルと余白を詰める */
  }
  .company-grid .fs-card-top-thumb,
  .company-carousel .fs-card-top-thumb {
    height: 140px;
  }
  .company-grid .fs-card-top-body,
  .company-carousel .fs-card-top-body {
    padding: 14px;
  }
  .company-grid .fs-card-top .fs-card-title,
  .company-carousel .fs-card-top .fs-card-title {
    font-size: 17px;
  }
}
/* ---------------------------------------------------------
   申込フォームの送信ボタン

   `form_system/assets/css/public.css` は
     ・基本      `.submit-btn { width: 505px; max-width: 100% }`
     ・768px未満 `@media { .submit-btn { width: 100% } }`
   としていて、スマホで**枠いっぱい**に伸びる。サイトの他のボタンに合わせて
   連続的に縮む幅にする。

   ⚠️ **`public.css` を直接書き換えない。** プラグインがバージョン固定で enqueue して
      いるのでキャッシュが切れない。上書きはこちら（`main.css` は filemtime 付き）。

   ⚠️ **相手はメディアクエリの中にいる。** 同じ詳細度（0,1,0）で外から書くと
      「後に読まれる側が勝つ」ことに依存してしまうので、
      要素名を足して詳細度を上げ（`button.submit-btn` = 0,1,1）、幅に関係なく勝たせる。
   --------------------------------------------------------- */
button.submit-btn {
  width: clamp(200px, 58.654vw - 81.54px, 505px);
  max-width: 100%;
}

/* =========================================================
   よくある質問（Snow Monkey Blocks の FAQ ブロックを着せ替える）

   2026-09-16 に、自前の `.faq-card` マークアップから
   **SMB の `snow-monkey-blocks/faq` ブロック**へ移した。
   編集者が管理画面で質問を足したり並べ替えたりできるようにするため。

   SMB が出すのはこの形（開閉の仕組みは持っていない）:

     .smb-faq
       .smb-faq__body
         .smb-faq__item
           .smb-faq__item__question
             .smb-faq__item__question__label   ← Q
             .smb-faq__item__question__body    ← 質問
           .smb-faq__item__answer
             .smb-faq__item__answer__label     ← A
             .smb-faq__item__answer__body      ← 回答（中はブロック）

   カンプ（`2089:1087`）の見た目に寄せる対応:

   | カンプ | 当てる先 |
   |---|---|
   | 白いピル 高さ80・角丸999 | `.smb-faq__item__question` |
   | 緑の丸 Q（36px） | `.smb-faq__item__question__label` |
   | 赤い丸 A（#FF5959） | `.smb-faq__item__answer__label` |
   | ピルの外に出る回答 | `.smb-faq__item__answer`（元から兄弟なのでそのまま） |
   | ＋ / − | `.smb-faq__item__question` の ::before / ::after |

   ⚠️ **セレクタは必ず `.smb-faq` から書く。**
   プラグインの `style-index.css` はブロックが載っているページで
   **テーマの main.css より後に読まれる**ので、同じ詳細度（0,1,0）だと負ける。
   `.smb-faq .smb-faq__item__question__label`（0,2,0）にして読み込み順に依存させない。

   ⚠️ **SMB の既定値は「打ち消す」前提で書く。** 相手は
   `--_half-leading` や `--_fluid-font-size` といった **Snow Monkey テーマの変数**を
   使っていて、このテーマでは未定義になる（＝値が効いたり効かなかったりする）。
   margin / font-size / line-height / font-weight / min-width は必ず上書きする。
   ========================================================= */
.smb-faq {
  /* 相手が :root 相当で入れている枠線と色。使わないので消す */
  border-top: 0;
  margin-inline: 20px;
}
.smb-faq .smb-faq__item {
  margin-bottom: 20px;
  padding: 0;
  border-bottom: 0;
}
.smb-faq .smb-faq__item:last-child {
  margin-bottom: 0;
}
.smb-faq {
  /* ---- 質問＝白いピル ---- */
}
.smb-faq .smb-faq__item__question {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin: 0;
  min-height: 80px;
  padding: 14px 74px 14px 34px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(50, 139, 71, 0.12);
  text-align: left;
  cursor: pointer;
  /* JS が role="button" を付ける。キーボード操作したときの目印 */
}
.smb-faq .smb-faq__item__question:focus-visible {
  outline: 2px solid #39ab70;
  outline-offset: 2px;
}
.smb-faq {
  /* ---- ＋ / −（開くと − になる） ---- */
}
.smb-faq .smb-faq__item__question::before,
.smb-faq .smb-faq__item__question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 34px;
  width: 20px;
  height: 2px;
  margin-top: -1px;
  background-color: #328b47;
  transition: all 0.3s ease;
}
.smb-faq .smb-faq__item__question::after {
  transform: rotate(90deg);
}
.smb-faq .smb-faq__item.is-open .smb-faq__item__question::after {
  transform: rotate(0deg);
}
.smb-faq {
  /* ---- Q / A の丸 ----
     ⚠️ **A の丸は絶対配置にしてある**（下の .smb-faq__item__answer 参照）。
        高さ 36px を持ったまま畳む枠の中に入れると、閉じても 36px 残る。 */
}
.smb-faq .smb-faq__item__question__label,
.smb-faq .smb-faq__item__answer__label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 0;
  margin: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.smb-faq .smb-faq__item__question__label {
  background-color: #328b47;
}
.smb-faq .smb-faq__item__answer__label {
  background-color: #ff5959;
}
.smb-faq {
  /* ---- 質問の文字 ---- */
}
.smb-faq .smb-faq__item__question__body {
  flex: 1 1 auto;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 29px;
  color: #328b47;
}
.smb-faq {
  /* ---- 回答はピルの外、パネル地の上に置く ----

     開閉は grid-template-rows を 0fr → 1fr にして高さを補間する
     （max-height の当てずっぽうな数字を持たなくて済む）。

     ⚠️ **畳む枠の中に「高さが決まっている子」を置かない。**
        0fr が効くのは、行の自動最小サイズが 0 のときだけ。
        A の丸（36px 固定）を子のまま入れると **閉じても 36px 残る**。
        だから丸は絶対配置にして流れから外し、左のスペースは padding-left で空ける。

     ⚠️ 中身の余白は **子（body）の padding** で持つ。親に付けると閉じたときに残る。 */
}
.smb-faq .smb-faq__item__answer {
  position: relative;
  display: grid;
  grid-template-rows: 0fr;
  padding-left: 90px;
  padding-right: 34px;
  overflow: hidden;
  opacity: 0;
  transition: grid-template-rows 0.3s ease, opacity 0.3s ease;
}
.smb-faq .smb-faq__item__answer__label {
  position: absolute;
  top: 20px;
  left: 34px;
}
.smb-faq .smb-faq__item.is-open .smb-faq__item__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}
.smb-faq {
  /* ---- 回答の文字 ----

     ⚠️ **畳む箱（body）自身に padding / margin / min-height を付けない。**
        `min-height: 0` が効くのは中身の高さだけで、padding は border box に残る。
        実際、body に `padding-block: 20px 6px` を付けたら閉じても 26px 残った。
        余白は**中の段落側**で持つこと。

     ⚠️ 同じ理由で `.is-open` のときだけ `min-height` を付けるのも駄目。
        `1fr` の行がその値で頭打ちになり、**2行以上の回答が切れる**（62px で切れた）。
        1行しかないときに A の丸が収まるようにするのは、段落の `min-height` でやる。 */
}
.smb-faq .smb-faq__item__answer__body {
  min-height: 0;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 29px;
  color: #333;
}
.smb-faq .smb-faq__item__answer__body > * {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}
.smb-faq .smb-faq__item__answer__body > :first-child {
  padding-top: 20px;
  min-height: 36px;
}
.smb-faq .smb-faq__item__answer__body > :last-child {
  padding-bottom: 6px;
}
.smb-faq .smb-faq__item__answer__body {
  /* ブロックのレイアウトが子に入れる 24px を、2つ目以降だけ詰める */
}
.smb-faq .smb-faq__item__answer__body > * + * {
  margin-top: 1em;
}
@media (max-width: 800px) {
  .smb-faq {
    margin-inline: 0;
  }
  .smb-faq .smb-faq__item__question {
    min-height: 64px;
    padding: 12px 52px 12px 20px;
    gap: 14px;
    border-radius: 20px;
  }
  .smb-faq .smb-faq__item__question::before,
  .smb-faq .smb-faq__item__question::after {
    right: 20px;
  }
  .smb-faq .smb-faq__item__question__label,
  .smb-faq .smb-faq__item__answer__label {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
  .smb-faq .smb-faq__item__question__body,
  .smb-faq .smb-faq__item__answer__body {
    font-size: 14px;
    line-height: 1.7;
  }
  .smb-faq .smb-faq__item__answer {
    padding-left: 62px;
    padding-right: 20px;
  }
  .smb-faq .smb-faq__item__answer__label {
    top: 14px;
    left: 20px;
  }
  .smb-faq .smb-faq__item__answer__body > :first-child {
    padding-top: 14px;
    min-height: 28px;
  }
  .smb-faq .smb-faq__item__answer__body > :last-child {
    padding-bottom: 4px;
  }
}

.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-direction: column;
}
@media (min-width: 1080px) {
  .fv {
    flex-direction: row;
    align-items: center;
  }
}
.fv .logo-area {
  position: relative;
  z-index: 10;
  flex: 0 0 auto;
  width: 100%;
  pointer-events: none;
}
@media (min-width: 1080px) {
  .fv .logo-area {
    flex: 0 0 50%;
    padding-left: 10%;
  }
}
.fv .logo-area .inner {
  padding: 20px;
  text-align: center;
}
@media (min-width: 1080px) {
  .fv .logo-area .inner {
    text-align: left;
    padding-left: 10%;
  }
}
.fv .logo-area .inner h2 {
  font-size: clamp(1.5rem, 4vw, 1.6rem);
  margin-bottom: 1rem;
  font-weight: bold;
  line-height: 1.4;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 5px rgb(255, 255, 255);
  text-align: center;
  color: #7b7a7a;
  font-weight: 500;
  letter-spacing: 3px;
}
.fv .logo-area .inner .logo-img img {
  width: clamp(150px, 20vw, 250px);
  height: auto;
  margin: 0 auto;
}
.fv .logo-area .inner .scroll {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}
@media (min-width: 1080px) {
  .fv .logo-area .inner .scroll {
    align-items: flex-start;
  }
}
.fv .logo-area .inner .scroll span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: auto;
}
.fv .logo-area .inner .scroll span:nth-child(2) {
  height: 100px;
  width: 1px;
  background-color: #7b7a7a;
  position: relative;
}
.fv .logo-area .inner .scroll span:nth-child(2)::before {
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  background-color: #328b47;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDotLoop 1.5s infinite cubic-bezier(0.65, 0, 0.35, 1);
}
.fv .back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 1080px) {
  .fv .back {
    position: relative;
    flex: 1;
    height: auto;
  }
}
.fv .back .inner {
  position: relative;
  width: 100%;
  height: 100%;
  margin-left: auto;
  transition: width 0.5s ease;
}
@media (max-width: 1080px) {
  .fv .back .inner {
    margin-top: auto;
  }
}
@media (min-width: 1080px) {
  .fv .back .inner {
    width: 100%;
    max-width: 50%;
    aspect-ratio: 1/1;
    margin: auto 0 auto auto;
  }
}
.fv .back .inner .fv-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fvFadeIn 1.5s ease-out forwards;
  padding: 10px;
}
.fv .back .inner .fv-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fv .back .inner .fv-img.img-shadow {
  z-index: 1;
  opacity: 0.3;
  animation: none;
}
.fv .back .inner .fv-img.img01 {
  z-index: 2;
  animation-delay: 0.2s;
}
.fv .back .inner .fv-img.img02 {
  z-index: 3;
  animation-delay: 0.7s;
}
.fv .back .inner .fv-img.img03 {
  z-index: 4;
  animation-delay: 1.2s;
}

@keyframes fvFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scrollDotLoop {
  0% {
    top: -10px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  95% {
    top: 100px;
    opacity: 0;
  }
  100% {
    top: 100px;
    opacity: 0;
  }
}
.seminar-item-col {
  position: relative;
  z-index: 1;
  padding: 3em;
}
.seminar-item-col:after {
  content: "";
  position: absolute;
  z-index: 0;
  background-color: #d6efd9;
  width: 80%;
  height: 100%;
  right: 0;
  bottom: 0;
  z-index: -1;
}
.seminar-item-col.left-col:after {
  right: auto;
  left: 0;
}
@media (max-width: 1080px) {
  .seminar-item-col {
    padding: 3em 0;
  }
  .seminar-item-col:after {
    width: 90%;
  }
}

.link-grid {
  text-align: center;
}
@media (max-width: 1080px) {
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
.link-grid figure img {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.calender {
  padding: 1em;
}
.calender iframe {
  margin: auto;
  text-align: center;
}

/* =========================================================
   トップページ — Figma `1:2`（1920×7084）

   カンプの実測値をそのまま px で持つ。数値の根拠は各ブロックのコメント参照。
   カンプ座標 → 実装の対応:
     ヘッダー 0–80 / FV 85–685 / CTA帯 737–817
     淡緑セクション 853–5214
       見出しバー 937–1032（パネル上端に半分かかる）
       おすすめパネル 985–1532
       企業一覧パネル 1592–2400
       12/9概要パネル 2460–3430   ← 2026-10-06 に追加
       事前セミナーパネル 3490–3964 ← 2026-10-06 に追加
       申込パネル 4024–4300
       事業概要パネル 4360–5154
     参加希望パネル 5274–5694
     よくある質問パネル 5774–6456

   ⚠️ **2026-10-06 にカンプが差し替わり、セクションの並びごと変わった。**
     旧: 企業一覧 → 事業概要 → セミナー紹介(全2回)/当日の流れ → 申込について
     新: 企業一覧 → 12/9概要（当日の流れを内包）→ 事前セミナー → 申込について → 事業概要
     `.top-seminar-grid` / `.seminar-item*` / `.timeline*` は役目を終えたので削除した。
     順序は**本文（固定ページ ID 688）のブロックの並び**で決まる。CSS には順序の情報は無い。
   ========================================================= */
.top-main {
  background-color: #f8fbf9;
  /* カンプ: ヘッダー下端 80 → FV 85 の 5px。
     これを `.top-fv` の margin-top で取ると、`.top-main` に padding も border も
     無いぶん**マージンが親の外へ collapse して** `#main` ごと 5px 下がり、
     ヘッダーとの間に body の白が帯になって見えてしまう。
     （カンプではヘッダーの緑い box-shadow がそのまま FV の地色に落ちていて、
     白い隙間は無い。）
     同じ5px を親の padding で持てば collapse しないので、
     FV の位置はカンプ通り 85 のまま、帯だけ $off-white で塗られる。 */
  padding-top: 5px;
  /* ⚠️ **ブロックのレイアウトが子に入れる `margin-block-start: 24px` を止める。**
     本文をコアブロックで組んだ（2026-09-16）ので、group / 見出し / 段落の
     ほぼ全部がこの 24px を受け取る。この案件のセクションは自前で余白を持っているため、
     そのままだと**全部が 24px ずつ下へずれる**（実際 FV のイラストが 24px 落ちた）。

     コア側は `:where(.is-layout-flow) > *`（詳細度 0,0,0）なので、
     `:where` を使わずに書けば確実に勝つ。
     個別に余白が要るところは、それぞれのクラスで明示的に指定してある。 */
}
.top-main .is-layout-flow > *,
.top-main .is-layout-constrained > * {
  margin-block-start: 0;
}

/* ---------------------------------------------------------
   FV（カンプ 85–685、高さ 600。上端の 5px は .top-main の padding で作る）

   2026-09-16 に **Figma から書き出した1枚の画像**に変えた。
   それまでは「イラスト画像 ＋ 見出し・チェック3点を HTML の文字で重ねる」構成で、
   幅に応じて文字を fluid() で伸縮させていた。

   ⚠️ **文字が画像の中に入ったので、幅が狭いほど文字も一緒に小さくなる。**
      1920 幅の絵をそのまま縮めるため、375px では約 1/5（見出し 60px → 12px 相当）。
      スマホ用の絵を別に用意するまでは、狭い幅で読みづらい。
   --------------------------------------------------------- */
.top-fv {
  background-color: #f8fbf9;
}
.top-fv img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------------------------------------------------
   FV下の CTA帯（カンプ: FV下端 685 → ボタン 737、ボタン下端 817 → 緑地 853）
   --------------------------------------------------------- */
.top-cta-fv {
  padding-block: 52px 36px;
  background-color: #f8fbf9;
  /* ⚠️ この帯だけ `.section-inner` の外にあるので、左右の余白を自前で持つ。
     無いと、文字が長くてボタンが最大幅まで伸びたときに画面の端に貼り付く。 */
  padding-inline: 16px;
}
@media (max-width: 800px) {
  .top-cta-fv {
    padding-block: 32px;
  }
}

/* ---------------------------------------------------------
   淡緑の大セクション（853–5214）
   セクション上端 853 → 最初のパネル上端 985 なので上パディングは 132。
   見出しバーは絶対配置でこのパディングの中へせり上がる（パネル上端 −47.5）。
   下は最後のパネル下端 5154 → 5214 で 60。
   --------------------------------------------------------- */
.top-body .section-inner {
  padding-block: 132px 60px;
}
@media (max-width: 800px) {
  .top-body .section-inner {
    padding-block: 80px 40px;
  }
}

/* ---------------------------------------------------------
   こんな人におすすめ（パネル 985–1532）
   見出しバーはパネル上端に半分かかる（937–1032）
   --------------------------------------------------------- */
.top-recommend {
  position: relative;
  padding-top: 94px;
}
@media (max-width: 800px) {
  .top-recommend {
    padding-top: 74px;
  }
}
@media (max-width: 640px) {
  .top-recommend {
    padding-top: 92px;
  }
}

/* 見出しバー: 1041×95 / bg #39AB70 / 角丸105 / 文字40px・行送り75 */
.top-lead-bar {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 20px);
  margin: 0;
  border-radius: 105px;
  background-color: #39ab70;
  color: #fff;
  font-weight: 700;
  text-align: center;
  /* この1行（24文字）は「幅 ≒ 23.2 × font-size ＋ 左右パディング」で伸縮する。
     40px 固定だと 1041px 必要で、コンテナがそれを下回る 1100px 付近で
     2行に折り返し、高さが 95 → 170px に跳ねる。この帯は
     translate(-50%,-50%) でパネル上端に重ねてあるので、伸びた分が
     そのまま上下のセクションに食い込む。文字と左右パディングの両方を
     連続可変にして、440px あたりまで1行を保たせている。 */
  padding-block: 10px;
  padding-inline: clamp(16px, 5.882vw - 15.76px, 56px);
  font-size: clamp(15px, 3.676vw - 4.85px, 40px);
  line-height: 1.875;
  /* 下向きの ▼（カンプ 40×40） */
}
.top-lead-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: clamp(14px, 0.882vw + 9.24px, 20px) clamp(14px, 0.882vw + 9.24px, 20px) 0;
  border-color: #39ab70 transparent transparent transparent;
}
.top-lead-bar {
  /* 440px より下は1行に収めると読めない大きさになるので折り返す。
     そこだけ行送りを詰める（この幅では既に2行なので段差は見えない） */
}
@media (max-width: 480px) {
  .top-lead-bar {
    width: calc(100% - 24px);
    white-space: normal;
    line-height: 1.5;
  }
}

/* ＼こんな人におすすめ！／ */
.top-recommend-title {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 45px;
  padding-inline: clamp(34px, 6.786vw - 4px, 72px);
  font-size: clamp(19px, 3.75vw - 2px, 40px);
  line-height: 1.875;
  font-weight: 700;
  color: #328b47;
  text-align: center;
}
.top-recommend-title::before, .top-recommend-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 3px;
  height: clamp(30px, 4.643vw + 4px, 56px);
  background-color: #328b47;
}
.top-recommend-title::before {
  left: 20px;
  transform: translateY(-50%) rotate(-25deg);
}
.top-recommend-title::after {
  right: 20px;
  transform: translateY(-50%) rotate(25deg);
}
@media (max-width: 800px) {
  .top-recommend-title {
    margin-bottom: 28px;
  }
}

/* カード 350×293 / 間隔25。
   パネル内側 1140 に対し 350×3 ＋ 25×2 ＝ 1100 なので左右は 20

   ⚠️ 中身は ul>li ではなく **group ブロックの入れ子**（画像と文章を一緒に入れるため、
      コアのリストブロックでは作れない）。セレクタは `> *` で受ける。 */
.top-recommend-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 0 20px;
  padding: 0;
  list-style: none;
}
.top-recommend-list > * {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px 22px;
  border: 1px solid rgba(50, 139, 71, 0.45);
  border-radius: 8px;
  background-color: #fff;
  text-align: center;
}
.top-recommend-list img {
  width: clamp(120px, 7.167vw + 74.13px, 163px);
  height: clamp(120px, 7.167vw + 74.13px, 163px);
  margin-bottom: 16px;
}
.top-recommend-list p {
  margin: 0;
  /* カンプ: 「地元で働ける企業を」9文字で 225px（＝25px）。
     カード幅は 3列のまま縮むので、文字も一緒に縮めないと行数が増える */
  font-size: clamp(16px, 1.5vw + 6.4px, 25px);
  font-weight: 700;
  line-height: 1.44;
  color: #333;
}
@media (max-width: 1080px) {
  .top-recommend-list {
    margin-inline: 0;
    gap: 20px;
  }
}
@media (max-width: 800px) {
  .top-recommend-list {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------
   企業一覧カルーセル（パネル 1592–2400）
   見出し下端 1682 → カード 1732（50）、カード下端 2216 → ボタン 2280（64）
   --------------------------------------------------------- */
.top-companies .company-carousel {
  margin-top: 50px;
}
.top-companies .cta-band {
  margin-top: 64px;
}
@media (max-width: 800px) {
  .top-companies .company-carousel {
    margin-top: 28px;
  }
  .top-companies .cta-band {
    margin-top: 32px;
  }
}

.company-carousel {
  position: relative;
  /* 矢印を置くための左右の逃げ。
     カンプは 48（パネル内側 390 → カード 438）。矢印は 50 なのでカード端に 2px だけ乗る。
     幅が狭まると矢印だけ固定サイズで残ってカードの中身（タグ・社名）を覆ってしまうので、
     **矢印と同じ比率で逃げも縮める**。 */
  padding-inline: clamp(34px, 1.944vw + 24.67px, 48px);
}
.company-carousel .swiper-container {
  overflow: hidden;
  padding-bottom: 4px;
}
.company-carousel {
  /* カンプには送りドットが無く、左右の矢印だけ。SP では出す */
}
.company-carousel .swiper-pagination {
  display: none;
}
@media (max-width: 800px) {
  .company-carousel .swiper-pagination {
    display: block;
    position: static;
    margin-top: 18px;
  }
}
.company-carousel .swiper-button-prev,
.company-carousel .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 800px) {
  .company-carousel .swiper-button-prev,
  .company-carousel .swiper-button-next {
    top: calc(50% - 20px);
  }
}
.company-carousel .swiper-button-prev,
.company-carousel .swiper-button-next {
  /* カンプ 50px。逃げ（padding-inline）と同じ区間で縮める */
  width: clamp(32px, 2.5vw + 20px, 50px);
  height: clamp(32px, 2.5vw + 20px, 50px);
  border: 0;
  border-radius: 50%;
  background-color: #328b47;
  color: #fff;
  cursor: pointer;
  z-index: 3;
  /* Swiper が矢印の中に自前の SVG アイコンを差し込む。
     currentColor で描かれるうえテーマ色が青なので、自作の矢印と重なって青く見える。
     こちらの矢印を使うので SVG は隠す */
}
.company-carousel .swiper-button-prev .swiper-navigation-icon,
.company-carousel .swiper-button-next .swiper-navigation-icon {
  display: none;
}
.company-carousel .swiper-button-prev::after,
.company-carousel .swiper-button-next::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(8px, 0.556vw + 5.33px, 12px);
  height: clamp(8px, 0.556vw + 5.33px, 12px);
  border-top: clamp(2px, 0.139vw + 1.33px, 3px) solid #fff;
  border-right: clamp(2px, 0.139vw + 1.33px, 3px) solid #fff;
}
.company-carousel .swiper-button-prev {
  left: 0;
}
.company-carousel .swiper-button-prev::after {
  transform: translate(-30%, -50%) rotate(-135deg);
}
.company-carousel .swiper-button-next {
  right: 0;
}
.company-carousel .swiper-button-next::after {
  transform: translate(-70%, -50%) rotate(45deg);
}
.company-carousel {
  /* 480px 以下は逃げを取るとカードが細くなりすぎる（320px だと 176px しか残らない）。
     かといってカードに重ねるとタグと社名を矢印が覆う。
     ここだけ**矢印を下のドットの行へ逃がす**。重なりがゼロになり、カードも幅いっぱい使える。 */
}
@media (max-width: 480px) {
  .company-carousel {
    padding-inline: 0;
  }
  .company-carousel .swiper-button-prev,
  .company-carousel .swiper-button-next {
    top: auto;
    bottom: 0;
    transform: none;
    width: 36px;
    height: 36px;
  }
  .company-carousel .swiper-button-prev::after,
  .company-carousel .swiper-button-next::after {
    width: 9px;
    height: 9px;
    border-width: 2px;
  }
  .company-carousel .swiper-button-prev {
    left: 0;
  }
  .company-carousel .swiper-button-next {
    right: 0;
  }
  .company-carousel {
    /* ドットは矢印の間に収める */
  }
  .company-carousel .swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-top: 16px;
    padding-inline: 44px;
  }
}

/* ---------------------------------------------------------
   事業概要（パネル 4360–5154）
   見出し下端 4450 → 表 4480（30）、表下端 5004 → ボタン 5034（30）
   ⚠️ 2026-10-06 のカンプ差し替えで**淡緑セクションの最後**へ移った。
      位置は本文のブロックの並びで決まるので、ここは見た目の指定だけ。
   --------------------------------------------------------- */
.top-about .def-table {
  margin-top: 0;
  /* カンプの行ピッチは 80。table の height は最小値として効くので、
     中身が1行でも2行ぶんの高さを保ってリズムを揃える。
     行数が可変の企業詳細には効かせたくないので TOP に閉じている */
}
.top-about .def-table th,
.top-about .def-table td {
  height: 80px;
}
@media (max-width: 800px) {
  .top-about .def-table th,
  .top-about .def-table td {
    height: auto;
  }
}
.top-about .cta-band {
  margin-top: 30px;
}

/* ---------------------------------------------------------
   12/9 のセミナー×企業説明会・面接会概要（パネル 2460–3430）

   2026-10-06 のカンプ差し替えで入ったセクション。
   それまでの「セミナー紹介（全2回）」＋「当日の流れ」の2パネルを、
   **1枚のパネルの中の左右2カラム**に作り替えたもの。

   パネル内側 1140 を 左 400 / 間 40 / 右 700 に割る。
   カンプでは左右とも 2660–3290 で下端が揃うので、grid の stretch に任せる
   （中身は管理画面から増減できるので、px で高さを決め打ちにしない）。
   --------------------------------------------------------- */
.top-event {
  /* 見出しピル下端 2560 → 会場行 2605 */
}
.top-event > .sec-heading {
  margin-bottom: 45px;
}
@media (max-width: 800px) {
  .top-event > .sec-heading {
    margin-bottom: 24px;
  }
}
.top-event {
  /* 「チラシで詳細をみたい方はこちら」（カンプ: ボックス下端 3290 → ボタン 3330）
     ⚠️ チラシ（PDF）が未提供なのでリンク先は `#` のまま。
        届いたら本文のこのリンクに差し替える（絶対URLは書かずメディアのURLを入れる）。 */
}
.top-event > .cta-band {
  margin-top: 40px;
}
.top-event > .cta-band p {
  margin: 0;
}
@media (max-width: 800px) {
  .top-event > .cta-band {
    margin-top: 32px;
  }
}

/* ● 会場：イオン 橋本 6F …（カンプ 24px bold $main）
   カンプは ● も文字で置いているが、字形のままだと大きさが font-size に
   引きずられて行の中で浮くので、CSS の丸で出す（`.dot-list` と同じ考え方） */
.top-event-venue {
  position: relative;
  margin: 0 0 25px;
  padding-left: 32px;
  font-size: clamp(17px, 1.129vw + 11.58px, 24px);
  font-weight: 700;
  line-height: 1.2;
  color: #328b47;
  overflow-wrap: anywhere;
}
.top-event-venue::before {
  content: "";
  position: absolute;
  left: 0;
  /* 1行目の行ボックスの中央に置く。2行になっても上の行に残る */
  top: calc((1.2em - 22px) / 2);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #328b47;
}
@media (max-width: 640px) {
  .top-event-venue {
    padding-left: 26px;
  }
  .top-event-venue::before {
    width: 18px;
    height: 18px;
    top: calc((1.2em - 18px) / 2);
  }
}

.top-event-grid {
  display: grid;
  grid-template-columns: 400fr 700fr;
  gap: 40px;
  align-items: stretch;
}
@media (max-width: 1080px) {
  .top-event-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---- 左: 当日の流れ ---- */
.top-event-flow {
  padding: 40px 30px 27px;
  border-radius: 5px;
  background-color: #f2f7f4;
  /* ボックス内側 340 ＝ ピルの幅。見出しピルはそのまま流用する */
}
.top-event-flow > .sec-heading {
  margin-bottom: 23px;
  /* 箱が 400px しかないので、ページ見出しより早く縮め始める。
     28px のままだと 1200px 前後でピルの中が2行になって高さが倍になる */
  font-size: clamp(16px, 1.176vw + 10.35px, 28px);
}
@media (max-width: 640px) {
  .top-event-flow {
    padding: 24px 16px;
  }
}

/* 「就職準備セミナー」「参加企業紹介」「合同就職説明・面接会」 */
.flow-group + .flow-group {
  /* カンプは 39 と 66 で揃っていない。中身が可変なので一定にする */
  margin-top: 40px;
}

.flow-group-title {
  margin: 0 0 9px;
  font-size: clamp(18px, 0.968vw + 13.35px, 24px);
  font-weight: 700;
  line-height: 1.2;
  color: #328b47;
}

/* ●つきの時刻。●と●はグループの中だけ縦線でつなぐ */
.flow-step {
  position: relative;
  padding-left: 40px;
  margin-bottom: 15px;
  /* ● 28px（カンプの ● は 30px の字形で、インクの直径が 28） */
}
.flow-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc((1.6em - 28px) / 2);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #328b47;
  z-index: 1;
}
.flow-step {
  /* 次の●へ伸びる縦線。●の中心（left 14）に幅4を合わせる。
     ⚠️ グループ全体に1本引くと、最後の●より下（補足行のぶん）まで線が伸びる。
        項目ごとに引いて、グループの最後の項目では出さない */
}
.flow-step::after {
  content: "";
  position: absolute;
  left: 12px;
  top: calc((1.6em - 28px) / 2 + 14px);
  bottom: calc(-15px - (1.6em - 28px) / 2 - 14px);
  width: 4px;
  background-color: #328b47;
}
.flow-step:last-child {
  margin-bottom: 0;
}
.flow-step:last-child::after {
  content: none;
}
@media (max-width: 640px) {
  .flow-step {
    padding-left: 32px;
  }
  .flow-step::before {
    width: 22px;
    height: 22px;
    top: calc((1.6em - 22px) / 2);
  }
  .flow-step::after {
    left: 9px;
    top: calc((1.6em - 22px) / 2 + 11px);
    bottom: calc(-15px - (1.6em - 22px) / 2 - 11px);
  }
}

/* 時刻（カンプ 18px bold $main） */
.flow-time {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #328b47;
}

/* 時刻の下の補足（「参加者は自由に企業ブースを訪問」「終了」）。
   カンプではここだけ黒 */
.flow-note {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
}

/* ---- 右: 当日のコンテンツ ---- */
.top-event-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.event-item {
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #f2f7f4;
  /* 先頭の「就職準備セミナー」だけ講師と本文が入る大きい箱 */
}
.event-item.is-feature {
  padding-bottom: 19px;
}
.event-item > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

/* ● 就職準備セミナー / ● 企業紹介タイム …（カンプ 20px bold $main） */
.event-item-title {
  position: relative;
  margin: 0;
  padding-left: 25px;
  font-size: clamp(16px, 0.645vw + 12.9px, 20px);
  font-weight: 700;
  line-height: 1.44;
  color: #328b47;
}
.event-item-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc((1.44em - 18px) / 2);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #328b47;
}

/* 【求人票を読み込んで、…】（カンプ 17px bold $main） */
.event-item-lead {
  margin: 0;
  padding-left: 25px;
  font-size: clamp(15px, 0.323vw + 13.45px, 17px);
  font-weight: 700;
  line-height: 1.7;
  color: #328b47;
  overflow-wrap: anywhere;
}

/* ---------------------------------------------------------
   講師の写真＋紹介文
   （12/9概要の先頭ボックスと、事前セミナーのボックスで共用）
   --------------------------------------------------------- */
.event-item-body {
  display: flex;
  /* ⚠️ 既定の `stretch` のままだと、写真枠が**本文の高さまで引き伸ばされて**
     `aspect-ratio` が効かない（カンプ 146×167 が 146×170 になった）。
     写真はカンプどおりの比率で上端に置く。 */
  align-items: flex-start;
  gap: 20px;
}
@media (max-width: 640px) {
  .event-item-body {
    flex-direction: column;
    gap: 12px;
  }
}

/* ⚠️ **上の余白は1クラスでは効かない。**
   `.top-main` が入れている `.is-layout-flow > * { margin-block-start: 0 }`（0,2,0）に、
   `.event-item-body`（0,1,0）では負ける（実測で 20px が 0 になった）。
   この案件でブロックに余白を付けるときは必ず2クラス以上で書くこと。 */
.event-item > .event-item-body,
.presem-box > .event-item-body {
  margin-top: 20px;
}

/* 写真枠。**中身が段落（プレースホルダ）でも画像ブロックでも同じ見た目**にする。
   ⚠️ 元画像は縦長でも構わない。`cover` で中央を切り抜いて枠に収める */
.lecturer-photo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 146px;
  aspect-ratio: 146/167;
  margin: 0;
  overflow: hidden;
  background-color: #d6efd9;
  color: #666;
  font-size: 12px;
  text-align: center;
}
.lecturer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 640px) {
  .lecturer-photo {
    width: 120px;
  }
}

.lecturer-text {
  flex: 1 1 auto;
  min-width: 0;
}
.lecturer-text > p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.5;
}
.lecturer-text > p:last-child {
  margin-bottom: 0;
}

.lecturer-name {
  font-weight: 700;
}

/* 「セミナー詳細はこちら」（カンプ 20px bold $main・下線・中央寄せ） */
.lecturer-link {
  margin-bottom: 0;
  text-align: center;
}
.lecturer-link a {
  color: #328b47;
  font-size: clamp(16px, 0.645vw + 12.9px, 20px);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------------------------------------------------------
   事前セミナー（パネル 3490–3964）
   内側のボックス 3617–3928（1140幅）
   --------------------------------------------------------- */
.top-presem > .sec-heading {
  margin-bottom: 33px;
}
@media (max-width: 800px) {
  .top-presem > .sec-heading {
    margin-bottom: 24px;
  }
}
.top-presem .event-item-body {
  padding-left: 47px;
}
@media (max-width: 640px) {
  .top-presem .event-item-body {
    padding-left: 0;
  }
}
.top-presem {
  /* 事前セミナーの写真はカンプ 144×148（12/9概要は 146×167） */
}
.top-presem .lecturer-photo {
  width: 144px;
  aspect-ratio: 144/148;
}
@media (max-width: 640px) {
  .top-presem .lecturer-photo {
    width: 120px;
  }
}
.top-presem {
  /* 本文の幅が広いぶん行送りがゆるい（カンプ実測 29px / 16px） */
}
.top-presem .lecturer-text > p {
  line-height: 1.8;
}

.presem-box {
  padding: 20px 20px 20px 21px;
  border-radius: 5px;
  background-color: #f2f7f4;
}
@media (max-width: 640px) {
  .presem-box {
    padding: 20px 16px;
  }
}

/* ● 【これからの働き方を見つける …】（カンプ 20px bold $main・下線） */
.presem-title {
  position: relative;
  margin: 0;
  padding-left: 40px;
  font-size: clamp(16px, 0.645vw + 12.9px, 20px);
  font-weight: 700;
  line-height: 1.44;
  color: #328b47;
  text-decoration: underline;
  /* 【…】は括弧の内側でしか折り返せず、幅が中途半端なときにはみ出す */
  overflow-wrap: anywhere;
}
.presem-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc((1.44em - 28px) / 2);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #328b47;
}
@media (max-width: 640px) {
  .presem-title {
    padding-left: 30px;
  }
  .presem-title::before {
    width: 22px;
    height: 22px;
    top: calc((1.44em - 22px) / 2);
  }
}

/* 会場 / 日時（カンプ 20px bold $main） */
.presem-meta {
  margin: 0;
  padding-left: 40px;
  font-size: clamp(15px, 0.806vw + 11.13px, 20px);
  font-weight: 700;
  line-height: 1.44;
  color: #328b47;
  overflow-wrap: anywhere;
  /* 見出しの下線ぶん、1行目だけ少し離す（カンプ 3637 → 3675 で 38、以降は 29） */
}
.presem-title + .presem-meta {
  margin-top: 9px;
}
@media (max-width: 640px) {
  .presem-meta {
    padding-left: 30px;
  }
}

/* ---------------------------------------------------------
   申込について（パネル 4135–4435）
   見出し下端 4222 → 本文 4241（19）、本文下端 4271 → ボタン 4335（64）
   --------------------------------------------------------- */
.top-apply p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
}
.top-apply .cta-band {
  margin-top: 64px;
}
@media (max-width: 800px) {
  .top-apply .cta-band {
    margin-top: 32px;
  }
}

/* ---------------------------------------------------------
   参加希望の企業はこちら（パネル 5274–5694）
   --------------------------------------------------------- */
.top-company-entry .section-inner {
  padding-block: 60px 0;
}
@media (max-width: 800px) {
  .top-company-entry .section-inner {
    padding-block: 40px 0;
  }
}
.top-company-entry p {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 29px;
}
.top-company-entry .is-note {
  margin-top: 24px;
  font-size: 14px;
  color: #666;
}
.top-company-entry .cta-band {
  margin-top: 50px;
}

/* ---------------------------------------------------------
   よくある質問（パネル 5774–6456）
   見出し下端 5884 → 1件目 5914（30）、Qピル 1080×80、間隔 20
   --------------------------------------------------------- */
.top-faq .section-inner {
  /* 上: 参加希望パネル下端 5694 → 5774。
     下: カンプは 6456 → フッター 6784 で 328 空いているが、
     これはフレームを伸ばしたぶんの余りなので従わない（100 のまま） */
  padding-block: 80px 100px;
}
@media (max-width: 800px) {
  .top-faq .section-inner {
    padding-block: 40px 56px;
  }
}
.top-faq {
  /* このパネルだけ上下 60（カンプ 5035→見出し 5095 / ボタン下端 5657→5717） */
}
.top-faq .sec-block {
  padding-block: 60px;
}
@media (max-width: 800px) {
  .top-faq .sec-block {
    padding-block: 32px;
  }
}
.top-faq .cta-band {
  margin-top: 60px;
}
@media (max-width: 800px) {
  .top-faq .cta-band {
    margin-top: 32px;
  }
}

/* =========================================================
   企業一覧 — Figma `62:2275`
   カード自体は form_system の public.css（`.fs-card-*`）が効く。
   ここではその外側の並べ方と、この案件で足りない分だけを書く。
   ========================================================= */
.company-archive,
.company-single,
.seminar-archive,
.seminar-single {
  background-color: #f8fbf9;
  padding-block: 81px 60px;
}
@media (max-width: 800px) {
  .company-archive,
  .company-single,
  .seminar-archive,
  .seminar-single {
    padding-block: 56px 48px;
  }
}
@media (max-width: 640px) {
  .company-archive,
  .company-single,
  .seminar-archive,
  .seminar-single {
    padding-block: 32px 40px;
  }
}

/* 一覧ページだけ、カンプ `62:2275` は 下線244 → パネル357 と間隔が広い
   （企業詳細・よくある質問は 60）。セミナー一覧はカンプに無いので企業一覧に合わせる */
.company-archive .page-title,
.seminar-archive .page-title {
  margin-bottom: 114px;
}
@media (max-width: 800px) {
  .company-archive .page-title,
  .seminar-archive .page-title {
    margin-bottom: 48px;
  }
}

/* 企業詳細はカンプの地が白。
   カンプはヘッダー下端80 → 見出し190 だが、実装にはカンプに無いパンくず（26px）が
   ヘッダーと main の間に入るので、その分を引いた 81 を padding にする
   （結果として見出し・パネルの絶対位置がカンプと揃う）。
   最終パネル下端2055 → フッター2114 ＝ 60

   セミナー詳細（`single-seminar.php`）もカンプは同じフレーム `2089:669` なので、
   外枠・本文・戻るリンクは同じ指定を共有する。中のセクション（`.company-sec` 系）は
   本文のブロックが持つクラスがそのまま同じなので、こちらに足すのは外枠だけでよい。 */
.company-single,
.seminar-single {
  background-color: #fff;
  padding-block: 81px 60px;
}
@media (max-width: 800px) {
  .company-single,
  .seminar-single {
    padding-block: 56px 48px;
  }
}
@media (max-width: 640px) {
  .company-single,
  .seminar-single {
    padding-block: 32px 40px;
  }
}

/* 極淡緑の大きな角丸パネルの中にカードを並べる */
.company-grid-panel {
  padding: 40px;
  border-radius: 24px;
  background-color: #ebfce2;
}
@media (max-width: 640px) {
  .company-grid-panel {
    padding: 16px;
    border-radius: 16px;
  }
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1080px) {
  .company-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.company-grid {
  /* 1列に落とすのは 640 未満まで引っ張る。
     800 で落としていたときは 1枚が 673px まで広がり、
     縦型カード（サムネイル＋2列テーブル）が間延びしていた。
     640〜800 なら 2列でも 1枚 274〜330px と、PC の 315px とほぼ同じ幅になる。 */
}
@media (max-width: 640px) {
  .company-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    /* 1列のときは幅いっぱいに伸ばしきらず中央に置く。
       400 はカンプのカード幅 315 と SP 実測 296 の延長で、
       サムネイルの縦横比が崩れない上限。

       セレクタを `> .fs-card` にしているのは、components/_fs-card.scss の
       `.company-grid .fs-card-top { max-width: none }` と詳細度を並べるため
       （`> *` だと負けて効かない。このファイルのほうが後に読まれるので同点なら勝つ）。 */
  }
  .company-grid > .fs-card {
    width: 100%;
    max-width: 400px;
  }
}

/* ---------------------------------------------------------
   業種・エリアの絞り込み（タクソノミーの一覧）
   --------------------------------------------------------- */
.company-filter {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}
.company-filter:last-of-type {
  margin-bottom: 40px;
}
@media (max-width: 640px) {
  .company-filter {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }
  .company-filter:last-of-type {
    margin-bottom: 24px;
  }
}

.company-filter-label {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 700;
  color: #328b47;
}

.company-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-filter-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid #328b47;
  border-radius: 999px;
  background-color: #fff;
  color: #328b47;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.3s ease;
}
.company-filter-item:hover, .company-filter-item:focus-visible, .company-filter-item.is-current {
  background-color: #328b47;
  color: #fff;
}

.company-filter-count {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
}

.company-empty {
  text-align: center;
  padding: 60px 0;
  color: #666;
}

/* 社名の前に置く小さいラベル（カンプの「社名｜」） */
/* =========================================================
   企業詳細 — Figma `2089:669`（1920×2414）

   セクションは**全部 本文（ブロック）**で作る。テンプレートは
   見出し ＋ `the_content()` ＋ 戻るリンク だけ。
   雛形とパターンは `inc/syusyoku-patterns.php`。

   カンプ実測の基準値:
   - パネル 1200 幅 / 角丸10 / 影 0 4px 4px rgba(0,0,0,.25)
     地は横グラデ（右 #d4eed8 → 左 #edfde3）。TOP の白いカードとは別物
   - パネル内側 上下40・左右30（＝内容幅 1140）
   - パネル同士の間隔 60
   - 見出しピル下端 → 内容 47
   ========================================================= */
/* パネル（.sec-block を企業詳細の淡緑グラデに差し替える） */
.company-sec {
  border-radius: 10px;
  /* Figma: linear-gradient(269.81deg, #d4eed8 0.15%, #edfde3 99.8%)
     ＝ 270deg なので1つ目の色が右に来る */
  background: linear-gradient(270deg, #d4eed8 0%, #edfde3 100%);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  /* ピルから内容までカンプは 47（共通の .sec-heading は 30） */
}
.company-sec > .sec-heading {
  margin-bottom: 47px;
}
.company-sec {
  /* ブロックのレイアウトが子要素に margin-block-start: 24px を入れる。
     見出し直後だけ打ち消してカンプの 47 にする
     （`:where()` の 0 詳細度なのでクラス指定で勝てる） */
}
.company-sec > .sec-heading + * {
  margin-block-start: 0;
}
.company-sec {
  /* ブロックの画像・表が持つ既定マージンを外す */
}
.company-sec > .wp-block-image,
.company-sec > .wp-block-table {
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .company-sec > .sec-heading {
    margin-bottom: 24px;
  }
}

/* 本文（セクションの入れ物） */
.company-free,
.seminar-free {
  /* 中の最後のセクションは `.sec-block:last-child` で margin が 0 になるので、
     戻るリンクとの間隔はラッパー側で作る */
  margin-bottom: 0;
  /* ⚠ ブロックの group を「中央揃え（constrained）」で入れると、WordPress が子要素を
     `--wp--style--global--content-size`（この環境では 1080px）に閉じ込めて中央寄せする。
     ピルは 1140 なのでセクションごとに 30px ズレる。パターン側は `layout: default`（flow）に
     してあるが、手で入れ替えられても崩れないようここでも打ち消しておく。 */
}
.company-free .company-sec > *,
.seminar-free .company-sec > * {
  max-width: none;
  margin-inline: 0;
}

/* ---------------------------------------------------------
   セクションの中身（パターンが出すブロック）
   --------------------------------------------------------- */
/* 本文（カンプ 20px 太字 / 行送り 28.8） */
.company-sec-text {
  margin: 0;
  font-size: clamp(16px, 0.645vw + 12.9px, 20px);
  font-weight: 700;
  line-height: 1.44;
  color: #333;
}

/* 画像（カンプの「会社のPRポイント」は 380×78） */
.company-sec-image {
  margin: 0 0 18px;
}
.company-sec-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

/* ---------------------------------------------------------
   企業情報セクションの中身（写真 ＋ 項目表の横並び）

   カンプ `2089:669` の実測:
     パネル内側 1140（x 389–1529）
     社名の下線 下端 → 写真の上端 41
     写真 383×210（左端はパネル内側と面一）
     写真の右端 → 項目表 25  ＝ 表の幅は 1140 − 383 − 25 ＝ 732
   --------------------------------------------------------- */
/* 社名（カンプ実測）
     文字 20px 太字 / 下線は y486–488 の 3px
     下線は **全幅の細線 #d0e3cc** の上に、**左から 333px だけ緑のグラデ**が乗る
       左 #21a268 → 右 #218346
     下線の下端 → 写真の上端 41 */
.company-name {
  position: relative;
  margin: 0 0 41px;
  padding-bottom: 15px;
  border-bottom: 3px solid #d0e3cc;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
  /* 細線の上に重ねる緑のグラデ。
     ⚠️ `bottom: -3px` は border のぶん。絶対配置の基準は padding box なので、
        0 だと線の1つ上に乗ってしまう */
}
.company-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 333px;
  max-width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #21a268 0%, #218346 100%);
}
@media (max-width: 800px) {
  .company-name {
    margin-bottom: 24px;
    font-size: 18px;
  }
}

/* ⚠️ 社名を挟んだことで、写真＋表の箱が「見出しの次」ではなくなった。
   ブロックのレイアウトが入れる `margin-block-start: 24px` をここでも打ち消す
   （余白は社名の `margin-bottom: 41px` が持つ）。 */
.company-sec > .company-name + * {
  margin-block-start: 0;
}

.company-info-body {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  /* 写真が無い企業（アイキャッチ未設定）は表が全幅になる。
     ショートコードが訪問者には何も返さないので、flex の子が1つになるだけ */
}
@media (max-width: 800px) {
  .company-info-body {
    flex-direction: column;
    gap: 20px;
  }
}

/* 写真枠（カンプ 383×210）
   ⚠️ 縦横比はカンプ固定。どんな写真が来ても `cover` で切り抜いて枠を保つ。
      比率を崩すと右の表の行位置がずれる */
.company-photo {
  flex: 0 0 auto;
  width: 383px;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}
.company-photo img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.company-photo {
  /* アイキャッチ未設定のとき、編集できる人にだけ出る枠 */
}
.company-photo.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  border: 1px dashed rgba(50, 139, 71, 0.5);
  background-color: rgba(255, 255, 255, 0.55);
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
@media (max-width: 800px) {
  .company-photo {
    width: 100%;
    /* 縦積みでは高さを決め打ちにせず、カンプの比率（383:210）を保つ */
  }
  .company-photo img {
    height: auto;
    aspect-ratio: 383/210;
  }
  .company-photo.is-empty {
    height: auto;
    aspect-ratio: 383/210;
  }
}

/* 項目表（カンプの「企業情報」）
   行の罫線は無く、ラベルの左に 2px の緑の縦バーが立つ。
   ラベル列は バー2 + 間16 + 文字 で 118 */
.wp-block-table.company-info-table {
  margin: 0;
  /* 横並びのとき残り幅いっぱい。`min-width: 0` が無いと
     長いURLでテーブルが縮まず、写真を押し出す */
  flex: 1 1 auto;
  min-width: 0;
}
.wp-block-table.company-info-table table {
  width: 100%;
  border-collapse: collapse;
  /* URL のように切れ目の少ない文字列が入る */
  overflow-wrap: anywhere;
}
.wp-block-table.company-info-table th,
.wp-block-table.company-info-table td {
  padding-block: 12px;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
  border: 0;
}
.wp-block-table.company-info-table tr:first-child th,
.wp-block-table.company-info-table tr:first-child td {
  padding-top: 0;
}
.wp-block-table.company-info-table th {
  position: relative;
  width: 118px;
  padding-left: 18px;
  padding-right: 8px;
  color: #328b47;
  font-weight: 700;
  /* ラベルの文字ぶんだけ立つ縦バー。
     `<span class="lbl">` で包めば行ではなく文字の高さに合う（雛形はそう出す）。
     包まれていない場合は th 自身の高さに乗る。 */
}
.wp-block-table.company-info-table th::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(12px + 0.2em);
  bottom: calc(12px + 0.2em);
  width: 2px;
  background-color: #328b47;
}
.wp-block-table.company-info-table th .lbl {
  position: relative;
  display: inline-block;
  padding-left: 0;
}
.wp-block-table.company-info-table th {
  /* span がある行はバーを span 側に付け替える */
}
.wp-block-table.company-info-table th:has(.lbl)::before {
  content: none;
}
.wp-block-table.company-info-table th .lbl::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 0.2em;
  bottom: 0.2em;
  width: 2px;
  background-color: #328b47;
}
.wp-block-table.company-info-table td {
  color: #333;
}
.wp-block-table.company-info-table {
  /* URL だけのセルはカンプどおり枠付きにする（442×43 / 枠 #d8dbd8 / 地は透明） */
}
.wp-block-table.company-info-table td > a:only-child {
  display: inline-block;
  max-width: 100%;
  min-width: min(442px, 100%);
  padding: 7px 14px;
  border: 1px solid #d8dbd8;
  border-radius: 2px;
  color: #0e72ed;
  text-decoration: none;
  word-break: break-all;
}
.wp-block-table.company-info-table td > a:only-child:hover, .wp-block-table.company-info-table td > a:only-child:focus-visible {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .wp-block-table.company-info-table th,
  .wp-block-table.company-info-table td {
    display: block;
    width: auto;
  }
  .wp-block-table.company-info-table th {
    padding-block: 12px 4px;
  }
  .wp-block-table.company-info-table td {
    padding-block: 0 12px;
    padding-left: 18px;
  }
}

/* 箇条書き（カンプ: ●30px $main / 文字 20px 太字 $main / ピッチ46） */
.dot-list-lg {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dot-list-lg li {
  position: relative;
  padding-left: 50px;
  margin-bottom: 17px;
  font-size: clamp(16px, 0.645vw + 12.9px, 20px);
  font-weight: 700;
  line-height: 1.44;
  color: #328b47;
}
.dot-list-lg li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #328b47;
}
.dot-list-lg li:last-child {
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .dot-list-lg li {
    padding-left: 32px;
    margin-bottom: 12px;
  }
  .dot-list-lg li::before {
    width: 20px;
    height: 20px;
    top: 0.2em;
  }
}

/* 申込ボタン（カンプ 347×60・文字16px）
   ショートコード `[syusyoku_apply_button]` が `.cta-band > .btn.btn-apply` を出す

   ⚠️ `width: 347px; max-width: 100%` だけだと、**幅が 347 を下回った瞬間に枠いっぱい**になる。
      375px のスマホでは 296/296 で全幅だった。他のボタンと同じく連続的に縮める。 */
.btn-apply {
  width: clamp(200px, 28.269vw + 64.31px, 347px);
  max-width: 100%;
  min-height: 60px;
  padding-inline: 24px;
  font-size: 16px;
  border-radius: 50px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.company-sec .cta-band {
  margin-top: 59px;
}
@media (max-width: 640px) {
  .company-sec .cta-band {
    margin-top: 28px;
  }
}

.company-back,
.seminar-back {
  margin-top: 40px;
  text-align: center;
}
.company-back a,
.seminar-back a {
  color: #328b47;
  font-weight: 700;
  text-decoration: underline;
}

/* =========================================================
   下層ページ（固定ページ全般 / よくある質問 / 申込規約）
   Figma `2089:1087` `2103:1421`
   ========================================================= */
/* カンプはどのページも「見出し 193 / 下線 244 / 最初のパネル 304」で揃っている
   （`2089:1087` のメタデータで確認）。実装にはカンプに無いパンくず 26px が
   ヘッダーと main の間に入るので、その分を引いた 81 を padding にする。
   最後のパネル下端 → フッターも 60。 */
.page-main,
.faq-page {
  background-color: #f8fbf9;
  padding-block: 81px 60px;
  /* ⚠️ **ブロックのレイアウトが子に入れる `margin-block-start: 24px` を止める。**
     本文をコアブロックで組んでいるので、group / 見出し / 段落のほぼ全部が受け取る。
     各パーツは自前で余白を持っているため、そのままだと全部が下へずれる。
     コア側は `:where(.is-layout-flow) > *`（詳細度 0,0,0）なので、
     `:where` を使わずに書けば確実に勝つ。 */
}
.page-main .is-layout-flow > *,
.page-main .is-layout-constrained > *,
.faq-page .is-layout-flow > *,
.faq-page .is-layout-constrained > * {
  margin-block-start: 0;
}
@media (max-width: 800px) {
  .page-main,
  .faq-page {
    padding-block: 56px 48px;
  }
}
@media (max-width: 640px) {
  .page-main,
  .faq-page {
    padding-block: 32px 40px;
  }
}

/* 本文 */
.page-entry {
  /* メールアドレスや URL のような切れ目の無い文字列で横にはみ出さないように。
     申込規約の「苦情・相談窓口」に長いアドレスが入っている */
  overflow-wrap: anywhere;
}
.page-entry p {
  margin: 0 0 1.2em;
  line-height: 1.9;
}
.page-entry a {
  color: #328b47;
  text-decoration: underline;
}
.page-entry {
  /* カスタムHTMLブロックで入れたセクションは .sec-block / .sec-heading / .panel を使う */
}
.page-entry .panel p:last-child,
.page-entry .panel ul:last-child,
.page-entry .panel dl:last-child {
  margin-bottom: 0;
}

/* 申込規約の「開示等のお申し出先」などの用語＋説明
   ⚠️ もとは <dl><dt><dd>。**コアに定義リストのブロックが無い**ので段落2種に置き換えた。
      `.page-entry p`（0,1,1）に負けないよう、`.page-entry` から書いて詳細度を上げている。 */
.page-entry .policy-term {
  margin: 14px 0 0;
  font-weight: 700;
  color: #328b47;
}
.page-entry {
  /* 並びの最初の1つだけ、前の箇条書きから 20px 空ける（旧 dl の margin-top） */
}
.page-entry :not(.policy-desc) + .policy-term {
  margin-top: 20px;
}
.page-entry .policy-desc {
  margin: 4px 0 0;
  padding-left: 1em;
  line-height: 1.9;
}

/* =========================================================
   よくある質問ページ
   ========================================================= */
.faq-intro {
  margin: 0 auto 32px;
  text-align: center;
  line-height: 1.9;
}

.faq-contact {
  margin: 32px 0 0;
  text-align: center;
  font-size: 15px;
}
.faq-contact a {
  color: #328b47;
  font-weight: 700;
  text-decoration: underline;
}

/*# sourceMappingURL=main.css.map */
