/*
 * コンデジライフ フロントCSS
 * すべて .cdl / .cdl-* 配下に限定し、Lightning や他プラグインのCSSを上書きしない。
 * 例外：body.cdl-view（このプラグインが生成するページのみ）の背景色。
 *
 * デザインの考え方（v1.2）
 * ・写真が主役。地は白、文字は墨色。オレンジ（ロゴのレンズの色）は「太陽」と「今いる場所」の小さな点だけ。
 * ・山と旅の写真家らしく、写真を図形（レンズの円・窓のアーチ・山の稜線・道・葉）で切り抜き、
 *   等高線のような細い線で縁取る。図形はトップのコラージュ・カテゴリー・関連写真に使い、一覧の写真は切り抜かない。
 * ・短い言葉（ポエム）とメインコピーは縦書きの明朝。英語の見出しはセリフ体。
 */

body.cdl-view {
	background: #fff;
}
body.cdl-view .siteContent {
	background: transparent;
}

.cdl {
	--cdl-bg: #ffffff;
	--cdl-text: #26282b;
	--cdl-sub: #6a6e74;
	--cdl-faint: #9a9ea4;
	--cdl-line: #e3e4e6;
	--cdl-mist: #eef0ee;
	--cdl-accent: #E97832;
	--cdl-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
	--cdl-latin: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--cdl-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
	--cdl-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;

	color: var(--cdl-text);
	font-family: var(--cdl-sans);
	font-size: 15px;
	line-height: 1.9;
	letter-spacing: 0.04em;
	padding-bottom: 4rem;
}
.cdl *,
.cdl *::before,
.cdl *::after {
	box-sizing: border-box;
}
.cdl a {
	color: inherit;
	text-decoration: none;
}
.cdl a:hover {
	text-decoration: none;
}
.cdl a:focus-visible {
	outline: 2px solid var(--cdl-text);
	outline-offset: 4px;
}
.cdl ul,
.cdl ol,
.cdl dl,
.cdl dd,
.cdl figure,
.cdl p {
	margin: 0;
	padding: 0;
}
.cdl ul {
	list-style: none;
}
.cdl .cdl-img,
.cdl img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ページ読み込み時のごく控えめなフェード（1回のみ） */
@keyframes cdl-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}
body.cdl-view .cdl {
	animation: cdl-fade 0.9s ease both;
}
@media (prefers-reduced-motion: reduce) {
	body.cdl-view .cdl { animation: none; }
	.cdl * { transition: none !important; }
}

/* ======================================================================
 * 図形フレーム（.cdl-shape）
 * 写真を図形で切り抜き、SVGの細い線で縁取る。縁取りは少しずらして、等高線や版ずれのように。
 * ==================================================================== */
.cdl .cdl-shape {
	position: relative;
	display: block;
	width: 100%;
}
.cdl .cdl-shape__clip {
	position: relative;
	z-index: 1;
	display: block;
	overflow: hidden;
	background: var(--cdl-mist);
	line-height: 0;
}
.cdl .cdl-shape__clip img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cdl a:hover .cdl-shape__clip img {
	transform: scale(1.04);
}
.cdl .cdl-shape__line {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	fill: none;
	stroke: var(--cdl-text);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
	pointer-events: none;
}
.cdl .cdl-shape__line * {
	vector-effect: non-scaling-stroke;
}

/* 円：レンズ／太陽。同心円の等高線を2本。 */
.cdl .cdl-shape--circle .cdl-shape__clip {
	aspect-ratio: 1;
	border-radius: 50%;
}
.cdl .cdl-shape--circle .cdl-shape__ring--far {
	opacity: 0.35;
}
/* アーチ：窓・旅の入口。右上へずらした線。 */
.cdl .cdl-shape--arch .cdl-shape__clip {
	aspect-ratio: 3 / 4;
	border-radius: 999px 999px 0 0;
}
.cdl .cdl-shape--arch .cdl-shape__line {
	transform: translate(10px, -10px);
}
/* 山：稜線で切り抜き、稜線の上に等高線を2本。 */
.cdl .cdl-shape--peak .cdl-shape__clip {
	aspect-ratio: 4 / 3;
	clip-path: polygon(0% 44%, 11% 30%, 20% 36%, 35% 9%, 45% 21%, 54% 15%, 69% 0%, 81% 23%, 90% 17%, 100% 32%, 100% 100%, 0% 100%);
}
.cdl .cdl-shape--peak .cdl-shape__line polyline {
	transform: translateY(-9px);
}
.cdl .cdl-shape--peak .cdl-shape__line .cdl-shape__ring--far {
	transform: translateY(-18px);
	opacity: 0.35;
}
/* 道：横長の角丸。左下へずらした線。 */
.cdl .cdl-shape--pill .cdl-shape__clip {
	aspect-ratio: 2 / 1;
	border-radius: 999px;
}
.cdl .cdl-shape--pill .cdl-shape__line {
	transform: translate(-9px, 9px);
}
/* 葉：対角の2つの角だけ丸い。 */
.cdl .cdl-shape--leaf .cdl-shape__clip {
	aspect-ratio: 1;
	border-radius: 50% 0 50% 0;
}
.cdl .cdl-shape--leaf .cdl-shape__line {
	transform: translate(9px, 9px);
}
/* 縦長の額 */
.cdl .cdl-shape--tall .cdl-shape__clip {
	aspect-ratio: 2 / 3;
	border-radius: 2px;
}
.cdl .cdl-shape--tall .cdl-shape__line {
	transform: translate(-9px, -9px);
}

/* ======================================================================
 * 見出し
 * ==================================================================== */
.cdl .cdl-pagehead {
	padding: 4.5rem 0 3.5rem;
	text-align: center;
}
.cdl .cdl-pagehead__title {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cdl-text);
	font-family: var(--cdl-display);
	font-weight: 400;
	font-size: clamp(2rem, 5vw, 3.4rem);
	letter-spacing: 0.04em;
	line-height: 1.25;
}
.cdl .cdl-pagehead__title::before,
.cdl .cdl-pagehead__title::after {
	display: none;
}
.cdl .cdl-pagehead__ja,
.cdl .cdl-pagehead__sub {
	margin-top: 0.9rem;
	color: var(--cdl-sub);
	font-size: 0.78rem;
	letter-spacing: 0.28em;
}
.cdl .cdl-pagehead__sub {
	margin: 0 0 0.75rem;
}
/* 見出しの下の小さなオレンジの点（太陽）。 */
.cdl .cdl-pagehead::after {
	content: "";
	display: block;
	width: 7px;
	height: 7px;
	margin: 1.6rem auto 0;
	border-radius: 50%;
	background: var(--cdl-accent);
}
.cdl .cdl-pagehead__desc {
	max-width: 34em;
	margin: 2rem auto 0;
	color: var(--cdl-sub);
	font-family: var(--cdl-serif);
	text-align: left;
	line-height: 2.1;
}
.cdl .cdl-pagehead__desc p + p {
	margin-top: 1em;
}
.cdl .cdl-pagehead__image {
	max-width: 320px;
	margin: 3rem auto 0;
}
/* 機種ページの代表画像（図形にしない） */
.cdl .cdl-pagehead__image > img {
	margin: 0 auto;
}

.cdl .cdl-section {
	margin: 0 0 8rem;
}
.cdl .cdl-section__title {
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cdl-text);
	font-family: var(--cdl-display);
	font-weight: 400;
	font-size: clamp(1.6rem, 3.4vw, 2.4rem);
	letter-spacing: 0.03em;
	line-height: 1.3;
	text-align: center;
}
.cdl .cdl-section__title::before,
.cdl .cdl-section__title::after {
	display: none;
}
.cdl .cdl-section__desc {
	max-width: 34em;
	margin: 0 auto 2.5rem;
	color: var(--cdl-sub);
	font-family: var(--cdl-serif);
	text-align: center;
}
.cdl .cdl-section > .cdl-grid,
.cdl .cdl-section > .cdl-terms,
.cdl .cdl-section > .cdl-prefs,
.cdl .cdl-section > .cdl-about,
.cdl .cdl-section > .cdl-spreads,
.cdl .cdl-section > .cdl-shaperow {
	margin-top: 3.5rem;
}
.cdl .cdl-more {
	margin-top: 3.5rem;
	text-align: center;
}
.cdl .cdl-more a {
	display: inline-block;
	padding: 0.7rem 1.8rem;
	border: 1px solid var(--cdl-text);
	border-radius: 999px;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	transition: background-color 0.25s ease, color 0.25s ease;
}
.cdl .cdl-more a:hover {
	background: var(--cdl-text);
	color: #fff;
}
.cdl .cdl-empty {
	padding: 3rem 0;
	color: var(--cdl-sub);
	text-align: center;
}

