@charset "utf-8";

/* ===================================================
   共通レイアウト / PC・SP表示切り替え
   =================================================== */

.ms-area-main {
  width: 100% !important;
  float: none !important;
  max-width: 1200px;
  margin: 0 auto;
}

.spOnly,
#header,
#footer,
.sp-global-header,
.sp-floating-menu {
  display: none !important;
}

.pcOnly,
#global,
.pc-global-header {
  display: block;
}

@media (max-width: 767px) {
  .pcOnly,
  #global,
  .pc-global-header {
    display: none !important;
  }

  .spOnly,
  #header,
  #footer,
  .sp-global-header,
  .sp-floating-menu {
    display: block !important;
  }

  br.spOnly {
    display: inline !important;
  }
}

.mainview {
  width: 100%;
}
.mainview img {
  width: 100%;
  border: 1px solid #A9A9A9;
}
.inner {
  padding-left: 4%;
  padding-right: 4%;
}
.mgb-2 {
  margin-bottom: 4%;
}


/* ===================================================
   リード文
   =================================================== */
@media screen and (min-width: 769px) {
  .msLeadText {
    padding: 20px 0;
    font-size: 16px;
    color: #333;
    line-height: 24px;
    margin-bottom: 2%;
  }
}
@media screen and (max-width: 768px) {
  .msLeadText {
    padding: 20px 0;
    font-size: 14px;
    color: #333;
    line-height: 20px;
    margin-bottom: 2%;
  }
}


/* ===================================================
   絞り込みフィルター
   =================================================== */
.msFilterArea {
  padding-bottom: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.msFilterGroup {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
@media screen and (min-width: 769px) {
  .msFilterLabel {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    min-width: 110px;
  }
}
@media screen and (max-width: 768px) {
  .msFilterLabel {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    min-width: 110px;
  }
}
.msFilterLabel {
  position: relative;
  padding-left: 16px;
}
.msFilterLabel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 35px;
  background: #EB5500;
  border-radius: 999px;
}

.msFilterGrid {
  display: flex;
  gap: 8px;
  flex: 1;
}

.msFilterReset {
  text-align: center;
  font-size: 12px;
  color: #333;
  cursor: pointer;
  margin-top: 30px;
  margin-bottom: 50px;
  margin-left: auto;
  background: #E9E9EA;
  border-radius: 25px;
  max-width: 170px;
  padding-top: 7px;
  padding-bottom: 4px;
  font-weight: bold;
}
.msFilterReset:hover {
  color: #f97316;
}

@media screen and (min-width: 769px) {
  .msFilterBtn {
    flex: 1;
    padding: 15px 8px;
    border: 1.5px solid #8D8D8D;
    border-radius: 4px;
    background: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    text-align: center;
    transition: all .25s ease;
    max-width: 241px;
    margin-left: 3%;
  }
  .msFilterBtn:hover {
    border-color: #fdba74;
    color: #f97316;
    background: #fffaea;
  }
  .msFilterBtn.is-active {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
  }
}
@media screen and (max-width: 768px) {
  /* ラベルとボタンを縦に積む */
  .msFilterGroup {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .msFilterBtn {
    flex: 1;
    padding: 15px 0;
    border: 1.5px solid #8D8D8D;
    border-radius: 4px;
    background: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    text-align: center;
    transition: all .25s ease;
    max-width: 241px;
  }
  .msFilterBtn:hover {
    border-color: #fdba74;
    color: #f97316;
    background: #fffaea;
  }
  .msFilterBtn.is-active {
    background: #fffaea;
    border-color: #f97316;
    color: #f97316;
  }
  .msFilterReset {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }
  .sp-mgt-3 {
    margin-top: 30px !important;
  }
}


/* ===================================================
   セクション共通（タイトル / カウントバッジ）
   =================================================== */
.msEvtSection {
  max-width: 1200px;
  margin: 0 auto 48px;
}

@media screen and (min-width: 769px) {
  .msEvtSectionTitle h2 {
    font-size: 26px;
    font-weight: 900;
    color: #333;
    margin: 0;
  }
}
@media screen and (max-width: 768px) {
  .msEvtSectionTitle h2 {
    font-size: 20px;
    font-weight: 900;
    color: #333;
    margin: 0;
  }
}

.msEvtSectionTitle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px 24px 12px;
  border-left: 5px solid #EB5500;
  background: #fffaea;
}

.msEvtCount {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: #EB5500;
  padding: 4px 18px;
  border-radius: 999px;
  display: inline-block;
  margin-left: 20px;
}

@media screen and (max-width: 768px) {
  .msEvtSectionTitle {
    flex-wrap: wrap;
    padding-bottom: 12px;
  }
  .msEvtCount {
    margin-left: 0;
    margin-top: 8px;
    flex-basis: auto;
  }
}


/* ===================================================
   注目イベント
   =================================================== */
/* 中身は親(.msEvtSection)の 1200px に収め、背景だけ ::before で
   ビューポート幅まで広げる */
.msEvtSection--featured {
  position: relative;
  isolation: isolate;
  padding: 24px 0 32px;
}
.msEvtSection--featured::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  background: rgba(235, 235, 235, 0.5);
  z-index: -1;
}
@media screen and (max-width: 768px) {
  .msEvtSection--featured {
    padding: 16px 0 24px;
  }
}


