/*
 .gsc-control-cse: 検索ボックスと結果を含む全体のコンテナ
.gsc-input-box:検索テキスト入力フィールド外縁部
.gsc-input: 検索テキスト入力フィールド
.gsc-search-button: 検索実行ボタン
.gsc-results-wrapper-visible: 検索結果が表示されるエリア。
*/

/*-google検索窓調整-*/
.gsc-control-cse {
	max-width: 1000px !important;
	width: 100% !important;
	background-color: rgba(255, 255, 255, 0) !important;
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.gsc-input-box {
	display: flex;
	align-items: center;
	border: none !important;
	height: 50px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 10px !important;
}

.gsc-input-box {
	padding: 0 !important;
}

input.gsc-input {
	font-size: 18px !important;
}

/*-検索開閉ボタン-*/
.btn_search {
	position: fixed;
	top: 22px;
	right: 80px;
	display: flex;
	justify-content: center;
	padding: 8px 0;
	width: 30px;
	height: 30px;
	transition: 0.5s;
	border-radius: 3px;
	margin: 0 auto;
	cursor: pointer;
	z-index: 110;
	-webkit-user-select: none !important; /* Safari用 */
	-ms-user-select: none !important; /* IE/Edge用 */
	user-select: none !important; /* 標準 */
}

.btn_search::before {
	content: ""; /*何も入れない*/
	display: block;
	position: absolute;
	top: 5px;
	width: 25px; /*画像の幅*/
	height: 25px; /*画像の高さ*/
	background-image: url("../../img/icon_search.png");
	background-size: contain;
}

.btn_search.active {
	transition: 0.5s;
	transform: rotate(360deg);
	-webkit-user-select: none !important; /* Safari用 */
	-ms-user-select: none !important; /* IE/Edge用 */
	user-select: none !important; /* 標準 */
}

.btn_search.active::before {
	background-image: url("../../img/icon_close.png");
}

/*-検索窓-*/
.window_search {
	display: none;
	position: fixed;
	top: 0;
	width: 100%;
	height: var(--header_hight);
	background-color: rgba(0, 0, 0, 0.2);
	z-index: 100;
}

.window_search div.base {
	display: flex;
	align-items: center;
	height: 100%;
}

@media only screen and (max-width: 400px) {
	.gsc-control-cse {
		width: calc(100% - 100px) !important;
	}
}
