@charset "utf-8";

.seach_box fieldset.freeword {
	padding-bottom: 20px;
}
.seach_box fieldset.activity{
	float: right;
}
.seach_box .freeword, .activity {
	float: left;
	width: 48%;
}

.cp_tabpanel .seach_box fieldset {
	padding: 0;
	border-bottom: none;
	box-sizing: border-box;
}
.cp_tab .search-submit {
	padding-bottom: 0;
}
.cp_tab .search-submit ul {
	display: flex;
}
.cp_tab .search-submit ul .modaal-close{
	position: static;
	border-radius: 5px;
	border: none;
	padding: 10px;
}
.cp_tab .search-submit ul .modaal-close:hover{
	position: static;
	border-radius: 5px;
	border: none;
	padding: 20px;
	background: #B40019;
	color: #fff;
}
.cp_tab .search-submit ul li:first-child{
	margin-right: 20px;
}
.cp_tab .search-submit ul .modaal-close:before,.cp_tab .search-submit ul .modaal-close:after{
	content: none;
}
.modal_box{
	display: none;
}
.modaal-container {
	max-width: 1240px;
}
#tab{
	padding-top: 200px;
}
.cp_tab *, .cp_tab *:before, .cp_tab *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.cp_tab {
	margin: 0 auto
}
.cp_tab > input[type='radio'] {
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	outline: none;
	background: none;
	-webkit-appearance: none;
	appearance: none;
	display: none;
}
.cp_tab .cp_tabpanel {
	display: none;
	border: 4px solid #e85604;
	border-top: none;
}
.cp_tabpanels{
	border-top: 4px solid #e85604;
}
.cp_tab > input[type="radio"]:checked + label {
	background: #B40019;
}

.cp_tab > input:first-child:checked ~ .cp_tabpanels > .cp_tabpanel:first-child,

.cp_tab > input:nth-child(3):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(2),

.cp_tab > input:nth-child(5):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(3),

.cp_tab > input:nth-child(7):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(4),

.cp_tab > input:nth-child(9):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(5),

.cp_tab > input:nth-child(11):checked ~ .cp_tabpanels > .cp_tabpanel:nth-child(6) {
	display: block;
}
.cp_tab > label {
	position: relative;
	display: inline-block;
	padding: 15px;
	cursor: pointer;
	border: 1px solid transparent;
	border-bottom: 0;
	width: calc((100% - 9.5px) / 3);
	text-align: center;
	box-sizing: border-box;
	background: #ddd;
	border-radius: 5px 5px 0 0;
	border: 4px solid #e85604;
	border-bottom: none;
	font-weight: bold;
}
.cp_tab > label:hover,
.cp_tab > input:focus + label {
	color: #e85604;
}
.cp_tab > input:checked + label {
	margin-bottom: -1px;
	color: #fff;
	border: 4px solid #e85604;
	border-bottom: none;
}
.cp_tab .cp_tabpanel {
	padding: 20px;
	min-height: 318px;
}
.modaal-close {
	position: absolute;
	right: -27px;
	top: -27px;
}
.modaal-close:before, .modaal-close:after {
	top: 6px;
	left: 20px;
	width: 4px;
	height: 30px;
	background: #fff;
}
.modaal-wrapper .modaal-close {
	background: #B40019;
	border: 4px solid #B40019;
}
.modaal-close:focus, .modaal-close:hover {
	background: #fff;
	color: #e85604;
	border: 4px solid #e85604;
}
.modaal-close:focus:before,
.modaal-close:focus:after,
.modaal-close:hover:before,
.modaal-close:hover:after {
	background: #e85604;
}
.seach_box .search_list_box fieldset {
	overflow: hidden;
}
.seach_box .search_list_box fieldset legend {
	float: left;
	display: block;
	width: 20%;
	font-size: 18px;
}
.seach_box .search_list_box fieldset.freeword legend,.seach_box .search_list_box fieldset.activity legend  {
	font-size: 24px;
	font-weight: bold;
	display: contents;
	float: none;
}
.search_link_btn{
	float: left;
	width: 80%;
	display: table;
}
.search_link_btn dt{
	display: table-cell;
	vertical-align: middle;
	width: 176px;
	border: 0;
	padding: 0;
}
.search_link_btn dt a{
	display: inline-block;
	width: 100%;
	color: #e85604;
	border: 1px solid #e85604;
	border-radius: 25px;
	text-align: center;
	padding: 5px 10px;
	box-sizing: border-box;
	font-weight: bold;
	font-size: 14px;
}
.search_link_btn dt a:hover{
	color: #fff;
	border: 1px solid #e85604;
	background: #e85604;
}
.search_link_btn dd{
	display: table-cell;
	vertical-align: middle;
	padding-left: 20px;
}
.search_link_btn dd span{
	padding: 5px;
	display: inline-block;
}
.search_link_btn dd span:before{
	content: "●";
	color: #e85604;
}
.seach_box fieldset ul {
	margin-top: 0px;
}
.seach_box fieldset:nth-child(2){
	margin-top: 20px;
}
.seach_box .bottom fieldset:nth-child(2){
	margin-top: 0;
}
.tabBox .tabArea {
	width: 100%;
	height: 80px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-end;
}
.tabBox .tabArea .one_tab {
	width: 32.5%;
	height: auto;
	display: block;
	text-decoration: none;
	transition-duration: 0.3s;
	text-align: center;
	color: #fff;
	cursor: pointer;
	border: 0;
	padding: 0;
}
.tabBox .tabArea .one_tab:hover {
	opacity: 0.7;
	text-decoration: none;
}
.tabBox .tabArea .one_tab .tab_inner {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 60px;
	transition-duration: 0.3s;
	font-size: 20px;
	font-weight: bold;
	color: #333;
}
.tabBox .tabArea .one_tab:nth-child(1) .tab_inner {
	background-color: #94ad73;
}
.tabBox .tabArea .one_tab:nth-child(2) .tab_inner {
	background-color: #e6de6b;
}
.tabBox .tabArea .one_tab:nth-child(3) .tab_inner {
	background-color: #e8a48b;
}
.tabBox .tabArea .one_tab.select .tab_inner {
	height: 80px;
}
.tabBox .tabArea.bottom {
	align-items: flex-start;
}
.contents .tab_main {
	display: none;
	border: 2px solid #94ad73;
	transition-duration: 0.3s;
}
.tab_main.is_show {
	display: block;
}
.tab_main:nth-child(1).is_show {
	border: 2px solid #94ad73;
}
.tab_main:nth-child(2).is_show {
	border: 2px solid #e6de6b;
}
.tab_main:nth-child(3).is_show {
	border: 2px solid #e8a48b;
}
.fBox{
	display: flex;
	border: 1px solid #ccc;
}
ul#headline {
	width:20%;
	padding: 0;
}
ul#headline li{
	display: inline-block;
	width:100%;
	margin:0;
	background-color:#FFF;
	text-align: center;
	cursor: pointer;
	line-height: 40px;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
