/**
 * himarii — グローバルスタイル
 * 焦茶棕パレット / Instrument Sans + Noto Serif JP
 */

/* ---------- Noto Serif JP 読み込み ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400&display=swap');

/* ---------- デザイントークン ---------- */
:root {
	--him-brown:      #8c6b4a;
	--him-brown-dark: #6e5039;
	--him-bg:         #faf7f4;
	--him-bg-card:    #ffffff;
	--him-text:       rgba(85, 85, 85, 0.85);
	--him-text-light: rgba(85, 85, 85, 0.55);
	--him-border:     #e8e0d8;
	--him-deep:       #2e2520;
	--him-font-sans:  'Instrument Sans', 'Hiragino Kaku Gothic Pro', sans-serif;
	--him-font-serif: 'Noto Serif JP', serif;
	--him-max-width:  1350px;
	--him-px:         clamp(12px, 2vw, 32px);
	--ast-content-width: 1350px;
}

/* ---------- コンテナ幅（Astra デフォルトを上書き）---------- */
.ast-container {
	max-width: 1350px !important;
}

/* ---------- ベース ---------- */
body {
	background-color: var(--him-bg);
	font-family: var(--him-font-sans);
	color: var(--him-text);
	font-size: 14px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

/* ---------- 見出し ---------- */
h1, h2, h3 {
	font-family: var(--him-font-serif);
	font-weight: 300;
	color: var(--him-deep);
	letter-spacing: 0.04em;
	line-height: 1.5;
}
h4, h5, h6 {
	font-family: var(--him-font-sans);
	font-weight: 400;
	color: var(--him-text);
	letter-spacing: 0.04em;
}

/* ---------- リンク ---------- */
a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}
a:hover {
	opacity: 0.55;
	text-decoration: none;
}

/* ---------- コンテナ ---------- */
.ast-container,
.entry-content,
.site-content .ast-container {
	max-width: var(--him-max-width) !important;
	padding-left:  var(--him-px) !important;
	padding-right: var(--him-px) !important;
}

/* ---------- ボタン共通 ---------- */
.button,
button,
input[type="submit"],
input[type="button"],
.ast-button,
.wp-block-button__link {
	background-color: var(--him-brown) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 0 !important;
	font-family: var(--him-font-sans);
	font-size: 12.5px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 14px 32px !important;
	cursor: pointer;
	transition: background-color 0.2s ease !important;
}
.button:hover,
button:hover,
input[type="submit"]:hover,
.ast-button:hover,
.wp-block-button__link:hover {
	background-color: var(--him-brown-dark) !important;
	color: #fff !important;
	opacity: 1;
}

/* アウトラインボタン（例：戻るボタン）*/
.button.alt,
.button.secondary {
	background-color: transparent !important;
	color: var(--him-brown) !important;
	border: 1px solid var(--him-brown) !important;
}
.button.alt:hover,
.button.secondary:hover {
	background-color: var(--him-brown) !important;
	color: #fff !important;
}

/* ---------- フォーム ---------- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
	border: 1px solid var(--him-border) !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: var(--him-text) !important;
	font-family: var(--him-font-sans);
	font-size: 13px;
	padding: 10px 14px !important;
}
input:focus,
textarea:focus,
select:focus {
	border-color: var(--him-brown) !important;
	outline: none;
	box-shadow: none !important;
}

/* ---------- ページ本文エリア ---------- */
.site-content {
	background: var(--him-bg);
}
.entry-content > * + * {
	margin-top: 1.6em;
}

/* ---------- セクション区切り ---------- */
hr {
	border: none;
	border-top: 1px solid var(--him-border);
	margin: 40px 0;
}

/* ---------- スクロールバー（サブ） ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--him-bg); }
::-webkit-scrollbar-thumb { background: var(--him-border); }
