/* =========================== トップページ ======================================== */

.top_search_tab{
	width: auto;
	margin: 0 5px 0 0;
	padding: 15px;
	background: #ddd;
	color: #000;
	font-weight: bold;
}
.top_search_tab:hover{
	background-color: var(--color1);
}

.top_search_key_box{
	padding: 20px 10px;
	border: 1px solid #ccc;
	border-top: 5px solid var(--color1);
}
.top_search_key_box ul{
	margin: 0;
}
.top_search_key_box li{
	list-style: none;
	display: inline-block;
	margin: 0 10px 1rem;
}
@media only screen and (max-width: 768px){
	.top_search_key_box li{
		display: block;
	}
}
.top_search_key_box li input,select{
	width: auto;
}
.top_search_key_box .search_button{
	display: block;
	height: 2.6em;
	width: auto;
	margin: 0 15px 0 auto;
	background: var(--color1);
	border-radius: 4px;
	padding: 0px 18px;
}

/* =========================== サービス・イベント/事業所検索結果ページ ======================================== */

.side_search_key_box{
	margin: 5px 0;
	border: 3px solid var(--color1);
	border-radius: 6px;
}
.side_search_key_box .side_search_toggle{
	padding: 10px 4px 12px;
	font-size: 95%;
	line-height: 1.0;
	text-align: left;
	font-weight: bold;
	background: var(--color1);
	color: #fff;
}

.side_search_contents{
	padding: 10px 0;
}
.side_search_contents ul{
	margin: 0;
}
.side_search_contents li{
	list-style: none;
	display: inline-block;
	margin: 0 10px 1rem;
}
.side_search_contents li h4{
	padding: 0.2em 0 0 !important;
	font-size: 90%;
}
.side_search_contents li input,
.side_search_contents li select{
	margin: 0;
	width: 100%;
	box-sizing: border-box;
	font-size: 90%;
}
.side_search_contents .search_button{
	display: block;
	height: 2.6em;
	width: auto;
	margin: 0 10px 0 auto;
	background: var(--color1);
	border-radius: 4px;
	padding: 0px 18px;
}

.search_result_button{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	align-items: center;
	margin: 0;
	padding: 0;
	background: #fff;
	color: #000;
	text-align: left;
	font-size: 90%;
}
.search_result_button:hover{
	background: #e8e8e8;
	color: #000;
}
.search_result_button .search_result_image{
	-webkit-flex-basis: 25%;
	flex-basis: 25%;
}
.search_result_button .search_result_inner{
	-webkit-flex: 1;
	flex: 1;
	padding: 8px 12px;
}

.search_result_category_area{
	padding: 4px 0 0;
}
.search_result_category_area .search_result_category{
	display: inline-block;
	margin: 3px 3px 0 0;
	background: var(--color1);
	padding: 2px 4px 3px;
	color: #fff;
	font-size: 75%;
}

.search_result_title{
	margin: 4px 0;
	font-size: 140%;
	font-weight: bold;
	color: var(--color2);
}

.search_result_description{
	font-size: 85%;
}

@media screen and (max-width: 768px) {
  .search_result_button {
    flex-direction: column;
    align-items: stretch;
  }

  .search_result_button .search_result_inner {
    padding: 0;
  }

  .search_result_category_area,
  .search_result_title {
    padding: 4px 10px 0;
    width: 100%;
  }

  .search_result_image_and_description {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 10px;
  }

  .search_result_image_and_description .search_result_image {
    flex: 0 0 40%;
  }

  .search_result_image_and_description .search_result_description {
    flex: 1;
    font-size: 85%;
  }
}



/* =========================== イベント詳細ページ ======================================== */
.event_detail_box{
	padding: 8px;
	line-height: 1.4;
}
.event_detail_box .item_table{
	margin: 10px 0;
}
.event_detail_box .item_table .title{
	background: #e8e8e8;
}
.event_detail_box .item_table td{
	background: #fff;
}

.event_detail_category{
	display: inline-block;
	margin: 3px 5px 0 0;
	background: var(--color1);
	padding: 4px 6px 5px;
	color: #fff;
	font-size: 80%;
}

