html {
  scroll-behavior: smooth; /* スムーズスクロールを有効にする */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  letter-spacing: 1.2px;
}
a.initial {
  text-decoration: underline;
  color: initial;
}

li {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
p,
span {
  letter-spacing: 1.2px;
  line-height: 1.7;
}
button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

table {
  width: 100%;
  table-layout: fixed;
  word-break: break-word;
  word-wrap: break-word;
}
.inline {
  display: inline-block;
}

/* =========================
   HEADER 
========================= */

.hp-header,
.hp-header * {
  box-sizing: border-box;
}

.hp-header {
  position: relative;
  z-index: 12000;
  background: #ffffff;
  padding: 14px 20px;
}

.hp-header__shell {
  max-width: 1280px;
  margin: 0 auto;
}

.hp-header__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
}

.hp-header__center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.hp-header__brand {
  flex: 0 0 auto;
}

.hp-header__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.hp-header__logo {
  display: block;
  max-height: 118px;
  width: auto;
}

/* PCメニュー */
.hp-header__pill {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f7 100%);
  border: 2px solid #b3202a;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.hp-header__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  height: 48px;
  padding: 0 22px;
  background: linear-gradient(135deg, #8f1521 0%, #b3202a 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(179, 32, 42, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.hp-header__contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(179, 32, 42, 0.35);
  opacity: 0.96;
}

.hp-header__nav {
  display: flex;
  align-items: center;
}

.hp-header__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: #2b2b2b;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.hp-header__nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  background: #d7d7d7;
  transform: translateY(-50%);
}

.hp-header__nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  background: #b3202a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.hp-header__nav a:hover {
  color: #8f1521;
  transform: translateY(-1px);
}

.hp-header__nav a:hover::after {
  transform: scaleX(1);
}

/* ハンバーガー */
.hp-header__toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 12010;
}

.hp-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #2b2b2b;
  border-radius: 999px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.hp-header__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hp-header__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.hp-header__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* スマホ白パネル */
.hp-mobile[hidden] {
  display: none !important;
}

.hp-mobile {
  position: fixed;
  inset: 0;
  z-index: 12005;
}

.hp-mobile__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.16);
  border: 0;
}

.hp-mobile__panel {
  position: absolute;
  top: 92px;
  left: 14px;
  right: 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  padding: 16px;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.hp-mobile.is-open .hp-mobile__panel {
  opacity: 1;
  transform: translateY(0);
}

.hp-mobile__nav {
  display: grid;
  gap: 10px;
}

.hp-mobile__link {
  display: block;
  padding: 15px 16px;
  border-radius: 14px;
  background: #faf7f7;
  border: 1px solid rgba(179, 32, 42, 0.08);
  color: #2b2b2b;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.hp-mobile__link.is-contact {
  background: linear-gradient(135deg, #8f1521 0%, #b3202a 100%);
  color: #ffffff;
  border: none;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .hp-header {
    padding: 12px 14px;
  }

  .hp-header__main {
    min-height: 76px;
    justify-content: flex-start;
  }

  .hp-header__center {
    justify-content: flex-start;
    width: auto;
  }

  .hp-header__pill {
    display: none;
  }

  .hp-header__logo {
    max-height: 66px;
  }

  .hp-header__toggle {
    display: inline-flex;
  }
}

/* タップ時の色付き消す */
.hp-header__toggle,
.hp-mobile__backdrop,
.hp-mobile__link {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

/* 閉じる背景色 */
.hp-mobile__backdrop,
.hp-mobile__backdrop:hover,
.hp-mobile__backdrop:focus,
.hp-mobile__backdrop:active {
  background: rgba(15, 23, 42, 0.16) !important;
  outline: none;
  box-shadow: none;
}

/* 背景 */
.hp-mobile__backdrop {
  opacity: 0;
  transition: opacity 0.22s ease;
}

.hp-mobile.is-open .hp-mobile__backdrop {
  opacity: 1;
}

/* 白パネル閉 */
.hp-mobile__panel {
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.hp-mobile.is-open .hp-mobile__panel {
  opacity: 1;
  transform: translateY(0);
}

/* ハンバーガー背景 */
.hp-header__toggle:active,
.hp-header__toggle:focus {
  background: #ffffff;
  outline: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

/*fv*/
.fv {
  width: 100%;
  max-width: 1270px;
  margin: 1rem auto 0;
}
.fv img {
  display: block;
  width: 100%;
}

/*main*/
main {
  width: 100%;
  margin: 2rem auto;
  max-width: 1300px;
  display: flex;
}
.main-content {
  width: 100%;
  margin: 0 auto;
}

/* search-other */
.search-other {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 20px;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* カードスタイル */
.card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  padding: 20px;
}

.card-title {
  display: flex;
  align-items: center;
  font-size: 18px;
  margin-bottom: 15px;
}

.icon {
  display: inline-block; /* インライン要素のまま画像を表示 */
  width: 30px; /* 画像のサイズを調整 */
  background-size: contain; /* 画像が親要素内で収まるように */
  margin-right: 10px;
}

/* 画像のスタイル */
.icon img {
  width: 100%; /* 親要素の幅に合わせて画像を表示 */
  height: auto; /* 高さは自動調整 */
  margin-right: 10px;
}

/* ボタンスタイル */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center; /* 横方向で中央寄せ */
}

.button-group a {
  padding: 10px 15px;
  background-color: #fff;
  border: 1px solid #c9171e;
  border-radius: 8px;
  color: #c9171e;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.button-group a:hover {
  background-color: #c9171e;
  color: #fff;
}

/* 地図セクション */
.map-section {
  display: flex;
  flex-wrap: wrap; /* アイテムを折り返し可能にする */
  gap: 50px; /* アイテム間に隙間を追加 */
  justify-content: center; /* 横方向で中央寄せ */
  width: 100%; /* 親要素の幅を画面いっぱいに設定 */
  text-align: center; /* 内部のテキストを中央寄せ */
}

.map-region h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.map-region ul {
  list-style: none;
  padding: 0;
}

.map-region li {
  margin-bottom: 5px;
}

.map-region a {
  color: #c9171e;
  text-decoration: none;
}

.map-region a:hover {
  text-decoration: underline;
}

/* .area-search*/
.area-search {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  margin-top: 20px;
}

.work-location {
  text-align: center;
  padding: 20px;
}

.work-location h1 {
  font-size: 24px;
  color: #333;
}

.work-location .subtitle {
  font-size: 16px;
  color: #777;
  display: block;
  margin-top: 5px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 3列固定 */
  gap: 20px;
  max-width: 1000px;
  margin: 20px auto;
  padding: 10px;
}

.location-card {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: 10px;
}

.location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像をカード内で自然に収める */
  display: block;
}

.location-label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 10px 20px;
  width: 200px; /* 固定幅 */
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #333;
}

.location-label span {
  font-size: 14px;
  color: #666;
  display: block;
}

/* 検索フォーム */
.top-detailedsearch-inner {
  width: 600px;
  padding: 0.5rem;
  margin: 0 auto;
  border-radius: 8px;
}

.top-detailedsearch-box input[type="text"] {
  width: 100%;
}

#searchsubmit {
  background-color: #c9171e;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  margin: 0 auto;
  width: 100%;
  max-width: 200px;
  height: 50px;
  margin-top: 1rem;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent; /* Initially, no visible border */
  outline: none;
  appearance: none;
}

#searchsubmit:hover {
  background-color: #fff; /* Background color turns white when hovered */
  color: #c9171e; /* Text color changes to match the original button color */
  border-color: #c9171e; /* Border color turns yellow on hover */
}

