/**
 * 静的な固定ページ共通スタイル
 *  = sn-static.css / 2026-07-07
 *
 * 対象(page-{slug}.php だけで enqueue する自己完結CSS・functions.php):
 *  - 法務系4枚:利用規約 /terms・プライバシーポリシー /privacy・特商法表記 /tokushoho・会社概要 /company
 *  - サイト紹介 /about・よくあるご質問 /faq・お問い合わせ /contact
 *
 * - sn.css / sn-owners.css には依存しない(クラスは sn-static-* / sn-about-* / sn-faq-* / sn-contact-* で名前空間を分離)。
 * - 1カラム化は functions.php の swell_is_show_sidebar フィルタで実現(このCSSは見た目のみ)。
 * - デザインは /owners と同じ上質ミニマル系。トークンは sn-owners.css に合わせる。
 * - 法務ページは装飾控えめ・読みやすさ最優先(本文コンテナ780px・line-height 1.85・
 *   条文見出しの階層・罫線テーブルはSPで縦積み)。About/FAQ/Contact は少しだけリッチに。
 */

.sn-static {
	--st-ink: #1a2233;     /* 本文の濃い文字 */
	--st-sub: #55617a;     /* 補足の文字 */
	--st-line: #e5e8f0;    /* 罫線 */
	--st-bg-soft: #f6f8fc; /* うすい面 */
	--st-navy: #1f3a6d;    /* 主役ネイビー */
	--st-blue: #2f6fed;    /* アクセントブルー */
	color: var(--st-ink);
	font-feature-settings: "palt";
	line-height: 1.85;
}

/* 本文コンテナ(最大780px・中央寄せ) ------------------------ */
.sn-static-wrap {
	max-width: 780px;
	margin: 0 auto;
	padding: clamp(40px, 8vw, 88px) 20px;
}

/* ページ見出し(タイトル+リード) --------------------------- */
.sn-static-head {
	margin: 0 0 clamp(28px, 5vw, 44px);
	padding-bottom: clamp(20px, 4vw, 32px);
	border-bottom: 1px solid var(--st-line);
}
.sn-static-eyebrow {
	font-size: .76rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--st-blue);
	font-weight: 700;
	margin: 0 0 10px;
}
.sn-static-title {
	font-size: clamp(1.5rem, 5vw, 2.15rem);
	font-weight: 800;
	line-height: 1.4;
	color: var(--st-navy);
	margin: 0;
}
.sn-static-lead {
	font-size: 1rem;
	color: var(--st-sub);
	margin: 16px 0 0;
}

/* 前文・本文段落 -------------------------------------------- */
.sn-static-intro {
	font-size: 1rem;
	margin: 0 0 clamp(28px, 5vw, 40px);
}
.sn-static p {
	margin: 0 0 1.1em;
}
.sn-static p:last-child {
	margin-bottom: 0;
}

/* 条文・節(第◯条 / 通し番号の見出し) --------------------- */
.sn-static-article {
	margin: 0 0 clamp(28px, 5vw, 40px);
}
.sn-static-article:last-child {
	margin-bottom: 0;
}
.sn-static-h2 {
	font-size: clamp(1.12rem, 3vw, 1.28rem);
	font-weight: 800;
	line-height: 1.5;
	color: var(--st-navy);
	margin: 0 0 14px;
	padding-left: 14px;
	border-left: 4px solid var(--st-blue); /* 条文見出しを視認しやすくする縦アクセント */
}

/* 条項の番号付きリスト(1. 2. 3. …) ---------------------- */
.sn-static-list {
	margin: 0 0 1.1em;
	padding-left: 1.6em;
}
.sn-static-list > li {
	margin: 0 0 .5em;
	padding-left: .2em;
}
.sn-static-list > li:last-child {
	margin-bottom: 0;
}
/* 入れ子の箇条書き(・)= 番号リスト内の細目 */
.sn-static-sublist {
	list-style: disc;
	margin: .5em 0 .5em 0;
	padding-left: 1.4em;
}
.sn-static-sublist > li {
	margin: 0 0 .35em;
	color: var(--st-sub);
}

/* 強調(規約の転載禁止・スクレイピング禁止など、原文の太字) - */
.sn-static strong {
	font-weight: 700;
	color: var(--st-ink);
}

/* 表(特商法・会社概要・プライバシーの事業者情報) ---------- */
.sn-static-table-wrap {
	margin: 0 0 clamp(24px, 4vw, 36px);
}
.sn-static-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--st-line);
	border-radius: 16px;
	overflow: hidden; /* 角丸をセルの罫線にも効かせる */
	font-size: .97rem;
}
.sn-static-table th,
.sn-static-table td {
	text-align: left;
	vertical-align: top;
	padding: 14px 16px;
	border-bottom: 1px solid var(--st-line);
	line-height: 1.75;
}
.sn-static-table tr:last-child th,
.sn-static-table tr:last-child td {
	border-bottom: none;
}
.sn-static-table th {
	width: 34%;
	background: var(--st-bg-soft);
	font-weight: 700;
	color: var(--st-navy);
	border-right: 1px solid var(--st-line);
	white-space: nowrap;
}
.sn-static-table td {
	color: var(--st-ink);
}