/* ===================================================
   イベントカード（注目イベント / 開催予定一覧 共通）
   =================================================== */
.event-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card__header {
  padding: 16px 16px 12px;
}
.card__title {
  color: #f47b3a;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 2.8em; /* 2行分の高さを確保(line-height:1.4 × 2行) */
}
.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.card__date {
  color: #1f2a44;
  font-size: 15px;
  font-weight: 500;
}
.card__tags-grade {
  display: flex;
  gap: 6px;
}
.tag-grade {
  background: #1976d2;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px 4px;
  border-radius: 4px;
  line-height: 1.2;
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  /* SPでは日付の下にタグを並べる */
  .card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

.card__banner {
  width: 100%;
  aspect-ratio: 460 / 230;
  background: #e9e9e9;
  overflow: hidden;
}
.card__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* PCは4列 */
  gap: 12px 8px;
  padding: 16px;
  border-bottom: 1px solid #ececec;
}

/* リンクあり(aタグ)・リンクなし(直接img)の両方に対応する枠の設定 */
.card__logo-link,
.card__logos > img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px; /* ここで高さを揃える */
  width: 100%;
}

.card__logo-link {
  transition: opacity 0.2s ease;
}
.card__logo-link:hover {
  opacity: 0.7;
}

/* 画像自体の制御（はみ出し防止） */
.card__logo-link img,
.card__logos > img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.card__companies {
  padding: 14px 16px;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__location-tags {
  display: flex;
  gap: 8px;
  padding: 16px 16px 16px;
}
.tag-location {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px 6px;
  border-radius: 4px;
  line-height: 1.2;
}
.tag-location--tokyo {
  background: #F9686F !important;
  color: #fff !important;
}
.tag-location--osaka {
  background: #6fcb4d !important;
  color: #fff !important;
}
.tag-location--online {
  background: #1f2a44 !important;
  color: #fff !important;
}

.card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #ececec;
  margin-top: auto;
}
.card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s ease;
}
.card__btn:hover {
  opacity: 0.85;
}
.card__btn--detail {
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: bold;
}
.card__btn--detail::after {
  content: "›";
  margin-left: 6px;
  font-size: 18px;
}
.card__btn--reserve {
  background: #FF5C26;
  color: #fff !important;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, letter-spacing 0.25s ease;
}
.card__btn--reserve::after {
  content: "›";
  margin-left: 6px;
  font-size: 18px;
  display: inline-block;
  transition: transform 0.25s ease;
}
.card__btn--reserve:hover {
  background: #E54416;
  opacity: 1;
  box-shadow: 0 6px 16px rgba(255, 92, 38, 0.45);
  transform: translateY(-2px);
  letter-spacing: 1px;
}
.card__btn--reserve:hover::after {
  transform: translateX(8px);
}

