.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 9999;
}

.header--center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__logo {
  margin-right: auto;
}

.header__logo__img {
  display: block;
  width: 120px;
}

.header__nav {
  margin-left: auto;
}

.header__nav__list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__nav__item {
  margin-left: 20px;
}

.header__nav__item:first-child {
  margin-left: 0;
}

.header__nav__item a {
  display: inline-block;
  color: #4d4d4d;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.header__nav__item a:hover {
  opacity: 0.5;
}

.header__menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  margin-left: 20px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
}

.header__menu-btn__line {
  width: 20px;
  height: 2px;
  background-color: #4d4d4d;
  margin-bottom: 5px;
  transition: transform 0.2s ease;
}

.header__menu-btn__line:first-child {
  transform-origin: top left;
}

.header__menu-btn__line:last-child {
  transform-origin: bottom left;
}

.header__menu-btn.open .header__menu-btn__line:first-child {
  transform: rotate(45deg);
}

.header__menu-btn.open .header__menu-btn__line:last-child {
  transform: rotate(-45deg);
}

.header__menu-btn.open .header__menu-btn__line:nth-child(2) {
  opacity: 0;
}





.details {
	border-top: 2px solid #00a5a0;
	border-left: 2px solid #00a5a0;
	border-right: 2px solid #00a5a0;
	&:last-of-type {
		border-bottom: 2px solid #00a5a0;
	} 
}
.details-summary {
	position: relative;
	display: block;
	padding: 5px;
	color: #fff;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	background-color: #b2e4e2;
	&:hover {
		cursor: pointer;
		opacity: 0.8;
	}
	.btn {
        position: absolute;
        top: 37%;
        left: 10%;
        width: 18px;
        height: 18px;
        transform-origin: center center;
        transition-duration: 0.2s;

        &:before,
        &:after {
            content: "";
            background-color: #fff;
            border-radius: 10px;
            width: 18px;
            height: 4px;
            position: absolute;
            top: 7px;
            left: 0;
            transform-origin: center center;
        }
        &:before {
            width: 4px;
            height: 18px;
            top: 0;
            left: 7px;
        }
    }
	&.is-active {
		.btn {
			-webkit-transform: rotate(-180deg);
			transform: rotate(-180deg);
			&:before {
            	content: none;
        	}	
		}
    }
}

.details-summary::-webkit-details-marker {
	display: none;
}

.details-content {
	padding: 15px;
	.btn {
		}
	}
	.close-btn {
		margin: 0 auto;
		padding: 8px 32px;
		background: #00a5a0;
		color: #fff;
		text-align: center;
		border: none;
		border-radius: 5px;
		cursor: pointer;
		&:hover {
			opacity: 0.8;
		}
	}
	.seach-btn {
		margin: 0 auto;
		padding: 8px 32px;
		background: #00a5a0;
		color: #fff;
		text-align: center;
		border: none;
		border-radius: 5px;
		cursor: pointer;
		&:hover {
			opacity: 0.8;
		}
	}

.flex{
    display: flex;
}

dl {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#filterNum .num {
    width: 30em;
}

.filterItem dt.title {
    width: 7em;
}

.well {
    width: 1000px;
}

.chooseOption {
	display: flex;
}

#filterPlayers .content {
    width: 1em;
}

#filterAge .content {
    width: 5em;
}

.filterList_btn{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.input-group_cre .filterleft{
	flex: 1;
}

.input-group_cre .filterright{
	flex: 1;
}

dt.num {
    width: 2em;
}

.input-group-append-Age {
    margin-left: 5%;
    margin-top: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.input-group-append-Players {
    margin-left: 11.3%;
    margin-top: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

ul.filterList {
    display: flex;
    flex-wrap: wrap;

	@media (max-width:1010px) {
            width: 60%;
    }

        @media (max-width:500px) {
            margin: 0;
    }
}

.data {
    width: 26em;
}

.filterList .title span {
    font-size: 0.9em;
}

.num .icon::before {
    content: url(../images/title_icon.png);
}
.time .icon::before {
    content: url(../images/time_icon.png);
}
.manu .icon::before {
    content: url(../images/manu_icon.png);
}
.price .icon::before {
    content: url(../images/price_icon.png);
}
.age .icon::before {
    content: url(../images/age_icon.png);
}
.players .icon::before {
    content: url(../images/players_icon.png);
}
.icon::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: inline-block;
    margin-right: .5em;
}

@media (min-width: 1010px) {
  .header--center {
    justify-content: space-between;
  }
}

@media (max-width:1010px) {
    li {
        margin: 0;
    }
    .well {
        width: fit-content;
    }


    .input-group_cre{
        width: min-content;
    }
    .data {
        width: 14em;
    }
    .select {
        width: 13em;
    }

    #ddage {
        width: auto;
        display: block;
    }

    #agenum {
        width: auto;
    }

    #ddplayers {
        display: block;
        width: auto;
    }

    #playersnum {
        width: auto;
    }

    #InputTitle {
        width: auto;
    }

    #InputManufacturer {
        width: auto;
    }

    #InputPlayTime {
        width: 97%;
     }

    #InputPrice {
        width: 97%;
     }

}

#InputAge{
    padding: .375rem .375rem;	
}

#InputPlayers{
    padding: .375rem .375rem;	
}

label.form-check-label {
    margin-left: -0.4em;
    width: 7rem;
}

label.form-check-label_players_only{
    margin-left: -0.4em;
    width: 3rem;
    margin-right: 8rem;
    @media (max-width:1010px) {
        margin-right: 0rem;
    }
}

label.form-check-label_players{
    margin-left: -0.4em;
    width: 3rem;
}
#filterAge .num::after {
    content: "歳以上対象";
    margin-left: .5em;
    font-size: 15px;
}

#filterPlayers .num::after {
    content: "人";
    margin-left: .5em;
    font-size: 15px;
}

.num {
    display: flex;
    align-items: center;
}

input#InputAge {
    width: 2rem;
}

input#InputPlayers {
    width: 2rem;
}

dd.ddage {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 26em;
}

.ddage .num {
    width: 8rem;
}

.ddplayers .num {
    width: 8rem;
}

dd.ddplayers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20em;
}

.input-group-append-Players .form-check-inline {
    margin-right: 0rem;
}

#InputManufacturer {
    width:90%;
}

#InputTitle{
    width: 90%;
}

.form-check .form-check-input {
    margin-top: 0.4em;
}

tr {
    text-align: center;
    vertical-align: middle;
}

th {
    width: 10%;
}