/* ======================================================================
 * トップ：図形コラージュ（メインビジュアル）
 * 舞台（.cdl-collage__stage）の中に、位置を％で指定して図形を置く。PCとスマホで配置を変える。
 * ==================================================================== */
.cdl .cdl-collage {
	margin: 1.5rem 0 8rem;
}
.cdl .cdl-collage__stage {
	position: relative;
	aspect-ratio: 5 / 3;
}
.cdl .cdl-collage__item {
	position: absolute;
	display: block;
	animation: cdl-collage-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	animation-delay: calc(0.15s + var(--i, 0) * 0.12s);
}
@keyframes cdl-collage-in {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: none; }
}
/* 配置（left・top は舞台に対する％、幅は舞台の幅に対する％） */
.cdl .cdl-collage__item--1 { left: 20%; top: 3%;  width: 25%; }
.cdl .cdl-collage__item--2 { left: 51%; top: 5%;  width: 17%; }
.cdl .cdl-collage__item--3 { left: 72%; top: 7%;  width: 28%; }
.cdl .cdl-collage__item--4 { left: 50%; top: 55%; width: 29%; }
.cdl .cdl-collage__item--5 { left: 84%; top: 53%; width: 15%; }
.cdl .cdl-collage__item--6 { left: 21%; top: 70%; width: 9%; }
.cdl .cdl-collage__item--7 { left: 33%; top: 64%; width: 12%; }

/* 太陽（オレンジの円）：コラージュの中で唯一の色 */
.cdl .cdl-collage__sun {
	position: absolute;
	left: 47.5%;
	top: 6%;
	width: 2.4%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--cdl-accent);
	animation: cdl-collage-in 1s ease both 1s;
}
/* 月（欠けた円）：太陽と同じ位置に、淡い色で。 */
.cdl .cdl-collage__moon {
	position: absolute;
	left: 46.5%;
	top: 4.5%;
	width: 4.2%;
	aspect-ratio: 1;
	color: #d6cdb0;
	animation: cdl-collage-in 1s ease both 1s;
}
/* メインコピー：縦書きの明朝。「、」で改行。 */
.cdl .cdl-collage__copy {
	position: absolute;
	left: 4%;
	top: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cdl-text);
	font-family: var(--cdl-serif);
	font-weight: 500;
	font-size: clamp(1.3rem, 2.3vw, 2rem);
	letter-spacing: 0.32em;
	line-height: 1.9;
	writing-mode: vertical-rl;
	animation: cdl-fade 1.4s ease both 0.2s;
}
.cdl .cdl-collage__copy::before,
.cdl .cdl-collage__copy::after {
	display: none;
}
.cdl .cdl-collage__line {
	display: block;
}
.cdl .cdl-collage__line + .cdl-collage__line {
	padding-top: 2.2em;
}
.cdl .cdl-collage__sub {
	position: absolute;
	left: 51%;
	bottom: 1%;
	color: var(--cdl-sub);
	font-family: var(--cdl-latin);
	font-size: clamp(0.95rem, 1.5vw, 1.2rem);
	font-style: italic;
	letter-spacing: 0.02em;
}
/* 枚数が少ないとき：大きい図形だけで構成 */
.cdl .cdl-collage--n3 .cdl-collage__item--3,
.cdl .cdl-collage--n4 .cdl-collage__item--3 {
	top: 10%;
}

@media (max-width: 767px) {
	.cdl .cdl-collage {
		margin: 0.5rem 0 5rem;
	}
	.cdl .cdl-collage__stage {
		aspect-ratio: 3 / 5;
	}
	.cdl .cdl-collage__item--1 { left: 2%;  top: 2%;  width: 50%; }
	.cdl .cdl-collage__item--2 { left: 38%; top: 46%; width: 30%; }
	.cdl .cdl-collage__item--3 { left: 0%;  top: 68%; width: 56%; }
	.cdl .cdl-collage__item--4 { left: 58%; top: 82%; width: 40%; }
	.cdl .cdl-collage__item--5 { left: 73%; top: 63%; width: 23%; }
	.cdl .cdl-collage__item--6,
	.cdl .cdl-collage__item--7 { display: none; }
	.cdl .cdl-collage__sun {
		left: 58%;
		top: 4%;
		width: 4.5%;
	}
	.cdl .cdl-collage__moon {
		left: 56.5%;
		top: 2.5%;
		width: 7.5%;
	}
	.cdl .cdl-collage__copy {
		left: auto;
		right: 3%;
		top: 2%;
		font-size: 1.15rem;
		letter-spacing: 0.24em;
	}
	.cdl .cdl-collage__sub {
		left: 3%;
		bottom: 0;
		font-size: 0.92rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	.cdl .cdl-collage__item,
	.cdl .cdl-collage__sun,
	.cdl .cdl-collage__moon,
	.cdl .cdl-collage__copy { animation: none; }
}

/* 1枚の大きな写真（「メインビジュアルの見せ方」＝1枚） */
.cdl .cdl-hero {
	margin: 0 0 7rem;
}
.cdl .cdl-hero__image img {
	width: 100%;
}
.cdl .cdl-hero__text {
	padding: 3.5rem 1rem 0;
	text-align: center;
}
.cdl .cdl-hero__copy {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cdl-text);
	font-family: var(--cdl-serif);
	font-weight: 500;
	font-size: clamp(1.5rem, 4.4vw, 2.6rem);
	letter-spacing: 0.14em;
	line-height: 1.7;
}
.cdl .cdl-hero__copy::before,
.cdl .cdl-hero__copy::after {
	display: none;
}
.cdl .cdl-hero__sub {
	margin-top: 1rem;
	color: var(--cdl-sub);
	font-family: var(--cdl-latin);
	font-size: clamp(0.95rem, 1.8vw, 1.15rem);
	font-style: italic;
	letter-spacing: 0.02em;
}

/* 縦書きの行（短い言葉）：1行＝1列。2列目以降は少し下げて、言葉の間合いをつくる */
.cdl .cdl-vline {
	display: block;
}
.cdl .cdl-vline + .cdl-vline {
	padding-top: 1.6em;
}

/* ======================================================================
 * トップ：Selected Photographs（写真＋縦書きの短い言葉を、左右交互に）
 * ==================================================================== */
.cdl .cdl-spreads {
	display: grid;
	gap: 7rem;
}
.cdl .cdl-spread {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(2.5rem, 7vw, 6rem);
}
.cdl .cdl-spread:nth-child(even) {
	flex-direction: row-reverse;
}
.cdl .cdl-spread__photo {
	flex: 0 1 auto;
	display: block;
	max-width: 66%;
	overflow: hidden;
}
.cdl .cdl-spread__photo img {
	width: auto;
	max-width: 100%;
	max-height: 80vh;
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cdl .cdl-spread__photo:hover img {
	transform: scale(1.03);
}
.cdl .cdl-spread__text {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.75rem;
	max-width: 30%;
}
.cdl .cdl-spread__poem {
	font-family: var(--cdl-serif);
	font-size: 1.3rem;
	letter-spacing: 0.24em;
	line-height: 2.1;
	writing-mode: vertical-rl;
}
.cdl .cdl-spread__title {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cdl-sub);
	font-family: var(--cdl-sans);
	font-size: 0.78rem;
	font-weight: 400;
	letter-spacing: 0.14em;
	line-height: 1.6;
	text-align: center;
}
.cdl .cdl-spread__title::before,
.cdl .cdl-spread__title::after {
	display: none;
}
.cdl .cdl-spread__title a {
	border-bottom: 1px solid var(--cdl-line);
}
.cdl .cdl-spread__title a:hover {
	border-bottom-color: var(--cdl-text);
	color: var(--cdl-text);
}
.cdl .cdl-spread:not(.has-poem) .cdl-spread__title {
	color: var(--cdl-text);
	font-family: var(--cdl-serif);
	font-size: 1.1rem;
}
@media (max-width: 767px) {
	.cdl .cdl-spreads {
		gap: 4.5rem;
	}
	.cdl .cdl-spread,
	.cdl .cdl-spread:nth-child(even) {
		flex-direction: column;
		align-items: stretch;
		gap: 1.25rem;
	}
	.cdl .cdl-spread__photo {
		max-width: none;
	}
	.cdl .cdl-spread__photo img {
		width: 100%;
		max-height: none;
	}
	.cdl .cdl-spread__text {
		flex-direction: row-reverse;
		align-items: flex-start;
		justify-content: space-between;
		max-width: none;
	}
	.cdl .cdl-spread__poem {
		font-size: 1.1rem;
	}
	.cdl .cdl-spread:not(.has-poem) .cdl-spread__text {
		justify-content: flex-end;
	}
	.cdl .cdl-spread__title {
		text-align: left;
	}
}

