/* =========================================================
   La forme de Da Vinci — ABOUT (JP + EN)
   Snow Monkey child theme / lfdv-about
   Values: LFDV デザイン仕様書「ABOUT」タブ（2026-11-11 決定）。PC は 1440px 幅の値、スマホは 900px 以下。
   ========================================================= */

.lfdv-about {
	--ink: #1b1b1b;
	--sub: #666462;
	--accent: #91732d;
	--rule: rgba(145, 115, 45, .22);
	--beige: #ece8e1;
	--display: "Cormorant Garamond", "Times New Roman", serif;
	--jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--ease: cubic-bezier(.4, .4, 0, 1);
	--pad: clamp(32px, 6vw, 96px);

	box-sizing: border-box;
	padding-inline: 0;
	padding-bottom: 160px;
	color: var(--ink);
	font-family: var(--jp);
	overflow-x: clip;
}
.lfdv-about * { box-sizing: border-box; }
.lfdv-about a { color: inherit; text-decoration: none; }

/* the 760px reading column (same as NEWS) */
.lfdv-about .narrow { width: min(760px, calc(100% - 2 * var(--pad))); margin-inline: auto; }

.lfdv-about .lfdv-pagehead { margin-bottom: clamp(32px, 3.2vw, 46px); }
@media (max-width: 900px) { .lfdv-about .lfdv-pagehead { margin-bottom: 15px; } }

/* ---------------------------------------------------------
   Main visual — 80% wide, centred, no text on it
   --------------------------------------------------------- */
.lfdv-about .hero {
	position: relative;
	width: 80%;
	margin-inline: auto;
	aspect-ratio: 1152 / 640;
	overflow: hidden;
	background: var(--beige);
}
.lfdv-about .hero img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* plain fade-in (like the other pages' content) */
.lfdv-about-js .lfdv-about .hero { opacity: 0; transition: opacity 2.6s cubic-bezier(.4, 0, .2, 1) .2s; }
.lfdv-about-js .lfdv-about .hero.is-open { opacity: 1; }

/* ---------------------------------------------------------
   Intro text — no heading, 640px, centred
   --------------------------------------------------------- */
.lfdv-about .intro {
	width: min(760px, calc(100% - 2 * var(--pad)));
	margin: 88px auto 0;
	text-align: center;
}
.lfdv-about .intro > * { margin: 0; }
.lfdv-about .intro > :first-child {
	font-weight: 500;
	font-size: 26px;
	line-height: 1.5;
	letter-spacing: .02em;
}
/* English page: the lead is set a little larger */
:lang(en) .lfdv-about .intro > :first-child { font-size: 28px; }
.lfdv-about .intro > :nth-child(2) { margin-top: 32px; }
.lfdv-about .intro > :nth-child(n+2) {
	font-size: 16px;
	line-height: 2;
	letter-spacing: .02em;
}
.lfdv-about .intro > :nth-child(n+3) { margin-top: 1.6em; }

/* a line break that only works on phones: write <br class="sp"> in the text (edit the paragraph as HTML) */
.lfdv-about .intro br.sp { display: none; }

/* ---------------------------------------------------------
   3 photos — landscape / portrait / square, different heights
   --------------------------------------------------------- */
.lfdv-about .trio {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: 80%;
	margin: clamp(120px, 9vw, 144px) auto 0;
}
.lfdv-about .ph { margin: 0; background: var(--beige); overflow: hidden; }
.lfdv-about .ph img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); will-change: transform; } /* a little larger than the frame: lfdv-about.js moves it inside the frame while scrolling */
.lfdv-about .ph--land { width: 45%; aspect-ratio: 3 / 2; }
.lfdv-about .ph--port { width: 26%; aspect-ratio: 3 / 4; margin-top: 160px; }
.lfdv-about .ph--sq { width: 23%; aspect-ratio: 1 / 1; margin-top: 56px; }

/* ---------------------------------------------------------
   INFORMATION
   --------------------------------------------------------- */
.lfdv-about .info { margin-top: clamp(140px, 11vw, 176px); }
.lfdv-about .sechead { display: flex; align-items: baseline; gap: 22px; margin-bottom: 30px; }
.lfdv-about .sechead h2 {
	margin: 0;
	font-family: var(--display);
	font-weight: 400;
	font-size: clamp(28px, calc(3.2vw - 6px), 40px);
	letter-spacing: .1em;
	line-height: 1;
}
.lfdv-about .sechead p { margin: 0; font-size: 16px; letter-spacing: .24em; color: var(--sub); white-space: nowrap; }

