@import url(https://fonts.googleapis.com/css?family=Heebo:400,700|Open+Sans:400,700);
:root {
	--color: #F53B6B;
	--transition-time: 0.5s
}

* {
	box-sizing: border-box
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: 'Kiwi Maru', serif;
	background: #fff
}

a {
	color: inherit
}

.card4s-wrapper {
	display: grid;
	justify-content: center;
	align-items: center;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 4rem;
	padding: 0;
	margin: 0 auto;
	width: max-content
}

.card4 {
	font-family: 'Kiwi Maru', serif;
	--bg-filter-opacity: 0;
	background-image: linear-gradient(rgba(0, 0, 0, var(--bg-filter-opacity)), rgba(0, 0, 0, var(--bg-filter-opacity))), var(--bg-img);
	height: 20em;
	width: 15em;
	font-size: 1.5em;
	color: #000;
	border-radius: 1em;
	padding: 1em;
	display: flex;
	align-items: flex-end;
	background-size: cover;
	background-position: center;
	box-shadow: 0 0 5em -1em #000;
	transition: all, var(--transition-time);
	position: relative;
	overflow: hidden;
	border: 10px solid #f53b6b;
	text-decoration: none
}

.rest1 {
	background-image: url(../img/korabo/sirius/001.jpg)
}

.rest2 {
	background-image: url(../img/korabo/lechocolatgeh/001.jpg)
}

.rest3 {
	background-image: url(../img/korabo/gmc/001.jpg)
}

.rest4 {
	background-image: url(../img/korabo/amoreamigo/001.jpg)
}

.rest5 {
	background-image: url(../img/korabo/guuutaracoffee/001.JPG)
}

.no-webp .icoma1 {
	background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/rainbowramune_photo_topic1-1.png)
}

.webp .icoma1 {
	background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/rainbowramune_photo_topic1-1.webp)
}

.no-webp .icoma2 {
	background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/rainbowramune_photo_topic2-2.png)
}

.webp .icoma2 {
	background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/rainbowramune_photo_topic2-2.webp)
}

.no-webp .ramune-p1 {
	background-image: url(../img/new_rainbow_ramune.png)
}

.webp .ramune-p1 {
	background-image: url(../img/new_rainbow_ramune.webp)
}

.no-webp .ramune-p2 {
	background-image: url(../img/rainbow_ramune_budou.png)
}

.webp .ramune-p2 {
	background-image: url(../img/rainbow_ramune_budou.webp)
}

.card4:hover {
	transform: rotate(0)
}

.card4 h1 {
	margin: 0;
	font-size: 1em;
	text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
	color: #000;
	line-height: 1.2em
}

@media (max-width:1200px) {
	.card4 h1 {
		margin: 0;
		font-size: 1.5em;
		text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
		color: #000;
		line-height: 1.2em
	}
}

@media (max-width:980px) {
	.card4 h1 {
		margin: 0;
		font-size: 1.5em;
		text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
		color: #000;
		line-height: 1.2em
	}
}

@media (max-width:768px) {
	.card4 h1 {
		margin: 0;
		font-size: 1.3em;
		text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
		color: #000;
		line-height: 1.2em
	}
}

@media (max-width:480px) {
	.card4 h1 {
		margin: 0;
		font-size: 1.2em;
		text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
		color: #000;
		line-height: 1.2em
	}
}

.card4 p {
	font-size: .75em;
	font-family: 'Kiwi Maru', serif;
	color: #fff;
	margin-top: .5em;
	line-height: 2em
}

.card4 .tags {
	display: flex
}

.card4 .tags .tag {
	font-size: .75em;
	background: rgba(255, 255, 255, .9);
	border-radius: .3rem;
	padding: 0 .5em;
	margin-right: .5em;
	line-height: 1.5em;
	transition: all, var(--transition-time)
}

.card4:hover .tags .tag {
	background: var(--color);
	color: #fff
}

.card4 .date {
	position: absolute;
	top: 0;
	right: 0;
	color: #fff;
	font-size: .75em;
	padding: 1em;
	line-height: 1em;
	opacity: .8
}

.card4:after,
.card4:before {
	content: '';
	transform: scale(0);
	transform-origin: top left;
	border-radius: 50%;
	position: absolute;
	left: -50%;
	top: -50%;
	z-index: -5;
	transition: all, var(--transition-time);
	transition-timing-function: ease-in-out
}

.card4:before {
	width: 250%;
	height: 250%
}

.card4:after {
	background: rgb(246, 35, 87, .4);
	width: 200%;
	height: 200%
}

.card4:hover {
	color: var(--color)
}

.card4:hover:after,
.card4:hover:before {
	transform: scale(1)
}

.card4-grid-space .num {
	font-size: 3em;
	margin-bottom: 1.2rem;
	margin-left: 1rem
}

.info {
	font-size: 1.2em;
	display: flex;
	padding: 1em 3em;
	height: 3em
}

.info img {
	height: 3em;
	margin-right: .5em
}

.info h1 {
	font-size: 1em;
	font-weight: 400
}

@media screen and (max-width:1285px) {
	.card4s-wrapper {
		grid-template-columns: 1fr 1fr
	}
}

@media screen and (max-width:900px) {
	.card4s-wrapper {
		grid-template-columns: 1fr
	}
	.info {
		justify-content: center
	}
	.card4-grid-space .num {
		margin-left: 0;
		text-align: center
	}
}

@media screen and (max-width:500px) {
	.card4s-wrapper {
		padding: auto
	}
	.card4 {
		max-width: calc(100vw - 4rem)
	}
}

@media screen and (max-width:450px) {
	.info {
		display: block;
		text-align: center
	}
	.info h1 {
		margin: 0
	}
}