/* ==========================================================
   Nirvana common.css
   全ページ共通：変数 / リセット / ヘッダー / フッター / 共通パーツ
   ========================================================== */

:root {
	--c-green-dark: #17403b;   /* FEATURES背景・フッター最下部 */
	--c-green-pale: #e3eedb;   /* フッター背景 */
	--c-leaf: #a9cc9e;         /* 特徴アイコンの丸 */
	--c-orange: #e06c1f;       /* カートボタン */
	--c-peach: #fdd5bb;        /* ガイドボタン */
	--c-pink: #f0e4df;         /* ガイドタイル */
	--c-cream: #faf7f3;        /* GUIDE背景 */
	--c-gray: #efefef;         /* 画像プレースホルダ・バナー */
	--c-marker: #f6dd8a;       /* 見出しのマーカー */
	--c-text: #3a3a3a;

	--font-ja: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--font-en: "Cormorant SC", "Shippori Mincho", serif; /* 英字見出し。デザインのフォントが決まったら差し替え */

	--inner: 920px;
	--gutter: 24px;
	--header-h: 72px; /* SP時のヘッダー高 */
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-ja);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.9;
	color: var(--c-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	font-feature-settings: "palt";
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
p {
	margin: 0;
}

button {
	font: inherit;
	color: inherit;
}

.inner {
	width: min(100% - var(--gutter) * 2, var(--inner));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 8px 16px;
	background: #fff;
}
.skip-link:focus {
	left: 8px;
	top: 8px;
}

/* ---------- 見出し ---------- */
.sec-title {
	text-align: center;
	margin-bottom: 48px;
}
.sec-title__en {
	display: inline-block;
	padding: 0 6px;
	font-family: var(--font-en);
	font-size: clamp(34px, 4.4vw, 46px);
	font-weight: 700;
	letter-spacing: 0.08em;
	/* line-height: 1.25;
	background: linear-gradient(transparent 64%, var(--c-marker) 64%, var(--c-marker) 88%, transparent 88%); */
}
.sec-title__ja {
	display: block;
	margin-top: -16px;
	font-size: 16px;
	letter-spacing: 0.15em;
}
.sec-title--light {
	color: #fff;
}
.sec-title--light .sec-title__en {
	background: linear-gradient(transparent 64%, rgba(246, 221, 138, 0.55) 64%, rgba(246, 221, 138, 0.55) 88%, transparent 88%);
}

/* ---------- ボタン ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	height: 56px;
	padding: 0 32px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-family: inherit;
	font-size: 15px;
	letter-spacing: 0.1em;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.25s, color 0.25s, opacity 0.25s;
}
.btn--outline {
	background: #fff;
	color: var(--c-text);
}
.btn--outline:hover {
	background: var(--c-text);
	color: #fff;
}
.btn--orange {
	background: var(--c-orange);
	border-color: var(--c-orange);
	color: #fff;
}
.btn--orange:hover {
	opacity: 0.85;
}
.btn--peach {
	/* background: var(--c-peach); */
	border-color: var(--c-green-dark);
	color: var(--c-green-dark);
}
.btn--peach:hover {
	background: var(--c-orange);
	color: #fff;
}
.btn--block {
	width: 100%;
	border-radius: 999px;
}

/* ---------- ヘッダー（下層：横並び） ---------- */
.site-header {
	position: relative;
	z-index: 100;
	background: #fff;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 32px;
}
.site-header__logo .logo-img {
	width: 170px;
}
.logo-text {
	font-size: 20px;
	font-weight: 700;
}

.global-nav {
	display: flex;
	align-items: center;
	gap: 32px;
}
.global-nav__list {
	display: flex;
	gap: 28px;
	font-size: 14px;
	letter-spacing: 0.08em;
}
.global-nav a:hover {
	opacity: 0.6;
}
.global-nav__cart {
	padding: 6px 18px;
	border: 1px solid var(--c-orange);
	border-radius: 999px;
	font-size: 13px;
	color: var(--c-orange);
	letter-spacing: 0.08em;
}
.global-nav__cart:hover {
	background: var(--c-orange);
	color: #fff;
	opacity: 1 !important;
}

.nav-toggle {
	display: none;
}

/* ---------- ヘッダー（トップ：ヒーローに重ねた縦ナビ / PC） ---------- */
@media (min-width: 769px) {
	.home .site-header {
		position: absolute;
		top: 0;
		left: 0;
		width: 300px;
		background: transparent;
	}
	.home .site-header__inner {
		display: block;
		padding: 56px 0 0 40px;
	}
	.home .site-header__logo .logo-img {
		width: 14vw;
	}
	.home .global-nav {
		display: block;
		margin: 120px 0 0 48px;
	}
	.home .global-nav__list {
		flex-direction: column;
		gap: 14px;
		font-size: 16px;
	}
	.home .global-nav__cart {
		display: inline-block;
		margin-top: 28px;
		background: rgba(255, 255, 255, 0.85);
	}
}

