@charset "utf-8";
/* CSS Document */
.main {
	margin-top: 60px;
	font-size: 14px;
	color: #333;
}

.originaltag__header {
	width: 100%;
	background: #fff;
	z-index: 999;
}

.originaltag__header.scroll-up,
.originaltag__header.scroll-down {
	position: fixed;
	margin-top: -46.5px; /* パンくずリストの高さ */
}

.originaltag__header.scroll-up + .originaltag__container--wrap,
.originaltag__header.scroll-down + .originaltag__container--wrap {
	top: 95px;
}

/* 検索エリア */
.originaltag__search_area {
	display: flex;
	align-items: center;
	width: 90%;
	max-width: 960px;
	margin: 0 auto;
	background: #fff;
}

.originaltag_title {
	width: 30%;
	text-align: left;
	font-size: 2.5rem;
	color: #333333;
	font-weight: 400;
}

.originaltag__search_form {
	width: 70%;
	display: flex;
	background: #fff;
	margin: 0 auto;
	padding: 30px 0;
}
/* 検索エリア */

.originaltag__wrapper {
	width: 100%;
	margin: 0 auto;
  padding: 0;
  line-height: 1.5;
}

.originaltag__container--wrap {
	width: 90%;
	max-width: 960px;
	margin: 0 auto 120px;
	padding: 0;
}

.originaltag__container {
	margin: 0 15px;
	width: calc(33.3333% - 30px);
}

.originaltag__container:nth-child(3n+3) {
	margin-right: 0;
}

.originaltag__category {
  margin: 0;
  padding: 10px;
  border-bottom: 1px solid #333;
  font-size: 13px;
  font-weight: bold;
}

.originaltag__subCategory--wrap {
	width: 100%;
	margin: 10px 0 0;
	color: #333;
	font-size: 13px;
}

.originaltag__subCategory {
	width: 100%;
  margin-top: 10px;
	background-color: #f0f0f0;
	padding: 6px;
}

.originaltag__item--wrap {
	margin: 0;
  padding-left: 10px;
}

.originaltag__item {
	margin-top: 4px;
	line-height: 16px;
}

/* textBox (start) */
.cp_iptxt {
	position: relative;
	text-align: center;
	width: 50%;
	margin: 0 10px;
}

.cp_iptxt input[type=text] {
	font: 15px/24px sans-serif;
	box-sizing: border-box;
	width: 100%;
	padding: 0.3em 0.3em 0.3em 5%;
	transition: 0.3s;
	border: 1px solid #bbbbbb;
	border-radius: 4px;
	outline: none;
}

.search_before input[type=text]{
	padding-right: 15%;
}

.search_after input[type=text]{
	padding-right: 50%;
}

.cp_iptxt input[type=text]:focus {
	border-color: #777777;
}

.keyword_search--wrap {
	position: absolute;
	height: 100%;
	top: 0;
	right: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
}
.keyword_search--wrap.hidden {
	display: none;
}

.keyword_search--wrap span {
	color: #666;
}

.keyword_search--wrap .keyword-counter {
	font-size: 1.2rem;
	margin-right: 10px;
}

.keyword_search--wrap .keyword-link {
	border-left: 1px solid #ccc;
}
.keyword_search--wrap .keyword-link a {
	outline: none;
	margin-left: 10px;
}
.keyword_search--wrap .keyword-link a:hover {
	text-decoration: none;
}
.keyword_search--wrap .keyword-link a span {
	color: #ccc;
}
.keyword_search--wrap .keyword-link.active a span {
	color: #666;
}
.keyword_search--wrap .keyword-link.active a:hover span {
	color: #ccc;
}

#keyword_search_btn {
	position: absolute;
	width: 30px;
	height: 100%;
	top: 0;
	right: 5px;
	background: none;
	color: #666;
	border: none;
	font-size: 16px;
	outline: none;
}

#keyword_search_btn.disabled {
	pointer-events: none;
	color: #ccc;
}

#keyword_search_btn:hover {
	color: #7fbfff;
}

/* textBox (end) */

.originaltag_serach_form {
	cursor: pointer;
}

