@charset "UTF-8";

/* =========================================================
 * エリアページ・Indeed.com準拠 大学カード・OC/短大一覧用スタイル
 * 基調カラー：Indeedブルー #2557a7 ＋ 無彩色 (#2d2d2d / #595959 / #f3f2f1 / #d4d2d0)
 * ========================================================= */

/* =========================================================
 * 1カラム広幅レイアウト（search / pref.open_campus / pref.junior_college）
 * ========================================================= */
body.area_single_col #content,
body.area_single_col #king {
  width: 100%;
  max-width: 1000px;
  float: none;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  body.area_single_col #king h1 {
    padding: 36px 245px 48px 40px;
    box-sizing: border-box;
  }
  body.area_single_col .indeed_filter_bar {
    padding: 16px 20px;
  }
  body.area_single_col .indeed_card_list,
  body.area_single_col .oc_list_wrap {
    padding: 18px;
    gap: 16px;
  }
  body.area_single_col .indeed_card {
    padding: 22px 26px;
  }
  body.area_single_col .ic_lead_row {
    gap: 18px;
  }
  body.area_single_col .ic_thumb {
    flex: 0 0 152px;
    width: 152px;
  }
  body.area_single_col .ic_thumb img {
    width: 152px;
    height: 86px;
  }
  body.area_single_col .area_summary_box,
  body.area_single_col .area_related_section {
    padding: 18px 22px;
  }
  body.area_single_col .lower_ad {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

.indeed_area_wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#detail #king .indeed_area_wrap p.area_lead {
  margin: 10px 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #2d2d2d;
}
.area_lead a {
  color: #2557a7;
  font-weight: bold;
  text-decoration: underline;
}
.area_lead a:hover {
  color: #164081;
}

#detail #king .indeed_area_wrap p.area_notice {
  margin: 18px 0 22px;
  padding: 12px 14px;
  background: #f7f8fa;
  border: 1px solid #d4d2d0;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #595959;
  box-sizing: border-box;
}

/* セクション見出し（common.css の #king h2 赤ベタ背景を完全に上書き） */
#detail #king .indeed_area_wrap h2,
#king .indeed_area_wrap h2 {
  background: none;
  background-color: transparent;
  color: #2d2d2d;
  font-size: 19px;
  font-weight: bold;
  padding: 0 0 8px 12px;
  margin: 26px 0 14px;
  border-radius: 0;
  border-left: 4px solid #2557a7;
  border-bottom: 1px solid #e4e2e0;
  line-height: 1.4;
}
#detail #king .indeed_area_wrap h2 a,
#king .indeed_area_wrap h2 a {
  color: #2d2d2d;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  width: 100%;
  transition: color 0.15s;
}
#detail #king .indeed_area_wrap h2 a:hover,
#king .indeed_area_wrap h2 a:hover {
  color: #2557a7;
}
#detail #king .indeed_area_wrap h2 a .area_h2_more,
#king .indeed_area_wrap h2 a .area_h2_more {
  font-size: 13px;
  font-weight: bold;
  color: #2557a7;
  white-space: nowrap;
}
#detail #king .indeed_area_wrap h2 a:hover .area_h2_more,
#king .indeed_area_wrap h2 a:hover .area_h2_more {
  text-decoration: underline;
  color: #164081;
}

/* 条件・特徴タグボックスも Indeed ブルー基調へ統一 */
.indeed_area_wrap .condition_tags_box {
  margin: 18px 0 22px;
  padding: 16px 18px;
  background: #f7f8fa;
  border: 1px solid #d4d2d0;
  border-radius: 10px;
}
#detail #king .indeed_area_wrap .condition_tags_box h3,
#king .indeed_area_wrap .condition_tags_box h3 {
  font-size: 14px;
  margin: 0 0 10px;
  padding: 0;
  color: #2d2d2d;
}
#detail #king .indeed_area_wrap .condition_tags_box h3::before,
#king .indeed_area_wrap .condition_tags_box h3::before {
  display: none;
}
.indeed_area_wrap .condition_tags_list li a {
  background: #ffffff;
  border: 1px solid #d4d2d0;
  color: #2557a7;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.indeed_area_wrap .condition_tags_list li a:hover,
.indeed_area_wrap .condition_tags_list li a.active {
  background: #2557a7;
  border-color: #2557a7;
  color: #ffffff;
}

/* ---------------------------------------------------------
 * ページ内アンカーナビ（#hnv）
 * --------------------------------------------------------- */
#detail #king .indeed_area_wrap #hnv {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0 0 16px;
  border-bottom: 1px solid #e4e2e0;
  list-style: none;
}
#detail #king .indeed_area_wrap #hnv li {
  background: none;
  padding: 0;
  margin: 0;
}
#detail #king .indeed_area_wrap #hnv li a {
  display: inline-block;
  padding: 6px 12px;
  background: #f3f2f1;
  border: 1px solid #d4d2d0;
  border-radius: 18px;
  font-size: 12.5px;
  font-weight: bold;
  color: #2557a7;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