/* ======================================================================
 * 写真一覧（石畳状に。写真は切り抜かず、元の縦横比のまま）
 * ==================================================================== */
.cdl .cdl-grid {
	column-count: 2;
	column-gap: 1rem;
}
@media (min-width: 768px) {
	.cdl .cdl-grid {
		column-count: 3;
		column-gap: 2rem;
	}
}
.cdl .cdl-grid__item {
	break-inside: avoid;
	margin: 0 0 2.25rem;
}
@media (min-width: 768px) {
	.cdl .cdl-grid__item {
		margin-bottom: 3rem;
	}
}
.cdl .cdl-grid--list {
	column-count: 1;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}
.cdl .cdl-grid--list .cdl-grid__item {
	margin-bottom: 4rem;
}
.cdl .cdl-photo {
	display: block;
}
.cdl .cdl-photo img {
	width: 100%;
	transition: opacity 0.4s ease;
}
.cdl .cdl-photo:hover img {
	opacity: 0.88;
}
.cdl .cdl-photo__title {
	display: block;
	margin-top: 0.7rem;
	color: var(--cdl-sub);
	font-size: 0.76rem;
	letter-spacing: 0.08em;
	line-height: 1.6;
	transition: color 0.2s ease;
}
.cdl .cdl-photo:hover .cdl-photo__title {
	color: var(--cdl-text);
}

/* ======================================================================
 * 機種・シーン・カテゴリー一覧
 * ==================================================================== */
.cdl .cdl-terms--grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 4rem 2.5rem;
	align-items: start;
}
@media (min-width: 640px) {
	.cdl .cdl-terms--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 992px) {
	.cdl .cdl-terms--grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.cdl .cdl-terms__item > a {
	display: block;
}
.cdl .cdl-terms__item > a:hover .cdl-terms__name {
	color: var(--cdl-sub);
}
.cdl .cdl-terms__img {
	display: block;
	margin-bottom: 1.25rem;
}
.cdl .cdl-terms__body {
	display: block;
}
.cdl .cdl-terms__en {
	display: block;
	color: var(--cdl-sub);
	font-family: var(--cdl-latin);
	font-size: 0.9rem;
	font-style: italic;
	letter-spacing: 0.02em;
}
.cdl .cdl-terms__name {
	display: block;
	font-family: var(--cdl-display);
	font-size: 1.2rem;
	letter-spacing: 0.08em;
	transition: color 0.2s ease;
}
.cdl .cdl-terms__desc {
	display: block;
	margin-top: 0.4rem;
	color: var(--cdl-sub);
	font-size: 0.82rem;
	line-height: 1.8;
}
/* 図形つき（特集＝アーチ、シーン＝円）：中央揃えで、図形の周りに余白 */
.cdl .cdl-terms--shaped .cdl-terms__item {
	text-align: center;
}
.cdl .cdl-terms--shaped .cdl-terms__img {
	width: 78%;
	margin: 0 auto 1.75rem;
}
@media (max-width: 639px) {
	.cdl .cdl-terms--shaped .cdl-terms__img {
		width: 64%;
	}
}
.cdl .cdl-terms--shaped .cdl-terms__desc {
	max-width: 20em;
	margin-left: auto;
	margin-right: auto;
}
/* 3つ並ぶとき、真ん中を少し下げてリズムをつける */
@media (min-width: 992px) {
	.cdl .cdl-terms--shaped .cdl-terms__item:nth-child(3n + 2) {
		margin-top: 4rem;
	}
}
.cdl .cdl-terms--list {
	max-width: 36em;
	margin: 0 auto;
	border-top: 1px solid var(--cdl-line);
}
.cdl .cdl-terms--list .cdl-terms__item {
	border-bottom: 1px solid var(--cdl-line);
}
.cdl .cdl-terms--list .cdl-terms__item > a {
	padding: 1.1rem 0;
}

/* ======================================================================
 * 都道府県
 * ==================================================================== */
.cdl .cdl-prefs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem 1.5rem;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}
@media (min-width: 640px) {
	.cdl .cdl-prefs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
	.cdl .cdl-prefs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.cdl .cdl-prefs a,
.cdl .cdl-prefs span:not(.cdl-prefs__count) {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.5rem;
	padding-bottom: 0.3rem;
	border-bottom: 1px solid var(--cdl-line);
	font-family: var(--cdl-serif);
}
.cdl .cdl-prefs a:hover {
	border-bottom-color: var(--cdl-text);
}
.cdl .cdl-prefs__count {
	color: var(--cdl-sub);
	font-family: var(--cdl-latin);
	font-size: 0.8rem;
}
.cdl .cdl-prefs__empty {
	color: #b4b7bb;
}

/* ======================================================================
 * ABOUT
 * ==================================================================== */
.cdl .cdl-about {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	align-items: center;
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}
@media (min-width: 768px) {
	.cdl .cdl-about:has(.cdl-about__image) {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: 5rem;
	}
}
.cdl .cdl-about__image {
	width: 100%;
	max-width: 360px;
	margin: 0 auto;
	padding-top: 10px;
}
.cdl .cdl-about__text {
	max-width: 34em;
	font-family: var(--cdl-serif);
	font-size: 1.02rem;
	line-height: 2.2;
}
.cdl .cdl-about:not(:has(.cdl-about__image)) .cdl-about__text {
	margin: 0 auto;
}
.cdl .cdl-about__text p + p {
	margin-top: 1em;
}

/* ======================================================================
 * 絞り込み
 * ==================================================================== */
.cdl .cdl-filter {
	display: grid;
	gap: 0.9rem;
	max-width: 960px;
	margin: 0 auto 4rem;
	font-size: 0.85rem;
}
.cdl .cdl-filter__group {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 1.25rem;
}
.cdl .cdl-filter__label {
	min-width: 9em;
	color: var(--cdl-faint);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
}
.cdl .cdl-filter__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.cdl .cdl-filter__list a {
	display: inline-block;
	padding: 0.28rem 0.95rem;
	border: 1px solid var(--cdl-line);
	border-radius: 999px;
	line-height: 1.6;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.cdl .cdl-filter__list a:hover {
	border-color: var(--cdl-text);
}
.cdl .cdl-filter__list a[aria-current="true"] {
	border-color: var(--cdl-text);
	background: var(--cdl-text);
	color: #fff;
}

/* ======================================================================
 * 写真詳細
 * ==================================================================== */
.cdl .cdl-single__article {
	padding-top: 2rem;
}
.cdl .cdl-single__photo {
	max-width: 1140px;
	margin: 0 auto;
}
.cdl .cdl-single__photo img {
	margin: 0 auto;
	max-height: 88vh;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}
/* 本文：PCでは左に縦書きの短い言葉、右に題・本文・撮影データ */
.cdl .cdl-single__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	max-width: 900px;
	margin: 5rem auto 0;
}
@media (min-width: 768px) {
	.cdl .has-poem .cdl-single__body {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 5rem;
		align-items: start;
	}
}
.cdl .cdl-single__poem {
	position: relative;
	justify-self: center;
	padding-top: 1.6rem;
	font-family: var(--cdl-serif);
	font-size: 1.3rem;
	letter-spacing: 0.26em;
	line-height: 2.1;
	writing-mode: vertical-rl;
}
/* 縦書きの言葉の頭に、小さな太陽 */
.cdl .cdl-single__poem::before {
	content: "";
	position: absolute;
	top: 0;
	right: calc(50% - 4px);
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cdl-accent);
}
.cdl .cdl-single__main {
	max-width: 36em;
}
.cdl .cdl-single:not(:has(.has-poem)) .cdl-single__main {
	margin: 0 auto;
}
/* 題：小さな英字の添え書き（Photograph — 撮影年）＋明朝の題 */
.cdl .cdl-single__kicker {
	display: flex;
	align-items: center;
	gap: 0.9em;
	margin: 0 0 1.1rem;
	color: var(--cdl-sub);
	font-family: var(--cdl-latin);
	font-size: 0.74rem;
	font-style: italic;
	letter-spacing: 0.22em;
	line-height: 1;
}
.cdl .cdl-single__kicker span + span::before {
	content: "";
	display: inline-block;
	width: 1.6em;
	height: 1px;
	margin-right: 0.9em;
	background: currentColor;
	vertical-align: middle;
	opacity: 0.6;
}
.cdl .cdl-single__title {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cdl-text);
	font-family: var(--cdl-display);
	font-weight: 400;
	font-size: clamp(1.55rem, 3.4vw, 2.2rem);
	letter-spacing: 0.2em;
	line-height: 1.6;
}
.cdl .cdl-single__title::before,
.cdl .cdl-single__title::after {
	display: none;
}
/* キャプション：ダッシュを添えた明朝の小さな一行 */
.cdl .cdl-single__caption {
	margin: 1.2rem 0 0;
	color: var(--cdl-sub);
	font-family: var(--cdl-serif);
	font-size: 0.88rem;
	letter-spacing: 0.14em;
	line-height: 2;
}
.cdl .cdl-single__caption::before {
	content: "\2014";
	margin-right: 0.7em;
	opacity: 0.5;
}
/* 本文：文芸誌のような字下げと行間 */
.cdl .cdl-single__essay {
	margin-top: 2.8rem;
	font-family: var(--cdl-serif);
	font-size: 1rem;
	letter-spacing: 0.08em;
	line-height: 2.3;
	text-align: justify;
}
.cdl .cdl-single__essay p {
	margin: 0 0 1.6em;
	text-indent: 1em;
}

