/*
Theme Name: diuao Renewal
Template: twentytwentyfive
Version: 0.3.7
Description: Child theme for the diuao portfolio renewal.
*/

body {
	background: #ddd8cf;
	color: #1d1a16;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) {
	background:
		radial-gradient(ellipse 42% 32% at 16% 0%, rgba(255, 255, 255, 0.86), transparent 70%),
		radial-gradient(ellipse 32% 42% at 30% 10%, rgba(255, 250, 232, 0.46), transparent 65%),
		radial-gradient(ellipse 50% 36% at 12% 18%, rgba(245, 248, 242, 0.36), transparent 70%),
		radial-gradient(ellipse 55% 45% at -5% -5%, rgba(88, 72, 49, 0.08), transparent 62%),
		linear-gradient(165deg, #e4ded4 0%, #d8d1c6 46%, #cbc3b8 100%);
	background-blend-mode: screen, screen, screen, multiply, normal;
}

html:has(.diuao-wing-menu),
body:has(.diuao-wing-menu) {
	overflow-x: clip;
}

.wp-site-blocks {
	min-height: 100vh;
}

.wp-site-blocks > header.wp-block-template-part .wp-block-navigation {
	display: none !important;
}

main,
.entry-content {
	margin-block-start: 0;
}

.entry-content > .diuao-gallery {
	margin-block-start: 0;
}

.wp-block-post-content > .diuao-gallery,
.entry-content > .diuao-gallery,
.is-layout-constrained > .diuao-gallery {
	width: 100vw !important;
	max-width: 100vw !important;
}

body:has(.diuao-gallery) {
	background: #15120f;
	overflow-x: hidden;
}

body:has(.diuao-gallery) > .wp-site-blocks > header.wp-block-template-part,
body:has(.diuao-gallery) .wp-block-post-title {
	display: none;
}

body:has(.diuao-gallery) main,
body:has(.diuao-gallery) .wp-block-post-content {
	margin-block-start: 0 !important;
}

body:has(.diuao-gallery) > .wp-site-blocks > main.wp-block-group > .wp-block-group.alignfull {
	padding-block-start: 0 !important;
}

body:has(.diuao-home) {
	background:
		radial-gradient(ellipse at 82% 12%, rgba(184, 142, 74, 0.18) 0%, transparent 35%),
		radial-gradient(ellipse at 14% 24%, rgba(255, 255, 255, 0.08) 0%, transparent 34%),
		linear-gradient(135deg, #0b0b0a 0%, #11100e 48%, #050505 100%);
	overflow-x: hidden;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-site-blocks {
	background:
		radial-gradient(ellipse 42% 32% at 16% 0%, rgba(255, 255, 255, 0.86), transparent 70%),
		radial-gradient(ellipse 32% 42% at 30% 10%, rgba(255, 250, 232, 0.46), transparent 65%),
		radial-gradient(ellipse 50% 36% at 12% 18%, rgba(245, 248, 242, 0.36), transparent 70%),
		radial-gradient(ellipse 55% 45% at -5% -5%, rgba(88, 72, 49, 0.08), transparent 62%),
		linear-gradient(165deg, #e4ded4 0%, #d8d1c6 46%, #cbc3b8 100%);
	background-blend-mode: screen, screen, screen, multiply, normal;
	color: #1d1a16;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) > .wp-site-blocks > header.wp-block-template-part {
	display: none;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-site-blocks > main {
	padding: clamp(58px, 8vw, 116px) clamp(18px, 5vw, 64px);
}

body:has(.sumizo-runner-embed):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-site-blocks > main {
	padding: clamp(24px, 4vw, 58px) clamp(12px, 3vw, 34px) clamp(44px, 6vw, 76px);
}

body:has(.diuao-contact-letter):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-site-blocks > main {
	padding: 0;
}

body:has(.sumizo-runner-embed) .wp-block-post-title {
	display: none;
}

body:has(.diuao-contact-letter) .wp-block-post-title {
	display: none;
}

body:has(.sumizo-runner-embed) .wp-block-post-content,
body:has(.sumizo-runner-embed) .entry-content {
	margin-block-start: 0;
}

body:has(.diuao-contact-letter) .wp-block-post-content,
body:has(.diuao-contact-letter) .entry-content {
	margin-block-start: 0;
}

body:has(.sumizo-runner-embed):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-post-content > .sumizo-runner-embed,
body:has(.sumizo-runner-embed):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .entry-content > .sumizo-runner-embed {
	width: min(100%, 1240px);
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
	justify-content: center;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-post-title,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) h1,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) h2,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) h3 {
	color: #211d18;
	letter-spacing: 0;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-post-title {
	max-width: min(860px, 100%);
	margin-inline: auto;
	font-family: "Shippori Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
	font-weight: 500;
	font-size: clamp(1.65rem, 3.4vw, 2.75rem);
	line-height: 1.4;
	letter-spacing: 0.02em;
}

/* 投稿タイトル下の「執筆者/カテゴリ」表記を非表示（著者名を直下に持つ meta グループのみ） */
body.single-post .wp-block-group:has(> .wp-block-post-author-name) {
	display: none;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-post-content,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .entry-content {
	color: rgba(29, 26, 22, 0.84);
	font-family: "Shippori Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
	font-size: clamp(1rem, 1.2vw, 1.06rem);
	line-height: 1.95;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)):not(:has(.sumizo-runner-embed)):not(:has(.diuao-contact-letter)) .wp-block-post-content,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)):not(:has(.sumizo-runner-embed)):not(:has(.diuao-contact-letter)) .entry-content {
	position: relative;
	box-sizing: border-box;
	overflow: hidden;
	isolation: isolate;
	width: min(840px, 100%);
	margin-top: clamp(28px, 5vw, 52px);
	margin-left: auto;
	margin-right: auto;
	padding: clamp(18px, 3vw, 28px) clamp(22px, 4vw, 42px);
	border-radius: 8px;
	border: 1px solid rgba(185, 154, 95, 0.12);
	background:
		linear-gradient(102deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 253, 248, 0.90) 54%, rgba(250, 248, 241, 0.86) 100%),
		#fffdf7;
	background-size: 100% 100%;
	background-position: center;
	box-shadow: 0 24px 74px rgba(56, 44, 30, 0.14);
	backdrop-filter: blur(8px);
	overflow-wrap: anywhere;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)):not(:has(.sumizo-runner-embed)):not(:has(.diuao-contact-letter)) .wp-block-post-content::before,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)):not(:has(.sumizo-runner-embed)):not(:has(.diuao-contact-letter)) .entry-content::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	content: "";
	background: url("/wp-content/plugins/diuao-gallery/assets/images/antique_paper_single_page_3840x2160_q80.webp") center / cover;
	opacity: 0.26;
	filter: saturate(0.3) brightness(1.05);
	mix-blend-mode: multiply;
	pointer-events: none;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-post-content > *,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .entry-content > * {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	max-width: min(760px, 100%);
	margin-left: auto;
	margin-right: auto;
	min-width: 0;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-post-content > .sumizo-runner-embed,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .entry-content > .sumizo-runner-embed {
	max-width: none;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-post-content > .diuao-contact-letter,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .entry-content > .diuao-contact-letter {
	max-width: none;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-post-content > .alignwide,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .entry-content > .alignwide {
	max-width: min(1040px, 100%);
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-post-content > .alignfull,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .entry-content > .alignfull {
	width: 100%;
	max-width: 100%;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-post-content p,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .entry-content p {
	margin-block: 0;
	padding-top: 1.95em;
	background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(1.95em - 1px), rgba(120, 95, 55, 0.09) calc(1.95em - 1px), rgba(120, 95, 55, 0.09) 1.95em);
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-post-content a,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .entry-content a {
	color: #c9a66b;
	text-decoration-color: rgba(201, 166, 107, 0.46);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-image,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) figure {
	margin-top: clamp(24px, 4vw, 44px);
	margin-bottom: clamp(24px, 4vw, 44px);
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-image img,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) figure img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 18px 42px rgba(52, 42, 30, 0.14);
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) figcaption {
	margin-top: 10px;
	color: rgba(29, 26, 22, 0.58);
	font-size: 0.88rem;
	line-height: 1.6;
	text-align: left;
}

body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-image img {
	max-width: 100%;
	height: auto;
}

/* 丸めた画像/カスタム枠の写真スタンプ風の縁取り（Claude案モック POST/.stamp・ABOUT/.avatar 準拠） */
/* is-style-rounded だけでなく、border-radius設定(has-custom-border)で丸めた画像にも当てる */
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-image.is-style-rounded img,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-image .is-style-rounded img,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) img.is-style-rounded,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-image.has-custom-border img {
	background: #faf6ea;
	box-shadow:
		0 0 0 5px #faf6ea,
		0 0 0 6px #e9e2cf,
		0 10px 22px -10px rgba(58, 53, 44, 0.28);
}
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-image.is-style-rounded img,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) .wp-block-image .is-style-rounded img,
body:not(.diuao-dark-page):not(:has(.diuao-home)):not(:has(.diuao-gallery)) img.is-style-rounded {
	border-radius: 50%;
}

body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-site-blocks {
	position: relative;
	isolation: isolate;
	background:
		radial-gradient(ellipse 42% 32% at 16% 0%, rgba(255, 255, 255, 0.86), transparent 70%),
		radial-gradient(ellipse 32% 42% at 30% 10%, rgba(255, 250, 232, 0.46), transparent 65%),
		radial-gradient(ellipse 50% 36% at 12% 18%, rgba(245, 248, 242, 0.36), transparent 70%),
		radial-gradient(ellipse 55% 45% at -5% -5%, rgba(88, 72, 49, 0.08), transparent 62%),
		linear-gradient(165deg, #e4ded4 0%, #d8d1c6 46%, #cbc3b8 100%);
	background-blend-mode: screen, screen, screen, multiply, normal;
}

body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-site-blocks > main {
	position: relative;
	z-index: 10;
	overflow: hidden;
	isolation: isolate;
}

body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-site-blocks > main::before,
body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-site-blocks > main::after {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
}

body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-site-blocks > main::before {
	z-index: 0;
	background:
		linear-gradient(180deg, transparent 0%, rgba(184, 130, 74, 0.35) 15%, rgba(184, 130, 74, 0.35) 85%, transparent 100%) 64px 0 / 1px 100% no-repeat,
		linear-gradient(180deg, transparent 0%, rgba(184, 130, 74, 0.26) 15%, rgba(184, 130, 74, 0.26) 85%, transparent 100%) calc(100% - 64px) 0 / 1px 100% no-repeat;
}

body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-site-blocks > main::after {
	z-index: 0;
	background:
		radial-gradient(circle at 18px 14%, rgba(255, 250, 232, 0.45), rgba(255, 250, 232, 0) 15px),
		radial-gradient(circle at 34px 38%, rgba(255, 250, 232, 0.24), rgba(255, 250, 232, 0) 28px),
		radial-gradient(circle at 10px 64%, rgba(255, 250, 232, 0.50), rgba(255, 250, 232, 0) 11px),
		radial-gradient(circle at 40px 80%, rgba(255, 250, 232, 0.30), rgba(255, 250, 232, 0) 20px),
		radial-gradient(circle at calc(100% - 22px) 20%, rgba(255, 250, 232, 0.30), rgba(255, 250, 232, 0) 22px),
		radial-gradient(circle at calc(100% - 12px) 46%, rgba(255, 250, 232, 0.46), rgba(255, 250, 232, 0) 13px),
		radial-gradient(circle at calc(100% - 38px) 70%, rgba(255, 250, 232, 0.22), rgba(255, 250, 232, 0) 32px);
	filter: blur(0.7px);
}

body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-site-blocks > main > * {
	position: relative;
	z-index: 1;
}

@media (max-width: 1100px) {
	body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-site-blocks > main::before,
	body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-site-blocks > main::after {
		display: none;
	}
}

body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-block-post-date,
body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-block-post-terms {
	color: #c9a66b;
	font-weight: 700;
	letter-spacing: 0;
}

body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-block-post-date a,
body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-block-post-terms a {
	color: #c9a66b;
}

body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) nav[aria-label="投稿ナビゲーション"],
body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-block-comments,
body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-block-comments-query-loop,
body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-block-post-comments-form,
body.single-post:not(:has(.diuao-gallery)):not(:has(.diuao-home)) .wp-block-query .wp-block-post-template > li > .wp-block-group {
	border-top: 0 !important;
	border-bottom: 0 !important;
}

body.diuao-dark-page {
	--diuao-dark-bg: #121316;
	--diuao-dark-panel: #1a1c20;
	--diuao-dark-ink: #e7e3da;
	--diuao-dark-muted: #9a9ca2;
	--diuao-dark-faint: #5c5e63;
	--diuao-dark-tide: #3d7ea6;
	--diuao-dark-brass: #c9a66b;
	--diuao-dark-brass-deep: #8f632f;
	--diuao-dark-line: rgba(231, 227, 218, 0.10);
	--diuao-dark-line-strong: rgba(231, 227, 218, 0.18);
	background-color: var(--diuao-dark-bg);
	background-image:
		linear-gradient(80deg, transparent 10%, rgba(96, 168, 206, 0.16) 15%, rgba(96, 168, 206, 0.12) 19%, transparent 26%),
		linear-gradient(69deg, transparent 32%, rgba(77, 148, 189, 0.12) 37%, rgba(77, 148, 189, 0.09) 42%, transparent 50%),
		linear-gradient(59deg, transparent 55%, rgba(61, 126, 166, 0.10) 60%, rgba(61, 126, 166, 0.07) 66%, transparent 75%),
		linear-gradient(180deg, #171b20 0%, #121316 35%, #0c0d0f 100%);
	background-blend-mode: screen, screen, screen, normal;
	color: var(--diuao-dark-ink);
	overflow-x: hidden;
}

body.diuao-dark-page::before {
	position: fixed;
	inset: 0;
	z-index: 1;
	content: "";
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
	opacity: 0.05;
	pointer-events: none;
}

body.diuao-dark-page .wp-site-blocks {
	position: relative;
	z-index: 10;
	background: transparent;
	color: var(--diuao-dark-ink);
	display: flex;
	flex-direction: column;
}

/* コンテンツが短くてもフッターを最下部へ。これでフッター下に空きが出ず、左帯もフッターで切れる */
body.diuao-dark-page .wp-site-blocks > main {
	flex: 1 0 auto;
}

body.diuao-dark-page > .wp-site-blocks > header.wp-block-template-part {
	display: none;
}

body.diuao-dark-page .wp-site-blocks > main {
	margin-left: 44px;
	padding: clamp(54px, 7vw, 98px) clamp(22px, 5vw, 64px) clamp(76px, 9vw, 132px);
}

body.diuao-dark-page .wp-block-post-title,
body.diuao-dark-page h1,
body.diuao-dark-page h2,
body.diuao-dark-page h3 {
	color: var(--diuao-dark-ink);
	letter-spacing: 0;
}

body.diuao-dark-page .wp-block-post-title {
	max-width: min(760px, 100%);
	margin-inline: auto;
	padding-bottom: clamp(28px, 4vw, 46px);
	border-bottom: 1px solid var(--diuao-dark-line);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.35rem, 6vw, 4.8rem);
	font-weight: 400;
	line-height: 1.02;
}

body.diuao-dark-page .wp-block-post-content,
body.diuao-dark-page .entry-content {
	position: relative;
	isolation: isolate;
	width: min(760px, 100%);
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--diuao-dark-muted);
	font-size: clamp(1rem, 1.2vw, 1.06rem);
	line-height: 1.95;
	backdrop-filter: none;
}

body.diuao-dark-page .wp-block-post-content::before,
body.diuao-dark-page .entry-content::before {
	content: none;
}

body.diuao-dark-page .wp-block-post-content > *,
body.diuao-dark-page .entry-content > * {
	max-width: min(700px, calc(100vw - 96px));
	color: inherit;
}

body.diuao-dark-page .wp-block-post-content > .alignwide,
body.diuao-dark-page .entry-content > .alignwide {
	max-width: min(920px, calc(100vw - 96px));
}

body.diuao-dark-page .wp-block-post-content > .alignfull,
body.diuao-dark-page .entry-content > .alignfull {
	max-width: min(100%, 980px);
	margin-left: auto;
	margin-right: auto;
}

body.diuao-dark-page .wp-block-group {
	color: inherit;
}

body.diuao-dark-page .wp-block-group.alignfull {
	border-bottom: 1px solid var(--diuao-dark-line);
	background: transparent;
}

body.diuao-dark-page .wp-block-heading,
body.diuao-dark-page .wp-block-post-content h2,
body.diuao-dark-page .entry-content h2 {
	margin-top: clamp(42px, 7vw, 80px);
	color: var(--diuao-dark-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	line-height: 1.25;
}

body.diuao-dark-page .wp-block-post-content p,
body.diuao-dark-page .entry-content p {
	margin-block: 1.1em;
}

body.diuao-dark-page .wp-block-post-content p:first-child,
body.diuao-dark-page .entry-content p:first-child {
	color: var(--diuao-dark-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.25rem, 2.5vw, 1.7rem);
	font-style: italic;
	line-height: 1.65;
}

body.diuao-dark-page .wp-block-post-content a,
body.diuao-dark-page .entry-content a {
	color: var(--diuao-dark-brass);
	text-decoration-color: rgba(201, 166, 107, 0.42);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

body.diuao-dark-page .wp-block-image img,
body.diuao-dark-page figure img {
	border-radius: 6px;
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
}

/* 暗ページの丸アバター: Claude案モック ABOUT/.avatar 準拠のリング */
/* 「スタイル→角丸」を選んだ画像だけに適用。枠線パネルの指定(角丸0等)はそのまま尊重する */
body.diuao-dark-page .wp-block-image.is-style-rounded img,
body.diuao-dark-page .wp-block-image .is-style-rounded img,
body.diuao-dark-page img.is-style-rounded {
	border-radius: 50% !important;
	background: #1a1c20;
	box-shadow:
		0 0 0 3px #1a1c20,
		0 0 0 4px rgba(231, 227, 218, 0.18),
		0 22px 60px rgba(0, 0, 0, 0.36);
}

body.diuao-dark-page figcaption {
	color: var(--diuao-dark-faint);
}

.diuao-dark-page-rail {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 3;
	display: flex;
	width: 44px;
	padding: 24px 0;
	border-right: 1px solid var(--diuao-dark-line);
	background: var(--diuao-dark-panel);
	align-items: center;
	flex-direction: column;
	overflow: hidden;
	pointer-events: none;
}

.diuao-dark-page-rail__hole {
	width: 10px;
	height: 10px;
	margin: 18px 0;
	border: 1px solid var(--diuao-dark-line-strong);
	background: transparent;
	flex-shrink: 0;
}

.diuao-dark-page-rail__label {
	margin: 14px 0;
	color: var(--diuao-dark-faint);
	font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
	font-size: 9.5px;
	letter-spacing: 0.10em;
	white-space: nowrap;
	writing-mode: vertical-rl;
}

.diuao-marine-snow {
	position: fixed;
	inset: 0;
	z-index: 2;
	overflow: hidden;
	pointer-events: none;
}

.diuao-marine-snow span {
	position: absolute;
	top: -3vh;
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(190, 222, 240, 0.65), rgba(190, 222, 240, 0) 70%);
	animation: diuao-snowdrift linear infinite;
}

.diuao-marine-snow span:nth-child(1) {
	left: 10%;
	animation-duration: 75s;
	animation-delay: -8s;
}

.diuao-marine-snow span:nth-child(2) {
	left: 16%;
	width: 3px;
	height: 3px;
	animation-duration: 95s;
	animation-delay: -40s;
}

.diuao-marine-snow span:nth-child(3) {
	left: 23%;
	width: 5px;
	height: 5px;
	filter: blur(1px);
	animation-duration: 65s;
	animation-delay: -22s;
}

.diuao-marine-snow span:nth-child(4) {
	left: 31%;
	width: 3px;
	height: 3px;
	animation-duration: 88s;
	animation-delay: -60s;
}

.diuao-marine-snow span:nth-child(5) {
	left: 38%;
	filter: blur(1px);
	animation-duration: 72s;
	animation-delay: -15s;
}

.diuao-marine-snow span:nth-child(6) {
	left: 47%;
	width: 3px;
	height: 3px;
	opacity: 0.70;
	animation-duration: 100s;
	animation-delay: -70s;
}

.diuao-marine-snow span:nth-child(7) {
	left: 62%;
	width: 3px;
	height: 3px;
	opacity: 0.50;
	animation-duration: 110s;
	animation-delay: -35s;
}

.diuao-marine-snow span:nth-child(8) {
	left: 78%;
	filter: blur(1px);
	opacity: 0.45;
	animation-duration: 90s;
	animation-delay: -52s;
}

.diuao-marine-snow span:nth-child(9) {
	left: 90%;
	width: 3px;
	height: 3px;
	opacity: 0.40;
	animation-duration: 105s;
	animation-delay: -18s;
}

@keyframes diuao-snowdrift {
	0% {
		opacity: 0;
		transform: translateY(0);
	}

	6%,
	88% {
		opacity: 1;
	}

	100% {
		opacity: 0;
		transform: translateY(108vh);
	}
}

@media (prefers-reduced-motion: reduce) {
	.diuao-marine-snow span {
		display: none;
	}
}

@media (max-width: 700px) {
	body.diuao-dark-page .wp-site-blocks > main {
		margin-left: 28px;
		padding: 48px 20px 84px;
	}

	body.diuao-dark-page .wp-block-post-title,
	body.diuao-dark-page .wp-block-post-content,
	body.diuao-dark-page .entry-content,
	body.diuao-dark-page .wp-block-post-content > *,
	body.diuao-dark-page .entry-content > * {
		width: auto;
		max-width: calc(100vw - 68px);
	}

	.diuao-dark-page-rail {
		width: 28px;
	}

	/* 文字が消える狭さでは□も出さず、帯だけにする */
	.diuao-dark-page-rail__label,
	.diuao-dark-page-rail__hole {
		display: none;
	}
}

body:has(.diuao-home) > .wp-site-blocks > header.wp-block-template-part,
body:has(.diuao-home) .wp-block-post-title {
	display: none;
}

body:has(.diuao-home) main,
body:has(.diuao-home) .wp-block-post-content {
	margin-block-start: 0;
}

body:has(.diuao-home) .wp-block-post-content > p,
body:has(.diuao-home) .entry-content > p {
	margin-block: 0;
}

body:has(.diuao-home) .wp-block-post-content > * + *,
body:has(.diuao-home) .entry-content > * + * {
	margin-block-start: 0;
}

.diuao-home {
	background:
		radial-gradient(ellipse at 82% 100%, rgba(184, 142, 74, 0.18) 0%, transparent 35%),
		radial-gradient(ellipse at 14% 100%, rgba(255, 255, 255, 0.08) 0%, transparent 34%),
		linear-gradient(180deg, #11100f 0%, #11100e 100%);
	color: #f4efe5;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	overflow: hidden;
}

.diuao-home > p:first-child:empty {
	display: none;
	margin: 0;
}

.diuao-home > p:has(.diuao-home-top) {
	display: contents;
	margin: 0;
}

.diuao-home > p:has(.diuao-home-top) br {
	display: none;
}

.diuao-home,
.diuao-home * {
	box-sizing: border-box;
}

.diuao-home a {
	color: inherit;
}

body.diuao-wing-menu-open {
	overflow: hidden;
}

.diuao-wing-menu {
	--diuao-wing-menu-row-height: 60px;
	--diuao-wing-menu-button-height: 30px;
	--diuao-wing-menu-label-size: 1.05rem;
	--diuao-wing-menu-mobile-label-size: 0.92rem;
	position: fixed;
	inset: 0;
	z-index: 1000;
	overflow: clip;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	pointer-events: none;
}

.diuao-wing-menu--gallery-page {
	overflow: clip;
}

.diuao-wing-menu__trigger {
	position: fixed;
	top: clamp(14px, 2.2vw, 28px);
	right: clamp(14px, 2.4vw, 32px);
	z-index: 4;
	width: clamp(76px, 7.5vw, 104px);
	aspect-ratio: 1 / 1;
	border: 0;
	padding: 0;
	background: transparent;
	color: rgba(255, 248, 236, 0.92);
	cursor: pointer;
	pointer-events: auto;
	filter: drop-shadow(0 7px 16px rgba(0, 0, 0, 0.46));
	transition: color 220ms ease, filter 220ms ease, transform 420ms cubic-bezier(0.2, 0.72, 0.18, 1);
}

.diuao-wing-menu--gallery-page .diuao-wing-menu__trigger {
	top: var(--diuao-gallery-menu-trigger-top, clamp(14px, 2.2vw, 28px));
}

.diuao-wing-menu__trigger:hover,
.diuao-wing-menu__trigger:focus-visible {
	color: #fffdf7;
	filter: drop-shadow(0 0 12px rgba(196, 238, 230, 0.46)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.52));
}

.diuao-wing-menu__trigger:focus-visible {
	outline: 2px solid rgba(158, 216, 209, 0.9);
	outline-offset: 5px;
}

.diuao-wing-menu.is-open .diuao-wing-menu__trigger {
	color: #d7eee9;
	transform: translate(-4px, 3px) rotate(-3deg) scale(0.94);
}

.diuao-wing-menu__eagle {
	position: absolute;
	inset: 0;
	background: currentColor;
	-webkit-mask: url("assets/images/sea-eagle-menu.svg") center / contain no-repeat;
	mask: url("assets/images/sea-eagle-menu.svg") center / contain no-repeat;
}

.diuao-wing-menu__mark {
	position: absolute;
	top: 55%;
	left: 57%;
	display: grid;
	gap: 3px;
	width: 18px;
	transform: translate(-50%, -50%);
}

.diuao-wing-menu__mark i {
	display: block;
	height: 1px;
	background: #101311;
	box-shadow: 0 0 1px rgba(255, 255, 255, 0.32);
	transform-origin: center;
	transition: transform 300ms ease, opacity 180ms ease;
}

.diuao-wing-menu.is-open .diuao-wing-menu__mark i:first-child {
	transform: translateY(4px) rotate(45deg);
}

.diuao-wing-menu.is-open .diuao-wing-menu__mark i:nth-child(2) {
	opacity: 0;
}

.diuao-wing-menu.is-open .diuao-wing-menu__mark i:last-child {
	transform: translateY(-4px) rotate(-45deg);
}

.diuao-wing-menu__backdrop {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(5, 7, 7, 0.46);
	opacity: 0;
	backdrop-filter: blur(0);
	transition: opacity 360ms ease, backdrop-filter 360ms ease;
}

.diuao-wing-menu__panel {
	position: absolute;
	top: max(-16px, -1.5vh);
	right: -2vw;
	z-index: 2;
	width: min(820px, 82vw, 82vh);
	height: auto;
	aspect-ratio: 571.5 / 701;
	visibility: hidden;
	opacity: 0;
	transform: translate(18%, -16%) rotate(-9deg) scale(0.76);
	transform-origin: 92% 5%;
	transition:
		visibility 0s linear 540ms,
		opacity 280ms ease 60ms,
		transform 620ms cubic-bezier(0.16, 0.84, 0.2, 1),
		clip-path 620ms cubic-bezier(0.16, 0.84, 0.2, 1);
	clip-path: inset(0 0 94% 74% round 40%);
}

.diuao-wing-menu__surface {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 62% 34%, rgba(179, 220, 211, 0.18), transparent 34%),
		linear-gradient(145deg, rgba(42, 48, 46, 0.91), rgba(11, 13, 13, 0.70) 58%, rgba(5, 6, 6, 0.52));
	-webkit-mask: url("assets/images/eagle-wing-open.svg") center / contain no-repeat;
	mask: url("assets/images/eagle-wing-open.svg") center / contain no-repeat;
	filter: drop-shadow(-18px 26px 28px rgba(0, 0, 0, 0.48));
}

.diuao-wing-menu__surface::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(115deg, transparent 24%, rgba(225, 246, 240, 0.20) 52%, transparent 66%);
	-webkit-mask: url("assets/images/eagle-wing-open.svg") center / contain no-repeat;
	mask: url("assets/images/eagle-wing-open.svg") center / contain no-repeat;
	mix-blend-mode: screen;
}

