@charset "UTF-8";
/*
 * base.css — リセット・デザイントークン・共通パーツ
 *
 * 色・書体・角丸は reference/original-site（withers.jp）の実測値に合わせている。
 *   ゴールド #c4a568 / 見出しグレー #707070・#848383 / ボタン枠 #858585 / 角丸 30px・50px
 */

/* ------------------------------------------------------------------
 * デザイントークン
 * ---------------------------------------------------------------- */
:root {
	--tz-ink: #111;
	--tz-ink-soft: #3f3f3f;
	--tz-gray: #707070;
	--tz-gray-light: #848383;
	--tz-gold: #c4a568;
	--tz-line: #d9d5cd;
	--tz-line-soft: #eceae5;
	--tz-btn-line: #858585;
	--tz-bg: #fff;
	--tz-bg-soft: #f5f3ef;
	--tz-dark: #0f0e0d;
	--tz-dark-soft: #1c1a18;

	--tz-font-jp: "Yu Mincho", YuMincho, "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS Mincho", serif;
	--tz-font-en: "Cormorant", "Abhaya Libre", var(--tz-font-jp);

	/* 流体タイポ（375px→1280pxで滑らかに変化） */
	--tz-fs-body: clamp(0.9375rem, 0.88rem + 0.24vw, 1rem);
	--tz-fs-small: clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
	--tz-fs-lead: clamp(0.9375rem, 0.87rem + 0.3vw, 1.0625rem);
	--tz-fs-h2: clamp(1.5rem, 1.15rem + 1.5vw, 2.4375rem);
	--tz-fs-h3: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem);
	--tz-fs-en-lg: clamp(1.875rem, 1.35rem + 2.2vw, 2.875rem);
	--tz-fs-en-md: clamp(1.375rem, 1.1rem + 1.15vw, 2.1875rem);

	--tz-container: 1120px;
	--tz-container-narrow: 800px;
	--tz-gutter: clamp(1.25rem, 4vw, 3rem);
	--tz-section-y: clamp(3.5rem, 7vw, 8rem);
	--tz-header-h: 3.75rem;

	--tz-radius-pill: 30px;
	--tz-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 1024px) {
	:root {
		--tz-header-h: 8.1875rem; /* 131px（元サイト実測） */
	}
}

/* ------------------------------------------------------------------
 * リセット
 * ---------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--tz-bg);
	color: var(--tz-ink);
	font-family: var(--tz-font-jp);
	font-size: var(--tz-fs-body);
	line-height: 1.9;
	letter-spacing: 0.04em;
	font-feature-settings: "palt";
	overflow-x: hidden; /* 横スクロールを起こさない */
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

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

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s var(--tz-ease), color 0.3s var(--tz-ease);
}

a:hover {
	opacity: 0.72;
}

button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

table {
	border-collapse: collapse;
	width: 100%;
}

:focus-visible {
	outline: 2px solid var(--tz-gold);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* ------------------------------------------------------------------
 * 日本語の改行制御（BudouX）
 *
 * budoux.js が [data-budoux] の中身を <budoux-ja> でラップし、文節境界にだけ
 * <wbr> を入れる。keep-all と組み合わせることで「ホー／ムページ」型の
 * 不自然な折り返しが起きない。JSが無効でもテキストはそのまま読める。
 * ---------------------------------------------------------------- */
[data-budoux] {
	word-break: keep-all;
	overflow-wrap: anywhere;
	line-break: strict;
}

/* ------------------------------------------------------------------
 * コンテナ・共通ユーティリティ
 * ---------------------------------------------------------------- */
.tz-container {
	width: 100%;
	max-width: calc(var(--tz-container) + var(--tz-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--tz-gutter);
}

.tz-container--narrow {
	max-width: calc(var(--tz-container-narrow) + var(--tz-gutter) * 2);
}

.tz-section {
	padding-block: var(--tz-section-y);
}

.tz-section--soft {
	background: var(--tz-bg-soft);
}

.tz-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: #fff;
}

.tz-skip-link:focus {
	left: 0;
}

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

/* ------------------------------------------------------------------
 * 見出し
 * ---------------------------------------------------------------- */
.tz-heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
	text-align: center;
	font-weight: 500;
}