/* 撮影データ：表ではなく、展示室の作品ラベル風のグリッド */
.cdl .cdl-info {
	margin-top: 4rem;
	color: var(--cdl-text);
}
.cdl .cdl-info__heading {
	display: flex;
	align-items: center;
	gap: 1.2em;
	margin: 0 0 0.3rem;
	color: var(--cdl-sub);
	font-family: var(--cdl-latin);
	font-size: 0.74rem;
	font-style: italic;
	letter-spacing: 0.2em;
	line-height: 1;
}
.cdl .cdl-info__heading::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: var(--cdl-text);
}
.cdl .cdl-info__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 2rem;
	margin: 0;
	padding: 0;
}
.cdl .cdl-info__item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
	padding: 1.1rem 0 1.2rem;
	border-bottom: 1px solid var(--cdl-line);
}
.cdl .cdl-info dt {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.15em 0.7em;
	margin: 0;
	line-height: 1.3;
}
.cdl .cdl-info__en {
	color: var(--cdl-text);
	font-family: var(--cdl-latin);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.cdl .cdl-info__ja {
	color: var(--cdl-faint);
	font-family: var(--cdl-sans);
	font-size: 0.66rem;
	font-weight: 400;
	letter-spacing: 0.08em;
}
.cdl .cdl-info dd {
	margin: 0;
	padding-left: 1em;
	font-family: var(--cdl-serif);
	font-size: 1rem;
	letter-spacing: 0.08em;
	line-height: 1.7;
	overflow-wrap: anywhere;
}
.cdl .cdl-info__sep {
	margin: 0 1em;
	color: var(--cdl-faint);
}
.cdl .cdl-info dd time {
	font-family: var(--cdl-latin);
	letter-spacing: 0.12em;
}
.cdl .cdl-info a {
	border-bottom: 1px solid transparent;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size 0.35s ease;
}
.cdl .cdl-info a:hover,
.cdl .cdl-info a:focus-visible {
	border-bottom-color: transparent;
	background-size: 100% 1px;
}
.cdl .cdl-section--related {
	margin-top: 8rem;
}

/* 関連写真：図形を順番に変えて1列に */
.cdl .cdl-shaperow {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 2rem 1.75rem;
	align-items: end;
	padding-top: 20px;
}
.cdl .cdl-shaperow__item > a {
	display: block;
}
.cdl .cdl-shaperow__title {
	display: block;
	margin-top: 1rem;
	color: var(--cdl-sub);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	line-height: 1.6;
	text-align: center;
}
@media (max-width: 991px) {
	.cdl .cdl-shaperow {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 3rem;
	}
}

/* ======================================================================
 * ページネーション
 * ==================================================================== */
.cdl .cdl-pager {
	margin-top: 5rem;
}
.cdl .cdl-pager ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
}
.cdl .cdl-pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.6rem;
	border-radius: 999px;
	color: var(--cdl-sub);
	font-family: var(--cdl-latin);
}
.cdl .cdl-pager a.page-numbers:hover {
	color: var(--cdl-text);
	background: var(--cdl-mist);
}
.cdl .cdl-pager .page-numbers.current {
	background: var(--cdl-text);
	color: #fff;
}

/* ======================================================================
 * スマートフォン
 * ==================================================================== */
@media (max-width: 767px) {
	.cdl {
		font-size: 14px;
	}
	.cdl .cdl-pagehead {
		padding: 3rem 0 2.5rem;
	}
	.cdl .cdl-section,
	.cdl .cdl-hero {
		margin-bottom: 5.5rem;
	}
	.cdl .cdl-hero__text {
		padding-top: 2.5rem;
	}
	.cdl .cdl-single__body {
		margin-top: 3rem;
		gap: 2.5rem;
	}
	.cdl .cdl-single__poem {
		font-size: 1.15rem;
	}
	.cdl .cdl-single__title {
		letter-spacing: 0.14em;
	}
	.cdl .cdl-info {
		margin-top: 3rem;
	}
	.cdl .cdl-info__list {
		column-gap: 1.25rem;
	}
	.cdl .cdl-info dd {
		font-size: 0.95rem;
	}
	.cdl .cdl-shape--arch .cdl-shape__line { transform: translate(6px, -6px); }
	.cdl .cdl-shape--pill .cdl-shape__line { transform: translate(-6px, 6px); }
	.cdl .cdl-shape--leaf .cdl-shape__line { transform: translate(6px, 6px); }
	.cdl .cdl-shape--tall .cdl-shape__line { transform: translate(-6px, -6px); }
	.cdl .cdl-filter__label {
		min-width: 100%;
	}
}

/* ---------- トップページ：固定ページのタイトル・目次を非表示 ---------- */
body:is(.cdl-top-page, .cdl-concept-page) .page-header,
body:is(.cdl-top-page, .cdl-concept-page) .page-header-title,
body:is(.cdl-top-page, .cdl-concept-page) .entry-header,
body:is(.cdl-top-page, .cdl-concept-page) .entry-title,
body:is(.cdl-top-page, .cdl-concept-page) .vk_post_title,
body:is(.cdl-top-page, .cdl-concept-page) .veu_pageTitle,
body:is(.cdl-top-page, .cdl-concept-page) .vk_tableOfContents,
body:is(.cdl-top-page, .cdl-concept-page) .vk-table-of-contents,
body:is(.cdl-top-page, .cdl-concept-page) .veu_contentsList,
body:is(.cdl-top-page, .cdl-concept-page) .table-of-contents,
body:is(.cdl-top-page, .cdl-concept-page) #toc_container,
body:is(.cdl-top-page, .cdl-concept-page) #ez-toc-container,
body:is(.cdl-top-page, .cdl-concept-page) .toc,
body:is(.cdl-top-page, .cdl-concept-page) .rtoc-mokuji-content,
body:is(.cdl-top-page, .cdl-concept-page) #rtoc-mokuji-wrapper {
	display: none !important;
}