.event_detail_title{
	margin: 12px 6px;
	font-size: 140%;
	font-weight: bold;
	color: var(--color2);
}

.event_detail_upper{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	align-items: center;
}
.event_detail_image_main{
	-webkit-flex-basis: 35%;
	flex-basis: 35%;
}
.event_detail_description{
	-webkit-flex: 1;
	flex: 1;
	padding: 8px 12px;
}

#event_detail_image_modal1{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%!important;
	height: 100%;
	background: rgba(0,0,0,0.45);
	z-index: 1;
}
#event_detail_image_modal1 img{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  height: 80%;
  object-fit: contain;
}

#event_detail_image_modal2{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%!important;
	height: 100%;
	background: rgba(0,0,0,0.45);
	z-index: 1;
}
#event_detail_image_modal2 img{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  height: 80%;
  object-fit: contain;
}

#event_detail_image_modal3{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%!important;
	height: 100%;
	background: rgba(0,0,0,0.45);
	z-index: 1;
}
#event_detail_image_modal3 img{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  height: 80%;
  object-fit: contain;
}

.event_detail_supplier{
	background: rgba(0, 0, 0, 0);
	color: #008cba;
	padding: 0;
	font-size: 1.125rem;
}

/* =========================== 事業所ページ ======================================== */
#supplier_detail_image_modal1{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%!important;
	height: 100%;
	background: rgba(0,0,0,0.45);
	z-index: 1;
}
#supplier_detail_image_modal1 img{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  height: 80%;
  object-fit: contain;
}

#supplier_detail_image_modal2{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%!important;
	height: 100%;
	background: rgba(0,0,0,0.45);
	z-index: 1;
}
#supplier_detail_image_modal2 img{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  height: 80%;
  object-fit: contain;
}

#supplier_detail_image_modal3{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%!important;
	height: 100%;
	background: rgba(0,0,0,0.45);
	z-index: 1;
}
#supplier_detail_image_modal3 img{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  height: 80%;
  object-fit: contain;
}

/* =========================== サービス・イベント登録/更新ページ ======================================== */

.item_table{
	width: 100%;
	table-layout: fixed;
}
.item_table th{
	background: #eee;
}
.item_table td{
	text-align: left;
}
.item_table input,
.item_table select,
.item_table textarea{
	display: inline-block;
	font-size: 100%;
	margin: 0;
}
.item_table button{
	width: auto;
	background: var(--color1);
	border-radius: 4px;
	margin: 0 auto;
	padding: 6px 12px 7px;
}
.item_table tr:hover td{
	background-color: #ffdfff;
}
.item_table ul{
	display: -webkit-flex;
	display: flex;
	align-items: stretch;
	margin: 0;
}
.item_table ul li{
	list-style: none;
	flex: 1;
	margin: 0 5px;
}

.create_button{
	display: block;
	height: 2.6em;
	width: auto;
	margin-top: 20px;
	background: var(--color1);
	border-radius: 4px;
	padding: 0px 18px;
}
.create_button:hover{
}

.section_text{
	font-size: 1.125rem;
	font-weight: normal;
	font-style: normal;
	color: #000;
	margin-top: 0.2rem;
	margin-bottom: 0.5rem;
	line-height: 1.4;
}
@media only screen and (max-width: 768px){
	.section_text{
		font-size: 1rem;
		line-height: 1.3;
	}
}

.image_upload{
	margin-bottom: 0.5em;
}
.image_upload input[type="file"]{
	width: auto;
	margin-left: 0.5em;
}

.image_upload_selected{
	display: inline-block;
	margin: 0 0 1em 1em;
}
.image_upload_selected span{
	font-size: 90%;
}
/* =========================== カスタム用 qtxt======================================== */
.qtxt2{
	color: white;/*文字色*/
	font-size: 16px;
	padding: 5px;
	background: #757575;/*背景色*/
	/* border-left: solid 10px #dfa62be3;左線 */
	border-bottom: solid 3px #9b9a9abb;/*下線*/
	margin-bottom: 5px;
	line-height: 125%;
	clear: both;}