#detail #king .indeed_area_wrap #hnv li a:hover {
  background: #eef3fb;
  border-color: #2557a7;
}

/* ---------------------------------------------------------
 * クイック絞り込み＆並び替えバー
 * --------------------------------------------------------- */
.indeed_filter_bar {
  margin: 14px 0 16px;
  padding: 14px 16px;
  background: #f7f8fa;
  border: 1px solid #d4d2d0;
  border-radius: 10px;
  box-sizing: border-box;
  max-width: 100%;
}
.ifb_row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.ifb_row:last-child {
  margin-bottom: 0;
}
.ifb_row_sort {
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #e4e2e0;
}
.ifb_label {
  font-size: 12px;
  font-weight: bold;
  color: #2d2d2d;
  min-width: 58px;
}
.ifb_pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
.ifb_pill {
  appearance: none;
  border: 1px solid #d4d2d0;
  background: #ffffff;
  color: #2d2d2d;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 18px;
  cursor: pointer;
  line-height: 1.3;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ifb_pill:hover {
  background: #eef3fb;
  border-color: #2557a7;
  color: #2557a7;
}
.ifb_pill.is-active {
  background: #2557a7;
  border-color: #2557a7;
  color: #ffffff;
}
.ifb_sort_wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}
.ifb_select {
  padding: 6px 10px;
  font-size: 12.5px;
  border: 1px solid #d4d2d0;
  border-radius: 8px;
  background: #ffffff;
  color: #2d2d2d;
  max-width: 100%;
  box-sizing: border-box;
}
.ifb_count_wrap {
  font-size: 13px;
  color: #595959;
}
.ifb_count_wrap b {
  color: #2557a7;
  font-size: 15px;
}

.indeed_empty_msg {
  margin: 18px 0;
  padding: 20px;
  text-align: center;
  background: #f7f8fa;
  border: 1px dashed #d4d2d0;
  border-radius: 10px;
  font-size: 14px;
  color: #595959;
  box-sizing: border-box;
}
.ifb_reset_btn {
  margin-top: 10px;
  padding: 8px 18px;
  background: #2557a7;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
}
.ifb_reset_btn:hover {
  background: #164081;
}

/* ---------------------------------------------------------
 * Indeed.com 準拠 大学カード一覧
 * --------------------------------------------------------- */
.indeed_card_list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 22px;
  padding: 14px;
  background: #f3f2f1;
  border-radius: 12px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.indeed_card {
  border: 1px solid #d4d2d0;
  border-radius: 12px;
  background: #ffffff;
  padding: 20px 22px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.indeed_card:hover {
  border-color: #2557a7;
  box-shadow: 0 2px 8px rgba(37, 87, 167, 0.10);
}

/* 1行目：ヘッダー行（左タイトル＋右お気に入り星） */
.ic_header_row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
#detail #king .indeed_area_wrap .indeed_card h2.ic_title,
#detail #king .indeed_card h2.ic_title,
#king .indeed_card h2.ic_title {
  background: none;
  background-color: transparent;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
  color: #2557a7;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
  flex: 1 1 auto;
  min-width: 0;
}
#detail #king .indeed_card h2.ic_title a,
#king .indeed_card h2.ic_title a {
  color: #2557a7;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}
#detail #king .indeed_card h2.ic_title a:hover,
#king .indeed_card h2.ic_title a:hover {
  text-decoration: underline;
  color: #164081;
}