ul#headline li:last-child{
	border-bottom: none;
}
ul#headline li.current{
	background-color: #B40019;
	border: 1px solid #B40019;
	color: #fff;
}

ul#story {
	float: left;
	width:80%;
	padding: 0;
}

ul#story > li{
	display: none;
	vertical-align: top;
	background-color:#FFF;
	padding: 2%;
	z-index: 2;
	margin: 0;
	width: 100%;
}
ul#story >  li.current{
	display: block;
}
.seach_box fieldset legend {
	display: block;
}

@media (max-width: 750px) {
	.search_list figure>figcaption p.company_name {
		font-size: 28px;
	}
	.search_link_btn {
		float: none;
		width: 100%;
		display: block;
		margin-top: 20px;
	}
	.search_link_btn dt {
		display: block;
		width: 100%;
		height: auto;
	}
	.search_link_btn dd {
		padding-left: 0;
		margin: 20px 0;
	}
	.search_link_btn dd span {
		padding: 25px 0px;
		display: inline-block;
	}
	.search_link_btn dt a {
		border: 2px solid #e85604;
		border-radius: 60px;
		padding: 20px;
		font-size: 28px;
	}
	.seach_box .search_list_box fieldset {
		overflow: hidden;
		width: 100%;
	}
	.seach_box .search_list_box fieldset legend {
		font-size: 32px;
	}
	.search-submit {
		padding: 30px 0;
	}
	.search-submit .searchCount {
		font-size: 30px;
	}
	.seach_box .search_list_box fieldset.freeword legend, .seach_box .search_list_box fieldset.activity legend {
		font-size: 34px;
	}
	fieldset.freeword legend:before {
		width: 40px;
		height: 40px;
	}
	.cp_tab .search-submit ul li:first-child {
		margin-right: 0;
	}
	.cp_tab .search-submit ul .modaal-close:hover {
		position: static;
		border-radius: 10px;
		border: none;
		padding: 20px;
		background: #B40019;
		color: #fff;
		display: block;
		width: 100%;
		height: auto;
		margin-top: 20px;
	}
	.cp_tab .search-submit ul {
		display: block;
	}
	.checkbox-parts {
		padding-left: 45px;
		font-size: 1.6rem;
		line-height: 1.2;
	}
	.cp_tab .search-submit ul .modaal-close {
		position: static;
		border-radius: 10px;
		border: none;
		padding: 20px 10px;
		display: block;
		width: 100%;
		height: auto;
		font-size: 30px;
	}
	.cp_tab .search-submit ul li:first-child {
		margin-right: 0;
		margin-bottom: 20px;
		font-size: 28px;
	}
	ul#headline {
		width: 37%;
		padding: 0;
	}
	ul#headline li {
		padding: 20px;
	}
	ul#story > li {
		padding: 20px;
	}

	.tabBox .tabArea .one_tab .tab_inner {
		font-size: 28px;
	}
	.seach_box fieldset.search_work ul.child li {
		width: 100%;
		margin: 10px 0;
	}
	.seach_box fieldset.search_work {
		padding: 20px 0;
		border-bottom: none;
	}
	.seach_box fieldset.search_work .fBox {
		margin-top: 20px;
	}
}
@media (max-width: 480px) {
	.cp_tab {
		width: 100%;
		font-size: 0.8em;
	}
	.cp_tab label {
		padding: 0.5em;
	}

}