/*
Theme Name: bizlista - Common
Description: サイト全体共通スタイル（変数、リセット、UIパーツ、ナビゲーション、フッター）
*/

/* ========================================================================= */
/* 1. 変数・リセット・共通スタイル */
/* ========================================================================= */
:root {
  --color-navy: #132e4b; /* メインカラー */
  --color-orange: #f55b14; /* アクセントカラー */
  --color-light-gray: #f8f8f8;
  --color-blue-bg: #eef5ff;
  --color-text-dark: #222;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.6;
  color: #333;
}

body.noscroll {
  overflow: hidden; /* メニュー表示時にスクロール禁止 */
}

.roboto {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
}

.inline {
  display: inline-block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

a:hover {
  color: #f55b14; /* オレンジ */
}

li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  letter-spacing: 1.2px;
  line-height: 1.4;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

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

.inner-1200 {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.inner-1400 {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* 表示切り替えユーティリティ */
.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* 文字色・装飾クラス */
span.bl {
  color: var(--color-navy);
}

span.og {
  color: var(--color-orange);
}

.bg-navy-light {
  background-color: var(--color-light-gray);
}

/* ボタン共通 */
.btn-biz-orange {
  background-color: var(--color-orange);
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 700;
  transition: opacity 0.3s;
}

.btn-biz-orange:hover {
  opacity: 0.9;
  color: white;
}

.more-btn {
  display: block;
  width: 280px;
  max-width: 90%;
  margin: 40px auto 0;
  text-align: center;
  padding: 15px 20px;
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
  font-weight: 700;
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
}

.more-btn:hover {
  background-color: var(--color-navy);
  color: white;
}

/* セクションタイトル（共通） */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-orange);
  border-radius: 2px;
}

.section-title .en-text {
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--color-orange);
  margin-bottom: 5px;
  letter-spacing: 0.2em;
}

/* ========================================================================= */
/* 2. PC Dock Navigation */
/* ========================================================================= */
.pc-dock-nav {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  width: auto;
}

.dock-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  padding: 10px 15px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.dock-branding {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 15px;
  border-radius: 12px;
  background-color: transparent;
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
  margin-right: 5px;
}

.dock-branding img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.5));
}

.dock-branding:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.5);
}

.dock-item {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background-color: #f5f7fa;
  color: #555;
  font-size: 1.3rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
}

.dock-item:hover {
  transform: translateY(-15px) scale(1.25);
  background-color: #fff;
  color: var(--color-orange);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.dock-container:hover .dock-item:not(:hover) {
  filter: blur(0.5px);
  opacity: 0.8;
  transform: scale(0.95);
}

.dock-item.active {
  background-color: var(--color-navy);
  color: white;
}

.dock-item.active:hover {
  color: white;
}

.dock-item.highlight {
  background-color: var(--color-orange);
  color: white;
}

.dock-item.highlight:hover {
  background-color: #ff7034;
  color: white;
}

.dock-divider {
  width: 1px;
  height: 24px;
  background-color: #cbd5e1;
  margin: 0 8px;
}

/* ツールチップ */
.dock-item::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background-color: rgba(19, 46, 75, 0.9);
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
}

.dock-item::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(19, 46, 75, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
}

.dock-item:hover::after,
.dock-item:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
  top: -50px;
}

.dock-item:hover::before {
  top: -14px;
}

/* ========================================================================= */
/* 追加: 右側縦メニュー (PC Side Nav) のスタイル - 完全版 */
/* ========================================================================= */
.pc-side-nav {
  top: 0 !important;
  bottom: 0 !important;
  margin-top: auto !important;
  margin-bottom: auto !important;
  height: fit-content !important; /* 中身の高さに合わせる */
  max-height: 90vh; /* 念のため画面からはみ出さないように */
  z-index: 99;
  /* ボタンの右余白修正もここに含めます */
  right: 20px !important;
}

/* メニューのコンテナ（縦並び・ガラス風背景） */
.side-nav-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* 中央揃え */
  gap: 15px; /* 各アイテムの間隔 */
  background-color: rgba(255, 255, 255, 0.95); /* 背景色（少し透過） */
  backdrop-filter: blur(10px); /* すりガラス効果 */
  padding: 25px 15px; /* 内側の余白 */
  border-radius: 24px;
  box-shadow: -5px 10px 30px rgba(0, 0, 0, 0.15); /* 影 */
  border: 1px solid rgba(255, 255, 255, 0.8); /* 白い枠線 */
}