/* selectBox (start) */
.dropdown {
	position: relative;
	margin: 0 auto;
	width: 50%;
	max-width: 300px;
	min-width: 128px;
	height: 100%;
	background: #ffffff;
	box-shadow: 0 0 2px rgb(204, 204, 204);
	border: 1px solid #bbbbbb;
	border-radius: 4px;
	transition: all .5s ease;
	font-size: 1.5rem;
	white-space: nowrap;
}
.dropdown .select {
	display: grid;
	grid-template-columns: 99% 1%;
	padding: .7rem .7rem .4rem 2rem;
	width: 95%;
	text-overflow: ellipsis;
	color: #666666;
	cursor: pointer;
}
.dropdown .select > #currentItem {
	overflow: hidden;
	text-overflow: ellipsis;
}
.dropdown .select > i {
	font-size: 1.8rem;
	transition: all .2s ease-in-out;
	float: right;
	line-height: 20px;
}
.dropdown:hover {
	box-shadow: 0 0 4px rgb(204, 204, 204)
}
.dropdown:active {
	background-color: #f8f8f8
}
.dropdown.active:hover,
.dropdown.active {
	box-shadow: 0 0 4px rgb(204, 204, 204);
	border-radius: 2px 2px 0 0;
	background-color: #f8f8f8
}
.dropdown.active .select > i {
	transform: rotateX(180deg)
}
.dropdown .dropdown-menu {
	position: absolute;
	background-color: #fff;
	width: auto;
	min-width: 100%;
	left: 0;
	margin-top: 1px;
	box-shadow: 0 1px 2px rgb(204, 204, 204);
	border-radius: 0 1px 2px 2px;
	overflow: hidden;
	display: none;
	max-height: 40rem;
	overflow-y: auto;
	z-index: 9
}
.dropdown .dropdown-menu li {
	line-height: 0.3rem;
	padding: 10px;
	text-align: left;
	transition: all .2s ease-in-out;
}
.dropdown .dropdown-menu {
	padding: 0 0 0 1rem;
	list-style: none
}
.dropdown .dropdown-menu li:hover {
	background-color: #f2f2f2
}
.dropdown .dropdown-menu li:active {
	background-color: #e2e2e2
}
/* selectBox (end) */


/* selectBox (start) */
.cp_ipselect {
	overflow: hidden;
	width: 45%;
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
}
.cp_ipselect select {
	width: 84%;
	padding-right: 1em;
	cursor: pointer;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	border: none;
	outline: none;
	background: transparent;
	background-image: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	line-height: 100%;
}
.cp_ipselect select::-ms-expand {
    display: none;
}
.cp_ipselect.cp_sl01 {
	position: relative;
	border: 1px solid #bbbbbb;
	border-radius: 2px;
	background: #ffffff;
}
.cp_ipselect.cp_sl01::before {
	position: absolute;
	top: 14px;
	right: 15px;
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #666666;
	pointer-events: none;
}
.cp_ipselect.cp_sl01 select {
	padding: 1rem 2rem 1rem 0;
	font-size: 15px;
	color: #666666;
}
/* selectBox (end) */

*:focus {
  outline: dotted 1px #777777;
}

.highlight {
	color: #000;
	background-color: #fff100;
}

.originaltag__category.selected .highlight,
.originaltag__subCategory.selected .highlight,
.originaltag__item.selected .highlight {
	background-color: #ff8c00;
}


@media only screen and (max-width: 1023px) {
	.originaltag__header.scroll-up,
	.originaltag__header.scroll-down {
		margin-top: -15px;
	}

}

@media only screen and (max-width: 959px) {
	.originaltag_title {
		font-size: 2.2rem;
	}
}

@media only screen and (max-width: 768px) {
	.originaltag__container--wrap {
		margin: 0 auto 180px;
	}

	.originaltag__header.scroll-down {
		margin-top: -51px;
	}

	.originaltag__header.scroll-up + .originaltag__container--wrap,
	.originaltag__header.scroll-down + .originaltag__container--wrap {
		top: 157px;
	}

	.originaltag__search_area {
		display: block;
		margin: 0 auto;
	}

	.originaltag_title {
		padding: 20px 0 0;
		width: 100%;
		text-align: center;
		font-size: 2.6rem;
	}

	.originaltag__search_form {
		width: 90%;
		max-width: 480px;
		display: block;
		padding: 15px 0;
	}

	#keyword_search_btn {
		right: 10px;
	}

	.originaltag__container {
		margin: 0 15px 20px;
		width: calc(50% - 30px);
	}

	.originaltag__item {
		margin-top: 8px;
	}

  .cp_iptxt {
		width: 100%;
		margin: 0 auto 15px;
	}
	.cp_iptxt input[type=text] {
		padding-left: 7%;
	}

	.keyword_search--wrap {
		right: 30px;
	}
	.keyword_search--wrap .keyword-counter {
		margin-right: 15px;
	}
	.keyword_search--wrap .keyword-link a {
		margin-left: 15px;
	}

	.keyword_search--wrap .keyword-link a span > i {
		font-size: 2.6rem;
		margin-top: 3px;
	}

	.keyword_search--wrap .keyword-link.active a:hover span {
		color: #666;
	}
	.keyword_search--wrap .keyword-link.active a:active span {
		color: #ccc;
	}

	.cp_ipselect {
		width: 100%;
  }
}

@media only screen and (max-width: 560px) {
	.cp_ipselect.cp_sl01 select {
		padding: 1rem 2rem 1rem 2rem;
	}
}

@media only screen and (max-width: 650px) {
	.originaltag__container {
		width: 100%;
	}
}