.tz-heading__en {
	font-family: var(--tz-font-en);
	font-size: var(--tz-fs-en-lg);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.06em;
	color: var(--tz-gray-light);
}

.tz-heading__en--sm {
	font-size: var(--tz-fs-en-md);
}

.tz-heading__ja {
	font-size: var(--tz-fs-h3);
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.12em;
	color: var(--tz-gray);
}

.tz-heading--ja .tz-heading__ja {
	font-size: var(--tz-fs-h2);
	color: var(--tz-ink);
}

.tz-heading__rule {
	display: block;
	width: 140px;
	max-width: 60%;
	height: 1px;
	margin-top: 0.75rem;
	background: var(--tz-gold);
}

/* ------------------------------------------------------------------
 * ボタン
 * ---------------------------------------------------------------- */
.tz-actions {
	margin-top: clamp(2rem, 4vw, 3rem);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.tz-actions--left {
	justify-content: flex-start;
}

.tz-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	min-height: 48px; /* タップ領域 */
	padding: 0.75rem 2.25rem;
	border: 1px solid var(--tz-btn-line);
	border-radius: var(--tz-radius-pill);
	color: var(--tz-gray);
	font-size: var(--tz-fs-small);
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-align: center;
	background: transparent;
	transition: background-color 0.3s var(--tz-ease), color 0.3s var(--tz-ease), border-color 0.3s var(--tz-ease);
}

.tz-button:hover {
	opacity: 1;
	background: var(--tz-ink);
	border-color: var(--tz-ink);
	color: #fff;
}

.tz-button--sm {
	min-height: 44px;
	padding: 0.5rem 1.5rem;
}

.tz-button--light {
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff;
}

.tz-button--light:hover {
	background: #fff;
	border-color: #fff;
	color: var(--tz-ink);
}

.tz-button--solid {
	background: var(--tz-dark);
	border-color: var(--tz-dark);
	color: #fff;
	border-radius: 50px;
}

.tz-ext {
	font-size: 0.85em;
}

/* ------------------------------------------------------------------
 * 画像プレースホルダー（素材未支給の箇所）
 * ---------------------------------------------------------------- */
.tz-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: repeating-linear-gradient(
		-45deg,
		var(--tz-line-soft),
		var(--tz-line-soft) 10px,
		#f7f6f3 10px,
		#f7f6f3 20px
	);
	color: var(--tz-gray-light);
}

.tz-placeholder__label {
	padding: 0.5em 1em;
	font-family: var(--tz-font-en);
	font-size: var(--tz-fs-small);
	letter-spacing: 0.14em;
	text-align: center;
	line-height: 1.4;
	max-width: 90%;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.tz-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tz-empty {
	padding-block: 2rem;
	text-align: center;
	color: var(--tz-gray);
}

/* ------------------------------------------------------------------
 * 本文（エディタ出力）
 * ---------------------------------------------------------------- */
.tz-prose {
	line-height: 2;
}

.tz-prose > * + * {
	margin-top: 1.5em;
}

.tz-prose h2 {
	font-size: var(--tz-fs-h3);
	font-weight: 600;
	letter-spacing: 0.08em;
	padding-bottom: 0.4em;
	border-bottom: 1px solid var(--tz-line);
}

.tz-prose h3 {
	font-size: 1.0625em;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.tz-prose a {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.tz-prose ul {
	list-style: disc;
	padding-left: 1.4em;
}

.tz-prose ol {
	list-style: decimal;
	padding-left: 1.4em;
}

.tz-prose img {
	margin-inline: auto;
}

.tz-prose blockquote {
	padding-left: 1.2em;
	border-left: 2px solid var(--tz-gold);
	color: var(--tz-ink-soft);
}
