@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@500;700&display=swap");

:root {
	--paper: #fbf8f1;
	--white: #ffffff;
	--navy: #0b1822;
	--ink: #1b2429;
	--muted: #5f6670;
	--line: #d7d1c6;
	--amber: #b67b30;
	--amber-soft: #ead9bd;
}

* { box-sizing: border-box; }
html {
	scroll-behavior: smooth;
	scrollbar-gutter: stable both-edges;
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}
a { color: inherit; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	min-height: 80px;
	background: var(--navy);
	color: var(--white);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner {
	width: min(1120px, calc(100% - 48px));
	margin: 0 auto;
	min-height: 80px;
	padding: 11px 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 1px; text-decoration: none; }
.brand-title { font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: 1.55rem; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.brand-mark { display: block; width: 66px; height: 54px; object-fit: contain; }
.brand-wordmark { display: block; width: 172px; height: 54px; max-width: 172px; object-fit: contain; }
.brand-logo { display: block; width: 230px; height: 64px; max-width: 100%; object-fit: contain; object-position: left center; }
.header-links {
	display: grid;
	grid-template-columns: repeat(6, 128px);
	flex: 0 0 auto;
	align-items: stretch;
	justify-content: flex-end;
	gap: 8px;
	min-width: 0;
	font-size: .75rem;
}
.header-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 128px;
	min-width: 128px;
	height: 58px;
	min-height: 58px;
	padding: 8px 10px;
	border: 1px solid #2ea69a;
	border-radius: 6px;
	background: #2ea69a;
	color: var(--white);
	line-height: 1.42;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	overflow: hidden;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.header-links a.nav-first-set { flex-direction: column; gap: 2px; }
.header-links a.nav-first-set span { display: block; white-space: nowrap; }
.header-links a:hover, .header-links a:focus { border-color: #1d776f; background: #1d776f; color: var(--white); }
.header-links a.consult-button { min-width: 96px; border-color: #c98f45; background: #c98f45; font-weight: 700; }
.header-links a.consult-button:hover, .header-links a.consult-button:focus { border-color: #a8702e; background: #a8702e; }
.header-link {
	color: var(--white);
	font-family: "Noto Serif JP", "Yu Mincho", serif;
	font-size: 1.03rem;
	letter-spacing: .13em;
	text-decoration: none;
	border-bottom: 2px solid var(--amber);
	padding: 8px 4px 7px;
}
.header-page-heading {
	margin-left: auto;
	display: flex;
	align-items: baseline;
	color: var(--white);
	text-align: right;
}
.header-page-kicker {
	margin: 0;
	color: rgba(255, 255, 255, .72);
	font-size: .72rem;
	letter-spacing: .08em;
	line-height: 1.3;
}
.header-page-kicker a { text-decoration: none; }
.header-page-kicker span { margin: 0 .5em; color: var(--amber); }
.header-page-heading h1 {
	margin: 0;
	color: var(--white);
	font: 700 1.15rem/1.25 "Noto Serif JP", "Yu Mincho", serif;
	letter-spacing: .16em;
}

.portfolio-main { width: min(1440px, calc(100% - 96px)); margin: 0 auto; padding: 86px 0 112px; }
.portfolio-main--detail { padding-top: 43px; }
.page-kicker { margin: 0 0 20px; color: var(--muted); font-size: .88rem; letter-spacing: .08em; }
.page-kicker a { text-decoration: none; }
.page-kicker span { color: var(--amber); margin: 0 .5em; }
.serif { font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif; }

/* index */
.index-heading { margin-bottom: 62px; }
.index-heading h1 {
	margin: 0;
	font: 700 clamp(2.35rem, 4vw, 4.15rem)/1.2 "Noto Serif JP", "Yu Mincho", serif;
	letter-spacing: .12em;
	color: var(--navy);
}
.index-heading::after {
	content: "";
	display: block;
	width: min(430px, 60vw);
	margin-top: 18px;
	border-bottom: 2px solid var(--amber);
}
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 34px; }
.category-card {
	min-height: 138px;
	display: flex;
	align-items: center;
	gap: 22px;
	border: 2px solid var(--navy);
	padding: 22px 28px;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}
.category-card:hover, .category-card:focus-visible { background: var(--navy); color: var(--white); transform: translateY(-3px); outline: none; }
.category-no { color: var(--amber); font: 500 clamp(1.8rem, 2.6vw, 2.45rem)/1 "Noto Serif JP", serif; letter-spacing: .04em; }
.category-divider { height: 46px; border-left: 1px solid var(--amber); }
.category-name { font: 500 clamp(1.15rem, 1.65vw, 1.5rem)/1.25 "Noto Serif JP", serif; letter-spacing: .08em; }
.category-arrow { margin-left: auto; color: var(--amber); font-size: 1.5rem; font-weight: 300; }

/* common gallery */
.gallery-heading { display: grid; grid-template-columns: minmax(250px, .74fr) minmax(420px, 1.1fr); gap: 70px; align-items: end; margin-bottom: 64px; }
.gallery-heading h1 { margin: 0; color: var(--navy); font: 700 clamp(3.8rem, 7vw, 6.9rem)/1 "Noto Serif JP", serif; letter-spacing: .18em; }
.gallery-heading p { max-width: 630px; margin: 0; padding-left: 34px; border-left: 2px solid var(--amber); color: #3f4b50; font-size: 1rem; }
.gallery-heading--description-only { display: block; }
.gallery-heading--description-only p { margin-left: 0; text-align: left; }
.portfolio-main--detail .gallery-heading--description-only { margin-bottom: 32px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 30px; }
.work-card { margin: 0; min-width: 0; }
.work-image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e8e2d8;
	border: 1px solid var(--navy);
}
.work-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-image.video::after {
	content: "▶";
	position: absolute;
	left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center;
	padding-left: 4px; background: rgba(11, 24, 34, .82); color: #fff; font-size: 1.3rem;
}
.work-card figcaption { padding-top: 11px; font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: 1.05rem; }
.work-card small { display: block; padding-top: 3px; color: var(--amber); font-family: "Yu Gothic", sans-serif; font-size: .78rem; letter-spacing: .08em; }

/* photo works */
.card-category-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 42px; }
.card-category-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-category-button { padding: 18px 16px; border: 1px solid var(--navy); background: var(--white); color: var(--navy); font: 700 1.05rem "Noto Serif JP", "Yu Mincho", serif; letter-spacing: .08em; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.card-category-button:hover, .card-category-button:focus-visible, .card-category-button.is-selected { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.card-category-button:focus-visible { outline: 3px solid #2ea69a; outline-offset: 3px; }
.card-category-panel[hidden] { display: none !important; }
.print-feature-grid--single { grid-template-columns: minmax(0, 620px); justify-content: center; }
.card-category-panel > .section-heading:first-child { margin-bottom: 24px; }

.photo-folder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 30px; }
.photo-folder-grid[hidden], .photo-gallery[hidden] { display: none !important; }
#photo-intro[hidden] { display: none !important; }
.photo-folder-card { position: relative; display: block; width: 100%; padding: 12px; overflow: hidden; border: 1px solid var(--navy); background: var(--white); color: var(--navy); text-align: left; text-decoration: none; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.photo-folder-card:hover, .photo-folder-card:focus-visible { box-shadow: 7px 7px 0 rgba(40, 66, 58, .18); transform: translate(-3px, -3px); }
.photo-folder-card img { display: block; width: 100%; height: auto; aspect-ratio: auto; border: 1px solid var(--line); object-fit: contain; transition: transform .25s ease, opacity .25s ease; }
.photo-folder-card:hover img, .photo-folder-card:focus-visible img { transform: scale(1.025); opacity: .9; }
.photo-folder-card:focus-visible { outline: 3px solid #2ea69a; outline-offset: 3px; }
.photo-folder-card__name { display: block; padding: 3px 4px 0; font: 500 1.15rem/1.5 "Noto Serif JP", "Yu Mincho", serif; letter-spacing: .04em; }
.photo-folder-date { display: block; font-size: .72em; }
.photo-folder-card__count { display: block; padding: 3px 4px 0; color: var(--muted); font-size: .82rem; }
.photo-gallery { padding-top: 10px; }
.photo-gallery__heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.photo-gallery__heading h2 { margin: 0; color: var(--navy); font: 700 clamp(1.65rem, 3vw, 2.4rem)/1.25 "Noto Serif JP", "Yu Mincho", serif; letter-spacing: .08em; }
.photo-back-button { border: 0; padding: 8px 0; color: var(--amber); background: transparent; font: inherit; cursor: pointer; }
.photo-back-button:hover, .photo-back-button:focus-visible { color: var(--navy); text-decoration: underline; }
.photo-series { padding: 46px 0 50px; border-top: 1px solid var(--line); }
.photo-series:last-of-type { padding-bottom: 0; }
.photo-series__heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.photo-series__heading h1 { margin: 0; color: var(--navy); font: 700 clamp(1.65rem, 3vw, 2.4rem)/1.25 "Noto Serif JP", "Yu Mincho", serif; letter-spacing: .08em; }
.photo-series__heading > p { margin: 0; color: var(--amber); font-size: .84rem; letter-spacing: .09em; }
.photo-series__eyebrow { margin: 0 0 7px; color: var(--amber); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.photo-series__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.photo-card { margin: 0; min-width: 0; padding: 12px; border: 1px solid var(--navy); background: var(--white); }
.photo-image-link { display: block; overflow: hidden; border: 1px solid var(--navy); background: #e8e2d8; text-decoration: none; }
.photo-image-link img { display: block; width: 100%; height: auto; object-fit: contain; transition: transform .25s ease, opacity .25s ease; }
.photo-image-link:hover img, .photo-image-link:focus-visible img { transform: scale(1.025); opacity: .9; }
.photo-image-link:focus-visible { outline: 3px solid #2ea69a; outline-offset: 3px; }
.photo-card figcaption { padding: 9px 2px 0; color: var(--navy); font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: .96rem; letter-spacing: .04em; }

/* movie works */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
.video-group + .video-group { margin-top: 76px; }
.video-group > .section-heading { margin-bottom: 30px; }
.video-card { overflow: hidden; border: 1px solid var(--navy); background: var(--white); }
.video-embed { aspect-ratio: 16 / 9; background: var(--navy); }
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-card--embedded .video-thumb { display: none; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(11, 24, 34, .08); transition: background .2s ease; }
.video-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.video-thumb span { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; width: 58px; height: 58px; place-items: center; padding-left: 4px; border-radius: 50%; background: rgba(11, 24, 34, .86); color: #fff; font-size: 1.3rem; line-height: 1; transform: translate(-50%, -50%); transition: background .2s ease, transform .2s ease; }
.video-thumb:hover::after, .video-thumb:focus-visible::after { background: rgba(11, 24, 34, .2); }
.video-thumb:hover img, .video-thumb:focus-visible img { transform: scale(1.025); }
.video-thumb:hover span, .video-thumb:focus-visible span { background: var(--amber); transform: translate(-50%, -50%) scale(1.07); }
.video-thumb:focus-visible { outline: 3px solid #2ea69a; outline-offset: -3px; }
.video-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 13px 14px 14px; }
.video-card__meta h2 { margin: 0; color: var(--navy); font: 700 1rem/1.45 "Noto Serif JP", "Yu Mincho", serif; letter-spacing: .04em; }
.video-card__meta p { display: none; }
.video-group .video-card__meta { align-items: flex-start; flex-direction: column; gap: 7px; }
.video-group .video-card__meta h3 { margin: 8px 0 0; color: var(--navy); font: 700 1.18rem/1.5 "Noto Serif JP", "Yu Mincho", serif; letter-spacing: .04em; }
.video-card__subtitle { display: block; font-size: .72em; font-weight: 500; }
.video-group .video-card__meta p { display: block; margin: 0; color: var(--navy); font-size: .9rem; line-height: 1.7; }

/* web works */
.web-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 30px; }
.web-card { border: 1px solid var(--navy); background: var(--white); padding: 12px; }
.web-card > a { display: block; color: inherit; text-decoration: none; }
.web-card--nagomi, .web-card--pc-school, .web-card--omoide { transition: transform .25s ease, box-shadow .25s ease; }
.web-card--nagomi:hover, .web-card--pc-school:hover, .web-card--omoide:hover { box-shadow: 7px 7px 0 rgba(40, 66, 58, .18); transform: translate(-3px, -3px); }
.web-card--nagomi .web-preview { border-color: #d8ddd6; background: #f7f4ed; }
.web-thumbnail { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.web-preview { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: #f5f3ee; }
.web-preview-top { height: 25px; background: var(--navy); }
.web-preview-body { height: calc(100% - 25px); padding: 25px; background: linear-gradient(145deg, #f7f4ed 0 48%, #e7eee9 48%); }
.web-preview h2 { margin: 0 0 16px; color: var(--navy); font: 500 1.45rem/1.4 "Noto Serif JP", serif; }
.web-preview p { width: 70%; margin: 0; color: #566166; font-size: .76rem; }
.web-preview i { display: block; width: 86px; margin-top: 24px; border-bottom: 9px solid var(--amber); }
.web-card h2 { margin: 14px 0 2px; font: 500 1.15rem/1.5 "Noto Serif JP", serif; }
.web-card p { margin: 0; color: var(--muted); font-size: .82rem; }

/* print works */
.print-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 30px; }
.print-card { margin: 0; padding: 26px; min-height: 290px; border: 1px solid var(--navy); background: #f8f5ee; }
.paper-piece { height: 185px; padding: 24px; background: var(--white); border: 1px solid #d9d1c2; box-shadow: 7px 9px 0 #e8e0d1; }
.paper-piece.dark { background: var(--navy); color: var(--white); box-shadow: 7px 9px 0 #cfa66e; }
.paper-piece h2 { margin: 0 0 15px; font: 500 1.35rem/1.35 "Noto Serif JP", serif; }
.paper-piece p { margin: 0; font-size: .77rem; line-height: 1.8; }
.paper-piece .rule { display: block; width: 72px; margin-top: 28px; border-bottom: 2px solid var(--amber); }
.print-card figcaption { margin-top: 21px; font: 500 1.08rem/1.5 "Noto Serif JP", serif; }
.print-card small { color: var(--amber); letter-spacing: .08em; }

/* 04 名刺・広告 */
.print-intro { margin-bottom: 48px !important; }
.print-feature,
.print-process {
	padding-top: 34px;
	border-top: 1px solid var(--line);
}
.print-process { margin-top: 88px; }
.section-heading { margin-bottom: 28px; }
.section-heading p {
	margin: 0 0 7px;
	color: var(--amber);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .16em;
}
.section-heading h1,
.section-heading h2 {
	margin: 0;
	color: var(--navy);
	font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-weight: 700;
	letter-spacing: .08em;
}
.section-heading h1 { font-size: clamp(2rem, 3.4vw, 3.35rem); }
.section-heading h2 { font-size: clamp(1.55rem, 2.5vw, 2.35rem); }
.section-heading--small { display: flex; align-items: baseline; gap: 20px; }
.section-heading--small p { flex: 0 0 auto; margin: 0; }
.print-feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}
.print-feature-card,
.process-card { margin: 0; min-width: 0; }
.print-feature-card {
	padding: 14px;
	border: 1px solid var(--navy);
	background: var(--white);
}
.print-image-link {
	display: block;
	overflow: hidden;
	background: #eee9df;
	text-decoration: none;
}
.print-image-link img {
	display: block;
	width: 100%;
	transition: transform .25s ease, opacity .25s ease;
}
.print-image-link:hover img,
.print-image-link:focus-visible img { transform: scale(1.015); opacity: .92; }
.print-image-link:focus-visible { outline: 3px solid #2ea69a; outline-offset: 3px; }
.print-feature-card .print-image-link { aspect-ratio: 1075 / 650; }
.print-feature-card .print-image-link img { height: 100%; object-fit: cover; }
.print-feature-card .print-image-link--icon-final { aspect-ratio: 1 / 1; background: #111820; }
.print-feature-card .print-image-link--icon-final img { object-fit: contain; }
.print-feature-card .print-image-link--wordmark-final { aspect-ratio: 3 / 1; background: #111820; }
.print-feature-card .print-image-link--wordmark-final img { object-fit: contain; }
.print-feature-card figcaption {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 4px 2px;
}
.print-feature-card figcaption strong {
	color: var(--navy);
	font: 700 1.15rem/1.4 "Noto Serif JP", "Yu Mincho", serif;
	letter-spacing: .08em;
}
.print-feature-card figcaption span { color: var(--muted); font-size: .82rem; text-align: right; }
.print-design-points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-top: 30px;
	background: var(--line);
	border: 1px solid var(--line);
}
.print-design-points > div { padding: 24px 26px 26px; background: #f8f5ee; }
.print-design-points span {
	display: block;
	color: var(--amber);
	font: 700 .78rem/1 "Noto Sans JP", sans-serif;
	letter-spacing: .12em;
}
.print-design-points h2 {
	margin: 9px 0 10px;
	color: var(--navy);
	font: 700 1.05rem/1.4 "Noto Serif JP", "Yu Mincho", serif;
	letter-spacing: .08em;
}
.print-design-points p { margin: 0; color: #4d555c; font-size: .85rem; }
.process-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 24px;
}
.process-card {
	padding: 10px;
	border: 1px solid var(--line);
	background: var(--white);
}
.process-card .print-image-link { display: grid; place-items: center; }
.process-grid--card .print-image-link { aspect-ratio: 1075 / 650; }
.process-grid--card .print-image-link img { width: 100%; height: 100%; object-fit: cover; }
.process-grid--icon { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-grid--icon .print-image-link { aspect-ratio: 1 / 1; background: #111820; }
.process-grid--icon .print-image-link img { width: 100%; height: 100%; object-fit: contain; }
.process-grid--wordmark .print-image-link { aspect-ratio: 3 / 1; background: #111820; }
.process-grid--wordmark .print-image-link img { width: 100%; height: 100%; object-fit: contain; }
.process-card figcaption {
	padding: 9px 3px 2px;
	color: var(--muted);
	font-size: .76rem;
	letter-spacing: .06em;
}
.image-modal {
	width: min(1180px, calc(100vw - 40px));
	max-width: none;
	max-height: calc(100vh - 40px);
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
}
.image-modal::backdrop { background: rgba(4, 12, 18, .84); }
.image-modal__content {
	position: relative;
	display: grid;
	place-items: center;
	max-height: calc(100vh - 40px);
	padding: 18px;
	background: #111820;
	box-shadow: 0 18px 55px rgba(0, 0, 0, .36);
}
.image-modal__image {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 112px);
	object-fit: contain;
}
.image-modal__caption {
	width: 100%;
	margin: 12px 0 0;
	padding-right: 42px;
	color: rgba(255, 255, 255, .84);
	font-size: .82rem;
	text-align: left;
}
.image-modal__close {
	position: absolute;
	top: 0;
	right: 0;
	width: 42px;
	height: 42px;
	border: 0;
	background: rgba(255, 255, 255, .92);
	color: var(--navy);
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
}
.image-modal__close:hover,
.image-modal__close:focus-visible { background: var(--amber); color: var(--white); }

.page-footer { border-top: 1px solid var(--line); padding: 28px; color: var(--muted); text-align: center; font-size: .86rem; }
.footer {
	padding: 28px 24px;
	background: var(--navy);
	color: rgba(255, 255, 255, .76);
	text-align: center;
}
.footer p { margin: 0; }
.footer-portfolio-link { color: inherit; text-decoration: none; }

/* 作品集トップのヘッダーとフッターを、撮影サービスページと同じ仕様にする。 */
.portfolio-index-page .site-header {
	min-height: 0;
	border-bottom: 1px solid var(--amber);
}
.portfolio-index-page .header-inner {
	min-height: 0;
	padding: 8px 0;
	align-items: center;
	column-gap: 20px;
	row-gap: 4px;
}
.portfolio-index-page .brand {
	gap: 1px;
}
.portfolio-index-page .brand-mark {
	width: 66px;
	height: 54px;
}
.portfolio-index-page .brand-wordmark {
	width: 172px;
	height: 54px;
	max-width: 172px;
}
.portfolio-index-page .header-links {
	display: flex;
	align-items: center;
	align-content: flex-start;
	flex-wrap: wrap;
	flex: 0 0 auto;
	justify-content: flex-end;
	column-gap: 28px;
	row-gap: 0;
	min-width: 0;
	font-size: .88rem;
}
.portfolio-index-page .header-link-group {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 0 28px;
}
.portfolio-index-page .header-links a,
.portfolio-index-page .header-links a.consult-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	height: auto;
	min-height: 28px;
	padding: 2px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #f7f4ed;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	overflow: visible;
	transition: color .2s ease;
}
.portfolio-index-page .header-links a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 2px;
	left: 0;
	height: 2px;
	background: var(--amber);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .2s ease;
}
.portfolio-index-page .header-links a:hover,
.portfolio-index-page .header-links a:focus {
	border-color: transparent;
	background: transparent;
	color: #efc47c;
}
.portfolio-index-page .header-links a.is-active {
	color: #efc47c;
}
.portfolio-index-page .header-links a:hover::after,
.portfolio-index-page .header-links a:focus::after {
	transform: scaleX(1);
}
.portfolio-index-page .header-links a.consult-button {
	color: #e07a5f;
	font-weight: 700;
}
.portfolio-index-page .header-links a.consult-button:hover,
.portfolio-index-page .header-links a.consult-button:focus {
	border-color: transparent;
	background: transparent;
	color: #f29c83;
}

/* 作品集内の本文も同じ行間にそろえる。 */
.portfolio-main p,
.portfolio-main li,
.page-footer,
.footer p { line-height: 1.5 !important; }

@media (max-width: 1080px) {
	.header-inner { align-items: flex-start; flex-direction: column; gap: 14px; }
	.header-links { width: 100%; justify-content: flex-end; }
	.header-page-heading { margin-left: 0; text-align: left; }
	.portfolio-index-page .header-inner {
		flex-direction: row;
		column-gap: 16px;
		row-gap: 4px;
	}
	.portfolio-index-page .header-links {
		width: auto;
		justify-content: flex-end;
		column-gap: 20px;
	}
	.process-grid--icon { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.header-links { grid-template-columns: repeat(3, 128px); justify-content: flex-end; }
	.portfolio-index-page .header-inner {
		align-items: flex-start;
		flex-direction: column;
	}
	.portfolio-index-page .header-links {
		width: 100%;
		justify-content: flex-start;
	}
}
@media (max-width: 820px) {
	.brand-mark {
		width: 50px;
		height: 35px;
	}
	.brand-wordmark {
		width: 180px;
		height: 28px;
		max-width: 180px;
	}
	.portfolio-index-page .header-inner {
		width: calc(100% - 24px);
		column-gap: 8px;
		row-gap: 4px;
		padding: 6px 0;
	}
	.portfolio-index-page .header-links {
		gap: 0 17px;
	}
	.portfolio-index-page .header-links a,
	.portfolio-index-page .header-links a.consult-button {
		min-height: 36px;
		padding: 7px 0;
		font-size: clamp(.74rem, 3vw, .84rem);
		line-height: 1.3;
	}
	.portfolio-index-page .brand-mark {
		width: 50px;
		height: 35px;
	}
	.portfolio-index-page .brand-wordmark {
		width: 180px;
		height: 28px;
		max-width: 180px;
	}
	.portfolio-main { width: min(100% - 40px, 700px); }
	.portfolio-main { padding: 52px 0 72px; }
	.portfolio-main--detail { padding-top: 26px; }
	.index-heading { margin-bottom: 38px; }
	.category-grid, .work-grid, .web-grid, .print-grid, .video-grid { grid-template-columns: 1fr; gap: 22px; }
	.photo-folder-grid { grid-template-columns: 1fr; gap: 22px; }
	.photo-series { padding: 34px 0 38px; }
	.photo-series__heading { gap: 18px; margin-bottom: 18px; }
	.photo-series__grid { grid-template-columns: 1fr; gap: 22px; }
	.video-card__meta { align-items: flex-start; flex-direction: column; gap: 4px; }
	.category-card { min-height: 148px; padding: 27px; gap: 20px; }
	.category-divider { height: 54px; }
	.gallery-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 36px; }
	.portfolio-main--detail .gallery-heading--description-only { margin-bottom: 18px; }
	.card-category-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
	.gallery-heading p { padding-left: 20px; }
	.work-image { aspect-ratio: 16 / 9; }
	.print-intro { margin-bottom: 34px !important; }
	.print-feature,
	.print-process { padding-top: 25px; }
	.print-process { margin-top: 58px; }
	.section-heading--small { display: block; }
	.section-heading--small p { margin-bottom: 7px; }
	.print-feature-grid { grid-template-columns: 1fr; gap: 22px; }
	.print-feature-card figcaption { display: block; }
	.print-feature-card figcaption span { display: block; margin-top: 3px; text-align: left; }
	.print-design-points { grid-template-columns: 1fr; }
	.process-grid,
	.process-grid--icon { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
}
@media (min-width: 600px) and (max-width: 860px) {
	.portfolio-index-page .header-links {
		row-gap: 0;
	}
	.portfolio-index-page .header-links a,
	.portfolio-index-page .header-links a.consult-button {
		min-height: 28px;
		padding: 2px 0;
		line-height: 1.25;
	}
}
@media (max-width: 520px) {
	.process-grid,
	.process-grid--icon { grid-template-columns: 1fr; }
	.photo-gallery__heading { align-items: flex-start; flex-direction: column-reverse; }
	.photo-folder-grid { grid-template-columns: 1fr; }
	.photo-series__heading { align-items: flex-start; flex-direction: column; }
	.photo-series__grid { grid-template-columns: 1fr; }
	.image-modal { width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
	.image-modal__content { max-height: calc(100vh - 20px); padding: 10px; }
	.image-modal__image { max-height: calc(100vh - 86px); }
	.image-modal__caption { margin-top: 8px; font-size: .72rem; }
}