@media (max-width: 1024px) {
  .event-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .event-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card__title {
    font-size: 18px;
    min-height: auto;
  }
}


/* ===================================================
   開催予定の就活イベント一覧（ページャー）
   =================================================== */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 40px auto 9%;
  padding: 0 16px;
}
.pager__btn--disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: default;
}
.pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d8d8d8;
  color: #1f2a44;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: inherit;
  transition: background 0.2s ease;
  cursor: pointer;
}
.pager__btn:hover {
  background: #f5f5f5;
}
.pager__btn--current {
  background: #F09600;
  color: #fff !important;
  border-color: #EB5500;
  cursor: default;
  pointer-events: none;
}
.pager__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  color: #b8a89a;
  font-weight: 700;
  letter-spacing: 2px;
  user-select: none;
}
.pager__chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid #1f2a44;
  border-bottom: 2px solid #1f2a44;
}
.pager__chevron--left {
  transform: rotate(135deg) translate(-1px, -1px);
}
.pager__chevron--right {
  transform: rotate(-45deg) translate(-1px, -1px);
}

@media (max-width: 640px) {
  .pager {
    gap: 6px;
    margin-top: 32px;
  }
  .pager__btn {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
}


/* ===================================================
   2026年 就活イベント開催スケジュール
   =================================================== */
.schedule {
  max-width: 1200px;
  margin: 48px auto 0;
  background: #fff;
  border-radius: 4px;
  overflow-x: auto;
}
.schedule__table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: #fff;
}
.schedule__th {
  background: #f5f5f5;
  color: #6a6a6a;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}
.schedule__th--month  { width: 8%;  }
.schedule__th--date   { width: 12%; }
.schedule__th--event  { width: 64%; }
.schedule__th--action { width: 16%; }

.schedule__table td {
  padding: 22px 16px;
  vertical-align: middle;
}
.schedule__row--month-start td {
  border-top: 2px solid #e0e0e0;
}

/* PC・SP共通（SPもPCと同じサイズで表示） */
.schedule__month {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  border-right: 1px solid #c5c5c5 !important;
}
.schedule__date {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  border-right: 1px solid #c5c5c5 !important;
}
.schedule__event-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  margin-bottom: 4px;
}
.schedule__event-meta {
  font-size: 10px;
  color: #333;
  line-height: 1.4;
}


.schedule__action {
  text-align: right;
  white-space: nowrap;
}
.schedule__action > .schedule__btn + .schedule__btn,
.schedule__action > .schedule__btn + span.schedule__btn {
  margin-left: 8px;
}
.schedule__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 32px;
  padding: 0 10px;
  font-size: 11px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  font-family: inherit;
  transition: opacity 0.2s ease;
  font-weight: bold;
  vertical-align: middle;
  box-sizing: border-box;
}
.schedule__btn--detail {
  background: #1976d2;
  color: #fff !important;
  cursor: pointer;
}
.schedule__btn--detail::after {
  content: "›";
  margin-left: 6px;
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}
.schedule__btn--detail:hover {
  opacity: 0.85;
}
.schedule__btn--reserve {
  background: #EB5500;
  color: #fff !important;
  cursor: pointer;
}
.schedule__btn--reserve::after {
  content: "›";
  margin-left: 6px;
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}
.schedule__btn--reserve:hover {
  opacity: 0.85;
}
.schedule__btn--disabled {
  background: #ececec;
  color: #333;
  cursor: not-allowed;
  pointer-events: none;
}



/* ===================================================
   みん就主催の就活イベントとは？（タイプカード / バッジ）
   =================================================== */
.msTypeGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media screen and (max-width: 768px) {
  .msTypeGrid {
    grid-template-columns: 1fr; /* SPは1カラムで縦積み */
  }
}
.msTypeCard {
  background: #fff;
  border: 3px solid #C5CDD4;
  border-radius: 10px;
  padding: 20px;
}
.msTypeCardTitle {
  font-size: 20px;
  font-weight: 900;
  color: #333;
  margin-bottom: 8px;
}
.msTypeCardLabels {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}
.msTypeCardText {
  min-height: 96px; /* 4行分の高さを確保(line-height:24px × 4行) */
}
@media screen and (min-width: 769px) {
  .msTypeCardText {
    font-size: 16px;
    color: #333;
    line-height: 24px;
  }
}
@media screen and (max-width: 768px) {
  .msTypeCardText {
    font-size: 14px;
    color: #333;
    line-height: 24px;
    min-height: auto;
  }
}

.msEvtBadge {
  display: inline-block;
  padding: 8px 14px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}
.msEvtBadge--it     { background: #9CDA46; }
.msEvtBadge--tokyo  { background: #F9686F; }
.msEvtBadge--osaka  { background: #5687FF; }
.msEvtBadge--online { background: #4299d1; }
.msEvtBadge--sogo {
  background: #fff;
  border: 2px solid #333;
  color: #333 !important;
}
.msEvtBadge--new    { background: #ef4444; }


/* ===================================================
   よくある質問（FAQ）
   =================================================== */
.faq {
  max-width: 1200px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq__item {
  background: #fff;
  border: 1px solid #C5CDD4;
  border-radius: 4px;
  overflow: hidden;
}
.faq__question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { content: ""; }

.faq__badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.faq__badge--q { background: #f47b3a; }
.faq__badge--a { background: #b8b8b8; }

.faq__question-text {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: #1f2a44;
  line-height: 1.5;
}

.faq__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #C5CDD4;
  border-bottom: 2px solid #C5CDD4;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s ease;
}
.faq__item[open] .faq__chevron {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq__answer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 24px;
  position: relative;
}
.faq__answer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: #ececec;
}
.faq__answer-text {
  margin: 0;
  flex: 1;
}

@media (max-width: 640px) {
  .faq { margin-top: 32px; }
  .faq__question,
  .faq__answer { padding: 14px 16px; }
  .faq__badge { width: 32px; height: 32px; font-size: 14px; }
  .faq__question-text { font-size: 14px; }
}


/* ===================================================
   その他カード（msCard 系・旧スタイル）
   =================================================== */
.msCardGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.msCard {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .25s ease;
}
.msCard:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}
.msCardHead {
  position: relative;
}
.msCardDate {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  padding: 12px 16px 8px;
}
.msCardBadges {
  display: flex;
  gap: 8px;
  position: absolute;
  top: 8px;
  right: 8px;
}
.msCardBanner {
  height: 180px;
  background: linear-gradient(145deg, #fff7ed, rgba(249, 115, 22, .08));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.msCardBannerText {
  font-size: 14px;
  font-weight: 900;
  color: #222;
  text-align: center;
  line-height: 1.6;
  padding: 0 16px;
}
.msCardBody {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.msCardLabels {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}
.msCardTitle {
  font-size: 13px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}
.msCardLogos {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}
.msCardLogo {
  height: 22px;
  padding: 0 8px;
  border: 1px solid #eee;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 600;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.msCardActions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}


/* ===================================================
   レスポンシブ - PC/SPヘッダー・フッターの出し分け
   =================================================== */
@media (max-width: 768px) {

  .pc-global-header {
    display: none !important;
  }
  .sp-global-header__search-box {
    display: none !important;
  }

  footer#global2 {
    display: none !important;
  }
}

/* ===== MV画像上のページタイトル(h1) ===== */
.msPageTitle {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin: 0 0 16px 0;
  padding: 0;
  line-height: 1.4;
}

@media screen and (max-width: 768px) {
  .msPageTitle {
    font-size: 20px;
    margin-bottom: 12px;
    padding-left: 4%;
    padding-right: 4%;
  }
  .mainview {
    padding-left: 4%;
    padding-right: 4%;
    box-sizing: border-box;
  }
}
/* ===================================================
   ★完全統合版★ スマホ横揺れ・バナー・ロゴ・フィルター
   =================================================== */

/* 1. PC・SP共通の修正（バナー、画像、その他バッジ） */
/* ※PCのメニューが押せなくなる原因だったコードは、下のスマホ専用エリアに移動しました */
.mainview img {
  box-sizing: border-box;
}

.card__banner {
  aspect-ratio: auto !important;
}

.card__banner-img {
  height: auto !important;
  object-fit: contain !important;
}

.schedule {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

.tag-location--other {
  background: #8e8e8e !important;
  color: #fff !important;
}


/* 2. ここから下は【スマホ(768px以下)限定】のスタイル */
@media screen and (max-width: 768px) {
  
  /* スマホ版のみ横揺れを防止（★PCには影響させない！） */
  html, body {
    overflow-x: hidden !important;
    width: 100%;
  }
  main {
    overflow-x: hidden !important;
    width: 100%;
    display: block;
  }

  /* 固定幅の強制解除（横揺れ防止） */
  #contents, .ms-area-main, .inner {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  /* 文字やパンくずリストの折り返し調整 */
  .msPageTitle, 
  .msLeadText {
    word-break: break-all !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
  .topicPathList {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
  }
  .msEventTopicPath {
    padding: 12px 4%;
    box-sizing: border-box;
  }

  /* 注目イベント背景の横はみ出し対策 */
  .msEvtSection--featured::before {
    display: none !important;
  }
  .msEvtSection--featured {
    background: rgba(235, 235, 235, 0.5) !important;
    margin-left: -4.16% !important; 
    margin-right: -4.16% !important;
    padding-left: 4.16% !important;
    padding-right: 4.16% !important;
  }

  /* 企業ロゴを4列にし、8社すべて表示する */
  .card__logos {
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 8px 4px !important; 
    padding: 12px 8px !important;
  }
  .card__logo-link,
  .card__logos > img {
    height: 28px !important; 
  }

  /* フィルターボタン（4つ）を 2列×2行 にする */
  .msFilterGrid {
    flex-wrap: wrap !important;
    gap: 12px 2% !important; 
  }
  .msFilterGrid .msFilterBtn {
    flex: 0 0 49% !important; 
    max-width: 49% !important;
    margin-left: 0 !important;
  }
}


/* ===================================================
   SPハンバーガーが押せない問題の最終修正（PCには干渉しない）
   =================================================== */

/* SP版ヘッダー・ハンバーガー：元々の配置を壊さずに一番手前へ */
.sp-global-header, .sp-floating-menu, .sp-global-nav {
  z-index: 99999 !important;
}

/* ===================================================
   タイトルと開催地タグの横並び調整
   =================================================== */
.card__title-wrap {
  display: flex;
  align-items: flex-start; /* タイトルが2行になってもタグが上揃えになるようにする */
  justify-content: space-between; /* タイトルとタグの間を離す（左寄せにしたい場合は「flex-start」に変更） */
  gap: 12px;
  margin-bottom: 8px;
  min-height: 2.8em; /* 元々タイトルにあった高さをこちらに移動 */
}

.card__title-wrap .card__title {
  margin-bottom: 0;
  min-height: auto;
}

.card__title-wrap .tag-location {
  flex-shrink: 0; /* タイトルが長くなってもタグが潰れないようにする魔法 */
  white-space: nowrap;
  margin-top: 2px; /* タイトルの文字と高さを合わせる微調整 */
}