.lfdv-about .tbl { margin: 0; border-top: 1px solid var(--rule); }
.lfdv-about .tbl .r {
	display: grid;
	grid-template-columns: 150px 1fr;
	padding: 24px 0;
	border-bottom: 1px solid var(--rule);
}
.lfdv-about .tbl dt { margin: 0; padding-left: 20px; font-weight: 500; font-size: 14px; line-height: 1.9; color: var(--sub); }
.lfdv-about .tbl dd { margin: 0; font-size: 16px; line-height: 1.9; }
.lfdv-about .oc {
	display: inline-block;
	margin-right: .9em;
	font-family: var(--display);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: .14em;
	color: var(--accent);
}

/* contact link: hover underline grows from the left, arrow nudges right */
.lfdv-about .lk { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-block: -10px; }
.lfdv-about .lk .ul {
	background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat;
	transition: background-size .4s var(--ease), background-position 0s .4s;
}
.lfdv-about .lk:hover .ul,
.lfdv-about .lk:focus-visible .ul { background-position: 0 100%; background-size: 100% 1px; transition: background-size .4s var(--ease); }
.lfdv-about .lk .arr { width: 34px; height: 7px; flex: 0 0 auto; transition: transform .4s var(--ease); }
.lfdv-about .lk:hover .arr,
.lfdv-about .lk:focus-visible .arr { transform: translateX(6px); }

/* ---------------------------------------------------------
   MAP
   --------------------------------------------------------- */
.lfdv-about .map { width: 80%; margin: 72px auto 0; aspect-ratio: 1152 / 440; background: var(--beige); }
.lfdv-about .map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------
   Phone / tablet (900px and below)
   --------------------------------------------------------- */
@media (max-width: 900px) {
	.lfdv-about { --pad: clamp(24px, 2.4vw, 34px); padding-bottom: 96px; }

	.lfdv-about .hero { width: 100%; aspect-ratio: 4 / 3; }

	.lfdv-about .intro { margin-top: 56px; }
	.lfdv-about .intro,
	.lfdv-about .intro > * { text-align: left; } /* also beats a paragraph set to 'centre' in the editor (has-text-align-center) */
	:lang(ja) .lfdv-about .intro > :first-child { text-align: center; } /* Japanese lead stays centred on phones */
	.lfdv-about .intro br.sp { display: inline; }
	.lfdv-about .intro > :first-child { font-size: 22px; }
	:lang(en) .lfdv-about .intro > :first-child { font-size: 21px; }
	.lfdv-about .intro > :nth-child(2) { margin-top: 24px; }
	.lfdv-about .intro > :nth-child(n+2) { font-size: 16px; line-height: 1.7; }
	/* the leftover width at the end of each line (the box is not a whole number of characters wide) is spread over the line, so the right edge is straight */
	:lang(ja) .lfdv-about .intro > :nth-child(n+2) { text-align: justify; }

	.lfdv-about .trio { width: 100%; flex-wrap: wrap; margin-top: 88px; }
	.lfdv-about .ph--land { width: 100%; }
	.lfdv-about .ph--port { width: 54%; margin-top: 16px; }
	.lfdv-about .ph--sq { width: 40%; margin-top: 96px; }

	.lfdv-about .info { margin-top: 112px; }
	.lfdv-about .sechead { gap: 16px; margin-bottom: 20px; } /* same as the title block of the other pages */
	.lfdv-about .sechead h2 { font-size: 26px; }
	html:not([lang^="en"]) .lfdv-about .sechead h2 { font-size: 25px; letter-spacing: .11em; }
	.lfdv-about .sechead p { font-size: 13px; letter-spacing: .16em; }
	.lfdv-about .tbl .r { grid-template-columns: 1fr; gap: 6px; }
	.lfdv-about .tbl dt { padding-left: 0; }

	.lfdv-about .map { width: 100%; margin-top: 48px; aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
	.lfdv-about *, .lfdv-about *::after { transition: none !important; animation: none !important; }
}
