/*
Theme Name: Yamii Minimal
Theme URI: https://yamii.jp
Author: Yamii
Description: 最小構成に書き直したテーマ
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: yamii
*/
/* =========================================
   カラー変数(深紫グラスモーフィズム デザインシステム)
========================================= */
:root {
	--yamii-purple-950: #180b2e;
	--yamii-purple-900: #291548;
	--yamii-purple-800: #3a2064;
	--yamii-purple-700: #4e2d82;
	--yamii-purple-600: #6a3fa8;
	--yamii-purple-500: #8b5cc7;
	--yamii-purple-400: #a888ce;
	--yamii-purple-300: #c2a8e0;
	--yamii-purple-200: #d9c6ee;
	--yamii-purple-100: #ede0f7;
	--yamii-accent-pink: #e894ff;
	--yamii-accent-blue: #94b9ff;
	--yamii-white: #ffffff;
	--yamii-glass-bg: rgba(255, 255, 255, 0.06);
	--yamii-glass-border: rgba(255, 255, 255, 0.14);
	--yamii-shell-max: 1200px;
	--yamii-home-max: 1080px;
	--yamii-reading-max: 960px;
	--yamii-narrow-max: 920px;
	--yamii-gutter: clamp(16px, 2vw, 32px);
	--yamii-section-space: clamp(48px, 5vw, 80px);
}