#searchsubmit:disabled {
  background-color: gray !important;
  cursor: not-allowed !important;
}

.submit-error {
  text-align: center;
  display: block;
  padding-bottom: 0.5rem;
}

/* =========================================================
   CLEANED CSS
   - Search Modal (JOB FINDER)
   - Feature Modal (FEATURES)
   - Floating Dock
========================================================= */
/* ---------- Base: Search Card ---------- */
.tansaku-container {
  margin-bottom: 32px;
}

.top-detailedsearch {
  border-radius: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 42, 61, 0.08);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.1);
}

/* box */
.top-detailedsearch-box {
  margin: 0 0 16px;
}
.top-detailedsearch-box.is-wide {
  width: 100%;
}

/* title (premium label) */
.top-detailedsearch-title {
  position: relative;
  display: inline-block;
  padding-left: 12px;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(2, 0, 0, 0.86);
}
.top-detailedsearch-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(0, 1, 2, 0.75),
    rgba(15, 42, 61, 0.18)
  );
}

/* inner: never fixed width */
.top-detailedsearch-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  gap: 10px; /* 地域/職種2段を綺麗に */
}

/* inputs */
.top-detailedsearch select,
.top-detailedsearch input[type="search"] {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 42, 61, 0.14);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(245, 247, 250, 0.88)
  );
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  font-size: 14px;
  outline: none;
}
.top-detailedsearch select:focus,
.top-detailedsearch input[type="search"]:focus {
  border-color: rgba(15, 42, 61, 0.26);
  box-shadow: 0 0 0 3px rgba(15, 42, 61, 0.1);
}

/* submit */
.top-detailedsearch button[type="submit"] {
  width: 100%;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8f1521 0%, #b3202a 100%);
  box-shadow: 0 18px 40px rgba(61, 13, 20, 0.22);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.14em;
  border: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.top-detailedsearch button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 54px rgba(61, 13, 20, 0.26);
}

/* error */
.submit-error {
  margin-top: 10px;
  color: rgba(255, 120, 60, 0.95);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ---------- Search Modal Shell ---------- */
.fjs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 26, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2147483646;
}

.fjs-modal {
  position: fixed;
  left: 50%;
  top: 24px;
  width: min(980px, calc(100vw - 28px));
  z-index: 2147483647;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.fjs-modal[data-open="1"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.fjs-modal-inner {
  border-radius: 22px;
  border: 1px solid rgba(15, 42, 61, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.28);
}

.fjs-modal-head {
  position: relative;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.fjs-head-center {
  text-align: center;
}
.fjs-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #000;!important
  text-transform: uppercase;
}
.fjs-sub {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #000;!important
}
.fjs-close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: rgba(15, 42, 61, 0.55);
  padding: 6px 10px;
  border-radius: 12px;
}
.fjs-close:hover {
  background: rgba(15, 42, 61, 0.06);
}

.fjs-modal-body {
  padding: 18px;
  max-height: calc(100vh - 180px);
  overflow: auto;
}


.fjs-row-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin: 4px 0 16px;
}
.fjs-row-2col > * {
  min-width: 0;
}