/* お気に入り星ボタン（combined-all.js の #keep{id} src書換と連動） */
.ic_star_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  text-decoration: none;
  margin: -4px -6px 0 0;
  transition: background 0.15s;
}
.ic_star_btn:hover {
  background: #f3f2f1;
}
.ic_clip_tracker {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.ic_star_svg.is-off {
  display: block;
}
.ic_star_svg.is-on {
  display: none;
}
.ic_clip_tracker[src*="keep"] ~ .ic_star_svg.is-on {
  display: block;
}
.ic_clip_tracker[src*="keep"] ~ .ic_star_svg.is-off {
  display: none;
}

/* 2行目：概要＋大学名＋所在地 ＋ 右サムネイル */
.ic_lead_row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.ic_lead_left {
  flex: 1 1 auto;
  min-width: 0;
}
#detail #king .indeed_area_wrap .indeed_card p.ic_sub_catch,
#detail #king .indeed_card p.ic_sub_catch {
  margin: 0 0 8px;
  padding: 0;
  font-size: 13px;
  line-height: 1.68;
  color: #444444;
  display: block;
  overflow: visible;
  word-break: break-word;
}
.ic_rank_chip {
  display: inline-block;
  padding: 2px 9px;
  margin-right: 8px;
  background: #2557a7;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 5px;
  line-height: 1.4;
  vertical-align: middle;
}
.ic_school_row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 4px;
}
.ic_school_name {
  font-size: 13.5px;
  font-weight: bold;
  color: #2d2d2d;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.ic_koushi_badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 4px;
  line-height: 1.4;
  background: #f3f2f1;
  color: #595959;
  border: none;
}
#detail #king .indeed_area_wrap .indeed_card p.ic_meta_line,
#detail #king .indeed_card p.ic_meta_line {
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #595959;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.ic_meta_sep {
  color: #999;
}

.ic_thumb {
  margin: 0;
  flex: 0 0 144px;
  width: 144px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e4e2e0;
  background: #f3f4f6;
}
.ic_thumb img {
  display: block;
  width: 144px;
  height: 81px;
  object-fit: cover;
}

/* 3行目：定量比較バー（3列×2行：偏差値（進研）｜偏差値（河合）｜男女比（女:男）） */
.ic_metrics {
  display: block;
  margin-bottom: 10px;
  background: #f7f8fa;
  border: 1px solid #e2e4e8;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}
.ic_metrics_row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.ic_metrics_head {
  border-bottom: 1px solid #e2e4e8;
  background: #f1f3f7;
}
.ic_metric_cell {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 8px;
  border-right: 1px solid #e2e4e8;
  box-sizing: border-box;
  min-width: 0;
}
.ic_metric_cell:last-child {
  border-right: none;
}
.ic_metric_label {
  font-size: 11px;
  font-weight: bold;
  color: #595959;
  line-height: 1.3;
}
.ic_metric_value {
  font-size: 13.5px;
  color: #2d2d2d;
  line-height: 1.35;
  padding: 7px 8px;
}
.ic_metric_value b {
  color: #2d2d2d;
  font-size: 15.5px;
  font-weight: bold;
}

/* ---------------------------------------------------------
 * 条件・特徴別ページ専用 ファーストビュー（イメージ画像＋見出し）
 * --------------------------------------------------------- */
.feature_hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: center;
  margin: 0 0 22px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #f3f7fc 0%, #eaf1fb 100%);
  border: 1px solid #d4e1f2;
  border-radius: 12px;
  box-sizing: border-box;
}
.feature_hero_body {
  min-width: 0;
}
.feature_hero_badge {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 10px;
  background: #2557a7;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 20px;
  letter-spacing: 0.03em;
}
#detail #king .indeed_area_wrap .feature_hero h1,
#king .indeed_area_wrap .feature_hero h1 {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  color: #162b4d !important;
  font-size: 24px !important;
  font-weight: bold;
  line-height: 1.4;
}
#detail #king .indeed_area_wrap .feature_hero p.feature_hero_lead {
  margin: 0 0 10px;
  padding: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #2d2d2d;
}
#detail #king .indeed_area_wrap .feature_hero p.feature_hero_count {
  margin: 0;
  padding: 6px 12px;
  display: inline-block;
  background: #ffffff;
  border: 1px solid #c5d7f2;
  border-radius: 8px;
  font-size: 13px;
  color: #2d2d2d;
}
.feature_hero_count b {
  color: #2557a7;
  font-size: 15px;
}
.feature_hero_visual {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d4e1f2;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(22, 43, 77, 0.08);
}
.feature_hero_visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 4行目：特徴タグ */
.ic_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.ic_badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 11.5px;
  font-weight: bold;
  background: #f3f2f1;
  color: #4b4b4b;
  border: none;
  border-radius: 5px;
  line-height: 1.3;
}

