@charset "UTF-8";

/* ====================================
	共通スタイル
 ==================================== */

/* 検索窓 */
form:has(input#q1) .poplink {
	top: 110px;
}

form:has(input#q2) .poplink {
	top: 42px;
}

.form-window input[type="search"] {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 30px;
	min-height: 30px;
	background: transparent;
	border: none;
	padding: 6px 0 6px 30px;
	font-size: 1.2rem;
	line-height: 1;
}

.form-window input[type="submit"] {
	box-sizing: border-box;
	display: block;
	width: 60px;
	padding: 6px 0 6px 20px;
	font-size: 1.2rem;
	line-height: 18px;
	background: transparent;
	color: #7d7d7d;
	border: none;
	border-left: solid 1px #d9d9d9;
	text-align: left;
}

/* 検索結果 */
.outer-base-width {
	padding-inline: 5%;
}

.main-contents {
	padding-block: 120px 100px;
}

.main-contents img {
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.search-form-container {
	display: flex;
	column-gap: 10px;
}

._gropup {
	display: none;
}

/* 検索ヘッダー */
.search-form-container {
	max-width: 860px;
	margin: 0 auto 50px;
}

.search-form-container select {
	font-size: 14px;
	padding: 6px;
	width: 80px;
	border: 1px solid #ddd;
	border-radius: 20px;
	background: linear-gradient(to bottom, #fff 0%, #eee 100%);
}

.search-form-container form {
	position: relative;
	flex: 1 0;
}

.search-form-container input[type="search"] {
	background-color: #eee;
	border-radius: 16px;
	width: 100%;
	height: 32px;
	margin: 0;
	padding: 0;
	padding-inline: 15px 40px;
	font-size: 16px;
	border: none;
	box-sizing: border-box;
}

.btn-submit {
	position: absolute;
	right: 10px;
	top: 5px;
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	font-size: 16px;
	color: #333333;
	text-align: center;
	border: none;
	background: none;
}

.btn-submit img {
	width: 1em;
	vertical-align: middle;
}

/* 検索結果コンテンツ調整 */

._cp_component ._items {
	display: flex;
	flex-direction: column;
}

._cp_component ._item {
	padding-block: 20px;
	border-top: 2px solid #eee;
}

._cp_component ._wrap {
	display: flex;
	column-gap: 5%;
	min-height: 150px;
}

._cp_component ._layoutgroup1 {
	width: 200px;
}

._cp_component ._layoutgroup2 {
	flex: 1 0;
}

/* 検索結果ページタイトル */
._cp_component ._title a {
	display: inline-block;
	font-size: 17px;
	font-weight: 700;
	color: #990033;
	margin-bottom: 10px;
}

/* 検索結果スニペット */
._cp_component ._snippet {
	font-size: 14px;
	color: #666;
	margin-bottom: 10px;
}

/* 検索結果URL */
._cp_component ._link a {
	font-size: 14px;
	font-weight: 700;
	color: #999;
}

:is(._cp_component ._title, ._cp_component ._link) a:hover {
	text-decoration: underline;
}

/* ページネーション */
._pagenator {
	width: 80%;
	max-width: 720px;
	margin: 20px auto 0;
	display: flex;
	flex-wrap: wrap;
	column-gap: 6%;
	row-gap: 2rem;
	font-size: 14px;
	font-weight: 700;
}

._nav._first {
	display: none;
}

._pagenator ._nav {
	background: #eee;
	border: #ccc solid 2px;
	border-radius: 5px;
	width: 28px;
	height: 26px;
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	color: #555;
}

._pagenator ._nav a {
	display: block;
	color: #666;
	font-weight: normal;
	height: 25px;
	margin: 0;
	text-decoration: none;
}

._pagenator ._nav ._disable {
	color: #aaa;
}

._pagenator ._nav._current {
	color: #fff;
	background: #aaa;
	border: #aaa solid 2px;
}

._pagenator ._nav:has(a:hover) {
	background: #ccc;
}

/* ====================================
	スマートフォン専用スタイル
===================================== */
@media screen and (width <500px) {
	._layoutgroup1 {
		display: none;
	}

}

@media screen and (width <750px) {
	._link {
		display: none;
	}

	._pagenator ._nav._prev {
		order: -2;
		width: 47%;
	}

	._pagenator ._nav._next {
		width: 47%;
		order: -1;
	}
}

/* ====================================
	PC&タブレット、印刷専用スタイル
===================================== */
@media print,
screen and (width >=768px) {
	.outer-base-width {
		padding-inline: 1.5%;
	}

	.base-width {
		max-width: 960px;
		margin-inline: auto;
	}

	/* ページネーション */
	._pagenator {
		max-width: 720px;
		margin: 20px auto 0;
		display: flex;
		justify-content: center;
		column-gap: 10px;
		font-size: 14px;
		font-weight: 700;
	}

	._pagenator ._nav._prev,
	._pagenator ._nav._next,
	:is(._pagenator ._nav._prev, ._pagenator ._nav._next) a {
		width: 130px;
		font-weight: normal;
	}
}