/* ----------------------------------------
 * Common
 * ---------------------------------------- */
html {
	font-size: 62.5%;
}

body {
	margin: 0;
	background: #fff;
	color: #1a1a1a;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
	font-size: 1.6rem;
	line-height: 1.5;
}

body * {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom; /* 画像下の余白対策 */
}

a {
	transition: .2s;
}


/* ----------------------------------------
 * Header
 * ---------------------------------------- */
.header {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 400px;
}

.site-title {
	position: absolute;
	left: 23%;
	top: calc(50% - 18% - 50px);
	z-index: 10;
	width: 54%;
	margin: 0;
	padding: 0;
	transition: .2s;
}

.site-title img {
	display: block;
	width: 100%;
	margin: 0 auto;
	-webkit-filter: drop-shadow(0px 0 8px rgba(0,0,0,0.8));
	filter: drop-shadow(0px 0 8px rgba(0,0,0,0.8)); 
}

@media print, screen and (min-width: 600px) {
	.site-title {
		left: calc(50% - 150px);
		width: 300px;
	}
}

@media print, screen and (min-width: 768px) {
	.site-title {
		left: calc(50% - 180px);
		top: calc(50% - 120px);
		width: 360px;
		margin-top: 0;
	}
}

@media screen and (max-width: 767px) {
	.ratio-w .site-title {
		top: calc(50% - 18%);
	}
}

.header__links {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 30px;
	position: absolute;
	left: calc(50% - 35px);
	bottom: 60px;
	z-index: 5;
	writing-mode: vertical-rl;
}

.header__links a {
	display: block;
	position: relative;
	width: 20px;
	padding: 1px 0;
	color: #fff;
	font-family: "Noto Serif", serif;
	font-size: 1.4rem;
	line-height: 20px;
	text-decoration: none;
	text-shadow: 0 0 5px rgba(0,0,0,0.5);
	letter-spacing: 0.1em;
}

.header__links a:before {
	content: "";
	display: block;
	position: absolute;
	top: -55px;
	left: 50%;
	width: 1px;
	height: 40px;
	background: #fff;
}

@media screen and (max-width: 767px) {
	.ratio-w .header__links {
		display: none;
	}
}

@media print, screen and (min-width: 768px) {
	.header__links {
		left: auto;
		bottom: auto;
		right: 8%;
		top: 45px;
		writing-mode: vertical-rl;
	}
	.header__links a {
		font-size: 1.6rem;
	}
	.header__links a:hover {
		margin-top: 10px;
	}
}

.header__hero {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.header__hero:after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: .3;
}

.header__slider {
	width: 100%;
	height: 100vh;
}