/* 縦型ロゴエリア */
.side-branding {
  display: block;
  margin-bottom: 5px;
  transition: transform 0.3s;
}
.side-branding:hover {
  transform: scale(1.05); /* ロゴホバー時の拡大 */
}
.side-branding img.logo-ver {
  width: 40px; /* ロゴの幅 */
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(255, 255, 255, 0.8));
}

/* 区切り線 */
.side-nav-divider {
  width: 24px;
  height: 1px;
  background-color: #cbd5e1;
  margin: 5px auto;
}

/* --- メニューアイテム (アイコン) --- */
.side-nav-item {
  position: relative;
  width: 48px; /* クリックしやすいサイズ */
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px; /* 少し四角っぽくしてボタンと差別化 */
  background-color: #f0f4f8; /* 薄いグレー */
  color: var(--color-navy);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.side-nav-item:hover {
  transform: translateX(-3px) scale(1.1); /* 左に浮き出る動き */
  background-color: var(--color-navy); /* メインカラーに */
  color: #fff; /* アイコン白 */
  box-shadow: 0 5px 15px rgba(19, 46, 75, 0.3);
  z-index: 10;
}

/* 特定の強調アイテム（お問い合わせなど） */
.side-nav-item.highlight {
  background-color: var(--color-orange);
  color: white;
}
.side-nav-item.highlight:hover {
  background-color: #ff7034;
}

/* --- 切り替えボタン (Switch Button) --- */
.side-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%; /* 完全な丸 */
  background-color: #333; /* 濃いグレー */
  color: #fff;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.side-toggle-btn:hover {
  background-color: var(--color-orange); /* オレンジに変化 */
  transform: rotate(180deg) scale(1.1); /* くるっと回る */
  border-color: var(--color-orange);
}

/* 下メニュー(Dock)にある切り替えボタンも合わせてデザイン */
.dock-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #333;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-right: 10px; /* ロゴとの間隔 */
}
.dock-toggle-btn:hover {
  background-color: var(--color-orange);
  transform: rotate(-180deg) scale(1.1); /* 逆回転 */
}

/* --- ツールチップ (左出し) --- */
.side-nav-item[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 100%; /* 本体の左側に配置 */
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  background-color: rgba(19, 46, 75, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  margin-right: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 吹き出しの三角 (左向き) */
.side-nav-item[data-tooltip]::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  border: 5px solid transparent;
  border-left-color: rgba(19, 46, 75, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  margin-right: 2px;
}

.side-nav-item:hover::after,
.side-nav-item:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
/* 右サイドメニュー内の切り替えボタン調整 */
#pc-side-nav .dock-toggle-btn {
  margin-right: 0 !important; /* 余計な右余白を削除 */
  margin-left: 0 !important;
  width: 48px; /* 正円にするためのサイズ指定 */
  height: 48px;
  border-radius: 50%; /* 丸くする */
}
/* ========================================================================= */
/* 3. Search Modal (共通検索モーダル) */
/* ========================================================================= */
.job-search-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  z-index: 10000 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: none !important;
}

.job-search-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(19, 46, 75, 0.8);
  backdrop-filter: blur(4px);
}

.modal-container {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: translateY(20px);
  background: white;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow-y: auto;
}

.job-search-modal.is-open .modal-container {
  transform: translateY(0);
}

.modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.modal-title {
  font-family: "Roboto", sans-serif;
  /* ▼ 修正: clampで可変サイズに (最小1.4rem 〜 最大2rem) */
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 5px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: #888;
  font-weight: 500;
}

.modal-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.modal-close-btn:hover {
  opacity: 1;
}

.close-icon {
  width: 30px;
  height: 30px;
  position: relative;
}

.close-icon::before,
.close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
  transform: rotate(45deg);
}

.close-icon::after {
  transform: rotate(-45deg);
}

