@charset "utf-8";
/* CSS Document */

#market {
	scroll-margin-top: 80px;
}
.market__subtitle {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 5px;
}
.marketNote {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px;
	color: #fff;
	text-align: left;
	margin-bottom: 15px;
}
.market__head {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 20px;
    background: rgba(255, 255, 255, 0.4);
    padding: 8px 10px;
}
.market__num {
    font-size: 14px;
}
.market__num span {
    padding-left: 5px;
    font-weight: bold;
    font-size: 20px;
    color: #000;
}
.market__filter {
    display: flex;
    align-items: center;
    gap: 10px;
}
.market__filter__text {
    font-size: 14px;
    font-weight: bold;
}
.market__select {
    position: relative;
}
.market__select:after {
    position: absolute;
    right: 10px;
    top: 50%;
    content: "";
    display: block;
    transform: translateY(-50%) rotate(135deg);
    width: 8px;
    height: 8px;
    border-top: 1px solid black;
    border-right: 1px solid black;
}
.market__select__label {
    all: unset;
    padding: 8px 30px 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
}

.market__items {
	display: flex;
	flex-wrap: wrap;
}
.market__item {
	border: 1px solid rgba(255,255,255,0.2);
	background: rgba(0,0,0,0.5);
}
.market__item.hide {
    display: none;
}
.market__btn {
	position: relative;
	border: none;
	cursor: pointer;
	overflow: hidden;
	background: none;
}
.market__thum__box {
	overflow: hidden;
}
.market__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.market__thum__data {
}
.market__thum__type {
	display: inline-block;
	color: #fff;
	border-radius: 2px;
}
.market__thum__type.eat {
	background: #0a0;
}
.market__thum__type.other {
	background: #f71;
}
.market__thum__name {
	color: #fff;
	text-align: left;
}

.market .slick-prev,
.market .slick-next {
	width: 25px;
	height: 50px;
	background: rgba(255,255,255,0.8);
	z-index: 1;
	cursor: pointer;
}
.market .slick-prev:hover,
.market .slick-next:hover {
	background: rgba(255,255,255,0.8) !important;
}
.market .slick-prev {
	left: 0;
}
.market .slick-next {
	right: 0;
}
.market .slick-prev:before{
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900; 
	content: "\f104";
	font-size:24px;
	color: #000;
}
.market .slick-next:before{
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900; 
	content: "\f105";
	font-size:24px;
	color: #000;
}





