@charset "UTF-8";
.wrap_search {
  font-family: 'Noto Sans JP', '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic', 'メイリオ', sans-serif;
}

.all_search {
  padding: 40px;
  background: #f0f0f0;
  border-radius: 15px;
  width: 80%;
  margin: 0 auto;
  margin-top: 20px;
}
.all_search .btn_accordion {
  display: none;
}

.all_search .search_box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.all_search .search_box input[type=text] {
  font-family: 'Noto Sans JP', '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic', 'メイリオ', sans-serif;
  font-size: 1rem !important;
  width: 80%;
  margin: 0 auto;
  margin-right: 0;
  margin-left: 0;
  border: solid 1px #b8b8b8;
  border-radius: 50px 0 0 50px;
  background: #ffffff;
  position: relative;
  padding: 12px 20px;
  margin-bottom: 20px;
}
.all_search .search_box button[type=submit] {
  border: none;
  position: relative;
  top: 14px;
  right: 0;
  width: 10%;
  height: 48px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  cursor: pointer;
  color: #fff;
  font-weight:700;
  background-color: #e90505;
  border-radius: 0 50px 50px 0;
}
.all_search .search_box button[type=submit]::before {
  padding-right: 4px;
}
.all_search .option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 10px;
}
.all_search .option dt {
  width: 12%;
}
.all_search .option dd {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0px;
  flex: 1 1 0;
}
.all_search .option .option_list ol,
.all_search .option .option_list ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  row-gap: 5px;
}
.all_search .option .option_list ol > li,
.all_search .option .option_list ul > li {
  padding: 0;
  margin-right: 5px;
}
.all_search .option .option_list input[type="checkbox"] + label.btn,
.all_search .option .option_list input[type="radio"] + label.btn {
  border-radius: 0;
  max-width: 240px;
  padding: 2px 14px;
  margin-top: 0;
  background-color: #fff;
  color: #282828;
  border: none;
}
.all_search .option .option_list input[type="checkbox"] + label.btn:before,
.all_search .option .option_list input[type="radio"] + label.btn:before  {
  content: "";
  display:none;
}
.all_search .option .option_list input[type="checkbox"] + label.btn:after,
.all_search .option .option_list input[type="radio"] + label.btn:after {
  content: "";
  display:none;
}
.all_search .option .option_list input[type="checkbox"]:checked + label.btn,
.all_search .option .option_list input[type="radio"]:checked + label.btn {
  background-color: #282828;
  color: #fff;
}

.all_search .custom {
  display: flex;
  border-top: 1px solid #b8b8b8;
  margin-top: 20px;
  padding-top: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
.all_search .custom .option {
  width: 50%;
}
.all_search .custom .option dt {
  width: 24%;
}
.all_search .custom .option dt:before {
  margin-right: 5px;
}

@media (max-width: 640px) {
  .all_search {
    padding: 20px;
    width: 100%;
  }
  .all_search .accordion {
    display: none;
  }
  .all_search .accordion.open {
    display: block;
  }
  .all_search .btn_accordion {
    display: block;
    text-align: right;
  }
  .all_search .btn_accordion.open {
    margin-top: 20px;
  }
  .all_search .search_box input[type=text] {
    width: 75%;
  }
  .all_search .search_box button[type=submit] {
    width: 25%;
  }
  .all_search .option dt {
    width: 35%;
  }
  .all_search .custom {
    display: block;
  }
  .all_search .custom .option {
    width: 100%;
  }
  .all_search .custom .option dt {
    width: 35%;
  }
}


.all_search_maybe {
  margin-top: 20px;
  padding: 0;
}
.all_search_maybe dl {
  display: flex;
  flex-wrap: wrap;
}
.all_search_maybe dl dt {
  margin-right: 10px;
  font-weight: 700;
}
.all_search_maybe dl dd {
  display: flex;
  flex-wrap: wrap;
}
.all_search_maybe dl dd p {
  margin-right: 20px;
}
.all_search_maybe dl dd p a {
  font-weight: 700;
  color: #e90505;
  text-decoration: underline;
}


.all_search_recommend {
  margin-top: 40px;
}
.all_search_recommend .recommend_set {
  display: flex;
  flex-wrap: wrap;
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 20px;
}
.all_search_recommend .recommend_set + .recommend_set {
  margin-top: 10px;
}
.all_search_recommend .recommend_set .image {
  width: 200px;
  margin-right: 20px;
}
.all_search_recommend .recommend_set .image img {
  width: 100%;
}
.all_search_recommend .recommend_set .text {
  width: 79%;
}
.all_search_recommend .recommend_set .text h4 {
  font-size: 130%;
  margin: 0;
  padding: 0;
  font-weight: 700;
}
.all_search_recommend .recommend_set .text .summary {
  margin: 10px 0;
  line-height: 1.5;
}
.all_search_recommend .recommend_set a:hover {
  text-decoration: none;
}
.all_search_recommend .recommend_set a:hover h4 {
  text-decoration: underline;
}
.all_search_recommend .recommend_set p.url {
  font-size: 100%;
  color: #006621;
}
.all_search_recommend .recommend_set a:hover p.url {
  text-decoration: none;
}
@media (max-width: 640px) {
  .all_search_recommend {
    margin-top: 20px;
  }
  .all_search_recommend .recommend_set {
    display: block;
  }
  .all_search_recommend .recommend_set .image {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    display: none;
  }
  .all_search_recommend .recommend_set .text {
    width: 100%;
  }
}


.all_search_result {
  margin-top: 40px;
}
.all_search_result p.nav {
  font-weight: bold;
}
.all_search_result .result_set {
  padding-top: 1.3em;
  margin-top: 1.5em;
  border-top: dotted 1px #e8e8e8;
  display:flex;
  justify-content: space-between;
}
.all_search_result .result_set .image {
  width: 20%;
}
.all_search_result .result_set .image a {
  display: block;
}
.all_search_result .result_set .image img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border: 1px solid #ccc;
}
.all_search_result .result_set .text {
  width: 78%;
}
.all_search_result .result_set .text h2 {
  font-size: 175%;
  line-height: 1.3;
}
.all_search_result .result_set .text .summary {
  padding: 10px 0;
  overflow-wrap: anywhere;
}
.all_search_result .result_set span.hilight {
  color: #e90505;
  font-weight: bold;
}
.all_search_result .result_set a:hover {
  text-decoration: none;
}
.all_search_result .result_set a:hover h2 {
  text-decoration: underline;
}
.all_search_result .result_set p.url {
  font-size: 100%;
  color: #006621;
  margin-top: 5px;
}
.all_search_result .result_set a:hover p.url {
  text-decoration: none;
}
.all_search_result .result_set p.date {
  font-size: 90%;
  color: #666;
  text-align: end;
}

@media (max-width: 640px) {
  .all_search_result .result_set .text h2 {
    font-size: 125%;
  }
  .all_search_result .result_set .image {
    display: none;
  }
  .all_search_result .result_set .text {
      width: 100%;
  }
}
