@charset "UTF-8";

/**
 * トップページのスタイル
 * NOTE: OpenEXPOデザイン対応 2026/03/13
 * デザインデータ: OE_top.html (Tailwind mockup) を基に
 * ポータルベースのCSS変数＋セレクタ方式で実装
**/


/* ============================================================
   ヒーローセクション（メインビジュアル）
   ============================================================ */

[id="main_image"] {
  background: url("../images/main_image_01.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
}
[id="main_image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.70);
  z-index: 1;
}
@media (max-width: 767.98px) {
  [id="main_image"] {
    background-position: center center;
  }
}

[id="main_image"] > .base_wrap {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: var(--site-container-width);
  height: 600px;
  margin: 0 auto;
  padding: 0 var(--site-container-padding);
  position: relative;
  z-index: 2;
}
@media (max-width: 959.98px) {
  [id="main_image"] > .base_wrap {
    height: 500px;
    padding: 0 var(--site-container-padding);
  }
}
@media (max-width: 767.98px) {
  [id="main_image"] > .base_wrap {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: auto;
    min-height: 400px;
    padding: 56px var(--site-container-padding);
  }
}

/* ヒーロー ロゴ（非表示にする） */
.main_image__logo {
  display: none;
}

/* ヒーロー タイトル */
.main_image__title {
  color: var(--font-c);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 800px;
}
*+.main_image__title {
  margin-top: 0;
}
@media (max-width: 959.98px) {
  .main_image__title {
    font-size: 32px;
  }
}
@media (max-width: 767.98px) {
  .main_image__title {
    font-size: 26px;
    line-height: 1.4;
  }
  *+.main_image__title {
    margin-top: 0;
  }
}

/* ヒーロー サブテキスト */
.main_image__slogan {
  color: #4b5563;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  max-width: 640px;
}
*+.main_image__slogan {
  margin-top: 20px;
}
@media (max-width: 767.98px) {
  .main_image__slogan {
    font-size: 14px;
    line-height: 1.8;
  }
  *+.main_image__slogan {
    margin-top: 12px;
  }
}

/* ヒーロー 検索バー */
.main_image__search {
  margin-top: 32px;
  width: 100%;
  max-width: 640px;
}
@media (max-width: 767.98px) {
  .main_image__search {
    margin-top: 24px;
    max-width: 100%;
  }
}

.main_image__search_inner {
  max-width: 640px;
  width: 100%;
  margin: 0;
  padding: 0;
}
@media (max-width: 767.98px) {
  .main_image__search_inner {
    max-width: 100%;
  }
}

.main_image__form {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 8px;
  gap: 0;
  background: #fff;
  border: 2px solid var(--oe-accent-yellow);
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(14, 76, 94, 0.08);
}
@media (max-width: 767.98px) {
  .main_image__form {
    flex-flow: row nowrap;
    border-radius: 9999px;
    padding: 6px;
    gap: 0;
  }
}

/* セレクト（非表示にしてフリーワード検索のみ表示） */
.main_image__form_select {
  display: none;
}
/* 結合アイコン（非表示） */
.main_image__form_sep {
  display: none;
}

/* フリーワード入力 - ヒーロー用 */
.main_image__form .word_search {
  width: 100%;
  --word-search-height: 48px;
}
.main_image__form .word_search__form {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 0;
}
.main_image__form .word_search__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 16px;
  flex-shrink: 0;
  color: #9ca3af;
  pointer-events: none;
}
.main_image__form .word_search__icon .material-symbols-outlined {
  font-size: 22px;
}
.main_image__form .word_search__word {
  border: none !important;
  background: transparent !important;
  border-radius: 9999px !important;
  font-size: 15px !important;
  height: 48px !important;
  padding: 0 12px !important;
  width: 100% !important;
  box-shadow: none !important;
}
.main_image__form .word_search__word:focus {
  outline: none;
  box-shadow: none;
}
.main_image__form .word_search__submit {
  position: static !important;
  transform: none !important;
  left: auto !important;
  border: none !important;
  background: var(--oe-deep-teal) !important;
  color: #fff !important;
  border-radius: 9999px !important;
  width: auto !important;
  min-width: 80px;
  height: 44px !important;
  padding: 0 20px !important;
  font-size: 14px !important;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main_image__form .word_search__submit:hover {
  opacity: 0.9;
}
@media (max-width: 767.98px) {
  .main_image__form .word_search {
    --word-search-height: 42px;
  }
  .main_image__form .word_search__word {
    font-size: 14px !important;
    height: 42px !important;
    padding: 0 12px !important;
  }
  .main_image__form .word_search__submit {
    position: static !important;
    transform: none !important;
    left: auto !important;
    height: 38px !important;
    min-width: 64px;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
}

/* 旧セレクト→送信ボタン（非表示） */
.main_image__form_submit {
  display: none;
}


/* ============================================================
   共通セクションスタイル
   ============================================================ */

.home_section {
  padding: 56px 0;
}
@media (max-width: 959.98px) {
  .home_section {
    padding: 40px 0;
  }
}
@media (max-width: 767.98px) {
  .home_section {
    padding: 32px 0;
  }
}

/* セクション背景バリエーション */
.home_section.bg__type_sub {
  background: var(--oe-section-gray);
}


/* ============================================================
   セクション見出し（OpenEXPOスタイル）
   ============================================================ */

.oe_section_header {
  text-align: center;
  margin-bottom: 40px;
}
@media (max-width: 767.98px) {
  .oe_section_header {
    margin-bottom: 24px;
  }
}
.oe_section_header__en {
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--oe-deep-teal);
}
@media (max-width: 767.98px) {
  .oe_section_header__en {
    font-size: 20px;
  }
}
.oe_section_header__ja {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--site-c-gray);
  margin-top: 8px;
}


