/* =========================================================
 * TOTONO CMS - メインスタイル
 * 配色はベースカラー(--color-primary)から自動生成。
 * ヘルパーで :root に CSS 変数を注入する。
 * ======================================================= */

:root {
	--color-primary: #2563EB;
	--color-primary-hover: #1f59cf;
	--color-primary-dark: #1a4399;
	--color-primary-light: #e6effd;
	--color-primary-soft: #f1f6fe;
	--color-accent: #7C3AED;

	--color-text: #1f2937;
	--color-muted: #6b7280;
	--color-line: #e5e7eb;
	--color-bg: #f5f7fb;
	--color-white: #ffffff;

	--radius: 14px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
	--shadow: 0 6px 20px rgba(15, 23, 42, .08);
	--container: 1120px;
	--space-inline: clamp(20px, 3vw, 36px);
	--space-section-y: clamp(52px, 8vw, 88px);
	--space-page-top: clamp(42px, 6vw, 72px);
	--space-page-bottom: clamp(64px, 9vw, 112px);
	--space-stack-sm: clamp(14px, 2.4vw, 22px);
	--space-stack-md: clamp(20px, 3.5vw, 34px);
	--font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;

	/* ---------- フォントサイズ設計（本文 14px を起点としたタイプスケール） ---------- */
	--fs-base: 14px;   /* 本文の基準 */
	--fs-2xs: 11px;    /* バッジ・極小ラベル */
	--fs-xs:  12px;    /* メタ情報・キャプション */
	--fs-sm:  13px;    /* 補足・小リンク */
	--fs-md:  16px;    /* リード・強調本文 */
	--fs-lg:  18px;    /* 小見出し */
	--fs-xl:  20px;    /* 見出し */
	--fs-2xl: 22px;    /* セクション見出し */
	/* 見出しは画面幅に応じて可変（レスポンシブ・タイポグラフィ） */
	--fs-h3:      clamp(16px, 1.4vw + 12px, 18px);
	--fs-h2:      clamp(20px, 1.6vw + 14px, 24px);
	--fs-h1:      clamp(22px, 2.4vw + 14px, 32px);
	--fs-display: clamp(26px, 3.6vw + 14px, 40px);
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	font-size: var(--fs-base);
}

