@charset "UTF-8";

/* 親テーマ .l-container の幅制限を解除 */
.page-template-page-top #content.l-content.l-container {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}

.page-template-page-top.-frame-on .l-mainContent.p-top {
	padding: 0;
	background: none;
	border-radius: 0;
	box-shadow: none;
}

/* トップページ */
.p-top {
	--top-color-bg: #fdf8ee;
	--top-color-primary: #4a231a;
	--top-color-accent: #c9a84c;
	--top-color-white: #fff;
	--top-color-red: #71110D;
	--top-font-heading: "Hina Mincho", serif;
	--top-font-body: "Kiwi Maru", serif;
	background-color: var(--top-color-bg);
	color: var(--top-color-primary);
	font-family: var(--top-font-body);
}

.p-top .l-mainContent__inner {
	max-width: none;
	padding: 0;
}

/* セクション共通 */
.p-top-section__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 20px 40px;
}

.p-top-section__head {
	text-align: center;
	margin-bottom: 60px;
}

.p-top-section__title {
	font-family: var(--top-font-heading);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: 500;
	letter-spacing: 0.1em;
	margin: 0 0 12px;
}

.p-top-section__stars {
	display: block;
	margin: 0 auto;
}

.p-top-btn {
	display: inline-block;
	max-width: 600px;
	min-width: 200px;
	padding: 14px 32px;
	background-color: var(--top-color-primary);
	color: var(--top-color-white);
	font-size: clamp(1.2rem, 2.2vw, 24px);
	letter-spacing: 0.05em;
	text-align: center;
	text-decoration: none;
	border-radius: 999px;
	transition: opacity 0.2s;
}

.p-top-btn:hover {
	opacity: 0.85;
	color: var(--top-color-white);
}

/* ヒーロー */
.p-top-hero {
	position: relative;
	background-image: url("../img/hero/hero_bg.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.p-top-hero__slider {
	position: relative;
	--hero-zoom-duration: 12s;
}

.p-top-hero__slides {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.p-top-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.7s ease;
	overflow: hidden;
	border-radius: 50px 0 0 0;
}

.p-top-hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.p-top-hero__slide-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transform-origin: center center;
	will-change: transform;
}

.p-top-hero__slide.is-active .p-top-hero__slide-img {
	animation: p-top-hero-zoom var(--hero-zoom-duration) linear forwards;
}

.p-top-hero__slide:not(.is-active) .p-top-hero__slide-img {
	animation: none;
	transform: scale(1);
}

@keyframes p-top-hero-zoom {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.08);
	}
}

.p-top-hero__catch {
	position: absolute;
    top: 0;
    right: 4%;
    z-index: 2;
    width: 7em;
    height: 100%;
    margin: 0;
}

.p-top-hero__catch-item {
	margin: 0;
	writing-mode: vertical-rl;
	font-family: var(--top-font-heading);
	font-size: clamp(28px, 3.2vw, 42px);
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.2;
	color: var(--top-color-primary);
	background-color: var(--top-color-white);
	border-radius: 0;
	opacity: 0;
}

.p-top-hero__catch-item--sub {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	padding: 0.8em 0.2em;
	border-radius: 0 0 5px 5px;
}

.p-top-hero__catch-item--main {
	position: absolute;
	top: auto;
	bottom: 0;
	right: 2.2em;
	z-index: 1;
	padding: 0.8em 0.2em;
	font-size: clamp(28px, 3.2vw, 42px);
	border-radius: 5px 5px 0 0;
}

.p-top-hero__features {
	position: absolute;
	bottom: 24px;
	left: 24px;
	z-index: 2;
	max-width: min(90%, 560px);
	opacity: 0;
}

@keyframes p-top-hero-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.p-top-hero__slider.is-ready .p-top-hero__catch-item--sub {
		animation: p-top-hero-fade-in 0.8s ease forwards;
		animation-delay: 0.5s;
	}

	.p-top-hero__slider.is-ready .p-top-hero__catch-item--main {
		animation: p-top-hero-fade-in 0.8s ease forwards;
		animation-delay: 1.1s;
	}

	.p-top-hero__slider.is-ready .p-top-hero__features {
		animation: p-top-hero-fade-in 0.8s ease forwards;
		animation-delay: 2s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.p-top-hero__catch-item,
	.p-top-hero__features {
		opacity: 1;
	}
}

.p-top-hero__features-img {
	width: 100%;
	height: auto;
}

/* スマホ用：見出し「エリア最安値」を文字で重ねる（画像は見出しなし版） */
.p-top-hero__features-sp {
	margin-top: 8px;
}

.p-top-hero__features-title {
	margin: 0 0 12px;
	color: var(--top-color-primary);
	font-family: var(--top-font-body);
	font-size: 1.375rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-align: center;
}

.p-top-hero__dots {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin-top: 9px;
	padding-bottom: 1px;
}

.p-top-hero__dot {
	box-sizing: content-box;
	width: 10px;
	height: 10px;
	padding: 7px;
	border: none;
	border-radius: 50%;
	background-color: #d9d0c3;
	background-clip: content-box;
	cursor: pointer;
}

.p-top-hero__dot.is-active {
	background-color: var(--top-color-primary);
}

/* おすすめポイント */
.p-top-point {
	padding: 64px 0;
}

.p-top-point__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 0 0 40px;
	padding: 0 40px;
	list-style: none;
}

.p-top-point__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 32px 16px;
	background-color: var(--top-color-white);
	border: 2px solid var(--top-color-accent);
	border-radius: 8px;
	text-align: center;
}