/* 5行目：フッター（オープンキャンパス ＋ ボタン1種のみ） */
.ic_footer_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #eceae8;
}
.ic_oc_block {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}
.ic_oc_icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: #2557a7;
  margin-top: 1px;
}
.ic_oc_info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ic_oc_heading {
  font-size: 11.5px;
  font-weight: bold;
  color: #2d2d2d;
  line-height: 1.3;
}
.ic_oc_text {
  font-size: 12.5px;
  color: #2557a7;
  text-decoration: none;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.ic_oc_text:hover {
  text-decoration: underline;
  color: #164081;
}
.ic_cta_wrap {
  flex: 0 0 auto;
}
.ic_cta_btn,
#detail #king .indeed_card a.ic_cta_btn,
#detail #king .indeed_card a.ic_cta_btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  min-height: 40px;
  background: #2557a7;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background 0.15s;
}
.ic_cta_btn:hover,
#detail #king .indeed_card a.ic_cta_btn:hover {
  background: #164081;
  color: #ffffff;
  text-decoration: none;
}

#detail #king .indeed_area_wrap p.area_sub_more {
  margin: 8px 0 18px;
  text-align: right;
  font-size: 13.5px;
  font-weight: bold;
}
.area_sub_more a {
  color: #2557a7;
  text-decoration: underline;
}

/* ---------------------------------------------------------
 * ページ下部：都道府県まとめ解説＆関連ページ
 * --------------------------------------------------------- */
.area_summary_section {
  margin: 26px 0 22px;
  max-width: 100%;
  box-sizing: border-box;
}
.area_summary_box {
  padding: 16px 18px;
  background: #f7f8fa;
  border: 1px solid #d4d2d0;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: #2d2d2d;
  box-sizing: border-box;
}
#detail #king .indeed_area_wrap .area_summary_box p {
  margin: 0 0 10px;
  padding: 0;
  font-size: 13.5px;
  line-height: 1.8;
}
#detail #king .indeed_area_wrap .area_summary_box p:last-child {
  margin-bottom: 0;
}
.area_rep_links a {
  color: #2557a7;
  font-weight: bold;
  text-decoration: underline;
}

.area_related_section {
  margin: 22px 0 24px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #d4d2d0;
  border-radius: 10px;
  max-width: 100%;
  box-sizing: border-box;
}
#detail #king .area_related_section h3,
#king .area_related_section h3 {
  margin: 0 0 12px;
  padding: 0 0 8px;
  border-bottom: 1px solid #e4e2e0;
  font-size: 16px;
  color: #2d2d2d;
}
#detail #king .area_related_section h3::before,
#king .area_related_section h3::before {
  display: none;
}
.area_related_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.area_related_chips li a {
  display: inline-block;
  padding: 6px 12px;
  background: #f3f2f1;
  border: 1px solid #d4d2d0;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: bold;
  color: #2557a7;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.area_related_chips li a:hover {
  background: #2557a7;
  border-color: #2557a7;
  color: #ffffff;
}

/* ---------------------------------------------------------
 * オープンキャンパス専用ページ・短大案内・feature導線
 * --------------------------------------------------------- */
.oc_list_wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 22px;
  padding: 14px;
  background: #f3f2f1;
  border-radius: 12px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.oc_item_card {
  padding: 18px 20px;
  border: 1px solid #d4d2d0;
  border-radius: 12px;
  background: #ffffff;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.oc_item_head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.oc_item_head h3 {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.4;
}
.oc_item_head h3 a {
  color: #2557a7;
  text-decoration: none;
}
.oc_item_head h3 a:hover {
  text-decoration: underline;
  color: #164081;
}
.oc_item_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12.5px;
  color: #595959;
  margin-bottom: 10px;
}
.oc_item_dates {
  padding: 10px 12px;
  background: #f7f8fa;
  border-radius: 8px;
  font-size: 13px;
  color: #2d2d2d;
  margin-bottom: 12px;
}
.oc_date_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 6px 0;
  padding: 0;
}
.oc_date_chips li {
  padding: 3px 9px;
  background: #ffffff;
  border: 1px solid #d4d2d0;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  color: #2557a7;
}
#detail #king .indeed_area_wrap p.oc_summary_text {
  margin: 4px 0 0;
  padding: 0;
  line-height: 1.6;
  font-size: 13px;
  color: #595959;
}
.oc_item_links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.oc_btn_primary,
.oc_btn_secondary,
.oc_btn_ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
}
.oc_btn_primary,
#detail #king .indeed_area_wrap a.oc_btn_primary:visited {
  background: #2557a7;
  color: #ffffff;
}
.oc_btn_primary:hover {
  background: #164081;
  color: #ffffff;
}
.oc_btn_secondary {
  background: #f3f2f1;
  color: #2557a7;
  border: 1px solid #d4d2d0;
}
.oc_btn_ext {
  background: #ffffff;
  color: #2d2d2d;
  border: 1px solid #d4d2d0;
}