.marketModal {
	background: rgba(299,299,299,0.95);
}
.marketModal.active {
	opacity: 1; 
	z-index: 99999998;
}
.marketModalInfo {
	border: 1px solid rgba(0,0,0,0.8);
}
.marketModalInfo__wrap {
	margin-bottom: 5px;
}
.marketModalInfo__item {
	position: relative;
	background: #eee;
}
.market__name {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 20px;
	font-weight: bold;
}
.market__type {
	margin-bottom: 5px;
	font-size: 14px;
	color: #555555;
}
.market__snsItems {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 5px;
}
.market__snsLink {
	background: #e8e6e6;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 20px;
}
.market__snsLink .fa-instagram {
	color: #E1306C;
}
.market__snsLink .fa-x-twitter {
	color: black;
}
.market__snsLink .fa-facebook {
	color: #3B5998;
}
.market__snsLink .fa-earth-asia {
	color: var(--main-color);
}
.marketModal__txt {
	font-size: 14px;
	line-height: 1.8;
}
.marketModal__close {
	position: absolute;
	top: 0;
	right: 0;
	background: initial !important;
}
.marketModalInfo__item {
	position: relative;
}
.marketModalInfo__item:before {
	content: "";
	display: block;
	padding-top: 100%;
}
.marketInfo__img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
@media screen and (min-width: 768px) {
	.market__item {
		width: calc(100% / 7 - 4px);
		margin: 2px;
		padding: 2px;
	}

	.market__thum__box {
		aspect-ratio: 4/3;
		margin-bottom: 5px;
	}
	.market__img {
		transition: .4s all;
	}
	.market__img:hover {
		transform: scale(1.15,1.15);
		opacity: 1.0;
	}
	.market__thum__data {
		margin-bottom: 2px;
		padding: 0 1px;
	}
	.market__thum__type {
		font-size: 10px;
		margin-bottom: 3px;
		padding: 3px 5px;
	}
	.market__thum__name {
		font-size: 12px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.marketModal {
		opacity: 0;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		text-align: center;
		cursor: pointer;
		white-space: nowrap;
		z-index: -1;
	}
	.marketModal:before {
		content: '';
		display: inline-block;
		height: 100%;
		vertical-align: middle;
	}
	.marketModal__outer {
		opacity: 0;
		transform: scale(0.6);
		transition: all .2s;
		position: relative;
		width: 90%;
		max-width: 580px;
		height: auto;
		display: inline-block;
		vertical-align: middle;
		overflow: auto;
		cursor: auto;
		white-space: normal;
		z-index: -1;
	}
	.marketModal__outer.active {
		opacity: 1;
		transform: scale(1);
		z-index: 99999999;
	}
	.marketModal__wrap {
		padding: 30px;
		cursor: auto;
		text-align: left;
	}
	.marketModalInfo {
		min-height: 400px;
		max-height: 86vh;
		overflow: scroll;
		margin-top: 10px;
		padding: 20px;
	}
	.marketModal__close .fa-xmark {
		font-weight: 600;
		font-size: 30px;
	}
}
@media screen and (max-width: 767px) {
    .market__head {
        justify-content: space-between;
        margin-bottom: 4vw;
        gap: 0;
        padding: 2.133vw 2.667vw;
    }
    .market__num {
        font-size: 3.733vw;
    }
    .market__num span {
        padding-left: 1.333vw;
        font-size: 5.333vw;
    }
    .market__filter {
        gap: 0;
    }
    .market__filter__text {
        display: none;
    }
    .market__select:after {
        right: 2.667vw;
        width: 2.133vw;
        height: 2.133vw;
    }
    .market__select__label {
        all: unset;
        padding: 2.133vw 8vw 2.133vw 3.2vw;
        border: 1px solid #ccc;
        border-radius: 1.067vw;
        background: white;
        font-size: 3.733vw;
        font-family: 'Noto Sans JP', sans-serif;
    }
	.market__item {
		width: calc(100% / 4 - 0.2vw);
		margin: 0.1vw;
		padding: 0.4vw;
	}

	.market__thum__box {
		aspect-ratio: 1/1;
		margin-bottom: 1vw;
	}
	.market__img {
	}
	.market__thum__data {
		margin-bottom: 0.5vw;
		padding: 0 0.333vw;
	}
	.market__thum__type {
		font-size: 2.125vw;
		font-weight: 600;
		margin-bottom: 0.25vw;
		padding: 0.25vw 1.0vw;
	}
	.market__thum__name {
		font-size: 3vw;
		font-weight: 600;
		display: -webkit-box;
		-webkit-line-clamp: 1;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.marketModal {
		position: relative;
		opacity: 0;
		height: 0;
		z-index: -1;
	}
	.marketModal:before {
		content: '';
		display: inline-block;
		height: 100%;
		vertical-align: middle;
	}
	.marketModal.active {
		opacity: 1;
		height: auto;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		text-align: center;
		cursor: pointer;
		white-space: nowrap;
		z-index: -1;
		transition: all 0.5s;
		z-index: 99999998;
	}
	.marketModal__wrap {
		padding: 4vw;
		cursor: auto;
		text-align: left;
	}
	.marketModal__outer {
		opacity: 0;
		transform: scale(0.6);
		transition: all .2s;
		position: relative;
		width: 92%;

		max-width: 900px;
		height: 90%;
		display: inline-block;
		vertical-align: middle;
		overflow: auto;
		cursor: auto;
		white-space: normal;
		z-index: 99999999;
	}
	.marketModal__outer.active {
		opacity: 1;
		transform: scale(1);
		height: auto;
	}
	.marketModalInfo {
		max-height: 80vh;
		overflow: scroll;
		margin-top: 5vw;
		padding: 3vw;
	}
	.marketModal__close .fa-xmark {
		font-weight: 600;
		font-size: 6vw;
	}
	.market__subtitle {
		margin: 0 0 1vw;
		font-size: 4vw;
	}
	.marketNote {
		font-size: 3.125vw;
		text-align: left;
		padding-top: 1px;
	}
	#market {
	}
}
