@charset "UTF-8";

/**********************************************************************/
/************************** essay LIST ****************************/
/**********************************************************************/

#essay
{
	width: 100%;
	padding-top: 5rem;
	padding-bottom: 5rem;
	background-color: rgb(245, 245, 245);
	
	display: flex;
	flex-direction: column;
	align-items:center;
}

#essay .travelWrapper,
#essay .secTitleWrapper
{
	margin-bottom: 5rem;
	max-width: 1800px;
	padding: 0 2rem;
}
#essay .secTitleWrapper .secTitle
{
	text-align: left;
	margin-bottom: 0;
}

#essay .secTitleWrapper
{
	flex-direction: row;
	-webkit-justify-content: center;
	justify-content: center;
}

#essay .secTitleWrapper h2
{
	text-align: left;
}

#essay .travelWrapper > .flex
{
	width: calc(100% + 2rem);
	margin: 0 -1rem;
	flex-wrap: wrap;
	
/*	-webkit-justify-content: center;
	justify-content: center;*/
}

/**********************************************************************/
/***************************** Essay LIST ******************************/
/**********************************************************************/

#essay .travelWrapper .article
{
	color:white;
	display: flex;
	justify-content: center;
	align-items: center;
}

#essay .travelWrapper .article a.img
{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
#essay .travelWrapper .article a.img figure
{
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: sticky;
	top:0;
}

#essay .travelWrapper .article a.img figure img
{
	width: 100%;
	height: 100%;
	object-fit:cover;
	object-position: 50% 50%;
	
	transition: all .5s ease;
}

body:not(.touch) #essay .travelWrapper .article a.img:hover figure img
{
	transform: scale(1.1);
}

#essay .travelWrapper .article._a
{
	width: 100%;
	margin: 1rem;
	padding: 2rem;
	color: white;
	min-height: max(50vh, 500px);
}

#essay .travelWrapper .article._b
{
	width: calc(100% / 2 - 2rem);
	margin: 1rem;
	padding: 2rem;
	aspect-ratio: 5 / 3;
}

#essay .travelWrapper .article .cover
{
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	background-image: radial-gradient(rgba(0, 0, 0, .7) 50%, rgba(0, 0, 0, .2) 0), radial-gradient(rgba(0, 0, 0, .7) 50%, rgba(0, 0, 0, .2) 0);
	background-position: 0 0, 2px 2px;
	background-size: 4px 4px;
	background-attachment: fixed;
	width: 100%;
	height: 100%;
}

#essay .travelWrapper .article .textWrapper
{
	pointer-events: none;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#essay .travelWrapper .article .textWrapper h3
{
	border-bottom: 1px solid;
	margin-top: 0;
	padding-bottom: .5em;
	margin-bottom: .5em;
	color: white;
}

#essay .travelWrapper .article._a .textWrapper h3
{
	font-size: clamp(1rem, 4vw, 1.5rem);
}

#essay .travelWrapper .article._b .textWrapper h3
{
	font-size: clamp(1rem, 3vw, 1.2rem);
}

#essay .travelWrapper .article .textWrapper .date_price
{
	font-size: 1rem;
	margin-top: .75rem;
}

#essay .travelWrapper .article .textWrapper .date_price > span:nth-of-type(2)
{
	margin: 0 .5em;
}

#essay .travelWrapper .article .textWrapper .linkBtL
{
	pointer-events: auto;
	color: rgb(255, 255, 255);
	margin-top: 1.5rem;
	margin-bottom: 0;
}

body:not(.touch) #essay .travelWrapper .article .textWrapper .linkBtL:hover
{
	background-color: rgb(0, 0, 0);
}


/*//////////////////////////////////////////////////////////////////////////////////
/////////////////////////////// MEDIA SCREEN //////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////*/


@media screen and (max-width: 799px)
{
	#essay .travelWrapper .article._b
	{
		width: calc(100%);
	}
}