@charset "utf-8";

body.result .contents {
  padding-top: 0px;
}

body.result .main_contents .search_area h3.c_title {
  margin-top: 0px;
}

.search_exhibitor .main_contents .search_area h3.c_title {
  display: none;
}

body.search_field .contents .search_area {
  padding-top: 80px;
}

body.search_field .contents .search_area .c_title {
  text-align: center;
  width: 100%;
}

.search_area_2026 .search_ai_note{
  padding-left: 0;
}
.ai_chat_btn_text {
    font-size: 1.3rem;
  }
/* "もっと詳しく検索する" ボタンは非表示（PHP 側でも出力抑止しているが念のため） */
body.result .search_area.search_area_2026 .search_top_wrap .btn_search_all {
  display: none;
}

/* AIサーチ結果のみcss */
.ai_text_result {
  display: none;
}
.ai_search .ai_text_result {
  display: block;
  position: relative;
  margin-left: 120px;
  padding: 20px;
  border-radius: 10px;
  background-color: rgb(var(--cl-yokohama-dark-rgb), .3);
}
.ai_search .ai_text_result::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: -125px;
    top: 50%;
    transform: translateY(-50%);
  line-height: 1;
  z-index: 2;
  height: 140px;
  width: 120px;
  background: url(../images/robot_result.webp);
  background-size: contain;
  background-repeat: no-repeat;
}
.ai_search .ai_text_result::after {
    content: "";
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    border: 20px solid transparent;
    border-right: 30px solid rgb(var(--cl-yokohama-dark-rgb), .3);
}
.ai_search .ai_text_result .result_txt{
  text-align: left;
  color: var(--cl-navy);
}
.ai_search .ai_text_result .result_txt:nth-child(2):before,
.ai_search .ai_text_result .result_txt.sinonim:before{
    margin-right: 0px;
    display: none;
}
.ai_search .ai_text_result .result_txt.sinonim span{
    display: block;
}


/* 本ページのみcss */
body.search_field .list_field {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  margin-top: 1em;
}

body.search_field .list_field li {
  width: 33.3333333%;
  padding-right: 1em;
  margin-bottom: 1.5em;
  font-weight: 600;
}

@media screen and (max-width: 767px) {
  body.search_field .list_field li {
    width: 50%;
  }
}

@media screen and (max-width: 540px) {
  body.search_field .list_field li {
    width: 100%;
    padding-right: 0em;
    margin-bottom: 1em;
  }
}

/*Checkboxes styles*/
body.search_field .main_contents button {
  font-size: 1.8rem;
  color: var(--cl-contrast);
}

body.search_field .search_area .btns .btn {
  padding: 0;
}

body.search_field input[type="submit"] {
  -webkit-appearance: none;
  border-radius: 0;
}

body.search_field .list_field input[type="checkbox"] {
  display: none;
}

body.search_field .list_field input[type="checkbox"] + span {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  font: 20px;
  color: #ddd;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

body.search_field .list_field input[type="checkbox"] + span:last-child {
  margin-bottom: 0;
}

body.search_field .list_field input[type="checkbox"] + span:before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid #b7c800;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.6;
  -webkit-transition: all 0.12s, border-color 0.08s;
  transition: all 0.12s, border-color 0.08s;
}