/* ============================================================
   EXHIBITION SEARCH - 3カード検索セクション
   ============================================================ */

.oe_search_cards {
  background: var(--oe-section-gray);
  padding: 64px 0;
}
@media (max-width: 767.98px) {
  .oe_search_cards {
    padding: 40px 0;
  }
}

.oe_search_cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--site-container-padding);
}
@media (max-width: 959.98px) {
  .oe_search_cards__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 767.98px) {
  .oe_search_cards__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.oe_search_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #fff;
  box-shadow: var(--oe-card-shadow);
  padding: 40px 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  min-height: 280px;
}
.oe_search_card:hover {
  box-shadow: var(--oe-card-shadow-hover);
  border-color: rgba(11, 218, 218, 0.3);
  transform: translateY(-4px);
}
@media (max-width: 767.98px) {
  .oe_search_card {
    flex-direction: column;
    min-height: auto;
    padding: 32px 24px;
    gap: 20px;
    aspect-ratio: 4 / 3;
    justify-content: center;
  }
}

.oe_search_card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(11, 218, 218, 0.1);
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}
.oe_search_card:hover .oe_search_card__icon {
  background: var(--oe-primary);
}
@media (max-width: 767.98px) {
  .oe_search_card__icon {
    width: 80px;
    height: 80px;
  }
}

.oe_search_card__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: filter 0.3s ease;
}
.oe_search_card:hover .oe_search_card__icon img {
  filter: brightness(0) invert(1);
}
@media (max-width: 767.98px) {
  .oe_search_card__icon img {
    width: 40px;
    height: 40px;
  }
}

.oe_search_card__title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
.oe_search_card__title em {
  color: var(--oe-primary);
  font-style: normal;
}
.oe_search_card__title span {
  color: var(--oe-deep-teal);
}
@media (max-width: 767.98px) {
  .oe_search_card__title {
    font-size: 18px;
    text-align: center;
  }
}


/* ============================================================
   SEARCH BY AREA - 世界地図セクション
   ============================================================ */

/* 既存の日本地図area_wrapを流用しつつ拡張 */
.area_wrap {
  position: relative;
  padding: 0;
  margin: 0;
}
@media (max-width: 767.98px) {
  .area_wrap {
    display: block;
  }
}

