@charset "UTF-8";

/* 来場者マイページ 機能のご紹介（mg_ = mypage guide） */

.mg {
  padding: 0 0 48px;
  /* セクション地色（注釈ボックスは白に反転してこちらへ移す） */
  --mg-tone-profile: rgba(255, 218, 225, 0.75);
  --mg-tone-conf: rgba(210, 232, 255, 0.8);
  --mg-tone-fav: rgba(210, 244, 222, 0.75);
  --mg-tone-meet: rgba(255, 240, 200, 0.85);
  /* .mg_note 枠線：各セクション地より一段濃い（#profile 等で指定） */
  --mg-note-border-profile: rgba(244 158 177 / 0.88);
  --mg-note-border-conf: rgba(130, 168, 215, 0.88);
  --mg-note-border-fav: rgba(118, 185, 148, 0.88);
  --mg-note-border-meet: rgba(255 202 106 / 0.9);
}

.mg_hero {
  margin-bottom: 30px;
}

/* ヒーロー直下のお知らせバナー（左アクセントバー） */
.mg_notice {
  margin: 0 0 30px;
  padding: 14px 20px;
  background: #fffcd6;
  border-left: 5px solid #fbea1c;
  border-radius: 6px;
}

.mg_notice_title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  line-height: 1.5;
}

.mg_notice_title i {
  margin-right: 0.5em;
  color: #e8cb0a;
}

.mg_notice_txt {
  margin: 0;
  line-height: 1.7;
  font-size: 14px;
  color: #444;
}

.mg_lead {
  margin: 0 0 28px;
  line-height: 1.75;
  font-size: 15px;
}

/*
 * overview：左＝アンカーリンクリスト、右＝縦継ぎ画像
 * （forexhibitors/online/overview の flex 構成を参考・左右逆）
 */