/* mobile */
@media (max-width: 720px) {
  .fjs-row-2col {
    grid-template-columns: 1fr;
  }
  .top-detailedsearch {
    padding: 18px;
  }
  .fjs-modal-body {
    padding: 14px;
  }
}
.fjs-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px 22px !important;
  border-bottom: 1px solid rgba(15, 42, 61, 0.08);
  background:
    linear-gradient(180deg, #fffaf8 0%, #ffffff 72%);
}

.fjs-modal-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.fjs-modal-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.fjs-modal-copy {
  min-width: 0;
}

.fjs-modal-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #99202B;
  line-height: 1;
}

.fjs-title {
  margin: 0 !important;
  font-size: 34px !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.2 !important;
  color: #0f2a3d !important;
}

.fjs-modal-sub {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5f6b76;
}

/* 閉じるボタン */
.fjs-modal-close {
  position: relative;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #f7f7f8;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fjs-modal-close:hover {
  background: #fff1f2;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(153, 32, 43, 0.12);
}

.fjs-modal-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #7a8590;
}

.fjs-modal-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.fjs-modal-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
body.is-fjs-open .hp-header {
  display: none;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .fjs-modal-head {
    gap: 14px;
    padding: 18px 16px 16px !important;
    align-items: flex-start;
  }

  .fjs-modal-brand {
    gap: 12px;
    align-items: flex-start;
  }


  .fjs-modal-logo {
    width: 100px;
    height: 100px;
  }


  .fjs-modal-eyebrow {
    font-size: 10px;
    margin-bottom: 5px;
  }

  .fjs-title {
    font-size: 17px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.02em !important;
  }

  .fjs-modal-copy {
    min-width: 0;
    margin-top: 25px;
}
	
	
	
  .fjs-modal-sub {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 6px;
  }

  .fjs-modal-close {
    width: 40px;
    height: 40px;
  }

  .fjs-modal-close span {
    width: 16px;
  }
}
@media (max-width: 520px) {
  .fjs-modal-head {
    padding: 14px 12px 12px;
    gap: 10px;
  }

  .fjs-modal-brand {
    gap: 8px;
    align-items: center;
    min-width: 0;
  }

  .fjs-modal-logo {
    width: 56px;
    height: 56px;
  }

  .fjs-modal-copy {
    min-width: 0;
    flex: 1;
  }

  .fjs-modal-eyebrow {
    font-size: 9px;
    letter-spacing: 0.14em;
    margin-bottom: 4px;
  }

  .fjs-title {
    font-size: 20px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.01em !important;
    word-break: keep-all;
  }

  .fjs-sub {
    font-size: 11px !important;
    line-height: 1.5 !important;
    margin-top: 4px !important;
  }

  .fjs-close {
    width: 34px;
    height: 34px;
  }

  .fjs-close span {
    width: 14px;
  }
}

@media (max-width: 390px) {
  .fjs-modal-head {
    padding: 12px 10px 10px;
  }

  .fjs-modal-brand {
    gap: 6px;
  }

  .fjs-modal-logo {
    width: 48px;
    height: 48px;
  }

  .fjs-title {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  .fjs-sub {
    font-size: 10px !important;
    line-height: 1.4 !important;
  }

  .fjs-modal-eyebrow {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .fjs-close {
    width: 32px;
    height: 32px;
  }
}


/* ---------- FEATURES Modal ---------- */
.feat-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 26, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2147483646;
}

.feat-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(860px, calc(100vw - 28px));
  z-index: 2147483647;
  transform: translate(-50%, -46%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}
.feat-modal[data-open="1"] {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}
.feat-modal-inner {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 42, 61, 0.1);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.28);
}

.feat-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.feat-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #000;
}
.feat-sub {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(15, 42, 61, 0.62);
}
.feat-close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: rgba(15, 42, 61, 0.55);
  padding: 6px 10px;
  border-radius: 12px;
}
.feat-close:hover {
  background: rgba(15, 42, 61, 0.06);
}

.feat-modal-body {
  padding: 16px 18px 18px;
  max-height: calc(100vh - 180px);
  overflow: auto;
}

.feat-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 42, 61, 0.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 38px rgba(11, 24, 36, 0.1);
}
.feat-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 900;
  color: #000;
  margin: 0 0 14px;
}
.feat-card-ic {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(153, 32, 43, 0.06);
  overflow: hidden;
}
.feat-card-ic img {
  width: 18px;
  height: 18px;
  display: block;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.feat-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 12px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(153, 32, 43, 0.05);
  border: 1px solid rgba(153, 32, 43, 0.12);
  color: rgba(120, 22, 31, 0.92);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}
.feat-chip:hover {
  transform: translateY(-1px);
  background: rgba(153, 32, 43, 0.08);
  border-color: rgba(153, 32, 43, 0.18);
}
@media (max-width: 720px) {
  .feat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- DOCK (slim / no blue) ---------- */
.dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147483647;
}