.diuao-wing-menu__content {
	position: absolute;
	top: calc(26% + 28px);
	right: 16%;
	width: 30%;
	color: #f8f3e9;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.54);
	opacity: 0;
	transform: translate(22px, -8px);
	transition: opacity 260ms ease, transform 420ms cubic-bezier(0.2, 0.72, 0.18, 1);
}

.diuao-wing-menu__eyebrow {
	margin: 0 0 19px;
	color: rgba(196, 232, 224, 0.72);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
}

.diuao-wing-menu__nav {
	display: grid;
	gap: 0 !important;
	row-gap: 0 !important;
	border-top: 1px solid rgba(236, 246, 242, 0.23);
}

.diuao-wing-menu__nav > br {
	display: none;
}

.diuao-wing-menu__nav :is(a, button) {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	min-height: clamp(38px, 5.1vh, 50px);
	border: 0;
	border-bottom: 1px solid rgba(236, 246, 242, 0.17);
	padding: 0 2px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: clamp(0.88rem, 1.15vw, 1.05rem);
	font-weight: 620;
	text-align: left;
	text-decoration: none;
	margin: 0;
	cursor: pointer;
	transition: color 180ms ease, padding-left 180ms ease, background 180ms ease;
}

.diuao-wing-menu__nav :is(a, button):hover,
.diuao-wing-menu__nav :is(a, button):focus-visible {
	padding-left: 8px;
	background: linear-gradient(90deg, rgba(175, 226, 215, 0.10), transparent);
	color: #d9f1eb;
	outline: 0;
}

