/* 部活ナビ検索結果 */
body {
  display: block !important;
}

.main-inner {
  vertical-align: top;
} 
#conditionButton {
  display: none;
}
#conditionArea.bukatsu .bukatsu,
#conditionArea.trial .trial,
#conditionArea.event .event,
#conditionArea.news .news {
  display: block !important;
}
#conditionArea.bukatsu .trial,
#conditionArea.bukatsu .event,
#conditionArea.bukatsu .news,
#conditionArea.trial .bukatsu,
#conditionArea.trial .event,
#conditionArea.trial .news,
#conditionArea.event .bukatsu,
#conditionArea.event .trial,
#conditionArea.event .news,
#conditionArea.news .bukatsu,
#conditionArea.news .event,
#conditionArea.news .trial {
  display: none;
}

.project_box {
  border: 1px solid #E8E8E8;
}

.condition-area {
  display: inline-block;
  vertical-align: top;
  width: 300px;
  min-height: 150px;
  background: #F2F3F7;
  margin: 0;
  padding: 0;
}
.condition-header {
  background-color: #E4E6EF;
  line-height: 45px;
  padding: 0 22px;
}
.right_box {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 306px);
}
.right_box .content {
  padding-bottom: 1rem;
  border-bottom: dotted 1px;
}
.right_box.event,
.right_box.news {
  text-align: center;
}

.cond_div {
  border-top: 1px solid #DEDEDE;
  border-bottom: 1px solid #DEDEDE;
  padding: 1rem 0.5rem;
}

.popup {
  width: 300px;
  max-width: 100%;
  background-image: url(../img/navi/icon_popup.svg);
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  padding-right: 26px !important;
}

.result-box {
  border-bottom: dotted  1px;
  margin: 0 5% 0 5%;
  padding: 1rem 0 1rem 0;
  background-color: #ffffff;
}

.club-div div {
  display: inline-flex;
  background-color: #eeeeee;
  padding: 0.7rem;
  border: solid 1px;
  border-radius: 10px;
  margin: 1rem 0 1rem 1rem;
}

.search {
  width: 150px !important;
}

.cond_box {
  height: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
div.cond_box {
  padding-top: 3px;
  background-color: #ffffff;
  border: solid 1px #ced6dd;
  border-bottom: solid 2px #707070;
}
.cond_detail {
  display: inline-block;
  padding-left: 15px;
}

.result-box[data-link] {
  cursor: pointer;
}

.image-box {
  display: inline-block;
  width: 300px;
  vertical-align: top;
}
.top_image {
  max-width: 300px;
  max-height: 500px;
  margin: 0 auto;
}
.top_image_small {
  max-width: 170px;
  max-height: 70px;
  margin: 1rem 4rem 0 4rem;
}

.content-box {
  width: calc(100% - 320px);
  display: inline-block;
  margin-left: 10px;
}

.textMB {
  margin-top: 10px;
}

#keyword {
  width: 100%;
}

