/*
Theme Name: The Point INN
Theme URI: https://thepoint-hotels.com/
Author: The Point INN
Description: The Point INN 公式サイト用テーマ
Version: 0.1.0
Requires PHP: 8.0
Text Domain: thepoint-hotels
*/

:root {
	--ink: #2f3b52;
	--ink-soft: #5b6578;
	--paper: #ffffff;
	--cream: #f5f2ec;
	--line: #e3ded4;
	--accent: #9a6b47;
	--accent-dark: #7f5537;
	--radius: 10px;
	--wrap: 1120px;
	--serif: "Cormorant Garamond", "Noto Serif JP", serif;
	--sans: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.85;
	color: var(--ink);
	background: var(--paper);
	letter-spacing: .03em;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.cream { background: var(--cream); }
.section-title {
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 48px;
}
.section-title::after {
	content: "";
	display: block;
	width: 48px;
	height: 2px;
	background: var(--ink);
	margin: 16px auto 0;
}
.eyebrow {
	font-family: var(--serif);
	font-size: 18px;
	letter-spacing: .2em;
	color: var(--accent);
	text-transform: uppercase;
	display: block;
	text-align: center;
	margin-bottom: 8px;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(6px);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}
.brand { text-decoration: none; line-height: 0; display: inline-block; }
.brand-logo { display: block; height: 26px; width: auto; }
.site-footer .brand-logo { height: 30px; }
@media (max-width: 640px) { .brand-logo { height: 20px; } }
.brand-name { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: .06em; display: block; }
.brand-sub { font-size: 13px; letter-spacing: .25em; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.lang-switch { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 13px !important; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn {
	display: inline-block;
	background: var(--accent);
	color: #fff;
	text-decoration: none;
	border: 0;
	border-radius: 999px;
	padding: 14px 36px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .08em;
	cursor: pointer;
	font-family: var(--sans);
}
.btn:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Hero */
.hero { position: relative; height: min(78vh, 720px); min-height: 460px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 120px 24px 56px;
	background: linear-gradient(to top, rgba(20, 26, 38, .62), rgba(20, 26, 38, 0));
	color: #fff;
}
.hero-copy .wrap { padding: 0; }
.hero-copy h1 { font-size: clamp(26px, 4vw, 42px); margin: 0 0 8px; font-weight: 700; line-height: 1.4; }
.hero-copy p { margin: 0; font-size: 16px; }

/* Search box */
.search-wrap { position: relative; z-index: 5; margin-top: -40px; }
.search-box {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: 0 12px 32px rgba(47, 59, 82, .14);
	padding: 24px;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr .8fr auto;
	gap: 16px;
	align-items: end;
}
.search-box label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink-soft); }
.search-box select, .search-box input {
	width: 100%;
	height: 48px;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 0 12px;
	font-size: 15px;
	font-family: var(--sans);
	color: var(--ink);
	background: #fff;
}
.search-box .btn { height: 48px; padding: 0 32px; }
.search-note { font-size: 13px; color: var(--ink-soft); margin: 12px 4px 0; }
.search-note a { color: var(--accent); }

/* Concept */
.concept { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; max-width: 880px; margin: 0 auto; }
.concept-mark { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1.2; }
.concept-mark img { display: block; width: 100%; max-width: 320px; height: auto; }
.concept-mark small { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .25em; color: var(--ink-soft); margin-top: 8px; }
.concept h2 { font-size: 26px; margin: 0 0 8px; }
.concept .lead { font-size: 17px; color: var(--ink-soft); margin: 0 0 20px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-body { padding: 24px 28px 28px; }
.feature .num { font-family: var(--serif); font-size: 44px; color: var(--accent); line-height: 1; }
.feature .num small { font-size: 18px; margin-left: 4px; }
.feature h3 { font-size: 18px; margin: 12px 0 8px; }
.feature p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* Check-in steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.step-body { padding: 16px 18px 20px; }
.step-num { font-family: var(--serif); color: var(--accent); letter-spacing: .15em; font-size: 15px; }
.step h3 { font-size: 17px; margin: 4px 0 6px; }
.step p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.75; }
.step-note { font-size: 14px; margin-top: 16px; }
.facility-main .steps { grid-template-columns: repeat(2, 1fr); }
.page-body .info-table { margin-bottom: 24px; }
.page-body ol ol { margin-top: 6px; }
.page-body table:not(.info-table) { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.page-body table:not(.info-table) th, .page-body table:not(.info-table) td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.page-body h3 { font-size: 17px; margin: 32px 0 8px; }

/* Property cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 16 / 10; }
.card-photos img { width: 100%; height: 100%; object-fit: cover; }
.card-photos img:first-child { grid-row: 1 / 3; }
.card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 22px; margin: 0; }
.card-body .catch { margin: 0; color: var(--ink-soft); font-size: 15px; }
.spec { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.spec li { display: flex; gap: 12px; }
.spec li span:first-child { color: var(--ink-soft); min-width: 5.5em; }
.card-body .btn { align-self: flex-start; margin-top: auto; }
.card.soon .card-photos { background: var(--cream); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 28px; color: var(--ink-soft); letter-spacing: .2em; }
.badge { display: inline-block; background: var(--cream); color: var(--accent-dark); font-size: 13px; font-weight: 700; border-radius: 999px; padding: 2px 12px; align-self: flex-start; }

/* Facility page */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 6px; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery img:first-child { grid-row: 1 / 3; }
.facility-head { padding: 48px 0 24px; }
.facility-head h1 { font-size: 34px; margin: 0 0 4px; }
.facility-head p { margin: 0; color: var(--ink-soft); }
.facility-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.facility-main h2 { font-size: 22px; margin: 48px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.facility-main h2:first-child { margin-top: 0; }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; font-size: 15px; }
.amenities li::before { content: "・"; color: var(--accent); }
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td { text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 32%; color: var(--ink-soft); font-weight: 500; }
.book-panel { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 8px 24px rgba(47, 59, 82, .08); }
.book-panel .price { font-size: 14px; color: var(--ink-soft); }
.book-panel .price strong { font-size: 26px; color: var(--ink); }
.book-panel .search-box { box-shadow: none; padding: 0; grid-template-columns: 1fr 1fr; }
.book-panel .search-box .field-wide, .book-panel .search-box .btn, .book-panel .search-box .field-guests { grid-column: 1 / -1; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.photo-grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 6px; cursor: zoom-in; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(15, 18, 26, .92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 6px; }
.lightbox button { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer; }

/* Generic page */
.page-head { background: var(--cream); padding: 64px 0 48px; text-align: center; }
.page-head h1 { margin: 0; font-size: 30px; }
.page-body { max-width: 820px; margin: 0 auto; padding: 64px 24px 96px; }
.page-body h2 { font-size: 22px; margin: 48px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 700; margin-top: 28px; }
.faq dt::before { content: "Q. "; color: var(--accent); }
.faq dd { margin: 8px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.faq dd::before { content: "A. "; color: var(--ink); font-weight: 700; }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }
.muted { color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #e9ecf2; padding: 64px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #b9c1cf; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: #e9ecf2; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { font-size: 14px; letter-spacing: .15em; margin: 0 0 12px; color: #fff; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 48px; padding-top: 24px; text-align: center; color: #b9c1cf; font-size: 13px; }

/* Mobile booking bar */
.mobile-book { display: none; }

@media (max-width: 960px) {
	.search-box { grid-template-columns: 1fr 1fr; }
	.search-box .field-wide, .search-box .btn { grid-column: 1 / -1; }
	.facility-grid { grid-template-columns: 1fr; }
	.book-panel { position: static; }
	.features { grid-template-columns: 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.section { padding: 64px 0; }
	.nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
	.nav.open { display: flex; }
	.nav a { padding: 16px 24px; width: 100%; border-top: 1px solid var(--line); }
	.lang-switch { border: 0; border-radius: 0; }
	.nav-toggle { display: block; }
	.concept { grid-template-columns: 1fr; gap: 16px; }
	.cards { grid-template-columns: 1fr; }
	.steps, .facility-main .steps { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
	.gallery img:first-child { grid-column: 1 / 3; grid-row: 1; }
	.gallery img:nth-child(n+4) { display: none; }
	.amenities { grid-template-columns: 1fr 1fr; }
	.photo-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr; }
	.mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px; justify-content: center; }
	.mobile-book .btn { width: 100%; text-align: center; }
	body { padding-bottom: 76px; }
}