/* ---------- 都道府県：控えめな折りたたみ ---------- */
.cdl .cdl-section--prefecture {
	margin-bottom: 3rem;
}
.cdl .cdl-fold {
	max-width: 900px;
	margin: 0 auto;
	border-top: 1px solid var(--cdl-line);
	color: var(--cdl-sub);
	font-size: 0.85rem;
}
.cdl .cdl-fold > summary {
	padding: 1rem 0;
	cursor: pointer;
	text-align: center;
	letter-spacing: 0.1em;
}
.cdl .cdl-fold[open] > summary {
	margin-bottom: 1rem;
}
.cdl .cdl-fold .cdl-prefs {
	font-size: 0.85rem;
}

body:is(.cdl-top-page, .cdl-concept-page) .cdl { padding-bottom: 6rem; }


/* ---------- サイドバナー：写真の下に色付きの帯（小コピー＋太字タイトル） ----------
 * 帯の色は設定画面で変更（初期値：えんじ色）。
 * 「またたび Local to Local」のバナーと同じ寸法：写真は 16:9 の枠に中央基準でトリミング、帯の高さ・文字の大きさも揃える。 */
.cdl-banners__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cdl-banners__item {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}
.cdl-banners__item:last-child {
	margin-bottom: 0;
}
.cdl-banners .cdl-banner,
.cdl-banners a.cdl-banner:hover,
.cdl-banners a.cdl-banner:focus {
	color: #fff;
	text-decoration: none;
}
.cdl-banners .cdl-banner {
	display: block;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
	transition: opacity 0.25s ease;
}
.cdl-banners a.cdl-banner:hover {
	opacity: 0.92;
}
.cdl-banners .cdl-banner__photo {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	line-height: 0;
	background: #e4e0d8;
}
.cdl-banners .cdl-banner__photo .cdl-banners__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.cdl-banners .cdl-banner__band {
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	min-height: 4.4rem;
	padding: 0.7rem 0.9rem 0.75rem;
	background: #9A2E3E;
	color: #fff;
	text-align: center;
	line-height: 1.5;
}
.cdl-banners .cdl-banner__lead {
	display: block;
	color: #fff;
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	line-height: 1.5;
}
.cdl-banners .cdl-banner__title {
	display: block;
	margin-top: 0.25rem;
	color: #fff;
	font-family: Georgia, "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

/* スマホ：Mentra のバナーに文字の大きさ・帯の高さを合わせる（タイトルを大きく、帯を少し高く） */
@media (max-width: 767px) {
	.cdl-banners .cdl-banner__band {
		min-height: 4.8rem;
		padding: 0.8rem 0.9rem 0.85rem;
	}
	.cdl-banners .cdl-banner__lead {
		font-size: 0.8rem;
	}
	.cdl-banners .cdl-banner__title {
		margin-top: 0.3rem;
		font-size: 1.5rem;
		letter-spacing: 0.06em;
	}
}

/* 麺と旅・またたびのバナーに合わせる：ページ幅が狭まってサイドバーが本文の下に回り、バナーの幅が600px以上に広がったときは、
 * 写真を左（約55%）、帯の色のパネルを右に並べ、小コピーとタイトルをパネルの中央に置く。
 * 文字の大きさは、麺と旅の横並びに合わせる（小コピー13px／タイトル22px が上限。rem ではなく px で指定し、テーマの基準文字サイズに左右されないようにする）。パネルが狭いときは、バナーの幅に合わせて少し縮める。
 * バナーの幅が600px未満（スマホ縦・PCのサイドバー）では従来どおり縦積み。 */
.cdl-banners__item {
	container-name: cdl-banner-slot;
	container-type: inline-size;
}
@container cdl-banner-slot (min-width: 600px) {
	.cdl-banners .cdl-banner:has(> .cdl-banner__band) {
		display: grid;
		grid-template-columns: 55fr 45fr;
	}
	.cdl-banners .cdl-banner:has(> .cdl-banner__band) .cdl-banner__photo {
		grid-column: 1;
		aspect-ratio: 16 / 9;
	}
	.cdl-banners .cdl-banner .cdl-banner__band {
		grid-column: 2;
		min-height: 0;
		padding: 0 14px;
	}
	.cdl-banners .cdl-banner .cdl-banner__lead {
		font-size: min(13px, 1.9cqi);
		letter-spacing: 0.06em;
		line-height: 1.6;
	}
	.cdl-banners .cdl-banner .cdl-banner__title {
		margin-top: 0.6rem;
		font-size: min(22px, 3.2cqi);
		letter-spacing: 0.08em;
		text-wrap: balance;
	}
}

/* ---------- コンデジライフ内ページ：ヘッダー下の帯（アイコン＋タブ式メニュー） ----------
 * .cdl の外（wp_footer）に出力し、front.js が元サイトのヘッダー直下へ移動する。元サイトのメニューには触れない。
 * 帯にはコンデジライフのアイコンだけを置き、押すとタブ（パネル）が開いてメニュー名が見える。
 * 白地・墨色の文字で静かに。 */
.cdl-subbar,
.cdl-fab {
	--cdl-ink: #26282b;
	--cdl-mute: #5f6369;
	--cdl-faint: #8c9096;
	--cdl-line: #e3e4e6;
	--cdl-paper: #ffffff;
	--cdl-accent: #E97832;
	--cdl-latin: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--cdl-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
	--cdl-gothic: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
}
.cdl-subbar {
	position: relative;
	z-index: 50; /* 開いたパネルが本文の上に重なるように（右下ボタン＝90 より下） */
	box-sizing: border-box;
	background: var(--cdl-paper);
	border-bottom: 1px solid var(--cdl-line);
	color: var(--cdl-ink);
	font-family: var(--cdl-gothic);
	line-height: 1.4;
}
.cdl-subbar *,
.cdl-subbar *::before,
.cdl-subbar *::after {
	box-sizing: border-box;
}
.cdl-subbar a {
	color: inherit;
	text-decoration: none;
}
.cdl-subbar__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0.45rem 1.25rem;
}
.cdl-subbar__menu {
	position: relative;
	display: inline-block;
}
.cdl-subbar__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	max-width: 100%;
	padding: 0.4rem 1rem 0.4rem 0.5rem;
	border-radius: 999px;
	color: var(--cdl-ink);
	cursor: pointer;
	list-style: none;
	transition: background-color 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}
.cdl-subbar__btn::-webkit-details-marker {
	display: none;
}
.cdl-subbar__btn::marker {
	content: "";
}
.cdl-subbar__btn:hover,
.cdl-subbar__menu[open] > .cdl-subbar__btn {
	background: #f1f1f0;
}
.cdl-subbar__btn:focus-visible {
	outline: 2px solid var(--cdl-ink);
	outline-offset: 2px;
}
.cdl-subbar .cdl-brand__icon {
	flex: 0 0 auto;
	width: 2.1rem;
	height: 2.1rem;
	color: var(--cdl-ink);
}
.cdl-subbar__text {
	display: block;
	min-width: 0;
}