.dock-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(153, 32, 43, 0.10);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  box-shadow:
    0 18px 60px rgba(58, 12, 17, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.dock-item {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 10px;
  border-radius: 999px;

  color: rgba(76, 16, 22, 0.78);
  text-decoration: none;
  user-select: none;
  white-space: nowrap;

  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.dock-item:hover {
  transform: translateY(-1px);
  background: rgba(153, 32, 43, 0.06);
  color: rgba(76, 16, 22, 0.92);
  border-color: rgba(153, 32, 43, 0.10);
}

.dock-item:focus,
.dock-item:active {
  outline: none;
}
.dock-item:focus-visible {
  box-shadow: 0 0 0 3px rgba(153, 32, 43, 0.12);
}

.dock-item--primary {
  background: linear-gradient(135deg, #8f1521 0%, #b3202a 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 16px 28px rgba(58, 12, 17, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.14) inset;
}
.dock-item--primary:hover {
  background: linear-gradient(180deg, #bf2a38 0%, #99202B 100%);
  border-color: rgba(255, 255, 255, 0.16);
}

#featOpen[aria-expanded="true"],
#dockTop[aria-expanded="true"] {
  background: rgba(153, 32, 43, 0.06) !important;
  border-color: rgba(153, 32, 43, 0.10) !important;
  color: rgba(76, 16, 22, 0.92) !important;
  box-shadow: none !important;
}

.dock-ic {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(153, 32, 43, 0.06);
}
.dock-item--primary .dock-ic {
  background: rgba(255, 255, 255, 0.1);
}

.dock-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.dock-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.dock-sep {
  width: 1px;
  height: 20px;
  background: rgba(153, 32, 43, 0.87);
  border-radius: 999px;
}

@media (max-width: 600px) {
  .dock {
    right: 14px;
    bottom: 14px;
  }
  .dock-label {
    display: none;
  }
  .dock-item {
    padding: 8px;
  }
  .dock-inner {
    gap: 6px;
    padding: 8px;
  }
}
/* =========================
   FEATURE SECTION
========================= */
.feature {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: linear-gradient(180deg, #edf4f5 0%, #f7f9fb 16%, #ffffff 100%);
}

.feature-section {
  width: min(1320px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 92px 0 110px;
}

/* ===== 見出し ===== */
.feature-head {
  position: relative;
  margin-bottom: 36px;
}

.feature-head__eyebrow {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #64748b;
  opacity: 0;
  transform: translateY(10px);
}

.feature-head h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  min-height: 56px;
}

.feature-head h2::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 2px;
  margin-right: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f172a 0%, #94a3b8 100%);
  transition:
    width 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    margin-right 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-head h2 span {
  display: inline-block;
  font-size: clamp(1.9rem, 2.3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: #0f172a;
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.45s ease 0.35s,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

.feature-head.is-inview .feature-head__eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.feature-head.is-inview h2::before {
  width: 72px;
  margin-right: 18px;
}

.feature-head.is-inview h2 span {
  opacity: 1;
  transform: translateX(0);
}

/* ===== 2列グリッド ===== */
.feature-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* ===== カード ===== */
.feature-card {
  position: relative;
  min-width: 0;
  border-radius: 30px;
  overflow: hidden;
  background: #0f172a;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.08),
    0 6px 18px rgba(15, 23, 42, 0.06);
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.feature-card.is-inview {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feature-card a {
  position: relative;
  display: block;
  min-height: 400px;
  text-decoration: none;
  color: inherit;
}

.feature-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.feature-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease;
  filter: brightness(0.86) saturate(1.04);
}

.feature-card a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.05) 0%,
    rgba(2, 6, 23, 0.08) 26%,
    rgba(2, 6, 23, 0.22) 56%,
    rgba(2, 6, 23, 0.88) 100%
  );
}

.feature-card a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  height: 44%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

.feature-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 26px 26px 26px;
  transition:
    transform 0.35s ease,
    padding-bottom 0.35s ease;
}

.feature-card__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffffff;
}

.feature-card__title {
  margin: 0;
  padding-right: 60px;
  font-size: clamp(1.38rem, 1.7vw, 1.72rem);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.24);
}

.feature-card__arrow {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

/* ===== hover ===== */
.feature-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow:
    0 28px 56px rgba(15, 23, 42, 0.14),
    0 10px 24px rgba(15, 23, 42, 0.08);
}

.feature-card:hover .feature-card__media img {
  transform: scale(1.08);
  filter: brightness(0.94) saturate(1.07);
}

.feature-card:hover .feature-card__body {
  transform: translateY(-6px);
  padding-bottom: 32px;
}

.feature-card:hover .feature-card__arrow {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.22);
}

/* ===== タブレット ===== */
@media (max-width: 1024px) {
  .feature-section {
    width: min(1100px, calc(100vw - 40px));
    padding: 76px 0 88px;
  }

  .feature-rail {
    gap: 20px;
  }

  .feature-card a {
    min-height: 360px;
  }

  .feature-card__body {
    padding: 20px 20px 22px;
  }

  .feature-card__title {
    padding-right: 50px;
    font-size: 1.28rem;
  }

  .feature-card__arrow {
    right: 20px;
    bottom: 22px;
  }
}