.close-text {
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.modal-body {
  padding: 20px 30px 40px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.form-label i {
  color: var(--color-orange);
}

.input-wrapper {
  position: relative;
}

.modal-input {
  width: 100%;
  padding: 15px 20px;
  padding-right: 40px;
  font-size: 1.1rem;
  border: 2px solid #eee;
  border-radius: 12px;
  background-color: #f9f9f9;
  transition: all 0.2s;
}

.modal-input:focus {
  background-color: white;
  border-color: var(--color-orange);
  outline: none;
  box-shadow: 0 0 0 4px rgba(245, 91, 20, 0.1);
}

.clear-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
}

.modal-input:not(:placeholder-shown) + .clear-btn {
  display: block;
}

.popular-tags-section {
  margin-top: 15px;
}

.tags-label {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 10px;
  font-weight: bold;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.tag-chip:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  background-color: #fffaf5;
  transform: translateY(-2px);
}

.divider-line {
  height: 1px;
  background: #eee;
  margin: 30px 0;
}

.detailed-conditions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.select-wrap {
  position: relative;
}

.modal-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: white;
  font-size: 0.95rem;
  appearance: none;
  cursor: pointer;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #888;
  pointer-events: none;
}

.form-actions {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.reset-all-btn {
  background: none;
  border: none;
  color: #888;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
}

.reset-all-btn:hover {
  color: #333;
}

.modal-submit-btn {
  flex-grow: 1;
  background: var(--color-navy);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 100px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.modal-submit-btn:hover {
  background: var(--color-orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 91, 20, 0.2);
}

/* 路線検索用のモーダル調整 */
.modal-line-title {
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: 0;
  line-height: 1.2;
}

.header-text-group {
  margin-right: auto;
}

.modal-line-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-orange);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(245, 91, 20, 0.2);
}

.modal-line-search-btn:hover {
  background-color: #d1450a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(245, 91, 20, 0.3);
}

.station-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  padding: 10px 0;
}

.station-grid-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background-color: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.station-grid-item:hover {
  background-color: #fff;
  border-color: var(--color-orange);
  color: var(--color-orange);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.station-grid-item span {
  font-size: 0.8em;
  color: #888;
  font-weight: normal;
  margin-left: auto !important;
  margin-right: 12px;
}

.station-grid-item::after {
  content: "\f054"; /* FontAwesome right arrow */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  color: #ccc;
  transition: color 0.3s;
}

.station-grid-item:hover::after {
  color: var(--color-orange);
}

.station-loader {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  color: #999;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #eee;
  border-top-color: var(--color-orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================================================= */
/* 4. Footer (フッター) */
/* ========================================================================= */
.main-footer {
  background-color: var(--color-navy);
  color: white;
  padding: 60px 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 40px;
}

.footer-brand-info {
  width: 300px;
  flex-shrink: 0;
}

.footer-logo {
  width: 180px;
  margin-bottom: 20px;
}

.footer-contact {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-tel {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-orange);
  margin: 5px 0;
}

.footer-tel:hover {
  color: white;
}

.footer-contact-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 4px;
}

.footer-nav {
  flex-grow: 1;
  display: flex;
  gap: 30px;
}

.nav-col {
  flex: 1;
}

.nav-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-orange);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 5px;
}

.nav-col ul li {
  margin-bottom: 8px;
}

.nav-col a {
  font-size: 0.9rem;
  opacity: 0.8;
}

.nav-col a:hover {
  opacity: 1;
  text-decoration: underline;
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ========================================================================= */
/* 5. SP Dock Nav (Floating & Sheet) */
/* ========================================================================= */
.sp-dock-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 400px;
  height: 65px;
  z-index: 9900;
  display: none; /* PCでは非表示 */
}

.sp-dock-container {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 35px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  position: relative;
}

.dock-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.6rem;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  padding: 6px 0 0 0;
  transition: color 0.2s;
  cursor: pointer;
}

.dock-tab.active,
.dock-tab:active {
  color: var(--color-navy);
}

.dock-tab .icon-box {
  font-size: 1.2rem;
  margin-bottom: 3px;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dock-center-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  margin-top: -45px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
  pointer-events: none;
}