/* 【要記入・…】プレースホルダの見せ方(後で差し替える箇所を目立たせる) */
.sn-static-todo {
	color: #9aa3b5;
}

/* 末尾の署名・制定日 --------------------------------------- */
.sn-static-foot {
	margin: clamp(28px, 5vw, 40px) 0 0;
	padding-top: clamp(20px, 4vw, 28px);
	border-top: 1px solid var(--st-line);
	font-size: .95rem;
	color: var(--st-sub);
}
.sn-static-foot p {
	margin: 0 0 .4em;
}

/* ---- スマホ(狭幅)ではテーブルを縦積みにする(横スクロールにしない) ---- */
@media (max-width: 600px) {
	.sn-static-table,
	.sn-static-table tbody,
	.sn-static-table tr,
	.sn-static-table th,
	.sn-static-table td {
		display: block;
		width: auto;
	}
	.sn-static-table {
		border-radius: 16px;
	}
	.sn-static-table tr {
		border-bottom: 1px solid var(--st-line);
		padding: 4px 0;
	}
	.sn-static-table tr:last-child {
		border-bottom: none;
	}
	.sn-static-table th {
		white-space: normal;
		border-right: none;
		border-bottom: none;
		padding-bottom: 4px;
		background: transparent;
		font-size: .9rem;
	}
	.sn-static-table td {
		padding-top: 0;
		padding-bottom: 14px;
	}
}

/* =========================================================
 * About(/about)= サイト紹介ページ
 *  - リードは大きめ、「3つの約束」だけ少しリッチにカードで見せる。
 * ========================================================= */

/* リード(大きめ)------------------------------------------- */
.sn-about-lead {
	margin: 0 0 clamp(32px, 6vw, 52px);
}
.sn-about-lead__catch {
	font-size: clamp(1.4rem, 4.5vw, 2rem);
	font-weight: 800;
	line-height: 1.45;
	color: var(--st-navy);
	margin: 0 0 .5em;
}
.sn-about-lead__body {
	font-size: 1.05rem;
	color: var(--st-ink);
	margin: 0;
}

/* 3つの約束(番号付きカード)-------------------------------- */
.sn-about-promises {
	display: grid;
	gap: 16px;
	margin: 4px 0 0;
}
.sn-about-promise {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: clamp(18px, 3vw, 24px);
	background: #fff;
	border: 1px solid var(--st-line);
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(26, 34, 51, .04); /* ごく控えめの影(上質ミニマル) */
}
.sn-about-promise__no {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--st-bg-soft);
	color: var(--st-blue);
	font-weight: 800;
	font-size: 1.1rem;
	line-height: 1;
}
.sn-about-promise__title {
	font-size: 1.08rem;
	font-weight: 800;
	color: var(--st-navy);
	line-height: 1.5;
	margin: 4px 0 8px;
}
.sn-about-promise__text {
	font-size: .97rem;
	color: var(--st-ink);
	margin: 0;
}

/* 締めの一文(「探す」を「決まる」に。)------------------- */
.sn-about-closing {
	margin: clamp(20px, 3.5vw, 28px) 0 0;
	font-size: 1.12rem;
	line-height: 1.7;
	color: var(--st-navy);
}
.sn-about-closing strong {
	font-weight: 800;
	color: var(--st-blue);
}

/* 締めの2導線(主=会員登録ボタン / 従=運営者向けリンク)--------- */
.sn-about-cta {
	display: flex;
	flex-wrap: wrap; /* 幅が狭いと縦積みになる */
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin: clamp(28px, 5vw, 40px) 0 0;
	text-align: center;
}
/* 主導線=塗りボタン(会員登録) */
.sn-about-cta__primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px; /* タップ目標 */
	padding: 12px 32px;
	border-radius: 999px;
	background: var(--st-blue);
	color: #fff;
	font-weight: 800;
	font-size: 1.02rem;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(47, 111, 237, .28);
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.sn-about-cta__primary:hover {
	background: #245ad0; /* --st-blue を少し暗く */
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(47, 111, 237, .34);
}
.sn-about-cta__note {
	margin-left: 4px;
	font-size: .86em;
	opacity: .92;
}
/* 従導線=アウトラインボタン(白地+青枠。主ボタンより一段控えめだが目立つ) */
.sn-about-cta__secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px; /* 主ボタンと高さを揃える */
	padding: 12px 28px;
	border-radius: 999px;
	background: #fff;
	border: 2px solid var(--st-blue);
	color: var(--st-blue);
	font-weight: 800;
	font-size: 1rem;
	text-decoration: none;
	transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.sn-about-cta__secondary:hover {
	background: var(--st-bg-soft);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(47, 111, 237, .16);
}

