@charset "utf-8";

main {
  background: none;
}

/****************************************************************************************************************************
検索
****************************************************************************************************************************/
main {
  background: none;
}

article.under section.past .search {
	width: 1000px;
  margin: 50px auto;
}
article.under section.past .search h2{
  position: relative;
  padding: 10px 20px;
  margin: 20px 0 60px;
  font-size: 16px;
  color: #505050;
  background: #f0ebe2;
}

article.under section.past .search h2 span{
	position:absolute;
	right:10px;
	top:14px;
	padding:0 3px;
	font-size:20px;
	cursor:pointer;
	width: 20px;
	height: 20px;
}
article.under section.past .search h2 span:before,
article.under section.past .search h2 span:after {
	content: '';
	display: block;
	width: 20px;
	height: 1px;
	background: #505050;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

article.under section.past .search h2 span:after {
	background: #505050;
	transform: translateY(-50%) rotate(90deg);
	transition: 0.5s;
}
article.under section.past .search h2 span.active:after {
	transform: rotate(0);
	transition: 0.5s;
}

article.under section.past .search h2:after{
	display: none;
}

article.under section.past .search .list{
	margin-bottom:20px;
}

article.under section.past .search dl{
	display: flex;
	flex-wrap: wrap;
	border-top:solid 1px #c6c7c8;
	border-right:solid 1px #c6c7c8;
	border-left:solid 1px #c6c7c8;
}
article.under section.past .search dl:nth-child(2){
	border-top:none;
}
article.under section.past .search dl dt{
	width: 20%;
	height: 55px;
	background:#e9e9e9;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom:solid 1px #c6c7c8;
}

article.under section.past .search dl dd{
	height: 55px;
	width: 80%;
	display: flex;
	align-items: center;
	border-bottom:solid 1px #c6c7c8;
}

article.under section.past .search dl dd ul{
	display: flex;
	flex-wrap: wrap;
}

article.under section.past .search dl dd ul li{
  margin-left:20px;
}

article.under section.past .search p.btn{
	display: inline-block;
	width: 180px;
	color: #fff;
	background-color: #004066;
	padding:5px 20px;
	margin:30px auto 70px auto;
	cursor:pointer;
}
/* 検索ボタン */
article.under section.past .search button {
    display: inline-block;
    width: 180px;
    color: #fff;
    background-color: #004066;
    padding: 5px 20px;
    margin: 50px auto 70px auto;
    cursor: pointer;
	font: inherit;
	letter-spacing: 0.1em;
}


article.under section.past .search input[type="checkbox"].on-off{
    display: none;
}

article.under section.past .search .list {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 0;
    padding: 0;
    list-style: none;
}

article.under section.past .search input[type="checkbox"].on-off + .list{
    height: 0;
    overflow: hidden;
}

article.under section.past .search input[type="checkbox"].on-off:checked + .list{
    height: 200px;
}

article.under section.past .search .checkbox{
  display: none;
}
article.under section.past .search .parts{
  padding-left: 22px;
  position:relative;
  margin-right: 20px;
}
article.under section.past .search .parts:before{
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1px solid #c6c7c8;
}
article.under section.past .search .checkbox:checked + .parts:after{
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: 5px;
  width: 5px;
  height: 12px;
  transform: rotate(40deg);
  border-bottom: 3px solid #004066;
  border-right: 3px solid #004066;
}
article.under section.now .w1000 > ul{
  margin-top: 90px;
}

@media screen and (max-width: 1120px) {
  article.under section.past .search {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  article.under section.past .search h2 {
    margin: 1rem!important;
  }
  form div.list {
    margin: 0 1rem 0!important;
  }
  article.under section.past .search dl dd{
    height: auto;
    flex-wrap: wrap-reverse;
    width: 70%!important;
  }
  article.under section.past .search dl dt{
    height: auto;
    flex-wrap: wrap-reverse;
    width: 30%!important;
  }
  article.under section.past .search input[type="checkbox"].on-off:checked + .list{
    height: auto;
  }
  article.under section.past .search button{
    margin: 30px auto;
  }

  article.under section.news .w1000 > ul{
    padding-top: 0;
  }
}