.dock-center-btn {
  pointer-events: auto;
  width: 60px;
  height: 60px;
  min-width: 60px; /* これ以上小さくさせない */
  min-height: 60px; /* これ以上小さくさせない */
  flex-shrink: 0; /* 親要素に押しつぶされないようにする */
  border-radius: 50%;
  padding: 0;
  aspect-ratio: 1 / 1;
  border: 4px solid #fff;
  box-sizing: border-box;
  background: linear-gradient(135deg, var(--color-orange), #ff8e53);
  color: white;
  box-shadow: 0 8px 20px rgba(245, 91, 20, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.dock-center-btn:active {
  transform: scale(0.92);
  box-shadow: 0 4px 10px rgba(245, 91, 20, 0.3);
}

.center-label {
  margin-top: 6px;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--color-orange);
  background: rgba(255, 255, 255, 0.95);
  padding: 2px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

/* ボトムシート */
.sp-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9910;
  opacity: 0;
  visibility: hidden;
}

.sp-sheet-menu {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 80vh;
  background: #f8f9fb;
  z-index: 9920;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(110%);
  display: flex;
  flex-direction: column;
  padding-bottom: 30px;
}

.sheet-handle-area {
  width: 100%;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background: #fff;
  border-radius: 24px 24px 0 0;
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background-color: #ddd;
  border-radius: 10px;
}

.sheet-content-scroll {
  padding: 0 20px;
  overflow-y: auto;
}

.sheet-header-logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5px 25px;
}

.sheet-logo-wrap {
  flex-grow: 1;
  display: flex;
  justify-content: flex-start;
  padding-left: 5px;
}

.sheet-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.sheet-close-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e6ed;
  color: #666;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.app-vertical-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.menu-card {
  display: flex;
  align-items: center;
  background: white;
  padding: 16px 20px;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: transform 0.2s, background 0.2s;
}

.menu-card:active {
  transform: scale(0.98);
  background-color: #fafafa;
}

.card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-right: 15px;
  flex-shrink: 0;
}

/* アイコン色定義 */
.form-color {
  background: #f3e8ff;
  color: #9333ea;
}

.faq-color {
  background: #e0f2fe;
  color: #0284c7;
}

.company-color {
  background: #f1f5f9;
  color: #475569;
}

.contact-color {
  background: #fff7ed;
  color: var(--color-orange);
}

.card-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-main {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.card-sub {
  font-size: 0.7rem;
  color: #999;
  font-weight: 500;
  margin-top: 2px;
}

.card-arrow {
  font-size: 0.9rem;
  color: #ccc;
}

.menu-card.contact-highlight {
  border: 1px solid var(--color-orange);
  background: #fffbf8;
}

.sheet-footer-links {
  text-align: center;
  font-size: 0.75rem;
  color: #aaa;
  padding-bottom: 20px;
}

.sheet-footer-links a {
  color: #aaa;
  text-decoration: underline;
  margin: 0 5px;
}

.sheet-footer-links .separator {
  margin: 0 5px;
  font-size: 0.7rem;
  opacity: 0.5;
}

/* ========================================================================= */
/* 6. Loading Screen */
/* ========================================================================= */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-navy);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px;
}

.loading-logo-wrap {
  overflow: hidden;
  margin-bottom: 20px;
}

.loading-logo {
  width: 180px;
  height: auto;
  opacity: 0;
  transform: translateY(20px);
}

.loading-bar-container {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loading-bar {
  width: 0%;
  height: 100%;
  background-color: var(--color-orange);
  border-radius: 2px;
  position: absolute;
  top: 0;
  left: 0;
}

/* ========================================================================= */
/* 7. Common Media Queries */
/* ========================================================================= */

/* --- max-width: 1024px --- */
@media (max-width: 1024px) {
  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: center;
  }
  .footer-brand-info {
    width: 100%;
    margin-bottom: 30px;
  }
  .footer-nav {
    width: 100%;
    justify-content: space-around;
  }
  .nav-col h4 {
    /* text-align: center; */
  }
  .nav-col ul li a {
    display: block;
  }
}