img { max-width: 100%; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- レスポンシブ共通の安全策 ---------- */
/* 長いURL・英単語によるはみ出しを防ぐ */
body { overflow-wrap: break-word; word-break: normal; }
/* 埋め込み（YouTube等）を画面幅に追従させる */
iframe, video, embed, object { max-width: 100%; }
/* リッチテキスト内のテーブルは横スクロールで崩れを防止 */
.totono-richtext,
.faqd-richtext,
.totono-page__content { overflow-wrap: break-word; }
/* 横スクロールはテーブル枠（figure）側で吸収し、テーブル本体は通常の
 * テーブルレイアウトのまま列を幅いっぱいに分配する。 */
.totono-richtext .wp-block-table,
.faqd-richtext .wp-block-table,
.totono-page__content .wp-block-table,
.totono-richtext figure:has(> table),
.faqd-richtext figure:has(> table),
.totono-page__content figure:has(> table) {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.totono-richtext table,
.faqd-richtext table,
.totono-page__content table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	table-layout: auto;
}
.totono-richtext pre,
.faqd-richtext pre,
.totono-page__content pre {
	max-width: 100%;
	overflow-x: auto;
	white-space: pre-wrap;
	word-break: break-word;
}

.totono-container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

.totono-skip {
	position: absolute;
	left: -9999px;
}
.totono-skip:focus {
	left: 8px; top: 8px; z-index: 1000;
	background: #fff; padding: 8px 14px; border-radius: 8px;
}

/* ---------- ボタン ---------- */
.totono-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 11px 22px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 14px;
	border: none;
	cursor: pointer;
	transition: background .15s, opacity .15s;
	text-decoration: none;
	line-height: 1.2;
}
.totono-btn:hover { text-decoration: none; opacity: .94; }
.totono-btn--primary { background: var(--color-primary); color: #fff; }
.totono-btn--primary:hover { background: var(--color-primary-hover); color: #fff; }
.totono-btn--accent { background: var(--color-accent); color: #fff; }
.totono-btn--white { background: #fff; color: var(--color-primary); box-shadow: var(--shadow-sm); }
.totono-btn--white:hover { color: var(--color-primary-hover); }

/* ---------- ヘッダー ---------- */
.totono-header {
	background: #fff;
	border-bottom: 1px solid var(--color-line);
	position: sticky;
	top: 0;
	z-index: 100;
}
.totono-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
}
.totono-header__brand {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--color-text);
}
.totono-header__brand:hover { text-decoration: none; }
.totono-header__logo { max-height: 38px; width: auto; }
.totono-header__short {
	background: var(--color-line);
	color: var(--color-muted);
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 4px;
}
.totono-header__title { font-weight: 700; color: var(--color-primary); font-size: 16px; }

.totono-globalnav__list {
	display: flex;
	align-items: center;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.totono-globalnav__item a {
	color: var(--color-text);
	font-size: var(--fs-sm);
	font-weight: 600;
}
.totono-globalnav__item a:hover { color: var(--color-primary); text-decoration: none; }

.totono-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px; height: 42px;
	background: none; border: none; cursor: pointer;
}
.totono-header__toggle span {
	display: block; height: 2px; width: 24px;
	background: var(--color-text); border-radius: 2px;
	transition: transform .2s, opacity .2s;
}
.totono-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.totono-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.totono-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- パンくず ---------- */
.totono-breadcrumb {
	background: #fff;
	border-bottom: 1px solid var(--color-line);
	font-size: var(--fs-xs);
	color: var(--color-muted);
}
.totono-breadcrumb .totono-container { padding-top: 12px; padding-bottom: 12px; }
.totono-breadcrumb__sep { margin: 0 8px; color: #cbd5e1; }
.totono-breadcrumb__link { color: var(--color-primary); }
.totono-breadcrumb__current { color: var(--color-muted); }

/* ヒーロー（MV）の上に透過で重ねるパンくず */
.totono-breadcrumb:has(+ .totono-pagehero) {
	position: relative;
	z-index: 2;
	background: transparent;
	border-bottom: none;
	margin-bottom: -44px;
}
.totono-breadcrumb:has(+ .totono-pagehero) .totono-breadcrumb__link {
	color: #fff;
	text-decoration: underline;
}
.totono-breadcrumb:has(+ .totono-pagehero) .totono-breadcrumb__sep,
.totono-breadcrumb:has(+ .totono-pagehero) .totono-breadcrumb__current {
	color: var(--color-textlight, #b8bcbb);
}
.totono-breadcrumb:has(+ .totono-pagehero) + .totono-pagehero {
	padding-top: clamp(60px, 8vw, 96px);
}

/* ---------- 共通セクション ---------- */
.totono-main { display: block; padding-bottom: 80px; }
.totono-section { padding: var(--space-section-y) 0; }
.totono-page { padding: var(--space-page-top) var(--space-inline) var(--space-page-bottom); }
.totono-section__title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 var(--space-stack-md);
}
.totono-section__head {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: var(--space-stack-md);
}
.totono-section__head .totono-section__title { margin: 0; }
.totono-section__more { font-size: 13px; font-weight: 600; color: var(--color-primary); }
.totono-empty { color: var(--color-muted); padding: var(--space-stack-md) 0; text-align: center; }

/* ---------- ページヒーロー（下層） ---------- */
.totono-pagehero {
	background: var(--color-primary);
	color: #fff;
	padding: clamp(56px, 8vw, 92px) 0;
	border-bottom-left-radius: 40px;
	border-bottom-right-radius: 40px;
}
.totono-pagehero--center { text-align: center; }
.totono-pagehero__title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin: 0 0 14px; letter-spacing: 0.8px; font-feature-settings: "palt" 1, "pwid" 1; }
.totono-pagehero__lead { margin: 0 auto; max-width: 760px; opacity: .92; font-size: clamp(15px, 1.6vw, 18px); letter-spacing: 0.72px; }
.totono-pagehero--center .totono-btn { margin-top: var(--space-stack-md); }

/* ---------- ホーム ヒーロー＋AI ---------- */
.totono-hero {
	background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
	background-size: cover;
	background-position: center;
	padding: clamp(64px, 8vw, 92px) 0 clamp(74px, 9vw, 108px);
}
.totono-hero.is-light { color: #fff; }
.totono-hero.is-dark { color: #0f172a; }
.totono-hero__head { text-align: center; margin-bottom: var(--space-stack-md); }
.totono-hero__title { font-size: 30px; font-weight: 800; margin: 0 0 14px; }
.totono-hero__sub { margin: 0; opacity: .92; }
.totono-hero--simple { padding: clamp(74px, 10vw, 116px) 0; }

.totono-aibox {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	max-width: 880px;
	margin: 0 auto;
	color: var(--color-text);
}
.totono-aibox__head {
	background: linear-gradient(90deg, #2563EB, #7C3AED);
	color: #fff;
	padding: 12px 18px;
	display: flex; align-items: center; gap: 10px;
	font-weight: 700;
}
.totono-aibox__avatar {
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; background: rgba(255,255,255,.95); border-radius: 50%;
	font-size: 14px; overflow: hidden; flex: 0 0 30px;
}
.totono-aibox__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.totono-aibox__body { padding: 22px 20px; min-height: 120px; background: #fff; }
.totono-aibox__message {
	background: #f5f7fb;
	border-radius: 12px;
	padding: 14px 16px;
	display: inline-block;
	max-width: 90%;
	font-size: 14px;
}
.totono-aibox__message--lg { font-size: 15px; max-width: 680px; }
.totono-aibox__form {
	display: flex; gap: 10px;
	padding: 16px 20px;
	border-top: 1px solid var(--color-line);
}
.totono-aibox__input {
	flex: 1;
	border: 1px solid var(--color-line);
	border-radius: 8px;
	padding: 11px 14px;
	font-size: 14px;
}
.totono-aibox__input:focus { outline: 2px solid #e6effd; border-color: #2563EB; }

/* ---------- FAQ導線カード ---------- */
.totono-faqlinks__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.totono-faqlink {
	display: flex; align-items: center; gap: 12px;
	background: #fff; border: 1px solid var(--color-line);
	border-radius: var(--radius-sm); padding: 16px 18px;
	color: var(--color-text);
}
.totono-faqlink:hover { text-decoration: none; box-shadow: var(--shadow-sm); border-color: var(--color-primary); }
.totono-faqlink__icon {
	width: 38px; height: 38px; flex: 0 0 38px;
	background: var(--color-primary-light); color: var(--color-primary);
	border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.totono-faqlink__body { display: flex; flex-direction: column; flex: 1; }
.totono-faqlink__label { font-weight: 700; font-size: 14px; }
.totono-faqlink__desc { font-size: 12px; color: var(--color-muted); }
.totono-faqlink__arrow { color: var(--color-primary); font-size: 20px; }

/* ---------- キーワード ---------- */
.totono-keywords { padding-top: 0; }
.totono-keywords__lead { font-weight: 700; margin: 0 0 12px; }
.totono-keywords__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.totono-tag {
	display: inline-block;
	background: #fff; border: 1px solid var(--color-line);
	border-radius: 999px; padding: 6px 16px; font-size: 13px; color: var(--color-text);
}
.totono-tag:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; }

/* ---------- バナー ---------- */
.totono-homebanner img { width: 100%; border-radius: var(--radius); display: block; }

/* 単一バナーは常に全幅のヒーロー枠。複数バナーがある場合は下に余白。 */
.totono-homebanner__single { margin-bottom: clamp(14px, 2vw, 20px); }
.totono-homebanner__single:last-child { margin-bottom: 0; }
.totono-homebanner__single .totono-homebanner__item img { width: 100%; }

/* 複数バナー: 大（1列）・中（2列）・小（3列）から選択 */
.totono-homebanner__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(14px, 2vw, 20px);
}
.totono-homebanner--medium .totono-homebanner__grid { grid-template-columns: repeat(2, 1fr); }
.totono-homebanner--small .totono-homebanner__grid { grid-template-columns: repeat(3, 1fr); }
.totono-homebanner__item { display: block; }
.totono-homebanner__item img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.totono-homebanner__item:hover { opacity: .94; }

@media (max-width: 768px) {
	.totono-homebanner--small .totono-homebanner__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.totono-homebanner--medium .totono-homebanner__grid,
	.totono-homebanner--small .totono-homebanner__grid { grid-template-columns: 1fr; }
}

/* ---------- お知らせカード ---------- */
.totono-homenews__list { display: flex; flex-direction: column; gap: 14px; }
.totono-newscard {
	display: flex; align-items: center; gap: 16px;
	background: #fff; border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm); padding: 16px 20px; color: var(--color-text);
}
.totono-newscard:hover { text-decoration: none; box-shadow: var(--shadow); }
.totono-newscard__thumb {
	width: 92px; height: 64px; flex: 0 0 92px; border-radius: 8px;
	background-size: cover; background-position: center;
}
.totono-newscard__body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.totono-newscard__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.totono-newscard__date { font-size: 12px; color: var(--color-muted); }
.totono-newscard__title { font-weight: 700; font-size: var(--fs-md); }
.totono-newscard__excerpt { font-size: var(--fs-xs); color: var(--color-muted); overflow: hidden; }
.totono-newscard__file { font-size: 12px; color: var(--color-primary); }
.totono-newscard__arrow { color: #cbd5e1; font-size: 22px; }

/* ---------- お知らせ一覧（カード型・アイキャッチなし） ---------- */
.totono-newslist { display: flex; flex-direction: column; gap: 20px; }
.totono-newsitem {
	display: flex; align-items: center; gap: 20px;
	background: #fff;
	border-radius: 20px;
	padding: 36px 48px;
	color: var(--color-text);
	box-shadow: var(--shadow-sm);
	transition: box-shadow .15s, transform .15s;
}
.totono-newsitem:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-1px); }
.totono-newsitem__thumb {
	flex: 0 0 200px; width: 200px; align-self: stretch; min-height: 130px;
	border-radius: 12px; background-size: cover; background-position: center; background-color: #eef1f7;
}
.totono-newsitem__thumb--empty {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='%23c3cad6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 40px 40px;
}
.totono-newsitem__body { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.totono-newsitem__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.totono-newsitem__date { font-size: 12px; color: var(--color-text); font-feature-settings: "palt" 1; }
.totono-newsitem__title {
	font-size: 22px; font-weight: 700; color: var(--color-text);
	letter-spacing: 0.44px; line-height: 1.5; font-feature-settings: "palt" 1;
}
.totono-newsitem__excerpt {
	font-size: 14px; line-height: 1.6; color: var(--color-text);
	text-align: justify; font-feature-settings: "palt" 1;
}
.totono-newsitem__file {
	display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
	margin-top: 4px; font-size: 14px; color: var(--color-primary); text-decoration: underline;
}
.totono-newsitem__file svg { flex: 0 0 auto; }
.totono-newsitem__arrow { flex: 0 0 auto; display: flex; align-items: center; color: #b9c0cc; }
.totono-newsitem__arrow svg { display: block; }
.totono-newsitem:hover .totono-newsitem__arrow { color: var(--color-primary); }

/* ---------- バッジ ---------- */
.totono-badge {
	display: inline-block;
	color: #fff; font-size: 11px; font-weight: 700;
	padding: 2px 8px; border-radius: 4px; line-height: 1.6;
}

/* ---------- 特典カード ---------- */
.totono-benefit__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.totono-benefitcard {
	background: unset; background-color: unset; border-radius: var(--radius-sm); overflow: hidden;
	box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.totono-benefitcard__thumb {
	position: relative; aspect-ratio: 16/10;
	background: var(--color-primary-light) center/cover no-repeat;
}
.totono-benefitcard__cat {
	position: absolute; top: 8px; left: 8px;
	background: var(--color-primary); color: #fff; font-size: 10px; font-weight: 700;
	padding: 2px 8px; border-radius: 4px;
}
.totono-benefitcard__discount {
	position: absolute; top: 8px; right: 8px;
	background: #ef4444; color: #fff; font-size: 10px; font-weight: 700;
	padding: 2px 8px; border-radius: 4px;
}
.totono-benefitcard__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.totono-benefitcard__title { font-size: 15px; font-weight: 700; margin: 0; }
.totono-benefitcard__desc { font-size: 12px; color: var(--color-muted); margin: 0; flex: 1; }
.totono-benefitcard__btn { margin-top: auto; }

/* ---------- 機能カード ---------- */
.totono-features { background: transparent; }
.totono-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.totono-featurecard {
	border: none; border-radius: 8px;
	padding: 34px 30px 28px; text-align: left; background: #fff;
	min-height: 232px; display: flex; flex-direction: column;
}
.totono-featurecard__head {
	display: flex; align-items: center; gap: 18px;
	margin: 0 0 20px;
}
.totono-featurecard__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 62px; height: 62px; border-radius: 10px;
	background: #f0f4f5; color: var(--color-primary); flex: 0 0 62px;
}
.totono-featurecard__icon-svg {
	display: block;
	width: 28px;
	height: 28px;
}
.totono-featurecard__icon-symbol {
	display: block;
	font-size: 30px;
	line-height: 1;
	color: inherit;
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.totono-featurecard__title {
	font-size: 22px; font-weight: 700;
	line-height: 1.25; letter-spacing: .02em;
	color: #232323; margin: 0;
}
.totono-featurecard__desc {
	font-size: 14px; line-height: 1.6;
	color: #232323; margin: 0 0 22px;
	font-feature-settings: "palt" 1, "pwid" 1;
	text-align: justify;
}
.totono-featurecard__link {
	margin-top: auto; display: inline-flex;
	align-items: center; gap: 10px;
	font-weight: 500; font-size: 16px;
	line-height: 1.2; color: #232323;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.totono-featurecard__link::before {
	content: "\203A";
	display: inline-flex; align-items: center; justify-content: center;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

/* ---------- 夜間緊急 ---------- */
.totono-emergency { background: var(--color-primary); color: #fff; }
.totono-emergency--home { padding: 34px 0; }
.totono-emergency--footer { padding: 30px 0; }
.totono-emergency__lead { font-weight: 700; margin: 0 0 16px; }
.totono-emergency__hours { font-weight: 400; font-size: 13px; opacity: .85; }
.totono-emergency__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.totono-emergency__card {
	background: rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: 16px 18px;
}
.totono-emergency__label { font-weight: 700; margin: 0 0 4px; }
.totono-emergency__desc { font-size: 12px; opacity: .9; margin: 0 0 8px; }
.totono-emergency__tel { color: #fff; font-size: 20px; font-weight: 800; }
.totono-emergency__tel:hover { text-decoration: none; }

/* ---------- アプリバナー ---------- */
.totono-appbanner { background: transparent; color: #fff; padding: clamp(8px, 2vw, 16px) var(--space-inline); }
.totono-appbanner__inner {
	background: var(--color-primary);
	border-radius: 8px;
	display: flex; align-items: center; justify-content: space-between;
	gap: clamp(20px, 3vw, 40px); flex-wrap: wrap;
	padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 48px);
}
.totono-appbanner__title {
	font-weight: 700; font-size: clamp(22px, 3vw, 28px); margin: 0;
	line-height: normal; letter-spacing: 0.56px;
	font-feature-settings: "palt" 1, "pwid" 1;
}
.totono-appbanner__desc {
	margin: 6px 0 0; font-size: clamp(14px, 2vw, 16px); line-height: 1.6; opacity: 1;
	font-feature-settings: "palt" 1, "pwid" 1;
}
.totono-appbanner__stores { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.totono-store { display: inline-flex; }
.totono-store img { height: 56px; width: auto; display: block; }
.totono-store:hover { text-decoration: none; opacity: .9; }
.totono-store--disabled { opacity: .45; cursor: default; }

/* ---------- フィルタ ---------- */
.totono-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: var(--space-stack-md); }
.totono-filter__btn {
	border: 1px solid var(--color-line); background: #fff; color: var(--color-text);
	border-radius: 999px; padding: 6px 18px; font-size: 13px; font-weight: 600;
}
.totono-filter__btn.is-active, .totono-filter__btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); text-decoration: none; }

/* ---------- ページネーション ---------- */
.totono-pagination ul { display: flex; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 32px 0 0; }
.totono-pagination a, .totono-pagination span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 36px; height: 36px; border-radius: 50%;
	border: 1px solid var(--color-line); background: #fff; font-size: 13px; color: var(--color-text);
}
.totono-pagination .current { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.totono-pagination a:hover { background: var(--color-primary-light); text-decoration: none; }

/* ---------- 詳細ページ ---------- */
.totono-detail {
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
	padding: clamp(36px, 6vw, 52px) clamp(24px, 4vw, 52px); max-width: 860px; margin: 0 auto;
}
.totono-detail__meta { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-stack-sm); flex-wrap: wrap; }
.totono-detail__date { font-size: 13px; color: var(--color-muted); }
.totono-detail__title { font-size: 24px; font-weight: 800; margin: 0 0 var(--space-stack-md); line-height: 1.4; }
.totono-detail__thumb { margin-bottom: var(--space-stack-md); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--color-line); }
.totono-detail__thumb img { display: block; width: 100%; height: auto; object-fit: cover; }
.totono-richtext { font-size: var(--fs-md); line-height: 1.95; color: var(--color-text); }
.totono-richtext > *:first-child { margin-top: 0; }
.totono-richtext > *:last-child { margin-bottom: 0; }

/* 段落・リード */
.totono-richtext p { margin: 0 0 1.4em; }
.totono-richtext .is-lead,
.totono-richtext p.lead { font-size: var(--fs-lg); color: #374151; font-weight: 500; }

/* 見出し */
.totono-richtext h2 {
	font-size: var(--fs-2xl); font-weight: 800; line-height: 1.45;
	margin: clamp(32px, 5vw, 52px) 0 16px; padding: 6px 0 10px 16px;
	border-left: 4px solid var(--color-primary);
}
.totono-richtext h3 {
	font-size: var(--fs-xl); font-weight: 700; line-height: 1.5;
	margin: clamp(26px, 4vw, 40px) 0 12px; padding-bottom: 8px;
	border-bottom: 1px solid var(--color-line);
}
.totono-richtext h4 {
	font-size: var(--fs-lg); font-weight: 700; line-height: 1.5;
	margin: clamp(22px, 3vw, 30px) 0 10px; position: relative; padding-left: 14px;
}
.totono-richtext h4::before {
	content: ""; position: absolute; left: 0; top: .55em;
	width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary);
}

/* テキスト装飾 */
.totono-richtext strong, .totono-richtext b { font-weight: 700; color: #111827; }
.totono-richtext em { font-style: italic; }
.totono-richtext mark { background: var(--color-primary-light); color: inherit; padding: .05em .25em; border-radius: 3px; }
.totono-richtext a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.totono-richtext a:hover { color: var(--color-primary-hover); }
.totono-richtext small { font-size: var(--fs-xs); color: var(--color-muted); }

/* リスト */
.totono-richtext ul, .totono-richtext ol { margin: 0 0 1.4em; padding-left: 1.6em; }
.totono-richtext li { margin: 0 0 .5em; }
.totono-richtext ul { list-style: none; padding-left: 1.5em; }
.totono-richtext ul > li { position: relative; }
.totono-richtext ul > li::before {
	content: ""; position: absolute; left: -1.1em; top: .68em;
	width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary);
}
.totono-richtext ol { list-style: decimal; }
.totono-richtext ol > li::marker { color: var(--color-primary); font-weight: 700; }
.totono-richtext li > ul, .totono-richtext li > ol { margin: .5em 0 0; }

/* 引用 */
.totono-richtext blockquote {
	margin: 1.6em 0; padding: 16px 20px; color: #374151;
	background: var(--color-primary-soft); border-left: 4px solid var(--color-primary);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.totono-richtext blockquote p:last-child { margin-bottom: 0; }
.totono-richtext blockquote cite { display: block; margin-top: 8px; font-size: var(--fs-sm); color: var(--color-muted); font-style: normal; }

/* テーブル */
.totono-richtext table {
	margin: 1.6em 0; font-size: var(--fs-base);
	border: 1px solid var(--color-line); border-radius: var(--radius-sm);
}
.totono-richtext th, .totono-richtext td {
	padding: 12px 16px; border: 1px solid var(--color-line); text-align: left; vertical-align: top;
}
.totono-richtext thead th { background: var(--color-primary); color: #fff; font-weight: 700; border-color: var(--color-primary); }
.totono-richtext tbody th { background: var(--color-primary-soft); font-weight: 700; white-space: nowrap; }
.totono-richtext tbody tr:nth-child(even) td { background: #fafbfd; }

/* コード */
.totono-richtext code {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: .92em; background: #f3f4f6; color: #be123c; padding: .12em .4em; border-radius: 4px;
}
.totono-richtext pre {
	margin: 1.6em 0; padding: 16px 18px; background: #111827; color: #e5e7eb;
	border-radius: var(--radius-sm); font-size: var(--fs-sm); line-height: 1.7;
}
.totono-richtext pre code { background: none; color: inherit; padding: 0; }

/* 区切り線 */
.totono-richtext hr { margin: clamp(28px, 4vw, 44px) 0; border: none; border-top: 1px solid var(--color-line); }

/* 画像・キャプション */
.totono-richtext img { border-radius: var(--radius-sm); height: auto; }
.totono-richtext figure { margin: 1.6em 0; }
.totono-richtext figure > table { margin: 0; }
.totono-richtext figure img { display: block; width: 100%; }
.totono-richtext figcaption { margin-top: 8px; font-size: var(--fs-xs); color: var(--color-muted); text-align: center; }

/* ボタン風リンク（WordPress ブロック） */
.totono-richtext .wp-block-button__link {
	display: inline-block; background: var(--color-primary); color: #fff;
	padding: 12px 24px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.totono-richtext .wp-block-button__link:hover { background: var(--color-primary-hover); color: #fff; }

/* 添付 */
.totono-attach { margin-top: 26px; }
.totono-attach__title { font-weight: 700; font-size: 14px; margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.totono-attach__item {
	display: block; background: var(--color-primary-soft);
	border: 1px solid var(--color-line); border-radius: 8px;
	padding: 12px 16px; margin-bottom: 8px; text-align: center;
	color: var(--color-primary); font-weight: 600; font-size: 13px;
}
.totono-attach__item:hover { background: var(--color-primary-light); text-decoration: none; }

/* ---------- FAQ ---------- */
.totono-searchbar { display: flex; gap: 10px; margin-bottom: 28px; }
.totono-searchbar__input {
	flex: 1; border: 1px solid var(--color-line); border-radius: 8px; padding: 11px 16px; font-size: 14px;
}
.totono-faqcount { font-size: 18px; margin: 0 0 16px; }
.totono-faqcats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 36px; }
.totono-faqcat {
	display: flex; align-items: center; justify-content: space-between;
	border: 1px solid var(--color-line); border-radius: var(--radius-sm);
	padding: 14px 18px; background: #fff; color: var(--color-text);
}
.totono-faqcat:hover { border-color: var(--color-primary); text-decoration: none; }
.totono-faqcat__name { font-weight: 700; font-size: 14px; }
.totono-faqcat__count { font-size: 12px; color: var(--color-muted); }

.totono-faqgroup { margin-bottom: clamp(38px, 6vw, 58px); }
.totono-faqgroup__title { font-size: 17px; display: flex; align-items: center; gap: 8px; margin: 0 0 16px; }
.totono-faqgroup__icon { color: var(--color-primary); }
.totono-faqgroup__list { display: flex; flex-direction: column; gap: 12px; }
.totono-faqitem {
	display: flex; align-items: flex-start; gap: 14px;
	background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
	padding: 18px 20px; color: var(--color-text);
}
.totono-faqitem:hover { text-decoration: none; box-shadow: var(--shadow); }
.totono-faqitem__q {
	flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
	background: var(--color-primary); color: #fff; font-weight: 800;
	display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.totono-faqitem__body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.totono-faqitem__title { font-weight: 700; font-size: var(--fs-md); }
.totono-faqitem__excerpt { font-size: var(--fs-xs); color: var(--color-muted); }
.totono-faqitem__arrow { color: #cbd5e1; font-size: 22px; }
.totono-faqgroup__more { text-align: right; margin-top: 12px; font-size: 13px; }

/* FAQ詳細 */
.totono-faqdetail__q { font-size: 22px; display: flex; align-items: flex-start; gap: 12px; margin: 0 0 22px; }
.totono-faqdetail__qmark, .totono-faqdetail__amark {
	flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff;
}
.totono-faqdetail__qmark { background: var(--color-primary); }
.totono-faqdetail__amark { background: #16a34a; }
.totono-faqdetail__a { display: flex; gap: 12px; align-items: flex-start; }

/* AI相談CTA */
.totono-aicta {
	background: linear-gradient(90deg, #2563EB, #7C3AED);
	color: #fff; margin: clamp(52px, 7vw, 84px) 0 0; border-radius: 0;
}
.totono-aicta__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(34px, 5vw, 52px) 0; flex-wrap: wrap; }
.totono-aicta__title { font-weight: 800; font-size: 18px; margin: 0; }
.totono-aicta__desc { margin: 4px 0 0; font-size: 13px; opacity: .9; }

/* ---------- 注意ボックス ---------- */
.totono-notice {
	background: var(--color-primary-soft); border: 1px solid var(--color-primary-light);
	border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: var(--space-stack-md);
}
.totono-notice__title { font-weight: 700; margin: 0 0 4px; color: var(--color-primary-dark); }
.totono-notice__desc { margin: 0; font-size: 13px; }

/* ---------- フォーム ---------- */
.totono-formgroup { margin-bottom: clamp(40px, 6vw, 64px); }
.totono-formgroup__title { font-size: 17px; display: flex; align-items: center; gap: 8px; margin: 0 0 16px; }
.totono-formgroup__icon { color: var(--color-primary); }
.totono-form__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.totono-formcard {
	background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-sm);
	padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.totono-formcard__head { display: flex; align-items: center; gap: 10px; }
.totono-formcard__icon {
	width: 36px; height: 36px; border-radius: 8px; background: var(--color-primary-light);
	color: var(--color-primary); display: flex; align-items: center; justify-content: center;
}
.totono-formcard__title { font-size: var(--fs-md); margin: 0; }
.totono-formcard__desc { font-size: var(--fs-xs); color: var(--color-muted); margin: 0; flex: 1; }
.totono-formcard__lead { font-size: var(--fs-xs); color: var(--color-muted); margin: 0; }
.totono-formcard__btn { margin-top: auto; }

.totono-formdetail { max-width: 720px; }
.totono-formdetail__title { font-size: 24px; font-weight: 800; text-align: center; margin: 0 0 8px; }
.totono-formdetail__desc { text-align: center; color: var(--color-muted); margin: 0 0 26px; }

/* 申請フォーム（フィールド一覧） */
.totono-formfields { display: flex; flex-direction: column; }
.totono-formrow {
	display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center;
	padding: 16px 0; border-bottom: 1px solid var(--color-line);
}
.totono-formrow__label { font-size: 14px; font-weight: 700; }
.totono-formrow__field input,
.totono-formrow__field textarea,
.totono-formrow__field select {
	width: 100%; border: 1px solid var(--color-line); border-radius: 8px;
	padding: 11px 14px; font-size: 14px; background: #f7f8fb; font-family: inherit;
}
.totono-formrow__field input:focus,
.totono-formrow__field textarea:focus,
.totono-formrow__field select:focus { outline: 2px solid var(--color-primary-light); border-color: var(--color-primary); }
.totono-formfields__note { text-align: center; color: var(--color-muted); font-size: 13px; margin: 22px 0 18px; }
.totono-formfields__submit { display: flex; justify-content: center; }
.totono-formfields__submit .totono-btn { padding: 13px 40px; font-size: 15px; }

/* 必須バッジ（CF7 フォーム雛形と共用） */
.totono-req {
	display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
	font-size: 11px; font-weight: 700; color: #fff; background: var(--color-primary); vertical-align: middle;
}

/* ---------- Snow Monkey Forms 統合スタイル ---------- */
/* プラグイン既定スタイルに、テーマのフォームデザインへ寄せる上書きを当てる。 */
.totono-formdetail__form .snow-monkey-form { margin: 0; }
.totono-formdetail__form .smf-item { padding: 16px 0; border-bottom: 1px solid var(--color-line); }
.totono-formdetail__form .smf-item__col--label { font-size: 14px; font-weight: 700; }
.totono-formdetail__form .smf-text-control__control,
.totono-formdetail__form .smf-textarea-control__control,
.totono-formdetail__form .smf-select-control__control {
	width: 100%; border: 1px solid var(--color-line); border-radius: 8px;
	padding: 11px 14px; font-size: 14px; background: #f7f8fb; font-family: inherit; box-sizing: border-box;
}
.totono-formdetail__form .smf-text-control__control:focus,
.totono-formdetail__form .smf-textarea-control__control:focus,
.totono-formdetail__form .smf-select-control__control:focus {
	outline: 2px solid var(--color-primary-light); border-color: var(--color-primary);
}
/* 送信・確認・戻るボタン */
.totono-formdetail__form .smf-action { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.totono-formdetail__form .smf-button-control__control {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 40px; font-size: 15px; font-weight: 700; cursor: pointer;
	color: #fff; background: var(--color-primary); border: none; border-radius: 10px;
}
.totono-formdetail__form .smf-button-control__control:hover { filter: brightness(1.05); }
.totono-formdetail__form .smf-button-control__control[data-action="back"],
.totono-formdetail__form .smf-button-control__control.smf-button-control__control--back {
	color: var(--color-primary); background: #fff; border: 1px solid var(--color-primary);
}
/* バリデーション・エラー表示 */
.totono-formdetail__form .smf-error-messages { margin-top: 6px; font-size: 13px; color: #dc2626; }
.totono-formdetail__form .smf-control-description { color: var(--color-muted); font-size: 13px; margin-top: 4px; }
.totono-formdetail__form .smf-file-control__clear { margin-left: 10px; }

/* ---------- マニュアル ---------- */
.totono-manual__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.totono-manual__grid--2 { grid-template-columns: repeat(2, 1fr); }
.totono-manualcard {
	background: #fff; border-radius: 8px;
	padding: 30px; display: flex; flex-direction: column; gap: 20px;
}
.totono-manualcard__head { display: flex; align-items: center; gap: 20px; }
.totono-manualcard__icon {
	width: 58px; height: 58px; border-radius: 10px; background: var(--color-primary-light);
	color: var(--color-primary); display: flex; align-items: center; justify-content: center; flex: 0 0 58px;
}
.totono-manualcard__title { font-size: 22px; font-weight: 700; margin: 0; letter-spacing: 0.44px; line-height: 1.3; color: var(--color-text); }
.totono-manualcard__desc { font-size: 14px; line-height: 1.6; color: var(--color-text); margin: 0; flex: 1; text-align: justify; }
.totono-manualcard__btn { width: 100%; padding: 12px 10px; border-radius: 5px; font-size: 16px; letter-spacing: 0.32px; }
.totono-manualcard__icon .totono-cardicon__symbol { font-size: 28px; }

/* ---------- ライフライン ---------- */
.totono-benefit-section { margin-bottom: clamp(52px, 7vw, 78px); }
.totono-lifeline__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.totono-lifelinecard {
	background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-sm); padding: 18px 20px;
}
.totono-lifelinecard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.totono-lifelinecard__icon {
	width: 38px; height: 38px; border-radius: 50%; background: var(--color-primary-light);
	color: var(--color-primary); display: flex; align-items: center; justify-content: center; flex: 0 0 38px;
}
.totono-lifelinecard__title { font-size: 15px; margin: 0; }
.totono-lifelinecard__provider { font-size: 12px; color: var(--color-muted); margin: 0; }
.totono-lifelinecard__foot { display: flex; align-items: center; gap: 12px; }
.totono-lifelinecard__status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.totono-lifelinecard__status--active { background: #dcfce7; color: #16a34a; }
.totono-lifelinecard__status--optional { background: #fef9c3; color: #ca8a04; }
.totono-lifelinecard__status--none { background: #f1f5f9; color: #64748b; }
.totono-lifelinecard__fee { font-weight: 800; font-size: 17px; }
.totono-lifelinecard__link { margin-left: auto; font-size: 13px; font-weight: 600; }

/* その他優待 */
.totono-other__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.totono-othercard {
	display: flex; align-items: center; gap: 12px;
	background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-sm);
	padding: 14px 16px; color: var(--color-text);
}
.totono-othercard:hover { border-color: var(--color-primary); text-decoration: none; }
.totono-othercard__icon {
	width: 34px; height: 34px; border-radius: 50%; background: var(--color-primary-light);
	color: var(--color-primary); display: flex; align-items: center; justify-content: center; flex: 0 0 34px;
}
.totono-othercard__body { flex: 1; display: flex; flex-direction: column; }
.totono-othercard__title { font-weight: 700; font-size: var(--fs-sm); }
.totono-othercard__desc { font-size: var(--fs-2xs); color: var(--color-muted); }
.totono-othercard__arrow { color: #cbd5e1; font-size: 20px; }

/* ---------- カードアイコン共通（画像 / Googleアイコン） ---------- */
.totono-manualcard__icon,
.totono-lifelinecard__icon,
.totono-othercard__icon { overflow: hidden; }
.totono-cardicon__img {
	width: 100%; height: 100%; object-fit: cover;
	border-radius: inherit; display: block;
}
.totono-cardicon__symbol {
	display: block; font-size: 22px; line-height: 1; color: inherit;
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ---------- AIページ（チャット画面 / Figma 準拠） ---------- */
.totono-aipage {
	background: rgba(240, 244, 245, 1);
	padding: 28px 0 0;
}
.totono-aipage__back {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0 0 22px;
	color: #232323; font-size: 16px; font-weight: 500;
	letter-spacing: 0.04em; text-decoration: underline;
}
.totono-aipage__back:hover { color: #232323; opacity: .8; }
.totono-aipage__back svg { flex: 0 0 auto; display: block; }

.totono-aipage__card {
	position: relative;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(75, 100, 183, .08);
}
.totono-aipage__bar {
	display: flex; align-items: center; gap: 12px;
	height: 70px; padding: 0 20px;
	border-radius: 8px 8px 0 0;
	background: linear-gradient(90deg, #713ff5 0%, #26c0d6 65%);
	color: #fff;
}
.totono-aipage__avatar {
	flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
	background: #fff; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center;
}
.totono-aipage__avatar img { width: 22px; height: 22px; display: block; }
.totono-aipage__title { font-size: 22px; font-weight: 700; letter-spacing: 0.04em; }

.totono-aipage__hint {
	position: absolute; top: -20px; right: 24px;
	display: inline-flex; align-items: center; gap: 12px;
	padding: 10px 15px 12px;
	background: #fff; border-radius: 10px;
	box-shadow: 10px 10px 10px rgba(75, 100, 183, .08);
	color: #232323; font-size: 13px; font-weight: 500;
	letter-spacing: 0.04em; white-space: nowrap;
}
.totono-aipage__hint img { width: 18px; height: 19px; display: block; }

.totono-aipage__embed { padding: 28px 40px 36px; min-height: 420px; }
.totono-aipage__note { margin: 16px 0 0; font-size: 12px; color: var(--color-muted); }
.totono-aipage__content { margin-top: 28px; }

/* AIチャット本文 */
.totono-aichat {
	display: flex; flex-direction: column; gap: 28px;
	padding: 40px 40px 36px;
	min-height: 440px;
}
.totono-aichat__row { display: flex; gap: 14px; align-items: flex-start; max-width: 660px; }
.totono-aichat__row--ai { align-self: flex-start; }
.totono-aichat__row--user { align-self: flex-end; flex-direction: row-reverse; }
.totono-aichat__avatar {
	flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%;
	background: linear-gradient(135deg, #713ff5, #26c0d6);
	display: inline-flex; align-items: center; justify-content: center;
}
.totono-aichat__avatar img { width: 32px; height: 32px; display: block; }
.totono-aichat__group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.totono-aichat__row--user .totono-aichat__group { align-items: flex-end; }
.totono-aichat__bubble {
	position: relative;
	padding: 20px 25px; border-radius: 20px;
	font-size: 16px; line-height: 1.5; letter-spacing: 0.04em;
	background: #f0f4f5; color: #232323;
}
.totono-aichat__row--user .totono-aichat__bubble { background: #6455f0; color: #fff; }
.totono-aichat__row--ai .totono-aichat__bubble::before {
	content: ""; position: absolute; left: -8px; top: 22px;
	border-width: 6px 10px 6px 0; border-style: solid;
	border-color: transparent #f0f4f5 transparent transparent;
}
.totono-aichat__row--user .totono-aichat__bubble::after {
	content: ""; position: absolute; right: -8px; top: 22px;
	border-width: 6px 0 6px 10px; border-style: solid;
	border-color: transparent transparent transparent #6455f0;
}
.totono-aichat__time { font-size: 10px; color: #8d8e8e; }
.totono-aichat__row--user .totono-aichat__time { text-align: right; }

/* 入力フォーム */
.totono-aipage__form {
	display: flex; gap: 10px; align-items: stretch;
	padding: 24px 40px 36px;
	border-top: 1px solid #e1e4e3;
}
.totono-aipage__input {
	flex: 1 1 auto;
	border: 1px solid #e1e4e3; border-radius: 10px;
	padding: 19px 30px; font-size: 16px; color: #232323; background: #fff;
}
.totono-aipage__input::placeholder { color: #b8bcbb; }
.totono-aipage__input:focus { outline: 2px solid rgba(100, 85, 240, .18); border-color: #6455f0; }
.totono-aipage__submit {
	flex: 0 0 auto; min-width: 199px;
	border: none; border-radius: 10px;
	padding: 16px 30px;
	font-size: 18px; font-weight: 500; color: #fff; cursor: pointer;
	background: linear-gradient(90deg, #713ff5 0%, #26c0d6 100%);
}
.totono-aipage__submit:hover { opacity: .94; }

/* ---------- フッター ---------- */
.totono-footer { background: #eef1f5; color: #334155; padding: 0; border-top: 1px solid #dfe4ec; }
.totono-footer__inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; padding: clamp(40px, 6vw, 62px) 0; }
.totono-footer__brand { display: flex; flex-direction: column; gap: 4px; }
.totono-footer__brandlabel { font-size: 11px; color: #94a3b8; letter-spacing: .04em; }
.totono-footer__totono { height: 40px; width: auto; display: block; margin: 2px 0; }
.totono-footer__company { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: #334155; }
.totono-footer__contact { max-width: 360px; text-align: left; }
.totono-footer__contact-head { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.totono-footer__badge { display: inline-flex; align-items: center; padding: 3px 10px; font-size: 11px; font-weight: 700; color: var(--color-primary); border: 1px solid var(--color-primary); border-radius: 6px; white-space: nowrap; }
.totono-footer__contact-title { font-size: 15px; font-weight: 700; color: #1f2937; }
.totono-footer__contact-desc { margin: 0 0 8px; font-size: 12px; line-height: 1.7; color: #6b7280; }
.totono-footer__contact-tel { font-size: 20px; font-weight: 800; letter-spacing: .02em; color: var(--color-primary); }
.totono-footer__contact-tel:hover { text-decoration: none; color: var(--color-primary-dark); }
.totono-footer__copyright { border-top: 1px solid #dfe4ec; padding: 20px 0; font-size: 12px; text-align: center; color: #94a3b8; }

/* ---------- 404 ---------- */
.totono-404 { text-align: center; padding: clamp(84px, 10vw, 140px) var(--space-inline); }
.totono-404__code { font-size: 64px; font-weight: 800; color: var(--color-primary); margin: 0; }
.totono-404__msg { color: var(--color-muted); margin: 0 0 24px; }

/* ---------- 汎用記事一覧 ---------- */
.totono-articlelist { display: flex; flex-direction: column; gap: 18px; }
.totono-articlelist__item { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 30px); }
.totono-articlelist__item h2 { font-size: 16px; margin: 0 0 6px; }
.totono-page__content { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(30px, 5vw, 52px) clamp(22px, 4vw, 48px); }

/* =========================================================
 * 最新フロントページ（トレース）上書き
 * ======================================================= */
body.home {
	background: var(--color-bg);
}
body.home .totono-main { padding-bottom: 18px; }
body.home .totono-section { padding: 0; margin-bottom: clamp(28px, 5vw, 52px); }

body.home .totono-hero {
	position: relative;
	padding: 20px 0 52px;
	background: transparent;
	border-radius: 0;
	overflow: visible;
}
body.home .totono-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 600px;
	background-color: var(--color-primary);
	background-image: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary)), var(--totono-hero-bg-image, none);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	z-index: 0;
	border-radius: 0 0px 40px 40px;
}
body.home .totono-hero.is-light::before {
	background-image: linear-gradient(
		rgba(0, 0, 0, var(--totono-hero-overlay-start, .42)),
		rgba(0, 0, 0, var(--totono-hero-overlay-end, .62))
	), var(--totono-hero-bg-image, none);
}
body.home .totono-hero__inner { position: relative; z-index: 1; }
body.home .totono-hero__head {
	margin-bottom: 0px;
	text-align: center;
	padding-top: clamp(92px, 11vw, 130px);
	padding-bottom: clamp(92px, 11vw, 130px);
}
body.home .totono-hero__title {
	font-size: 40px;
	letter-spacing: .01em;
	text-shadow: 0 1px 2px rgba(15, 23, 42, .22);
}
body.home .totono-hero__sub { font-size: 16px; font-weight: 600; }

/* AI枠＋FAQ＋キーワードの統合カード */
body.home .totono-aibox--unified {
	max-width: none;
	width: 100%;
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(15, 23, 42, .18);
}
body.home .totono-aibox__head {
	padding: 14px 20px;
	font-size: 15px;
	background: linear-gradient(90deg, #7C3AED, #2563EB);
}
body.home .totono-aibox__avatar {
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
}
body.home .totono-aibox__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
body.home .totono-aibox__body {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 20px 22px 8px;
	min-height: 0;
}
body.home .totono-aibox__bodyavatar {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #eef1f7;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
body.home .totono-aibox__bodyavatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; background: transparent; }
body.home .totono-aibox__message {
	max-width: 720px;
	font-size: var(--fs-sm);
	line-height: 1.8;
	color: #3a4253;
	background: #eceef3;
	border-radius: 4px 16px 16px 16px;
	padding: 14px 18px;
}
body.home .totono-aibox__form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 14px;
	padding: 16px 22px 18px;
	border-top: 0;
}
body.home .totono-aibox__input {
	height: 48px;
	border-radius: 8px;
	padding: 0 16px;
	font-size: 14px;
	background: #f7f8fb;
}
body.home .totono-aibox__submit {
	height: 48px;
	padding: 0 26px;
	border-radius: 8px;
	background: linear-gradient(90deg, #7C3AED, #2563EB);
	font-size: 14px;
}

/* 統合カード内の FAQ ＆ キーワード */
body.home .totono-aibox__faq {
	padding: 4px 22px 22px;
}
body.home .totono-aibox__faqtitle {
	font-size: 15px;
	font-weight: 700;
	color: #2563EB;
	margin: 0 0 14px;
}
body.home .totono-aibox__faq .totono-faqlinks__grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 0 0 18px;
}
body.home .totono-aibox__faq .totono-faqlink {
	gap: 0;
	padding: 20px;
	border-radius: 10px;
	min-height: 0;
	align-items: center;
	border: 1px solid #e1e4e3;
}
body.home .totono-aibox__faq .totono-faqlink.is-active {
	border-color: #6455f0;
	box-shadow: none;
}
body.home .totono-aibox__faq .totono-faqlink:hover {
	border-color: #6455f0;
	box-shadow: var(--shadow-sm);
}
body.home .totono-aibox__faq .totono-faqlink__icon {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	margin-right: 15px;
	font-size: 0;
	border-radius: 0;
	background: transparent;
}
body.home .totono-aibox__faq .totono-faqlink__icon img {
	display: block;
	width: 48px;
	height: 48px;
}
body.home .totono-aibox__faq .totono-faqlink__body { gap: 4px; }
body.home .totono-aibox__faq .totono-faqlink__label {
	font-size: 18px;
	line-height: normal;
	font-weight: 700;
	letter-spacing: 0.36px;
	color: #232323;
	font-feature-settings: "palt" 1;
}
body.home .totono-aibox__faq .totono-faqlink__desc {
	font-size: 12px;
	line-height: 1.6;
	color: #232323;
	text-align: justify;
	font-feature-settings: "palt" 1;
}
body.home .totono-aibox__faq .totono-faqlink__arrow {
	flex: 0 0 auto;
	margin-left: 4px;
	display: flex;
	align-items: center;
	color: #6455f0;
}
body.home .totono-aibox__faq .totono-faqlink__arrow svg { display: block; }
body.home .totono-aibox__keywords {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	padding-top: 16px;
	border-top: 1px solid #eceff4;
}
body.home .totono-aibox__keywords .totono-keywords__lead {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: #2b3344;
}
body.home .totono-aibox__keywords .totono-keywords__list { gap: 10px; }
body.home .totono-aibox__faq .totono-tag {
	padding: 7px 16px;
	font-size: var(--fs-xs);
	border-radius: 999px;
	background: #eef1ff;
	border-color: #e2e7fb;
	color: #5566e0;
	font-weight: 600;
}
body.home .totono-aibox__faq .totono-tag:hover {
	background: #e2e7fb;
	border-color: #c7d1f8;
	color: #4453cf;
}

body.home .totono-homebanner .totono-container {
	background: unset;
	border: none;
	border-radius: 8px;
	padding-top: 0;
	padding-bottom: 0;
}
body.home .totono-homebanner img {
	border-radius: 6px;
}
body.home .totono-homebanner__placeholder {
	height: 170px;
	border-radius: 6px;
	background: #e5e7eb;
	color: #4b5563;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
}

body.home .totono-section__head { margin-bottom: 12px; }
body.home .totono-section__title { font-size: 28px; }
body.home .totono-section__more {
	font-size: 11px;
	color: #7b8799;
}

body.home .totono-homenews {
	background: unset;
	border-radius: 10px;
	padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 36px);
}
body.home .totono-homenews__inner {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 24px;
	align-items: start;
}
body.home .totono-homenews__head { padding-top: 4px; }
body.home .totono-homenews .totono-section__title {
	font-size: 28px;
	margin: 0 0 16px;
}
body.home .totono-homenews__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #3a4253;
}
body.home .totono-homenews__more:hover { text-decoration: none; color: var(--color-primary-dark); }
body.home .totono-homenews__moreicon {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	line-height: 1;
}

body.home .totono-homenews__list { gap: 0; }
body.home .totono-newscard {
	background: transparent;
	border: 0;
	border-bottom: 1px solid #dadada;
	border-radius: 0;
	box-shadow: none;
	padding: 24px 0;
	gap: 20px;
	align-items: center;
}
body.home .totono-newscard:first-child { padding-top: 0; }
body.home .totono-newscard:hover { box-shadow: none; }
body.home .totono-newscard__thumb {
	width: 132px;
	height: 88px;
	flex: 0 0 132px;
	border-radius: 4px;
}
body.home .totono-newscard__thumb--empty {
	background-color: #eef1f7;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%23c3cad6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 32px 32px;
}
body.home .totono-newscard__body { gap: 6px; }
body.home .totono-newscard__meta { gap: 10px; margin-bottom: 2px; }
body.home .totono-newscard__date {
	font-size: 12px;
	font-weight: 500;
	color: #232323;
	font-feature-settings: "palt" 1;
}
body.home .totono-newscard__title {
	font-size: 18px;
	line-height: normal;
	letter-spacing: 0.36px;
	font-weight: 700;
	color: #232323;
	font-feature-settings: "palt" 1;
}
body.home .totono-newscard__excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: #232323;
	text-align: justify;
	font-feature-settings: "palt" 1;
}
body.home .totono-newscard__arrow { display: none; }
body.home .totono-badge {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.4px;
	padding: 3px 8px;
	border-radius: 4px;
	line-height: normal;
}
@media (max-width: 768px) {
	body.home .totono-homenews { padding: 22px 16px; }
	body.home .totono-homenews__inner { grid-template-columns: 1fr; gap: 14px; }
	body.home .totono-homenews .totono-section__title { font-size: 22px; margin: 0 0 10px; }
	body.home .totono-homebenefits__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	body.home .totono-homebenefits__head .totono-section__title { font-size: 24px; }
	body.home .totono-homebenefits__lead {
		font-size: 13px;
		letter-spacing: 0.2px;
	}
	body.home .totono-homebenefits__moretext {
		font-size: 13px;
		letter-spacing: 0.2px;
	}
	body.home .totono-benefit__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
	body.home .totono-benefitcard__desc {
		font-size: 14px;
	}
}
@media (max-width: 560px) {
	body.home .totono-newscard__thumb { display: block; width: 92px; height: 62px; flex: 0 0 92px; }
	body.home .totono-benefit__grid { grid-template-columns: 1fr; }
}

body.home .totono-benefit__grid {
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
body.home .totono-homebenefits__head {
	align-items: flex-end;
	margin-bottom: 20px;
}
body.home .totono-homebenefits__heading {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
body.home .totono-homebenefits__head .totono-section__title {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 0.64px;
	line-height: normal;
	color: #232323;
	font-feature-settings: "palt" 1;
}
body.home .totono-homebenefits__lead {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.64px;
	line-height: normal;
	color: #232323;
	font-feature-settings: "palt" 1;
}
body.home .totono-homebenefits__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #232323;
	text-decoration: none;
}
body.home .totono-homebenefits__more:hover {
	color: #232323;
	text-decoration: none;
}
body.home .totono-homebenefits__moreicon {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
body.home .totono-homebenefits__moreicon svg {
	display: block;
	width: 24px;
	height: 24px;
}
body.home .totono-homebenefits__moretext {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.64px;
	line-height: normal;
	color: #232323;
	text-decoration: underline;
	text-underline-offset: 2px;
	font-feature-settings: "palt" 1;
}
body.home .totono-benefitcard {
	border: 1px solid #eef1f5;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 12px rgba(17, 24, 39, .06);
}
body.home .totono-benefitcard__thumb {
	aspect-ratio: 281 / 158;
	background-size: cover;
	background-position: center;
}
body.home .totono-benefitcard__cat,
body.home .totono-benefitcard__discount {
	top: 10px;
	border-radius: 4px;
	padding: 4px 8px 5px;
	font-size: 12px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.48px;
	font-feature-settings: "palt" 1;
}
body.home .totono-benefitcard__cat {
	left: 10px;
	background: #edf3fd;
	color: var(--color-primary);
}
body.home .totono-benefitcard__discount {
	right: 10px;
	background: #fd554a;
	color: #fff;
}
body.home .totono-benefitcard__body {
	padding: 15px 15px 20px;
	gap: 0;
	background: #fff;
}
body.home .totono-benefitcard__title {
	font-size: 14px;
	line-height: 1.5;
	font-weight: 700;
	color: #232323;
	letter-spacing: normal;
	margin: 0 0 8px;
	font-feature-settings: "palt" 1;
}
body.home .totono-benefitcard__desc {
	font-size: 12px;
	line-height: 1.5;
	font-weight: 500;
	color: #232323;
	text-align: left;
	margin: 0 0 12px;
	font-feature-settings: "palt" 1;
}
body.home .totono-benefitcard__btn {
	width: 100%;
	font-size: 16px;
	font-weight: 700;
	padding: 12px 10px;
	border-radius: 10px;
	letter-spacing: 0.32px;
}

body.home .totono-features { background: transparent; }
body.home .totono-features__grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
body.home .totono-featurecard {
	border: none;
	border-radius: 8px;
	padding: 34px 30px 28px;
	min-height: 232px;
}
body.home .totono-featurecard__icon {
	width: 62px;
	height: 62px;
	background: #f0f4f5;
	color: var(--color-primary);
	font-size: inherit;
}
body.home .totono-featurecard__title {
	font-size: 22px;
	margin: 0;
}
body.home .totono-featurecard__desc {
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 22px;
}
body.home .totono-featurecard__link {
	font-size: 16px;
	color: #232323;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
body.home .totono-featurecard__link::after {
	content: none;
}
body.home .totono-featurecard__link:hover { text-decoration: none; }

body.home .totono-emergency {
	background: transparent;
	color: var(--color-text);
}
body.home .totono-emergency--home,
body.home .totono-emergency--footer {
	padding: 0;
}
body.home .totono-emergency__lead {
	margin: 0 0 16px;
	background: var(--color-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 0 28px;
	min-height: 95px;
	border-radius: 8px;
}
body.home .totono-emergency__leadicon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	margin-right: 0;
	color: #fff;
}
body.home .totono-emergency__leadicon svg {
	display: block;
	width: 28px;
	height: 28px;
}
body.home .totono-emergency__leadtext {
	font-size: 20px;
	line-height: 1.45;
	font-weight: 700;
	letter-spacing: .02em;
	font-feature-settings: "palt" 1, "pwid" 1;
	color: #fff;
}
body.home .totono-emergency__hours {
	font-size: 14px;
	line-height: 1.45;
	font-weight: 400;
	opacity: 1;
	white-space: nowrap;
	font-feature-settings: "palt" 1, "pwid" 1;
}
body.home .totono-emergency__grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
body.home .totono-emergency__card {
	background: #fff;
	border: none;
	border-radius: 8px;
	padding: 30px;
	min-height: 216px;
	display: flex;
	flex-direction: column;
	gap: 11px;
}
body.home .totono-emergency__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 15px;
}
body.home .totono-emergency__badge {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--color-primary);
	color: var(--color-primary);
	border-radius: 4px;
	padding: 2px 6px 1px;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 700;
	align-self: flex-start;
}
body.home .totono-emergency__label {
	font-size: 22px;
	line-height: 1.5;
	font-weight: 700;
	color: #232323;
	margin: 0;
}
body.home .totono-emergency__desc {
	font-size: 12px;
	line-height: 1.6;
	color: #232323;
	margin: 0;
	opacity: 1;
	min-height: 3.2em;
	text-align: justify;
	font-feature-settings: "palt" 1, "pwid" 1;
}
body.home .totono-emergency__tel {
	color: var(--color-primary);
	font-size: 25px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: .02em;
	font-family: "DM Sans", "Noto Sans JP", sans-serif;
	margin-top: auto;
}

/* =========================================================
 * レスポンシブ
 * ======================================================= */
@media (max-width: 900px) {
	.totono-faqlinks__grid,
	.totono-benefit__grid,
	.totono-features__grid,
	.totono-faqcats,
	.totono-form__grid,
	.totono-manual__grid,
	.totono-other__grid,
	.totono-emergency__grid { grid-template-columns: repeat(2, 1fr); }
	.totono-lifeline__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	body { font-size: 14px; }
	.totono-container { padding: 0 16px; }
	.totono-section { padding: 38px 0; }
	.totono-page { padding: 30px 16px 52px; }
	.totono-header__toggle { display: flex; }
	.totono-header__title { display: none; }
	.totono-globalnav {
		position: fixed; inset: 64px 0 auto 0;
		background: #fff; border-bottom: 1px solid var(--color-line);
		max-height: 0; overflow: hidden; transition: max-height .25s ease;
		box-shadow: var(--shadow);
	}
	.totono-globalnav.is-open { max-height: 80vh; }
	.totono-globalnav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
	.totono-globalnav__item a { display: block; padding: 14px 24px; border-bottom: 1px solid var(--color-line); }
	.totono-hero__title, .totono-pagehero__title { font-size: 23px; }
	.totono-aibox__form { flex-direction: column; }
	.totono-aipage { padding: 18px 0 56px; }
	.totono-aipage__bar { height: 60px; }
	.totono-aipage__title { font-size: 18px; }
	.totono-aipage__hint { font-size: 11px; right: 12px; padding: 8px 12px; }
	.totono-aichat { padding: 28px 20px 24px; gap: 22px; min-height: 320px; }
	.totono-aichat__row { max-width: 100%; }
	.totono-aichat__avatar { flex: 0 0 44px; width: 44px; height: 44px; }
	.totono-aichat__avatar img { width: 26px; height: 26px; }
	.totono-aichat__bubble { font-size: 15px; padding: 16px 18px; }
	.totono-aipage__form { flex-direction: column; padding: 20px 20px 24px; }
	.totono-aipage__input { padding: 15px 18px; }
	.totono-aipage__submit { min-width: 0; width: 100%; padding: 15px 20px; }
	.totono-formrow { grid-template-columns: 1fr; gap: 6px; align-items: stretch; }
	.totono-section__title { font-size: 19px; }
	.totono-detail { padding: 30px 20px; }
	.totono-appbanner__inner, .totono-aicta__inner { flex-direction: column; align-items: flex-start; }
	.totono-newscard__thumb { display: none; }
	.totono-newslist { gap: 14px; }
	.totono-newsitem { padding: 18px; border-radius: 16px; gap: 14px; flex-wrap: wrap; }
	.totono-newsitem__thumb { flex: 1 1 100%; width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
	.totono-newsitem__title { font-size: 18px; letter-spacing: 0.36px; }
	.totono-newsitem__arrow { display: none; }
	.totono-footer__inner { flex-direction: column; align-items: flex-start; gap: 22px; }
	.totono-footer__contact { max-width: none; }
	body.home .totono-section { margin-bottom: 24px; }
	body.home .totono-hero { padding: 14px 0 34px; }
	body.home .totono-hero__head { padding-top: 74px; padding-bottom: 74px; }
	/* 夜間緊急（ホーム）: 見出し行を縦積みにして折り返し崩れを防止 */
	body.home .totono-emergency__lead {
		flex-direction: column;
		gap: 6px;
		padding: 18px 20px;
		min-height: 0;
		text-align: center;
	}
	body.home .totono-emergency__hours { white-space: normal; }
	body.home .totono-emergency__leadtext { font-size: var(--fs-lg); }
	body.home .totono-emergency__grid { gap: 14px; }
	body.home .totono-emergency__card { padding: 22px; min-height: 0; }
	body.home .totono-emergency__label { font-size: var(--fs-xl); }
	/* 機能カード・特典見出しの肥大化を抑制 */
	body.home .totono-featurecard { min-height: 0; padding: 24px 22px; }
	body.home .totono-featurecard__title { font-size: var(--fs-xl); }
	body.home .totono-homebenefits__head .totono-section__title { font-size: var(--fs-h1); }
	/* CTA・バナーの横並びを縦積みに */
	.faqa-cta, .forma-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
	.totono-faqlinks__grid,
	.totono-benefit__grid,
	.totono-features__grid,
	.totono-faqcats,
	.totono-form__grid,
	.totono-manual__grid,
	.totono-manual__grid--2,
	.totono-other__grid,
	.totono-emergency__grid { grid-template-columns: 1fr; }
}

/* ---------- 極小画面（スマートフォン縦持ち）---------- */
@media (max-width: 480px) {
	.totono-container { padding: 0 14px; }
	.totono-page { padding: 24px 14px 44px; }
	.totono-detail { padding: 24px 16px; }
	.totono-detail__title { font-size: var(--fs-xl); }
	.totono-richtext h2 { font-size: var(--fs-lg); }
	.totono-richtext h3 { font-size: var(--fs-md); }
	/* ヒーロー見出しの過大化を抑制 */
	body.home .totono-hero__title { font-size: var(--fs-h1); }
	.totono-pagehero__title { font-size: var(--fs-h1); }
	/* 電話番号など大きな数字の折り返し許容 */
	.totono-emergency__tel,
	.totono-footer__contact-tel { word-break: break-all; }
	/* ボタンは横幅いっぱいで押しやすく */
	.totono-newsitem { padding: 16px; }
	.totono-pagination ul { flex-wrap: wrap; }
}

/* ---------- スマートフォン: ホームのグリッド列数とコンテンツ余白 ---------- */
@media (max-width: 768px) {
	/* コンテンツの左右に余白を確保 */
	.totono-container { padding: 0 20px; }

	/* よくある質問リンク: 1カラム */
	body.home .totono-aibox__faq .totono-faqlinks__grid { grid-template-columns: 1fr; }
	/* 入居者特典: 2カラム */
	body.home .totono-benefit__grid { grid-template-columns: repeat(2, 1fr); }
	/* 機能カード: 1カラム */
	body.home .totono-features__grid { grid-template-columns: 1fr; }
	/* 夜間緊急: 1カラム */
	body.home .totono-emergency__grid { grid-template-columns: 1fr; }
}

/* =========================================================
 * FAQ一覧（カテゴリ別アーカイブ / Figma デザイン準拠）
 * ======================================================= */
.faqa {
	/* 青はカスタマイザーのベースカラー（--color-primary）に連動。 */
	--faqa-blue: var(--color-primary);
	--faqa-blue-light: color-mix(in srgb, var(--color-primary) 45%, #ffffff);
	--faqa-bg: #F0F4F5;
	--faqa-border: #E1E4E3;
	--faqa-text: #232323;
	--faqa-gray: #8D8E8E;
	--faqa-placeholder: #B8BCBB;
	/* AIのグラデーションは固定（ブランドカラー）。 */
	--faqa-grad: linear-gradient(90deg, #713FF5 0%, #26C0D6 100%);
	background: var(--faqa-bg);
	color: var(--faqa-text);
	font-family: "Noto Sans JP", var(--font);
	font-feature-settings: "palt" 1;
	padding-bottom: 1px;
}

/* ---------- ヒーロー ---------- */
.faqa-hero {
	position: relative;
	background: var(--faqa-blue);
	color: #fff;
	border-radius: 0 0 40px 40px;
	text-align: center;
	padding: 22px 0 clamp(40px, 5vw, 56px);
}
.faqa-hero__inner { display: block; }

.faqa-crumb {
	display: flex;
	align-items: center;
	gap: 12px;
	text-align: left;
	margin-bottom: clamp(34px, 5vw, 54px);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .52px;
}
.faqa-crumb__link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.faqa-crumb__link:hover { color: #fff; opacity: .85; }
.faqa-crumb__sep {
	width: 9px;
	height: 16px;
	flex: 0 0 auto;
	background: linear-gradient(to bottom right, transparent calc(50% - 1px), #fff calc(50% - 1px), #fff calc(50% + 1px), transparent calc(50% + 1px));
}
.faqa-crumb__current { color: var(--faqa-blue-light); }

.faqa-hero__title {
	font-size: clamp(26px, 4vw, 40px);
	font-weight: 700;
	letter-spacing: .8px;
	margin: 0;
	line-height: 1.3;
}
.faqa-hero__lead {
	max-width: 860px;
	margin: clamp(14px, 2vw, 22px) auto 0;
	font-size: clamp(14px, 1.5vw, 18px);
	font-weight: 400;
	letter-spacing: .72px;
	line-height: 1.7;
}

/* ---------- AI相談ボタン（白カード） ---------- */
.faqa-aibtn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border-radius: 8px;
	padding: 18px 30px;
	margin-top: clamp(26px, 3.5vw, 38px);
	box-shadow: 10px 10px 10px rgba(75, 100, 183, .08);
	text-decoration: none;
	transition: box-shadow .15s, transform .15s;
}
.faqa-aibtn:hover { text-decoration: none; box-shadow: 12px 12px 18px rgba(75, 100, 183, .16); transform: translateY(-1px); }
.faqa-aibtn__icon { width: 22px; height: 23px; display: block; flex: 0 0 auto; }
.faqa-aibtn__label {
	font-weight: 700;
	font-size: 18px;
	letter-spacing: .36px;
	/* AIのグラデーションは固定（ブランドカラー）。 */
	background: linear-gradient(90deg, #713FF5 0%, #26C0D6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	white-space: nowrap;
}

/* ---------- 本文 ---------- */
.faqa-body { padding: clamp(40px, 5vw, 56px) 0 0; }

/* 検索 */
.faqa-search { display: flex; gap: 10px; margin-bottom: clamp(34px, 4vw, 48px); }
.faqa-search__input {
	flex: 1;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--faqa-border);
	border-radius: 10px;
	padding: 18px 30px;
	font-size: 16px;
	color: var(--faqa-text);
}
.faqa-search__input::placeholder { color: var(--faqa-placeholder); }
.faqa-search__input:focus { outline: 2px solid var(--faqa-blue); outline-offset: 1px; }
.faqa-search__btn {
	flex: 0 0 auto;
	min-width: 146px;
	border: none;
	cursor: pointer;
	background: var(--faqa-blue);
	color: #fff;
	border-radius: 10px;
	padding: 16px 30px;
	font-size: 18px;
	font-weight: 500;
	transition: background .15s;
}
.faqa-search__btn:hover { background: var(--color-primary-hover); }

/* 件数 */
.faqa-count {
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 700;
	letter-spacing: .52px;
	margin: 0 0 clamp(18px, 2.4vw, 24px);
}

/* カテゴリカード */
.faqa-cats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: clamp(44px, 6vw, 64px);
}
.faqa-cat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--faqa-border);
	border-radius: 10px;
	padding: 20px 30px;
	text-decoration: none;
	transition: border-color .15s, color .15s;
}
.faqa-cat__name { font-weight: 500; font-size: 18px; letter-spacing: .36px; color: var(--faqa-text); }
.faqa-cat__count { flex: 0 0 auto; font-weight: 500; font-size: 15px; letter-spacing: .3px; color: var(--faqa-gray); }
.faqa-cat:hover { border-color: var(--faqa-blue); text-decoration: none; }
.faqa-cat:hover .faqa-cat__name,
.faqa-cat:hover .faqa-cat__count { color: var(--faqa-blue); }
.faqa-cat--active { border-color: var(--faqa-blue); background: var(--color-primary-light); }
.faqa-cat--active .faqa-cat__name,
.faqa-cat--active .faqa-cat__count { color: var(--faqa-blue); }

/* グループ */
.faqa-group { margin-bottom: clamp(44px, 6vw, 64px); }
.faqa-group__head { display: flex; align-items: center; gap: 11px; margin-bottom: clamp(20px, 3vw, 30px); }
.faqa-group__icon { width: 23px; height: 27px; display: block; flex: 0 0 auto; color: var(--color-primary); }
.faqa-group__title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: .52px; margin: 0; }
.faqa-group__list { display: flex; flex-direction: column; gap: 15px; }

/* Q&A カード（アコーディオン） */
.faqa-card { background: #fff; border-radius: 20px; transition: box-shadow .15s; }
.faqa-card:hover { box-shadow: 0 6px 20px rgba(75, 100, 183, .12); }
.faqa-card__row {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 17px;
	text-align: left;
	padding: clamp(20px, 2.6vw, 30px);
	font: inherit;
	color: inherit;
	text-decoration: none;
}
.faqa-card__row:hover { text-decoration: none; }
.faqa-card__main { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 0; }
.faqa-card__q {
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--faqa-blue);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "DM Sans", sans-serif;
	font-weight: 600;
	font-size: 14px;
	margin-top: 2px;
}
.faqa-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.faqa-card__question {
	font-size: clamp(16px, 2vw, 20px);
	font-weight: 700;
	letter-spacing: .4px;
	line-height: 1.5;
	color: var(--faqa-text);
}
.faqa-card__toggle { flex: 0 0 auto; width: 21px; height: 21px; display: flex; align-items: center; justify-content: center; color: var(--color-primary); }
.faqa-card__toggle svg { width: 15px; height: 15px; display: block; transform: rotate(45deg); }

/* すべて表示 */
.faqa-group__more { display: flex; justify-content: flex-end; margin-top: clamp(24px, 3vw, 35px); }
.faqa-more { display: inline-flex; align-items: center; gap: 9px; color: var(--faqa-text); font-size: 16px; font-weight: 500; letter-spacing: .64px; text-decoration: none; }
.faqa-more__icon { width: 24px; height: 24px; display: block; flex: 0 0 auto; color: var(--color-primary); }
.faqa-more span { text-decoration: underline; text-underline-offset: 3px; }
.faqa-more:hover { text-decoration: none; }
.faqa-more:hover span { color: var(--faqa-blue); }

/* 下部CTA */
.faqa-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin: clamp(20px, 3vw, 32px) 0 clamp(44px, 6vw, 72px);
	padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 50px);
	border-radius: 8px;
	background: linear-gradient(99deg, #713FF5 0%, #26C0D6 100%);
	color: #fff;
}
.faqa-cta__text { flex: 1 1 360px; }
.faqa-cta__title { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; letter-spacing: .56px; margin: 0; }
.faqa-cta__desc { font-size: 16px; line-height: 1.6; margin: 6px 0 0; }
.faqa-cta__btn { flex: 0 0 auto; margin-top: 0; }

@media (max-width: 880px) {
	.faqa-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.faqa-hero { border-radius: 0 0 24px 24px; }
	.faqa-cats { grid-template-columns: 1fr; }
	.faqa-cat { padding: 16px 20px; }
	.faqa-search { gap: 8px; }
	.faqa-search__input { padding: 14px 18px; }
	.faqa-search__btn { min-width: 0; padding: 14px 18px; font-size: 16px; }
	.faqa-cta { flex-direction: column; align-items: flex-start; }
	.faqa-card__toggle { align-self: flex-start; margin-top: 4px; }
}

/* =========================================================
 * Web受付フォーム一覧（Figma デザイン準拠）
 * 青はカスタマイザーのベースカラー（--color-primary）に連動。
 * ======================================================= */
.forma {
	--forma-bg: #F0F4F5;
	--forma-text: #232323;
	--forma-gray: #8D8E8E;
	--forma-iconbox: #F0F4F5;
	background: var(--forma-bg);
	color: var(--forma-text);
	font-family: "Noto Sans JP", var(--font);
	font-feature-settings: "palt" 1;
	padding-bottom: 1px;
}

/* ---------- ヒーロー ---------- */
.forma-hero {
	position: relative;
	background: var(--color-primary);
	color: #fff;
	border-radius: 0 0 40px 40px;
	text-align: center;
	padding: 22px 0 clamp(40px, 5vw, 56px);
	overflow: hidden;
}
.forma-hero--image { background-size: cover; background-position: center; }
.forma-hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(32, 32, 32, .4);
	pointer-events: none;
}
.forma-hero__inner { position: relative; z-index: 1; }

.forma-crumb {
	display: flex;
	align-items: center;
	gap: 12px;
	text-align: left;
	margin-bottom: clamp(34px, 5vw, 54px);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .52px;
}
.forma-crumb__link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.forma-crumb__link:hover { color: #fff; opacity: .85; }
.forma-crumb__sep {
	width: 9px;
	height: 16px;
	flex: 0 0 auto;
	background: linear-gradient(to bottom right, transparent calc(50% - 1px), #fff calc(50% - 1px), #fff calc(50% + 1px), transparent calc(50% + 1px));
}
.forma-crumb__current { color: rgba(255, 255, 255, .72); }

.forma-hero__title {
	font-size: clamp(24px, 3.6vw, 40px);
	font-weight: 700;
	letter-spacing: .8px;
	margin: 0;
	line-height: 1.3;
}
.forma-hero__lead {
	max-width: 860px;
	margin: clamp(14px, 2vw, 22px) auto 0;
	font-size: clamp(14px, 1.5vw, 18px);
	font-weight: 400;
	letter-spacing: .72px;
	line-height: 1.7;
}

/* ---------- 本文 ---------- */
.forma-body { padding: clamp(40px, 5vw, 56px) 0 0; }

/* 案内ノーティス */
.forma-notice {
	border: 1px solid var(--color-primary);
	border-radius: 8px;
	background: #fff;
	padding: 24px 30px;
	margin-bottom: clamp(36px, 5vw, 52px);
}
.forma-notice__head { display: flex; align-items: center; gap: 7px; margin: 0 0 6px; }
.forma-notice__icon { width: 18px; height: 18px; flex: 0 0 auto; color: var(--color-primary); }
.forma-notice__title { font-size: 20px; font-weight: 700; letter-spacing: .4px; color: var(--color-primary); }
.forma-notice__desc { margin: 0; padding-left: 25px; font-size: 15px; font-weight: 500; letter-spacing: .3px; line-height: 1.7; color: var(--forma-text); }
.forma-notice__desc a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }

/* グループ */
.forma-group { margin-bottom: clamp(44px, 6vw, 64px); }
.forma-group__head { display: flex; align-items: center; gap: 11px; margin-bottom: clamp(20px, 3vw, 30px); }
.forma-group__icon { width: 23px; height: 27px; display: block; flex: 0 0 auto; color: var(--color-primary); }
.forma-group__title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: .52px; margin: 0; }

/* カードグリッド */
.forma-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.forma-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	background: #fff;
	border-radius: 8px;
	padding: 30px;
}
.forma-card__body { display: flex; flex-direction: column; gap: 18px; }
.forma-card__head { display: flex; align-items: center; gap: 20px; }
.forma-card__iconbox {
	flex: 0 0 auto;
	width: 58px;
	height: 58px;
	border-radius: 10px;
	background: var(--forma-iconbox);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
}
.forma-card__icon { width: 26px; height: 26px; display: block; }
.forma-card__title { font-size: 22px; font-weight: 700; letter-spacing: .44px; margin: 0; color: var(--forma-text); }
.forma-card__meta { display: flex; flex-direction: column; gap: 10px; }
.forma-card__desc { margin: 0; font-size: 14px; line-height: 1.6; text-align: justify; color: var(--forma-text); }
.forma-card__lead { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--forma-gray); }
.forma-card__clock { width: 15px; height: 15px; flex: 0 0 auto; color: #B8BCBB; }
.forma-card__btn {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-primary);
	color: #fff;
	border-radius: 5px;
	padding: 12px 10px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .32px;
	text-decoration: none;
	transition: background .15s;
}
.forma-card__btn:hover { background: var(--color-primary-hover); color: #fff; text-decoration: none; }

/* 下部CTA（AIグラデーションは固定） */
.forma-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin: clamp(20px, 3vw, 32px) 0 clamp(44px, 6vw, 72px);
	padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 50px);
	border-radius: 8px;
	background: linear-gradient(99deg, #713FF5 0%, #26C0D6 100%);
	color: #fff;
}
.forma-cta__text { flex: 1 1 360px; }
.forma-cta__title { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; letter-spacing: .56px; margin: 0; }
.forma-cta__desc { font-size: 16px; line-height: 1.6; margin: 6px 0 0; }
.forma-cta__btn { flex: 0 0 auto; margin-top: 0; }

@media (max-width: 980px) {
	.forma-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.forma-hero { border-radius: 0 0 24px 24px; }
	.forma-grid { grid-template-columns: 1fr; }
	.forma-notice { padding: 18px 20px; }
	.forma-notice__title { font-size: 17px; }
	.forma-cta { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
 * FAQ詳細（Figma デザイン準拠）
 * 青はカスタマイザーのベースカラー（--color-primary）に連動。
 * ======================================================= */
.faqd {
	--faqd-text: #232323;
	--faqd-gray: #8D8E8E;
	background: #F0F4F5;
	color: var(--faqd-text);
	font-family: "Noto Sans JP", var(--font);
	font-feature-settings: "palt" 1;
	padding-bottom: clamp(28px, 4vw, 40px);
}
.faqd-inner { padding-top: 20px; }

/* パンくず */
.faqd-crumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: clamp(22px, 3vw, 32px);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .52px;
}
.faqd-crumb__link { color: var(--faqd-text); text-decoration: underline; text-underline-offset: 3px; }
.faqd-crumb__link:hover { color: var(--color-primary); }
.faqd-crumb__sep {
	width: 9px;
	height: 16px;
	flex: 0 0 auto;
	background: linear-gradient(to bottom right, transparent calc(50% - 1px), #b8bcbb calc(50% - 1px), #b8bcbb calc(50% + 1px), transparent calc(50% + 1px));
}
.faqd-crumb__current { color: var(--faqd-gray); }

/* カード */
.faqd-card {
	background: #fff;
	border-radius: 20px;
	padding: clamp(28px, 4.5vw, 56px);
}

/* バッジ（枠線ピル） */
.faqd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.faqd-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-primary);
	color: var(--color-primary);
	border-radius: 12px;
	padding: 8px 20px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .64px;
	line-height: 1;
}

/* 質問 */
.faqd-q {
	display: flex;
	gap: 12px;
	align-items: baseline;
	margin: 0 0 clamp(24px, 3.5vw, 40px);
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 700;
	letter-spacing: .64px;
	line-height: 1.5;
	color: var(--faqd-text);
}
.faqd-q__mark { flex: 0 0 auto; font-weight: 700; }

/* 回答 */
.faqd-a { display: flex; gap: 20px; align-items: flex-start; }
.faqd-a__mark {
	flex: 0 0 auto;
	font-size: clamp(18px, 2.2vw, 22px);
	font-weight: 700;
	letter-spacing: .44px;
	color: var(--color-primary);
	line-height: 1.6;
}
.faqd-a__body { flex: 1; min-width: 0; }
.faqd-richtext { font-size: 16px; line-height: 1.7; color: var(--faqd-text); text-align: justify; }
.faqd-richtext p { margin: 0 0 1.7em; }
.faqd-richtext p:last-child { margin-bottom: 0; }
.faqd-richtext strong,
.faqd-richtext b,
.faqd-richtext h2,
.faqd-richtext h3,
.faqd-richtext h4 { font-weight: 800; }
.faqd-richtext h2,
.faqd-richtext h3,
.faqd-richtext h4 { font-size: 16px; margin: 1.7em 0 0; }
.faqd-richtext ul,
.faqd-richtext ol { margin: 0 0 1.7em; padding-left: 1.4em; }

/* 添付ファイル・画像 */
.faqd-files { margin-top: clamp(30px, 4vw, 48px); }
.faqd-files__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 18px; font-weight: 700; letter-spacing: .36px; color: var(--faqd-text); }
.faqd-files__icon { font-size: 21px; color: var(--faqd-text); }
.faqd-files__list { display: flex; flex-direction: column; gap: 12px; }
.faqd-file {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 53px;
	padding: 12px 20px;
	border: 1px solid var(--color-primary);
	border-radius: 6px;
	color: var(--color-primary);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .32px;
	text-align: center;
	text-decoration: none;
	transition: background .15s;
}
.faqd-file:hover { background: var(--color-primary-light); text-decoration: none; color: var(--color-primary); }

@media (max-width: 600px) {
	.faqd-card { border-radius: 14px; }
	.faqd-a { gap: 12px; }
}

/* =========================================================
 * 入居者限定特典・優待（Figma デザイン準拠）
 * 青はカスタマイザーのベースカラー（--color-primary）に連動。
 * ======================================================= */
.benf {
	--benf-blue: var(--color-primary);
	--benf-blue-light: color-mix(in srgb, var(--color-primary) 12%, #ffffff);
	--benf-bg: #F0F4F5;
	--benf-border: #E1E4E3;
	--benf-text: #232323;
	--benf-gray: #8D8E8E;
	--benf-red: #FD554A;
	background: var(--benf-bg);
	color: var(--benf-text);
	font-family: "Noto Sans JP", var(--font);
	font-feature-settings: "palt" 1;
	padding-bottom: clamp(28px, 4vw, 40px);
}

/* ---------- ヒーロー ---------- */
.benf-hero {
	background: var(--benf-blue);
	color: #fff;
	border-radius: 0 0 40px 40px;
	text-align: center;
	padding: 22px 0 clamp(40px, 5vw, 56px);
}
.benf-crumb {
	display: flex;
	align-items: center;
	gap: 12px;
	text-align: left;
	margin-bottom: clamp(34px, 5vw, 54px);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .52px;
}
.benf-crumb__link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.benf-crumb__link:hover { color: #fff; opacity: .85; }
.benf-crumb__sep {
	width: 9px;
	height: 16px;
	flex: 0 0 auto;
	background: linear-gradient(to bottom right, transparent calc(50% - 1px), #fff calc(50% - 1px), #fff calc(50% + 1px), transparent calc(50% + 1px));
}
.benf-crumb__current { color: color-mix(in srgb, var(--color-primary) 35%, #ffffff); }
.benf-hero__title { font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: .8px; margin: 0; line-height: 1.3; }
.benf-hero__lead { max-width: 880px; margin: clamp(14px, 2vw, 22px) auto 0; font-size: clamp(14px, 1.5vw, 18px); font-weight: 400; letter-spacing: .72px; line-height: 1.7; }

/* ---------- セクション共通 ---------- */
.benf-body { padding-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: clamp(56px, 6vw, 80px); }
.benf-section { display: flex; flex-direction: column; gap: 30px; }
.benf-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.benf-section__title { margin: 0; font-weight: 700; color: var(--benf-text); letter-spacing: .52px; font-size: 26px; line-height: 1.4; }
.benf-section__title--lg { font-size: clamp(24px, 3vw, 32px); letter-spacing: .64px; }
.benf-section__foot { display: flex; justify-content: flex-end; }

.benf-more { display: inline-flex; align-items: center; gap: 9px; color: var(--benf-text); font-size: 16px; font-weight: 500; letter-spacing: .64px; text-decoration: none; }
.benf-more span { text-decoration: underline; text-underline-offset: 3px; }
.benf-more:hover { color: var(--benf-blue); text-decoration: none; }
.benf-circlearrow { width: 24px; height: 24px; flex: 0 0 auto; color: var(--benf-blue); display: block; }

/* ---------- アイコンボックス（ライフライン・その他共通） ---------- */
.benf-iconbox {
	flex: 0 0 auto;
	width: 58px; height: 58px;
	border-radius: 10px;
	background: var(--benf-bg);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--benf-blue);
}
.benf-iconbox img { width: 26px; height: 26px; object-fit: contain; }
.benf-iconbox svg { width: 26px; height: 26px; }
.benf-iconbox .material-symbols-rounded { font-size: 26px; }

/* ---------- お得情報カード（front-page と同一デザイン） ---------- */
.benf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benf-card {
	display: flex; flex-direction: column;
	border: 1px solid #eef1f5;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 12px rgba(17, 24, 39, .06);
}
.benf-card__thumb {
	position: relative;
	aspect-ratio: 281 / 158;
	background: var(--benf-blue-light) center/cover no-repeat;
}
.benf-card__cat,
.benf-card__discount {
	position: absolute; top: 10px;
	display: inline-flex; align-items: center;
	border-radius: 4px; padding: 4px 8px 5px;
	font-size: 12px; font-weight: 700; letter-spacing: .48px; line-height: normal;
}
.benf-card__cat { left: 10px; background: var(--benf-blue-light); color: var(--benf-blue); }
.benf-card__discount { right: 10px; background: var(--benf-red); color: #fff; }
.benf-card__body { display: flex; flex-direction: column; padding: 15px 15px 20px; background: #fff; flex: 1; }
.benf-card__title { margin: 0 0 8px; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--benf-text); }
.benf-card__desc { margin: 0 0 12px; font-size: 12px; font-weight: 500; line-height: 1.5; color: var(--benf-text); text-align: left; flex: 1; }
.benf-card__btn {
	margin-top: auto;
	display: flex; align-items: center; justify-content: center;
	background: var(--benf-blue); color: #fff;
	border-radius: 10px; padding: 12px 10px;
	font-size: 16px; font-weight: 700; letter-spacing: .32px; text-align: center;
	text-decoration: none; transition: background .15s;
}
.benf-card__btn:hover { background: var(--color-primary-hover); color: #fff; text-decoration: none; }

/* ---------- インターネット・通信サービス ---------- */
.benf-life__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.benf-life { display: flex; flex-direction: column; gap: 18px; background: #fff; border-radius: 8px; padding: 30px; }
.benf-life__head { display: flex; gap: 20px; align-items: flex-end; }
.benf-life__heading { display: flex; flex-direction: column; gap: 5px; }
.benf-life__title { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: .44px; color: var(--benf-text); line-height: 1.3; }
.benf-life__provider { margin: 0; font-size: 14px; line-height: 1.6; color: var(--benf-text); }
.benf-life__divider { height: 1px; background: var(--benf-border); }
.benf-life__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.benf-life__price { display: flex; align-items: center; gap: 13px; }
.benf-life__status {
	display: inline-flex; align-items: center; justify-content: center;
	height: 27px; padding: 0 10px;
	border: 1px solid var(--benf-blue); border-radius: 5px;
	color: var(--benf-blue); font-size: 13px; font-weight: 700; letter-spacing: .26px; white-space: nowrap;
}
.benf-life__status--none { border-color: var(--benf-gray); color: var(--benf-gray); }
.benf-life__fee { display: inline-flex; align-items: baseline; gap: 9px; color: var(--benf-text); font-weight: 700; }
.benf-life__fee-label { font-size: 22px; letter-spacing: .44px; }
.benf-life__fee-num { font-family: "DM Sans", var(--font); font-size: 30px; letter-spacing: .6px; }
.benf-life__link { display: inline-flex; align-items: center; gap: 6px; color: var(--benf-text); font-size: 16px; font-weight: 500; letter-spacing: .64px; text-decoration: none; }
.benf-life__link span { text-decoration: underline; text-underline-offset: 3px; }
.benf-life__link:hover { color: var(--benf-blue); text-decoration: none; }

/* ---------- その他の優待サービス ---------- */
.benf-other__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.benf-other {
	display: flex; align-items: center; gap: 20px;
	background: #fff; border-radius: 8px; padding: 20px;
	text-decoration: none; transition: box-shadow .15s;
}
.benf-other:hover { box-shadow: 0 6px 20px rgba(75, 100, 183, .12); text-decoration: none; }
.benf-other__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.benf-other__title { font-size: 18px; font-weight: 700; letter-spacing: .44px; color: var(--benf-text); line-height: 1.3; }
.benf-other__desc { font-size: 14px; line-height: 1.6; color: var(--benf-text); }
.benf-other__arrow { flex: 0 0 auto; color: var(--benf-gray); display: inline-flex; }
.benf-othercard__arrowsvg { width: 14px; height: 14px; display: block; }
.benf-other:hover .benf-other__arrow { color: var(--benf-blue); }

@media (max-width: 1080px) {
	.benf-grid { grid-template-columns: repeat(2, 1fr); }
	.benf-other__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
	.benf-life__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.benf-hero { border-radius: 0 0 24px 24px; }
	.benf-grid { grid-template-columns: 1fr; }
	.benf-other__grid { grid-template-columns: 1fr; }
	.benf-life { padding: 22px; }
	.benf-life__fee-num { font-size: 26px; }
}

/* =========================================================
 * アニメーション設計
 * 1) ページ全体のスクロール出現・読み込み演出
 * 2) ホバーアクションは「基本リンクのみ」に付与
 * すべて prefers-reduced-motion を尊重し、JS無効時は通常表示。
 * ======================================================= */

/* ---------- キーフレーム ---------- */
@keyframes totono-fade-up {
	from { opacity: 0; transform: translateY(22px); }
	to   { opacity: 1; transform: none; }
}
@keyframes totono-fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes totono-zoom-in {
	from { opacity: 0; transform: scale(.96); }
	to   { opacity: 1; transform: none; }
}

/* =========================================================
 * 1) スクロール出現（JSが .js-anim を付与した時だけ有効）
 * ======================================================= */
@media (prefers-reduced-motion: no-preference) {
	/* 出現前は不可視・少し下／拡大の状態で待機 */
	.js-anim [data-reveal] {
		opacity: 0;
		will-change: opacity, transform;
		transition:
			opacity .7s cubic-bezier(.16, 1, .3, 1),
			transform .7s cubic-bezier(.16, 1, .3, 1);
		transition-delay: var(--reveal-delay, 0ms);
	}
	.js-anim [data-reveal="up"]   { transform: translateY(24px); }
	.js-anim [data-reveal="fade"] { transform: none; }
	.js-anim [data-reveal="zoom"] { transform: scale(.96); }

	/* 画面内に入ったら本来の状態へ */
	.js-anim [data-reveal].is-visible {
		opacity: 1;
		transform: none;
	}

	/* ファーストビュー（ヒーロー等）は読み込み時に演出 */
	.js-anim .totono-hero__head,
	.js-anim .totono-pagehero__title,
	.js-anim .faqa-hero__title,
	.js-anim .forma-hero__title,
	.js-anim .benf-hero__title {
		animation: totono-fade-up .8s cubic-bezier(.16, 1, .3, 1) both;
	}
	.js-anim .totono-pagehero__lead,
	.js-anim .faqa-hero__lead,
	.js-anim .forma-hero__lead {
		animation: totono-fade-up .8s cubic-bezier(.16, 1, .3, 1) .12s both;
	}
	.js-anim .totono-aibox--unified {
		animation: totono-zoom-in .9s cubic-bezier(.16, 1, .3, 1) .1s both;
	}
}

/* =========================================================
 * 2) ホバーアクション（基本リンクのみ）
 * ======================================================= */
@media (prefers-reduced-motion: no-preference) {
	/* すべてのリンクに滑らかな色・不透明度遷移 */
	a {
		transition: color .2s ease, opacity .2s ease, background-color .2s ease;
	}

	/* テキストリンク：下線をホバーでスッと表示 */
	.totono-globalnav__item a {
		position: relative;
	}
	.totono-globalnav__item a::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: -4px;
		width: 100%;
		height: 2px;
		background: var(--color-primary);
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform .25s cubic-bezier(.16, 1, .3, 1);
	}
	.totono-globalnav__item a:hover::after { transform: scaleX(1); }

	/* カード型リンク：ホバーでわずかに浮く */
	.totono-faqlink,
	.totono-newscard,
	.totono-newsitem,
	.totono-faqcat,
	.totono-faqitem,
	.totono-othercard,
	.faqa-card,
	.faqa-cat,
	.forma-card,
	.benf-card,
	.benf-other,
	.totono-homebanner__item {
		transition:
			transform .25s cubic-bezier(.16, 1, .3, 1),
			box-shadow .25s ease,
			border-color .2s ease,
			opacity .2s ease;
	}
	.totono-faqlink:hover,
	.totono-newscard:hover,
	.totono-faqcat:hover,
	.totono-faqitem:hover,
	.totono-othercard:hover,
	.faqa-card:hover,
	.faqa-cat:hover,
	.benf-other:hover {
		transform: translateY(-3px);
	}
	.totono-homebanner__item:hover { transform: translateY(-2px); }

	/* ボタン（多くがリンク）：押せる気配のホバー */
	.totono-btn,
	.forma-card__btn,
	.benf-card__btn,
	.totono-manualcard__btn,
	.faqa-search__btn {
		transition:
			transform .2s cubic-bezier(.16, 1, .3, 1),
			background-color .2s ease,
			box-shadow .2s ease,
			opacity .2s ease,
			filter .2s ease;
	}
	.totono-btn:hover,
	.forma-card__btn:hover,
	.benf-card__btn:hover,
	.totono-manualcard__btn:hover {
		transform: translateY(-2px);
		box-shadow: var(--shadow);
	}
	.totono-btn:active,
	.forma-card__btn:active,
	.benf-card__btn:active,
	.totono-manualcard__btn:active {
		transform: translateY(0);
	}

	/* 「もっと見る」系リンク：矢印を右へスライド */
	.totono-section__more,
	.totono-homenews__more,
	.totono-homebenefits__more,
	.faqa-more,
	.benf-more,
	.totono-featurecard__link,
	.totono-newsitem__file {
		transition: color .2s ease, opacity .2s ease;
	}
	.totono-homenews__moreicon,
	.totono-homebenefits__moreicon,
	.totono-homebenefits__moretext,
	.faqa-more__icon,
	.benf-circlearrow,
	.totono-newsitem__arrow,
	.totono-faqlink__arrow,
	.totono-othercard__arrow,
	.benf-other__arrow {
		transition: transform .25s cubic-bezier(.16, 1, .3, 1), color .2s ease;
	}
	.totono-homenews__more:hover .totono-homenews__moreicon,
	.totono-homebenefits__more:hover .totono-homebenefits__moreicon,
	.faqa-more:hover .faqa-more__icon,
	.benf-more:hover .benf-circlearrow,
	.totono-newsitem:hover .totono-newsitem__arrow,
	.totono-faqlink:hover .totono-faqlink__arrow,
	.totono-othercard:hover .totono-othercard__arrow,
	.benf-other:hover .benf-other__arrow {
		transform: translateX(4px);
	}

	/* タグ・ピル型リンク */
	.totono-tag,
	.totono-filter__btn,
	.totono-pagination a {
		transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
	}
	.totono-tag:hover { transform: translateY(-1px); }

	/* AI送信などグラデーションボタン */
	.totono-aibox__submit,
	.totono-aipage__submit {
		transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
	}
	.totono-aibox__submit:hover,
	.totono-aipage__submit:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

	/* 電話番号リンク・添付ファイルリンク */
	.totono-attach__item,
	.faqd-file {
		transition: background-color .2s ease, color .2s ease, transform .2s ease;
	}
	.totono-attach__item:hover,
	.faqd-file:hover { transform: translateY(-1px); }
}

/* 動きを抑制したいユーザーには一切のアニメを無効化 */
@media (prefers-reduced-motion: reduce) {
	.js-anim [data-reveal] { opacity: 1 !important; transform: none !important; }
	* { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
