/*
Theme Name: Rutonowa
Theme URI: https://rutonowa.jp/
Description: 結婚相談所 Rutonowa 用のシンプルなテーマ。有効化すると「トップ」「料金プラン」「特定商取引法に基づく表記」「プライバシーポリシー」「お問い合わせ」の各ページを自動作成します。本文中の【 】の箇所を実際の情報に書き換えてください。
Author: Rutonowa inc.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: rutonowa
*/

:root {
	--teal: #1e5a57;
	--teal-deep: #164441;
	--beige: #bcae98;
	--beige-soft: #efeae2;
	--paper: #fbfaf7;
	--ink: #2b3533;
	--muted: #6b7471;
	--line: #e3ddd3;
	--serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
	--latin: "Montserrat", var(--sans);
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: 0.02em;
}

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

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }

.wrap { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 10;
}
.site-header .wrap {
	max-width: 1080px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal); }
.brand img { height: 38px; width: auto; display: block; }
.brand span { font-family: var(--latin); font-size: 18px; letter-spacing: 0.06em; font-weight: 500; }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 8px; color: var(--teal); font-size: 13px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: 14px; }
.site-nav a:hover, .site-nav .current a { color: var(--teal); }

@media (max-width: 760px) {
	.brand span { display: none; }
	.nav-toggle-label { display: block; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); }
	.nav-toggle:checked ~ .site-nav { display: block; }
	.site-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
	.site-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--beige-soft); }
}

/* ---------- Hero ---------- */
.hero {
	text-align: center;
	padding: 72px 20px 64px;
	background:
		radial-gradient(ellipse at 50% 0%, #fff 0%, rgba(255,255,255,0) 70%),
		var(--beige-soft);
	border-bottom: 1px solid var(--line);
}
.hero img { width: 300px; max-width: 72%; display: block; margin: 0 auto 28px; }
.hero .catch {
	font-family: var(--serif);
	font-size: clamp(20px, 4.4vw, 28px);
	color: var(--teal-deep);
	margin: 0 0 10px;
	line-height: 1.7;
	letter-spacing: 0.08em;
}
.hero .sub { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Page header ---------- */
.page-head { background: var(--beige-soft); border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.page-head h1 {
	font-family: var(--serif);
	font-weight: 600;
	color: var(--teal-deep);
	font-size: clamp(22px, 4.5vw, 30px);
	margin: 0;
	line-height: 1.5;
	letter-spacing: 0.06em;
}

/* ---------- Content ---------- */
.content { padding: 48px 0 80px; }
.content > .wrap > *:first-child { margin-top: 0; }

.content h2 {
	font-family: var(--serif);
	font-weight: 600;
	color: var(--teal-deep);
	font-size: 22px;
	letter-spacing: 0.06em;
	margin: 56px 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	position: relative;
}
.content h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 56px;
	height: 2px;
	background: var(--beige);
}
.content h3 { font-size: 17px; color: var(--teal); margin: 32px 0 10px; }
.content p { margin: 0 0 1.2em; }
.content ul, .content ol { padding-left: 1.4em; }
.content li { margin-bottom: 0.4em; }

/* Tables (特商法・料金など) */
.content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 28px;
	background: #fff;
	border: 1px solid var(--line);
	font-size: 15px;
}
.content th, .content td {
	border-bottom: 1px solid var(--line);
	padding: 14px 18px;
	text-align: left;
	vertical-align: top;
}
.content th {
	width: 30%;
	background: #f6f3ee;
	color: var(--teal-deep);
	font-weight: 600;
}
.content thead th { width: auto; background: var(--teal); color: #fff; }
.content td.price { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
	.content table.stack, .content table.stack tbody, .content table.stack tr,
	.content table.stack th, .content table.stack td { display: block; width: 100%; }
	.content table.stack th { border-bottom: none; padding-bottom: 6px; }
	.content table.stack td { padding-top: 6px; }
	.content th, .content td { padding: 12px 14px; }
}

.note { font-size: 13px; color: var(--muted); }

.box {
	background: #fff;
	border: 1px solid var(--line);
	border-left: 3px solid var(--beige);
	padding: 18px 22px;
	margin: 0 0 28px;
}

.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li {
	counter-increment: step;
	position: relative;
	padding: 4px 0 16px 52px;
	margin: 0;
}
.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 2px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--teal);
	color: #fff;
	font-family: var(--latin);
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn {
	display: inline-block;
	background: var(--teal);
	color: #fff !important;
	text-decoration: none;
	padding: 12px 32px;
	border-radius: 999px;
	font-size: 15px;
	letter-spacing: 0.08em;
}
.btn:hover { background: var(--teal-deep); }

/* 未入力の【 】を管理者にだけ目立たせる */
mark.rtn-todo { background: #fff3b0; color: #7a4b00; padding: 0 2px; border-radius: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: #dfe9e7; padding: 44px 0 28px; font-size: 13px; }
.site-footer .wrap { max-width: 1080px; }
.site-footer ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .copy { color: var(--beige); font-family: var(--latin); letter-spacing: 0.06em; margin: 0; }