/* =========================================================
 * FAQ(/faq)= details/summary のアコーディオン
 *  - page-owners.php の .sn-lp-faq と同じ挙動・見た目(JS不要)。
 * ========================================================= */
.sn-faq {
	margin-top: 4px;
}
.sn-faq-item {
	border: 1px solid var(--st-line);
	border-radius: 12px;
	margin-bottom: 12px;
	overflow: hidden;
	background: #fff;
}
.sn-faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 16px 46px 16px 18px;
	font-weight: 700;
	color: var(--st-ink);
	position: relative;
	min-height: 48px; /* タップ目標48px */
	box-sizing: border-box;
}
.sn-faq-item summary::-webkit-details-marker { display: none; }
.sn-faq-item summary::after {
	content: "＋";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--st-blue);
	font-weight: 700;
}
.sn-faq-item[open] summary::after { content: "－"; }
.sn-faq-item summary:focus-visible {
	outline: 2px solid var(--st-blue);
	outline-offset: -2px;
}
.sn-faq-a {
	padding: 0 18px 18px;
	font-size: .96rem;
	color: var(--st-sub);
}

/* =========================================================
 * Contact(/contact)= お問い合わせフォーム
 * ========================================================= */

/* 送信結果メッセージ ---------------------------------------- */
.sn-contact-msg {
	margin: 0 0 clamp(20px, 4vw, 28px);
	padding: 14px 16px;
	border-radius: 12px;
	font-size: .97rem;
	font-weight: 700;
	line-height: 1.7;
}
.sn-contact-msg--ok {
	background: #eef7f0;
	border: 1px solid #cfe6d6;
	color: #1f6b3a;
}
.sn-contact-msg--err {
	background: #fdf0f0;
	border: 1px solid #f0d3d3;
	color: #b03535;
}

/* ハニーポット(人には見えない・スクリーンリーダー外)-------- */
.sn-contact-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* フォーム本体 --------------------------------------------- */
.sn-contact-field {
	margin: 0 0 clamp(18px, 3vw, 24px);
}
.sn-contact-label {
	display: block;
	font-weight: 700;
	color: var(--st-navy);
	font-size: .97rem;
	margin: 0 0 8px;
}
.sn-contact-req {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 4px;
	background: var(--st-blue);
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	vertical-align: middle;
}
.sn-contact-input {
	width: 100%;
	min-height: 48px; /* タップ目標48px */
	padding: 12px 14px;
	border: 1px solid var(--st-line);
	border-radius: 10px;
	background: #fff;
	color: var(--st-ink);
	font-size: 1rem; /* iOSで16px以上=フォーカス時のズームを防ぐ */
	line-height: 1.6;
	box-sizing: border-box;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.sn-contact-textarea {
	min-height: 160px;
	resize: vertical;
}
.sn-contact-select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232f6fed' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}
/* フォーカスリング(可視)---------------------------------- */
.sn-contact-input:focus {
	outline: none;
	border-color: var(--st-blue);
	box-shadow: 0 0 0 3px rgba(47, 111, 237, .18);
}
.sn-contact-hint {
	margin: 6px 0 0;
	font-size: .85rem;
	color: var(--st-sub);
}

/* 送信ボタン ----------------------------------------------- */
.sn-contact-submit {
	margin-top: clamp(24px, 4vw, 32px);
}
.sn-contact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 40px;
	border: none;
	border-radius: 999px;
	background: var(--st-navy);
	color: #fff;
	font-size: 1.02rem;
	font-weight: 800;
	cursor: pointer;
	transition: background .2s ease, transform .1s ease;
}
.sn-contact-btn:hover {
	background: var(--st-blue);
}
.sn-contact-btn:active {
	transform: translateY(1px);
}
.sn-contact-btn:focus-visible {
	outline: 2px solid var(--st-blue);
	outline-offset: 3px;
}

/* フォーム下の注記 ----------------------------------------- */
.sn-contact-notes {
	list-style: disc;
	margin: clamp(28px, 5vw, 40px) 0 0;
	padding: clamp(18px, 3vw, 22px) 20px clamp(18px, 3vw, 22px) 38px;
	background: var(--st-bg-soft);
	border-radius: 12px;
	font-size: .9rem;
	color: var(--st-sub);
	line-height: 1.75;
}
.sn-contact-notes > li {
	margin: 0 0 .5em;
}
.sn-contact-notes > li:last-child {
	margin-bottom: 0;
}
.sn-contact-notes a {
	color: var(--st-blue);
	font-weight: 700;
}
