/* ===== hero地図 ===== */
.hero-maps {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  overflow-y: visible;
}

/* =============================
   日本
   ============================= */
.hero-map-jpn {
  position: absolute;
  top: -8%;
  /* ← あなたのスクショ位置近い */
  left: 5%;
  /* ← transform を使わず “座標だけ” で調整 */
  width: 25%;
  opacity: 0.2;
  animation:
    mapFloat 10s ease-in-out infinite,
    mapScale 12s ease-in-out infinite;
}

/* =============================
   AUS
   ============================= */
.hero-map-au {
  position: absolute;
  top: -10%;
  right: 20%;
  width: 37%;
  opacity: 0.2;
  animation:
    mapFloat2 12s ease-in-out infinite,
    mapScale 14s ease-in-out infinite;
}

/* =============================
   NZ
   ============================= */
.hero-map-nz {
  position: absolute;
  top: 0%;
  right: 0%;
  width: 15%;
  opacity: 0.2;
  animation:
    mapFloat2 10s ease-in-out infinite,
    mapScale 12s ease-in-out infinite;
}

@media (max-width: 1200px) and (min-width: 768px) {
  .hero-map-jpn,
  .hero-map-au,
  .hero-map-nz {
    transform-origin: top left;
    scale: calc(0.75 + ((100vw - 768px) / (1200px - 768px)) * 0.25);
  }
}

/* ===== スマホでは非表示 ===== */
@media (max-width: 767px) {
  .hero-map-jpn,
  .hero-map-au,
  .hero-map-nz {
    display: none;
  }
}