/* --- max-width: 768px --- */
@media (max-width: 768px) {
  /* Utility */
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: block !important;
  }

  /* Body Padding for SP Dock */
  body {
    padding-bottom: 100px;
  }

  /* Section Title */
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  /* Search Modal */
  .modal-container {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    padding: 20px;
  }
  .detailed-conditions {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .modal-header {
    margin-bottom: 20px;
  }
  .form-actions {
    flex-direction: column-reverse;
  }
  .modal-submit-btn {
    width: 100%;
  }
  .station-sign-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Search Modal Adjustments */
  .modal-container {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    /* ▼ 修正: コンテナ自体の余白を減らす（元は20px） */
    padding: 0;
  }

  .modal-header {
    padding: 35px 20px 15px;
    margin-bottom: 10px;
    /* ▼ 既存の設定（変更なし） */
    position: relative;
    flex-direction: column;
    align-items: flex-start;
  }

  .modal-body {
    /* ▼ 追加: ボディの余白も縮小（PCは 20px 30px 40px） */
    padding: 10px 20px 80px; /* 下部はボタン等が隠れないよう少し広めに */
  }

  /* 入力欄なども少しスリムに */
  .modal-input {
    padding: 12px 15px;
    font-size: 1rem;
  }

  .detailed-conditions {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-actions {
    flex-direction: column-reverse;
    margin-top: 30px; /* 少し詰める */
  }

  .modal-submit-btn {
    width: 100%;
  }

  /* 閉じるボタンの位置微調整 */
  .modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
  }
  /* Footer */
  .main-footer {
    padding: 40px 0 80px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 20px;
  }
  .nav-col {
    width: 45%;
    flex: auto;
  }
  .nav-col:nth-child(3) {
    width: 100%;
  }

  /* SP Dock Nav */
  .sp-dock-nav {
    display: block;
  }
}
/* --- max-width: 480px --- */
@media (max-width: 480px) {
  .modal-body {
    padding: 20px 20px 40px;
  }
  .nav-col{
    width: 100%;
  }
  .btn-cta-main{
    font-size: 1rem;
  }
}
/* モーダル内 AND/OR 切り替えスイッチ */
.search-mode-radio {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #555;
}