/* ワールドマップ画像コンテナ */
.oe_worldmap {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--oe-card-shadow);
  border: 1px solid #f3f4f6;
  background: #f0fcfc;
}
.oe_worldmap img {
  display: block;
  width: 100%;
  height: auto;
}

/* ワールドマップ上のエリアボタン */
.oe_worldmap__area {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.oe_worldmap__area span {
  display: inline-block;
  background: #fff;
  color: var(--oe-deep-teal);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 9999px;
  opacity: 0.85;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.oe_worldmap__area:hover span {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* エリアボタンのSP版（ボタンリスト） */
.oe_area_buttons {
  display: none;
}
@media (max-width: 959.98px) {
  .oe_worldmap {
    display: none;
  }
  .oe_area_buttons {
    display: block;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--oe-card-shadow);
    background: url("/common/images/map.png") center / cover no-repeat;
    padding: 48px 16px;
    text-align: center;
  }
  .oe_area_buttons::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 76, 94, 0.6);
    z-index: 0;
  }
  .oe_area_buttons__title,
  .oe_area_buttons__grid {
    position: relative;
    z-index: 1;
  }
  .oe_area_buttons__title {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 32px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  }
  .oe_area_buttons__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 360px;
    margin: 0 auto;
  }
  .oe_area_buttons__grid a {
    display: inline-block;
    background: #fff;
    color: var(--oe-deep-teal);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
  }
  .oe_area_buttons__grid a:hover {
    background: var(--oe-primary);
    color: #fff;
  }
}


/* ============================================================
   CTA バナー
   ============================================================ */

.oe_cta_banner {
  background: linear-gradient(135deg, var(--oe-deep-teal) 0%, #006060 100%);
  border-radius: 16px;
  padding: 40px 48px;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--oe-card-shadow);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1200px;
}
.oe_cta_banner::before {
  content: '';
  position: absolute;
  top: -64px;
  right: -64px;
  width: 256px;
  height: 256px;
  background: rgba(11, 218, 218, 0.2);
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}
@media (max-width: 767.98px) {
  .oe_cta_banner {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
    border-radius: 12px;
  }
}

.oe_cta_banner__text {
  color: #fff;
  position: relative;
  z-index: 1;
}
.oe_cta_banner__text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.oe_cta_banner__text p {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.8;
}
@media (max-width: 767.98px) {
  .oe_cta_banner__text h3 {
    font-size: 20px;
  }
  .oe_cta_banner__text p {
    font-size: 14px;
  }
}

.oe_cta_banner__btn {
	    max-width: 210px;
  display: inline-flex;
  align-items: center;
	justify-content: center;
  gap: 8px;
  background: var(--oe-accent-yellow);
  color: var(--oe-deep-teal);
  font-size: 15px;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.oe_cta_banner__btn:hover {
  background: #ffc82e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  color: var(--oe-deep-teal);
}
@media (max-width: 767.98px) {
  .oe_cta_banner__btn {
    margin-top: 24px;
  }
}


/* ============================================================
   INDUSTRY CATEGORIES - 業界カテゴリ
   ============================================================ */

.oe_categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 959.98px) {
  .oe_categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 767.98px) {
  .oe_categories__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.oe_category_card {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--oe-card-shadow);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--oe-primary);
}
.oe_category_card:hover {
  box-shadow: var(--oe-card-shadow-hover);
}