.p-top-point__icon {
	display: block;
	height: 100px;
	width: auto;
	max-width: 120px;
	margin: 0 auto;
	object-fit: contain;
	object-position: center;
}

.p-top-point__text {
	margin: 0;
	font-size: clamp(1rem, 2.2vw, 20px);
	line-height: 1.6;
}

.p-top-point__btn-wrap {
	text-align: center;
	margin: 0;
}

/* 企画のご案内・館内を歩いてみる */
.p-top-plan {
	padding: 64px 0;
	background-image: url("../img/common/plan-bg.png"), url("../img/common/section2_bg.png");
	background-repeat: repeat-x, no-repeat;
	background-position: center top, left top;
	background-size: cover;
	background-position: center top,right top;
	background-color: #fff;
}

.p-top-plan__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-top-plan__link {
	display: block;
	position: relative;
	text-decoration: none;
	color: var(--top-color-primary);
	overflow: hidden;
	border-radius: 34px 0 0 0;
}

.p-top-plan__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transform: scale(1);
	transition: transform 0.4s ease;
}

.p-top-plan__link:hover .p-top-plan__img {
	transform: scale(1.08);
}

.p-top-plan__label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	padding: 12px 16px;
	background-color: var(--top-color-white);
	font-size: 20px;
	letter-spacing: 0.05em;
}

.p-top-plan__arrow {
	display: block;
	width: 10px;
	height: auto;
	flex-shrink: 0;
}

/* 館内を歩いてみる */
.p-top-streetview {
	margin-top: 64px;
}

.p-top-streetview__title {
	margin: 0 0 32px;
	font-family: var(--top-font-heading);
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	font-weight: 500;
	text-align: center;
	letter-spacing: 0.1em;
}

.p-top-streetview__embed {
	width: 80%;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	min-height: 0;
	box-shadow: 10px 10px 0 0 var(--top-color-accent);
}

/* iframe の高さで比率が崩れないよう、枠いっぱいに広げる */
.p-top-streetview__embed iframe {
	display: block;
	width: 100%;
	height: 100%;
}

/* アクセス */
.p-top-access {
	padding: 64px 0;
	background: #fff;
}

.p-top-access__body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: stretch;
}

.p-top-access__logo {
	margin: 0 0 32px;
}

.p-top-access__logo img {
	max-width: 280px;
	width: 100%;
	height: auto;
}

.p-top-access__address,
.p-top-access__contact,
.p-top-access__detail {
	font-style: normal;
	font-size: 1rem;
	line-height: 1.4;
}
.p-top-access__address{
	font-size: 1.2rem;
}

.p-top-access__address p,
.p-top-access__contact p,
.p-top-access__detail p {
	margin: 0;
}

.p-top-access__contact a {
	color: inherit;
	text-decoration: none;
}

.p-top-access__divider {
	border: none;
	border-top: 1px solid var(--top-color-accent);
	margin: 24px 0;
}

.p-top-access__map-wrap {
	width: 100%;
	min-height: 100%;
}

.p-top-access__map {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 480px;
	border: 0;
}

/* バックパッカー応援プラン */
.p-top-backpacker {
	padding: 64px 0;
	background-color: #FFFDFB;
}

.p-top-backpacker__link {
	display: block;
	text-decoration: none;
	transition: opacity 0.2s;
}

.p-top-backpacker__link:hover {
	opacity: 0.9;
}

.p-top-backpacker__img {
	display: block;
	width: 100%;
	height: auto;
}

/* スクロールアニメーション */
@media (prefers-reduced-motion: no-preference) {
	.p-top-animate {
		opacity: 0;
		transform: translateY(20px);
		transition:
			opacity 0.7s ease,
			transform 0.7s ease;
		transition-delay: var(--animate-delay, 0s);
	}

	.p-top-animate.is-animated {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.p-top-animate {
		opacity: 1;
		transform: none;
	}
}

/* レスポンシブ */
@media (max-width: 768px) {
	.p-top-access{
		padding: 40px 0;
	}
	.p-top-point,
	.p-top-plan,
	.p-top-access,
 {
		padding: 40px 0;
	}
	.p-top-backpacker{
		padding: 0;
		margin-bottom: 40px;
	}
	iframe {
    height: 200px;
}
	.p-top-section__head {
		margin-bottom: 32px;
	}

	.p-top-section__inner {
		padding-top: 0;
		padding-bottom: 0;
	}

	.p-top-hero .p-top-section__inner {
		padding-top: 20px;
		padding-bottom: 40px;
	}

	.p-top-point__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.p-top-plan__list {
		grid-template-columns: 1fr;
	}

	.p-top-access__body {
		grid-template-columns: 1fr;
	}

	.p-top-hero__catch {
		width: 6em;
		height: 100%;
	}

	.p-top-hero__catch-item {
		font-size: 1.6rem;
		letter-spacing: 0.2em;
	}

	.p-top-hero__catch-item--main {
		right: 2em;
		font-size: 1.6rem;
	}

	.p-top-hero__features {
		left: 12px;
		bottom: 48px;
	}
}

@media (max-width: 480px) {
	.p-top-hero{
		padding-bottom: 40px;
	}
	.p-top-point__list {
		grid-template-columns: 1fr 1fr;
		padding: 0;
	}
	.p-top-hero__features-img{
		display: block;
		width: 90%;
		margin: 0 auto;
	}
	.p-top-hero__slides{
		aspect-ratio: 1 / 1;
	}
	.p-top-streetview__embed{
		aspect-ratio: 16 / 9;
		width: 100%;
		height: auto;
	}
	.p-top-point__icon{
		height: 80px;
	}
	.p-top-point__item{
		padding: 20px 10px;
		gap:0;
	}
}