/* ===== スマホ ===== */
@media (max-width: 767px) {
  .feature-section {
    width: calc(100vw - 32px);
    padding: 58px 0 72px;
  }

  .feature-head {
    margin-bottom: 24px;
  }

  .feature-head__eyebrow {
    margin-bottom: 8px;
    font-size: 0.64rem;
  }

  .feature-head h2 {
    min-height: 40px;
  }

  .feature-head.is-inview h2::before {
    width: 44px;
    margin-right: 12px;
  }

  .feature-head h2 span {
    font-size: 1.7rem;
    line-height: 1.28;
  }

  .feature-rail {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    border-radius: 24px;
  }

  .feature-card a {
    min-height: auto;
    aspect-ratio: 1.28 / 1; /* aspect-ratio（意味：横と縦の比率） */
  }

  .feature-card__body {
    padding: 16px 16px 18px;
  }

  .feature-card__tag {
    margin-bottom: 8px;
    padding: 6px 10px;
    font-size: 0.56rem;
  }

  .feature-card__title {
    padding-right: 44px;
    font-size: 1.08rem;
    line-height: 1.34;
  }

  .feature-card__arrow {
    right: 16px;
    bottom: 18px;
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .feature-card:hover {
    transform: none;
  }

  .feature-card:hover .feature-card__body {
    transform: none;
    padding-bottom: 18px;
  }
}

/* =========================================
   COLUMN / NEWS
   旧 top-info-wrap / top-column / top-news は全部削除してこれだけ残す
========================================= */

/* 外側：特集と同じ流れの背景になじませる */
.top-info-wrap {
  width: min(1320px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 92px 0 110px;
  background: transparent;
}

/* -------------------------
   COLUMN
------------------------- */
.top-column-block {
  position: relative;
}

.top-column-head__lead {
  margin: 14px 0 0;
  max-width: 760px;
  font-size: 0.96rem;
  line-height: 1.9;
  color: #5f6b7a;
}

.top-column-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.top-column-item {
  min-width: 0;
}

.top-column-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  height: 100%;
  padding: 28px 28px 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  box-shadow:
    0 16px 38px rgba(15, 23, 42, 0.08),
    0 6px 18px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.top-column-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.top-column-card::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8f1521 0%, #b3202a 100%);
  transform: scaleX(0.16);
  transform-origin: left center;
  transition: transform 0.35s ease;
  opacity: 0.95;
}

.top-column-card:hover {
  transform: translateY(-8px);
  border-color: rgba(179, 32, 42, 0.18);
  box-shadow:
    0 24px 52px rgba(15, 23, 42, 0.12),
    0 10px 24px rgba(179, 32, 42, 0.08);
}

.top-column-card:hover::after {
  transform: scaleX(1);
}

.top-column-card__meta {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.top-column-card__label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(179, 32, 42, 0.08);
  border: 1px solid rgba(179, 32, 42, 0.1);
  color: #8f1521;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.top-column-card__body {
  position: relative;
  z-index: 1;
  flex: 1;
}

.top-column-card__title {
  margin: 0 0 12px;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.7;
  color: #0f172a;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.7em * 2);
}

.top-column-card__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.9;
  color: #5f6b7a;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.9em * 3);
}

.top-column-card__arrow {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  margin-top: 18px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #8f1521;
  font-size: 1rem;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.top-column-card:hover .top-column-card__arrow {
  transform: translateX(6px);
  background: rgba(179, 32, 42, 0.08);
  border-color: rgba(179, 32, 42, 0.14);
}

.top-column-foot {
  margin-top: 32px;
}

.top-column-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid #b3202a;
  background: rgba(255, 255, 255, 0.78);
  color: #8f1521;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition:
    transform 0.28s ease,
    background-color 0.28s ease,
    color 0.28s ease,
    box-shadow 0.28s ease;
}

.top-column-more:hover {
  transform: translateY(-2px);
  background: #b3202a;
  color: #fff;
  box-shadow: 0 12px 26px rgba(179, 32, 42, 0.18);
}

.top-column-head {
  margin-bottom: 36px;
}

.top-column-head__lead {
  margin: 16px 0 0;
  max-width: 760px;
  font-size: 0.96rem;
  line-height: 1.9;
  color: #5f6b7a;
}