.tandai_guide_box {
  margin: 16px 0 22px;
  padding: 16px 18px;
  background: #f7f8fa;
  border: 1px solid #d4d2d0;
  border-radius: 10px;
  box-sizing: border-box;
}
#detail #king .indeed_area_wrap .tandai_guide_box h2 {
  border-left: none;
  border-bottom: 1px solid #e4e2e0;
  padding: 0 0 8px;
  margin: 0 0 10px;
  font-size: 16px;
  color: #2d2d2d;
}
.tandai_guide_box ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}
.tandai_guide_box li {
  margin: 6px 0;
  font-size: 14px;
}
.tandai_guide_box a {
  color: #2557a7;
  font-weight: bold;
  text-decoration: underline;
}

.feature_pref_nav {
  margin: 14px 0 20px;
  padding: 12px 14px;
  background: #f7f8fa;
  border: 1px solid #d4d2d0;
  border-radius: 8px;
  box-sizing: border-box;
}
#king .feature_pref_nav h3 {
  margin: 0 0 10px;
  padding: 0;
  font-size: 14px;
  color: #2d2d2d;
}
#king .feature_pref_nav h3::before {
  display: none;
}
.feature_pref_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature_pref_chips li a {
  display: inline-block;
  padding: 4px 10px;
  background: #ffffff;
  border: 1px solid #d4d2d0;
  border-radius: 14px;
  font-size: 12px;
  font-weight: bold;
  color: #2557a7;
  text-decoration: none;
}
.feature_pref_chips li a:hover {
  background: #2557a7;
  border-color: #2557a7;
  color: #ffffff;
}

/* ---------------------------------------------------------
 * 地域ページ（/area/{region_slug}）専用：都道府県別リスト・特徴3選・地図
 * --------------------------------------------------------- */
.reg_pref_chips_bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.reg_pref_chips_bar li a {
  display: inline-block;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #d4d2d0;
  border-radius: 18px;
  font-size: 13px;
  font-weight: bold;
  color: #2557a7;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.reg_pref_chips_bar li a:hover {
  background: #2557a7;
  border-color: #2557a7;
  color: #ffffff;
}

.reg_pref_box {
  margin: 0 0 20px;
  border: 1px solid #d4d2d0;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}
#detail #king .indeed_area_wrap h3.reg_pref_head,
#king .indeed_area_wrap h3.reg_pref_head {
  margin: 0;
  padding: 13px 18px;
  background: #f7f8fa;
  border-bottom: 1px solid #e4e2e0;
  font-size: 17px;
  font-weight: bold;
  color: #2d2d2d;
  line-height: 1.4;
}
#detail #king .indeed_area_wrap h3.reg_pref_head::before,
#king .indeed_area_wrap h3.reg_pref_head::before {
  display: none;
}
#detail #king .indeed_area_wrap h3.reg_pref_head a,
#king .indeed_area_wrap h3.reg_pref_head a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: #2d2d2d;
  text-decoration: none;
  width: 100%;
}
#detail #king .indeed_area_wrap h3.reg_pref_head a:hover,
#king .indeed_area_wrap h3.reg_pref_head a:hover {
  color: #2557a7;
}
.reg_pref_head_title {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.reg_pref_head_count {
  color: #2557a7;
  font-size: 15px;
}
.reg_pref_head_more {
  font-size: 12.5px;
  font-weight: bold;
  color: #2557a7;
  white-space: nowrap;
}
#detail #king .indeed_area_wrap h3.reg_pref_head a:hover .reg_pref_head_more {
  text-decoration: underline;
  color: #164081;
}

