@charset "UTF-8";

/* common */
.main-color {
	background: #D9D9D9;
}
.facility-list .wp-block-button__link {
	background: #D9D9D9;
	color: #333;
	padding: .5em 2em;
	font-weight: bold;
	border-radius: .5em;
}
* {
	margin: 0;
	padding: 0;
}
body {
	font-size: 16px;
    font-family: sans-serif;
    font-style: normal;
    line-height: 1.6;
    color: #333;
	word-break: break-all;
	min-height: 100vh;
	position: relative;
	padding-bottom: 40px;
    box-sizing: border-box;
}
.pc {
    display: block;
}
.sp {
    display: none;
}
h1 a {
	color: #333;
    font-size: 18px;
    font-weight: bold;
	display: flex;
	gap: 1rem;
	align-items: center;
}
h2 {
    font-size: 28px;
	text-align: center;
	margin-bottom: .25em;
}
h3 {
    font-size: 22px;
}
img {
    width: auto;
	max-width: 100%;
    height: auto;
}
li {
	list-style: none;
}
a {
	color: #008ECA;
	text-decoration: none;
}
.button {
	text-align: center;
	font-weight: bold;
	font-size: 18px;
	width: 316px;
	margin: auto;
	border-radius: 8px;
	padding: 12px;
}
.button a {
	color: #333;
	display: block;
}
.wrapper {
    max-width: 1220px;
    width: calc(100% - 2rem);
	padding: 0 1rem;
    margin: 64px auto;
}
.title {
	margin-bottom: 40px;
	text-align: center;
}
.button__back {
	margin: 1em auto;
}
@media screen and (max-width:480px) {
	body {
		font-size: 14px;
	}
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
	h2 {
		font-size: 24px;
	}
	h3 {
		font-size: 20px;
	}
	.button {
		width: calc(100% - 24px);
	}
	.wrapper {
		margin: 40px auto;
	}
	.title {
		margin-bottom: 24px;
	}
}

/* header */
header {
	padding: 0 1rem;
}
.header__inner {
	max-width: 1220px;
	height: 64px;
	margin: auto;
	display: flex;
	align-items: center;
}

/* top page */
.top {
	text-align: center;
}
.top__text {
	max-width: 700px;
	margin: 1rem auto 40px;
}

/* seletc page */
.column {
	display: flex;
	justify-content: space-between;
}
.facility-list {
	display: flex;
	gap: 40px;
	border: 1px solid #BDBDBD;
	border-radius: 1rem;
	padding: 2rem;
	margin: 0 40px 40px 0;
}
.facility-list__content {
	width :50%;
}
.facility-list__content p {
	margin: 1rem 0;
}
.sidebar {
	width: 312px;
	background: #EAEAEA;
	border-radius: 1rem;
	padding: 24px;
	text-align: center;
}
.sidebar__image {
	margin: 24px auto;
}
.sidebar p {
	text-align: left;
}
@media screen and (max-width:980px) {
	.column {
		display: block;
	}
	.facility-list {
		margin-right: 0;
	}
	.column__right {
		margin-right: 1rem;
	}
	.sidebar {
		width: calc(100% - 2rem);
	}
}
@media screen and (max-width:768px) {
	.facility-list {
		display: block;
        max-width: calc(380px - 4rem);
        margin: 0 auto 40px;
	}
	.facility-list__content {
		width: 100%;
	}
	.no-matching {
		margin-bottom: 40px;
		text-align: center;
	}
}

/* seach */
.search {
	text-align: center;
}
.search__box form select, .search__box input {
	padding: .5em 1em;
	border-radius: .5em;
	border: solid 1px #333;
	margin: 0 .3em .7em 0;
}
.search__box input#submit, .search__box input#reset {
	padding: .3em 2em;
}
.search__sports, .search__area {
	background: #EAEAEA;
    padding: 16px 24px 1px;
	border-radius: 1rem;
	margin: 40px auto;
}
.category-list, .tag-list {
	display: flex;
	justify-content: center;
	gap: 1em;
	flex-wrap: wrap; 
	text-wrap: nowrap;
	margin: 16px auto 24px;
}
.category-list a, .tag-list a, .post-categories a, .post-tags a {
	border: solid 1px #008ECA;
	border-radius: 50px;
	padding: .5em 1em;
	background: #fff;
}
.tag-list a {
	padding: .25em 1em;
}
.post-categories, .post-tags {
	display: flex;
	flex-wrap: wrap;
	text-wrap: nowrap;
	gap: .5em;
	margin: 4px auto 8px;
}
.post-categories a, .post-tags a {
	font-size: 12px;
}
@media screen and (max-width:768px) {
	.post-categories, .post-tags {
		margin: 8 auto;
	}
	.post-categories li, .post-tags li {
		margin-bottom: 4px;
	}
	.tag-list a {
		margin-bottom: -.55em;
	}
	.tag-list a {
		font-size: 14px !important;
	}
}
@media screen and (max-width:480px) {
	.search__sports, .search__area {
		margin: 24px auto;
	}
}

/* footer */
footer {
	font-size: 14px;
	text-align: center;
	padding: .5em 0;
	position: absolute;
    bottom: 0;
	width: 100%;
}

/* post-page */
.post-page .facility-list {
	margin: auto;
}
.post-page .facility-list__content{
	width: 70%;
}