/* =========================================
   カスタムフォントの読み込み
========================================= */
@font-face {
	font-family: 'ZenMaruGothic';
	src: url('./assets/fonts/ZenMaruGothic-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: block;
	/* ★ swap から block に変更 */
}

@font-face {
	font-family: 'KHDotAkihabara16';
	src: url('./assets/fonts/KH-Dot-Akihabara-16.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'ZenMaruGothic';
	src: url('./assets/fonts/ZenMaruGothic-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
	font-display: block;
	/* ★ swap から block に変更 */
}


html {
	overflow-x: clip;
	font-size: clamp(16px, calc(15px + 0.08vw), 19px);
}

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

body {
	margin: 0;
	min-width: 0;
	overflow-x: clip;
	font-family: 'ZenMaruGothic', sans-serif;
	font-weight: normal;
	line-height: 1.6;
	color: #333333;
}

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

a {
	color: #0056b3;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.yamii-header,
:where(#yamii-main-content) > main {
	width: 100%;
	max-width: var(--yamii-shell-max);
	margin: 0 auto;
	padding: var(--yamii-gutter);
}

/* =========================================
   共通ボタン (yamii-btn)
========================================= */
.yamii-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 9999px;
	font-weight: bold;
	text-decoration: none;
	transition: opacity 0.3s, transform 0.2s;
	border: none;
	cursor: pointer;
	text-align: center;
}

.yamii-btn:hover {
	opacity: 0.85;
	transform: scale(1.05);
	text-decoration: none;
}

.yamii-btn--primary,
.yamii-btn--secondary {
	background: linear-gradient(to right, #94b9ff, #e894ff);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(148, 185, 255, 0.4);
}

.yamii-btn--primary:hover,
.yamii-btn--secondary:hover {
	color: #ffffff;
}

/* =========================================
   ヘッダーのスタイリング (yamii-header)
========================================= */
.yamii-header {
	width: 100%;
	max-width: none;
	padding: 0;
	box-sizing: border-box;
	margin-bottom: 12px;
}

.yamii-header__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	max-width: var(--yamii-shell-max);
	margin: 0 auto;
	padding: 9px var(--yamii-gutter);
	box-sizing: border-box;
	flex-wrap: wrap;
}

.yamii-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #333;
	text-decoration: none;
	font-size: 1.5rem;
	font-weight: bold;
}

.yamii-logo:hover {
	opacity: 0.7;
	text-decoration: none;
}

.yamii-nav {
	margin-top: 0;
	margin-left: auto;
	margin-right: 24px;
}

.yamii-nav ul {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.yamii-nav ul li a {
	color: #333;
	font-size: 0.95rem;
	font-weight: bold;
	display: block;
	padding: 4px 0;
	transition: color 0.3s ease;
	text-decoration: none;
}

.yamii-nav ul li a:hover {
	color: #e894ff;
}

.yamii-header__actions {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-shrink: 0;
}


.yamii-btn-discord {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background-color: #5865F2;
	color: #fff;
	padding: 8px 16px;
	border-radius: 9999px;
	font-size: 0.9rem;
	font-weight: bold;
	text-decoration: none;
	transition: background-color 0.3s;
}

.yamii-btn-discord:hover {
	background-color: #4752C4;
	color: #fff;
	text-decoration: none;
}

.yamii-menu-toggle {
	background: linear-gradient(135deg, #94b9ff 0%, #e894ff 100%);
	border: none;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 5px;
	display: none;
}

@media (max-width: 768px) {
	.yamii-nav {
		display: none;
	}

	.yamii-menu-toggle {
		display: block;
	}

	.yamii-btn-discord {
		display: none;
	}
}

/* =========================================
   オープニングテキスト用
========================================= */
.opening-message-wrap {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	box-sizing: border-box;
	overflow: hidden;
	background: linear-gradient(to right, #94b9ff, #e894ff);
	z-index: 10001;
	display: block;
	text-align: center;
	align-items: center;
	pointer-events: none;
}

.opening-message-text {
	/* フォントの指定 */
	font-family: 'ZenMaruGothic', sans-serif;
	/* 画面幅が中間サイズでも文字列全体が収まるように縮小する */
	font-size: clamp(2rem, 6vw, 10rem);
	/* PC用にすごく大きなサイズを指定（約96px） */
	font-weight: bold;
	margin: 0;
	max-width: 100%;
	padding-inline: 1rem;
	box-sizing: border-box;
	width: 100%;
	white-space: normal;
	visibility: hidden;
	color: #ffffff;
	display: block;
	/* 文字が複数行になっても中央揃えを保つ */
}

.opening-message-break {
	display: none;
}

@media (min-width: 901px) {
	.opening-message-wrap {
		align-items: flex-start;
		padding-top: 36vh;
	}
}

@media (max-width: 600px) {
	.opening-message-wrap {
		padding-top: 38vh;
	}

	.opening-message-text {
		font-size: clamp(1.8rem, 9vw, 3rem);
		line-height: 1.35;
		padding-inline: 24px;
		text-align: center;
	}

	.opening-message-break {
		display: block;
	}
}

/* 分割された1文字ずつ（span）にグラデーションを適用する */
/* 分割された1文字ずつ（span）にグラデーションを適用する */
/* =========================================
   オープニングアニメーション用 (絵の具の渦)
========================================= */
.opening-curtain {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 200vmax;
	/* 画面全体を完全に覆い尽くす巨大サイズ */
	height: 200vmax;
	pointer-events: none;
	opacity: 0;
	/* 最初は非表示 */
}

/* 1枚目：ベースとなるカラフルな渦 */
.curtain-1 {
	background: conic-gradient(from 0deg, #94b9ff, #e894ff, #cda4ff, #94b9ff);
	z-index: 9997;
	filter: blur(20px);
}

/* 2枚目：形を崩した流体（逆回転させて絵の具が混ざるようにする） */
.curtain-2 {
	background: conic-gradient(from 120deg, #cda4ff, #94b9ff, #e894ff, #cda4ff);
	z-index: 9998;
	border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
	/* 歪んだ円にして流体感を出す */
	mix-blend-mode: overlay;
	/* 重なった色を美しくブレンド */
	filter: blur(40px);
}

/* 3枚目：さらに複雑な混ざり合いを作る層 */
.curtain-3 {
	background: conic-gradient(from 240deg, #e894ff, #cda4ff, #94b9ff, #e894ff);
	z-index: 9999;
	border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
	mix-blend-mode: screen;
	filter: blur(30px);
}

/* ==========================================================================
   6. Footer (フッターの基本スタイル)
   ========================================================================== */

/* フッター上のマーキーアニメーション */
.yamii-footer-marquee {
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	position: relative;
	line-height: 0;
}

.yamii-footer-marquee__inner {
	display: inline-flex;
	width: fit-content;
	animation: marqueeScroll 120s linear infinite;
}

.yamii-footer-marquee__img {
	height: auto;
	width: clamp(400px, 80vw, 2500px);
	object-fit: contain;
	flex-shrink: 0;
}

@keyframes marqueeScroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(calc(-100% / 6));
	}
}

.yamii-container {
	width: 100%;
	max-width: var(--yamii-shell-max);
	margin: 0 auto;
	padding: 0 var(--yamii-gutter);
}

.yamii-footer {
	background: url('./assets/images/footerbg.png') center/cover no-repeat;
	background-color: #94b9ff;
	/* fallback */
	color: #ffffff;
	padding: 56px 0 28px;
	margin-top: 5px;
}

@media screen and (min-width: 768px) {
	.yamii-footer {
		margin-top: 20px;
	}
}

.yamii-footer__grid {
	display: grid;
	grid-template-columns: 2fr repeat(3, 1fr);
	gap: 32px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.yamii-footer__brand .yamii-logo__title,
.yamii-footer__brand .yamii-logo {
	color: #ffffff;
}

.yamii-footer__brand p {
	font-size: 14px;
	line-height: 1.8;
	margin-top: 14px;
	max-width: 360px;
	color: #ffffff;
}

.yamii-footer h4 {
	color: #ffffff;
	font-size: 15px;
	margin-bottom: 16px;
}

.yamii-footer ul li {
	margin-bottom: 10px;
	font-size: 14px;
	white-space: nowrap;
}

.yamii-footer ul a {
	color: #ffffff;
}

.yamii-footer ul a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.yamii-footer__social {
	display: flex;
	gap: 12px;
	margin-top: 18px;
}

.yamii-footer__social a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.yamii-footer__bottom {
	padding-top: 22px;
	font-size: 13px;
	text-align: center;
	color: #ffffff;
}

/* ==========================================================================
   フッターのレスポンシブ対応（タブレット・スマホ用）
   ========================================================================== */
@media (max-width:1024px) {
	.yamii-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width:760px) {
	.yamii-footer__grid {
		grid-template-columns: 1fr;
		padding: 0 0 28px;
	}

	.yamii-footer__brand {
		margin-bottom: 8px;
	}
}

/* =========================================
   モバイル用ナビゲーション
========================================= */
.yamii-mobile-nav {
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	max-width: 320px;
	height: 100vh;
	background-color: #fff;
	z-index: 10000;
	padding: 60px 30px 30px;
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
	transition: right 0.3s ease-in-out;
	overflow-y: auto;
}

.yamii-mobile-nav.is-open {
	right: 0;
}

.yamii-mobile-nav__close {
	position: absolute;
	top: 15px;
	right: 20px;
	background: none;
	border: none;
	font-size: 2.5rem;
	color: #333;
	cursor: pointer;
	line-height: 1;
	padding: 0;
}

.yamii-mobile-nav__close:hover {
	color: #0056b3;
}

.yamii-mobile-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.yamii-mobile-nav ul li {
	border-bottom: 1px solid #eaeaea;
}

.yamii-mobile-nav ul li a {
	display: block;
	padding: 15px 0;
	color: #333;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1rem;
}

.yamii-mobile-nav .yamii-btn {
	display: block;
	text-align: center;
	background-color: #5865F2;
	color: #fff;
	padding: 15px;
	border-radius: 9999px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s;
}

/* =========================================
   サービスを探す(福祉サービスタクソノミー フィルター)
========================================= */
/* =========================================
   トップページ ヒーロー / サイドバー配置
========================================= */
.yamii-top-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
	gap: 40px;
	align-items: center;
	max-width: var(--yamii-shell-max);
	margin: 0 auto 40px;
	padding: 0 var(--yamii-gutter);
}

.yamii-top-hero__content {
	max-width: 560px;
}

.yamii-top-hero__eyebrow {
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin: 0 0 18px;
	color: #5865f2;
}

.yamii-top-hero h1 {
	margin: 0 0 24px;
	font-size: clamp(3rem, 4.5vw, 4.8rem);
	line-height: 1.02;
	color: #1f1445;
}

.yamii-top-hero__description {
	margin: 0 0 32px;
	font-size: 1.05rem;
	line-height: 1.9;
	color: #4f4678;
}

.yamii-top-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 16px;
}

.yamii-top-hero__note {
	margin: 0;
	font-size: 0.95rem;
	color: #6f5b9e;
}

.yamii-top-hero__visual {
	position: relative;
}

.yamii-top-hero__image {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 36px;
	box-shadow: 0 30px 80px rgba(79, 52, 154, 0.18);
}

.yamii-top-hero__overlay,
.yamii-top-hero__text {
	display: none;
}

.yamii-top-hero .yamii-sidebar {
	position: absolute;
	right: 32px;
	top: 24px;
	width: min(320px, calc(100% - 48px));
	z-index: 4;
	margin: 0;
}

.yamii-top-hero .yamii-sidebar .yamii-widget {
	margin-bottom: 16px;
}

/* =========================================
   トップページ カードレイアウト
========================================= */
.yamii-top-cards {
	display: grid;
	grid-template-columns: 7fr 3fr;
	gap: 24px;
	margin: 40px auto;
	max-width: var(--yamii-shell-max);
	padding: 0 var(--yamii-gutter);
}

.yamii-support-banner {
	margin: 36px 0 20px;
	width: 100%;
}

.yamii-support-banner__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	background: linear-gradient(135deg, #94b9ff 0%, #e894ff 100%);
	border-radius: 28px;
	padding: 72px 32px;
	box-shadow: 0 24px 60px rgba(148, 185, 255, 0.18);
	color: #fff;
}

.yamii-support-banner__icon {
	width: 72px;
	height: 72px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.18);
	padding: 14px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.yamii-support-banner__content {
	min-width: 0;
}

.yamii-support-banner__eyebrow {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0 0 10px;
	opacity: 0.9;
}

.yamii-support-banner__title {
	font-size: clamp(1.8rem, 2.2vw, 2.6rem);
	margin: 0 0 12px;
	font-weight: 800;
}

.yamii-support-banner__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.8;
	opacity: 0.92;
}

.yamii-support-banner__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 28px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	transition: background 0.2s, transform 0.2s;
}

.yamii-support-banner__button:hover {
	background: rgba(255, 255, 255, 0.32);
	transform: scale(1.05);
}

@media (max-width: 820px) {
	.yamii-support-banner__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.yamii-support-banner__button {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		justify-content: center;
	}
}

.yamii-top-card {
	background: rgba(255, 255, 255, .88);
	border: 2px solid transparent;
	border-radius: 28px;
	padding: 34px;
	position: relative;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
	outline: none;
}

.yamii-top-card__title {
	font-size: 1.55rem;
	font-weight: bold;
	color: #333;
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.yamii-top-card--search {
	border-width: 3px;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #94b9ff 0%, #e894ff 100%) border-box;
}

.yamii-facility-hero {
	display: block;
	min-height: 0;
}

.yamii-facility-hero__eyebrow {
	display: inline-block;
	margin: 0 0 26px;
	padding: 9px 18px;
	border-radius: 999px;
	border: 2px solid #F2EDFF;
	background: #f2edff;
	color: #6540d2;
	font-size: .95rem;
	font-weight: 700;
}

.yamii-facility-hero .yamii-top-card__title {
	margin-bottom: 22px;
	font-size: clamp(2.2rem, 3.5vw, 3.8rem);
	line-height: 1.15;
	letter-spacing: .04em;
	color: #17164e;
}

.yamii-facility-hero .yamii-top-card__title span {
	color: #DF97FF;
}

.yamii-facility-hero .yamii-top-card__desc {
	font-size: 1.12rem;
	line-height: 1.8;
	color: #1e245b;
}

.yamii-facility-trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 16px 0 22px;
}

.yamii-facility-trust>div {
	display: grid;
	grid-template-columns: 48px 1fr;
	align-items: center;
	column-gap: 10px;
	padding: 14px 16px;
	border: 1px solid #eeeafa;
	border-radius: 16px;
	background: #FAF8FF;
	color: #17164e;
}

.yamii-facility-trust span {
	grid-row: span 2;
	font-size: 2.3rem;
	line-height: 1;
	color: #7147df;
	text-align: center;
}

.yamii-facility-trust strong {
	font-size: .95rem;
}

.yamii-facility-trust small {
	font-size: .78rem;
	color: #343568;
}

.yamii-purpose-heading {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 18px;
	margin: 26px 0 18px;
	color: #7554D7;
	font-size: 1.35rem;
	font-weight: 700;
	text-align: center;
}

.yamii-purpose-heading span {
	height: 3px;
	background: repeating-linear-gradient(to right, #b49af5 0 3px, transparent 3px 8px);
}

.yamii-top-card--community {
	border-width: 3px;
	background: linear-gradient(160deg, #fff 0%, #fff8ff 100%) padding-box, linear-gradient(135deg, #94b9ff 0%, #e894ff 100%) border-box;
	padding: 42px 36px 34px;
}

.yamii-community-eyebrow {
	display: inline-block;
	margin: 0 0 18px;
	padding: 9px 18px;
	border-radius: 999px;
	border: 2px solid #F2EDFF;
	background: #f2edff;
	color: #6540d2;
	font-size: .95rem;
	font-weight: 700;
}

.yamii-top-community-image {
	margin: 24px 0 26px;
	padding: 24px;
	text-align: center;
	background: radial-gradient(circle, #eadbff 0%, rgba(244, 232, 255, .2) 48%, transparent 72%);
}

.yamii-top-community-image img {
	width: 150px;
	height: 150px;
	object-fit: contain;
	animation: yamii-ghost-float 3.8s ease-in-out infinite;
}

@keyframes yamii-ghost-float {

	0%,
	100% {
		transform: translateY(0) rotate(-2deg);
	}

	50% {
		transform: translateY(-9px) rotate(2deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.yamii-top-community-image img {
		animation: none;
	}
}

.yamii-top-community-catchphrase {
	margin: 0 0 24px;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.55;
	color: #30206e;
}

.yamii-top-community-title {
	margin: 0 0 8px;
	color: #7554D7;
	font-size: 1.5rem;
	font-weight: 700;
}

.yamii-top-community-features {
	list-style: none;
	padding: 0;
	margin: 0 0 26px;
	font-size: .95rem;
	line-height: 1.5;
	color: #4f4678;
}

.yamii-top-community-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.yamii-top-community-features .icon {
	width: 22px;
	color: #a05bea;
	font-size: 1.25rem;
	text-align: center;
}

.yamii-icon-star,
.yamii-icon-discord {
	color: #94b9ff;
	font-size: 1.6rem;
}

.yamii-top-card__desc {
	font-size: 0.95rem;
	color: #555;
	margin: 0 0 24px;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* 検索フォーム */
.yamii-top-search-form {
	margin-bottom: 24px;
}

.yamii-top-search-form__inner {
	display: flex;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(139, 92, 246, 0.18);
	border-radius: 22px;
	padding: 8px;
	box-shadow: 0 18px 45px rgba(139, 92, 246, 0.08);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	gap: 10px;
}

.yamii-top-search-form__input-group,
.yamii-top-search-form__select-group {
	flex: 1;
	display: flex;
	align-items: center;
	min-width: 0;
	padding: 14px 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.65);
}

.yamii-top-search-form__input-group {
	flex: 1.8;
	padding-left: 18px;
	border-right: none;
}

.yamii-search-icon {
	color: #8b5cf6;
	margin-right: 10px;
	font-size: 1.2rem;
}

.yamii-top-search-form__input-group input {
	border: none;
	outline: none;
	width: 100%;
	font-size: 1rem;
	background: transparent;
	color: #321c5c;
}

.yamii-top-search-form__select-group {
	padding: 14px 14px;
}

.yamii-top-search-form__select-group:last-of-type {
	border-right: none;
}

.yamii-top-search-form__select {
	border: none;
	outline: none;
	width: 100%;
	background: transparent;
	color: #4f3a7b;
	font-size: 0.95rem;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.yamii-top-search-form__btn {
	background: linear-gradient(135deg, #94b9ff 0%, #e894ff 100%);
	color: #fff;
	border: none;
	border-radius: 16px;
	padding: 16px 28px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 700;
	box-shadow: 0 18px 35px rgba(148, 185, 255, 0.18);
	min-width: 140px;
	transition: transform 0.2s, background 0.3s, box-shadow 0.3s;
}

.yamii-top-search-form__btn:hover {
	background: linear-gradient(135deg, #94b9ff 0%, #e894ff 100%);
	transform: scale(1.05);
	box-shadow: 0 22px 42px rgba(148, 185, 255, 0.22);
}

/* よく検索されるキーワード */
.yamii-top-keywords {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.yamii-top-keywords__label {
	font-size: 0.8rem;
	color: #666;
}

.yamii-top-keywords__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.yamii-top-keywords__tags a {
	background: #fff;
	color: #8b5cf6;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 0.85rem;
	text-decoration: none;
	border: 1px solid rgba(139, 92, 246, 0.2);
	transition: all 0.2s;
}

.yamii-top-keywords__tags a:hover {
	background: #8b5cf6;
	color: #fff;
}

/* コミュニティカード */
.yamii-top-community-action {
	text-align: center;
	margin-bottom: 32px;
}

.yamii-top-discord-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(135deg, #94b9ff 0%, #e894ff 100%);
	color: #fff;
	text-decoration: none;
	padding: 16px 24px;
	border-radius: 30px;
	font-size: 1.1rem;
	font-weight: bold;
	width: 100%;
	box-sizing: border-box;
	transition: transform 0.2s, background 0.3s;
	box-shadow: 0 4px 12px rgba(148, 185, 255, 0.3);
}

.yamii-top-discord-btn:hover {
	background: linear-gradient(135deg, #94b9ff 0%, #e894ff 100%);
	transform: scale(1.05);
	text-decoration: none;
	color: #fff;
}

.yamii-top-community-subtext {
	font-size: 0.85rem;
	color: #666;
	margin-top: 12px;
}

.yamii-top-community-stats {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 0.9rem;
	color: #555;
}

.stat-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.status-online .dot {
	width: 10px;
	height: 10px;
	background: #22c55e;
	border-radius: 50%;
	display: inline-block;
}

@media (max-width: 900px) {
	.yamii-top-hero {
		padding: 0 16px;
	}

	.yamii-top-hero .yamii-sidebar {
		position: static;
		width: 100%;
		margin-top: 16px;
	}

	.yamii-top-cards {
		grid-template-columns: 1fr;
	}

	.yamii-top-search-form__inner {
		flex-direction: column;
		background: transparent;
		box-shadow: none;
		gap: 12px;
	}

	.yamii-top-search-form__input-group,
	.yamii-top-search-form__select-group {
		background: #fff;
		border-radius: 8px;
		padding: 12px 16px;
		border: none;
	}

	.yamii-top-search-form__btn {
		padding: 14px;
		width: 100%;
	}
}

/* =========================================
   レイアウト＆サイドバーウィジェット
========================================= */
.yamii-layout {
	display: flex;
	gap: 40px;
	width: 100%;
	max-width: var(--yamii-shell-max);
	margin: 0 auto;
	padding: var(--yamii-gutter);
	align-items: flex-start;
}

.yamii-layout>main {
	flex: 1;
	min-width: 0;
	padding: 0;
	margin: 0;
	max-width: none;
}

.yamii-sidebar {
	width: 320px;
	flex-shrink: 0;
}

.yamii-widget {
	background: #fff;
	padding: 24px;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	margin-bottom: 24px;
	border: 1px solid #f0f0f0;
}

.yamii-widget-title {
	font-size: 1.1rem;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--yamii-purple-100);
}

.yamii-widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.yamii-widget ul li {
	margin-bottom: 12px;
	padding-bottom: 12px;
	border-bottom: 1px dashed #eee;
}

.yamii-widget ul li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.yamii-widget a {
	color: #333;
}

.yamii-widget a:hover {
	color: var(--yamii-accent-blue);
}

@media (max-width: 900px) {
	.yamii-layout {
		flex-direction: column;
	}

	.yamii-sidebar {
		width: 100%;
		margin-top: 20px;
	}
}

/* =========================================
   記事グリッド＆カード (3カラム)
========================================= */
.yamii-article-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 40px;
}

@media (max-width: 900px) {
	.yamii-article-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.yamii-article-grid {
		grid-template-columns: 1fr;
	}
}

.yamii-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s, box-shadow 0.2s;
	border: 1px solid #eee;
	display: flex;
	flex-direction: column;
}

.yamii-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.yamii-card__link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.yamii-card__link:hover {
	text-decoration: none;
}

.yamii-card__thumbnail {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f8f8f8;
}

.yamii-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.yamii-card__category {
	position: absolute;
	bottom: 12px;
	left: 12px;
	background: #F6F2FF;
	color: #7554D7;
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: bold;
}

.yamii-card__content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.yamii-card__title {
	font-size: 1.1rem;
	margin: 0 0 12px;
	line-height: 1.5;
	font-weight: bold;
	color: #333;
}

.yamii-card__date {
	margin-top: auto;
	font-size: 0.85rem;
	color: #888;
}

/* ページネーション */
.yamii-pagination {
	margin-top: 40px;
}

.yamii-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.yamii-pagination .page-numbers {
	display: inline-block;
	padding: 8px 16px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	color: #333;
	text-decoration: none;
	transition: all 0.2s;
}

.yamii-pagination .page-numbers.current {
	background: linear-gradient(135deg, #94b9ff 0%, #e894ff 100%);
	color: #fff;
	border-color: transparent;
}

.yamii-pagination .page-numbers:hover:not(.current) {
	background: #f0f0f0;
}

.yamii-service-finder__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
	z-index: 1;
}

.yamii-service-card {
	background: var(--yamii-glass-bg);
	border: 1px solid var(--yamii-glass-border);
	border-radius: 16px;
	padding: 18px 20px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.yamii-service-card:hover {
	transform: translateY(-3px);
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(232, 148, 255, 0.4);
}

.yamii-service-card__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--yamii-white);
	font-weight: bold;
	font-size: 0.95rem;
	text-decoration: none;
}

.yamii-service-card__link:hover {
	text-decoration: none;
	color: var(--yamii-accent-pink);
}

.yamii-service-card__count {
	font-size: 0.75rem;
	font-weight: normal;
	color: var(--yamii-purple-300);
	margin-left: 8px;
}

.yamii-service-card__children {
	list-style: none;
	margin: 12px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--yamii-glass-border);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.yamii-service-card__children a {
	color: #ffffff;
	font-size: 0.85rem;
	text-decoration: none;
}

.yamii-service-card__children a:hover {
	color: var(--yamii-accent-blue);
	text-decoration: underline;
}

.yamii-service-finder__empty {
	color: var(--yamii-purple-200);
	font-size: 0.9rem;
	position: relative;
	z-index: 1;
}

@media (max-width: 600px) {
	.yamii-service-finder {
		padding: 28px 20px;
		border-radius: 18px;
	}
}

.yamii-mobile-nav .yamii-btn:hover {
	background-color: #4752C4;
}

/* =========================================
   おすすめ記事セクション
========================================= */
.yamii-recommended-articles-wrapper {
	background: transparent;
	padding: 0;
	margin: 20px 0 40px;
	width: 100%;
}

.yamii-youtube-section {
	margin: 48px 0 40px;
}

.yamii-youtube-section .yamii-recommended-articles__header {
	margin-bottom: 24px;
}

.yamii-youtube-section img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
}

.yamii-youtube-section__link {
	position: relative;
	overflow: hidden;
	display: block;
	border-radius: 24px;
	transition: transform .25s ease, box-shadow .25s ease;
}

.yamii-youtube-section__link:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 28px rgba(88, 101, 242, .22);
}

.yamii-youtube-section__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(148, 185, 255, .92), rgba(232, 148, 255, .92));
	color: #FFFFFF;
	font-size: clamp(1.4rem, 3vw, 2.5rem);
	font-weight: 700;
	letter-spacing: .08em;
	opacity: 0;
	transition: opacity .25s ease;
}

.yamii-youtube-section__link:hover .yamii-youtube-section__overlay,
.yamii-youtube-section__link:focus-visible .yamii-youtube-section__overlay {
	opacity: 1;
}

/* 公式VTuber紹介ページ */
.yamii-vtuber-page {
	max-width: var(--yamii-shell-max);
	margin: 0 auto;
	padding: var(--yamii-section-space) var(--yamii-gutter);
	color: #17164E;
}

.yamii-vtuber-hero {
	text-align: center;
}

.yamii-vtuber-eyebrow {
	display: inline-block;
	margin: 0 0 20px;
	padding: 9px 20px;
	border: 2px solid #F2EDFF;
	border-radius: 999px;
	background: #F2EDFF;
	color: #7554D7;
	font-weight: 700;
}

.yamii-vtuber-hero h1 {
	margin: 0;
	font-size: clamp(2.4rem, 5vw, 4.8rem);
	line-height: 1.3;
	color: #17164E;
}

.yamii-vtuber-hero h1 span {
	color: #7554D7;
}

.yamii-vtuber-hero>p:last-child {
	margin: 22px 0 0;
	color: #17164E;
	font-size: 1.05rem;
	line-height: 1.9;
}

.yamii-vtuber-visual {
	margin: 42px auto 70px;
	overflow: hidden;
	border-radius: 32px;
	background: linear-gradient(135deg, #FAF8FF, #fff);
	box-shadow: 0 16px 45px rgba(117, 84, 215, .12);
}

.yamii-vtuber-visual img {
	display: block;
	width: 100%;
	height: auto;
}

.yamii-vtuber-member-grid {
	font-family: 'KHDotAkihabara16', sans-serif;
}

.yamii-discord-preview {
	font-family: 'KHDotAkihabara16', sans-serif;
}

.yamii-vtuber-section-heading {
	margin-bottom: 24px;
	text-align: center;
}

.yamii-vtuber-section-heading p {
	margin: 0 0 6px;
	color: #7554D7;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .2em;
}

.yamii-vtuber-section-heading h2 {
	margin: 0;
	color: #17164E;
	font-size: 2rem;
}

.yamii-vtuber-member-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.yamii-vtuber-member-card {
	min-height: 220px;
	padding: 32px;
	border: 2px solid transparent;
	border-radius: 24px;
	box-sizing: border-box;
	background-clip: padding-box, border-box;
	background-origin: border-box;
}

.yamii-vtuber-member-card--dark {
	background-image: linear-gradient(145deg, #FAF8FF, #FAF8FF), linear-gradient(135deg, #94b9ff, #e894ff);
	color: #17164E;
}

.yamii-vtuber-member-card--light {
	background-image: linear-gradient(145deg, #FAF8FF, #FAF8FF), linear-gradient(135deg, #94b9ff, #e894ff);
	color: #17164E;
}

.yamii-vtuber-member-card__label {
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .08em;
	opacity: .8;
}

.yamii-vtuber-member-card h3 {
	margin: 18px 0 12px;
	font-size: 1.7rem;
	line-height: 1.45;
}

.yamii-vtuber-member-card p {
	margin: 0;
	line-height: 1.8;
	opacity: .85;
}

.yamii-vtuber-divider {
	border: none;
	text-align: center;
	margin: 24px 0;
}

.yamii-vtuber-divider::before {
	content: "✧･ﾟ: *✧･ﾟ:*";
	color: #e894ff;
	font-size: 1.1rem;
	letter-spacing: 2px;
	opacity: 0.8;
}

.yamii-vtuber-streams {
	margin-top: 72px;
	padding: 40px 34px;
	border-radius: 30px;
	background: linear-gradient(135deg, #FAF8FF, #eef0ff);
}

.yamii-vtuber-streams__heading {
	text-align: center;
	color: #17164E;
}

.yamii-vtuber-streams__heading p {
	margin: 0 0 4px;
	color: #e894ff;
	font-weight: 700;
}

.yamii-vtuber-streams__heading h2 {
	margin: 0 0 8px;
	font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.yamii-vtuber-streams__heading span {
	font-size: .9rem;
}

.yamii-vtuber-streams__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	margin-top: 30px;
}

.yamii-vtuber-streams__layout:has(.yamii-vtuber-feature-stream--channel) {
	grid-template-columns: 1fr;
}

.yamii-vtuber-feature-stream--channel {
	display: none;
}

.yamii-vtuber-feature-stream {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 300px;
	border-radius: 22px;
	background: linear-gradient(135deg, #94b9ff, #e894ff);
}

.yamii-vtuber-feature-stream img {
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: cover;
	object-position: center;
	display: block;
}

.yamii-vtuber-feature-stream strong {
	position: absolute;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	padding: 14px 28px;
	border-radius: 999px;
	background: #fff;
	color: #7554D7;
	white-space: nowrap;
}

.yamii-vtuber-feature-stream--channel {
	min-height: 300px;
	padding: 26px;
	box-sizing: border-box;
}

.yamii-vtuber-channel-card {
	display: flex;
	align-items: center;
	gap: 18px;
	color: #17164E;
	text-decoration: none;
}

.yamii-vtuber-channel-card img {
	width: 116px;
	height: 116px;
	min-height: 0;
	border-radius: 50%;
	object-fit: cover;
}

.yamii-vtuber-channel-card__content {
	display: grid;
	min-width: 0;
	gap: 6px;
}

.yamii-vtuber-channel-card small {
	color: #7554D7;
	font-weight: 700;
	letter-spacing: .08em;
}

.yamii-vtuber-channel-card strong {
	position: static;
	transform: none;
	padding: 0;
	background: transparent;
	color: #17164E;
	font-size: 1.5rem;
}

.yamii-vtuber-channel-card em {
	display: -webkit-box;
	overflow: hidden;
	color: #5d597b;
	font-size: .82rem;
	font-style: normal;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.yamii-vtuber-channel-card__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: #7554D7;
	font-size: .78rem;
}

.yamii-vtuber-channel-card__stats span {
	padding: 4px 8px;
	border-radius: 999px;
	background: #f3efff;
}

.yamii-vtuber-channel-card i {
	color: #7554D7;
	font-size: .85rem;
	font-style: normal;
	font-weight: 700;
}

.yamii-vtuber-subscribe-widget {
	display: block;
	width: 100%;
	height: 50px;
	margin-top: 26px;
	border: 0;
	background: #fff;
}

.yamii-vtuber-stream-list h3 {
	margin: 0 0 14px;
	color: #7554D7;
	font-size: 1.35rem;
}

.yamii-vtuber-video-embed {
	width: 100%;
	margin: 0 0 30px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 20px;
	background: #17164E;
	box-shadow: 0 12px 28px rgba(48, 32, 110, .16);
}

.yamii-vtuber-video-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.yamii-vtuber-stream-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.yamii-vtuber-stream-cards a {
	overflow: hidden;
	border: 2px solid #e4ddff;
	border-radius: 16px;
	background: #fff;
	color: #17164E;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}

.yamii-vtuber-stream-cards a:hover {
	transform: scale(1.04);
	box-shadow: 0 8px 18px rgba(117, 84, 215, .18);
}

.yamii-vtuber-stream-cards img {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: cover;
	object-position: top center;
}

.yamii-vtuber-stream-cards b,
.yamii-vtuber-stream-cards small {
	display: block;
	padding: 7px 9px 0;
}

.yamii-vtuber-stream-cards small {
	padding-top: 2px;
	padding-bottom: 10px;
	color: #7554D7;
	font-size: .7rem;
}

.yamii-vtuber-all-streams {
	display: block;
	width: fit-content;
	margin: 24px auto 0;
	padding: 12px 32px;
	border: 2px solid #e4ddff;
	border-radius: 999px;
	color: #7554D7;
	text-decoration: none;
	background: #fff;
}

.yamii-vtuber-cta {
	margin-top: 72px;
	padding: 48px 24px;
	border-radius: 28px;
	background: linear-gradient(135deg, #94b9ff, #e894ff);
	color: #fff;
	text-align: center;
}

.yamii-vtuber-cta__video {
	display: block;
	width: min(100%, 720px);
	max-height: 360px;
	margin: 0 auto 28px;
	border-radius: 22px;
	object-fit: cover;
	box-shadow: 0 12px 30px rgba(48, 32, 110, .16);
}

.yamii-vtuber-streams+.yamii-vtuber-cta__video {
	margin-top: 48px;
}

.yamii-vtuber-cta__video+.yamii-vtuber-cta {
	margin-top: 0;
}

.yamii-vtuber-cta h2 {
	margin: 0 0 10px;
	font-size: 2rem;
}

.yamii-vtuber-cta p {
	margin: 0 0 24px;
}

.yamii-vtuber-cta a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	background: #fff;
	color: #7554D7;
	font-weight: 700;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}

.yamii-vtuber-cta a:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(48, 32, 110, .2);
}

@media (max-width: 700px) {
	.yamii-vtuber-page {
		padding-top: 32px;
	}

	.yamii-vtuber-member-grid {
		grid-template-columns: 1fr;
	}

	.yamii-vtuber-member-card h3 {
		font-size: 1.45rem;
	}

	.yamii-vtuber-streams {
		padding: 28px 18px;
	}

	.yamii-vtuber-streams__layout {
		grid-template-columns: 1fr;
	}

	.yamii-vtuber-stream-cards {
		display: flex !important;
		flex-direction: column !important;
		gap: 16px;
	}

	.yamii-vtuber-stream-cards a {
		width: 100%;
	}

	.yamii-vtuber-stream-cards img {
		height: 220px;
	}

	.yamii-vtuber-stream-cards b {
		font-size: .75rem;
	}
}

@media (min-width: 701px) and (max-width: 900px) {
	.yamii-vtuber-stream-cards {
		display: flex !important;
		flex-direction: column !important;
		gap: 16px;
	}

	.yamii-vtuber-stream-cards a {
		width: 100%;
	}
}

.yamii-recommended-articles__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.yamii-recommended-articles__title {
	font-size: 1.4rem;
	font-weight: bold;
	color: #333;
	margin: 0;
}

.yamii-recommended-articles__more {
	color: #6D70F2;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.95rem;
}

.yamii-recommended-articles__more:hover {
	text-decoration: underline;
}

.yamii-recommended-articles__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

.yamii-recommended-articles__grid .yamii-card {
	width: 100%;
	min-width: 0;
}

@media (max-width: 900px) {
	.yamii-recommended-articles__grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================
   トップページ 新レイアウト (2026 update)
========================================= */
.yamii-top-hero-section {
	position: relative;
	background: #f2ebfc;
	padding: 80px 0 140px;
	/* space for stats bar */
	margin-top: -1px;
}

.yamii-top-hero-bg {
	position: absolute;
	top: 0;
	right: 0;
	width: 65%;
	height: 100%;
	z-index: 1;
}

.yamii-top-hero-bg::before {
	content: '';
	position: absolute;
	top: 0;
	left: -1px;
	width: 40%;
	height: 100%;
	background: linear-gradient(to right, #f2ebfc 0%, transparent 100%);
	z-index: 2;
}

.yamii-top-hero-bg__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

.yamii-top-hero-inner {
	position: relative;
	z-index: 2;
	max-width: var(--yamii-shell-max);
	margin: 0 auto;
	padding: 0 var(--yamii-gutter);
}

.yamii-top-hero-section .yamii-top-hero__content h1 {
	font-size: clamp(3.2rem, 4.6vw, 5rem);
}

@media (max-width: 600px) {
	.yamii-top-hero-section .yamii-top-hero__content h1 {
		font-size: clamp(2rem, 9vw, 2.5rem);
		white-space: nowrap;
	}
}

.yamii-top-hero-stats-wrapper {
	position: relative;
	z-index: 3;
	max-width: var(--yamii-home-max);
	margin: -60px auto 40px;
	padding: 0 var(--yamii-gutter);
}

.yamii-top-hero-stats {
	display: flex;
	justify-content: space-between;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(79, 52, 154, 0.08);
	padding: 30px;
}

.yamii-stat-item {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1;
	justify-content: center;
}

.yamii-stat-item:not(:last-child) {
	border-right: 1px solid #e2d8f0;
}

.yamii-stat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: transparent;
	border-radius: 50%;
}

.yamii-stat-text {
	display: flex;
	flex-direction: column;
}

.yamii-stat-text .stat-number {
	font-size: 1.15rem;
	font-weight: bold;
	color: #7554D7;
	margin-bottom: 4px;
}

.yamii-stat-text .stat-desc {
	font-size: 0.85rem;
	color: #17164E;
}

/* 既存のCSSの上書き */
.yamii-top-hero-inner .yamii-top-hero__content {
	max-width: 580px;
}

@media (max-width: 900px) {
	.yamii-top-hero-bg {
		width: 100%;
		opacity: 0.2;
	}

	.yamii-top-hero-stats {
		flex-direction: column;
		gap: 20px;
		padding: 20px;
	}

	.yamii-stat-item {
		justify-content: flex-start;
	}

	.yamii-stat-item:not(:last-child) {
		border-right: none;
		border-bottom: 1px solid #e2d8f0;
		padding-bottom: 20px;
	}
}

/* =========================================
   記事本文スタイル
========================================= */
.entry-content h2 {
	background: linear-gradient(135deg, #94b9ff 0%, #e894ff 100%);
	color: #ffffff;
	padding: 12px 24px;
	border-radius: 9999px;
	font-size: 1.5rem;
	font-weight: bold;
	margin-top: 48px;
	margin-bottom: 24px;
	box-shadow: 0 6px 20px rgba(148, 185, 255, 0.4);
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
}

.entry-content h3 {
	position: relative;
	font-size: 1.3rem;
	font-weight: bold;
	color: #4f4678;
	margin-top: 40px;
	margin-bottom: 20px;
	padding-bottom: 12px;
}

.entry-content h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(135deg, #94b9ff 0%, #e894ff 100%);
	border-radius: 2px;
}

/* =========================================
   アニメーション
========================================= */
@keyframes yamii-wobble {

	0%,
	100% {
		transform: rotate(-5deg) translateY(0);
	}

	50% {
		transform: rotate(5deg) translateY(-10px);
	}
}

.yamii-wobble-img {
	animation: yamii-wobble 3s ease-in-out infinite;
	transform-origin: center center;
}

/* =========================================
   Yamii.を応援するページ
========================================= */
.yamii-donation {
	background: #fbf9ff;
	color: #3b3152;
}

.yamii-donation__hero {
	padding: 86px 20px 92px;
	text-align: center;
	background: radial-gradient(circle at 15% 20%, rgba(148, 185, 255, .32), transparent 32%), linear-gradient(135deg, #f0eaff, #fff7ff);
}

.yamii-donation__hero-inner,
.yamii-donation__body {
	max-width: var(--yamii-reading-max);
	margin: 0 auto;
}

.yamii-donation__eyebrow {
	color: #8068ad;
	letter-spacing: .16em;
	font-size: .78rem;
	font-weight: bold;
	margin: 0 0 18px;
}

.yamii-donation h1 {
	color: #392258;
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1.35;
	margin: 0 auto 24px;
}

.yamii-donation h1 span {
	background: linear-gradient(90deg, #586fd9, #c45de1);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.yamii-donation__lead {
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	line-height: 1.9;
	margin-bottom: 30px;
}

.yamii-donation__hero-button {
	gap: 14px;
}

.yamii-donation__body {
	padding: 64px 20px 86px;
}

.yamii-donation-card {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 28px;
	padding: 42px;
	background: #fff;
	border: 1px solid #eadff5;
	border-radius: 28px;
	box-shadow: 0 16px 50px rgba(89, 61, 127, .1);
}

.yamii-donation-card__icon {
	width: 72px;
	height: 72px;
	display: grid;
	place-items: center;
	border-radius: 24px;
	background: #f0eaff;
	font-size: 2.3rem;
}

.yamii-donation h2 {
	color: #4f4678;
	font-size: clamp(1.5rem, 3vw, 2.15rem);
	line-height: 1.5;
	margin: 0 0 20px;
}

.yamii-donation-card p {
	margin: 0 0 16px;
}

.yamii-donation__section {
	padding: 72px 0 0;
}

.yamii-donation__section h2 {
	text-align: center;
}

.yamii-donation__ways {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 30px;
}

.yamii-donation__ways div {
	padding: 24px 18px;
	text-align: center;
	background: #f1edff;
	border-radius: 18px;
}

.yamii-donation__ways strong,
.yamii-donation__ways span {
	display: block;
}

.yamii-donation__ways strong {
	color: #5b4a99;
	margin-bottom: 8px;
}

.yamii-donation__ways span {
	font-size: .9rem;
}

.yamii-donation__quote {
	margin: 72px 0 0;
	padding: 42px;
	text-align: center;
	border-radius: 24px;
	background: linear-gradient(135deg, #eef3ff, #fff0fc);
}

.yamii-donation__quote p {
	color: #554182;
	font-size: clamp(1.2rem, 3vw, 1.7rem);
	line-height: 1.8;
	font-weight: bold;
	margin: 0 0 12px;
}

.yamii-donation__quote span {
	font-size: .95rem;
}

.yamii-donation__uses {
	max-width: 720px;
	margin: 28px auto 0;
	padding: 0;
	list-style: none;
}

.yamii-donation__uses li {
	padding: 15px 0 15px 32px;
	border-bottom: 1px solid #e8def2;
	position: relative;
}

.yamii-donation__uses li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #7e67c5;
	font-weight: bold;
}

.yamii-donation__cta {
	margin-top: 78px;
	padding: 48px 24px;
	text-align: center;
	color: #fff;
	border-radius: 28px;
	background: linear-gradient(135deg, #94b9ff 0%, #e894ff 100%);
	box-shadow: 0 18px 40px rgba(148, 185, 255, .24);
}

.yamii-donation__cta h2 {
	color: #fff;
	margin-bottom: 10px;
}

.yamii-donation__cta p {
	margin: 0 0 24px;
}

.yamii-donation__cta .yamii-btn {
	background: #fff;
	color: #5d5baa;
	box-shadow: none;
}

.yamii-donation__notice {
	font-size: .9rem;
	opacity: .9;
}

.u-mobile-only {
	display: none;
}

@media (max-width: 700px) {
	.u-mobile-only {
		display: inline;
	}

	.yamii-donation__hero {
		padding: 60px 20px 70px;
	}

	.yamii-donation-card {
		grid-template-columns: 1fr;
		padding: 28px 22px;
	}

	.yamii-donation-card__icon {
		width: 60px;
		height: 60px;
	}

	.yamii-donation__ways {
		grid-template-columns: 1fr;
	}

	.yamii-donation__quote {
		padding: 28px 18px;
	}
}

/* =========================================
   Discord Preview Section
========================================= */
.yamii-discord-preview-section {
	margin: 40px 0 80px;
}

.yamii-discord-preview {
	background: linear-gradient(135deg, #94b9ff 0%, #e894ff 100%);
	border-radius: 24px;
	padding: 48px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #4f4678;
	gap: 40px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 24px 48px rgba(148, 185, 255, 0.3);
}

/* Background Stars */
.yamii-discord-preview__stars {
	position: absolute;
	top: -50px;
	right: -50px;
	width: 300px;
	height: 300px;
	background-image:
		radial-gradient(circle at 20% 30%, #fff 1px, transparent 2px),
		radial-gradient(circle at 70% 60%, #fff 2px, transparent 3px),
		radial-gradient(circle at 40% 80%, #fff 1.5px, transparent 2px),
		radial-gradient(circle at 80% 20%, #fff 1px, transparent 1.5px);
	background-size: 200px 200px;
	opacity: 0.6;
	pointer-events: none;
	border-radius: 50%;
}

.yamii-discord-preview::after {
	content: '✦';
	position: absolute;
	top: 40px;
	right: 120px;
	font-size: 24px;
	color: #fff;
	opacity: 0.8;
}

/* Left Column */
.yamii-discord-preview__left {
	flex: 1.2;
	z-index: 2;
}

.yamii-discord-preview__eyebrow {
	font-size: 0.9rem;
	font-weight: bold;
	letter-spacing: 0.05em;
	margin-bottom: 12px;
	opacity: 0.9;
}

.yamii-discord-preview__title {
	font-size: clamp(1.2rem, 3vw, 1.8rem);
	font-weight: bold;
	margin-bottom: 24px;
	color: #ffffff;
	line-height: 1.3;
	white-space: nowrap;
}

.yamii-discord-preview__text {
	font-size: 1.05rem;
	line-height: 1.8;
	margin-bottom: 32px;
	opacity: 0.9;
}

.yamii-discord-preview__btn {
	display: inline-flex;
	align-items: center;
	background-color: #5865F2;
	color: #ffffff;
	font-weight: bold;
	font-size: 1.1rem;
	padding: 16px 32px;
	border-radius: 9999px;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 8px 24px rgba(88, 101, 242, 0.3);
	margin-bottom: 24px;
	width: 100%;
	box-sizing: border-box;
	justify-content: center;
	gap: 12px;
}

.yamii-discord-preview__btn:hover {
	background-color: #4752C4;
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(88, 101, 242, 0.4);
	color: #ffffff;
	text-decoration: none;
}

.yamii-discord-preview__status {
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 8px;
	opacity: 0.9;
}

.yamii-status-dot--green {
	display: inline-block;
	width: 10px;
	height: 10px;
	background-color: #2ED573;
	border-radius: 50%;
	box-shadow: 0 0 10px rgba(46, 213, 115, 0.6);
}

/* Center Column (Messages) */
.yamii-discord-preview__center {
	flex: 1.5;
	display: flex;
	flex-direction: column;
	gap: 16px;
	z-index: 2;
}

.yamii-discord-msg {
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 16px;
	padding: 16px 20px;
	display: flex;
	gap: 16px;
	box-shadow: 0 8px 24px rgba(148, 185, 255, 0.3);
}

.yamii-discord-msg--offset {
	margin-left: 32px;
}

.yamii-discord-msg__avatar img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	background-color: #fff;
}

.yamii-discord-msg__body {
	flex: 1;
}

.yamii-discord-msg__header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.yamii-discord-msg__name {
	font-weight: bold;
	font-size: 1rem;
	color: #4f4678;
}

.yamii-discord-msg__bot {
	background-color: #6C5CE7;
	color: #fff;
	font-size: 0.7rem;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 4px;
}

.yamii-discord-msg__time {
	font-size: 0.8rem;
	opacity: 0.6;
}

.yamii-discord-msg__content {
	font-size: 0.95rem;
	line-height: 1.6;
	opacity: 0.9;
}

/* Right Column (Members) */
.yamii-discord-preview__right {
	flex: 0.8;
	text-align: center;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.yamii-discord-preview__members-icon {
	margin-bottom: 16px;
}

.yamii-discord-preview__members-label {
	font-size: 0.95rem;
	opacity: 0.9;
	margin-bottom: 8px;
}

.yamii-discord-preview__members-count {
	font-size: 3.5rem;
	font-weight: bold;
	color: #ffffff;
	margin-bottom: 24px;
	line-height: 1;
}

.yamii-discord-preview__members-count span {
	font-size: 1.4rem;
	color: #ffffff;
	opacity: 0.9;
	font-weight: normal;
	margin-left: 4px;
}

.yamii-discord-preview__status-right {
	font-size: 0.9rem;
	line-height: 1.5;
	opacity: 0.9;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	text-align: left;
}

.yamii-discord-preview__status-right .yamii-status-dot--green {
	margin-top: 4px;
}

/* Responsive */
@media (max-width: 992px) {
	.yamii-discord-preview {
		flex-direction: column;
		padding: 32px 24px;
		gap: 32px;
	}

	.yamii-discord-msg--offset {
		margin-left: 16px;
	}
}

.yamii-top-facility-search {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 12px;
}

.yamii-top-facility-search__inner {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 9999px;
	padding: 4px 4px 4px 16px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.yamii-top-facility-search__inner:focus-within {
	border-color: #94b9ff;
	box-shadow: 0 4px 12px rgba(148, 185, 255, 0.2);
	outline: none;
}

.yamii-top-facility-search__icon {
	font-size: 1.1rem;
	margin-right: 8px;
	color: #a0aec0;
}

.yamii-top-facility-search__input {
	flex: 1;
	border: none;
	background: transparent;
	font-size: 1rem;
	color: #4a5568;
	outline: none;
	padding: 8px 0;
	min-width: 0;
}

.yamii-top-facility-search__input::placeholder {
	color: #a0aec0;
}

.yamii-top-facility-search__btn {
	background: linear-gradient(135deg, #94b9ff, #e894ff);
	color: #fff;
	border: none;
	border-radius: 9999px;
	padding: 8px 20px;
	font-weight: bold;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	margin-left: 8px;
}

.yamii-top-facility-search__btn:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(148, 185, 255, 0.3);
}

.yamii-top-facility-links {
	display: grid;
	gap: 12px;
}

.yamii-top-facility-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 10px 14px;
	border: 0;
	border-radius: 9999px;
	background: linear-gradient(to right, #94b9ff, #e894ff);
	color: #fff;
	box-shadow: 0 4px 12px rgba(148, 185, 255, .4);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: .2s ease;
}

.yamii-top-facility-links__searches {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.yamii-top-facility-links a:hover {
	background: linear-gradient(135deg, #94b9ff, #e894ff);
	color: #fff;
	transform: scale(1.03);
}

.yamii-top-facility-links__searches a {
	justify-content: flex-start;
	gap: 12px;
	min-height: 82px;
	border-radius: 16px;
	background: #fff;
	color: #352477;
	border: 1px solid #eee8ff;
	box-shadow: 0 5px 16px rgba(80, 50, 160, .06);
}

.yamii-top-facility-links__searches a:hover {
	color: #fff;
}

.yamii-search-tile__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 50%;
	background: #f0eaff;
	color: #7650e6;
	font-size: 1.8rem;
}

.yamii-search-tile__icon svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.yamii-search-tile__icon--grid svg rect {
	fill: currentColor;
	stroke: none;
}

.yamii-search-tile__icon+span {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.yamii-search-tile__icon+span strong {
	font-size: .98rem;
}

.yamii-search-tile__icon+span small {
	color: #4f4678;
	font-size: .78rem;
}

.yamii-search-tile__arrow {
	margin-left: auto;
	font-size: 2rem;
	color: #8b5cf6;
}

.yamii-service-types {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.yamii-service-types a {
	min-height: auto;
	padding: 8px 12px;
	border-radius: 999px;
	background: #f4efff;
	color: #5a36bc;
	box-shadow: none;
	font-size: .82rem;
}

.yamii-service-types a span {
	margin-left: 6px;
}

@media (max-width: 640px) {
	.yamii-top-facility-links__searches {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.yamii-facility-hero {
		min-height: 0;
	}

	.yamii-facility-hero .yamii-top-card__title {
		font-size: 2.5rem;
	}

	.yamii-facility-hero .yamii-top-card__desc {
		font-size: .95rem;
	}

	.yamii-facility-trust {
		grid-template-columns: 1fr;
	}
}

/* =========================================
   トップページ 2026 ビジュアルリニューアル
========================================= */
body.home {
	background: #fff;
	color: #17164e;
}

body.home .yamii-header {
	position: relative;
	z-index: 20;
	margin: 0;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid #f0ecff;
}

body.home .yamii-header__inner {
	position: relative;
	width: 100%;
	max-width: var(--yamii-shell-max);
	min-height: 66px;
	padding: 9px var(--yamii-gutter);
	box-sizing: border-box;
}

body.home .yamii-logo {
	font-size: 1.35rem;
	color: #17164e;
}

body.home .yamii-nav ul {
	gap: 28px;
}

body.home .yamii-nav {
	position: static;
	margin: 0 24px 0 auto;
	transform: none;
}

body.home .yamii-nav ul li a {
	color: #292547;
	font-size: .82rem;
}

body.home .yamii-header__actions {
	margin-left: 0;
	flex-shrink: 0;
}

body.home .yamii-btn-discord {
	padding: 10px 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, #7554d7, #9d62e8);
	color: #fff;
	box-shadow: 0 8px 20px rgba(117, 84, 215, .24);
}

body.home .yamii-top-hero-section {
	min-height: 500px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	background: linear-gradient(90deg, #f3efff 0%, #f7f3ff 42%, #d8deff 100%);
}

body.home .yamii-top-hero-bg {
	inset: 0 0 0 auto;
	width: 68%;
	height: 100%;
}

body.home .yamii-top-hero-bg::before {
	left: 0;
	width: 45%;
	background: linear-gradient(90deg, #f3efff 0%, rgba(243, 239, 255, .94) 36%, rgba(243, 239, 255, 0) 100%);
}

body.home .yamii-top-hero-bg__image {
	object-position: 57% center;
	filter: saturate(.88) brightness(1.08);
}

body.home .yamii-top-hero-inner {
	display: flex;
	align-items: center;
	min-height: 500px;
	max-width: var(--yamii-shell-max);
}

body.home .yamii-top-hero__content {
	max-width: 520px;
}

body.home .yamii-top-hero__eyebrow {
	margin: 0 0 12px;
	color: #7554d7;
	font-size: .88rem;
	font-weight: 700;
	letter-spacing: .04em;
}

body.home .yamii-top-hero-section .yamii-top-hero__content h1 {
	margin: 0 0 28px;
	font-size: clamp(2.7rem, 4.2vw, 4.2rem);
	line-height: 1.35;
	letter-spacing: .04em;
	color: #19172d;
	font-weight: 700;
}

body.home .yamii-top-hero-section .yamii-top-hero__content h1 span {
	color: #7554d7;
}

body.home .yamii-top-hero__description {
	margin-bottom: 28px;
	color: #302d49;
	font-size: 1.05rem;
	line-height: 1.9;
}

.yamii-top-hero-mobile-image {
	display: none;
}

body.home .yamii-top-hero__actions {
	gap: 16px;
}

body.home .yamii-top-hero__actions .yamii-btn {
	min-width: 190px;
	padding: 14px 22px;
	box-sizing: border-box;
	font-size: .9rem;
}

body.home .yamii-top-hero__actions .yamii-btn--secondary {
	background: #fff;
	color: #7554d7;
	box-shadow: 0 8px 24px rgba(56, 42, 96, .12);
}

body.home .yamii-top-hero-stats-wrapper {
	max-width: var(--yamii-home-max);
	margin: -44px auto 36px;
}

body.home .yamii-top-hero-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	padding: 18px 24px;
	border: 1px solid #eee9ff;
	border-radius: 16px;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 14px 35px rgba(55, 43, 91, .12);
}

body.home .yamii-stat-item {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 12px;
	padding: 4px 20px;
	border-right: 1px solid #eeeaf7;
}

body.home .yamii-stat-item:last-child {
	border-right: 0;
}

body.home .yamii-stat-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #f2edff;
}

body.home .yamii-stat-text .stat-label {
	color: #57536a;
	font-size: .7rem;
}

body.home .yamii-stat-text .stat-number {
	margin: 0;
	color: #7554d7;
	font-size: 1.05rem;
	line-height: 1.25;
}

body.home .yamii-stat-text .stat-desc {
	color: #59556b;
	font-size: .62rem;
	line-height: 1.35;
}

body.home main {
	display: flex;
	flex-direction: column;
	max-width: var(--yamii-home-max);
	padding: 0 var(--yamii-gutter) 70px;
}

body.home .yamii-top-cards {
	order: 1;
}

body.home .yamii-home-trust-row {
	order: 2;
}

body.home .yamii-community-showcase {
	order: 3;
}

body.home .yamii-home-content-row {
	order: 4;
}

body.home .yamii-support-banner {
	order: 5;
}

body.home .yamii-top-cards {
	grid-template-columns: minmax(0, 2.1fr) minmax(260px, .9fr);
	gap: 20px;
	max-width: none;
	margin: 0 auto 28px;
	padding: 0;
}

body.home .yamii-top-card {
	border-width: 1px;
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(64, 48, 110, .06);
}

body.home .yamii-top-card--search {
	padding: 24px;
	border: 3px solid #F4F0FF;
	background: #F4F0FF;
}

body.home .yamii-facility-hero .yamii-top-card__title {
	margin-bottom: 6px;
	font-size: 2rem;
	letter-spacing: .02em;
}

body.home .yamii-facility-hero .yamii-top-card__desc {
	margin-bottom: 18px;
	font-size: .76rem;
	line-height: 1.6;
}

.yamii-home-search-form {
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr;
	gap: 12px;
	padding: 18px;
	border: 1px solid #eee9fb;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(74, 55, 130, .07);
}

.yamii-home-search-form label {
	display: grid;
	gap: 6px;
	min-width: 0;
	color: #2e2a43;
	font-size: .72rem;
	font-weight: 700;
}

.yamii-home-search-form input,
.yamii-home-search-form select {
	width: 100%;
	min-width: 0;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #ddd8ed;
	border-radius: 8px;
	background: #fff;
	color: #514c65;
	box-sizing: border-box;
}

.yamii-home-search-form input,
.yamii-home-search-form input::placeholder,
.yamii-home-search-form select {
	font-family: 'ZenMaruGothic', sans-serif;
}

.yamii-home-search-form input::placeholder {
	color: #8b86a0;
	opacity: 1;
}

.yamii-home-search-form input:focus,
.yamii-home-search-form select:focus {
	border-color: #7554D7;
	outline: 2px solid #7554D7;
	outline-offset: 0;
}

.yamii-home-search-form button {
	grid-column: 1/-1;
	width: 52%;
	height: 44px;
	margin: 0 auto;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #7554d7, #945bea);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(117, 84, 215, .22);
	transition: transform .2s ease;
}

.yamii-home-search-form button:hover {
	transform: scale(1.03);
}

body.home .yamii-facility-trust {
	margin: 16px 0;
}

body.home .yamii-facility-trust>div {
	padding: 12px;
	background: #faf8ff;
}

body.home .yamii-purpose-heading {
	margin: 20px 0 14px;
	font-size: 1rem;
}

body.home .yamii-top-facility-links__searches a {
	min-height: 72px;
	padding: 9px 12px;
}

body.home .yamii-service-types {
	margin-top: 14px;
	max-height: 90px;
	overflow: auto;
}

body.home .yamii-top-card--community {
	display: flex;
	flex-direction: column;
	padding: 26px 24px;
	background: linear-gradient(160deg, #fff, #faf8ff) padding-box, linear-gradient(135deg, #e6dfff, #f2dffd) border-box;
}

body.home .yamii-top-community-title {
	margin-bottom: 10px;
	font-size: 1.25rem;
	color: #7554d7;
}

body.home .yamii-top-community-image {
	margin: 4px 0 10px;
	padding: 10px;
}

body.home .yamii-top-community-image img {
	width: 110px;
	height: 110px;
}

body.home .yamii-top-community-catchphrase {
	margin-bottom: 14px;
	font-size: 1rem;
}

body.home .yamii-top-community-features {
	font-size: .78rem;
}

body.home .yamii-top-discord-btn {
	margin-top: auto;
	padding: 12px 16px;
	font-size: .88rem;
}

.yamii-home-side-panels {
	display: grid;
	grid-template-rows: minmax(150px, .68fr) minmax(270px, 1.32fr);
	gap: 18px;
}

.yamii-home-guide-card,
.yamii-home-safety-card,
.yamii-home-reasons,
.yamii-home-media {
	border: 1px solid #e7e1fb;
	border-radius: 16px;
	background: linear-gradient(145deg, #fff, #faf8ff);
	box-shadow: 0 8px 24px rgba(62, 47, 103, .05);
}

.yamii-home-guide-card {
	display: grid;
	grid-template-columns: 74px 1fr;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
}

.yamii-home-guide-card img {
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.yamii-home-guide-card h2,
.yamii-home-safety-card h2 {
	margin: 0 0 10px;
	color: #7554d7;
	font-size: 1rem;
}

.yamii-home-guide-card p {
	margin: 0 0 14px;
	color: #39354c;
	font-size: .72rem;
	line-height: 1.7;
}

.yamii-home-guide-card a {
	display: inline-flex;
	padding: 10px 16px;
	border-radius: 999px;
	background: linear-gradient(135deg, #7554d7, #a05de7);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 7px 16px rgba(117, 84, 215, .18);
	transition: transform .2s ease, box-shadow .2s ease;
}

.yamii-home-guide-card a:hover {
	color: #fff;
	transform: scale(1.05);
	box-shadow: 0 11px 22px rgba(117, 84, 215, .28);
}

.yamii-home-safety-card {
	padding: 24px;
}

.yamii-home-safety-card ul {
	display: grid;
	gap: 12px;
	margin: 16px 0 22px;
	padding: 0;
	list-style: none;
	color: #373349;
	font-size: .78rem;
}

.yamii-home-safety-card li::before {
	content: '✓';
	margin-right: 10px;
	color: #17164e;
	font-weight: 700;
}

.yamii-home-safety-card>a {
	display: block;
	color: #7554d7;
	font-size: .75rem;
	font-weight: 700;
	text-align: right;
	text-decoration: none;
}

.yamii-home-sdgs-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
}

.yamii-home-sdgs-card img {
	width: 180px;
	height: 150px;
	object-fit: contain;
}

.yamii-home-sdgs-card p {
	margin: 0 0 16px;
	color: #514c65;
	font-size: .8rem;
	line-height: 1.7;
}

.yamii-home-sdgs-card a {
	color: #7554d7;
	font-size: .8rem;
	font-weight: 700;
	text-decoration: none;
}

.yamii-home-trust-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin: 22px 0;
}

.yamii-home-reasons,
.yamii-home-media {
	padding: 20px 24px;
}

.yamii-home-reasons h2,
.yamii-home-media h2 {
	margin: 0 0 18px;
	color: #29253c;
	font-size: 1rem;
}

.yamii-home-reasons>div {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.yamii-home-reasons article {
	display: grid;
	grid-template-columns: 44px 1fr;
	align-items: center;
	gap: 12px;
}

.yamii-home-reasons article b {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #f2edff;
	color: #7554d7;
	font-size: 1.15rem;
}

.yamii-home-reasons article span {
	display: grid;
}

.yamii-home-reasons article strong {
	color: #2f2b42;
	font-size: .7rem;
}

.yamii-home-reasons article small {
	color: #696479;
	font-size: .55rem;
	line-height: 1.45;
}

.yamii-home-media h2 {
	color: #7554d7;
	text-align: center;
}

.yamii-home-media>div {
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 12px;
	margin-top: 28px;
}

.yamii-home-media strong {
	color: #222;
	font-family: Arial, sans-serif;
	font-size: 1.55rem;
	font-style: italic;
	letter-spacing: .04em;
}

.yamii-home-media strong:nth-child(2) {
	color: #e53d52;
	font-family: Georgia, serif;
	font-size: 1.15rem;
}

.yamii-home-media strong small {
	display: block;
	color: #222;
	font-size: .42rem;
	text-align: center;
}

.yamii-home-content-row {
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 20px;
	align-items: stretch;
}

body.home .yamii-home-content-row .yamii-recommended-articles-wrapper,
body.home .yamii-home-content-row .yamii-youtube-section {
	margin: 0;
	box-sizing: border-box;
}

body.home .yamii-home-content-row .yamii-youtube-section {
	display: flex;
	flex-direction: column;
}

body.home .yamii-home-content-row .yamii-youtube-section__link {
	flex: 1;
	min-height: 260px;
}

body.home .yamii-home-content-row .yamii-youtube-section img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.home .yamii-home-content-row .yamii-recommended-articles__grid {
	gap: 12px;
}

body.home .yamii-home-content-row .yamii-card__content {
	padding: 12px;
}

body.home .yamii-home-content-row .yamii-card__title {
	font-size: .78rem;
	line-height: 1.55;
}

body.home .yamii-home-content-row .yamii-recommended-articles-wrapper {
	background: #F4F0FF;
}

body.home .yamii-online-list-wrapper {
	margin-top: 30px;
}

body.home .yamii-recommended-articles-wrapper,
body.home .yamii-youtube-section {
	padding: 22px;
	border: 1px solid #eee9fb;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(58, 45, 96, .06);
}

body.home .yamii-recommended-articles__title {
	color: #252239;
}

body.home .yamii-youtube-section {
	margin-top: 24px;
}

body.home .yamii-support-banner__inner {
	border-radius: 18px;
	padding: 46px 30px;
}

@media (max-width: 900px) {
	body.home .yamii-nav {
		position: static;
		margin-left: auto;
		transform: none;
	}

	body.home .yamii-top-hero-section,
	body.home .yamii-top-hero-inner {
		min-height: 580px;
	}

	body.home .yamii-top-hero-bg {
		width: 100%;
		opacity: .44;
	}

	body.home .yamii-top-hero-bg::before {
		width: 100%;
		background: linear-gradient(90deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .72));
	}

	body.home .yamii-top-hero__content {
		max-width: 560px;
	}

	body.home .yamii-top-hero-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px 0;
	}

	body.home .yamii-stat-item:nth-child(2) {
		border-right: 0;
	}

	body.home .yamii-top-cards {
		grid-template-columns: 1fr;
	}

	.yamii-home-side-panels {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: none;
	}

	.yamii-home-trust-row,
	.yamii-home-content-row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {

	body.home .yamii-top-hero-section,
	body.home .yamii-top-hero-inner {
		min-height: 540px;
	}

	body.home .yamii-top-hero-inner {
		padding: 0 22px;
	}

	body.home .yamii-top-hero-bg {
		opacity: .78;
	}

	body.home .yamii-top-hero-bg {
		display: none;
	}

	body.home .yamii-top-hero-bg::before {
		background: linear-gradient(90deg, rgba(244, 240, 255, .76), rgba(244, 240, 255, .38));
	}

	body.home .yamii-top-hero-bg__image {
		filter: saturate(1.04) brightness(.98);
	}

	body.home .yamii-top-hero-section .yamii-top-hero__content h1 {
		font-size: 2.05rem;
		white-space: normal;
	}

	body.home .yamii-top-hero__description {
		font-size: .58rem;
		white-space: nowrap;
		padding: 8px 10px;
		max-width: 100%;
		box-sizing: border-box;
		letter-spacing: -.03em;
		border-radius: 14px;
		background: rgba(255, 255, 255, .72);
		box-shadow: 0 6px 18px rgba(67, 52, 112, .08);
		-webkit-backdrop-filter: blur(4px);
		backdrop-filter: blur(4px);
	}

	body.home .yamii-top-hero-mobile-image {
		display: block;
		width: 100%;
		height: auto;
		margin: 0 auto 24px;
		border-radius: 24px;
		box-shadow: 0 14px 30px rgba(67, 52, 112, .16);
	}

	body.home .yamii-top-hero__actions {
		display: grid;
	}

	body.home .yamii-top-hero__actions .yamii-btn {
		width: 100%;
	}

	body.home .yamii-top-hero-stats-wrapper {
		margin-top: -32px;
	}

	body.home .yamii-top-hero-stats {
		grid-template-columns: 1fr;
		padding: 14px;
	}

	body.home .yamii-stat-item {
		border-right: 0;
		border-bottom: 1px solid #eeeaf7;
	}

	body.home .yamii-stat-item:last-child {
		border-bottom: 0;
	}

	.yamii-home-search-form {
		grid-template-columns: 1fr;
	}

	.yamii-home-search-form button {
		grid-column: auto;
		width: 100%;
	}

	body.home .yamii-top-facility-links__searches {
		grid-template-columns: 1fr;
	}

	.yamii-home-side-panels {
		grid-template-columns: 1fr;
	}

	.yamii-home-reasons>div {
		grid-template-columns: repeat(2, 1fr);
	}

	.yamii-home-guide-card {
		grid-template-columns: 74px 1fr;
	}

	.yamii-home-guide-card img {
		width: 72px;
		height: 72px;
	}

	.yamii-home-sdgs-card img {
		width: 145px;
		height: 120px;
	}
}

/* トップページ文字サイズ調整 */
body.home .yamii-nav ul li a {
	font-size: .9rem;
}

body.home .yamii-top-hero__description {
	font-size: 1.12rem;
}

body.home .yamii-stat-text .stat-label {
	font-size: .78rem;
}

body.home .yamii-stat-text .stat-number {
	font-size: 1.16rem;
}

body.home .yamii-stat-text .stat-desc {
	font-size: .7rem;
}

body.home .yamii-facility-hero .yamii-top-card__desc {
	font-size: .84rem;
}

.yamii-home-search-form label {
	font-size: .8rem;
}

.yamii-home-search-form input,
.yamii-home-search-form select {
	font-size: .85rem;
}

.yamii-home-search-form button {
	font-size: .95rem;
}

.yamii-home-guide-card h2,
.yamii-home-safety-card h2 {
	font-size: 1.08rem;
}

.yamii-home-guide-card p {
	font-size: .8rem;
}

.yamii-home-guide-card a,
.yamii-home-safety-card>a {
	font-size: .8rem;
}

.yamii-home-safety-card ul {
	font-size: .86rem;
}

.yamii-home-reasons h2,
.yamii-home-media h2 {
	font-size: 1.08rem;
}

.yamii-home-reasons article strong {
	font-size: .95rem;
}

.yamii-home-reasons article small {
	font-size: .78rem;
}

body.home .yamii-home-content-row .yamii-card__title {
	font-size: .86rem;
}

/* コミュニティ紹介バナー */
.yamii-community-showcase {
	position: relative;
	display: grid;
	grid-template-columns: .95fr 1.25fr .62fr;
	gap: 34px;
	align-items: center;
	margin: 34px 0;
	padding: 48px 44px;
	overflow: hidden;
	border-radius: 28px;
	background: linear-gradient(120deg, #94b9ff 0%, #afa6ff 50%, #e894ff 100%);
	color: #fff;
	box-shadow: 0 18px 40px rgba(117, 84, 215, .2);
	font-family: 'KHDotAkihabara16', 'ZenMaruGothic', sans-serif;
}

.yamii-community-showcase::after {
	content: '✦  ·';
	position: absolute;
	top: 24px;
	right: 42px;
	color: rgba(255, 255, 255, .8);
	font-size: 2rem;
}

.yamii-community-showcase__intro>p {
	margin: 0 0 28px;
	color: #514878;
	font-size: .83rem;
}

.yamii-community-showcase__intro h2 {
	margin: 0 0 24px;
	color: #fff;
	font-size: clamp(1.55rem, 2.4vw, 2.3rem);
	line-height: 1.4;
}

.yamii-community-showcase__intro>div {
	margin-bottom: 30px;
	color: #565078;
	font-size: .9rem;
	line-height: 2;
}

.yamii-community-showcase__intro>a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	border-radius: 999px;
	background: #5865f2;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(57, 55, 170, .22);
	transition: transform .2s ease;
}

.yamii-community-showcase__intro>a img {
	width: 25px;
	height: 25px;
	object-fit: contain;
}

.yamii-community-showcase__intro>a:hover {
	transform: scale(1.04);
}

.yamii-community-showcase__messages {
	display: grid;
	gap: 14px;
}

.yamii-community-showcase__messages article {
	display: grid;
	grid-template-columns: 54px 1fr;
	gap: 14px;
	align-items: start;
	padding: 18px 20px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .9);
	color: #554f75;
	box-shadow: 0 8px 20px rgba(70, 50, 120, .08);
}

.yamii-community-avatar {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 1rem;
}

.yamii-community-avatar--pink {
	background: #ffa9b8;
}

.yamii-community-avatar--blue {
	background: #72c8ef;
}

.yamii-community-avatar--logo {
	background: #fff;
}

.yamii-community-avatar img {
	width: 46px;
	height: 46px;
	object-fit: contain;
}

.yamii-community-showcase__messages p {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 5px;
}

.yamii-community-showcase__messages strong {
	color: #40395f;
	font-size: .9rem;
}

.yamii-community-showcase__messages small {
	color: #8b85a2;
	font-size: .68rem;
}

.yamii-community-showcase__messages p b {
	padding: 3px 6px;
	border-radius: 4px;
	background: #7554d7;
	color: #fff;
	font-size: .6rem;
}

.yamii-community-showcase__messages div>span {
	display: block;
	font-size: .78rem;
	line-height: 1.7;
}

.yamii-community-showcase__status {
	display: grid;
	justify-items: center;
	gap: 22px;
	text-align: center;
}

.yamii-community-showcase__status img {
	width: 120px;
	height: 120px;
	object-fit: contain;
	animation: yamii-ghost-float 3.8s ease-in-out infinite;
}

.yamii-community-showcase__status strong {
	color: #fff;
	font-size: 1.2rem;
}

.yamii-community-showcase__status p {
	margin: 0;
	color: #5c557d;
	font-size: .82rem;
}

.yamii-community-showcase__status p span {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #25d366;
}

@media (max-width: 900px) {
	.yamii-community-showcase {
		grid-template-columns: 1fr;
		padding: 34px 26px;
	}

	.yamii-community-showcase__status {
		grid-template-columns: auto 1fr;
		justify-items: start;
		text-align: left;
	}

	.yamii-community-showcase__status img {
		grid-row: span 2;
		width: 92px;
		height: 92px;
	}
}

@media (max-width: 600px) {
	.yamii-community-showcase {
		gap: 24px;
		border-radius: 22px;
	}

	.yamii-community-showcase__messages article {
		grid-template-columns: 42px 1fr;
		padding: 14px;
	}

	.yamii-community-avatar {
		width: 40px;
		height: 40px;
	}

	.yamii-community-avatar img {
		width: 38px;
		height: 38px;
	}
}

/* =========================================
   Contact Form 7
========================================= */
.wpcf7 {
	max-width: 760px;
	margin: 40px auto;
	padding: 38px;
	border: 2px solid #F2EDFF;
	border-radius: 28px;
	background: linear-gradient(145deg, #fff, #FAF8FF);
	box-shadow: 0 18px 45px rgba(88, 65, 160, .11);
	color: #17164E;
}

.wpcf7::before {
	content: '✦ お問い合わせ ✦';
	display: block;
	margin: 0 0 28px;
	color: #7554D7;
	font-family: 'ZenMaruGothic', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
}

.wpcf7 form {
	margin: 0;
}

.wpcf7 p {
	margin: 0 0 22px;
	color: #39354c;
	font-size: .95rem;
	line-height: 1.8;
}

.wpcf7 label {
	display: block;
	color: #302b52;
	font-weight: 700;
}

.wpcf7-form-control-wrap {
	display: block;
	margin-top: 8px;
}

.wpcf7 input:not([type='submit']):not([type='checkbox']):not([type='radio']),
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 13px 16px;
	border: 2px solid #e9e2fb;
	border-radius: 14px;
	outline: none;
	background: #fff;
	color: #17164E;
	font-family: 'ZenMaruGothic', sans-serif;
	font-size: 1rem;
	box-sizing: border-box;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.wpcf7 textarea {
	min-height: 180px;
	resize: vertical;
}

.wpcf7 input:not([type='submit']):focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	border-color: #a98cff;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(169, 140, 255, .15);
}

.wpcf7 input[type='checkbox'],
.wpcf7 input[type='radio'] {
	accent-color: #7554D7;
}

.wpcf7 .wpcf7-list-item {
	margin: 0 16px 8px 0;
}

.wpcf7 input[type='submit'] {
	display: block;
	width: min(100%, 360px);
	min-height: 54px;
	margin: 12px auto 0;
	padding: 13px 28px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #94b9ff, #e894ff);
	color: #fff;
	font-family: 'ZenMaruGothic', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(117, 84, 215, .22);
	transition: transform .2s ease, box-shadow .2s ease;
}

.wpcf7 input[type='submit']:hover {
	transform: scale(1.04);
	box-shadow: 0 14px 28px rgba(117, 84, 215, .3);
}

.wpcf7 .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #d94f89;
	font-size: .82rem;
}

.wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 14px 18px;
	border: 0;
	border-radius: 14px;
	background: #f2edff;
	color: #514878;
	text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
	background: #e9fbf2;
	color: #287a53;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	background: #fff0f6;
	color: #b33d70;
}

.wpcf7 .wpcf7-spinner {
	display: block;
	margin: 12px auto 0;
}

/* サイドバー検索ウィジェット */
.yamii-sidebar .widget_search,
.yamii-sidebar .wp-block-search {
	padding: 22px;
	border: 2px solid #F2EDFF;
	border-radius: 20px;
	background: linear-gradient(145deg, #fff, #FAF8FF);
	box-shadow: 0 12px 30px rgba(88, 65, 160, .09);
}

.yamii-sidebar .widget_search .widget-title,
.yamii-sidebar .wp-block-search__label {
	display: none;
}

.yamii-sidebar .search-form,
.yamii-sidebar .wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px;
	border: 2px solid #e9e2fb;
	border-radius: 999px;
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.yamii-sidebar .search-form:focus-within,
.yamii-sidebar .wp-block-search__inside-wrapper:focus-within {
	border-color: #a98cff;
	box-shadow: 0 0 0 4px rgba(169, 140, 255, .14);
}

.yamii-sidebar .search-form label {
	flex: 1;
	min-width: 0;
}

.yamii-sidebar .search-field,
.yamii-sidebar .wp-block-search__input {
	width: 100%;
	min-width: 0;
	height: 42px;
	padding: 0 12px;
	border: 0;
	outline: none;
	background: transparent;
	color: #17164E;
	font-family: 'ZenMaruGothic', sans-serif;
	font-size: .9rem;
	box-sizing: border-box;
}

.yamii-sidebar .search-submit,
.yamii-sidebar .wp-block-search__button {
	flex: 0 0 auto;
	min-width: 76px;
	height: 42px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #94b9ff, #e894ff);
	color: #fff;
	font-family: 'ZenMaruGothic', sans-serif;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 6px 14px rgba(117, 84, 215, .18);
	transition: transform .2s ease;
}

.yamii-sidebar .search-submit:hover,
.yamii-sidebar .wp-block-search__button:hover {
	transform: scale(1.05);
}

body.category .yamii-sidebar .widget_search,
body.category .yamii-sidebar .wp-block-search {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

@media (max-width: 600px) {
	.wpcf7 {
		margin: 24px 12px;
		padding: 26px 18px;
		border-radius: 22px;
	}

	.wpcf7::before {
		font-size: 1.25rem;
	}

	.wpcf7 textarea {
		min-height: 150px;
	}
}

/* ユーザー提供のスライド・スキューホバーエフェクト */
.c-btn.slide.skew {
	position: relative;
}

.c-btn.slide.skew::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 140px;
	/* ボタンの高さによって調整 */
	background: rgba(255, 255, 255, 0.3);
	/* 画像の上に重なる半透明のハイライトとして設定 */
	transform: skewY(-10deg) scale(1, 0);
	transition: transform 0.3s ease;
	pointer-events: none;
	/* クリックを阻害しないように */
	z-index: 10;
}

.c-btn.slide.skew:hover::after {
	transform: skewY(-10deg) scale(1, 1);
}

/* トップヒーロー説明文：スマホでは枠内に収める */
@media (max-width: 600px) {
	body.home .yamii-facility-hero .yamii-top-card__title {
		font-size: 1.55rem;
		white-space: nowrap;
	}

	body.home .yamii-top-hero__description {
		font-size: clamp(.74rem, 3.7vw, .9rem) !important;
		white-space: nowrap;
		max-width: 100%;
		overflow: hidden;
		letter-spacing: -.05em;
		padding: 0;
		background: transparent;
		box-shadow: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}

/* =========================================
   Wide desktop / WQHD / 4K
   Keep long-form text readable while allowing layout-heavy pages to use
   additional horizontal space on high-resolution displays.
========================================= */
@media (min-width: 1440px) {
	:root {
		--yamii-shell-max: 1320px;
		--yamii-home-max: 1200px;
		--yamii-reading-max: 1040px;
		--yamii-narrow-max: 1000px;
		--yamii-gutter: clamp(28px, 2.5vw, 48px);
	}

	.yamii-nav ul {
		gap: clamp(20px, 1.5vw, 32px);
	}

	body.home .yamii-top-hero-section,
	body.home .yamii-top-hero-inner {
		min-height: clamp(520px, 34vw, 660px);
	}

	body.home .yamii-top-hero-bg {
		width: min(64%, 2200px);
	}

	body.home .yamii-top-hero__content {
		max-width: 640px;
	}

	body.home .yamii-top-hero-stats-wrapper {
		margin-top: -54px;
	}

	.yamii-footer__grid {
		gap: clamp(32px, 3vw, 64px);
	}
}

@media (min-width: 1920px) {
	:root {
		--yamii-shell-max: 1600px;
		--yamii-home-max: 1440px;
		--yamii-reading-max: 1120px;
		--yamii-narrow-max: 1080px;
		--yamii-gutter: clamp(40px, 3vw, 64px);
	}

	.yamii-sidebar {
		width: clamp(320px, 18vw, 380px);
	}

	body.home .yamii-top-hero__content {
		max-width: 700px;
	}

	body.home .yamii-top-cards,
	body.home .yamii-home-content-row {
		gap: 28px;
	}

	.yamii-article-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 2560px) {
	:root {
		--yamii-shell-max: 1920px;
		--yamii-home-max: 1680px;
		--yamii-reading-max: 1200px;
		--yamii-narrow-max: 1160px;
		--yamii-gutter: clamp(56px, 3.5vw, 96px);
	}

	body.home .yamii-top-hero-section,
	body.home .yamii-top-hero-inner {
		min-height: 720px;
	}

	body.home .yamii-top-hero-stats {
		padding: 24px 32px;
	}

	body.home .yamii-top-card--search,
	body.home .yamii-top-card--community,
	.yamii-community-showcase,
	.yamii-support-banner__inner {
		padding: clamp(28px, 2vw, 52px);
	}
}

@media (min-width: 3200px) {
	:root {
		--yamii-shell-max: 2240px;
		--yamii-home-max: 1920px;
		--yamii-reading-max: 1240px;
		--yamii-narrow-max: 1200px;
		--yamii-gutter: clamp(72px, 4vw, 120px);
	}

	body.home .yamii-top-hero-section,
	body.home .yamii-top-hero-inner {
		min-height: 780px;
	}

	body.home .yamii-top-hero__content {
		max-width: 760px;
	}
}