.btn-clear {
  width: unset !important;
  margin-left: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.default_row {
  margin-top: 1rem;
}

.result-box hr {
  background-color: #E3E3E3;
  height: 1px;
  border: none;
}

.tiral_box {
  display: inline-block;
  width: 180px;
  text-align: center;
  border: 1px solid #DEDEDE;
  vertical-align: top;
}
.tiral_box .tiral_date {
  color: #ffffff;
  background-color: #669CDB;
  padding: 0.5rem;
}
.tiral_box .tiral_place {
  font-size: 0.9rem;
  border-bottom: 1px solid #DEDEDE;
  min-height: 70px;
  padding: 0.5rem;
}
.tiral_box .tiral_available {
  font-size: 0.9rem;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
}

/* ニュース */
.news_box {
  cursor: pointer;
  position: relative;
  margin-top: 2rem;
  margin-left: 2rem;
  width: 300px;
  max-width: 300px;
  display: inline-block;
  vertical-align: top;
  text-align: left;
}
.news_box .tag {
  border-radius: unset !important;
  top: 0;
  right: 0;
}
.news_box.topic_image_div {
  border-radius: unset !important;
}
.news_box .news_title {
  margin: 10px 0;
  font-weight: 500;
  line-height: 21px;
}
.news_box .news_club_name,
.news_box .news_school_name {
  font-size: 12px;
  line-height: 18px;
}

/* ニュースタグ */
.tag {
  position: absolute;
  text-align: center;
  min-width: 5rem;
  padding: 0.1rem 0.5rem;
  top: 9px;
  right: 10px;
  color:white;    
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  box-shadow: 2px 2px 10px 0 rgb(0 0 0 / 50%);
}

.tag_notice { /* お知らせ */
  background-color: #C80000;
}
.tag_notice::after {
  content: "お知らせ";
}

.tag_activity { /* 活動報告 */
  background-color: #E26000;
}
.tag_activity::after {
  content: "活動報告";
}

.tag_experience { /* 体験入部 */
  background-color: #966400;
}
.tag_experience::after {
  content: "体験入部";
}

.tag_obog { /* OBOG情報 */
  background-color: #649600;
}
.tag_obog::after {
  content: "OBOG情報";
}

.tag_concert { /* 演奏会 */
  background-color: #009600;
}
.tag_concert::after {
  content: "演奏会";
}

.tag_presentation { /* 発表会 */
  background-color: #009696;
}
.tag_presentation::after {
  content: "発表会";
}

.tag_match_result { /* 試合結果 */
  background-color: #006496;
}
.tag_match_result::after {
  content: "試合結果";
}

.tag_tournament_result { /* 大会結果 */
  background-color: #000064;
}
.tag_tournament_result::after {
  content: "大会結果";
}

.tag_event { /* イベント */
  background-color: #640064;
}
.tag_event::after {
  content: "イベント";
}

.tag_gallery { /* フォトギャラリー */
  background-color: #9F003D;
}
.tag_gallery::after {
  content: "フォトギャラリー";
}

.tag_gallerys { /* ギャラリー(限定公開向け) */
  background-color: #9F003D;
}
.tag_gallerys::after {
  content: "ギャラリー";
}

.tag_to_club_member { /* 部員の皆様へ(限定公開向け) */
  background-color: #009696;
}
.tag_to_club_member::after {
  content: "部員の皆様へ";
}

.tag_to_parents { /* 保護者の皆様へ */
  background-color: #320096;
}
.tag_to_parents::after {
  content: "保護者の皆様へ";
}

.tag_to_obog { /* OBOGの皆様へ */
  background-color: #640096;
}
.tag_to_obog::after {
  content: "OBOGの皆様へ";
}

.tag_to_applicants { /* 入学希望の皆様へ */
  background-color: #960096;
}
.tag_to_applicants::after {
  content: "入学希望の皆様へ";
}

/* Smart Phone スタイル */
@media screen and (max-width: 767px) {
  .cond_title,.search_count {
    font-size: 1rem !important;
    font-weight: 600;
    margin-top: 1rem;
  }
  #conditionButton {
    display: block !important;
    background-color: #00000099;
    text-align: center;
    padding: 0.5rem;
  }
  #conditionButton button {
    width: 180px !important;
    color: #000000;
    background-color: #ffffff;
  }
  .popup {
    width: 100%;
  }
  .condition-area {
    width: 100%;
    display: none;
  }
  .right_box {
    width: 100%;
  }
  #conditionTitle {
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
  }
  #keyword {
    width: 100%;
  }
  #clubTypes,#prefectureCd {
    width: 100%;
    height: 2.5rem;
    vertical-align: middle;
    margin-bottom: 20px;
  }
  .cond_row {
    margin-bottom: 20px;
  }
  div.cond_box {
    display: inline-block;
    background-color: unset;
    border: unset;
    font-weight: 600;
    padding-left: 0;
    padding-right: 0;
  }
  .result-box .image-box {
    display: block;
    width: unset;
  }
  .top_image {
    max-width: 100%;
  }
  .top_image_small {
    max-width: 100%;
    margin: 1rem 0 0 4rem;
  }
  .content-box {
    width: unset;
    margin-left: unset;
    margin-top: 1rem;
  }


}