.reg_univ_header {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) 120px minmax(180px, 1.4fr);
  gap: 12px;
  padding: 9px 18px;
  background: #fbfbfc;
  border-bottom: 1px solid #eceae8;
  font-size: 12px;
  font-weight: bold;
  color: #595959;
}
.reg_univ_list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.reg_univ_row {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) 120px minmax(180px, 1.4fr);
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid #eceae8;
  transition: background 0.12s;
}
.reg_univ_row:last-child {
  border-bottom: none;
}
.reg_univ_row:hover {
  background: #f7f9fd;
}
.reg_univ_name_cell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}
.reg_univ_link {
  color: #2557a7;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  line-height: 1.4;
  word-break: break-word;
}
.reg_univ_link:hover {
  text-decoration: underline;
  color: #164081;
}
.reg_univ_dept {
  font-size: 12px;
  color: #666666;
  line-height: 1.35;
}
.reg_univ_hensa_cell {
  font-size: 13.5px;
  color: #2d2d2d;
  white-space: nowrap;
}
.reg_hensa_badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 3px 10px;
  background: #f3f2f1;
  border-radius: 6px;
  font-size: 12.5px;
  color: #2d2d2d;
}
.reg_hensa_badge b {
  font-size: 14.5px;
  color: #2557a7;
}
.reg_univ_station_cell {
  font-size: 13px;
  color: #595959;
  line-height: 1.45;
  word-break: break-word;
}
.reg_pref_box_foot {
  padding: 10px 18px;
  background: #fbfbfc;
  border-top: 1px solid #eceae8;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
}
.reg_pref_box_foot a {
  color: #2557a7;
  text-decoration: none;
}
.reg_pref_box_foot a:hover {
  text-decoration: underline;
  color: #164081;
}

/* 特徴別3選カード（偏差値の低い・学費の安い・男子生徒が多い） */
.reg_pickup_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 12px 0 18px;
}
.reg_pickup_card {
  border: 1px solid #d4d2d0;
  border-radius: 12px;
  background: #ffffff;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.reg_pickup_card:hover {
  border-color: #2557a7;
  box-shadow: 0 2px 8px rgba(37, 87, 167, 0.10);
}
.reg_pick_badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.reg_pick_highlight {
  display: inline-block;
  padding: 3px 9px;
  background: #eef3fb;
  color: #2557a7;
  border: 1px solid #c5d7f2;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
}
#detail #king .indeed_area_wrap h3.reg_pick_title,
#king .indeed_area_wrap h3.reg_pick_title {
  margin: 0 0 4px;
  padding: 0;
  font-size: 16.5px;
  font-weight: bold;
  line-height: 1.4;
  color: #2557a7;
}
#detail #king .indeed_area_wrap h3.reg_pick_title::before,
#king .indeed_area_wrap h3.reg_pick_title::before {
  display: none;
}
#detail #king .indeed_area_wrap h3.reg_pick_title a,
#king .indeed_area_wrap h3.reg_pick_title a {
  color: #2557a7;
  text-decoration: none;
}
#detail #king .indeed_area_wrap h3.reg_pick_title a:hover,
#king .indeed_area_wrap h3.reg_pick_title a:hover {
  text-decoration: underline;
  color: #164081;
}
.reg_pick_dept {
  display: block;
  font-size: 12px;
  color: #666666;
  margin-bottom: 8px;
}
#detail #king .indeed_area_wrap p.reg_pick_station {
  margin: 0 0 10px;
  padding: 6px 10px;
  background: #f7f8fa;
  border-radius: 6px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #2d2d2d;
}
#detail #king .indeed_area_wrap p.reg_pick_desc {
  margin: 0 0 14px;
  padding: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #595959;
}
.reg_pick_foot {
  padding-top: 10px;
  border-top: 1px solid #eceae8;
  text-align: right;
}
.reg_pick_cta {
  font-size: 13px;
  font-weight: bold;
  color: #2557a7;
  text-decoration: none;
}
.reg_pick_cta:hover {
  text-decoration: underline;
  color: #164081;
}