.mg_overview {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

/* 左：リード文＋番号付きアンカーリストをまとめる左カラム */
.mg_ov_left {
  flex: 0 0 44%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mg_ov_left .mg_lead {
  margin-bottom: 25px;
}

/* 左内：番号付きアンカーリスト */
.mg_ov_links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mg_ov_item a {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 14px 40px 14px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'LINESeedJP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.45;
  color: #fff;
  position: relative;
  transition: opacity 0.2s;
}

.mg_ov_item a:hover,
.mg_ov_item a:focus-visible {
  opacity: 0.75;
}

.mg_ov_item a:focus-visible {
  outline: 2px solid #222;
  outline-offset: 2px;
}

.mg_ov--profile a { background: #ec6767; }
.mg_ov--conf    a { background: #22a7f3; }
.mg_ov--fav     a { background: #33b182; }
.mg_ov--meet    a { background: #e09d36; }

.mg_ov_item a i {
  flex-shrink: 0;
  font-size: 1em;
  opacity: 0.95;
}

/* exhibitor_categories.css の .page_transition_btn:after と同型（折れ矢印） */
.mg_ov_item a::after {
  content: "";
  border-bottom: solid 2px #fff;
  border-right: solid 2px #fff;
  display: block;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%) rotate(45deg);
}

/* 右：縦継ぎ画像 */
.mg_ov_imgs {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mg_ov_imgs .mg_fig {
  margin: 0;
  line-height: 0;
  position: relative;
}

/* 画像に①②③④を重ねる：左上。背景色共通、文字色はボタン色に対応 */
.mg_ov_imgs .mg_fig::before {
  position: absolute;
  top: 1px;
  left: 2px;
  transform: none;
  z-index: 3;
  font-family: 'LINESeedJP', sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.mg_ov_imgs .mg_fig:nth-child(1)::before { content: none; }
.mg_ov_imgs .mg_fig:nth-child(2)::before { content: "①"; color: #ec6767; }
.mg_ov_imgs .mg_fig:nth-child(3)::before { content: "②"; color: #22a7f3; }
.mg_ov_imgs .mg_fig:nth-child(4)::before { content: "③"; color: #33b182; }
.mg_ov_imgs .mg_fig:nth-child(5)::before { content: "④"; color: #e09d36; }

/* 色枠オーバーレイ（::after でレイアウト影響なし） */
.mg_ov_imgs .mg_fig::after {
  content: "";
  position: absolute;
  inset: 5px;
  pointer-events: none;
  z-index: 2;
}

.mg_ov_imgs .mg_fig:nth-child(2)::after { border: 2px solid #ec6767; }
.mg_ov_imgs .mg_fig:nth-child(3)::after { border: 2px solid #22a7f3; }
.mg_ov_imgs .mg_fig:nth-child(4)::after { border: 2px solid #33b182; }
.mg_ov_imgs .mg_fig:nth-child(5)::after { border: 2px solid #e09d36; }

.mg_ov_imgs .mg_fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  border: 1px solid #ddd;
  border-bottom: none;
  background: transparent;
  opacity: 0.82;
}

.mg_ov_imgs .mg_fig:first-child img {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.mg_ov_imgs .mg_fig:nth-child(2) img,
.mg_ov_imgs .mg_fig:nth-child(3) img,
.mg_ov_imgs .mg_fig:nth-child(4) img {
  border-top: none;
}

.mg_ov_imgs .mg_fig:last-child img {
  border-bottom: 1px solid #ddd;
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.mg_overview .mg_overview_note {
  flex-basis: 100%;
  /* column 配置時: align-items:flex-start だと幅が中身幅に縮み text-align だけだと左に見える */
  align-self: stretch;
  width: 100%;
  font-size: 12px;
  color: #666;
  text-align: right;
  margin-top: -10px;
  box-sizing: border-box;
}

.mg_fig {
  margin: 0 0 16px;
}

.mg_fig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f5f5f5;
}

.mg_sec {
  margin-bottom: 48px;
  scroll-margin-top: 100px;
  padding: 22px 18px 24px;
  border-radius: 12px;
  box-sizing: border-box;
}

#profile.mg_sec {
  background: var(--mg-tone-profile);
}

#conference.mg_sec {
  background: var(--mg-tone-conf);
}

#favorites.mg_sec {
  background: var(--mg-tone-fav);
}

#meeting.mg_sec {
  background: var(--mg-tone-meet);
}

.mg_h {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #222;
}

/* overview ボタンと同じアイコン（FAQ の .fa-icon に近い見出し用） */
.mg_h .mg_h_icon {
  margin-right: 0.5em;
  font-size: 1em;
  opacity: 0.9;
}

.mg_txt {
  margin: 0 0 16px;
  line-height: 1.75;
}

/* 本文直下の注釈（※）: グレー・一段小さく */
.mg_txt_note {
  margin: -6px 0 16px;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #666;
  font-weight: 400;
}

.mg_note {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  line-height: 1.75;
  font-size: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

#profile .mg_note {
  border-color: var(--mg-note-border-profile);
}

#conference .mg_note {
  border-color: var(--mg-note-border-conf);
}

#favorites .mg_note {
  border-color: var(--mg-note-border-fav);
}

#meeting .mg_note {
  border-color: var(--mg-note-border-meet);
}

/* ミーティング取消：赤・太字（見出しより一段小さい） */
.mg_note_alert {
  color: #c00;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.65;
}

.mg_cta_wrap {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
}

.mg_cta_note {
  margin: 0 0 12px;
  font-size: 14px;
  color: #555;
}

.mg_cta {
  margin: 0;
}

/*
 * 副題 .mg_cta_sub があるときだけ 2 行レイアウト＋矢印非表示。
 * span をコメントアウトして単行になったら :has が偽になり、TOP 既定の → がそのまま出る。
 */
.mg_cta_wrap .exb26-view-more:has(.mg_cta_sub) {
  flex-direction: column;
  gap: 0;
  font-family: 'Zen Kaku Gothic New', 'Outfit', sans-serif;
  font-weight: 700;
}

.mg_cta_wrap .exb26-view-more:has(.mg_cta_sub)::after {
  content: none;
}

.mg_cta_sub {
  display: block;
  font-family: inherit;
  font-size: clamp(12px, 2.2vw, 14px);
  font-weight: 500;
  opacity: 0.95;
}

/* close_btn */
.mg_cta_wrap .exb26-view-more.close_btn {
  background: #888;
  background-size: auto;
  color: #fff !important;
  cursor: not-allowed;
  pointer-events: none;
  width: 50%;
}

.mg_cta_wrap .exb26-view-more.close_btn:hover {
  background: #888;
}

.mg_cta_wrap .exb26-view-more.close_btn:hover::after {
  transform: none;
}

/* ----------------------------
レスポンシブ調整
----------------------------- */

@media screen and (max-width: 768px) {
  .mg_ov_left {
    flex: 0 0 42%;
  }

  .mg_ov_left .mg_lead {
    margin-bottom: 15px;
  }

  .mg_ov_item a {
    padding: 12px 36px 12px 14px;
    font-size: 14px;
  }

  .mg_ov_item a::after {
    right: 14px;
    width: 6px;
    height: 6px;
  }
}

@media screen and (max-width: 600px) {
  .mg_cta_wrap {
    padding-top: 0;
  }

  .mg_cta_wrap .exb26-view-more.close_btn {
    width: 75%;
  }

  .mg_notice {
    margin-bottom: 20px;
    padding: 12px 14px;
  }

  .mg_notice_title {
    font-size: 0.9375rem;
  }

  .mg_notice_txt {
    font-size: 13px;
  }

  /* overview：縦積みに切り替え（左カラム→画像の順） */
  .mg_overview {
    flex-direction: column;
  }

  .mg_ov_left {
    flex: 0 0 auto;
    width: 100%;
  }

  .mg_ov_links {
    gap: 10px;
  }

  .mg_ov_imgs {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .mg_ov_item a {
    padding: 10px 32px 10px 12px;
    font-size: 13px;
  }

  .mg_ov_item a::after {
    right: 12px;
    width: 5px;
    height: 5px;
  }
}