.diuao-wing-menu__nav :is(a, button) span {
	color: rgba(196, 232, 224, 0.54);
	font-size: 0.62rem;
	font-weight: 700;
}

.diuao-wing-menu.is-open {
	pointer-events: auto;
}

.diuao-wing-menu.is-open .diuao-wing-menu__backdrop {
	opacity: 1;
	backdrop-filter: blur(3px);
	pointer-events: auto;
}

.diuao-wing-menu.is-open .diuao-wing-menu__panel {
	visibility: visible;
	opacity: 1;
	transform: translate(0, 0) rotate(0) scale(1);
	clip-path: inset(0 0 0 0 round 0);
	transition-delay: 0s;
	pointer-events: auto;
}

.diuao-wing-menu.is-open .diuao-wing-menu__content {
	opacity: 1;
	transform: translate(0, 0);
	transition-delay: 260ms;
}

@media (min-width: 761px) {
	.diuao-wing-menu__surface {
		transform: translateY(-30px);
	}

	.diuao-wing-menu__nav {
		grid-auto-rows: var(--diuao-wing-menu-row-height);
	}

	.diuao-wing-menu__nav :is(a, button) {
		height: var(--diuao-wing-menu-button-height);
		min-height: var(--diuao-wing-menu-button-height);
		font-size: var(--diuao-wing-menu-label-size);
		line-height: 1;
	}
}