/* -------------------------
   NEWS
   同じ背景の流れの中で、余白と線で別項目にする
------------------------- */
.top-news-block {
  margin-top: 84px; /* 少し離す */
  padding-top: 54px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.top-news-head {
  margin-bottom: 22px;
}

.top-news-head__ja {
  font-size: clamp(1.55rem, 1.9vw, 2rem);
  letter-spacing: 0.04em;
}

.top-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.top-news-item {
  position: relative;
  padding: 22px 0 22px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.top-news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 31px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #b3202a;
}

.top-news-item__title {
  display: block;
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.75;
  color: #0f172a;
}

.top-news-item__text {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.9;
  color: #5f6b7a;
}

/* -------------------------
   Responsive
------------------------- */
@media (max-width: 1024px) {
  .top-info-wrap {
    width: min(1100px, calc(100vw - 40px));
    padding: 76px 0 88px;
  }

  .top-column-list {
    gap: 20px;
  }

  .top-column-card {
    min-height: 230px;
    padding: 24px 22px 20px;
    border-radius: 20px;
  }

  .top-column-card::after {
    left: 22px;
    right: 22px;
  }
}

@media (max-width: 767px) {
  .top-info-wrap {
    width: calc(100vw - 32px);
    padding: 58px 0 72px;
  }

  .top-column-head,
  .top-news-head {
    margin-bottom: 22px;
  }

  .top-column-head__en,
  .top-news-head__en {
    margin-bottom: 8px;
    font-size: 0.64rem;
  }

  .top-column-head__ja,
  .top-news-head__ja {
    font-size: 1.7rem;
    line-height: 1.28;
  }

  .top-column-head__lead {
    font-size: 0.9rem;
    line-height: 1.82;
  }

  .top-column-list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .top-column-card {
    min-height: auto;
    padding: 20px 16px 18px;
    border-radius: 18px;
  }

  .top-column-card::after {
    left: 16px;
    right: 16px;
  }

  .top-column-card__title {
    font-size: 1.08rem;
    min-height: auto;
  }

  .top-column-card__text {
    font-size: 0.9rem;
    min-height: auto;
  }

  .top-column-card__arrow {
    width: 36px;
    height: 36px;
    font-size: 0.92rem;
  }

  .top-column-more {
    width: 100%;
  }

  .top-news-block {
    margin-top: 64px;
    padding-top: 38px;
  }

  .top-news-item {
    padding: 18px 0 18px 14px;
  }

  .top-news-item::before {
    top: 27px;
  }

  .top-news-item__text {
    font-size: 0.9rem;
  }
}

/*top title共通*/
.title-bar h2 {
  color: #696969;
  padding: 30px 0em 0 0em;
  font-size: 1.5rem;
  text-align: center;
}

/* 親要素（画像を含むコンテナ） */
.image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* 画像のスタイル */
.topA {
  display: block;
  width: calc(100% - 30px);
  max-width: 1000px;
  margin: 0 auto;
  animation: topA 2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes topA {
  0% {
    clip-path: circle(0 at 50% 50%);
    -webkit-clip-path: circle(0 at 50% 50%);
  }

  100% {
    clip-path: circle(100% at 50% 50%);
    -webkit-clip-path: circle(100% at 50% 50%);
  }
}

.topB {
  display: block;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  margin-top: 20px;
}

.topC {
  display: block;
  margin: 0 auto;
  width: 500%;
  margin: 50px;
}

/* =========================
   Footer
========================= */
.site-footer {
  background: linear-gradient(180deg, #a12631 0%, #8f1d28 100%);
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* 上段 */
.footer-top {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  padding: 42px 24px 34px;
  background: linear-gradient(180deg, #9c212c 0%, #861b25 100%);
}

.footer-section {
  flex: 1;
  max-width: 360px;
  margin: 0;
  text-align: center;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff4e8;
  letter-spacing: 0.05em;
  line-height: 1.6;
  min-height: 2.8em;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

/* 特集などのボタン */
.footer-section ul li a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: #5a1820;
  background: linear-gradient(180deg, #fffdfb 0%, #f6eee8 100%);
  border: 1px solid rgba(255, 232, 214, 0.85);
  border-radius: 10px;
  box-shadow:
    0 6px 18px rgba(58, 8, 14, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-section ul li a:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #fffaf6 0%, #f3e5da 100%);
  box-shadow:
    0 10px 24px rgba(58, 8, 14, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.footer-section ul li a:active {
  transform: translateY(0);
}

/* 中段コピー */
.footer-links {
  background: linear-gradient(90deg, #7f1923 0%, #9c212c 50%, #7f1923 100%);
  padding: 16px 20px;
  color: #fff5ef;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links p {
  margin: 0;
  text-align: center;
}

.footer-links .catch small {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #ffe7d1;
}

/* 下段 */
.footer-bottom {
  background: #581018;
  color: #fff;
  padding: 26px 20px 20px;
  text-align: center;
}

.footer-bottom ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-bottom ul li {
  margin: 0;
}

.footer-bottom ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.footer-bottom ul li a:hover {
  color: #ffe1c7;
  border-bottom-color: rgba(255, 225, 199, 0.8);
  text-decoration: none;
}

/* CTA */
.cta {
  margin-top: 8px;
  margin-bottom: 16px;
}

.cta .cta-button {
  display: inline-block;
  padding: 13px 28px;
  background: linear-gradient(180deg, #f4d9b8 0%, #d9b37a 100%);
  color: #5c1c12;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(255, 237, 212, 0.55);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.cta .cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  background: linear-gradient(180deg, #f7dfc2 0%, #ddb77f 100%);
}

.copyright {
  margin-top: 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

.copyright small {
  font-size: 12px;
}

.h7 {
  color: #f0d2b7;
  letter-spacing: 0.2em;
  text-align: center;
}

/* スマホ */
@media screen and (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 30px 16px 24px;
  }

  .footer-section {
    max-width: none;
  }

  .footer-section h3 {
    min-height: auto;
    margin-bottom: 14px;
  }

  .footer-section ul li a {
    padding: 11px 12px;
  }

  .footer-bottom {
    padding: 22px 16px 18px;
  }

  .footer-bottom ul {
    gap: 8px 14px;
  }

  .cta .cta-button {
    width: 100%;
    max-width: 360px;
  }
}
/*サイドバーの検索利用分*/

/*検索結果*/
.search-title {
  padding-bottom: 0.5rem;
  color: #000;
  text-align: center;
}
.search-result-item {
  margin-top: 2rem;
}
.post {
  margin-top: 1rem;
}

/*sp-banner*/
.sp-banner a + a {
  margin-top: 1.5rem;
  display: block;
}
/*リキャプチャ*/
/* リキャプチャ */
.rec-text {
  text-align: center;
  margin-top: 2rem;
  line-height: 1.9;
}

.rec-text p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.rec-text a {
  text-decoration: underline;
  display: inline;
}

.grecaptcha-badge {
  visibility: hidden;
}

.top-features-contents {
  width: 90%;
  margin: 0 auto;
}
.top-features-contents img {
  display: block;
  width: 100%;
}
.top-features-contents a + a {
  margin-top: 1rem;
  display: block;
}

#wpadminbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  text-align: left !important;
}

#wpadminbar ul,
#wpadminbar li {
  display: block !important;
  text-align: left !important;
  justify-content: flex-start !important;
}

/* =========================================================
   PREF MAP (TOP) - STABLE CLEAN CSS (NO BUG / NO FLY)
   ========================================================= */

:root {
  --brand: #c1121f;
  --brand2: #e11d48;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --shadowA: 0 28px 70px rgba(15, 23, 42, 0.12);
  --shadowB: 0 6px 18px rgba(15, 23, 42, 0.08);
  --r-lg: 24px;
  --r-md: 18px;
}

/* 背景は無し */
.pref-map-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 16px 22px;
  background: transparent;
}

/* タイトル */
.pref-map-title {
  margin: 0 0 18px;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.pref-map-title::before {
  content: "";
  width: 10px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--brand2));
  box-shadow: 0 12px 22px rgba(193, 18, 31, 0.16);
}

/* レイアウト：親は囲わない */
.pref-map-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .pref-map-wrap {
    grid-template-columns: 1fr;
  }
}

/* 左右カード */
#prefMap,
.pref-map-side {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.973);
  box-shadow: var(--shadowA), var(--shadowB);
  overflow: hidden;
  position: relative;
}

/* 地図カード */
#prefMap {
  height: 640px;
  padding: 18px;
  background: radial-gradient(
    1200px 600px at 25% 10%,
    #ffffff 0%,
    #f7f8fa 48%,
    #eef1f6 100%
  );
}

@media (max-width: 980px) {
  #prefMap {
    height: 440px;
  }
}

/* 右パネル */
.pref-map-side {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
}

.pref-map-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ボタン */
.pref-geo-btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 16px 30px rgba(233, 31, 44, 0.18);
  cursor: pointer;
}
.pref-geo-btn:hover {
  filter: brightness(1.02);
}

/* 求人枠 */
#prefJobs {
  margin-top: 6px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--r-md);
  padding: 14px;
  flex: 1;
  min-height: 320px;
  overflow: hidden;
}