/* ======= ゆるいパララックス（CPU軽量） ======= */
@keyframes mapFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(3px) rotate(1deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes mapFloat2 {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(2px) rotate(-1deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* ====== 微スケールで “呼吸感” を追加 ====== */
@keyframes mapScale {
  0% {
    scale: 1;
  }

  50% {
    scale: 1.02;
  }

  100% {
    scale: 1;
  }
}

/* Hero イラスト */

.hero-illust {
  position: absolute;
  top: -250px;
  z-index: 10;
  opacity: 0.95;
}

/* 左女性 */
.hero-illust-left {
  left: -50px;
}

.hero-illust-left img {
  width: 270px;
  height: auto;
}

/* 右男性 */
.hero-illust-right {
  right: 20px;
}

.hero-illust-right img {
  width: 240px;
  height: auto;
}

@media (max-width: 1199.98px) {
  .hero-illust {
    top: -220px;
  }

  .hero-illust-left {
    left: 0px;
  }

  .hero-illust-right {
    right: 40px;
  }

  .hero-illust-left img {
    width: 220px;
  }

  .hero-illust-right img {
    width: 220px;
  }
}
@media (max-width: 1070px) {
  .hero-illust-left {
    left: -10px;
  }

  .hero-illust-right {
    right: 20px;
  }

  .hero-illust-left img {
    width: 200px;
  }

  .hero-illust-right img {
    width: 190px;
  }
}

@media (max-width: 991px) {
  .hero-illust {
    top: -170px;
  }
  .hero-illust-left img {
    width: 160px;
  }

  .hero-illust-right img {
    width: 150px;
  }
}

@media (max-width: 918px) {
  .hero-illust {
    display: none;
  }
}

/* 業種チェックボックス：Bootstrapのrow/col構造を壊さず整える */
.industry-checklist{
  width: 100%;
}

.industry-checklist .industry-group{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* form-checkのズレ防止 */
.industry-checklist .form-check{
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.industry-checklist .form-check-input{
  margin-top: 2px;
  flex: 0 0 auto;
}

.industry-checklist .form-check-label{
  line-height: 1.35;
  white-space: normal;
}


/* =========================================
   掲載サービス
========================================= */

.section-services {
  background-color: #333333;
  /* XDの濃いグレー */
  padding-top: 60px;
  padding-bottom: 70px;
  color: #ffffff;
  text-align: center;
}

.section-services .section-title {
  font-family: "Source Han Serif JP", "源ノ明朝", serif;
  font-weight: 700;
  color: #303a71;
  /* 紺 */
  font-size: 28px;
  text-align: center;
}

/* グリッドの上下余白 */
.featured-services {
  padding: 40px 0 60px;
}

/* カード全体 */
.service-card-vertical {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: 0.25s;
  /*height: 100%;*/
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* ホバー */
.service-card-vertical:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 上段：ロゴ + 右のカテゴリ＆タイトル */
.service-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* ロゴ枠 */
.service-thumb {
  width: 70px;
  height: 70px;
  border-radius: 4px;
  display: flex;
  border: #efefef 1px solid;
  overflow: hidden;
  flex-shrink: 0;
}

/* ロゴ画像 */
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 右ブロック（カテゴリ＋Trading Name） */
.service-info-block {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* カテゴリ */
.category-badge {
  font-size: 11px;
  background: #aaa;
  color: #fff;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 6px;
  display: inline-block;
  width: fit-content;
}
/* Trading Name */
.service-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  margin: 0;
  color: var(--color-black);
}

/* リード文 */
.service-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--color-black);

  /* 行数制限（XD の “…” と一致）*/
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* カード間の余白（スマホ時） */
@media (max-width: 767px) {
  .service-card-vertical {
    /*margin-bottom: 20px;*/
  }
}

/* XSスマホ（iPhone SE / 375px）微調整 */
@media (max-width: 480px) {
  .service-card-vertical {
    padding: 15px;
  }

  .service-thumb {
    width: 52px;
    height: 52px;
  }

  .category-badge {
    font-size: 10px;
    padding: 3px 7px;
  }

  .service-title {
    font-size: 14px;
  }

  .service-text {
    font-size: 12px;
    margin-top: 12px;
    -webkit-line-clamp: 3;
    /* スマホは1行増やして可読性UP */
  }
}

/* =========================================
   News & Column
========================================= */

.section-news {
  background-color: #f8f8f8;
  padding-top: 56px;
  padding-bottom: 72px;
}

.news-section-title {
  color: var(--color-navy);
  font-size: 1.6rem;
}

.news-list {
  margin: 0;
}

.news-item {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px 16px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  margin-bottom: 12px;
}

.news-date {
  font-size: 0.8rem;
  color: #777777;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.news-date i {
  font-size: 0.85rem;
}

.news-title-link {
  font-size: 1rem;
  font-weight: 600;
}

.news-title-link:hover {
  text-decoration: underline;
}

.news-excerpt {
  font-size: 0.9rem;
  margin-top: 4px;
  margin-bottom: 0;
  color: #555555;
}

.news-item.is-new .news-date {
  position: relative;
}

.news-item.is-new .news-date::after {
  content: "NEW!";
  display: inline-block;
  background: #bc002d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 12px;
  margin-left: 6px;
  animation: newPulse 1.8s ease-in-out infinite;
}

@keyframes newPulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(1.06);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* =========================================
   Banners
========================================= */

.section-banners {
  background-color: #ffffff;
  padding-top: 48px;
  padding-bottom: 48px;
}

.banner-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.banner-card img {
  display: block;
  width: 100%;
  height: auto;
}

/*=============================
     company-form page
=============================*/

/* 基本レイアウト： */
.business-list-page .inner {
  width: 1200px;
  max-width: 94%;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 2;
}

.business-list-page .inner2 {
  width: 1200px;
  max-width: 94%;
  margin: -74px auto -50px;
  padding: 0;
  position: relative;
  z-index: 2;
}

.business-list-page .hero-card {
  margin-bottom: 30px;
}

/* ----------------------------------------------------------
   ページ用ヒーロー
---------------------------------------------------------- */
.company-form-hero {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  z-index: 1;
  background-image: url("/wp-content/themes/j-business-nexus/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.company-form-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(48, 58, 113, 0.85) 0%,
    rgba(48, 58, 113, 0) 100%
  );
  z-index: 1;
}

.company-form-hero-inner {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
}

.company-form-hero-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

/* ----------------------------------------------------------
   hero-card（カテゴリチェックパネル）
---------------------------------------------------------- */
.hero-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 3;
}

.industry-form .form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 2px solid #ccc;
}

.industry-group .form-check {
  margin-bottom: 10px;
}

/* ----------------------------------------------------------
   カテゴリ選択後の案内テキスト＆矢印
---------------------------------------------------------- */
.biz-select-guide {
  text-align: center;
  margin: 0 0 20px;
}

.biz-select-guide-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0;
}

/* 下向き矢印：ゆっくり上下に誘導するアニメーション */
.biz-select-guide-arrow {
  font-size: 40px;
  color: var(--color-orange);
  animation: guideArrowFloat 2s ease-in-out infinite;
}

@keyframes guideArrowFloat {
  0% {
    transform: translateY(0);
    opacity: 0.4;
  }

  50% {
    transform: translateY(10px);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
}

/* ----------------------------------------------------------
   カテゴリ見出し（画面幅100％の紺帯）
---------------------------------------------------------- */
.business-category-title-wrap {
  margin: 0 0 20px;
}

.business-category-title {
  background: #303a71;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  padding: 14px 0;
  margin: 0;

  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;

  border-radius: 0;
}

.business-category-title .biz-cat-name {
  white-space: nowrap;
}

.business-category-title .biz-cat-count {
  font-family:
    "Noto Sans JP",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  font-weight: 400;
}

/* ----------------------------------------------------------
   企業カード一覧ラッパ
---------------------------------------------------------- */
.company-grid {
  margin-bottom: 40px;
}

/* ----------------------------------------------------------
   共通カードスタイル
---------------------------------------------------------- */
.company-card {
  position: relative;
  background: #fff;
  /*border: 1px solid #e3e3e3;*/
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
  transition: 0.25s;
  height: 100%;
}

.company-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* 選択時 */
.company-card.selected {
  background: rgba(255, 182, 0, 0.1);
  border-color: #ffb600;
}

/* 右上チェック */
.check-wrap {
  position: absolute;
  top: 14px;
  right: 14px;
}

.company-check {
  width: 18px;
  height: 18px;
}

.form-check-input:checked {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
}

.company-card .company-check {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* チェック時 */
.company-card .company-check:checked {
  background: #ffb600;
  border-color: #ffb600;
}

/* チェックマーク */
.company-card .company-check:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

/* ホバー時 */
.company-card .company-check:hover {
  box-shadow: 0 0 0 3px rgba(255, 182, 0, 0.25);
}

/* ----------------------------------------------------------
   通常カード内
---------------------------------------------------------- */

/* 上段：ロゴ＋国＋社名だけ横並び */
.company-card-inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

/* ロゴ */
.company-logo {
  width: 70px;
  flex-shrink: 0;
}

.company-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 4px;
}


.company-closed-note,
.company-none-registered {
  font-size: 0.9rem;
  color: var(--color-red);
}


/* 右側（国＋社名だけ入れる） */
.company-content {
  flex: 1;
}

/* 国＋社名は縦並び */
.company-header {
  display: block;
}

/* 日本業対応可バッヂ */
.company-card .company-header .jbn-badge.jp-support{
  display: inline-block !important;
  padding: 3px 8px !important;
  margin-right: 8px !important;
  border: 1px solid #e85a2a !important;
  color: #e85a2a !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  background: transparent !important;
  white-space: nowrap !important;
}



/* エリアバッヂ */
.country-pill {
  display: inline-block;
  padding: 4px 10px;
  margin-right: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  line-height: 1;
  color: #fff;
  width: fit-content;
}

/* エリアバッヂ 国 */
.country-pill-au,
.country-pill.au {
  background: #05750b;
}

.country-pill-nz,
.country-pill.nz {
  background: #333;
}

/* エリアバッヂ 州 */
.country-pill-au_nsw { background: #0ea116; }
.country-pill-au_vic { background: #0ea116; }
.country-pill-au_qld { background: #0ea116; }
.country-pill-au_sa  { background: #0ea116; }
.country-pill-au_wa  { background: #0ea116; }
.country-pill-au_tas { background: #0ea116; }
.country-pill-au_act { background: #0ea116; }
.country-pill-au_nt  { background: #0ea116; }


/* ----------------------------------------------------------
   広告主カード
---------------------------------------------------------- */

/* 全体：左右50% */
.company-card.is-sponsor .company-card-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* 左・右 50% */
/*.company-card.is-sponsor .sponsor-left,
.company-card.is-sponsor .sponsor-right {
  width: 50%;
}
*/
/* ---------- 左側 上段：ロゴ左・国＋会社名右 ---------- */
.company-card.is-sponsor .sponsor-header-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

/* ロゴ */
.company-card.is-sponsor .company-logo {
  width: 70px;
  flex-shrink: 0;
}

.company-card.is-sponsor .company-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 6px;
}

/* 国＋会社名 */
.company-card.is-sponsor .company-header {
  display: block;
}

.company-card.is-sponsor .company-name {
  font-size: 18px;
  font-weight: 700;
  margin-top: 6px;
}

/* ---------- 画像回り込み ---------- */
.company-logo-inner.is-float-right {
  float: right;
  width: 50%;
  margin: 0 0 12px 16px; /* 左に余白 */
}

.company-card.is-sponsor .company-logo-inner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* float解除（安全対策） */
.sponsor-right::after {
  content: "";
  display: block;
  clear: both;
}

/* ---------- 右側 文章 ---------- */
.company-card.is-sponsor .sponsor-lead {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.company-desc {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- SP時は縦並び ---------- */
@media (max-width: 767px) {
  .company-card.is-sponsor .company-card-inner {
    flex-direction: column;
  }

  .company-card.is-sponsor .sponsor-left,
  .company-card.is-sponsor .sponsor-right {
    width: 100%;
  }
}

/* カテゴリー共通お問い合わせ欄 */
.category-common-inquiry {
  max-width: 900px;
  margin: 50px auto 40px;
  text-align: center;
}

.category-common-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #303a71;
  margin-bottom: 16px;
}

.category-common-textarea {
  width: 100%;
  max-width: 720px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.7;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  resize: vertical;
}

.category-common-textarea:focus {
  outline: none;
  border-color: #ffb600;
  box-shadow: 0 0 0 3px rgba(255, 182, 0, 0.25);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(255, 182, 0, 0.25);
}

/* ----------------------------------------------------------
   フォーム前の案内
---------------------------------------------------------- */
.biz-bottom-guide {
  text-align: center;
  margin: 80px 0 50px;
}

/* ----------------------------------------------------------
   フォームエリア
---------------------------------------------------------- */
.form-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0 0 28px;
  text-align: center;
  color: var(--color-navy);
}

.form-area {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  padding: 40px 40px;
  margin-bottom: 100px;
}

/* ----------------------------------------------------------
   SP
---------------------------------------------------------- */
@media (max-width: 767px) {
  .company-form-hero {
    min-height: 220px;
  }

  .company-form-hero-title {
    font-size: 24px;
  }

  .hero-card {
    padding: 22px 18px;
    margin-top: 50px;
  }

  .business-category-title-wrap {
    margin: 40px 0 16px;
  }

  .company-card {
    padding: 18px 18px;
  }

  .company-card-inner {
    flex-direction: row;
  }

  /* 広告カード SP */
  .company-card.is-sponsor .company-card-inner {
    flex-direction: column;
  }

  .company-card.is-sponsor .company-logo {
    width: 100%;
    flex: unset;
  }

  .company-card.is-sponsor .company-logo-inner img {
    /*    width: calc(50% - 5px);
    height: 100px;*/
  }
}

/* ===============================
  共通お問い合わせ案内
=============================== */
.biz-common-inquiry {
  text-align: center;
  margin: 80px 0 20px;
}

.biz-common-inquiry-text {
  font-size: 16px;
  font-weight: 700;
  color: #1f2f60;
}

/* 下向き矢印アニメーション */
.guide-bounce {
  animation: bounceArrow 1.8s infinite;
}

@keyframes bounceArrow {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* ===============================
   お問い合わせ内容（カテゴリ別エリア）
=============================== */

.form-inquiry-group {
  margin-top: 32px;
}

/* 見出し＋説明 */
.form-group--headline {
  margin-bottom: 14px;
}

.form-group--headline .form-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  border-left: 4px solid #ffb600;
  padding-left: 8px;
}

.form-group--headline .required {
  color: #ff4b4b;
  margin-left: 4px;
}

.form-inquiry-note {
  font-size: 0.95rem;
  color: #555;
  margin: 1.5rem 0 1rem 0;
}

/* 各カテゴリバー + 本文エリア */
.inquiry-item {
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
  transition:
    border-color 0.25s,
    background-color 0.25s,
    box-shadow 0.25s;
}

/* 開いているときのハイライト */
.inquiry-item.is-open {
  border-color: #ffb600;
  background: #fff8e8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* タイトルバー */
.inquiry-toggle {
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
}

.inquiry-title {
  font-weight: 600;
}

.inquiry-icon {
  font-size: 0.9rem;
  color: #ffb600;
}

/* テキストエリア部分 */
.inquiry-body {
  border-top: 1px dashed #ddd;
  padding: 10px 14px 12px;
}

/* 閉じているときは非表示に */
.inquiry-item:not(.is-open) .inquiry-body {
  display: none;
}

.inquiry-body textarea {
  width: 100%;
  min-height: 140px;
  border: none;
  resize: vertical;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}

/* placeholder 色 */
.inquiry-body textarea::placeholder {
  color: #bbb;
}

/* フォーカス時 */
.inquiry-body textarea:focus {
  outline: none;
}

/* スマホ */
@media (max-width: 768px) {
  .inquiry-toggle {
    padding: 10px 10px;
  }
  .inquiry-body {
    padding: 8px 10px 10px;
  }
}

/* ===============================
  フォーム見出し・注意書き
=============================== */

.form-attention {
  text-align: center;
  font-size: 1rem;
  /*color: #333;*/
  margin-bottom: 32px;
  line-height: 1.7;
}

.form-attention-icon {
  display: inline-block;
  background: #ff4b4b;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  margin-right: 6px;
  font-size: 12px;
}

/* 注意文の中でオレンジハイライトにしたい部分用 */
.form-attention-highlight,
.is-required {
  background: rgba(255, 182, 0, 0.25);
  padding: 0 6px;
  border-radius: 3px;
  font-weight: 700;
  color: #333;
}

/* 必須ラベル：* を復活 */
label.is-required::after{
  content:" *";
  color: #e60000;
  font-weight:700;
}


/* 必須マーク（*）は赤 */
.required {
  color: #e60000;
  font-weight: bold;
  margin-left: 2px;
}

/* 必須説明のハイライト帯 */
.required-note {
  background: rgba(255, 182, 0, 0.25);
  padding: 4px 8px;
  border-radius: 3px;
  display: inline-block;
  font-size: 0.9rem;
}

/* 赤いアスタリスク */
.required-asterisk {
  color: #e60000;
  font-size: 1rem;
  font-weight: bold;
  margin-right: 4px;
}

/* ===============================
  フォーム全体（1200px 幅）
=============================== */
.form-area {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
  padding: 36px 48px 48px;
  margin: 0 auto 120px;
  max-width: 1200px;
  width: 100%;
}

.business-form {
  width: 100%;
}

/* ===============================
  2カラムレイアウト
=============================== */
.form-row {
  display: flex;
  gap: 40px;
}

.form-col {
  width: 50%;
}

/* ===============================
  各入力項目
=============================== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: inline-block;
  font-size: 1rem;
  /* 1rem */
  font-weight: 700;
  /* 太字 */
  color: #333;
  margin-bottom: 8px;
  padding-left: 6px;
  border-left: 4px solid var(--color-orange);
}

.radio-group label {
  border: none;
  padding-left: 0;
  font-weight: normal !important;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 1rem;
  /* 入力文字も1rem */
  transition: 0.2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff8c00;
  box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.15);
}

.form-group.full {
  margin-top: 20px;
  width: 100%;
}

/* ===============================
  ラジオボタン（カスタムデザイン）
=============================== */
.radio-group {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

/* 見た目カスタム */
.radio-group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  padding: 12px;
  border-radius: 50%;
  border: 2px solid #ffb600;
  position: relative;
  cursor: pointer;
  transition: 0.2s;
  background: #fff;
}

.radio-group input[type="radio"]:hover {
  box-shadow: none;
}

.radio-group input[type="radio"] {
  border-color: #ccc;
}

.radio-group input[type="radio"]:checked {
  border-color: var(--color-orange);
  background: var(--color-orange);
}

.radio-group input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ===============================
  placeholder 文字色・透明度
=============================== */

/* Chrome / Edge / Safari */
.form-group ::placeholder {
  color: #ccc;
  opacity: 1;
  /* Safari対策 */
}

/* Firefox */
.form-group ::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}

/* IE（不要なら消してOK） */
.form-group :-ms-input-placeholder {
  color: #666;
}

/* フォーカス時に薄くする場合 */
.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
  color: #eee;
}

/* ===============================
  送信ボタン（オレンジ統一）
=============================== */
.form-submit {
  text-align: center;
  margin-top: 40px;
}

.btn-submit {
  background: #ffb600;
  /* 他ボタンに合わせたオレンジ */
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 46px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: none;
}

.btn-submit:hover {
  background: #e8a800;
  opacity: 0.9;
}

/* ===============================
  スマホ対応
=============================== */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .form-col {
    width: 100%;
  }

  .form-area {
    padding: 26px 20px 34px;
  }

  .form-title {
    font-size: 1.4rem;
  }
}


/* =========================================================
   Sponsor Featured Card
   ========================================================= */

/* 2カラム本体（右カラム開始＝ロゴ上端に揃う） */
.company-card.is-sponsor .sponsor-layout{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  align-items: start;
}

/* 左カラム上部：通常カードと同じ見え方（ロゴ左／右に会社情報） */
.company-card.is-sponsor .sponsor-top-like-normal{
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 12px 0;
}

/* ロゴ画像 */
.company-card.is-sponsor .sponsor-top-like-normal .company-logo img{
  display: block;
  max-width: 100%;
  height: auto;
}

/* 会社情報 */
.company-card.is-sponsor .sponsor-top-like-normal .company-content{
  flex: 1 1 auto;
  min-width: 0;
}

/* sponsor-lead（見出し） */
.company-card.is-sponsor .sponsor-lead{
  margin: 0 0 10px 0;
}

/* 左右本文の段落余白 */
.company-card.is-sponsor .sponsor-body p{
  margin: 0 0 10px 0;
  font-size: .95rem;
  line-height: 1.7;
}

/* 右カラム：画像を右上float（右本文が回り込み） */
.company-card.is-sponsor .sponsor-right-float{
  float: right;
  width: 50%;
  max-width: 520px;
  margin: 0 0 14px 24px;
}

.company-card.is-sponsor .sponsor-right-float img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* float解除 */
.company-card.is-sponsor .sponsor-clear{
  clear: both;
}

/* 会社名横：— Premium Sponsor */
.company-card.is-sponsor .sponsor-badge-inline{
  font-weight: 400;
  font-size: 0.9em;
  color: #9aa0a6; /* 薄めグレー */
  margin-left: 8px;
  white-space: nowrap;
}

/* 画像なしでも2カラム維持（本文後半は右カラムに流す） */
.company-card.is-sponsor .sponsor-layout.no-image{
  grid-template-columns: 1fr 1fr;
}

/* 横スクロール原因：カテゴリ見出し(h2)の微妙なはみ出しを抑止 */
h2.business-category-title{
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
  left: auto;
  right: auto;
  transform: none;
}

/* =========================================
   Feature / Sponsor card: EN崩れ（長い単語/URL）対策
========================================= */

/* まずは sponsorカード内のテキスト領域を「折り返し可能」にする */
.company-card.is-sponsor,
.company-card.is-sponsor *{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* grid/flexの子要素は min-width:auto だと縮められずはみ出す → min-width:0 が必須 */
.company-card.is-sponsor .company-card-inner,
.company-card.is-sponsor .company-content,
.company-card.is-sponsor .sponsor-layout,
.company-card.is-sponsor .sponsor-left,
.company-card.is-sponsor .sponsor-top-like-normal,
.company-card.is-sponsor .sponsor-body,
.company-card.is-sponsor .sponsor-body-left,
.company-card.is-sponsor .sponsor-body-right,
.company-card.is-sponsor .sponsor-rightcol{
  min-width: 0;
}

/* 本文は段落・リストも含めて確実に折り返す */
.company-card.is-sponsor .company-desc,
.company-card.is-sponsor .company-desc p,
.company-card.is-sponsor .company-desc li{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* URLやaaaaaaaaaa...のような連続文字をさらに強制改行したい場合 */
.company-card.is-sponsor a{
  word-break: break-all;
}

/* 画像側が原因で横幅を押し広げるケースを防ぐ */
.company-card.is-sponsor img{
  max-width: 100%;
  height: auto;
}

/* 右カラム（sponsor-rightcol）が横幅を主張しすぎる場合の保険 */
.company-card.is-sponsor .sponsor-rightcol{
  max-width: 100%;
}


/* SP：縦積み */
@media (max-width: 991px){
  .company-card.is-sponsor .sponsor-layout{
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .company-card.is-sponsor .sponsor-top-like-normal{
    display: block;
  }

  .company-card.is-sponsor .sponsor-top-like-normal .company-logo{
    width: auto;
    max-width: none;
    margin-bottom: 10px;
  }

  .company-card.is-sponsor .sponsor-right-float{
    float: none;
    width: 100%;
    max-width: none;
    margin: 12px 0 12px 0;
  }
}


/* TOP ページ企業リストスライダー */
.jbn-company-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.jbn-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.92);
  position: relative;
}

.jbn-nav::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.jbn-prev::before { transform: translate(-50%, -50%) rotate(-135deg); }
.jbn-next::before { transform: translate(-50%, -50%) rotate(45deg); }

.jbn-logo-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: rgba(0,0,0,0.06);
}

/* =========================================================
   TOP Company Cards (hover + focus ring fix)
   ======================================================= */

/* カード自体：角丸・影・はみ出し防止 */
.jbn-company-card.service-card-vertical{
  border-radius: 14px;
  overflow: hidden;              /* hover時に角丸が欠けるのを防ぐ */
  transform: translateZ(0);      /* 変形時の描画安定 */
  transition: transform .18s ease, box-shadow .18s ease;
}

/* ホバー：少し浮かせる（必要なら数値調整） */
.jbn-company-card.service-card-vertical:hover{
  transform: translateY(-3px);
}

/* クリック後の青い枠（フォーカスリング）を抑制 */
.jbn-company-card.service-card-vertical:focus{
  outline: none !important;
}
.jbn-company-card.service-card-vertical:focus-visible{
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.35); /* 必要なら 0 にして完全無効もOK */
}

/* =========================================================
   Modal only (scope: .jbn-company-modal)
   ======================================================= */

.jbn-company-modal .modal-dialog{
  padding-left: 12px;
  padding-right: 12px;
}

.jbn-company-modal .jbn-modal-content{
  border: 0;
  border-radius: 18px;
  background: #fff;
  padding: 24px 26px;        /* ← パディングをここで保証 */
  position: relative;
}

/* close */
.jbn-company-modal .jbn-modal-close{
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  opacity: 1;
}

/* top row */
.jbn-company-modal .jbn-modal-top{
  display: flex;
  align-items: center;
  gap: 16px;
}

/* logo: 背景グレー無し、正方形に寄せる */
.jbn-company-modal .jbn-modal-logo{
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;   /* ← グレー撤去 */
  border-radius: 12px;
  flex: 0 0 auto;
}

.jbn-company-modal .jbn-modal-logo img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* title */
.jbn-company-modal .jbn-modal-title{
  font-size: 18px;
  font-weight: 700;
  margin-top: 6px;
}

/* area pills container */
.jbn-company-modal .jbn-modal-areaPills{
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

/* modal description */
.jbn-company-modal .jbn-modal-desc{
  margin-top: 14px;
  white-space: pre-wrap;
  line-height: 1.85;
  font-size: 15px;
}

/* small */
@media (max-width: 575px){
  .jbn-company-modal .jbn-modal-content{
    padding: 18px 18px;
  }
  .jbn-company-modal .jbn-modal-logo{
    width: 72px;
    height: 72px;
  }
}

.inquiry-toggle,
.inquiry-toggle * {
  pointer-events: auto !important;
}

.inquiry-item::before,
.inquiry-item::after {
  pointer-events: none !important;
}


/* =========================================
   Cookie UI – Banner + Modal（RESTORED + FIXED）
   ========================================= */

/* hidden control */
.jbn-cookie-banner[hidden],
.jbn-cookie-reopen[hidden] {
    display: none !important;
}

/* ===============================
   Banner
   =============================== */
.jbn-cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 99990;
}

.jbn-cookie-banner__inner {
    max-width: 1180px;
    margin: 0 auto;
    background: rgba(22, 29, 38, 0.96);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
    padding: 18px 20px;

    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.jbn-cookie-banner__content {
    flex: 1 1 auto;
    min-width: 0;
}

.jbn-cookie-banner__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.jbn-cookie-banner__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,.92);
}

.jbn-cookie-banner__text a {
    color: #fff;
    text-decoration: underline;
}

.jbn-cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

/* ===============================
   Buttons
   =============================== */
.jbn-cookie-btn {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    min-width: 140px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: all .2s ease;
}

.jbn-cookie-btn:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.jbn-cookie-btn--primary {
    background: #ffffff;
    color: #16202b;
}

.jbn-cookie-btn--secondary {
    background: #67c6f3;
    color: #ffffff;
}

.jbn-cookie-btn--muted {
    background: #7f7f7f;
    color: #ffffff;
}

/* ===============================
   Modal Wrapper
   =============================== */
.jbn-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.jbn-cookie-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* backdrop */
.jbn-cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.jbn-cookie-modal[aria-hidden="false"] .jbn-cookie-modal__backdrop {
    opacity: 1;
}

/* ===============================
   Modal Dialog
   =============================== */
.jbn-cookie-modal__dialog {
    position: relative;
    z-index: 1;

    width: calc(100% - 24px);
    max-width: 640px;

    background: rgba(34, 34, 34, 0.98);
    color: #fff;

    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(0,0,0,.30);
    overflow: hidden;

    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.jbn-cookie-modal[aria-hidden="false"] .jbn-cookie-modal__dialog {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   Header
   =============================== */
.jbn-cookie-modal__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.jbn-cookie-modal__header h2 {
    margin: 0;
    padding-right: 40px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

/* close */
.jbn-cookie-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;

    background: rgba(255,255,255,.12);
    color: #fff;

    font-size: 16px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: all 0.2s ease;
}

.jbn-cookie-modal__close:hover {
    background: #67c6f3;
    color: #000;
}

/* ===============================
   Body
   =============================== */
.jbn-cookie-modal__body {
    padding: 22px 26px;
}

.jbn-cookie-modal__desc {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,.92);
}

/* option */
.jbn-cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.jbn-cookie-option:last-child {
    border-bottom: none;
}

.jbn-cookie-option__text {
    flex: 1;
}

.jbn-cookie-option__text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
}

.jbn-cookie-option__text p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.9;
}

.jbn-cookie-option__control {
    flex-shrink: 0;
}

.jbn-cookie-option__control input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #67c6f3;
}

/* ===============================
   Footer
   =============================== */
.jbn-cookie-modal__footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 18px 22px 22px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.jbn-cookie-modal__footer .jbn-cookie-btn {
    min-width: 140px;
}

/* ===============================
   Reopen Button
   =============================== */
.jbn-cookie-reopen {
    position: fixed;
    right: 88px;
    bottom: 84px;
    z-index: 99980;

    border-radius: 999px;
    padding: 11px 16px;

    background: #16202b;
    color: #fff;

    font-size: 13px;
    font-weight: 700;

    box-shadow: 0 8px 22px rgba(0,0,0,.18);
    cursor: pointer;
    transition: all .2s ease;
}

.jbn-cookie-reopen:hover {
    opacity: .92;
    transform: translateY(-1px);
}

/* ===============================
   Mobile
   =============================== */
@media (max-width: 767px) {
    .jbn-cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .jbn-cookie-banner__inner {
        display: block;
        padding: 16px;
    }

    .jbn-cookie-banner__actions {
        margin-top: 14px;
        justify-content: flex-start;
    }

    .jbn-cookie-btn {
        width: 100%;
        min-width: 0;
    }

    .jbn-cookie-modal__dialog {
        width: calc(100% - 20px);
        transform: translateY(14px);
    }

    .jbn-cookie-modal[aria-hidden="false"] .jbn-cookie-modal__dialog {
        transform: translateY(0);
    }

    .jbn-cookie-option {
        flex-direction: column;
        align-items: flex-start;
    }

    .jbn-cookie-option__control {
        margin-top: 6px;
    }

    .jbn-cookie-modal__footer {
        flex-direction: column;
    }

    .jbn-cookie-modal__footer .jbn-cookie-btn {
        width: 100%;
    }

    .jbn-cookie-reopen {
        right: 16px;
        bottom: 25px;
    }
}

/* =========================================================
   Final top page text adjustments
   ======================================================= */
.hero-lead-emphasis {
  display: inline-block;
  font-size: 1.3em;
  font-weight: 700;
}

.hero-lead-en {
  line-height: 1.55;
}

@media (max-width: 767px) {
  .hero-lead-emphasis {
    font-size: 1.08em;
  }
}
/* =======================================================*/

.form-attention-icon {
  font-size: 14px;
  width: 20px;
  height: 20px;
  line-height: 20px;
}

.required,
.required-asterisk,
label.is-required::after {
  font-size: 1.25em;
  line-height: 1;
}