/* 地図から探すセクション */
.reg_map_wrap {
  margin: 14px 0 24px;
  padding: 16px 18px;
  background: #f7f8fa;
  border: 1px solid #d4d2d0;
  border-radius: 12px;
  box-sizing: border-box;
}
.reg_map_controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-bottom: 12px;
}
.reg_map_pref_btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.reg_map_legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #595959;
}
.reg_legend_dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
}
.reg_legend_dot.is-private {
  background: #2557a7;
}
.reg_legend_dot.is-public {
  background: #0f766e;
}
#regionUnivMap {
  width: 100%;
  height: 460px;
  border-radius: 10px;
  border: 1px solid #d4d2d0;
  background: #e9eef5;
  overflow: hidden;
  z-index: 10;
}
.leaflet-div-icon.map_univ_div_icon {
  background: transparent;
  border: none;
}
.map_univ_pin,
#detail #king .indeed_area_wrap a.map_univ_pin,
#detail #king .indeed_area_wrap a.map_univ_pin:visited {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  background: #2557a7;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  font-size: 11.5px;
  font-weight: bold;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transform: translate(-50%, -100%);
  position: relative;
  transition: transform 0.12s, background 0.12s;
}
.map_univ_pin.is-public,
#detail #king .indeed_area_wrap a.map_univ_pin.is-public,
#detail #king .indeed_area_wrap a.map_univ_pin.is-public:visited {
  background: #0f766e;
}
.map_univ_pin:hover,
#detail #king .indeed_area_wrap a.map_univ_pin:hover {
  background: #164081;
  color: #ffffff;
  transform: translate(-50%, -100%) scale(1.07);
  z-index: 999;
}
.map_univ_pin::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  margin-left: -5px;
  border-width: 6px 5px 0;
  border-style: solid;
  border-color: #2557a7 transparent transparent;
}
.map_univ_pin.is-public::after {
  border-color: #0f766e transparent transparent;
}
.map_univ_pin_icon {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
}

/* ---------------------------------------------------------
 * スマホ対応（375px 幅でも横スクロール・右端切れゼロ）
 * --------------------------------------------------------- */
@media (max-width: 768px) {
  .reg_univ_header {
    display: none;
  }
  .reg_univ_row {
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    padding: 12px 14px;
  }
  .reg_univ_name_cell {
    grid-column: 1 / 2;
  }
  .reg_univ_hensa_cell {
    grid-column: 2 / 3;
    justify-self: end;
  }
  .reg_univ_station_cell {
    grid-column: 1 / -1;
    font-size: 12px;
  }
  .reg_pickup_grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .reg_map_wrap {
    padding: 12px;
  }
  #regionUnivMap {
    height: 360px;
  }
  .indeed_area_wrap {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    min-width: 0;
    overflow-x: clip;
  }
  #detail #king .indeed_area_wrap p {
    padding-left: 0;
    padding-right: 0;
  }
  #detail #king .indeed_area_wrap h2,
  #king .indeed_area_wrap h2 {
    font-size: 17px;
    border-radius: 0;
    margin: 20px 0 12px;
    padding: 0 0 6px 10px;
  }
  #detail #king .indeed_area_wrap .indeed_card h2.ic_title,
  #detail #king .indeed_card h2.ic_title {
    font-size: 16.5px;
    line-height: 1.4;
    padding: 0;
    margin: 0;
    border: none;
  }
  #detail #king .indeed_area_wrap #hnv {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  .indeed_filter_bar,
  .area_summary_section,
  .area_related_section,
  .tandai_guide_box,
  .feature_pref_nav,
  .area_notice {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  #detail #king .area_related_section h3 {
    margin: 0 0 10px;
  }
  .indeed_card_list,
  .oc_list_wrap {
    padding: 10px;
    gap: 10px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .indeed_card,
  .oc_item_card {
    padding: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .ic_lead_row {
    gap: 10px;
  }
  .ic_thumb {
    flex: 0 0 104px;
    width: 104px;
  }
  .ic_thumb img {
    width: 104px;
    height: 59px;
  }
  .ic_footer_row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .ic_cta_wrap {
    width: 100%;
  }
  .ic_cta_btn,
  #detail #king .indeed_card a.ic_cta_btn {
    width: 100%;
    min-height: 42px;
    text-align: center;
  }
  .ifb_row_sort {
    flex-direction: column;
    align-items: flex-start;
  }
  .ifb_sort_wrap,
  .ifb_select {
    max-width: 100%;
  }
  .feature_hero {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .feature_hero_visual {
    order: -1;
  }
  #detail #king .indeed_area_wrap .feature_hero h1,
  #king .indeed_area_wrap .feature_hero h1 {
    font-size: 19.5px !important;
  }
  .ic_metric_cell {
    padding: 5px 4px;
  }
  .ic_metric_label {
    font-size: 10px;
  }
  .ic_metric_value {
    font-size: 12px;
    padding: 6px 4px;
    white-space: nowrap;
  }
  .ic_metric_value b {
    font-size: 13px;
  }
}
