@charset "UTF-8";

/* 白浜の魅力 */
#pagehead {
	background: url("../images/about_shirahama/bg_pagehead.jpg") no-repeat center center;
	background-size: cover;
}
#intro {
	max-width: 1000px;
	margin: 0 auto;
	padding: 80px 0;
}
#intro p {
	font-weight: 500;
	text-align: center;
}
#data {
	max-width: 1000px;
	margin: 0 auto;
}
#data h3 {
	font-size: 35px; font-size: 3.5rem;
	font-weight: 900;
	color: #dc3828;
	letter-spacing: 0.05em;
	text-align: center;
	margin-bottom: 40px;
}

#data ol {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#data li {
	width: 32.5%;
	height: 110px;
	box-sizing: border-box;
	padding: 10px;
	margin-bottom: 13px;
	background: #ede6e0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	font-size: 17px; font-size: 1.7rem;
	line-height: 1.47;
	font-weight: bold;
	text-align: center;
	position: relative;
}
#data li img {
	position: absolute;
	left: 10px;
	top: -20px;
	width: 40px;
	height: 40px;
}

#data li span{
	font-size: 13px; font-size: 1.3rem;
	font-weight: normal;
}

#spot {
	display: flex;
	padding: 55px 0 120px;
}
#spot .spot_box {
	width: 33.33%;
	padding-top: 22.2vw;
	position: relative;
}
#spot .spot_box .text {
	position: relative;
	z-index: 5;
}
#spot .spot_box:nth-of-type(1) .text {
	padding: 0 6.6% 0 20.6%;
}
#spot .spot_box:nth-of-type(2) .text {
	padding: 0 13.6%;
}
#spot .spot_box:nth-of-type(3) .text {
	padding: 0 20.6% 0 6.6%;
}

#spot .spot_box .text h4 {
	font-size: 20px; font-size: 2.0rem;
	font-weight: normal;
	line-height: 1;
	border-left: #e83828 2px solid;
	padding: 30px 0 0 8px;
	margin-bottom: 15px;
}
#spot .spot_box .text p {
	font-size: 14px; font-size: 1.4rem;
	line-height: 2.1;
}
#spot .spot_box .image {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}
#link {
	padding: 0 0 120px;
}

#link h3 {
	font-size: 35px; font-size: 3.5rem;
	font-weight: 900;
	color: #dc3828;
	letter-spacing: 0.05em;
	text-align: center;
	margin-bottom: 40px;
}


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

	#intro {
		padding: 12vw 6.6vw;
	}
	#data h3 {
		font-size: 5.4vw;
		margin-bottom: 4vw;
	}

	#data ol {
		padding: 0 2vw;
	}
	#data li {
		width: 48.5%;
		height: auto;
		min-height: 20vw;
		padding: 2vw;
		margin-bottom: 3vw;
		font-size: 2.6vw;
	}
	#data li img {
		position: absolute;
		left: 0;
		top: -4vw;
		width: 8vw;
		height: 8vw;
	}

	#data li span{
		font-size: 1.8vw;
	}

	#spot {
		padding: 8vw 0 15vw;
		flex-wrap: wrap;
	}
	#spot .spot_box {
		width: 100%;
		padding: 44vw 0 8vw;
	}
	#spot .spot_box:nth-of-type(1) .text,
	#spot .spot_box:nth-of-type(2) .text,
	#spot .spot_box:nth-of-type(3) .text {
		padding: 0 10%;
	}

	#spot .spot_box .text h4 {
		font-size: 3.6vw;
		padding: 8vw 0 0 2vw;
		margin-bottom: 2vw;
	}
	#spot .spot_box .text p {
		font-size: 2.9vw;
	}
	#spot .spot_box .image {
		height: 48vw;
		overflow: hidden;
	}
	#spot .spot_box .image img {
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}
	#link {
		padding: 0 0 15vw;
	}
	#link h3 {
		font-size: 5.4vw;
		margin-bottom: 4vw;
	}

}