.search-mode-radio .radio-label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.search-mode-radio input[type="radio"] {
  cursor: pointer;
  accent-color: var(--color-orange, #f55b14); /* テーマカラーに合わせる */
}
/* =========================================================================
   BLOG & COLUMN STYLES (Bizlista Theme - Final Fix v2)
   ========================================================================= */

/* --- 共通: ブログ用ヘッダー --- */
.blog-header {
  position: relative;
  padding: 80px 0 100px;
  background-color: var(--color-navy, #132e4b);
  color: white;
  overflow: hidden;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  margin-bottom: 0;
}

.blog-header-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.blog-header-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
  line-height: 1.4;
  word-wrap: break-word;
}

.blog-header-sub {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: "Roboto", sans-serif;
}

/* --- レイアウト: 2カラム構成 --- */
.l-main-blog {
  padding-top: 80px;
  padding-bottom: 100px;
}

.blog-layout-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.blog-main-column {
  width: 100%;
  max-width: calc(100% - 360px);
}

.blog-sidebar-column {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 40px;
}

/* レスポンシブ (SP/Tab) */
@media screen and (max-width: 900px) {
  .l-main-blog {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .blog-layout-container {
    flex-direction: column;
    gap: 50px;
  }
  .blog-main-column,
  .blog-sidebar-column {
    max-width: 100%;
    width: 100%;
  }
}

/* --- 一覧ページ: 記事カード --- */
.blog-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* カード外枠 */
.blog-card-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eef2f6;
}

.blog-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(19, 46, 75, 0.15);
  border-color: var(--color-orange, #f55b14);
}

/* カード内リンク (Flexコンテナ) */
.blog-card-link {
  display: flex;
  width: 100%;
  text-decoration: none;
  color: inherit;
  /* PC版は高さを指定してレイアウトを安定させる（必要に応じてautoにしても可） */
  min-height: 240px;
}

/* サムネイルエリア */
.blog-card-thumb {
  width: 35%; /* PC: 35% */
  min-width: 240px;
  position: relative;
  overflow: hidden;
  background: #eee;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: absolute; /* 親要素いっぱいに広げる */
  top: 0;
  left: 0;
}

.blog-card-item:hover .blog-card-thumb img {
  transform: scale(1.05);
}

/* 記事本文エリア */
.blog-card-body {
  width: 65%; /* PC: 65% */
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta-info {
  margin-bottom: 15px;
}

.cat-label {
  background: var(--color-navy, #132e4b);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

/* タイトル: line-clampを削除し、文字切れを防止 */
.blog-card-title {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text-dark, #222);
  margin-bottom: 15px;
}

/* 抜粋文: こちらは長すぎる場合に備えて制限を残すが、必要なければ外してください */
.blog-excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  margin-top: 15px;
  text-align: right;
  color: var(--color-orange, #f55b14);
  font-weight: bold;
  font-size: 0.9rem;
}

/* ★スマホ・タブレット用調整 (900px以下) */
@media screen and (max-width: 900px) {
  /* Flexの向きを縦にする */
  .blog-card-link {
    flex-direction: column;
    min-height: auto; /* 高さを自動に戻す */
    height: auto;
  }

  /* サムネイルを横幅100%に */
  .blog-card-thumb {
    width: 100%;
    min-width: 100%;
    height: 200px; /* スマホでの画像の高さ */
    position: relative; /* absolute解除のため */
  }
  .blog-card-thumb img {
    position: relative; /* absolute解除 */
    height: 200px; /* 高さ固定 */
  }

  /* 本文エリアを横幅100%に */
  .blog-card-body {
    width: 100%;
    padding: 20px;
  }

  .blog-card-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
}

/* --- 詳細ページ: 記事本文 (Main Content) --- */
.single-article-wrap {
  background: #fff;
  padding: 50px;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.single-header {
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.single-title {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 900;
  line-height: 1.5;
  color: var(--color-navy, #132e4b);
  margin-top: 15px;
  margin-bottom: 30px;
  word-wrap: break-word;
}

.single-main-thumb {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.single-main-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- 記事本文デザイン --- */
.entry-content {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
}
.entry-content p {
  margin-bottom: 2em;
}
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 30px 0;
}

/* H2: 左線＋下線 */
.entry-content h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: var(--color-navy, #132e4b);
  background: transparent;
  padding: 10px 15px;
  border-left: 6px solid var(--color-navy, #132e4b);
  border-bottom: 2px solid #e0e0e0;
  margin: 60px 0 30px;
  font-weight: 700;
}

/* H3: 左オレンジマーカー */
.entry-content h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--color-text-dark, #222);
  padding: 5px 0 5px 12px;
  border-left: 4px solid var(--color-orange, #f55b14);
  border-bottom: none;
  background: transparent;
  margin: 40px 0 20px;
  font-weight: 700;
}

/* H4 */
.entry-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 30px 0 15px;
}

/* リスト */
.entry-content ul,
.entry-content ol {
  padding: 20px 20px 20px 40px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin: 30px 0;
}
.entry-content ul li {
  list-style: disc;
  margin-bottom: 8px;
}
.entry-content ol li {
  list-style: decimal;
  margin-bottom: 8px;
}

/* 引用 */
.entry-content blockquote {
  padding: 20px 30px;
  margin: 40px 0;
  background: #f9f9f9;
  border-left: 4px solid #ccc;
  color: #666;
  font-style: italic;
}

/* 詳細ページスマホ調整 */
@media screen and (max-width: 600px) {
  .single-article-wrap {
    padding: 25px 20px;
  }
  .entry-content h2 {
    margin: 40px 0 20px;
    padding: 8px 10px;
  }
}

/* --- 前後記事リンク --- */
.post-navigation-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
}
.post-navigation-links a {
  flex: 1;
  padding: 20px 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.3s;
  color: var(--color-navy);
}
.post-navigation-links a:hover {
  background: var(--color-navy, #132e4b);
  color: #fff;
  border-color: var(--color-navy, #132e4b);
}

/* --- サイドバー --- */
.sidebar-widget {
  background: #fff;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 8px;
  border: 1px solid #eef2f6;
}

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-navy, #132e4b);
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--color-orange);
  padding-bottom: 8px;
  display: inline-block;
}

/* カテゴリリスト */
.widget-cat-list {
  padding: 0;
}
.widget-cat-list li {
  border-bottom: 1px solid #f0f0f0;
  margin: 0;
}
.widget-cat-list li:last-child {
  border-bottom: none;
}
.widget-cat-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: #444;
  transition: 0.2s;
  font-size: 0.95rem;
  position: relative;
  padding-left: 15px;
}
.widget-cat-list li a::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  color: var(--color-orange);
}
.widget-cat-list li a:hover {
  color: var(--color-orange);
  padding-left: 20px;
}

.cat-count {
  background: #f4f8fb;
  color: var(--color-navy);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
}

/* 最新記事リスト */
.widget-latest-list {
  padding: 0;
}
.widget-latest-item {
  border-bottom: 1px solid #f0f0f0;
}
.widget-latest-item:last-child {
  border-bottom: none;
}
.widget-latest-item a {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
  transition: 0.2s;
  text-decoration: none;
}
.widget-latest-item a:hover {
  opacity: 0.7;
}
.w-thumb {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #eee;
}
.w-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.w-text {
  flex: 1;
}
.w-title {
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
  color: #333;
  margin: 0;
  /* 3行制限 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* --- 関連記事エリア --- */
.related-posts-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}
.related-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-navy);
  border-left: 4px solid var(--color-orange);
  padding-left: 10px;
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-post-card {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eef2f6;
}
.related-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: var(--color-orange);
}
.related-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.related-post-card:hover .related-thumb img {
  transform: scale(1.05);
}
.related-body {
  padding: 15px;
}
.related-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  /* 3行制限 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #333;
}

/* スマホ用: 関連記事をリスト形式で見やすく */
@media screen and (max-width: 600px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .related-post-card {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 15px;
  }
  .related-thumb {
    width: 100px; /* サムネイル固定幅 */
    aspect-ratio: 4/3;
    flex-shrink: 0;
    border-radius: 4px;
  }
  .related-body {
    padding: 0;
    flex: 1;
  }
  .related-title {
    font-size: 0.9rem;
    margin: 0;
  }
}
/* 全体の枠組み */
.cond-wrapper {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 30px;
  font-size: 14px;
  position: relative;
  z-index: 1; /* メニューより下になるように */
}

/* ヘッダー */
.cond-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #555;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}
.cond-header i {
  color: #f55b14; /* サイトのアクセントカラー */
}

/* タグエリア */
.cond-tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

/* 個別のタグ */
.cond-tag {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.cond-tag-label {
  color: #888;
  font-size: 11px;
  margin-right: 8px;
  white-space: nowrap;
}
.cond-tag-label::after {
  content: ":";
  margin-left: 2px;
}

.cond-tag-value {
  color: #333;
  font-weight: 700;
  font-size: 14px;
}

.cond-sub-text {
  font-weight: normal;
  font-size: 11px;
  color: #999;
  margin-left: 4px;
}

/* フッター */
.cond-footer {
  text-align: right;
  font-size: 13px;
  color: #666;
  border-top: 1px dashed #eee;
  padding-top: 10px;
}
.cond-count {
  font-size: 18px;
  color: #f55b14;
  margin: 0 4px;
}

/* スマホ用調整 */
@media screen and (max-width: 480px) {
  .cond-wrapper {
    padding: 12px;
  }
  .cond-tag-container {
    gap: 6px;
  }
  .cond-tag {
    padding: 5px 10px;
    font-size: 12px;
  }
  .cond-tag-value {
    word-break: break-all;
  }
}

/* =========================================================================
   掲載企業様向けページ (For Employer)
   ========================================================================= */

.l-main-employer {
  background-color: #fff;
}

.emp-section {
  padding: 80px 0;
}

.emp-bg-gray {
  background-color: var(--job-bg-base); /* job.cssの背景色変数を使用 */
}

/* 1. Introduction */
.emp-intro-text {
  text-align: center;
  margin-bottom: 50px;
  line-height: 2;
  font-weight: 500;
}

.emp-pdf-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.pdf-item {
  width: 45%;
  max-width: 500px;
}

.pdf-dummy {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ccc;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pdf-dummy i {
  font-size: 3rem;
  margin-bottom: 10px;
}

.emp-btn-wrap {
  text-align: center;
  margin-top: 40px;
}

.btn-lg {
  padding: 18px 60px;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(245, 91, 20, 0.3);
}

/* 2. Pricing Plans */
.pricing-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-top: 50px;
}

.plan-card {
  width: 32%;
  background: #fff;
  border-radius: 12px;
  overflow: visible !important; /* バッジをはみ出させる */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f6;
  position: relative;
}

/* スタータープラン（強調） */
.plan-recommended {
  transform: scale(1.05);
  z-index: 2;
  border: 2px solid var(--color-orange);
  box-shadow: 0 15px 40px rgba(245, 91, 20, 0.15);
}

.plan-badge {
  position: absolute;
  top: -2px; /* 少し位置を調整 */
  z-index: 10;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: var(--color-orange);
  color: #fff;
  padding: 6px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ヘッダー色分け */
.plan-head {
  padding: 20px;
  text-align: center;
  color: #fff;
  border-radius: 11px 11px 0 0; /* カードの枠線に合わせて上部だけ丸める */
}
.plan-head.bg-gray {
  background-color: #7f8c8d;
} /* エントリー */
.plan-head.bg-navy {
  background-color: var(--color-navy);
  padding-top: 30px;
} /* スターター */
.plan-head.bg-orange {
  background-color: #d35400;
} /* プレミアム */

.plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.plan-type {
  font-size: 0.8rem;
  opacity: 0.9;
}

.plan-price-area {
  text-align: center;
  padding: 25px 0;
  border-bottom: 1px dashed #eee;
}

.price-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: #333;
}
.price-unit {
  font-size: 0.9rem;
  font-weight: bold;
}
.price-note {
  font-size: 0.8rem;
  color: #888;
  margin-top: 5px;
}

.plan-body {
  padding: 20px;
}

/* 通常リスト */
.plan-list li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  padding-left: 1.5em;
  position: relative;
  line-height: 1.6;
}
.plan-list li i {
  position: absolute;
  left: 0;
  top: 0.3em;
  color: var(--color-orange);
}
.plan-list .bold {
  font-weight: 700;
  color: var(--color-navy);
}

.plan-message {
  background: #f4f8fb;
  text-align: center;
  padding: 15px;
  font-weight: 700;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-top: 20px;
  color: var(--color-navy);
}

/* ハイライトリスト（スターター・プレミアム用） */
.plan-list-highlight li {
  margin-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}
.plan-list-highlight li:last-child {
  border-bottom: none;
}

.item-label {
  display: block;
  font-size: 0.8rem;
  color: #888;
  font-weight: 700;
  margin-bottom: 2px;
}
.item-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
}
.item-val .num {
  font-size: 1.4rem;
  color: var(--color-orange);
}
.item-desc {
  font-size: 0.8rem;
  color: #666;
  margin-top: 5px;
  line-height: 1.4;
}

/* 3. Comparison Table */
.comp-table-wrap {
  overflow-x: auto;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.comp-table th,
.comp-table td {
  border: 1px solid #e0e0e0;
  padding: 20px;
  text-align: center;
  vertical-align: middle;
}

/* ヘッダー */
.comp-table thead th {
  background-color: #f9f9f9;
  color: #555;
  font-weight: 700;
}
.th-biz {
  background-color: #fffbf8 !important; /* オレンジ系の極薄背景 */
  border-top: 3px solid var(--color-orange) !important;
  width: 30%;
}
.comp-logo {
  height: 28px;
  width: auto;
}

/* ボディ */
.comp-table tbody th {
  text-align: left;
  background-color: #f4f8fb;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.9rem;
}

.td-biz {
  background-color: #fffbf8;
}

.comp-table .highlight {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-orange);
}
.comp-table .small {
  font-size: 0.8rem;
  color: #888;
}

/* 4. CTA */
.emp-cta {
  background-color: var(--color-navy);
  padding: 80px 0;
  color: #fff;
  text-align: center;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-cta-main {
  background: var(--color-orange);
  color: #fff;
  padding: 18px 50px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.btn-cta-main:hover {
  background: #ff7034;
  transform: translateY(-3px);
  color: #fff!important;
}

.btn-cta-sub {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 18px 50px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s;
}
.btn-cta-sub:hover {
  background: #fff;
  color: var(--color-navy);
}

/* スマホ対応 */
@media screen and (max-width: 900px) {
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }
  .plan-card {
    width: 100%;
    max-width: 450px;
  }
  /* スマホではスタータープランを一番上に */
  .plan-recommended {
    order: -1;
    transform: none;
    margin-bottom: 20px;
  }

  .emp-pdf-grid {
    flex-direction: column;
    align-items: center;
  }
  .pdf-item {
    width: 100%;
  }

  .cta-title {
    font-size: 1.5rem;
  }
  .btn-cta-main,
  .btn-cta-sub {
    width: 100%;
    padding: 18px 10px;
  }
}