.slide_01,
.slide_02,
.slide_03,
.slide_04,
.slide_05,
.slide_06,
.slide_07 {
	width: 100%;
	height: 100vh;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.slide_01 {
	background-image: url(images/slide_1.jpg);
	background-position: center bottom;
}

.slide_02 {
	background-image: url(images/slide_2.jpg);
	background-color: rgba(0,0,0,0.2);
	background-blend-mode: multiply;
}

.slide_02 {
	background-image: url(images/slide_2.jpg);
	background-color: rgba(0,0,0,0.2);
	background-blend-mode: multiply;
}

.slide_03 {
	background-image: url(images/slide_3.jpg);
	background-color: rgba(0,0,0,0.2);
	background-blend-mode: multiply;
}

.slide_04 {
	background-image: url(images/slide_4.jpg);
	background-color: rgba(0,0,0,0.2);
	background-blend-mode: multiply;
}

.slide_05 {
	background-image: url(images/slide_5.jpg);
	background-color: rgba(0,0,0,0.2);
	background-blend-mode: multiply;
}

.slide_06 {
	background-image: url(images/slide_6.jpg);
	background-color: rgba(0,0,0,0.2);
	background-blend-mode: multiply;
}

.slide_07 {
	background-image: url(images/slide_7.jpg);
	background-color: rgba(0,0,0,0.2);
	background-blend-mode: multiply;
}

@media screen and (max-width: 767px) {
	.slide_03 {
		background-image: url(images/slide_3_sp.jpg);
	}
}

.header__scroll {
	display: block;
	position: absolute;
	bottom: 20px;
	width: 3em;
	height: 3em;
	border-radius: 50%;
	cursor: pointer;
	font-size: 10px;
}
.header__scroll span {
	position: absolute;
	top: 25%;
	left: 33%;
	z-index: 2;
	width: 1em;
	height: 1em;
	border-left: 1px solid #F5F5F5;
	border-bottom: 1px solid #F5F5F5;
	transform: translateY(0) rotate(-45deg);
	animation: popping-arrow 2s infinite ease-out;
}
.header__scroll:hover span {
	transform: translateY(0.5em) rotate(-45deg);
	animation-play-state: paused;
	/*animation: paused;*/
}

@keyframes popping-arrow {
	0% {
		transform: translateY(0) rotate(-45deg);
	}
	30% {
		transform: translateY(0.5em) rotate(-45deg);
	}
	60% {
		transform: translateY(0) rotate(-45deg);
	}
}

@media print, screen and (min-width: 768px) {
	.header__scroll {
		bottom: 30px;
		font-size: 16px;
	}
}


/* ----------------------------------------
 * Main
 * ---------------------------------------- */
.main {
	width: 100%;
	overflow: hidden;
}

/* 洲本温泉について */
.about {
	background: url(images/bg_1.jpg) 0 0 repeat;
}

.about__content {}

.view {
	background: url("images/about_bg_1.png") right top no-repeat;
	background-size: 50% auto;
}

.food {
	background: url("images/about_bg_2.png") left top no-repeat;
	background-size: 50% auto;
}

.spa {
	background: url("images/about_bg_3.png") right top no-repeat;
	background-size: 50% auto;
}

.about__text {
	padding: 40px 20px;
	box-sizing: border-box;
	font-size: 1.5rem;
	transition: .5s;
}

.about__catch {
	margin: 0 0 20px;
	padding: 0;
	color: #e64f3b;
	font-family: "Noto Serif", serif;
	font-size: clamp( 20px, calc( 18px + 0.625vw ), 26px );
	font-weight: 600;
}

.about__text p {
	margin: 20px 0 0;
	padding: 0;
	line-height: 1.8em;
	transition: .5s;
}

.about__img {
	box-sizing: border-box;
	transition: .5s;
}

.about__img img {
	display: block;
	margin: 0;
}

.about__content--wide .about__img img.for-pc {
	display: none;
}

.about__table {
	border-collapse: collapse;
	width: auto;
	margin: 1.5em 0 0;
	padding: 0;
}

.about__table th,
.about__table td {
	padding: 0.8em 0.8em;
	border: 1px solid #ccc;
}

.about__table th {
	background: #fbe5e2;
	font-weight: inherit;
	white-space: nowrap;
}

.about__table td {
	background: #fff;
}

@media print, screen and (min-width: 640px) {
	.view,
	.food,
	.spa {
		background-size: 40% auto;
	}
}

@media print, screen and (min-width: 768px) {
	.about__img {
		height: 400px;
	}
	.about__img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.about__table th,
	.about__table td {
		padding: 1em 1.2em;
		border: 1px solid #ccc;
	}
}

@media print, screen and (min-width: 960px) {
	.about {
		padding-bottom: 80px;
	}
	.about__content {
		margin: 0 auto;
		padding: 80px 0 0;
	}
	.view,
	.food,
	.spa {
		background-size: 430px auto;
	}
	.about__text {
		font-size: 1.6rem;
	}
	.about__content--wide {}
	.about__content--wide .about__text {
		max-width: 1100px;
		margin: 0 auto;
		padding: 0 40px 40px;
	}
	.about__content--wide .about__img {
		width: 80%;
		height: 450px;
		max-height: 36vw;
	}
	.about__content--half {
		display: flex;
		align-items: center;
	}
	.about__content--half.spa {
		flex-direction: row-reverse;
	}
	.about__content--half .about__text {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-grow: 0;
		flex-shrink: 0;
		width: 50%;
		padding: 10px 40px;
	}
	.about__content--half .about__text--inner {
		max-width: 500px;
	}
	.about__content--half .about__img {
		width: 50%;
		height: 450px;
		max-height: 36vw;
	}
	.about__img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

@media print, screen and (min-width: 1280px) {
	.about__text p {
		line-height: 2em;
	}
	.about__content--wide .about__text {
		padding: 0 0 80px;
	}
	.about__content--wide .about__img {
		width: 80vw;
	}
	.about__content--wide .about__img img.for-sp {
		display: none;
	}
	.about__content--wide .about__img img.for-pc {
		display: block;
	}
	.about__content--half .about__text {
		padding: 10px 50px;
	}
	.about__content--half.food .about__img {
		width: 50vw;
		/*margin-right: calc(-1 * (50vw - 550px));*/
	}
	.about__content--half.spa .about__img {
		width: 50vw;
		/*margin-left: calc(-1 * (50vw - 550px));*/
	}
}


/* 洲本温泉の宿・施設 */
.yado {
	padding: 40px 20px 15px;
	background: url("images/yado_bg_1.png") right top no-repeat, url("images/yado_bg_2.png") left bottom no-repeat;
	background-size: 50% auto, 50% auto;
}

.yado__title {
	margin: 0 auto 30px;
	font-family: "Noto Serif", serif;
	font-size: clamp( 24px, calc( 22px + 0.625vw ), 30px );
	font-weight: 600; 
	text-align: center;
}

.yado-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	list-style: none;
	max-width: 1100px;
	margin: 30px auto 0;
	padding: 0;
	box-sizing: border-box;
}

.yado-list li {
	width: calc(50% - 10px);
	margin: 0 0 25px;
	font-size: clamp( 12px, calc( 10px + 0.625vw ), 16px );
	text-align: center;
}

.yado-list li a {
	color: #1a1a1a;
	text-decoration: none;
}

.yado-list li a:hover {
	color: #e64f3b;
}

.yado-list__img {
	overflow: hidden;
}

.yado-list__img img {
	transition: .2s;
}

.yado-list__name {
	margin-top: 0.8em;
}

@media print, screen and (min-width: 768px) {
	.yado {
		padding: 80px 20px 40px;
		background: url("images/yado_bg_1.png") right top no-repeat, url("images/yado_bg_2.png") left bottom no-repeat;
		background-size: 450px auto, 450px auto;
	}
	.yado__title {
		margin: 0 auto 60px;
	}
	.yado-list {
		padding: 0 5px;
	}
	.yado-list li {
		width: calc((100% / 3) - 20px);
		margin: 0 0 40px;
		font-size: clamp( 12px, calc( 10px + 0.625vw ), 16px );
		text-align: center;
	}
	.yado-list li a:hover .yado-list__img img {
		transform: scale(1.05);
	}
}

@media print, screen and (min-width: 1280px) {
	.yado-list {
		padding: 0;
	}
	.yado-list li {
		width: 240px;
		margin-bottom: 40px;
	}
}


/* ----------------------------------------
 * Footer
 * ---------------------------------------- */
.footer {
	padding: 0 20px;
	background: #fadcd8;
	text-align: center;
}

.footer__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 25px 0;
	background: url("images/footer_deco.png") right 25px no-repeat;
	background-size: 25% auto;
}