.diuao-home-hero {
	--hero-x: 0;
	--hero-y: 0;
	--hero-scroll: 0px;
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: end;
	height: 90svh;
	min-height: 640px;
	max-height: 1040px;
	overflow: hidden;
	padding: clamp(30px, 6vw, 84px);
	background: #171411;
}

.diuao-home-hero__media {
	position: absolute;
	inset: -48px;
	z-index: -2;
	overflow: hidden;
	background: #171411;
}

.diuao-home-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-touch-callout: none;
	-webkit-user-drag: none;
	user-select: none;
	opacity: 0;
	filter: saturate(1.04) contrast(1.06);
	transform: translate3d(calc(var(--hero-x) * 44px), calc(var(--hero-y) * 34px + var(--hero-scroll)), 0) scale(1.1);
	transition: opacity 700ms ease, transform 140ms linear;
	will-change: transform;
}

.diuao-home-hero.is-ready .diuao-home-hero__media img {
	opacity: 1;
}

.diuao-home-hero::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: "";
	background:
		linear-gradient(90deg, rgba(14, 12, 10, 0.62), rgba(14, 12, 10, 0.24) 48%, rgba(14, 12, 10, 0.06)),
		linear-gradient(0deg, #11100f 0%, rgba(17, 16, 15, 0.22) 34%, rgba(17, 16, 15, 0.04) 100%);
}

.diuao-home-hero__content {
	width: min(760px, 100%);
}

.diuao-home-hero__eyebrow,
.diuao-home-section__eyebrow {
	margin: 0 0 12px;
	color: #9ed8d1;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.diuao-home-hero h1 {
	margin: 0;
	color: #fff8ec;
	font-size: clamp(3.5rem, 12vw, 9rem);
	font-weight: 800;
	line-height: 0.88;
	letter-spacing: 0;
}

.diuao-home-hero__lead {
	max-width: 620px;
	margin: clamp(18px, 3vw, 28px) 0 0;
	color: rgba(255, 248, 236, 0.86);
	font-size: clamp(1rem, 1.8vw, 1.35rem);
	line-height: 1.75;
}

.diuao-home-hero__caption {
	margin: 16px 0 0;
	color: rgba(255, 248, 236, 0.72);
	font-size: 0.95rem;
}

.diuao-home-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
}

.diuao-home-hero__tags[hidden] {
	display: none;
}

.diuao-home-hero__tags span {
	border: 1px solid rgba(255, 248, 236, 0.28);
	border-radius: 999px;
	padding: 5px 10px;
	background: rgba(17, 16, 15, 0.22);
	color: rgba(255, 248, 236, 0.82);
	font-size: 0.75rem;
}

.diuao-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.diuao-home-button {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	border: 1px solid rgba(255, 248, 236, 0.42);
	border-radius: 6px;
	padding: 0 16px;
	background: rgba(255, 248, 236, 0.10);
	color: #fff8ec;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	backdrop-filter: blur(12px);
}

.diuao-home-button:hover,
.diuao-home-button:focus-visible {
	background: rgba(255, 248, 236, 0.18);
	border-color: rgba(255, 248, 236, 0.72);
}

.diuao-home-button--dark {
	border-color: rgba(20, 18, 14, 0.24);
	background: #171411;
	color: #fff8ec;
	backdrop-filter: none;
}

.diuao-home-button--dark:hover,
.diuao-home-button--dark:focus-visible {
	background: #2a231e;
}

.diuao-home-hero__empty {
	display: none;
	margin: 18px 0 0;
	color: rgba(255, 248, 236, 0.76);
}

.diuao-home-hero.is-empty .diuao-home-hero__empty {
	display: block;
}