/* ---------- フッター ---------- */
.site-footer__body {
	padding: 72px var(--gutter) 56px;
	background: var(--c-green-pale);
	text-align: center;
}
.footer-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 36px;
	font-size: 14px;
	letter-spacing: 0.06em;
}
.footer-nav--sub {
	margin-top: 16px;
}
.footer-nav--sub .footer-nav__list {
	gap: 8px 28px;
	font-size: 12px;
}
.footer-nav a:hover {
	opacity: 0.6;
}
.site-footer__logo {
	margin-top: 48px;
}
.site-footer__logo .logo-img {
	width: 180px;
	margin-inline: auto;
}
.site-footer__sns {
	margin-top: 24px;
}
.site-footer__sns a {
	display: inline-block;
}
.site-footer__copy {
	padding: 14px var(--gutter);
	background: var(--c-green-dark);
	color: #fff;
	font-size: 10px;
	text-align: center;
	letter-spacing: 0.06em;
}

/* ---------- 下層ページ共通 ---------- */
.page-wrap {
	padding-block: 72px 96px;
}
.page-title {
	margin-bottom: 40px;
	font-size: clamp(24px, 3vw, 30px);
	text-align: center;
	letter-spacing: 0.1em;
}
.page-back {
	margin-top: 48px;
	text-align: center;
}
.post-date {
	text-align: center;
	font-size: 13px;
	letter-spacing: 0.1em;
}
.entry-content > * + * {
	margin-top: 1.6em;
}
.entry-content h2 {
	margin-top: 2.4em;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--c-marker);
	font-size: 20px;
}
.entry-content h3 {
	margin-top: 2em;
	font-size: 17px;
}

.post-list__item {
	display: flex;
	gap: 24px;
	padding: 18px 0;
	border-bottom: 1px solid #ddd;
}
.post-list__date {
	flex: none;
	font-size: 13px;
	letter-spacing: 0.08em;
}
.post-list__title:hover {
	opacity: 0.6;
}
.navigation.pagination {
	margin-top: 40px;
	text-align: center;
}
.navigation.pagination .page-numbers {
	display: inline-block;
	min-width: 36px;
	padding: 4px 10px;
}
.navigation.pagination .current {
	background: var(--c-green-dark);
	color: #fff;
}

/* ---------- SP ---------- */
@media (max-width: 768px) {
	body {
		font-size: 14px;
	}
	.site-header__inner {
		min-height: var(--header-h);
		padding: 12px 16px;
	}
	.site-header__logo .logo-img {
		width: 120px;
	}
	.home .site-header {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		background: transparent;
	}

	.nav-toggle {
		position: relative;
		z-index: 120;
		display: block;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.85);
		cursor: pointer;
	}
	.nav-toggle__bar {
		position: absolute;
		left: 12px;
		width: 20px;
		height: 2px;
		background: var(--c-green-dark);
		transition: transform 0.25s, opacity 0.25s;
	}
	.nav-toggle__bar:nth-of-type(1) { top: 15px; }
	.nav-toggle__bar:nth-of-type(2) { top: 21px; }
	.nav-toggle__bar:nth-of-type(3) { top: 27px; }
	.is-nav-open .nav-toggle__bar:nth-of-type(1) { transform: translateY(6px) rotate(45deg); }
	.is-nav-open .nav-toggle__bar:nth-of-type(2) { opacity: 0; }
	.is-nav-open .nav-toggle__bar:nth-of-type(3) { transform: translateY(-6px) rotate(-45deg); }

	.global-nav {
		position: fixed;
		inset: 0;
		z-index: 110;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 32px;
		background: var(--c-cream);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s, visibility 0.25s;
	}
	.is-nav-open .global-nav {
		opacity: 1;
		visibility: visible;
	}
	.is-nav-open {
		overflow: hidden;
	}
	.global-nav__list {
		flex-direction: column;
		align-items: center;
		gap: 24px;
		font-size: 16px;
	}

	.sec-title {
		margin-bottom: 32px;
	}
	.btn {
		min-width: 200px;
		height: 52px;
	}
	.site-footer__body {
		padding-block: 56px 40px;
	}
	.footer-nav__list {
		gap: 10px 24px;
	}
	.page-wrap {
		padding-block: 48px 72px;
	}
	.post-list__item {
		flex-direction: column;
		gap: 2px;
	}
}