.oe_category_card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  background: rgba(11, 218, 218, 0.05);
}
.oe_category_card__header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--oe-deep-teal);
  line-height: 1.3;
}
.oe_category_card__header a.oe_category_more {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #fff;
  color: var(--oe-primary);
  border: 1px solid var(--oe-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.oe_category_card__header a.oe_category_more:hover {
  background: var(--oe-primary);
  color: #fff;
}

.oe_category_card__body {
  padding: 16px;
  flex-grow: 1;
}

.oe_category_card__image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #e5e7eb;
}
.oe_category_card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oe_category_card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.oe_category_card__tags a {
  display: inline-block;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.oe_category_card__tags a:hover {
  background: #e5e7eb;
  color: var(--oe-deep-teal);
}


/* ============================================================
   BUSINESS SUPPORT - ビジネスサポートセクション
   ============================================================ */

.oe_support {
  background: linear-gradient(135deg, #093542 0%, var(--oe-deep-teal) 50%, #052630 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.oe_support::before {
  content: '';
  position: absolute;
  top: -128px;
  left: -128px;
  width: 400px;
  height: 400px;
  background: rgba(11, 218, 218, 0.25);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.oe_support__inner {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
@media (max-width: 767.98px) {
  .oe_support__inner {
    flex-direction: column;
  }
}

.oe_support__content {
  flex: 1;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,0.05);
}
@media (max-width: 767.98px) {
  .oe_support__content {
    padding: 32px 24px;
  }
}

.oe_support__label {
	    max-width: 160px;
    text-align: center;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--oe-accent-yellow);
  border: 1px solid rgba(255,184,0,0.3);
  background: rgba(255,184,0,0.1);
  padding: 4px 5px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.oe_support__title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 24px;
}
@media (max-width: 767.98px) {
  .oe_support__title {
    font-size: 24px;
  }
}

.oe_support__desc {
  font-size: 15px;
  color: #fff;
  line-height: 1.9;
  font-weight: 500;
  margin-bottom: 32px;
  opacity: 0.9;
}
@media (max-width: 767.98px) {
  .oe_support__desc {
    font-size: 14px;
  }
}

.oe_support__image {
  width: 50%;
  position: relative;
  overflow: hidden;
}
.oe_support__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s ease-out;
}
.oe_support:hover .oe_support__image img {
  transform: scale(1.05);
}
@media (max-width: 767.98px) {
  .oe_support__image {
    width: 100%;
    height: 240px;
  }
}


/* ============================================================
   既存セクション拡張（流用＋微調整）
   ============================================================ */

/* home_wrap01 互換 */
.home_wrap01 {
  padding: 56px 0;
}
@media (max-width: 959.98px) {
  .home_wrap01 {
    padding: 40px 0;
  }
}
@media (max-width: 767.98px) {
  .home_wrap01 {
    padding: 32px 0;
  }
}

/* 2col レイアウト */
.home_left_wrap {
  width: calc(100% - 300px);
}
@media (max-width: 959.98px) {
  .home_left_wrap {
    width: 100%;
    max-width: none;
  }
}

.home_right_wrap,
.home_specialty_wrap {
  width: 260px;
}
@media (max-width: 959.98px) {
  .home_right_wrap,
  .home_specialty_wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
    max-width: none;
    width: 100%;
    margin: 20px auto;
    padding: 0;
  }
}


/* ============================================================
   既存 area_wrap（日本地図 - 今回は非表示にしてワールドマップに置換）
   ============================================================ */

/* 旧日本地図エリアは非表示 */
/*
.area_wrap { ... }
*/


/* ============================================================
   既存 box_kodawari（こだわり検索タグ）
   ============================================================ */

.home_kodawari_wrap {
  position: relative;
}
@media (max-width: 767.98px) {
  .home_kodawari_wrap {
    margin: 0 -2px;
    padding: 0 8px;
  }
}

.box_kodawari {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: stretch;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.box_kodawari > a {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  box-shadow: 2px 2px 0 0 var(--site-c-main-light);
  border-radius: 4px;
  border: solid 2px var(--site-c-main-light);
  background: #fff;
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  height: 64px;
  width: calc((100% - 4px * 2 ) / 3);
  margin: 0;
  padding: 0 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.box_kodawari > a:hover {
  border-color: var(--oe-primary);
  box-shadow: 2px 2px 0 0 var(--oe-primary);
}
@media (max-width: 767.98px) {
  .box_kodawari > a,
  .box_kodawari > div {
    width: calc((100% - 4px * 1 ) / 2);
  }
}


/* ============================================================
   search forms (既存流用)
   ============================================================ */

.home_search_wrap {
  margin: 0 0 64px;
}
@media (max-width: 767.98px) {
  .home_search_wrap {
    padding: 16px 8px;
  }
}

.box_search_list {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 8px;
}
.box_search_list__item .select {
  width: 100%;
}
.box_search_list__item select {
  box-shadow: 2px 2px 0 0 var(--site-c-main-light);
  border-radius: 4px;
  border: solid 2px var(--site-c-main-light);
  font-size: 16px;
  font-weight: 500;
  line-height: 62px;
  width: 100%;
  height: 64px;
  padding: 0 14px;
}


/* ============================================================
   コラム / トピックス (既存流用)
   ============================================================ */

.topics_wrap {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: stretch;
  margin: 0;
  gap: 32px;
}
@media (max-width: 767.98px) {
  .topics_wrap {
    flex-flow: column nowrap;
    justify-content: flex-start;
  }
}

.topics_left,
.topics_right {
  width: 100%;
  padding: 0;
  position: relative;
}
@media (min-width: 768px) {
  .topics_left:has(.box_more),
  .topics_right:has(.box_more) {
    padding: 0 0 calc( 16px + var(--site-btn-height) );
  }
}

.topics_wrap .box_more {
  display: flex;
  justify-content: center;
  align-items: center;
}
.topics_wrap .box_more .btn {
  max-width: 280px;
}
@media (min-width: 768px) {
  .topics_wrap .box_more {
    position: absolute;
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
  }
}
@media (max-width: 767.98px) {
  .topics_wrap .box_more {
    margin-top: 16px;
  }
}

.topics_wrap .c_title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border: solid 2px var(--oe-primary);
  color: var(--oe-primary);
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  padding: 20px;
  margin-bottom: 16px;
  gap: 20px;
}
@media (max-width: 767.98px) {
  .topics_wrap .c_title {
    border-width: 1px;
    font-size: 16px;
    padding: 12px 16px;
    gap: 12px;
  }
}
.topics_wrap .c_title::after {
  content: attr(data-small);
  display: block;
  color: var(--font-c);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  margin: 0 0 0 auto;
  transform-origin: right center;
}
.topics_wrap .c_title:has(a)::after {
  display: none;
}
.topics_wrap .c_title > span {
  display: block;
}
.topics_wrap .c_title > a {
  display: block;
  color: var(--font-c);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05ex;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  margin: 0 0 0 auto;
}


/* ============================================================
   c_title 共通（OpenEXPOスタイル）
   ============================================================ */

.c_title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border: solid 2px var(--oe-primary);
  color: var(--oe-deep-teal);
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  padding: 20px;
  margin-bottom: 16px;
  gap: 20px;
  border-radius: 4px;
}
@media (max-width: 767.98px) {
  .c_title {
    border-width: 1px;
    font-size: 16px;
    padding: 12px 16px;
    gap: 12px;
  }
}
.c_title::after {
  content: attr(data-small);
  display: block;
  color: var(--site-c-gray);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  margin: 0 0 0 auto;
}


/* ============================================================
   都道府県検索 (既存流用 + OpenEXPOカラー)
   ============================================================ */

.box_pref {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  padding: 0 0 14px;
}
@media (max-width: 767.98px) {
  .box_pref {
    padding: 0 6px 6px;
  }
}

.box_pref + .box_pref {
  border-top: solid 2px #f2f2f2;
  padding: 14px 0;
}
@media (max-width: 767.98px) {
  .box_pref + .box_pref {
    padding: 6px;
  }
}

.box_pref::before {
  display: block;
  width: 72px;
  content: attr(data-pref-area-name);
  color: var(--oe-primary);
  font-size: 16px;
  font-weight: 700;
}
@media (max-width: 767.98px) {
  .box_pref::before {
    width: 100%;
    margin: 0 0 6px;
  }
}

.box_pref > li {
  margin-right: 8px;
}
@media (max-width: 767.98px) {
  .box_pref > li {
    width: 25%;
    margin: 0;
    padding: 2px;
  }
}

.box_pref a {
  display: block;
  border: solid 2px var(--site-c-main-light);
  border-radius: 4px;
  box-shadow: 2px 2px 0 0 var(--site-c-main-light);
  color: inherit;
  font-size: 12px;
  line-height: 16px;
  text-decoration: none;
  padding: 12px;
  width: 80px;
  text-align: center;
  transition: border-color 0.2s ease;
}
.box_pref a:hover {
  border-color: var(--oe-primary);
}
@media (max-width: 767.98px) {
  .box_pref a {
    padding: 8px;
    width: auto;
  }
}


/* ============================================================
   お知らせ (既存流用)
   ============================================================ */

.home_news_list {
  margin-bottom: 12.5px;
}
@media only screen and (max-width: 767.98px) {
  .home_news_list {
    font-size: 12px;
  }
}
.home_news_list > li,
.home_news_list > li > a {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--font-c);
}
.home_news_list > li {
  padding: 16px;
}
.home_news_list > li + li {
  border-top: solid 1px var(--site-c-gray);
}
.home_news_list > li time {
  color: var(--site-c-gray);
}
.home_news_list > li p {
  width: calc(100% - 120px);
}
@media only screen and (max-width: 767.98px) {
  .home_news_list > li p {
    width: calc(100% - 96px);
  }
}