/* タブ（パネル）：アイコンの下に開く */
.cdl-subbar__panel {
	position: absolute;
	top: calc(100% + 0.35rem);
	left: 0;
	width: 18rem;
	max-width: calc(100vw - 2rem);
	padding: 0.4rem 0 0.5rem;
	border: 1px solid var(--cdl-line);
	border-radius: 12px;
	background: var(--cdl-paper);
	color: var(--cdl-ink);
	box-shadow: 0 12px 32px rgba(38, 40, 43, 0.16);
	transform-origin: top left;
}
/* アイコンとパネルの間のすき間（PCのマウスオーバーで開いたとき、移動中に閉じないように） */
.cdl-subbar__panel::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 0.5rem;
}
.cdl-subbar__menu[open] .cdl-subbar__panel {
	animation: cdl-subbar-open 0.18s ease-out both;
}
@keyframes cdl-subbar-open {
	from { opacity: 0; transform: translateY(-6px) scale(0.98); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.cdl-subbar__menu[open] .cdl-subbar__panel { animation: none; }
}
.cdl-subbar__name {
	display: block;
	font-family: var(--cdl-mincho);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.2;
}
.cdl-subbar__catch {
	display: block;
	margin-top: 0.3rem;
	color: var(--cdl-faint);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	line-height: 1.3;
}
.cdl-subbar__panel ul {
	margin: 0;
	padding: 0.3rem 0 0;
	list-style: none;
}
.cdl-subbar__panel li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cdl-subbar__panel a:focus-visible {
	outline: 2px solid var(--cdl-ink);
	outline-offset: -2px;
}
/* 項目：左に英語、右に日本語の添え字（メニュー名） */
.cdl-subbar__panel .is-item a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 1.3rem 0.7rem 1.6rem;
	transition: background-color 0.15s ease;
}
.cdl-subbar__panel .is-item a:hover,
.cdl-subbar__panel .is-item a[aria-current="page"] {
	background: #f4f4f3;
}
.cdl-subbar__panel .cdl-nav__ja {
	margin-top: 0;
}
.cdl-subbar__panel .is-item a:hover .cdl-nav__en,
.cdl-subbar__panel .is-item a[aria-current="page"] .cdl-nav__en {
	color: var(--cdl-ink);
}
.cdl-subbar__panel .is-concept {
	margin: 0.5rem 1.3rem 0 1.6rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--cdl-line);
}
.cdl-subbar__panel .is-concept a {
	display: block;
	padding: 0.45rem 0 0.2rem;
	color: var(--cdl-mute);
	font-size: 0.76rem;
	letter-spacing: 0.1em;
}
.cdl-subbar__panel .is-concept a:hover,
.cdl-subbar__panel .is-concept a[aria-current="page"] {
	color: var(--cdl-ink);
}

/* 項目名（英語）＋添え字（日本語）：帯のパネルと右下ボタン、コンセプトページで共通 */
.cdl-nav__en {
	display: block;
	color: var(--cdl-mute);
	font-family: var(--cdl-latin);
	font-size: 1.02rem;
	letter-spacing: 0.01em;
	line-height: 1.25;
	transition: color 0.2s ease;
}
.cdl-nav__ja {
	display: block;
	margin-top: 0.15rem;
	color: var(--cdl-faint);
	font-family: var(--cdl-gothic);
	font-size: 0.62rem;
	letter-spacing: 0.16em;
	line-height: 1.3;
}
@media (max-width: 767px) {
	.cdl-subbar__inner {
		padding: 0.3rem 0.6rem;
	}
	.cdl-subbar__name {
		font-size: 1.05rem;
	}
	.cdl-subbar__catch {
		font-size: 0.62rem;
		letter-spacing: 0.08em;
	}
	.cdl-subbar .cdl-brand__icon {
		width: 1.95rem;
		height: 1.95rem;
	}
}

/* ---------- カメラアイコン：ページを開いたときに1回だけシャッターを切る ----------
 * front.js が読み込み後に .is-shot を付ける。シャッターボタンが沈み、レンズが閉じて開き、フラッシュが光る。 */
.cdl-brand__icon .cdl-brand__shutter,
.cdl-brand__icon .cdl-brand__lens,
.cdl-brand__icon .cdl-brand__glint,
.cdl-brand__icon .cdl-brand__flash {
	transform-box: fill-box;
	transform-origin: center;
}
.cdl-brand__icon .cdl-brand__flash {
	opacity: 0;
}
.cdl-brand__icon.is-shot .cdl-brand__shutter {
	animation: cdl-shutter-btn 0.5s ease-in-out both;
}
.cdl-brand__icon.is-shot .cdl-brand__lens,
.cdl-brand__icon.is-shot .cdl-brand__glint {
	animation: cdl-shutter-iris 0.5s ease-in-out both;
}
.cdl-brand__icon.is-shot .cdl-brand__flash {
	animation: cdl-shutter-flash 0.6s ease-out 0.12s both;
}
@keyframes cdl-shutter-btn {
	0%, 100% { transform: translateY(0); }
	25%, 45% { transform: translateY(1.1px); }
}
@keyframes cdl-shutter-iris {
	0%, 100% { transform: scale(1); }
	30%      { transform: scale(0.15); }
	55%      { transform: scale(1.12); }
}
@keyframes cdl-shutter-flash {
	0%   { opacity: 0;    transform: scale(0.4); }
	20%  { opacity: 0.95; transform: scale(1); }
	100% { opacity: 0;    transform: scale(1.6); }
}
@media (prefers-reduced-motion: reduce) {
	.cdl-brand__icon.is-shot * { animation: none !important; }
}

/* ---------- 常時表示ボタン（画面右下）：押すとコンデジライフのメニューが開く ---------- */
.cdl-fab {
	position: fixed;
	/* ページの上下スクロールボタン（右下）と重ならないよう、左へずらして置く */
	right: calc(5.5rem + env(safe-area-inset-right, 0px));
	bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
	z-index: 90;
	font-family: var(--cdl-gothic);
	line-height: 1.4;
}
.cdl-fab *,
.cdl-fab *::before,
.cdl-fab *::after {
	box-sizing: border-box;
}
.cdl-fab__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.6rem 1.2rem 0.6rem 0.9rem;
	border-radius: 999px;
	background: var(--cdl-ink);
	color: #fff;
	box-shadow: 0 6px 20px rgba(38, 40, 43, 0.28);
	cursor: pointer;
	list-style: none;
	-webkit-tap-highlight-color: transparent;
}
.cdl-fab__btn::-webkit-details-marker {
	display: none;
}
.cdl-fab__btn::marker {
	content: "";
}
.cdl-fab__btn:focus-visible {
	outline: 2px solid var(--cdl-accent);
	outline-offset: 3px;
}
.cdl-fab .cdl-brand__icon {
	width: 1.6rem;
	height: 1.6rem;
}
.cdl-fab__label {
	font-family: var(--cdl-latin);
	font-size: 0.98rem;
	letter-spacing: 0.02em;
}
.cdl-fab__panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 0.7rem);
	width: 17.5rem;
	max-width: calc(100vw - 7rem);
	padding: 0.5rem 0;
	border: 1px solid var(--cdl-line);
	border-radius: 12px;
	background: var(--cdl-paper);
	color: var(--cdl-ink);
	box-shadow: 0 12px 32px rgba(38, 40, 43, 0.18);
	transform-origin: bottom right;
}
.cdl-fab[open] .cdl-fab__panel {
	animation: cdl-fab-open 0.18s ease-out both;
}
@keyframes cdl-fab-open {
	from { opacity: 0; transform: translateY(6px) scale(0.98); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.cdl-fab[open] .cdl-fab__panel { animation: none; }
}
.cdl-fab__panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cdl-fab__panel li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cdl-fab__panel a {
	color: inherit;
	text-decoration: none;
}
.cdl-fab__panel a:focus-visible {
	outline: 2px solid var(--cdl-ink);
	outline-offset: -2px;
}
/* 4項目：左に英語、右に日本語の添え字 */
.cdl-fab__panel .is-item a {
	position: relative;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 1.3rem 0.7rem 1.6rem;
	transition: background-color 0.15s ease;
}
.cdl-fab__panel .is-item a:hover {
	background: #f4f4f3;
}
.cdl-fab__panel .cdl-nav__ja {
	margin-top: 0;
}
.cdl-fab__panel .is-item a[aria-current="page"]::before {
	top: 50%;
	left: 0.8rem;
	margin-top: -3px;
}
.cdl-fab__panel .is-item a:hover .cdl-nav__en,
.cdl-fab__panel .is-item a[aria-current="page"] .cdl-nav__en {
	color: var(--cdl-ink);
}
.cdl-fab__panel .is-concept {
	margin: 0.5rem 1.3rem 0 1.6rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--cdl-line);
}
.cdl-fab__panel .is-concept a {
	display: block;
	padding: 0.45rem 0 0.2rem;
	color: var(--cdl-mute);
	font-size: 0.76rem;
	letter-spacing: 0.1em;
}
.cdl-fab__panel .is-concept a:hover,
.cdl-fab__panel .is-concept a[aria-current="page"] {
	color: var(--cdl-ink);
}
@media (max-width: 479px) {
	.cdl-fab {
		right: calc(4.75rem + env(safe-area-inset-right, 0px));
	}
	.cdl-fab__panel {
		max-width: calc(100vw - 6.25rem);
	}
}
/* PC：常時表示ボタンを画面下の中央に置く（スマホは右下のまま） */
@media (min-width: 768px) {
	.cdl-fab {
		right: auto;
		left: 50%;
		transform: translateX(-50%);
	}
	.cdl-fab__panel {
		right: auto;
		left: 50%;
		transform: translateX(-50%);
		transform-origin: bottom center;
	}
	.cdl-fab[open] .cdl-fab__panel {
		animation: cdl-fab-open-center 0.18s ease-out both;
	}
}
@keyframes cdl-fab-open-center {
	from { opacity: 0; transform: translateX(-50%) translateY(6px) scale(0.98); }
	to   { opacity: 1; transform: translateX(-50%); }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
	.cdl-fab[open] .cdl-fab__panel { animation: none; }
}
@media print {
	.cdl-subbar,
	.cdl-fab {
		display: none;
	}
}