.diuao-home-gallery {
	background:
		linear-gradient(180deg, #11100f 0%, #171512 56%, #11100f 100%);
	padding-block: clamp(24px, 4vw, 52px) 0;
}

.diuao-home-section-heading {
	box-sizing: border-box;
	width: min(1180px, calc(100vw - 48px));
	margin: 0 auto clamp(20px, 4vw, 42px);
}

.diuao-home-gallery > .diuao-home-section-heading {
	width: auto;
	max-width: 1180px;
	margin: 0 0 clamp(20px, 4vw, 42px);
	padding-inline: clamp(24px, 6vw, 84px);
}

.diuao-home-section-heading h2 {
	margin: 0;
	font-size: clamp(2rem, 4.35vw, 3.9rem);
	line-height: 0.98;
	letter-spacing: 0;
}

.diuao-home-section-heading p {
	max-width: 720px;
	margin: 18px 0 0;
	color: rgba(244, 239, 229, 0.74);
	font-size: 1rem;
	line-height: 1.85;
}

.diuao-home-gallery .diuao-gallery {
	margin-block-start: 0;
}

.diuao-home-gallery .diuao-gallery__topbar,
.diuao-home-gallery .diuao-gallery__status {
	position: absolute;
}

.diuao-home-gallery .diuao-gallery__topbar {
	top: 0;
}

.diuao-home-gallery .diuao-gallery__status {
	bottom: 20px;
}

.diuao-home-gallery__more {
	display: flex;
	justify-content: center;
	padding: clamp(24px, 4vw, 44px) 20px clamp(42px, 6vw, 78px);
	background: #11100f;
}

.diuao-home-button--light {
	border-color: rgba(244, 239, 229, 0.28);
	background: rgba(244, 239, 229, 0.08);
	color: #f8f3e9;
}

.diuao-home-button--light:hover,
.diuao-home-button--light:focus-visible {
	border-color: rgba(158, 216, 209, 0.66);
	background: rgba(158, 216, 209, 0.14);
}

.diuao-home-about,
.diuao-home-news {
	padding: clamp(58px, 9vw, 128px) clamp(20px, 6vw, 84px);
}

.diuao-home-about {
	--diuao-about-brass: #b8824a;
	--diuao-about-brass-deep: #8f632f;
	--diuao-about-pop: #2b8ec2;
	position: relative;
	background:
		radial-gradient(ellipse at 18% 0%, rgba(255, 252, 238, 0.96) 0%, rgba(255, 248, 222, 0.46) 28%, transparent 58%),
		linear-gradient(135deg, rgba(255, 255, 250, 0.44) 0%, transparent 40%),
		linear-gradient(180deg, #f3ead9 0%, #e9e3d5 52%, #ded3bf 100%);
	color: #171411;
}

.diuao-home-about__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
	column-gap: clamp(48px, 8vw, 132px);
	align-items: start;
	width: min(1040px, 100%);
	margin: 0 auto;
}

.diuao-home-about__eyebrow,
.diuao-home-news__eyebrow {
	margin: 0 0 16px;
	font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.diuao-home-about__eyebrow,
.diuao-home-about__rule,
.diuao-home-about__en {
	grid-column: 1 / -1;
}

.diuao-home-about__eyebrow {
	color: var(--diuao-about-brass-deep);
}

.diuao-home-about__rule,
.diuao-home-news__rule {
	height: 1px;
	margin-bottom: clamp(32px, 5vw, 48px);
	transform: scaleX(0);
	transform-origin: left center;
}

.diuao-home-about__rule {
	background: var(--diuao-about-brass);
	opacity: 0.45;
	transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.diuao-home-about__en {
	display: grid;
	gap: 4px;
	max-width: 980px;
}

.diuao-home-about__en-line {
	overflow: hidden;
	padding-bottom: 0.18em;
}

.diuao-home-about__en-line > span {
	display: block;
	font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(1.32rem, 3.4vw, 2.06rem);
	font-weight: 600;
	line-height: 1.42;
	color: #3a352c;
	transform: translateY(112%);
	transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

.diuao-home-about__en-line:nth-child(1) > span {
	transition-delay: 0.3s;
}

.diuao-home-about__en-line:nth-child(2) > span {
	transition-delay: 0.52s;
}

.diuao-home-about__en-line:nth-child(3) > span {
	transition-delay: 0.74s;
}

.diuao-home-about__scatter i {
	display: inline-block;
	font-style: inherit;
	color: var(--diuao-about-pop);
	font-size: 1.08em;
	animation: diuao-home-about-letterfloat ease-in-out infinite alternate;
}

.diuao-home-about__scatter i:nth-child(1) {
	--diuao-about-letter-rotate: -3deg;
	animation-duration: 2.6s;
}

.diuao-home-about__scatter i:nth-child(2) {
	--diuao-about-letter-rotate: 2deg;
	animation-duration: 3.1s;
	animation-delay: -1.2s;
}

.diuao-home-about__scatter i:nth-child(3) {
	--diuao-about-letter-rotate: -2deg;
	animation-duration: 2.8s;
	animation-delay: -0.5s;
}

.diuao-home-about__scatter i:nth-child(4) {
	--diuao-about-letter-rotate: 3deg;
	animation-duration: 3.4s;
	animation-delay: -2s;
}

.diuao-home-about__scatter i:nth-child(5) {
	--diuao-about-letter-rotate: -2deg;
	animation-duration: 2.5s;
	animation-delay: -0.9s;
}

.diuao-home-about__scatter i:nth-child(6) {
	--diuao-about-letter-rotate: 2deg;
	animation-duration: 3s;
	animation-delay: -1.6s;
}

.diuao-home-about__scatter i:nth-child(7) {
	--diuao-about-letter-rotate: -3deg;
	animation-duration: 2.7s;
	animation-delay: -0.3s;
}

.diuao-home-about__scatter i:nth-child(8) {
	--diuao-about-letter-rotate: 2deg;
	animation-duration: 3.2s;
	animation-delay: -1.9s;
}

.diuao-home-about__scatter i:nth-child(9) {
	--diuao-about-letter-rotate: -2deg;
	animation-duration: 2.9s;
	animation-delay: -1.1s;
}

.diuao-home-about__scatter i:nth-child(10) {
	--diuao-about-letter-rotate: 3deg;
	animation-duration: 2.6s;
	animation-delay: -0.7s;
}

@keyframes diuao-home-about-letterfloat {
	from {
		transform: translateY(1.5px) rotate(var(--diuao-about-letter-rotate, 0deg));
	}

	to {
		transform: translateY(-2.5px) rotate(var(--diuao-about-letter-rotate, 0deg));
	}
}

.diuao-home-about__jp {
	grid-column: 1;
	margin-top: clamp(28px, 4vw, 40px);
}

.diuao-home-about__jp p {
	margin: 0;
	font-size: 1.06rem;
	font-weight: 400;
	line-height: 2.1;
	color: #55524a;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.9s ease, transform 0.9s ease;
}

.diuao-home-about__jp p:nth-child(1) {
	transition-delay: 1s;
}

.diuao-home-about__jp p:nth-child(2) {
	transition-delay: 1.15s;
}

.diuao-home-about__jp p:nth-child(3) {
	transition-delay: 1.3s;
}

.diuao-home-about__marker {
	background: linear-gradient(transparent 60%, rgba(77, 181, 230, 0.4) 60%);
	background-repeat: no-repeat;
	background-size: 0% 100%;
	transition: background-size 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1.9s;
}

.diuao-home-about__me {
	grid-column: 2;
	display: flex;
	align-items: flex-start;
	column-gap: 22px;
	row-gap: 14px;
	margin-top: clamp(38px, 4.5vw, 58px);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.9s ease 1.75s, transform 0.9s ease 1.75s;
}

.diuao-home-about__social {
	color: #3a352c;
	text-decoration: none;
}

.diuao-home-about__profile {
	display: grid;
	align-items: center;
	justify-items: center;
	gap: 4px;
	flex: 0 0 auto;
	color: #3a352c;
	font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.96rem;
	font-weight: 600;
}

.diuao-home-about__profile img {
	display: block;
	width: 86px;
	height: 86px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	object-fit: cover;
	box-shadow: 0 14px 28px rgba(50, 38, 24, 0.14);
}

.diuao-home-about__profile span {
	display: inline-block;
	border-bottom: 1px solid rgba(143, 99, 47, 0.36);
	line-height: 1.1;
	padding-bottom: 2px;
}

.diuao-home-about__socials {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-top: 29px;
}

.diuao-home-about__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	transition:
		color 0.24s ease,
		transform 0.24s ease;
}

.diuao-home-about__social svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.diuao-home-about__social:hover,
.diuao-home-about__social:focus-visible {
	color: var(--diuao-about-brass-deep);
	transform: translateY(-1px);
}

.diuao-home-about__more-wrap {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	margin-top: clamp(66px, 7vw, 96px);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.9s ease 1.9s, transform 0.9s ease 1.9s;
}

.diuao-home-about__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 112px;
	min-height: 50px;
	border: 0;
	border-radius: 6px;
	padding: 14px 32px;
	background: #a9cfe3;
	color: #1d4a63;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	backdrop-filter: none;
	box-shadow: 0 10px 24px rgba(50, 38, 24, 0.10);
	cursor: pointer;
	transition: background 0.3s ease;
}

.diuao-home-about__more:hover,
.diuao-home-about__more:focus-visible {
	background: #9ac5dc;
	color: #1d4a63;
}

.diuao-home-about.in-view .diuao-home-about__eyebrow,
.diuao-home-news.in-view .diuao-home-news__eyebrow,
.diuao-home-about.in-view .diuao-home-about__jp p,
.diuao-home-about.in-view .diuao-home-about__me,
.diuao-home-about.in-view .diuao-home-about__more-wrap,
.diuao-home-news.in-view .diuao-home-news__row,
.diuao-home-news.in-view .diuao-home-news__all {
	opacity: 1;
	transform: translateY(0);
}

.diuao-home-about.in-view .diuao-home-about__rule,
.diuao-home-news.in-view .diuao-home-news__rule {
	transform: scaleX(1);
}

.diuao-home-about.in-view .diuao-home-about__en-line > span {
	transform: translateY(0);
}

.diuao-home-about.in-view .diuao-home-about__marker {
	background-size: 100% 100%;
}

.diuao-home-news {
	background:
		radial-gradient(ellipse 56% 44% at 82% 112%, rgba(184, 142, 74, 0.18) 0%, rgba(184, 142, 74, 0.10) 34%, transparent 62%),
		radial-gradient(ellipse 54% 38% at 14% 112%, rgba(255, 255, 255, 0.075) 0%, transparent 58%),
		linear-gradient(180deg, #070707 0%, #0b0b0a 54%, #141009 100%);
	color: #e7e3da;
	margin-bottom: -1px;
}

.diuao-home-news__inner {
	width: min(820px, 100%);
	margin: 0 auto;
}

.diuao-home-news__eyebrow {
	color: #c9a66b;
	transition-duration: 0.6s;
}

.diuao-home-news__rule {
	background: #c9a66b;
	opacity: 0.4;
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.diuao-home-news__list {
	display: block;
}

.diuao-home-news__row {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 24px;
	align-items: baseline;
	padding: 22px 0;
	border-bottom: 1px solid rgba(231, 227, 218, 0.1);
	color: inherit;
	text-decoration: none;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.diuao-home-news__row:nth-of-type(1) {
	transition-delay: 0.3s;
}

.diuao-home-news__row:nth-of-type(2) {
	transition-delay: 0.42s;
}

.diuao-home-news__row:nth-of-type(3) {
	transition-delay: 0.54s;
}

.diuao-home-news__date {
	font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.78rem;
	color: #5c5e63;
}

.diuao-home-news__title {
	position: relative;
	display: inline-block;
	width: fit-content;
	font-size: 0.97rem;
	font-weight: 400;
	color: #e7e3da;
}

.diuao-home-news__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 0;
	height: 1px;
	background: #c9a66b;
	transition: width 0.3s ease;
}

.diuao-home-news__row:hover .diuao-home-news__title,
.diuao-home-news__row:focus-visible .diuao-home-news__title {
	color: #c9a66b;
	transition: color 0.3s ease;
}

.diuao-home-news__row:hover .diuao-home-news__title::after,
.diuao-home-news__row:focus-visible .diuao-home-news__title::after {
	width: 100%;
}

.diuao-home-news__all {
	display: inline-block;
	margin-top: 36px;
	font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.82rem;
	color: #8f632f;
	text-decoration: none;
	border-bottom: 1px solid rgba(201, 166, 107, 0.3);
	padding-bottom: 2px;
	opacity: 0;
	transform: translateY(10px);
	transition:
		opacity 0.7s ease 0.7s,
		transform 0.7s ease 0.7s,
		color 0.3s ease,
		border-color 0.3s ease;
}

.diuao-home-news__all:hover,
.diuao-home-news__all:focus-visible {
	color: #c9a66b;
	border-color: #c9a66b;
}

.wpcf7 {
	box-sizing: border-box;
	width: min(760px, calc(100vw - 40px));
	margin: clamp(28px, 5vw, 48px) auto 0;
}

.wpcf7 form {
	box-sizing: border-box;
	display: grid;
	gap: 18px;
	border: 1px solid rgba(46, 39, 30, 0.12);
	border-radius: 8px;
	padding: clamp(20px, 4vw, 36px);
	background:
		linear-gradient(135deg, rgba(255, 255, 252, 0.82), rgba(246, 240, 228, 0.66)),
		rgba(255, 255, 252, 0.72);
	box-shadow: 0 20px 48px rgba(52, 42, 30, 0.12);
	backdrop-filter: blur(10px);
}

.wpcf7 p {
	margin: 0;
}

.wpcf7 label {
	display: grid;
	gap: 8px;
	color: rgba(29, 26, 22, 0.78);
	font-size: 0.9rem;
	font-weight: 700;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid rgba(45, 37, 28, 0.20);
	border-radius: 6px;
	padding: 13px 14px;
	background: rgba(255, 255, 252, 0.86);
	color: #1d1a16;
	font: inherit;
	line-height: 1.55;
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	border-color: rgba(47, 126, 119, 0.72);
	background: #fffefa;
	box-shadow: 0 0 0 4px rgba(47, 126, 119, 0.12);
}

.wpcf7 input[type="submit"] {
	justify-self: start;
	min-height: 46px;
	border: 1px solid rgba(23, 20, 17, 0.20);
	border-radius: 6px;
	padding: 0 22px;
	background: #171411;
	color: #fff8ec;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	transition: transform 140ms ease, background 160ms ease, border-color 160ms ease;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus-visible {
	border-color: rgba(47, 126, 119, 0.52);
	background: #263a36;
}

.wpcf7 input[type="submit"]:active {
	transform: translateY(1px);
}

.wpcf7 .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #a94e3d;
	font-size: 0.82rem;
	font-weight: 700;
}

.wpcf7 form .wpcf7-response-output {
	margin: 0;
	border: 1px solid rgba(47, 126, 119, 0.28);
	border-radius: 6px;
	padding: 12px 14px;
	background: rgba(47, 126, 119, 0.08);
	color: rgba(29, 26, 22, 0.78);
	font-size: 0.9rem;
}

.diuao-contact-letter {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(150px, 260px) minmax(0, 700px);
	align-items: start;
	gap: clamp(20px, 4vw, 58px);
	justify-content: center;
	min-height: 100svh;
	padding: clamp(72px, 7vw, 112px) clamp(20px, 6vw, 96px) clamp(58px, 6vw, 92px);
	overflow: hidden;
	background:
		radial-gradient(ellipse at 82% 12%, rgba(184, 142, 74, 0.18) 0%, transparent 35%),
		radial-gradient(ellipse at 14% 24%, rgba(255, 255, 255, 0.08) 0%, transparent 34%),
		linear-gradient(135deg, #0b0b0a 0%, #11100e 48%, #050505 100%);
	color: #f5efe5;
}

.diuao-contact-letter::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	content: "";
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 52px 52px;
	opacity: 0.28;
	mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}

.diuao-contact-letter::after {
	position: absolute;
	inset: auto -8% -16% 36%;
	z-index: -1;
	height: 42%;
	content: "";
	background: radial-gradient(ellipse, rgba(0, 0, 0, 0.68) 0%, transparent 66%);
	filter: blur(26px);
	opacity: 0.8;
}

.diuao-contact-letter__intro {
	position: relative;
	z-index: 2;
	align-self: start;
	max-width: 280px;
	padding-top: clamp(8px, 1.8vw, 26px);
}

.diuao-contact-letter__eyebrow {
	margin: 0 0 14px;
	color: #c6a266;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.diuao-contact-letter__intro h1 {
	margin: 0;
	color: #fff8ee;
	font-size: clamp(2.35rem, 4.25vw, 4.35rem);
	line-height: 0.98;
	font-weight: 400;
}

.diuao-contact-letter__intro p {
	margin: 26px 0 0;
	color: rgba(245, 239, 229, 0.72);
	font-size: clamp(0.98rem, 1.4vw, 1.08rem);
	line-height: 1.9;
}

.diuao-contact-letter__stage {
	position: relative;
	z-index: 1;
	align-self: start;
	width: min(100%, 700px);
	margin-inline: 0;
	padding: clamp(8px, 1.8vw, 24px) 0 0;
}

.diuao-contact-letter__envelope {
	position: absolute;
	inset: auto auto -8% -44%;
	z-index: 0;
	width: 132%;
	height: 64%;
	background: url("assets/images/huutou5-wp.webp") center / contain no-repeat;
	box-shadow:
		0 34px 78px rgba(0, 0, 0, 0.48),
		0 12px 26px rgba(0, 0, 0, 0.28);
	opacity: 0.92;
	transform: rotate(-8deg);
	transform-origin: 54% 58%;
}

.diuao-contact-letter__paper {
	position: relative;
	z-index: 1;
	min-height: clamp(480px, 48vw, 620px);
	border: 1px solid rgba(119, 91, 51, 0.20);
	border-radius: 4px;
	padding: clamp(30px, 3.2vw, 46px) clamp(24px, 4vw, 50px);
	background:
		radial-gradient(ellipse at 100% 0%, rgba(120, 83, 36, 0.15) 0%, transparent 30%),
		linear-gradient(105deg, rgba(255, 255, 255, 0.86) 0%, rgba(253, 248, 237, 0.72) 54%, rgba(238, 224, 200, 0.76) 100%),
		#f2e5cc;
	box-shadow:
		0 34px 88px rgba(0, 0, 0, 0.42),
		inset 0 0 58px rgba(116, 86, 44, 0.14);
	color: #211c15;
	transform: rotate(1.2deg);
}

.diuao-contact-letter__paper::before {
	position: absolute;
	inset: 0;
	content: "";
	border-radius: inherit;
	background:
		linear-gradient(90deg, rgba(114, 80, 38, 0.08), transparent 18%, transparent 82%, rgba(114, 80, 38, 0.10)),
		repeating-linear-gradient(0deg, rgba(95, 70, 42, 0.045) 0 1px, transparent 1px 5px);
	opacity: 0.5;
	pointer-events: none;
}

.diuao-contact-letter__header,
.diuao-contact-letter .wpcf7,
.diuao-contact-letter__recaptcha,
.diuao-contact-letter__missing {
	position: relative;
	z-index: 2;
}

.diuao-contact-letter__header {
	width: min(520px, calc(100% - clamp(150px, 18vw, 200px)));
	margin-bottom: clamp(14px, 2.4vw, 26px);
}

.diuao-contact-letter__header h2 {
	margin: 0;
	color: #211c15;
	font-size: clamp(1.7rem, 2.3vw, 2.35rem);
	line-height: 1.08;
	font-weight: 500;
}

.diuao-contact-letter__header p:not(.diuao-contact-letter__eyebrow) {
	max-width: 400px;
	margin: 14px 0 0;
	color: rgba(33, 28, 21, 0.66);
	font-size: 0.95rem;
	line-height: 1.75;
}

.diuao-contact-letter__photo {
	position: absolute;
	--diuao-contact-tape-left: 79%;
	--diuao-contact-tape-top: -13px;
	--diuao-contact-tape-width: 118px;
	--diuao-contact-tape-height: 50px;
	--diuao-contact-tape-rotate: 10deg;
	top: clamp(18px, 2.2vw, 30px);
	right: clamp(18px, 2.8vw, 34px);
	z-index: 4;
	width: clamp(148px, 16vw, 196px);
	margin: 0;
	padding: 10px 10px 26px;
	border: 1px solid rgba(109, 82, 48, 0.18);
	background:
		linear-gradient(180deg, rgba(255, 254, 249, 0.98), rgba(247, 241, 226, 0.98)),
		#fbf7ed;
	box-shadow:
		0 15px 24px rgba(37, 26, 14, 0.30),
		-3px 5px 9px rgba(74, 51, 25, 0.10),
		0 3px 0 rgba(255, 255, 255, 0.82) inset;
	transform: rotate(4deg);
	transform-origin: 52% 12%;
}

.diuao-contact-letter__photo::before {
	position: absolute;
	top: var(--diuao-contact-tape-top);
	left: var(--diuao-contact-tape-left);
	z-index: 8;
	width: var(--diuao-contact-tape-width);
	height: var(--diuao-contact-tape-height);
	content: "";
	background: url("assets/images/tape1-wp.webp") center / 100% 100% no-repeat;
	filter:
		drop-shadow(0 7px 8px rgba(38, 24, 9, 0.18))
		drop-shadow(0 1px 0 rgba(255, 255, 255, 0.18));
	opacity: 0.94;
	pointer-events: none;
	transform: translate(-50%, -18%) rotate(var(--diuao-contact-tape-rotate));
}

.diuao-contact-letter__photo::after {
	position: absolute;
	top: 10px;
	right: 10px;
	left: 10px;
	z-index: 5;
	aspect-ratio: 4 / 5;
	content: "";
	background:
		radial-gradient(ellipse at center, transparent 50%, rgba(255, 254, 248, 0.22) 79%, rgba(246, 239, 224, 0.56) 100%),
		linear-gradient(225deg, transparent 64%, rgba(246, 239, 224, 0.44) 100%);
	pointer-events: none;
}

.diuao-contact-letter__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	filter: saturate(0.84) contrast(0.98);
}

.diuao-contact-letter__photo figcaption {
	margin: 10px 0 0;
	color: rgba(33, 28, 21, 0.58);
	font-size: 0.66rem;
	line-height: 1.3;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.diuao-contact-letter .wpcf7 {
	width: min(590px, 100%);
	margin: 0;
}

.diuao-contact-letter .wpcf7 form {
	display: grid;
	gap: 12px;
	border: 0;
	border-radius: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
}

.diuao-contact-letter .wpcf7 label {
	gap: 7px;
	color: rgba(33, 28, 21, 0.72);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.13em;
	line-height: 1.45;
	text-transform: uppercase;
}

.diuao-contact-letter .wpcf7 input[type="text"],
.diuao-contact-letter .wpcf7 input[type="email"],
.diuao-contact-letter .wpcf7 input[type="url"],
.diuao-contact-letter .wpcf7 input[type="tel"],
.diuao-contact-letter .wpcf7 input[type="number"],
.diuao-contact-letter .wpcf7 select,
.diuao-contact-letter .wpcf7 textarea {
	border: 0;
	border-bottom: 1px solid rgba(52, 42, 30, 0.28);
	border-radius: 0;
	padding: 8px 0 10px;
	background: transparent;
	color: #211c15;
	font-size: 1.07rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.65;
}

.diuao-contact-letter .wpcf7 textarea {
	height: clamp(196px, 19vw, 288px);
	min-height: 196px;
	border: 1px solid rgba(52, 42, 30, 0.24);
	padding: 16px 14px 13px;
	line-height: 34px;
	background-color: rgba(255, 255, 255, 0.08);
	background-image:
		linear-gradient(to bottom, transparent 0 33px, rgba(52, 42, 30, 0.12) 33px 34px),
		linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
	background-origin: content-box, padding-box;
	background-clip: content-box, padding-box;
	background-repeat: repeat-y, no-repeat;
	background-size: 100% 34px, auto;
}

.diuao-contact-letter .wpcf7 input:focus,
.diuao-contact-letter .wpcf7 select:focus,
.diuao-contact-letter .wpcf7 textarea:focus {
	border-color: rgba(35, 124, 116, 0.72);
	background-color: rgba(255, 255, 255, 0.18);
	box-shadow: 0 0 0 4px rgba(35, 124, 116, 0.10);
}

.diuao-contact-letter .wpcf7 input[type="submit"] {
	min-width: 132px;
	margin-top: 4px;
	border-radius: 0;
	border-color: rgba(16, 14, 12, 0.20);
	padding: 10px 18px;
	background: #11100f;
	color: #f5efe5;
	font-size: 0.74rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.diuao-contact-letter .wpcf7 input[type="submit"]:hover,
.diuao-contact-letter .wpcf7 input[type="submit"]:focus-visible {
	background: #273d39;
}

.diuao-contact-letter .wpcf7 form .wpcf7-response-output {
	background: rgba(35, 124, 116, 0.08);
	font-size: 0.82rem;
	line-height: 1.55;
	max-width: 590px;
	white-space: pre-line;
}

.diuao-contact-letter .wpcf7 .wpcf7-not-valid-tip {
	max-width: min(100%, 420px);
	margin-top: 5px;
	color: #a54c3d;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.45;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: pre-line;
}

.diuao-contact-letter__recaptcha {
	max-width: 590px;
	margin: 18px 0 0;
	color: rgba(33, 28, 21, 0.48);
	font-size: 0.72rem;
	line-height: 1.65;
}

.diuao-contact-letter__recaptcha a {
	color: rgba(33, 28, 21, 0.66);
}

.diuao-contact-letter__missing {
	width: min(560px, 100%);
	border: 1px dashed rgba(52, 42, 30, 0.32);
	padding: 14px 16px;
	color: rgba(33, 28, 21, 0.70);
	font-size: 0.9rem;
}

body:has(.diuao-contact-letter) .grecaptcha-badge {
	visibility: hidden;
}

.diuao-home-top {
	position: fixed;
	right: clamp(16px, 4vw, 34px);
	bottom: clamp(16px, 4vw, 34px);
	z-index: 80;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 248, 236, 0.34);
	border-radius: 50%;
	background: rgba(17, 16, 15, 0.72);
	color: #fff8ec;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity 180ms ease, transform 180ms ease, background 160ms ease, border-color 160ms ease;
	backdrop-filter: blur(12px);
}

.diuao-home-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.diuao-home-top:hover,
.diuao-home-top:focus-visible {
	border-color: rgba(255, 248, 236, 0.72);
	background: rgba(42, 35, 30, 0.86);
}

@media (max-width: 980px) {
	.diuao-contact-letter {
		grid-template-columns: 1fr;
		gap: 18px;
		padding-top: clamp(82px, 13vw, 118px);
	}

	.diuao-contact-letter__intro {
		align-self: auto;
		width: min(760px, 100%);
		max-width: none;
		margin-inline: auto;
		padding-top: 0;
	}

	.diuao-contact-letter__intro h1 {
		max-width: 620px;
		font-size: clamp(2.35rem, 8vw, 4.2rem);
	}

	.diuao-contact-letter__stage {
		width: min(100%, 700px);
		margin-inline: auto;
		padding: 0;
	}

	.diuao-contact-letter__paper {
		min-height: 0;
		transform: none;
	}

	.diuao-contact-letter__header {
		width: min(100%, 560px);
		padding-right: clamp(150px, 25vw, 206px);
	}

	.diuao-contact-letter__photo {
		--diuao-contact-tape-left: 79%;
		--diuao-contact-tape-top: -12px;
		--diuao-contact-tape-width: 108px;
		--diuao-contact-tape-height: 45px;
		--diuao-contact-tape-rotate: 10deg;
		right: clamp(14px, 2vw, 24px);
		width: clamp(130px, 22vw, 176px);
		padding: 8px 8px 23px;
	}

	.diuao-contact-letter__photo::before {
		top: var(--diuao-contact-tape-top);
		left: var(--diuao-contact-tape-left);
		width: var(--diuao-contact-tape-width);
		height: var(--diuao-contact-tape-height);
	}

	.diuao-contact-letter__photo::after {
		top: 8px;
		right: 8px;
		left: 8px;
	}

	.diuao-contact-letter__envelope {
		inset: auto auto -7% -44%;
		width: 132%;
		height: 48%;
		opacity: 0.72;
	}
}

@media (max-width: 760px) {
	.diuao-wing-menu__trigger {
		top: 10px;
		right: 10px;
		width: 72px;
	}

	.diuao-wing-menu__mark {
		width: 16px;
	}

	.diuao-wing-menu__panel {
		top: 114px;
		right: -40px;
		width: 540px;
		height: 934px;
		transform: translate(22%, -18%) rotate(-7deg) scale(0.76);
		clip-path: inset(0 0 96% 72% round 40%);
	}

	.diuao-wing-menu__surface {
		background:
			radial-gradient(circle at 55% 28%, rgba(181, 225, 216, 0.16), transparent 30%),
			linear-gradient(155deg, rgba(42, 48, 46, 0.92), rgba(10, 12, 12, 0.73) 64%, rgba(4, 5, 5, 0.50));
		-webkit-mask-image: url("assets/images/eagle-wing-mobile.svg");
		mask-image: url("assets/images/eagle-wing-mobile.svg");
	}

	.diuao-wing-menu__surface::after {
		-webkit-mask-image: url("assets/images/eagle-wing-mobile.svg");
		mask-image: url("assets/images/eagle-wing-mobile.svg");
	}

	.diuao-wing-menu__content {
		top: 41px;
		left: auto;
		right: 64px;
		width: clamp(120px, 40vw, 175px);
	}

	.diuao-wing-menu__eyebrow {
		margin-bottom: 19px;
	}

	.diuao-wing-menu__nav {
		grid-auto-rows: var(--diuao-wing-menu-row-height);
	}

	.diuao-wing-menu__nav :is(a, button) {
		height: var(--diuao-wing-menu-button-height);
		min-height: var(--diuao-wing-menu-button-height);
		font-size: var(--diuao-wing-menu-mobile-label-size);
		line-height: 1;
	}

	.diuao-home-hero {
		height: 90svh;
		min-height: 620px;
		max-height: 840px;
		padding: 26px 20px;
	}

	.diuao-home-hero.is-portrait .diuao-home-hero__media {
		inset: 0 -24px;
	}

	.diuao-home-hero.is-portrait .diuao-home-hero__media img {
		object-position: 50% 50%;
		transform: translate3d(calc(var(--hero-x) * 18px), calc(var(--hero-y) * 12px + var(--hero-scroll)), 0) scale(1.02);
	}

	.diuao-home-hero h1 {
		font-size: clamp(3rem, 18vw, 5.8rem);
	}

	.diuao-home-news__row {
		grid-template-columns: 1fr;
	}

	.diuao-home-news__row {
		gap: 6px;
	}

	.diuao-home-about__jp p {
		font-size: 0.97rem;
	}

	.diuao-home-about__inner {
		grid-template-columns: 1fr;
	}

	.diuao-home-about__jp,
	.diuao-home-about__me {
		grid-column: 1;
	}

	.diuao-home-about__me {
		flex-wrap: wrap;
		margin-top: 30px;
	}

	.diuao-home-about__more-wrap {
		grid-column: 1;
		justify-content: center;
		margin-top: 52px;
	}

	.diuao-contact-letter {
		padding: 78px 16px 54px;
	}

	.diuao-contact-letter__intro h1 {
		font-size: clamp(2.35rem, 13vw, 3.7rem);
	}

	.diuao-contact-letter__paper {
		padding: 24px 18px;
	}

	.diuao-contact-letter__header {
		width: 100%;
		padding-right: 0;
	}

	.diuao-contact-letter__photo {
		position: relative;
		--diuao-contact-tape-left: 51%;
		--diuao-contact-tape-top: -13px;
		--diuao-contact-tape-width: 150px;
		--diuao-contact-tape-height: 47px;
		--diuao-contact-tape-rotate: -4deg;
		top: auto;
		right: auto;
		width: min(100%, 360px);
		margin: -2px auto 22px;
		padding: 9px 9px 22px;
		transform: rotate(3deg);
	}

	.diuao-contact-letter__photo img {
		aspect-ratio: 16 / 10;
	}

	.diuao-contact-letter__photo::before {
		top: var(--diuao-contact-tape-top);
		left: var(--diuao-contact-tape-left);
		width: var(--diuao-contact-tape-width);
		height: var(--diuao-contact-tape-height);
	}

	.diuao-contact-letter__photo::after {
		top: 9px;
		right: 9px;
		left: 9px;
		aspect-ratio: 16 / 10;
	}

	.diuao-contact-letter__envelope {
		inset: auto auto -3% -60%;
		width: 150%;
		height: 40%;
		opacity: 0.70;
		transform: rotate(-8deg);
	}

	.diuao-contact-letter .wpcf7 {
		width: 100%;
	}

	.diuao-contact-letter .wpcf7 input[type="submit"] {
		width: 100%;
	}
}

body:has(.diuao-home) .diuao-home-news {
	padding-block: clamp(86px, 10vw, 148px);
}

body:has(.diuao-home) > .wp-site-blocks > .diuao-contact-letter {
	margin-block-start: 0 !important;
	margin-top: -1px;
	padding-top: clamp(10px, 2vw, 24px);
	background:
		radial-gradient(ellipse 56% 44% at 82% -12%, rgba(184, 142, 74, 0.18) 0%, rgba(184, 142, 74, 0.10) 34%, transparent 62%),
		radial-gradient(ellipse 54% 38% at 14% -12%, rgba(255, 255, 255, 0.075) 0%, transparent 58%),
		linear-gradient(180deg, #141009 0%, #11100e 42%, #050505 100%);
}

@media (prefers-reduced-motion: reduce) {
	.diuao-wing-menu__trigger,
	.diuao-wing-menu__panel,
	.diuao-wing-menu__content,
	.diuao-wing-menu__backdrop,
	.diuao-wing-menu__mark i {
		transition-duration: 1ms !important;
		transition-delay: 0s !important;
	}

	.diuao-home-hero__media img {
		transform: scale(1.04);
		transition: opacity 300ms ease;
	}

	.diuao-home-hero.is-portrait .diuao-home-hero__media img {
		transform: scale(1);
	}

	.diuao-home-about__eyebrow,
	.diuao-home-about__jp p,
	.diuao-home-about__me,
	.diuao-home-news__eyebrow,
	.diuao-home-news__row,
	.diuao-home-news__all {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.diuao-home-about__rule,
	.diuao-home-news__rule {
		transform: scaleX(1);
		transition: none;
	}

	.diuao-home-about__en-line > span {
		transform: none;
		transition: none;
	}

	.diuao-home-about__marker {
		background-size: 100% 100%;
		transition: none;
	}

	.diuao-home-about__scatter i {
		animation: none;
		transform: rotate(var(--diuao-about-letter-rotate, 0deg));
	}
}

/* ページ内アンカー(#contact等)をスムーススクロールに。視覚効果を減らす設定の人には適用しない */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* 404・検索結果ページ: コンテンツが短くてもフッターを最下部へ（暗ページと同じsticky方式） */
body.error404 .wp-site-blocks,
body.search .wp-site-blocks {
	display: flex;
	flex-direction: column;
}

body.error404 .wp-site-blocks > main,
body.search .wp-site-blocks > main {
	flex: 1 0 auto;
}

/* ---------- サイト共通フッターの調整（テンプレパーツはDB側、見た目はここで統一） ---------- */

/* ニュアンス: オリーブ寄り(#2f2f29)を、暗ページと同系のクールなチャコールへ */
.wp-site-blocks > footer.wp-block-template-part > .wp-block-group {
	background-color: #26282b !important;
	padding-top: clamp(26px, 4vw, 44px);
	padding-bottom: clamp(22px, 3vw, 34px);
}

/* ナビ: ボタン然とした佇まいをやめ、細く静かなテキストリンクに */
.wp-site-blocks > footer.wp-block-template-part .wp-block-button__link {
	padding: 4px 10px;
	background: transparent;
	color: #c6c2b8 !important;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.09em;
	text-decoration: none;
	transition: color 0.2s ease;
}

.wp-site-blocks > footer.wp-block-template-part .wp-block-button__link:hover,
.wp-site-blocks > footer.wp-block-template-part .wp-block-button__link:focus-visible {
	color: #c9a66b !important;
}

/* ナビ行: 間隔を一定に、狭幅では自然に折り返す */
.wp-site-blocks > footer.wp-block-template-part .wp-block-group.is-content-justification-center:not(.is-nowrap) {
	flex-wrap: wrap;
	gap: clamp(4px, 2.4vw, 30px);
	row-gap: 10px;
}

/* 最下段(禁止文 / Privacy・おまけ / ©): 小さく淡く、縦のリズムを揃える */
.wp-site-blocks > footer.wp-block-template-part .wp-block-group.is-nowrap {
	margin-top: clamp(14px, 2.4vw, 24px);
	gap: clamp(10px, 2vw, 22px);
	align-items: center;
}

.wp-site-blocks > footer.wp-block-template-part .wp-block-group.is-nowrap p {
	margin: 0;
	color: #8f8c84 !important;
	font-size: 11.5px;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.7;
}

.wp-site-blocks > footer.wp-block-template-part .wp-block-group.is-nowrap .wp-block-buttons,
.wp-site-blocks > footer.wp-block-template-part .wp-block-group.is-nowrap .wp-block-button {
	display: flex;
	align-items: center;
	margin: 0;
}

.wp-site-blocks > footer.wp-block-template-part .wp-block-group.is-nowrap .wp-block-button__link {
	padding: 0 6px;
	color: #a7a399 !important;
	font-size: 11.5px;
	letter-spacing: 0.06em;
	line-height: 1.7;
}

/* 狭幅: 1行を崩して「禁止文 → Privacy・おまけ(横並び維持) → ©」の3段に整える */
@media (max-width: 760px) {
	.wp-site-blocks > footer.wp-block-template-part .wp-block-group.is-nowrap {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 8px;
	}

	.wp-site-blocks > footer.wp-block-template-part .wp-block-group.is-nowrap > p {
		width: 100%;
		padding-right: 0;
		padding-left: 0;
		text-align: center;
	}

	.wp-site-blocks > footer.wp-block-template-part .wp-block-group.is-nowrap .wp-block-buttons {
		flex-wrap: nowrap;
		justify-content: center;
		gap: 22px;
	}
}