body.search_field .list_field input[type="checkbox"]:checked + span:before {
  width: 10px;
  top: -5px;
  left: 5px;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.result_txt_cont {
  text-align: center;
  font-weight: bold;
  font-size: 1.8rem;
}

.result_txt_cont .result_txt {
  font-weight: bold;
  color: #c0c0c0;
  display: block;
}

.result_txt_cont .result_txt + .result_txt {
  margin-top: 3px;
}

.result_txt_cont .result_txt:before {
  font-family: "Material Icons";
  content: "search";
  margin-right: 3px;
  vertical-align: middle;
}

.result_txt_cont p:not(.result_txt) {
  margin-top: 5px;
  font-size: 1.6rem;
}

.result_txt_cont .yg_txt {
  color: var(--cl-yokohama);
  font-size: 2.2rem;
  font-weight: bold;
}

.search_result_list {
  padding-top: 30px;
  padding-bottom: 70px;
}

.list_item {
  background-color: var(--cl-contrast);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  color: #000;
  padding: 30px;
  margin-bottom: 30px;
}

.list_item a {
  display: block;
  width: 100%;
  color: #000;
}

.list_item .col {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.list_item .col a {
  width: calc(100% - 170px);
}

.list_item h4 {
  font-weight: bold;
  font-weight: 700;
  font-size: 1.5em;
  margin-bottom: 0.25em;
  color: rgb(0, 139, 213);
}
.nagoya .list_item h4 {
  color: #dc1b0b;
}

.list_item h4 mark {
  font-weight: bold;
  font-weight: 700;
  color: rgb(0, 139, 213);
}

.list_item h5 {
  color: #9aa800;
  font-size: 1.1em;
  margin-bottom: 0.25em;
}

.list_item h5 mark {
  font-weight: 600;
  color: #9aa800;
}

.list_item h6 {
  font-size: 1.1em;
  margin-bottom: 0.25em;
}

.list_item h6 mark {
  font-weight: 600;
}

.visitlist_btn {
  background-color: rgb(0, 139, 213);
  /* background-color: var(--cl-red); */
  display: block;
  width: 160px;
  height: fit-content;
  text-align: center;
  color: var(--cl-contrast);
  font-weight: bold;
  font-size: 0.85em;
  line-height: 1;
  padding: 8px 4px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.nagoya .visitlist_btn {
  background-color: var(--cl-red);
}

.visitlist_btn::before {
  font-family: "Material Icons";
  content: "directions_walk";
  font-size: 1.4em;
  margin-right: 3px;
  vertical-align: sub;
}

.visitlist_btn.on {
  background-color: #939393;
}

.com_txt {
  font-size: 0.9em;
}

.com_name {
  font-size: 0.9em;
  font-weight: bold;
  font-weight: 700;
  text-align: right;
  margin-top: 0.5em;
}

.real_txt {
  font-size: 0.8em;
}

.sub_list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.5em;
  /* margin-top: 25px; */
}

.sub_list_item {
  /* width: 32%; */
  /* margin-right: 2%; */
  width: 100%;
  margin-right: 0;
}

.sub_list_item h6 {
}

.sub_list_item h6:before {
  content: "";
  width: 0.4em;
  height: 0.4em;
  display: inline-block;
  border: 5px solid #b7c800;
  border-radius: 100px;
  margin-right: 5px;
}

/* .sub_list_item:last-child,
.sub_list_item:nth-child(3n){
    margin-right: 0;
} */

.sub_list_item:nth-child(n + 2) {
  margin-top: 2%;
}

/* .sub_list_item h5{
    font-weight: bold;
    font-weight: 700;
    font-size: 1.6rem;
} */

.sub_list_item p {
  font-size: 1.2rem;
}

.sub_list_inner {
  display: flex;
  flex-wrap: wrap;
}

.sub_list_inner_item {
  width: 48%;
  margin-right: 2%;
}

.sub_list_inner_item:nth-child(n + 3) {
  margin-top: 1%;
}

.sub_list_inner_item dt {
  font-size: 1em;
  font-weight: bold;
}

.sub_list_inner_item dt mark {
  font-weight: bold;
}

.sub_list_inner_item dd {
  font-size: 0.8em;
}

.sub_list .product_tag {
  padding-bottom: 0;
}

/* -------- 検索エリア共通パーツ使用 -------- */
@media screen and (min-width: 769px) {
  .fixed_scll {
    position: absolute;
    top: 180px;
  }

  /* 検索結果一覧（1カラム化：検索エリアはタイトル直下に移動済み） */
  body.result .contents {
    display: block;
    padding-left: 0;
  }

  .search_result_list {
    margin-right: auto;
    margin-left: auto;
    /* max-width: 100%; */
  }

  /* 検索ボックス */
  .search_area {
    margin-top: 0;
    width: 100%;
    padding: 15px;
    padding-top: 0;
    padding-bottom: 30px;
    height: max-content;
    margin-bottom: 60px;
  }

  .search_area .search_area_ai h4::before,
  .search_area .btn_aiword .bubble{
    display: none;
  }

  /* コンテナー */
  .search_area .container,
  .search_area .btns {
    flex-wrap: wrap;
  }

  .search_area .container {
    margin-top: 1.5em;
           padding: 20px 0 0;
  }

  /* ※キーワードを入力せず、カテゴリ・分野の絞り込みでも検索することが可能です */
  .search_area .container.note {
    text-align: left;
    font-size: 1.2rem;
    padding-left: 0;
  }

  .search_area .container.sub_container {
    border: none;
    padding: unset;
    margin-top: 0.5em;
  }

  .search_area_real.container,
  .search_area_exhibitor.container {
    padding-top: 20px;
  }
  .search_area .btn_aiword,
  .search_area .btn_freeword,
  .search_area .btn_exhibitor,
  .search_area .btn_real {
    margin-top: 10px;
    width: 100%;
  }

  /* 見出し */
  .search_area h4.c_title {
    font-size: 1.4rem;
  }

  .search_area h4.c_title span {
    font-size: 2rem;
  }

  .search_area .container.sub_container h4.c_title > span {
    margin-bottom: 5px;
    margin-right: 0;
    display: block;
  }

  /* 検索ボックス＞ボタン */
  .search_area .btns {
    margin-top: 10px;
  }

  .search_area .btn {
    max-width: 100%;
  }

  /* 検索ボックス＞ボタン＞リセットボタン */
  .search_area .btns p:last-of-type {
    margin-top: 10px;
    margin-left: 0;
    width: 100%;
  }

  .search_area .btns p:last-of-type .btn_border {
    width: 100%;
    max-width: 100%;
    height: 40px;
    line-height: 40px;
  }

  .search_area .btn_input_text .btn {
    max-width: 50px;
  }

  .search_area .btn_input_text .btn .btn_search[value="検索する"],
  .search_area .btn_input_text .btn .btn_search[value="Search"] {
    color: var(--cl-contrast)0;
  }

  /* 絞り込み条件を設定する */
  .search_area_txt {
    font-size: 1.5rem;
  }

  .search_area_txt span {
    font-size: 1.2rem;
    display: block;
  }

  /* チェックリストは add.css のデフォルト（PC 3 カラム / SP 段階で縮む）に任せる */
  .search_area_category_type2 input[type="checkbox"] + span {
    font-size: 14px;
    padding-left: 30px;
  }

  .search_area_category_type2 input[type="checkbox"] + span:before {
    width: 16px;
    height: 16px;
  }

  /* フリーワード検索 / 横浜展示会出展概要 の入力欄はパネル幅いっぱいに */
  #search_area_free .search_row_input,
  #search_area_real .search_row_input {
    max-width: 100%;
  }

  /* 出展社一覧 */
  .search_area_all {
    display: none !important;
  }
}

/* -------- /検索エリア共通パーツ使用 -------- */

@media screen and (max-width: 1160px) {
  .search_result_list {
    margin-right: 0;
    padding-left: 0;
  }
}

@media screen and (max-width: 768px) {
  .search_result_list {
    margin-right: auto;
    padding-left: 30px;
  }

  .list_item {
    padding: 20px;
  }
}

@media screen and (max-width: 640px) {
  .result_txt_cont {
    font-size: 1.6rem;
  }

  .result_txt_cont .yg_txt {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 540px) {
  .search_result_list {
    padding-top: 39px;
  }

  .list_item .col {
    flex-direction: column-reverse;
  }

  .list_item {
    padding: 13px;
    margin-bottom: 20px;
  }

  .list_item .col a {
    width: 100%;
  }

  .list_item h4 {
    font-size: 1.1em;
  }

  .visitlist_btn {
    margin-left: auto;
    margin-bottom: 10px;
    font-size: 0.75em;
    width: 150px;
    margin-right: -13px;
    margin-top: -13px;
    border-top-right-radius: 5px 5px;
  }

  .sub_list {
    margin-top: 15px;
  }

  .sub_list_item h5 {
    font-size: 1em;
  }

  .sub_list_item h6 {
    margin-bottom: 0;
  }

  .sub_list_item:nth-child(n + 2) {
    margin-top: 4%;
  }

  .sub_list_inner_item {
    width: 100%;
    margin-right: 0;
  }

  .sub_list_inner_item:nth-child(n + 2) {
    margin-top: 2%;
  }
}

/* 分野別検索 */
.search_field #form3 .search_area_field {
  margin-top: 2em;
  display: block;
}

@media screen and (max-width: 540px) {
  .search_field #form3 .search_area_field .list_field li {
    width: 100%;
    padding-right: 0em;
    margin-bottom: 1em;
  }
}