/* ---------- 「コンデジライフとは」ページ ---------- */
.cdl .cdl-concept__catch {
	margin-top: 1.25rem;
	color: var(--cdl-text);
	font-family: var(--cdl-serif);
	font-size: clamp(1.05rem, 2.4vw, 1.4rem);
	letter-spacing: 0.16em;
}
.cdl .cdl-concept__links {
	max-width: 36em;
	margin: 5rem auto 0;
	border-top: 1px solid var(--cdl-text);
}
.cdl .cdl-concept__links li {
	border-bottom: 1px solid var(--cdl-line);
}
.cdl .cdl-concept__links a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 1.1rem 0;
}
.cdl .cdl-concept__links .cdl-nav__en {
	font-family: var(--cdl-latin);
	font-size: 1.15rem;
	transition: color 0.2s ease;
}
.cdl .cdl-concept__links .cdl-nav__ja {
	color: var(--cdl-faint);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
}
.cdl .cdl-concept__links a:hover .cdl-nav__en {
	color: var(--cdl-sub);
}

/* トップページのセクションへのページ内リンク（フォールバック）が固定ブランドに隠れないように */
.cdl .cdl-section {
	scroll-margin-top: 7rem;
}

/* Photo essay and curated external article cards */
.cdl-content-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.cdl-content-card{min-width:0;background:#fff}
.cdl-content-card>a{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}
.cdl-content-card__image{overflow:hidden;aspect-ratio:16/10;background:#f2f0ec}
.cdl-content-card__image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.cdl-content-card>a:hover .cdl-content-card__image img{transform:scale(1.035)}
.cdl-content-card__body{padding:16px 2px}
.cdl-content-card__body h3{margin:0 0 9px;font-size:1.12rem;line-height:1.55}
.cdl-content-card__body p{margin:0 0 10px;color:#666;font-size:.9rem;line-height:1.8}
.cdl-content-card__source{font-size:.78rem;letter-spacing:.06em;color:#8a5a4d}
@media(max-width:640px){.cdl-content-cards{grid-template-columns:1fr;gap:18px}}


/* v1.3.1: Remove small orange decorative dots from page headings,
   photo essay text and current navigation indicators. */
.cdl .cdl-pagehead::after,
.cdl .cdl-single__poem::before,
.cdl-subbar__nav .is-item a[aria-current="page"]::before,
.cdl-fab__panel .is-item a[aria-current="page"]::before {
    display: none !important;
    content: none !important;
}


/* ======================================================================
 * v1.4.0
 * ==================================================================== */

/* アーティクルの一覧・詳細：専用テンプレートのため、テーマ標準のページ見出しの帯（水色の帯）は出ない。
   念のため、テーマや他プラグインが差し込んだ場合に備えて隠す。 */
body.post-type-archive-cdl_essay .page-header,
body.single-cdl_essay .page-header,
body.post-type-archive-cdl_essay .breadSection,
body.single-cdl_essay .breadSection {
	display: none !important;
}

/* シーンの丸窓：画像が未設定のときの枠 */
.cdl .cdl-terms__blank {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--cdl-mist);
}
.cdl .cdl-pagehead__image--circle {
	max-width: 22rem;
}

/* アーティクル一覧のカード */
.cdl .cdl-content-card__meta {
	display: flex;
	align-items: center;
	gap: 0.9em;
	margin: 0 0 0.5rem;
	color: var(--cdl-faint);
	font-family: var(--cdl-latin);
	font-size: 0.78rem;
	letter-spacing: 0.1em;
}
.cdl .cdl-content-card__tag {
	padding: 0 0.8em;
	border: 1px solid var(--cdl-line);
	border-radius: 999px;
	color: var(--cdl-sub);
	font-style: italic;
	letter-spacing: 0.06em;
	line-height: 1.7;
}
.cdl-archive--article .cdl-content-cards {
	margin-top: 1rem;
}

/* アーティクル詳細 */
.cdl .cdl-article {
	max-width: 860px;
	margin: 0 auto;
}
.cdl .cdl-article__head {
	margin: 0 0 2.5rem;
	text-align: center;
}
.cdl .cdl-article__kicker {
	display: flex;
	justify-content: center;
	gap: 1.2em;
	margin: 0 0 1rem;
	color: var(--cdl-sub);
	font-family: var(--cdl-latin);
	font-size: 0.8rem;
	font-style: italic;
	letter-spacing: 0.2em;
}
.cdl .cdl-article__title {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--cdl-display);
	font-size: clamp(1.5rem, 3.6vw, 2.2rem);
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.6;
}
.cdl .cdl-article__title::before,
.cdl .cdl-article__title::after {
	display: none;
}
.cdl .cdl-article__lead {
	max-width: 34em;
	margin: 1.5rem auto 0;
	color: var(--cdl-sub);
	font-family: var(--cdl-serif);
	letter-spacing: 0.1em;
	line-height: 2.1;
}
.cdl .cdl-article__photo {
	margin: 0 0 3rem;
}
.cdl .cdl-article__photo img {
	display: block;
	width: 100%;
	height: auto;
}
.cdl .cdl-article__body {
	max-width: 40em;
	margin: 0 auto;
	font-family: var(--cdl-serif);
	letter-spacing: 0.08em;
	line-height: 2.2;
}
.cdl .cdl-article__body p {
	margin: 0 0 1.6em;
}
.cdl .cdl-article__body h2,
.cdl .cdl-article__body h3 {
	margin: 3em 0 1em;
	font-family: var(--cdl-display);
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.7;
}
.cdl .cdl-article__body img {
	max-width: 100%;
	height: auto;
}

/* 記事の中のフォトエッセイ */
.cdl .cdl-pe {
	margin: 5rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid var(--cdl-text);
}
.cdl .cdl-article__body .cdl-pe {
	max-width: none;
}
.cdl .cdl-pe__head {
	max-width: 40em;
	margin: 0 auto 3rem;
	text-align: center;
}
.cdl .cdl-pe__kicker {
	margin: 0 0 0.6rem;
	color: var(--cdl-sub);
	font-family: var(--cdl-latin);
	font-size: 0.82rem;
	font-style: italic;
	letter-spacing: 0.22em;
}
.cdl .cdl-pe__title {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--cdl-display);
	font-size: clamp(1.25rem, 2.8vw, 1.7rem);
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.7;
}
.cdl .cdl-pe__title::before,
.cdl .cdl-pe__title::after {
	display: none;
}
.cdl .cdl-pe__lead {
	margin-top: 1.2rem;
	color: var(--cdl-sub);
	font-family: var(--cdl-serif);
	letter-spacing: 0.1em;
	line-height: 2.1;
}
.cdl .cdl-pe__list {
	display: grid;
	gap: 4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cdl .cdl-pe__item {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cdl .cdl-pe__figure img {
	display: block;
	width: 100%;
	height: auto;
}
.cdl .cdl-pe__caption {
	margin: 0.9rem 0 0;
	color: var(--cdl-sub);
	font-family: var(--cdl-serif);
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	line-height: 2;
}
.cdl .cdl-pe__caption::before {
	content: "\2014";
	margin-right: 0.7em;
	opacity: 0.5;
}
.cdl .cdl-pe__text {
	max-width: 36em;
	margin: 1.6rem auto 0;
	font-family: var(--cdl-serif);
	letter-spacing: 0.08em;
	line-height: 2.3;
	text-align: justify;
}
.cdl .cdl-pe__text p {
	margin: 0 0 1.4em;
	text-indent: 1em;
}
@media (max-width: 767px) {
	.cdl .cdl-pe { margin-top: 3.5rem; }
	.cdl .cdl-pe__list { gap: 3rem; }
}


/* ======================================================================
 * トップ：反射のコラージュ（メインビジュアル）
 * 同じ図形を左右対称に一列に並べ、水面（細い線）の下に上下反転した影を薄く映す。
 * ==================================================================== */
.cdl .cdl-reflect {
	margin: 1.5rem 0 8rem;
}
.cdl .cdl-reflect__text {
	margin: 0 0 3.5rem;
	text-align: center;
}
.cdl .cdl-reflect__copy {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cdl-text);
	font-family: var(--cdl-serif);
	font-size: clamp(1.4rem, 3.6vw, 2.3rem);
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1.8;
	animation: cdl-fade 1.4s ease both 0.2s;
}
.cdl .cdl-reflect__copy::before,
.cdl .cdl-reflect__copy::after {
	display: none;
}
.cdl .cdl-reflect__sub {
	margin: 0.8rem 0 0;
	color: var(--cdl-sub);
	font-family: var(--cdl-latin);
	font-size: clamp(0.95rem, 1.5vw, 1.2rem);
	font-style: italic;
	letter-spacing: 0.02em;
}
.cdl .cdl-reflect__stage {
	max-width: 960px;
	margin: 0 auto;
}
.cdl .cdl-reflect__row {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 3%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cdl .cdl-reflect__item {
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}
.cdl .cdl-reflect__item--center { flex: 0 0 28%; }
.cdl .cdl-reflect__item--inner  { flex: 0 0 21%; }
.cdl .cdl-reflect__item--outer  { flex: 0 0 13%; }
.cdl .cdl-reflect--n3 .cdl-reflect__item--center { flex-basis: 34%; }
.cdl .cdl-reflect--n3 .cdl-reflect__item--inner  { flex-basis: 26%; }
.cdl .cdl-reflect__item > a {
	display: block;
}
.cdl .cdl-reflect__stage > .cdl-reflect__row .cdl-reflect__item {
	animation: cdl-collage-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
/* 水面：細い線。その下に、上下反転した影をグラデーションで薄く消していく。 */
.cdl .cdl-reflect__water {
	position: relative;
	max-height: 12rem;
	margin-top: 0.9rem;
	padding-top: 0.9rem;
	overflow: hidden;
	border-top: 1px solid var(--cdl-text);
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 90%);
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 90%);
}
.cdl .cdl-reflect__row--mirror {
	transform: scaleY(-1);
	filter: blur(0.6px);
	opacity: 0.8;
}
/* 縁取りの線は反射では描かない（影として写真だけを映す） */
.cdl .cdl-reflect__row--mirror .cdl-shape__line {
	display: none;
}
@media (max-width: 767px) {
	.cdl .cdl-reflect { margin: 0.5rem 0 5rem; }
	.cdl .cdl-reflect__text { margin-bottom: 2.5rem; }
	.cdl .cdl-reflect__copy { letter-spacing: 0.12em; }
	/* 幅が狭いので、外側の対は隠して中央＋内側の3つにする */
	.cdl .cdl-reflect--n5 .cdl-reflect__item--outer { display: none; }
	.cdl .cdl-reflect--n5 .cdl-reflect__item--center { flex-basis: 34%; }
	.cdl .cdl-reflect--n5 .cdl-reflect__item--inner  { flex-basis: 26%; }
	.cdl .cdl-reflect__water { max-height: 8rem; }
}
@media (prefers-reduced-motion: reduce) {
	.cdl .cdl-reflect__copy,
	.cdl .cdl-reflect__stage > .cdl-reflect__row .cdl-reflect__item { animation: none; }
}


/* ---------- コンセプト固定ページ：写真6枚と締めの文章 ---------- */
/* WordPress標準ブロックで追加された写真・段落を、CDLの書体と余白に統一する。 */
body.cdl-concept-page .wp-block-gallery {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(10px, 1.8vw, 22px) !important;
	align-items: start;
	max-width: 1080px;
	margin: 4.5rem auto 0 !important;
	padding: 0;
}
body.cdl-concept-page .wp-block-gallery > figure,
body.cdl-concept-page .wp-block-gallery > .wp-block-image,
body.cdl-concept-page .wp-block-gallery .blocks-gallery-item {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
body.cdl-concept-page .wp-block-gallery img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
	box-shadow: none;
}
body.cdl-concept-page .wp-block-gallery + p,
body.cdl-concept-page .wp-block-gallery + .wp-block-paragraph {
	max-width: 38em;
	margin: 3.5rem auto 5rem !important;
	padding: 0 1.25rem;
	color: #6a6e74;
	font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
	font-size: clamp(0.98rem, 1.25vw, 1.06rem);
	font-weight: 400;
	line-height: 2.25;
	letter-spacing: 0.055em;
	text-align: left;
}
@media (max-width: 767px) {
	body.cdl-concept-page .wp-block-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px !important;
		margin-top: 3rem !important;
		padding: 0 1rem;
	}
	body.cdl-concept-page .wp-block-gallery + p,
	body.cdl-concept-page .wp-block-gallery + .wp-block-paragraph {
		margin: 2.5rem auto 3.5rem !important;
		padding: 0 1.5rem;
		font-size: 0.98rem;
		line-height: 2.15;
	}
}

/* ======================================================================
 * v1.5.7 トップ下部「書き手より」（麺と旅〜Mentra〜と同じプロフィール）
 * 名前 → 写真（左）＋本文（右）。スマホでは名前・写真・本文を縦に積む。
 * ==================================================================== */
.cdl .cdl-section--author {
	margin-bottom: 6rem;
	padding-top: 4rem;
	border-top: 1px solid var(--cdl-line);
}
.cdl .cdl-section > .cdl-author {
	margin-top: 2.5rem;
}
.cdl .cdl-author {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px clamp(28px, 4.5vw, 56px);
	align-items: center;
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}
.cdl .cdl-author.has-photo {
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
}
.cdl .cdl-author.has-photo.has-name {
	grid-template-areas: "name ." "photo copy";
}
.cdl .cdl-author.has-photo.has-name .cdl-author__name { grid-area: name; align-self: end; }
.cdl .cdl-author.has-photo.has-name .cdl-author__photo { grid-area: photo; }
.cdl .cdl-author.has-photo.has-name .cdl-author__copy { grid-area: copy; }
.cdl .cdl-author__name {
	margin: 0;
	color: var(--cdl-sub);
	font-size: 0.84rem;
	letter-spacing: 0.06em;
}
.cdl .cdl-author.has-name .cdl-author__name {
	margin-bottom: -6px;
}
.cdl .cdl-author__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}
.cdl .cdl-author__text {
	margin: 0 0 14px;
	color: var(--cdl-text);
	font-family: var(--cdl-serif);
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	line-height: 2.1;
	letter-spacing: 0.06em;
}
.cdl .cdl-author__link {
	display: inline-block;
	padding-bottom: 3px;
	border-bottom: 1px solid currentColor;
	color: var(--cdl-text);
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
}
.cdl .cdl-author__link:hover {
	color: var(--cdl-accent);
	border-bottom-width: 2px;
}
@media (max-width: 767px) {
	.cdl .cdl-section--author {
		padding-top: 3rem;
	}
	.cdl .cdl-author.has-photo {
		grid-template-columns: 1fr;
	}
	.cdl .cdl-author.has-photo.has-name {
		grid-template-areas: "name" "photo" "copy";
	}
	.cdl .cdl-author__photo img {
		aspect-ratio: 4 / 3;
	}
}