.footer__logo {
	width: 50%;
	max-width: 150px;
	margin: 0 auto 25px;
}

.footer__logo img {
	display: block;
	width: 100%;
}

.footer__info {}

.footer__name {
	margin-bottom: 0.2em;
	font-size: 1.6rem;
}

.footer__address {
	font-size: 1.3rem;
}

.footer__copyright {
	max-width: 1100px;
	margin: 0 auto;
	padding: 12px 0;
	border-top: 1px solid #e3bfbf;
	color: #555;
	font-size: 1.1rem;
}

@media print, screen and (min-width: 480px) {
	.footer__inner {
		background-size: 20% auto;
	}
}

@media print, screen and (min-width: 768px) {
	.footer {
		padding: 0 20px;
	}
	.footer__inner {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		gap: 30px;
		padding: 40px 0;
		background-position: right 20px top 40px ;
		background-size: 150px auto;
	}
	.footer__logo {
		width: 135px;
		margin: 0;
	}
	.footer__info {
		text-align: left;
	}
	.footer__address {
		font-size: 1.4rem;
	}
	.footer__copyright {
		padding: 15px 0;
		font-size: 1.2rem;
	}
}

.pagetop {
	position: fixed;
	right: 10px;
	bottom: 10px;
}

.pagetop a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	opacity: .8;
	border-radius: 50%;
	background: #e64f3b;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

.pagetop a:hover {
	opacity: 1;
}

.pagetop a img {
	display: block;
	margin: 0;
	width: 14px;
}

@media print, screen and (min-width: 768px) {
	.pagetop {
		right: 20px;
		bottom: 20px;
	}
	.pagetop a {
		width: 50px;
		height: 50px;
	}
	.pagetop a img {
		display: block;
		margin: 0;
		width: 15px;
	}
}


/* ----------------------------------------
 * Print
 * ---------------------------------------- */
@media print {
	.header {
		width: 100%;
		height: calc(100vw * 9 / 16);
		background: url("images/slide_1.jpg") center center no-repeat;
		background-size: cover;
	}
	.header__hero {
		display: none;
	}
}

