/*
Theme Name: Verdaum
Theme URI: https://verdaum.com/
Description: 俳優マネジメント事務所 Verdaum のためのテーマ。Framer「Minimal Journey」のデザインをWordPressに移植したもの。
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: verdaum
License: GPL-2.0-or-later
*/

:root {
	--bg: #f1efea;
	--ink: #1c1c1c;
	--ink-soft: #555;
	--line: #d9d5cd;
	--accent: #c23a3a;
	--white: #fff;
	--serif: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--latin: "Cormorant Garamond", "Shippori Mincho", serif;
	--logo: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
	--gutter: 22px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	color: var(--ink);
	font-family: var(--serif);
	font-size: 15px;
	line-height: 1.9;
	letter-spacing: .04em;
	background-color: var(--bg);
	/* 和紙のような質感 */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .25s, color .25s; }
a:hover { opacity: .65; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.site { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- ロゴ ---------- */
.logo {
	font-family: var(--logo);
	font-weight: 600;
	letter-spacing: .18em;
	line-height: 1;
	display: inline-block;
}
.eyebrow {
	font-family: var(--latin);
	font-size: 11px;
	letter-spacing: .3em;
	text-transform: uppercase;
	line-height: 1.6;
}

/* ---------- ヒーロー ---------- */
.hero {
	position: relative;
	margin-top: var(--gutter);
	aspect-ratio: 1156 / 645;
	overflow: hidden;
	background: #b9b6ae;
}
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero__slides { position: absolute; inset: 0; }
.hero__slides img { position: absolute; inset: 0; opacity: 0; }
.hero__slides img:first-child { opacity: 1; }
.hero__slides--fade img { animation: verdaum-fade calc(var(--slides) * 6s) linear infinite; animation-delay: calc(var(--i) * 6s - 1.2s); }
/* キーフレームの割合は枚数で変わるため front-page.php で出力 */
@media (prefers-reduced-motion: reduce) {
	.hero__slides--fade img { animation: none; }
}
.hero__title {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	color: var(--white);
	text-align: center;
	text-shadow: 0 1px 12px rgba(0,0,0,.18);
}
.hero__title .logo { font-size: clamp(32px, 5vw, 58px); }
.hero__title .eyebrow { margin-top: .6em; font-family: var(--logo); font-size: clamp(9px, 1vw, 12px); letter-spacing: .45em; }

/* ---------- トップ：俳優＋ナビ ---------- */
.intro {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	padding: 50px 0 60px;
	border-bottom: 1px solid var(--line);
}
.intro__center {
	display: flex; flex-direction: column; align-items: center;
	border-left: 1px solid var(--line);
	border-right: 1px solid var(--line);
	margin: 0 20px;
	padding: 70px 20px 0;
	text-align: center;
}
.intro__center .logo { font-size: 30px; }
.gnav { margin: 70px 0 0; padding: 0; list-style: none; }
.gnav li { margin: 0 0 16px; }
.gnav a { display: inline-block; font-size: 14px; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.gnav li:first-child a,
.gnav .current-menu-item a { border-bottom-color: var(--accent); }
.intro__rule { width: 34px; height: 1px; background: var(--ink-soft); margin: 18px 0 0; }
.intro__center .eyebrow { margin-top: auto; padding-top: 60px; font-family: var(--serif); font-size: 10px; }

/* 俳優カード */
.talent-card__photo {
	aspect-ratio: 297 / 400;
	overflow: hidden;
	background: #d8d5ce;
}
.talent-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.talent-card__body { padding: 32px 18px 0; }
.talent-card__name { margin: 0; font-size: 30px; font-weight: 500; letter-spacing: .12em; line-height: 1.3; }
.talent-card__en { margin: 14px 0 0; font-family: var(--latin); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.talent-card__role { margin: 4px 0 0; font-size: 12px; }
.link-rows { margin-top: 34px; }
.link-row {
	display: flex; justify-content: space-between; align-items: center;
	padding: 6px 0 8px;
	font-size: 12px;
	border-bottom: 1px solid var(--ink);
	margin-top: 10px;
}
.link-row .arrow { font-family: var(--logo); font-size: 15px; }
.link-row--accent { border-bottom-color: var(--accent); }
.link-row--accent .arrow { color: var(--accent); }

/* ---------- 共通セクション ---------- */
.section {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 40px;
	padding: 60px 20px;
	border-bottom: 1px solid var(--line);
}
.section--stack { grid-template-columns: 1fr; gap: 0; }
.section__label {
	display: inline-block;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--accent);
}
.section__title { margin: 20px 0 0; font-size: 26px; font-weight: 400; letter-spacing: .14em; line-height: 1.4; }
.section__title--latin { font-family: var(--serif); letter-spacing: .08em; }
.section__body { font-size: 13px; line-height: 2.2; }
.section__body p { margin: 0 0 1.6em; }
.section__body p:last-child { margin-bottom: 0; }

/* ---------- ニュース ---------- */
.news-list { list-style: none; margin: 10px 0 0; padding: 0; }
.news-item { border-bottom: 1px solid var(--line); }
.news-item__inner {
	display: grid;
	grid-template-columns: 84px 94px 1fr 20px;
	align-items: center;
	padding: 18px 0;
	font-size: 13px;
}
.news-item__date { font-family: var(--latin); font-size: 12px; color: var(--ink-soft); }
.news-item__cat { font-size: 10px; color: var(--ink-soft); }
.news-item__arrow { color: var(--accent); font-family: var(--logo); text-align: right; }

/* ---------- ギャラリー ---------- */
.gallery-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 36px;
}
.gallery-item__img { overflow: hidden; background: #d8d5ce; aspect-ratio: 421 / 215; }
.gallery-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gallery-item:hover .gallery-item__img img { transform: scale(1.03); }
.gallery-item__cap { margin: 8px 0 0; font-family: var(--latin); font-size: 11px; letter-spacing: .08em; }
.gallery-item__cap span { margin-right: 1em; }
.gallery-grid--feature .gallery-item:first-child { grid-row: span 2; display: flex; flex-direction: column; }
.gallery-grid--feature .gallery-item:first-child .gallery-item__img { aspect-ratio: auto; flex: 1; min-height: 300px; }
.gallery-grid--archive .gallery-item__img { aspect-ratio: 4 / 3; }

.view-all { text-align: center; margin-top: 44px; }
.view-all a {
	display: inline-block;
	font-family: var(--latin); font-size: 13px; letter-spacing: .2em;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--accent);
}

/* ---------- お問い合わせ ---------- */
.contact-info p { margin: 0 0 18px; font-size: 13px; }

/* ---------- フッター ---------- */
.site-footer {
	display: flex; align-items: center; gap: 30px;
	padding: 34px 34px 40px;
}
.site-footer .logo { font-size: 18px; }
.site-footer .eyebrow { font-family: var(--serif); font-size: 10px; }
.site-footer__copy { margin-left: auto; font-family: var(--latin); font-size: 11px; }

/* ---------- 下層ページ ---------- */
.subhead {
	display: flex; justify-content: space-between; align-items: center;
	padding: 28px 20px;
	border-bottom: 1px solid var(--line);
}
.subhead .logo { font-size: 20px; }
.subhead__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.subhead__nav a { white-space: nowrap; }
.page-head { padding: 70px 20px 10px; }
.entry { padding: 30px 20px 80px; max-width: 760px; }
.entry-content { font-size: 14px; line-height: 2.1; }
.entry-content img { margin: 2em 0; }
.entry-meta { font-family: var(--latin); font-size: 12px; color: var(--ink-soft); margin-top: 12px; }

.profile {
	display: grid; grid-template-columns: 420px 1fr; gap: 60px;
	padding: 60px 20px 90px;
}
.profile .talent-card__name { font-size: 36px; }
.profile .entry-content { margin-top: 40px; }
.profile .entry-content h2 {
	margin: 2.6em 0 .8em; padding-bottom: .5em;
	border-bottom: 1px solid var(--line);
	font-family: var(--latin); font-size: 13px; font-weight: 500; letter-spacing: .25em;
}
.profile .entry-content ul { margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.9; }
.profile .entry-content li { padding: .35em 0; }
.profile .entry-content .profile-data { white-space: pre-line; }

.talent-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 40px 20px 90px; }
.talent-list .talent-card__body { padding: 22px 0 0; }

.pagination { padding: 0 20px 80px; font-family: var(--latin); }
.pagination .nav-links { display: flex; gap: 14px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
	.intro { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
	.intro__center {
		grid-column: 1 / -1; grid-row: 1;
		border: 0; margin: 0; padding: 10px 0 20px;
		border-bottom: 1px solid var(--line);
	}
	.gnav { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; }
	.gnav li { margin: 0; }
	.intro__center .eyebrow { padding-top: 20px; }
	.talent-card__body { padding: 22px 0 0; }
	.section { grid-template-columns: 1fr; gap: 24px; padding: 50px 0; }
	.profile { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 70px; }
	.talent-list { grid-template-columns: 1fr 1fr; padding: 30px 0 70px; }
	.subhead, .page-head, .entry { padding-left: 0; padding-right: 0; }
}
@media (max-width: 600px) {
	body { font-size: 14px; }
	.intro { grid-template-columns: 1fr; }
	.talent-card__name { font-size: 26px; }
	.news-item__inner { grid-template-columns: 1fr 20px; grid-template-areas: "meta arrow" "title arrow"; gap: 4px 0; }
	.news-item__date, .news-item__cat { grid-area: meta; }
	.news-item__cat { margin-left: 92px; }
	.news-item__title { grid-area: title; }
	.news-item__arrow { grid-area: arrow; }
	.gallery-grid { grid-template-columns: 1fr; }
	.gallery-grid--feature .gallery-item:first-child { grid-row: auto; }
	.gallery-grid--feature .gallery-item:first-child .gallery-item__img { aspect-ratio: 4 / 5; }
	.talent-list { grid-template-columns: 1fr; }
	.site-footer { flex-wrap: wrap; padding: 30px 0; gap: 14px 24px; }
	.site-footer__copy { margin-left: 0; width: 100%; }
	.subhead { flex-direction: column; gap: 16px; }
}