/* ============================================================
   ポータルベース デフォルトセクション非表示
   （デザインに含まれない module_flow / module_introduction）
   ============================================================ */
.module_flow,
.module_introduction_wrap {
  display: none !important;
}


/* ============================================================
   INDUSTRY CATEGORIES - カテゴリカード
   ============================================================ */
.oe_cat_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

/* --- カード本体 --- */
.oe_cat_card {
  border-top: 4px solid;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .3s;
}
.oe_cat_card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}

/* --- ヘッダー（カテゴリ名 + MORE） --- */
.oe_cat_card__head {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f3f4f6;
}
.oe_cat_card__head h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--site-c-deep-teal, #0e4c5e);
  margin: 0;
}
.oe_cat_card__head h3 a {
  color: inherit;
  text-decoration: none;
}
.oe_cat_card__head h3 a:hover {
  text-decoration: underline;
}

/* MORE ボタン */
.oe_cat_card__more {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
  flex-shrink: 0;
  margin-left: 8px;
}
.oe_cat_card__more:hover {
  filter: brightness(.85);
  opacity: .85;
}

/* --- ボディ --- */
.oe_cat_card__body {
  padding: 16px;
  flex-grow: 1;
}

/* 画像エリア */
.oe_cat_card__img {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}
.oe_cat_card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* グラデーションオーバーレイ */
.oe_cat_card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, transparent 40%, transparent 60%, rgba(0,0,0,.35) 100%);
  opacity: .8;
  transition: opacity .3s;
  pointer-events: none;
}
.oe_cat_card:hover .oe_cat_card__img::after {
  opacity: .5;
}

/* タグエリア */
.oe_cat_card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.oe_cat_card__tags a {
  display: inline-block;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.oe_cat_card__tags a:hover {
  background: #e5e7eb;
  color: var(--site-c-deep-teal, #0e4c5e);
}

/* --- レスポンシブ --- */
@media only screen and (max-width: 1300.98px) {
  .oe_cat_grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media only screen and (max-width: 959.98px) {
  .oe_cat_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media only screen and (max-width: 767.98px) {
  .oe_cat_grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .oe_cat_card__head h3 {
    font-size: 14px;
  }
  .oe_cat_card__tags a {
    font-size: 10px;
  }
}

/* ============================================================
   非表示セクション
   ============================================================ */
/* 都道府県から探す */
#home .home_section:has(.box_pref) {
  display: none;
}
/* お知らせ */
#home .home_section:has(.home_news_list) {
  display: none;
}