.pref-jobs-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

#prefJobsTitle {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
#prefJobsMore {
  font-size: 12px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  opacity: 0.9;
}
#prefJobsMore:hover {
  text-decoration: underline;
}

#prefJobsGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* 求人カード */
#prefJobsGrid {
  display: grid;
  gap: 10px;
}

.pref-job-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #d9dde5;
  border-radius: 16px;
  box-shadow: 0 1px 6px rgba(17, 24, 39, 0.04);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.pref-job-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.08);
  border-color: #efb7c0;
}

.pref-job-card__body {
  padding: 12px 14px;
}

.pref-job-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pref-job-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 24px;
  padding: 0 10px;
  border: 1px solid #f0bcc5;
  border-radius: 999px;
  background: #fff8f9;
  color: #c81e3a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.pref-job-text {
  min-width: 0;
  color: #1f2937;
  line-height: 1.4;
  word-break: break-word;
}

.pref-job-text--job {
  font-size: 15px;
  font-weight: 700;
}

.pref-job-text--company {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.pref-job-card__divider {
  height: 1px;
  margin: 9px 0;
  background: linear-gradient(
    90deg,
    rgba(220, 38, 38, 0.22) 0%,
    rgba(220, 38, 38, 0.08) 45%,
    rgba(148, 163, 184, 0.1) 100%
  );
}

@media (max-width: 767px) {
  #prefJobsGrid {
    gap: 8px;
  }

  .pref-job-card__body {
    padding: 10px 12px;
  }

  .pref-job-row {
    gap: 8px;
  }

  .pref-job-chip {
    min-width: 48px;
    height: 22px;
    padding: 0 8px;
    font-size: 10px;
  }

  .pref-job-text--job {
    font-size: 14px;
  }

  .pref-job-text--company {
    font-size: 13px;
  }

  .pref-job-card__divider {
    margin: 8px 0;
  }
}

/* =========================================================
   MAP:
========================================================= */

/* SVG */
#prefMap svg {
  width: 100%;
  height: 100%;
  display: block;
  shape-rendering: geometricPrecision;
  text-rendering: optimizeLegibility;
  transform-origin: center;
}

#prefMap svg text,
#prefMap svg foreignObject {
  display: none !important;
}

/* clickable */
#prefMap g.prefecture {
  cursor: pointer;
}


#prefMap g.prefecture > path,
#prefMap g.prefecture > polygon {
  fill: #f1f5f9;
  stroke: #64748b;
  stroke-width: 1.55;
}

#prefMap g.prefecture:hover > path,
#prefMap g.prefecture:hover > polygon {
  fill: rgba(193, 18, 31, 0.18);
  stroke: rgba(193, 18, 31, 0.62);
  filter: drop-shadow(0 0 10px rgba(193, 18, 31, 0.2));
}

/* active */
#prefMap g.prefecture[data-active="1"] > path,
#prefMap g.prefecture[data-active="1"] > polygon {
  fill: rgba(193, 18, 31, 0.34);
  stroke: rgba(193, 18, 31, 0.86);
  stroke-width: 1.65;
}


#prefMap .boundary-line {
  pointer-events: none;
}


#prefPin {
  display: none !important;
}

/* tooltip */
.pref-tooltip {
  position: absolute;
  z-index: 5;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  pointer-events: none;
  transform: translate(12px, 12px);
  opacity: 0;
  transition: opacity 0.12s ease;
}
.pref-tooltip[data-show="1"] {
  opacity: 1;
}

/* ===== Motion Base ===== */
:root {
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow1: 0 24px 60px rgba(15, 23, 42, 0.1);
  --shadow2: 0 6px 18px rgba(15, 23, 42, 0.06);
}


.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}


.card-pro {
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: var(--shadow1), var(--shadow2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  position: relative;
  overflow: hidden;
}
.card-pro::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(
    700px 220px at 30% 0%,
    rgba(255, 255, 255, 0.85),
    transparent 60%
  );
  pointer-events: none;
}

