/*
Theme Name: FujisanCycleRoadRace
Theme URI: https://fcrr.fujicity.jp/
Author: Fujisan Cycle Road Race
Author URI: https://fcrr.fujicity.jp/
Version: 1.0
*/
.acf-map {
    width: 100%;
    height: 400px;
}
.acf-map img {
   max-width: inherit !important;
}

.restaurant-eyecatch img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.restaurant-gallery {
    display: flex;
    margin: 50px -10px;
}

.restaurant-gallery a {
    display: block;
    width: 25%;
    padding: 0 10px;
}

#entry table.table-facility {
    margin: 50px 0 50px;
}

.restaurant-listbox {
	background: #eee;
	padding: 15px 15px 1px;
}

.restaurant-listbox ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.restaurant-listbox ul li a {
	background: #fff;
    display: flex;
    margin-bottom: 15px;
    text-decoration: none;
    align-items: center;
    position: relative;
}

.restaurant-listbox ul li a:hover {
	text-decoration: underline;
}

.restaurant-img {
    width: 100px;
    height: 100px;
}

.restaurant-img img {
	display: block;
    width: 100px;
    height: 100px;
}

.restaurant-name {
    width: calc(100% - 100px);
    padding: 10px;
    line-height: 1.3;
}

.cat-label {
    position: absolute;
    right: 0;
    top: 0;
    background: #E91E63;
    color: #fff;
    font-size: 12px;
    width: 100px;
    text-align: center;
}

.search-genre-box ul {
    padding: 0;
    margin: 0 0 50px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.search-genre-box ul li {
    margin: 0 15px 15px 0;
}

.search-genre-box ul li a {
    display: block;
    text-decoration: none;
    padding: 10px 30px;
    background: #eee;
}

.search-genre-box ul li.current-cat a {
    background: #bbb;
}

.search-genre-box ul li a:hover {
	background: #1a2c7a;
	color: #fff;
}

.header-bana.twit {
	background-color: #000 !important;
}


.header-bana.ig {
    background-color: #ff026a;
    color: #fff;
    text-decoration: none;
    font-size: 27px;
    padding: 33px .8em 0;
}

.header-bana.ig:hover {
	opacity: .8;
}

	.topmainvisual .inner {
		top: 65% !important;
	}

.topmainvisual .inner .kessen {
	margin: 0 !important;
}

a.wp-block-file__button.wp-element-button {
    color: #fff !important;
    text-decoration: none !important;
}

.fa-classic, .fa-light, .fa-regular, .fa-solid, .fa-thin, .fal, .far, .fas, .fat {
    font-family: "Font Awesome 6 Pro" !important;
}

@media screen and ( min-width:1200px ) {
	
	.topsponser ul.mbn li {
		padding: 0 35px;
	}
	
	.topsponser ul.sbn {
		max-width: 1200px;
		margin: 0 auto 30px;
	}
	
	.topsponser ul.sbn li {
		padding: 5px 10px;
	}
	
	ul.xsbn {
		max-width: 1200px;
		margin: 0 auto 30px;
	}
	
	.topsponser ul li {
		padding: 5px 10px;
	}
	
	.topsponser ul.textbn li {
		padding: 8px;
	}
	
	.topmainvisual .inner {
		top: 70% !important;
	}

	.topmainvisual .inner .kessen {
	width: 50% !Important;
}
	
	.topmainvisual img {
    height: auto;
    object-fit: initial;
}
	

	
.restaurant-listbox {
	background: #eee;
	padding: 30px 30px 10px;
}
	
.restaurant-listbox ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}
	
	.restaurant-listbox ul li {
    width: 49%;
}
	
	.restaurant-listbox ul li a {
		margin-bottom: 20px;
	}
	
}

.wp-block-button__link {
	padding: 10px;
}

.wp-block-button__link:hover {
	opacity: .7;
}

.topsponser ul.mbn li img.spo-aliex {
	height: 140px;
	padding-right: 30px;
}

.h-qa img {
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
}

.shuttleBusTime {
	height: 100%;
}

.contbox .teamlist-listbox ul li a {
    display: flex;
    width: 100%;
    padding: 3%;
	align-items: center;
}

.contbox .teamlist-name {
    display: block;
    padding: 0;
    width: 53%;
	margin-right: 3%;
}

.contbox .teamlist-img {
    padding: 0;
    width: 15%;
    display: block;
    margin-right: 3%;
}

.contbox .teamlist-pic {
    display: block;
    width: 26%;
}


.topsponser ul.mbn li img {
    height: 90px;
    width: auto;
}

.topsponser ul.sbn li img {
    height: 70px;
    width: auto;
}

.topsponser ul.xsbn li img {
    height: 60px;
    width: auto;
}

.topsponser ul.textbn li img {
    height: 45px;
    width: auto;
}

@media screen and (max-width: 1024px) {
	.contbox .teamlist-listbox ul li a {
        flex-wrap: wrap;
        justify-content: space-between;
    }
	
	.contbox .teamlist-name {
        width: 100%;
        margin: 0 0 3%;
        padding: 3% 0;
	}
	
	.contbox .teamlist-img {
		width: 35%;
	}
	
	.contbox .teamlist-pic {
		width: 60%;
	}
	
}

@media screen and (max-width: 767px) {

    .topsponser ul.lbn li img {
        height: 90px;
        width: auto;
    }
	
.topsponser ul.mbn li img {
    height: 60px;
    width: auto;
}

.topsponser ul.sbn li img {
    height: 50px;
    width: auto;
}

.topsponser ul.xsbn li img {
    height: 40px;
    width: auto;
}

.topsponser ul.textbn li img {
    height: 30px;
    width: auto;
}

	
}

@media screen and (max-width: 781px) {
	
	.wp-block-columns.is-not-stacked-on-mobile.sp-column-2 {
		flex-wrap: wrap !important;
	}

.sp-column-2 .wp-block-column {
    flex-basis: 45% !important;
}
	
}