@charset "UTF-8";

/* ---------- あなたにおすすめの出展社 一覧 ---------- */
/* 背景はTOPの「あなたにおすすめの出展社」と同じ画像・同じ白の重ね */
.recommended_area {
  padding: 50px 0 70px;
  background: linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)), url("https://web-asset.io/Kurumobi/2026/Recommended.webp") center / cover no-repeat;
}

@media screen and (max-width: 480px) {
  .recommended_area {
    background-position: 65% center;
  }
}

.technical_field_list .introduction {
  font-size: 1.6rem;
  text-align: center;
  color: #000;
}

.technical_field_list .introduction > span {
  margin-left: 0.25em;
  color: var(--dx-color, #194581);
  font-size: 2.4rem;
  font-weight: 700;
}

@media screen and (max-width: 640px) {
  .technical_field_list .introduction > span {
    display: block;
    margin: 0.2em 0 0;
    font-size: 2rem;
  }
}

/* 分野名が入るまでは「あなたが選択した分野は」の行を出さない */
.technical_field_list .introduction:has(> span:empty) {
  display: none;
}

/* 「分野を変更する」：分野名の下に、マイページと同じグラデーションのボタンで置く */
.technical_field_list .introduction .btn_field_change {
  width: 220px;
  margin: 20px auto 0;
}

/* カードはTOPの講演枠と同じ白の角丸。列数と中身の並びは出展社一覧のカードに合わせる */
.recommended_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 35px 0 50px;
}

@media screen and (max-width: 1024px) {
  .recommended_list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 880px) {
  .recommended_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 640px) {
  .recommended_list {
    grid-template-columns: 1fr;
  }
}

.recommended_list > .item {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
}

.recommended_list .item figure {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid #efefef;
}

/* SPの1列ではロゴが画面いっぱいになるので小さめに */
@media screen and (max-width: 640px) {
  .recommended_list .item figure {
    width: 60%;
    max-width: 220px;
    margin: 0 auto;
  }
}

/* ロゴ未登録の出展社は画像を出さず、薄いグレーの枠だけにする */
.recommended_list .item figure:not(:has(img)) {
  background: #f4f6fa;
}

.recommended_list .item figure a {
  display: block;
  height: 100%;
}

.recommended_list .item figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recommended_list .item .cat {
  align-self: flex-start;
  margin-top: 15px;
  padding: 4px 12px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  background: var(--dx-color, #194581);
  border-radius: 100px;
}

.recommended_list .item .cat:empty {
  display: none;
}

/* 社名はデザインどおり出展社一覧と同じ青 */
.recommended_list .item h4 {
  margin-top: 0.6em;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0070b5;
}

.recommended_list .item .reason_selection {
  margin-top: 0.75em;
  padding: 10px 12px;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333;
  background: #f4f6fa;
  border-radius: 8px;
}

.recommended_list .item .reason_selection:empty {
  display: none;
}

/* タグは共通の .list_tag（黒い角丸）と同じ見た目 */
.recommended_list .item .tag {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin: 15px 0 20px;
}

.recommended_list .item .tag li {
  display: inline-block;
  padding: 3px 15px;
  font-size: 1.2rem;
  line-height: 1;
  color: #fff;
  background: #000;
  border-radius: 10px;
}

.recommended_list .item .btn_grd {
  width: 90%;
  margin: auto auto 0;
}

.recommended_list .item .btn_grd span {
  font-size: 13px;
}

.technical_field_list .btn_grd.back {
  margin: 0 auto;
}

/* 分野が未登録・該当なし・通信エラーのときに一覧の位置に出す文言 */
.recommended_list .no_list_text {
  grid-column: 1 / -1;
  padding: 40px 20px;
  font-size: 1.6rem;
  text-align: center;
  color: #000;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
}

/* 分野未登録のときの「関心のある分野を登録する」ボタン */
.recommended_list .no_list_text .btn_grd {
  margin: 20px auto 0;
}

/* ---------- 関心のある分野の登録（/technical_field/） ---------- */
/* 背景は .recommended_area（おすすめ出展社一覧と同じ） */
.technical_field .introduction,
.technical_field .form_message {
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: center;
  color: #000;
}

/* 「はじめに」の説明（人テクの関連分野選択に合わせた内容）。背景の画像の上でも読めるよう白い枠に入れる */
.technical_field_intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 40px;
  font-size: 1.5rem;
  line-height: 1.9;
  color: #000;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
}

.technical_field_intro .intro_ttl {
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dx-color, #194581);
}

.technical_field_intro ul {
  margin-top: 1em;
}

.technical_field_intro li {
  position: relative;
  padding-left: 1.2em;
  font-size: 1.4rem;
}

/* 文字の「・」はフォントによって上に寄るので、丸を描いて1行目の高さの中央（行の高さ1.9の半分）に置く */
.technical_field_intro li::before {
  content: "";
  position: absolute;
  left: 0.3em;
  top: calc(0.95em - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

@media screen and (max-width: 640px) {
  .technical_field_intro {
    padding: 20px;
    font-size: 1.4rem;
  }

  /* 改行位置は PC の幅に合わせているので、狭い画面では流し込む */
  .technical_field_intro br {
    display: none;
  }
}

/* 「※後から来場者マイページで変更が可能です。」 */
.technical_field .field_note {
  margin-top: 15px;
  font-size: 1.4rem;
  text-align: center;
  color: #000;
}

.technical_field .form_message {
  margin: 35px 0 50px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
}

.technical_field_form .field_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 900px;
  margin: 35px auto 40px;
}

@media screen and (max-width: 640px) {
  .technical_field_form .field_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.technical_field_form .field_list label {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  box-sizing: border-box;
  padding: 16px 18px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

@media screen and (max-width: 640px) {
  .technical_field_form .field_list label {
    padding: 12px;
    font-size: 1.3rem;
  }
}

.technical_field_form .field_list input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--dx-color, #194581);
}

/* 選んだ分野は枠と文字をDXの色に */
.technical_field_form .field_list label:has(input:checked) {
  color: var(--dx-color, #194581);
  background: #eef3fb;
  border-color: var(--dx-color, #194581);
}

/* button 要素に .btn_grd（a 用）を当てるので、ブラウザ既定の見た目を消す */
.technical_field_form button.btn_grd {
  padding: 0;
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.technical_field .btn_grd.back {
  margin: 30px auto 0;
}

/* プレビュー時など、フォームを隠して文言を出すときは注意書きも隠す */
.technical_field_form[style*="none"] + .field_note {
  display: none;
}