/* ホバーで“1段だけ”上げる（やりすぎ禁止） */
.card-pro:hover {
  box-shadow:
    0 34px 86px rgba(15, 23, 42, 0.14),
    0 10px 26px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== kill native tooltip feel (prevent flicker / overlay) ===== */
#prefMap g.prefecture {
  cursor: pointer;
}


#prefMap g.prefecture[title],
#prefMap g.prefecture *[title] {
  pointer-events: auto;
}

/* =========================
   HERO: 2段
========================= */

.hero-flow {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 18px;
  background: transparent;
}

.hero-flow__overlay {
  display: none;
}

.flow-row {
  position: absolute;
  left: -6%;
  right: -6%;
  z-index: 1;
  overflow: hidden;
}

.flow-row--a {
  top: 74px;
  transform: rotate(-2deg);
}

.flow-row--b {
  bottom: 74px;
  transform: rotate(2deg);
}

.flow-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translateX(0);
}


.flow-set {
  display: flex;
  gap: 18px;
  flex: 0 0 auto;
  margin-right: 18px;
}


.flow-track img {
  display: block;
  flex: 0 0 auto;
  width: 360px;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  filter: saturate(0.95) contrast(1.02);
  background: transparent;
}

/* 重ねるテキスト */
.hero-flow__content {
  position: relative;
  z-index: 3;
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 28px;
  color: #fff;
}

.hero-flow__title {
  font-size: 32px;
  line-height: 1.25;
  margin: 0;
  letter-spacing: 0.02em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}


@media (min-width: 1024px) {
  .flow-track {
    animation: heroMarquee 42s linear infinite;
  }

  .flow-track--reverse {
    animation-direction: reverse;
    animation-duration: 52s;
  }
}

@keyframes heroMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


@media (max-width: 1023px) {
  .hero-flow {
    min-height: 480px;
    border-radius: 14px;
  }

  .flow-row {
    left: -10%;
    right: -10%;
  }

  .flow-row--a {
    top: 64px;
  }

  .flow-row--b {
    bottom: 64px;
  }

  .flow-set {
    gap: 14px;
    margin-right: 14px;
  }

  .flow-track img {
    width: 260px;
    height: 180px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-track {
    animation: none !important;
  }
}

/* =========================
   スマホ専用ヒーロー
   ========================= */


.hero-sp-collage {
  display: none !important;
}

@media (max-width: 767px) {
  .hero-sp-collage {
    display: block !important;
    position: relative;
    margin: 0 0 36px;
    padding: 0 0 12px;
    overflow: visible;
    background: #f8f5f3;
  }

  .hero-sp-collage__media {
    position: relative;
    padding: 14px 14px 0;
  }

  .hero-sp-collage__main {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  }

  .hero-sp-collage__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .hero-sp-collage__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 18px;
  }

  .hero-sp-collage__thumbs img {
    width: 100%;
    height: 82px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
  }

  .hero-sp-collage__overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    height: 300px;
    border-radius: 22px;
    background:
      linear-gradient(
        to bottom,
        rgba(20, 16, 16, 0.18) 0%,
        rgba(20, 16, 16, 0.34) 55%,
        rgba(20, 16, 16, 0.48) 100%
      );
    pointer-events: none;
    z-index: 1;
  }

  .hero-sp-collage__content {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    height: 300px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    z-index: 2;
  }

  .hero-sp-collage__sub {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
    font-weight: 600;
    opacity: 0.92;
  }

  .hero-sp-collage__title {
    margin: 0;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
  }

  .hero-sp-collage__text {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
    max-width: 320px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  }

 
  .hero-sp-collage + section,
  .hero-sp-collage + div {
    margin-top: 20px;
  }
}


.hero-flow--pc {
  display: block;
}

.hero-sp-collage {
  display: none;
}

@media (max-width: 767px) {
  .hero-flow--pc {
    display: none !important;
  }

  .hero-sp-collage {
    display: block !important;
  }
}










/* 問い合わせPAGE*/
.contact-switch-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.contact-switch-intro {
  text-align: center;
  margin-bottom: 24px;
}

.contact-switch-intro__title {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  color: #111827;
}

.contact-switch-intro__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: #64748b;
}

.contact-switch-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.contact-switch-tab {
  min-width: 220px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid #d7dee8;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-switch-tab:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.contact-switch-tab.is-active {
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  color: #ffffff;
  border-color: #111827;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.14);
}

.contact-switch-panel {
  display: none;
}

.contact-switch-panel.is-active {
  display: block;
}

.company-contact-form .company-recaptcha-note,
.general-contact-form .general-recaptcha-note {
  display: block;
  margin: 30px auto 18px;
  text-align: center;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.9;
  color: #64748b;
}

.company-contact-form .company-recaptcha-note span,
.company-contact-form .company-recaptcha-note a,
.general-contact-form .general-recaptcha-note span,
.general-contact-form .general-recaptcha-note a {
  display: inline;
}

.company-contact-form .company-recaptcha-note a,
.general-contact-form .general-recaptcha-note a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 767px) {
  .contact-switch-wrap {
    padding: 16px 12px 28px;
  }

  .contact-switch-intro__title {
    font-size: 28px;
  }

  .contact-switch-intro__text {
    font-size: 14px;
  }

  .contact-switch-tab {
    width: 100%;
    min-width: 100%;
  }

  .company-contact-form .company-recaptcha-note,
  .general-contact-form .general-recaptcha-note {
    white-space: normal;
  }
}
