/* Pages / FAQ archive / Works archive・single / Front page
 * レスポンシブ指定は各セクションの直後。ファイルの読み込み順はfunctions.phpで管理。
 */

/* =========================================================
   FAQ一覧ページ
========================================================= */

.faq-archive {
	--faq-card-radius: 10px;
}

/* =========================================================
   親カテゴリータブ
========================================================= */

.faq-archive .faq-parent-tabs {
	display: flex;
	align-items: flex-end;
	gap: 4px;

	width: 100%;
	margin-bottom: 44px;

	border-bottom: 4px solid var(--color-blue);

	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

/*
 * <a>ではなく<button>を使用するため、
 * ブラウザ標準のボタン装飾をリセット
 */
.faq-archive .faq-parent-tab {
	-webkit-appearance: none;
	appearance: none;

	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;

	min-width: 180px;
	margin: 0;

	/*
	 * 非アクティブ：上下14px
	 */
	padding: 14px 20px;

	background: var(--color-surface-green);
	color: var(--color-blue);

	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;

	text-align: center;
	text-decoration: none;
	white-space: normal;

	border: 1px solid rgba(var(--color-navy-rgb), 0.12);
	border-bottom: 0;
	border-radius: 6px 6px 0 0;

	/*
	 * 内側に影を入れて凹んだ印象にする
	 */
	box-shadow:
		inset 0 4px 8px rgba(0, 42, 115, 0.13),
		inset 0 -1px 0 rgba(var(--color-white-rgb), 0.9);

	cursor: pointer;
	touch-action: manipulation;

	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		box-shadow 0.25s ease,
		padding 0.25s ease;
}

.faq-archive .faq-parent-tab:hover {
	background: var(--color-surface-green);
}

/*
 * is-activeとaria-selectedの両方に対応
 */
.faq-archive .faq-parent-tab.is-active,
.faq-archive .faq-parent-tab[aria-selected="true"] {
	/*
	 * 非アクティブより上下4pxずつ増やす
	 * 合計8px高くする
	 */
	padding-top: 18px;
	padding-bottom: 18px;

	background: var(--color-blue);
	color: var(--color-white);

	border-color: var(--color-blue);

	box-shadow:
		0 7px 16px rgba(0, 42, 115, 0.22);

	position: relative;
	z-index: 2;
}

/*
 * アクティブタブはhoverしても青を維持
 */
.faq-archive .faq-parent-tab.is-active:hover,
.faq-archive .faq-parent-tab[aria-selected="true"]:hover {
	background: var(--color-blue);
	color: var(--color-white);
}

.faq-archive .faq-parent-tab:focus-visible {
	outline: 3px solid var(--color-gold);
	outline-offset: -3px;
}

/* =========================================================
   タブパネル
========================================================= */

.faq-archive .faq-tab-panels {
	width: 100%;
}

.faq-archive .faq-tab-panel {
	width: 100%;
}

/*
 * JavaScriptで選択されていないパネルに
 * hidden属性が付いた場合は完全に非表示にする
 */
.faq-archive .faq-tab-panel[hidden] {
	display: none !important;
}

/* =========================================================
   選択中カテゴリーの見出し
========================================================= */

.faq-archive .faq-active-heading {
	margin-bottom: 30px;
	text-align: center;
}

.faq-archive .faq-active-title {
	margin: 0;

	color: var(--color-blue);

	font-size: clamp(24px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.45;
}

/* =========================================================
   子カテゴリー・2カラム
========================================================= */

.faq-archive .service-mega-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 24px;
}

.faq-archive .mega-menu-item {
	min-width: 0;
	padding: 26px 28px 10px;

	background: var(--color-white);

	border: 1px solid rgba(var(--color-navy-rgb), 0.11);
	border-radius: var(--faq-card-radius);

	box-shadow:
		0 5px 18px rgba(var(--shadow-rgb), 0.07);
}

.faq-archive .mega-title {
	margin-bottom: 10px;

	color: var(--color-blue);

	font-size: clamp(17px, 1.7vw, 21px);
	font-weight: 700;
	line-height: 1.6;
}

/* =========================================================
   FAQ質問
========================================================= */

.faq-archive .faq-list {
	width: 100%;
}

.faq-archive .faq-item {
	border-bottom: 1px solid var(--color-border);
}

.faq-archive .faq-item:last-child {
	border-bottom: 0;
}

.faq-archive .faq-question {
	margin: 0;
	padding: 0;
	font-size: inherit;
}

.faq-archive .faq-toggle {
	-webkit-appearance: none;
	appearance: none;

	display: grid;

	/*
	 * Q ｜ 質問文 ｜ 開閉アイコン
	 *
	 * Qと質問文の間は1文字分空ける
	 * 改行後の文章はQの下に入らず、
	 * 質問文の開始位置に揃う
	 */
	grid-template-columns: 2em minmax(0, 1fr) 20px;
	column-gap: 1em;
	align-items: start;

	width: 100%;
	margin: 0;
	padding: 16px 0;

	background: transparent;
	color: inherit;

	border: 0;
	border-radius: 0;

	cursor: pointer;
	touch-action: manipulation;

	font: inherit;
	line-height: 1.75;
	letter-spacing: inherit;
	text-align: left;
}

.faq-archive .faq-toggle:hover .faq-question-text {
	color: var(--color-blue);
}

.faq-archive .faq-toggle:focus-visible {
	outline: 3px solid rgba(var(--color-navy-rgb), 0.22);
	outline-offset: 4px;
	border-radius: 5px;
}

.faq-archive .faq-question-text {
	min-width: 0;
	padding-top: 2px;

	font-size: 16px;
	font-weight: 500;

	transition: color 0.25s ease;
}

/* =========================================================
   Q・Aマーク
========================================================= */

.faq-archive .faq-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 2em;
	height: 2em;

	border-radius: 50%;

	color: var(--color-white);

	font-family: var(--font-en);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.faq-archive .faq-mark--question {
	background: var(--color-blue);
}

.faq-archive .faq-mark--answer {
	background: var(--color-gold);
}

/* =========================================================
   ＋・－アイコン
========================================================= */

.faq-archive .faq-toggle-icon {
	position: relative;

	display: block;

	width: 18px;
	height: 18px;
	margin-top: 6px;
}

.faq-archive .faq-toggle-icon::before,
.faq-archive .faq-toggle-icon::after {
	position: absolute;
	top: 50%;
	left: 50%;

	display: block;
	content: "";

	width: 14px;
	height: 2px;

	background: var(--color-blue);
	border-radius: 2px;

	transform: translate(-50%, -50%);

	transition:
		transform 0.25s ease,
		opacity 0.25s ease;
}

.faq-archive .faq-toggle-icon::after {
	transform:
		translate(-50%, -50%)
		rotate(90deg);
}

.faq-archive .faq-item.is-open .faq-toggle-icon::after {
	opacity: 0;

	transform:
		translate(-50%, -50%)
		rotate(0deg);
}

/* =========================================================
   回答・プルダウン
========================================================= */

.faq-archive .faq-answer {
	display: grid;
	grid-template-rows: 0fr;

	opacity: 0;
	visibility: hidden;

	transition:
		grid-template-rows 0.35s ease,
		opacity 0.25s ease,
		visibility 0s linear 0.35s;
}

.faq-archive .faq-item.is-open .faq-answer {
	grid-template-rows: 1fr;

	opacity: 1;
	visibility: visible;

	transition:
		grid-template-rows 0.35s ease,
		opacity 0.25s ease,
		visibility 0s linear 0s;
}

.faq-archive .faq-answer-clip {
	min-height: 0;
	overflow: hidden;
}

.faq-archive .faq-answer-inner {
	display: grid;

	/*
	 * A ｜ 回答文
	 *
	 * Aと回答文の間を1文字分空ける
	 * 改行後もAの下に文章が入り込まない
	 */
	grid-template-columns: 2em minmax(0, 1fr);
	column-gap: 1em;
	align-items: start;

	padding: 4px 0 20px;
}

.faq-archive .faq-answer-text {
	min-width: 0;
	padding-top: 1px;

	color: var(--color-text-mute);

	font-size: 14px;
	text-align: left;
}

.faq-archive .faq-answer-text > :first-child {
	margin-top: 0;
}

.faq-archive .faq-answer-text > :last-child {
	margin-bottom: 0;
}

.faq-archive .faq-answer-text p {
	margin: 0 0 1em;
}

.faq-archive .faq-answer-text ul,
.faq-archive .faq-answer-text ol {
	margin-top: 0.8em;
	margin-bottom: 0.8em;
	padding-left: 1.5em;
}

.faq-archive .faq-answer-text ul {
	list-style: disc;
}

.faq-archive .faq-answer-text ol {
	list-style: decimal;
}

.faq-archive .faq-answer-text li {
	margin-bottom: 0.4em;
}

/* =========================================================
   FAQ未登録
========================================================= */

.faq-archive .faq-empty-message {
	grid-column: 1 / -1;

	margin: 0;
	padding: 40px 20px;

	background: var(--color-surface);
	color: var(--color-text-mute);

	border-radius: 8px;

	text-align: center;
}

/* =========================================================
   タブレット：701px～980px
   親カテゴリータブを2列×2段にする
========================================================= */

@media screen and (min-width: 701px) and (max-width: 980px) {

	.faq-archive .faq-parent-tabs {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
		gap: 4px;

		overflow: visible;
		border-bottom: 0;
		margin-bottom: 36px;
	}

	.faq-archive .faq-parent-tab {
		flex: none;
		width: 100%;
		min-width: 0;
		min-height: 58px;
		padding: 14px 18px;

		border-bottom: 1px solid rgba(var(--color-navy-rgb), 0.12);
		border-radius: 6px;
	}

	/*
	 * PCでは選択中タブを高くしているが、
	 * 2列×2段では全タブの高さを揃える
	 */
	.faq-archive .faq-parent-tab.is-active,
	.faq-archive .faq-parent-tab[aria-selected="true"] {
		padding-top: 14px;
		padding-bottom: 14px;
	}
}

/* =========================================================
   スマートフォン：700px以下
   親カテゴリータブを横スクロール式にする
========================================================= */

@media screen and (max-width: 700px) {

	.faq-archive .faq-parent-tabs {
		display: flex;
		align-items: flex-end;
		gap: 4px;

		width: auto;
		margin-right: calc(50% - 50vw);
		margin-bottom: 32px;
		margin-left: calc(50% - 50vw);

		padding-right: 20px;
		padding-left: 20px;

		border-bottom: 4px solid var(--color-blue);

		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-inline: contain;

		scroll-snap-type: x proximity;
		scroll-padding-inline: 20px;

		/* Firefox */
		scrollbar-width: none;
	}

	/* Chrome・Safari */
	.faq-archive .faq-parent-tabs::-webkit-scrollbar {
		display: none;
	}

	.faq-archive .faq-parent-tab {
		flex: 0 0 auto;

		/*
		 * 次のタブが少し見える横幅にする
		 */
		min-width: clamp(190px, 65vw, 230px);

		padding-right: 16px;
		padding-left: 16px;

		font-size: 14px;

		scroll-snap-align: start;
	}

	/* FAQカテゴリーカードは1列 */
	.faq-archive .service-mega-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.faq-archive .mega-menu-item {
		padding: 20px 18px 8px;
	}

	.faq-archive .mega-title {
		margin-bottom: 6px;
		font-size: 18px;
	}

	.faq-archive .faq-toggle {
		grid-template-columns: 2em minmax(0, 1fr) 18px;
		column-gap: 1em;

		padding: 14px 0;
	}

	.faq-archive .faq-question-text,
	.faq-archive .faq-answer-text {
		font-size: 14px;
	}
}

/* =========================================================
   動きを減らす設定を使用している場合
========================================================= */

@media (prefers-reduced-motion: reduce) {

	.faq-archive .faq-parent-tab,
	.faq-archive .faq-question-text,
	.faq-archive .faq-toggle-icon::before,
	.faq-archive .faq-toggle-icon::after,
	.faq-archive .faq-answer {
		transition: none;
	}

}

/* =========================================================
   制作実績一覧ページ
========================================================= */

.works-archive-section {
	overflow: hidden;
}

.works-archive {
	--works-border-color: rgba(var(--color-navy-rgb), 0.16);
	--works-panel-color: var(--color-surface);
	--works-selected-color: var(--color-grey);
	--works-results-color: var(--color-surface-cyan);
}

/* FAQと同じ親カテゴリータブを使用 */
.works-archive .faq-parent-tabs {
	margin-bottom: 32px;
}

/* =========================================================
   子カテゴリー絞り込み
========================================================= */

.works-filter {
	margin-bottom: 40px;
	padding: 26px;

	background: var(--works-panel-color);
	border: 1px solid rgba(var(--color-navy-rgb), 0.12);
	border-radius: 14px;
	box-shadow: 0 5px 18px rgba(var(--shadow-rgb), 0.04);
}

.works-filter__title {
	margin: 0 0 16px;

	color: var(--color-ink-mute);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.03em;
}

.works-filter__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.works-filter__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;

	min-width: 0;
	min-height: 62px;
	padding: 12px 16px 12px 20px;

	background: var(--color-white);
	color: var(--color-blue);

	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	text-decoration: none;

	border: 1px solid var(--works-border-color);
	border-radius: 9px;
	box-shadow: 0 2px 8px rgba(var(--shadow-rgb), 0.025);

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.works-filter__button:hover {
	background: var(--color-surface);
	border-color: rgba(var(--color-navy-rgb), 0.3);
	box-shadow: 0 5px 14px rgba(var(--shadow-rgb), 0.08);
	transform: translateY(-1px);
}

.works-filter__button.is-active,
.works-filter__button[aria-current="page"] {
	background: var(--works-selected-color);
	color: var(--color-base);
	border-color: transparent;
	box-shadow: inset 0 2px 5px rgba(var(--color-black-rgb), 0.035);
}

.works-filter__button:focus-visible {
	outline: 3px solid var(--color-gold);
	outline-offset: 2px;
}

.works-filter__count {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;

	min-width: 34px;
	height: 34px;
	padding: 0 8px;

	background: var(--color-surface);
	color: var(--color-blue);
	border-radius: 999px;

	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.works-filter__button.is-active .works-filter__count,
.works-filter__button[aria-current="page"] .works-filter__count {
	background: rgba(var(--color-white-rgb), 0.88);
}

/* =========================================================
   制作実績カード一覧
========================================================= */

.works-results {
	position: relative;
	z-index: 0;

	margin-bottom: 48px;
	padding-top: 32px;
	padding-bottom: 32px;

	background: var(--works-results-color);
	box-shadow: 0 0 0 100vmax var(--works-results-color);
	clip-path: inset(0 -100vmax);
}

.works-results::before,
.works-results::after {
	position: absolute;
	left: 50%;
	z-index: -1;

	width: 100vw;
	height: 1px;

	background: rgba(0, 88, 146, 0.32);
	content: "";
	transform: translateX(-50%);
}

.works-results::before {
	top: 0;
}

.works-results::after {
	bottom: 0;
}

.works-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 24px;
}

.works-card {
	min-width: 0;
	height: 100%;

	background: var(--color-white);
	border: 1px solid rgba(20, 50, 80, 0.12);
	border-radius: 12px;
	box-shadow: 0 5px 16px rgba(var(--shadow-rgb), 0.035);
	overflow: hidden;

	transition:
		box-shadow 0.25s ease,
		transform 0.25s ease;
}

.works-card:hover {
	box-shadow: 0 12px 28px rgba(var(--shadow-rgb), 0.12);
	transform: translateY(-4px);
}

.works-card__link {
	display: flex;
	flex-direction: column;

	height: 100%;
	padding: 22px;

	color: inherit;
	text-decoration: none;
}

.works-card__link:focus-visible {
	outline: 3px solid var(--color-gold);
	outline-offset: -4px;
}

.works-card__image {
	position: relative;

	width: 100%;
	aspect-ratio: 4 / 3;
	margin-bottom: 16px;

	background: var(--color-surface);
	overflow: hidden;
}

.works-card__image img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform 0.35s ease;
}

.works-card:hover .works-card__image img {
	transform: scale(1.025);
}

.works-card__no-image {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	height: 100%;

	color: var(--color-ink-mute);
	font-family: var(--font-en);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
}

.works-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.works-card__category {
	margin: 0 0 20px;
	padding: 10px 12px;

	background: var(--color-grey);
	color: var(--color-base);
	border-radius: 5px;

	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
}

.works-card__client {
	margin: 0 0 14px;

	color: var(--color-text-strong);
	font-size: clamp(17px, 1.45vw, 20px);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.01em;
}

.works-card__honorific {
	white-space: nowrap;
}

.works-card__description {
	margin: 0 0 20px;

	color: var(--color-base);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.75;
}

.works-card__tags {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px 10px;

	margin: auto 0 0;
	padding: 0;
	list-style: none;
}

.works-card__tag {
	min-width: 0;
	padding: 4px 6px;

	background: var(--color-white);
	color: var(--color-base);
	border: 1px solid rgba(var(--color-navy-rgb), 0.55);
	border-radius: 8px;

	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	display: grid;
place-items: center;
	overflow-wrap: anywhere;
}

.works-archive-empty {
	margin: 0;
	padding: 72px 24px;

	background: rgba(var(--color-white-rgb), 0.72);
	color: var(--color-text-mute);
	border-radius: 10px;

	text-align: center;
}

/* =========================================================
   ページネーション
========================================================= */

.works-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.works-pagination__summary,
.works-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 42px;
	height: 42px;
	padding: 0 12px;

	background: var(--color-white);
	color: var(--color-base);
	border: 1px solid var(--color-border-strong);

	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
}

.works-pagination__summary {
	min-width: 74px;
}

.works-pagination a.page-numbers:hover {
	background: var(--color-surface);
	border-color: var(--color-blue);
	color: var(--color-blue);
}

.works-pagination .page-numbers.current {
	background: var(--color-white);
	color: var(--color-text-strong);
	border: 2px solid var(--color-base);
	font-weight: 700;
}

.works-pagination .page-numbers.dots {
	min-width: 28px;
	padding-right: 4px;
	padding-left: 4px;
	border-color: transparent;
}

.works-pagination__last {
	min-width: 76px !important;
}

.works-pagination a.page-numbers:focus-visible {
	outline: 3px solid var(--color-gold);
	outline-offset: 2px;
}

.page-lead__thumbnail{
margin-top: 40px;
}

.page-lead__thumbnail img{
width: 100%;
height: auto;
display: block;
}

/* =========================================================
   制作実績一覧：タブレット
========================================================= */

@media screen and (min-width: 701px) and (max-width: 980px) {

	.works-filter__grid,
	.works-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.works-card__client {
		font-size: 18px;
	}
}

/* =========================================================
   制作実績一覧：スマートフォン
========================================================= */

@media screen and (max-width: 700px) {

	.works-archive-section {
		padding-top: 14px;
		padding-bottom: 52px;
	}

	.works-archive .faq-parent-tabs {
		margin-bottom: 24px;
	}

	.works-filter {
		margin-bottom: 30px;
		padding: 18px 16px;
		border-radius: 10px;
	}

	.works-filter__title {
		margin-bottom: 12px;
		font-size: 14px;
	}

	.works-filter__grid,
	.works-grid {
		grid-template-columns: 1fr;
	}

	.works-filter__grid {
		gap: 8px;
	}

	.works-filter__button {
		min-height: 54px;
		padding: 10px 12px 10px 16px;
		font-size: 14px;
	}

	.works-filter__count {
		min-width: 30px;
		height: 30px;
	}

	.works-results {
		margin-bottom: 36px;
		padding-top: 24px;
		padding-bottom: 24px;
	}

	.works-grid {
		gap: 18px;
	}

	.works-card__link {
		padding: 18px;
	}

	.works-card__category {
		margin-bottom: 16px;
	}

	.works-card__client {
		font-size: 18px;
	}

	.works-card__description {
		font-size: 14px;
	}

	.works-pagination {
		gap: 4px;
	}

	.works-pagination__summary,
	.works-pagination .page-numbers {
		min-width: 38px;
		height: 38px;
		padding: 0 10px;
		font-size: 14px;
	}

	.works-pagination__summary {
		min-width: 68px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.works-filter__button,
	.works-card,
	.works-card__image img {
		transition: none;
	}
}

/* =========================================================
   制作実績シングル：制作ギャラリー
========================================================= */

.work-gallery-section {
	--gallery-border-color: rgba(var(--color-navy-rgb), 0.16);
	--gallery-panel-color: var(--color-surface);
	--gallery-selected-color: var(--color-grey);
	--gallery-results-color: var(--color-surface-cyan);

	overflow: hidden;
	padding-top: 18px;
	padding-bottom: 0;
}

.work-gallery__heading {
	margin-bottom: 32px;
	text-align: center;
}

.work-gallery__heading .page-lead__mark {
	margin-bottom: 20px;
}

.work-gallery__title {
	margin: 0;
	color: var(--color-base);
	font-size: clamp(1.625rem, 1.313rem + 0.42vw, 1.875rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.08em;
	text-align: center;
}

/* 端末別サブメニュー */

.work-gallery__tabs {
	display: flex;
	gap: 10px;

	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 22px 26px;

	background: var(--gallery-panel-color);
	border: 1px solid rgba(var(--color-navy-rgb), 0.12);
	border-radius: 14px;
	box-shadow: 0 5px 18px rgba(var(--shadow-rgb), 0.04);
}

.work-gallery__tab {
	display: inline-flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	gap: 12px;

	min-width: 0;
	min-height: 64px;
	padding: 12px 16px;

	background: var(--color-white);
	color: var(--color-text-strong);
	border: 1px solid var(--gallery-border-color);
	border-radius: 9px;
	box-shadow: 0 2px 8px rgba(var(--shadow-rgb), 0.025);
	cursor: pointer;

	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.work-gallery__tab:hover {
	background: var(--color-surface);
	border-color: rgba(var(--color-navy-rgb), 0.3);
	box-shadow: 0 5px 14px rgba(var(--shadow-rgb), 0.08);
	transform: translateY(-1px);
}

.work-gallery__tab.is-active,
.work-gallery__tab[aria-selected="true"] {
	background: var(--gallery-selected-color);
	color: var(--color-base);
	border-color: rgba(var(--color-navy-rgb), 0.42);
	box-shadow: inset 0 2px 5px rgba(var(--color-black-rgb), 0.035);
	transform: none;
}

.work-gallery__tab:focus-visible {
	outline: 3px solid var(--color-gold);
	outline-offset: 2px;
}

.work-gallery__tab-icon {
	flex: 0 0 auto;
	width: 30px;
	color: var(--color-blue);
	font-size: 28px;
	line-height: 1;
	text-align: center;
}

.work-gallery__tab-label {
	min-width: 0;
	text-align: center;
	white-space: nowrap;
}

/* ギャラリー表示エリア */

.work-gallery__results {
	position: relative;
	margin-top: 36px;
	padding: 40px 0 40px;
	background: var(--gallery-results-color);
	border-top: 1px solid rgba(0, 88, 146, 0.32);
	border-bottom: 1px solid rgba(0, 88, 146, 0.32);
}

.work-gallery__panel[hidden] {
	display: none;
}

.work-gallery__carousel {
	width: 100%;
}

.work-gallery__viewport {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;

	background: var(--color-white);
	border: 1px solid rgba(20, 50, 80, 0.09);
	border-radius: 12px;
	box-shadow: 0 5px 16px rgba(var(--shadow-rgb), 0.035);

	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.work-gallery__viewport::-webkit-scrollbar {
	display: none;
}

.work-gallery__viewport:focus-visible {
	outline: 3px solid var(--color-gold);
	outline-offset: 3px;
}

.work-gallery__track {
	--gallery-gap: 24px;
	--gallery-slide-size: calc((100% - (var(--gallery-gap) * 2)) / 3);

	display: flex;
	align-items: stretch;
	gap: var(--gallery-gap);

	width: 100%;
	min-width: 100%;
	padding: 26px 0 18px;
}

/* 最後の画像も左端まで送れるよう、末尾にスクロール余白を作る */
.work-gallery__track::after {
	display: block;
	flex: 0 0 calc(100% - var(--gallery-slide-size) - var(--gallery-gap));
	content: "";
}

.work-gallery__slide {
	display: flex;
	flex: 0 0 var(--gallery-slide-size);
	flex-direction: column;
	min-width: 0;
	margin: 0;
	background: var(--color-white);
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.work-gallery__media {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--color-surface);
	color: inherit;
	text-decoration: none;
}

.work-gallery__media:focus-visible {
	outline: 3px solid var(--color-gold);
	outline-offset: -3px;
}

.work-gallery__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center top;
	transition: transform 0.35s ease;
}

.work-gallery__media:hover img {
	transform: scale(1.02);
}

.work-gallery__panel[data-gallery-device="smartphone"] .work-gallery__media {
	aspect-ratio: 3 / 4;
}

.work-gallery__caption {
	margin: 0;
	padding: 22px 14px 8px;
	color: var(--color-text-strong);
	font-size: clamp(1rem, 0.9rem + 0.25vw, 1.125rem);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.03em;
	text-align: center;
	overflow-wrap: anywhere;
}

/* 登録画像数に連動するナビゲーション */

.work-gallery__pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 22px;
}

.work-gallery__dot {
	display: block;
	width: 12px;
	height: 12px;
	padding: 0;
	background: var(--color-border-strong);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.work-gallery__dot:hover {
	background: var(--color-ink-mute);
	transform: scale(1.14);
}

.work-gallery__dot.is-active,
.work-gallery__dot[aria-pressed="true"] {
	background: var(--color-blue);
}

.work-gallery__dot:focus-visible {
	outline: 3px solid var(--color-gold);
	outline-offset: 3px;
}

/* 制作ギャラリー：タブレット */

@media screen and (max-width: 980px) {
	.work-gallery__tabs {
		padding: 18px;
	}

	.work-gallery__track {
		--gallery-gap: 20px;
		--gallery-slide-size: calc((100% - var(--gallery-gap)) / 2);
	}
}

/* 制作ギャラリー：スマートフォン */

@media screen and (max-width: 700px) {
	.work-gallery-section {
		padding-top: 8px;
	}

	.work-gallery__heading {
		margin-bottom: 26px;
	}

	.work-gallery__title {
		font-size: clamp(1.5rem, 1.184rem + 1.58vw, 1.875rem);
	}

	.work-gallery__tabs {
		gap: 6px;
		padding: 10px;
		border-radius: 10px;
	}

	.work-gallery__tab {
		flex-direction: column;
		gap: 8px;
		min-height: 76px;
		padding: 10px 4px;
		font-size: 12px;
	}

	.work-gallery__tab-icon {
		width: auto;
		font-size: 24px;
	}

	.work-gallery__results {
		margin-top: 26px;
		padding: 26px 0 30px;
	}

	.work-gallery__viewport {
		border-radius: 9px;
	}

	.work-gallery__track {
		--gallery-gap: 14px;
		--gallery-slide-size: 100%;
		padding-top: 18px;
		padding-bottom: 14px;
	}

	.work-gallery__track::after {
		display: none;
	}

	.work-gallery__caption {
		padding-top: 16px;
		font-size: 16px;
	}

	.work-gallery__pagination {
		gap: 10px;
		margin-top: 18px;
	}

	.work-gallery__dot {
		width: 11px;
		height: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.work-gallery__tab,
	.work-gallery__media img,
	.work-gallery__dot {
		transition: none;
	}

	.work-gallery__viewport {
		scroll-behavior: auto;
	}
}

/* =========================================================
   制作実績シングル：制作概要
========================================================= */

.work-summary-section {
	padding-top: 72px;
	padding-bottom: 56px;
}

.work-summary__external-icon {
	margin-left: 0.45em;
	font-size: 0.78em;
}

.company-profile__value--work-types {
	display: flex;
	align-items: center;
}

.work-summary__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.work-summary__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 6px 18px;
	background: var(--color-white);
	color: var(--color-text-strong);
	border: 1px solid var(--color-text-strong);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.04em;
	text-align: center;
}

/* =========================================================
   制作実績シングル：同じカテゴリーの前後移動
========================================================= */

.work-entry-navigation-section {
	padding-top: 16px;
	padding-bottom: 80px;
	background: var(--color-white);
}

.work-entry-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
}

.work-entry-navigation__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 180px;
	min-height: 54px;
	padding: 12px 24px;
	background: var(--color-white);
	color: var(--color-blue);
	border: 1px solid var(--color-blue);
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(var(--color-blue-rgb), 0.08);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.05em;
	text-align: center;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.work-entry-navigation__button:hover {
	background: var(--color-blue);
	color: var(--color-white);
	box-shadow: 0 8px 20px rgba(var(--color-blue-rgb), 0.17);
	transform: translateY(-2px);
}

.work-entry-navigation__button:focus-visible {
	outline: 3px solid var(--color-gold);
	outline-offset: 3px;
}

.work-entry-navigation__button--next {
	margin-left: auto;
}

@media screen and (max-width: 700px) {
	.work-summary-section {
		padding-top: 48px;
		padding-bottom: 40px;
	}

	.company-profile__value--work-types {
		display: block;
	}

	.work-summary__tags {
		gap: 8px;
	}

	.work-summary__tag {
		min-height: 34px;
		padding: 4px 14px;
		font-size: 12px;
	}

	.work-entry-navigation-section {
		padding-top: 8px;
		padding-bottom: 56px;
	}

	.work-entry-navigation {
		gap: 10px;
	}

	.work-entry-navigation__button {
		min-width: 0;
		min-height: 50px;
		padding: 12px 16px;
		font-size: 12px;
	}
}

@media screen and (max-width: 480px) {
	.work-entry-navigation__button {
		gap: 8px;
		padding-right: 12px;
		padding-left: 12px;
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.work-entry-navigation__button {
		transition: none;
	}
}

/* =========================================
   FRONT PAGE RESPONSIVE ADJUSTMENTS
   既存のmessage / selling / buttonコンポーネントを流用
========================================= */

/* 代表メッセージ：PCでは3項目の見出しを1行に保つ */
@media screen and (min-width: 1200px) {
	.message-flow__list {
		gap: 28px;
	}

	.message-flow__title {
		font-size: clamp(1.05rem, 0.86rem + 0.25vw, 1.18rem);
		letter-spacing: 0.03em;
		white-space: nowrap;
	}
}

/* 大きめタブレット：1199px〜981px */
@media screen and (max-width: 1199px) and (min-width: 981px) {
	.message-flow {
		position: relative;
		z-index: 5;
		width: calc(100% + 350px);
		margin-left: -350px;
		margin-top: 60px;
		overflow: visible;
	}

	.message-flow__list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
		padding: 0;
		overflow: visible;
	}

	.message-flow__item {
		display: flex;
		width: auto;
		min-width: 0;
		max-width: none;
		flex-direction: column;
		padding: 18px 14px 20px;
		border-radius: 18px;
		background: var(--color-white);
		box-shadow: 0 10px 24px rgba(var(--color-blue-rgb), 0.08);
	}

	/* 画像側の矢印を止め、カード間の矢印に一本化 */
	.message-flow__image::after {
		content: none;
	}

	.message-flow__item:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 50%;
		right: -28px;
		transform: translateY(-50%);
		width: 0;
		height: 0;
		border-top: 26px solid transparent;
		border-bottom: 26px solid transparent;
		border-left: 45px solid rgba(var(--color-blue-rgb), 0.75);
		z-index: 3;
	}

	.message-flow__number {
		position: static;
		margin-bottom: 12px;
		text-align: center;
	}

	.message-flow__image {
		position: relative;
		max-width: 200px;
	}

	.message-flow__title {
		line-height: 1.45;
		white-space: normal;
	}

	.button-center-wrap {
		width: calc(100% + 350px);
		margin-left: -350px;
	}
}

/* 標準タブレット：980px〜701px */
@media screen and (max-width: 980px) and (min-width: 701px) {
	/* 制作の流れカード：Swiper化（980px以下は横スワイプ＋ドット操作。矢印区切り・3列グリッドは廃止） */
	.message-flow {
		position: relative;
		z-index: 5;
		width: calc(100% / 0.52 - 80px);
		margin-left: calc(100% - 100% / 0.52 + 80px);
		margin-top: 40px;
		overflow: visible;
	}

	.message-flow__item {
		position: relative;
		display: flex;
		flex-direction: column;
		width: auto;
		min-width: 0;
		max-width: none;

		padding: 22px 20px 24px;
		border-radius: 18px;
		background: var(--color-white);
		box-shadow: 0 10px 24px rgba(var(--color-blue-rgb), 0.08);
		text-align: left;
	}

	.message-flow__image::after {
		content: none;
	}

	.message-flow__number {
		position: static;
		display: block;
		margin: 0 0 12px;
		font-size: 4rem;
		line-height: 1;
		text-align: center;
	}

	.message-flow__image {
		position: static;
		max-width: 220px;
		margin: 0 auto 18px;
	}

	.message-flow__body {
		display: flex;
		flex-direction: column;
		flex: 1;
	}

	.message-flow__title {
		font-size: 1.15rem;
		line-height: 1.45;
		white-space: normal;
	}

	.message-flow__text {
		flex: 1;
		font-size: 0.88rem;
		line-height: 1.85;
	}

	.button-center-wrap {
		width: calc(100% / 0.52 - 80px);
		margin-left: calc(100% - 100% / 0.52 + 80px);
	}
}

/* =========================================================
   Selling Sections（WEBSITE / VIDEO / PRINT 共通）
   3セクションは構造が同じで、違いはビジュアルの左右とグラデーションのみ。
   ここに一本化しているので、個別セクション側での再宣言は行わないこと。
========================================================= */

.selling-web,
.selling-video,
.selling-print {
	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	padding: 60px 0;
	overflow: hidden;
	background: var(--color-white);
	color: var(--color-base);
}

.selling-web__inner,
.selling-video__inner,
.selling-print__inner {
	position: relative;
	z-index: 2;
	width: min(calc(100% - 80px), 1200px);
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}

.selling-web__head,
.selling-video__head,
.selling-print__head {
	position: relative;
	z-index: 2;
	max-width: 54%;
	margin-bottom: 40px;
}

.selling-video__head {
	margin-left: auto;
	padding-left: 0;
}

.selling-web__visual,
.selling-video__visual,
.selling-print__visual {
	position: absolute;
	top: 0;
	z-index: 0;
	width: 50%;
	max-width: 960px;
	height: 640px;
	margin: 0;
	overflow: hidden;
	opacity: 0.96;
	pointer-events: none;
}

.selling-web__visual,
.selling-print__visual {
	right: 0;
	left: auto;
}

.selling-video__visual {
	right: auto;
	left: 0;
}

.selling-web__visual::before,
.selling-video__visual::before,
.selling-print__visual::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.selling-web__visual::before,
.selling-print__visual::before {
	background: linear-gradient( 90deg, var(--color-white) 0%, rgba(var(--color-white-rgb), 0.9) 12%, rgba(var(--color-white-rgb), 0.5) 24%, rgba(var(--color-white-rgb), 0) 38% ), linear-gradient( 0deg, var(--color-white) 0%, rgba(var(--color-white-rgb), 0.88) 18%, rgba(var(--color-white-rgb), 0.48) 38%, rgba(var(--color-white-rgb), 0) 64% );
}

.selling-video__visual::before {
	background: linear-gradient( 90deg, rgba(var(--color-white-rgb), 0) 0%, rgba(var(--color-white-rgb), 0) 58%, rgba(var(--color-white-rgb), 0.94) 100% ), linear-gradient( 0deg, rgba(var(--color-white-rgb), 0.88) 0%, rgba(var(--color-white-rgb), 0) 38% );
}

.selling-web__movie,
.selling-video__movie,
.selling-print__movie {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.selling-web__movie,
.selling-print__movie {
	position: relative;
	z-index: 1;
	object-position: center right;
}

.selling-video__movie {
	object-position: left center;
}

.selling-web__button-wrap,
.selling-video__button-wrap,
.selling-print__button-wrap {
	position: relative;
	z-index: 2;
}

.selling__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 2.25em;
	font-weight: 600;
	line-height: 1.22;
	letter-spacing: 0.08em;
}

.selling__title--red {
	color: var(--color-red);
}

.selling__title--blue {
	color: var(--color-blue);
}

.selling__concept {
	margin: 28px 0 0;
	font-size: clamp(1.35rem, 1.037rem + 0.42vw, 1.538rem);
	letter-spacing: 0.06em;
}

.selling__lead {
	margin: 20px 0;
	font-size: 1.25rem;
	font-weight: 600;
}

.selling__lead strong {
	background: linear-gradient(transparent 62%, rgba(var(--color-gold-rgb), 0.28) 0%);
	font-weight: 800;
}

.selling__points {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: min(calc(100% - 80px), 1200px);
	max-width: 1200px;
	margin: 40px auto 0;
	padding: 0;
}

.selling__point-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.selling__point {
	position: relative;
	min-width: 0;
	padding: 0 0 22px;
	background: var(--color-surface);
	border-bottom: 4px solid rgba(var(--color-blue-rgb), 0.12);
}

.selling__point::before {
	content: "";
	display: block;
	height: 96px;
	background: linear-gradient(135deg, rgba(var(--color-white-rgb), 0.85), rgba(226, 235, 248, 0.72));
}

.selling__point-badge {
	position: absolute;
	top: -12px;
	left: -10px;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	background: var(--color-blue);
	border-radius: 50%;
	box-shadow: 0 8px 18px rgba(var(--color-blue-rgb), 0.18);
	color: var(--color-white);
	font-family: var(--font-en);
	font-size: 12px;
	line-height: 1.1;
	letter-spacing: 0.07em;
	text-align: center;
}

.selling__point-icon {
	position: absolute;
	top: 24px;
	left: 50%;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	background: var(--color-white);
	border-radius: 50%;
	box-shadow: 0 8px 18px rgba(var(--color-blue-rgb), 0.10);
	color: var(--color-blue);
	font-size: 24px;
	transform: translateX(-50%);
}

.selling__point-title {
	margin: 24px 18px 0;
	color: var(--color-blue);
	font-size: clamp(1.063rem, 0.958rem + 0.14vw, 1.125rem);
	font-weight: 800;
	line-height: 1.55;
	letter-spacing: 0.055em;
	text-align: center;
}

.selling__point-text {
	margin: 14px 22px 0;
	font-size: 0.88rem;
	line-height: 1.85;
	letter-spacing: 0.035em;
}

@media screen and (max-width: 1199px) {

	.selling-web,
	.selling-video,
	.selling-print {
		padding: 56px 0 64px;
	}

	.selling-web__inner,
	.selling-video__inner,
	.selling-print__inner {
		width: calc(100% - 80px);
	}

	.selling-web__head,
	.selling-video__head,
	.selling-print__head {
		max-width: 52%;
	}

	.selling-web__visual,
	.selling-video__visual,
	.selling-print__visual {
		width: 48%;
		height: 500px;
		opacity: 0.82;
	}

	.selling-web__visual::before {
		background: linear-gradient( 0deg, var(--color-white) 0%, rgba(var(--color-white-rgb), 0.88) 18%, rgba(var(--color-white-rgb), 0.48) 38%, rgba(var(--color-white-rgb), 0) 64% );
	}

	.selling__lead {
		font-size: 1.05rem;
	}

	.selling__points {
		width: calc(100% - 80px);
	}

	.selling__point-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

@media screen and (max-width: 1199px) and (min-width: 981px) {

	.selling__lead {
		line-height: 1.9;
	}
}

@media screen and (max-width: 980px) {

	.selling-web,
	.selling-video,
	.selling-print {
		display: block;
		padding: 0 0 64px;
	}

	.selling-web__inner,
	.selling-video__inner,
	.selling-print__inner {
		width: calc(100% - 64px);
	}

	.selling-web__head,
	.selling-video__head,
	.selling-print__head {
		max-width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	.selling-web__head,
	.selling-print__head {
		padding-left: 0;
	}

	.selling-web__visual,
	.selling-video__visual,
	.selling-print__visual {
		position: relative;
		top: auto;
		width: 100%;
		max-width: none;
		height: 380px;
		margin: 0 0 24px;
		border-radius: 0;
		opacity: 1;
	}

	.selling-web__visual,
	.selling-print__visual {
		right: auto;
	}

	.selling-video__visual {
		left: auto;
	}

	.selling__title {
		font-size: 2em;
	}

	.selling__lead {
		font-size: 1.25rem;
	}

	.selling__points {
		width: calc(100% - 64px);
	}
}

@media screen and (max-width: 700px) {

	.selling-web,
	.selling-video,
	.selling-print {
		padding: 0 0 60px;
	}

	.selling-web__inner,
	.selling-video__inner,
	.selling-print__inner {
		width: calc(100% - 48px);
	}

	.selling-web__visual,
	.selling-video__visual,
	.selling-print__visual {
		height: 320px;
		margin: 0 0 22px;
	}

	.selling-web__visual::before,
	.selling-print__visual::before {
		background: linear-gradient(180deg, rgba(var(--color-white-rgb), 0) 58%, var(--color-white) 100%);
	}

	.selling__title {
		font-size: clamp(1.875rem, 1.559rem + 1.58vw, 2.25rem);
		line-height: 1.3;
		letter-spacing: 0.055em;
	}

	.selling__concept {
		margin: 20px 0 0;
		font-size: clamp(1.25rem, 0.987rem + 1.32vw, 1.563rem);
	}

	.selling__points {
		width: calc(100% - 48px);
		margin: 32px auto 0;
	}

	.selling__point-list {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.selling__point {
		display: grid;
		grid-template-columns: 76px minmax(0, 1fr);
		column-gap: 18px;
		padding: 22px 20px;
		border-bottom: none;
		border-left: 5px solid rgba(var(--color-blue-rgb), 0.12);
	}

	.selling__point::before {
		display: none;
	}

	.selling__point-badge {
		top: 16px;
		left: 16px;
		width: 58px;
		height: 58px;
	}

	.selling__point-icon {
		position: static;
		grid-row: 2 / 4;
		align-self: start;
		margin-top: 52px;
		transform: none;
	}

	.selling__point-title {
		grid-column: 2;
		margin: 4px 0 0;
		font-size: 1.25rem;
		text-align: left;
	}

	.selling__point-text {
		grid-column: 2;
		margin: 14px 0 0;
		font-size: 0.95rem;
		text-align: left;
	}
}

@media screen and (max-width: 480px) {

	.selling-web,
	.selling-video,
	.selling-print {
		padding: 0 0 52px;
	}

	.selling-web__inner,
	.selling-video__inner,
	.selling-print__inner {
		width: calc(100% - 32px);
	}

	.selling-web__visual,
	.selling-video__visual,
	.selling-print__visual {
		height: clamp(240px, 62.5vw, 300px);
		margin: 0 0 20px;
	}

	.selling-web__button-wrap .unison-button,
	.selling-video__button-wrap .unison-button,
	.selling-print__button-wrap .unison-button {
		width: 100%;
	}

	.selling__title {
		letter-spacing: 0.04em;
	}

	.selling__lead {
		line-height: 2;
	}

	.selling__points {
		width: calc(100% - 32px);
	}

	.selling__point {
		grid-template-columns: 1fr;
		padding: 76px 20px 22px;
	}

	.selling__point-icon {
		display: none;
	}

	.selling__point-title {
		grid-column: 1;
		font-size: 1.18rem;
	}

	.selling__point-text {
		grid-column: 1;
	}
}

/* =========================================================
   お知らせ（front-news）
   トップページ お知らせ一覧
========================================================= */

.front-news {
	width: 100%;
	max-width: 1920px;
	margin-right: auto;
	margin-left: auto;
	padding: 76px 0 88px;
	background: var(--color-surface-beige);
	color: var(--color-base);
}
.front-news__inner {
	width: min(calc(100% - 80px), 1200px);
	margin-right: auto;
	margin-left: auto;
}

.front-news__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}

.front-news__head .section__eyebrow {
	margin: 0;
}

.front-news__title {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(2rem, 1.6rem + 0.7vw, 2.75rem);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.08em;
	color: var(--color-blue);
}

.front-news__list {
	border-top: 1px solid rgba(var(--color-blue-rgb), 0.2);
}

.front-news__item {
	display: grid;
	grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
	gap: 40px;
	padding: 30px 0;
	border-bottom: 1px solid rgba(var(--color-blue-rgb), 0.2);
}

.front-news__meta {
	display: flex;
	align-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 12px;
	font-size: 0.875rem;
	line-height: 1.5;
}

.front-news__date {
	font-family: var(--font-en);
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--color-blue);
}

.front-news__categories {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	border: 1px solid rgba(var(--color-blue-rgb), 0.25);
	border-radius: 999px;
	background: rgba(var(--color-white-rgb), 0.56);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-blue);
}

.front-news__new {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 28px;
	padding: 0 8px;
	border: 1px solid var(--color-red);
	background: var(--color-red);
	font-family: var(--font-en);
	font-size: 0.7rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.08em;
	color: var(--color-white);
}

.front-news__body {
	min-width: 0;
}

.front-news__item-title {
	margin: 0;
	font-size: clamp(1.125rem, 1.03rem + 0.15vw, 1.25rem);
	font-weight: 800;
	line-height: 1.65;
	letter-spacing: 0.045em;
	color: var(--color-blue);
}

.front-news__item-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.front-news__item-title a:hover,
.front-news__item-title a:focus-visible {
	color: var(--color-red);
	opacity: 1;
}

.front-news__excerpt {
	margin-top: 10px;
	font-size: 0.95rem;
	line-height: 1.9;
	letter-spacing: 0.03em;
	color: var(--color-base);
}

.front-news__excerpt > :first-child {
	margin-top: 0;
}

.front-news__excerpt > :last-child {
	margin-bottom: 0;
}

.front-news__button-wrap {
	margin-top: 40px;
}

.front-news__empty {
	padding: 30px 0;
	border-top: 1px solid rgba(var(--color-blue-rgb), 0.2);
	border-bottom: 1px solid rgba(var(--color-blue-rgb), 0.2);
}

/* 大きめタブレット：1199px〜981px */
@media screen and (max-width: 1199px) and (min-width: 981px) {
	.front-news__inner {
		width: calc(100% - 80px);
	}

	.front-news__item {
		grid-template-columns: 190px minmax(0, 1fr);
		gap: 32px;
	}
}

/* 標準タブレット：980px〜701px */
@media screen and (max-width: 980px) and (min-width: 701px) {
	.front-news__inner {
		width: calc(100% - 64px);
	}

	.front-news {
		padding: 64px 0 72px;
	}

	.front-news__item {
		grid-template-columns: 160px minmax(0, 1fr);
		gap: 26px;
	}
}

/* 大きめスマホ：700px〜481px */
@media screen and (max-width: 700px) and (min-width: 481px) {
	.front-news__inner {
		width: calc(100% - 48px);
	}

	.front-news {
		padding: 56px 0 64px;
	}

	.front-news__head {
		display: block;
	}

	.front-news__title {
		margin-top: 12px;
	}

	.front-news__item {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 26px 0;
	}

	.front-news__button-wrap .unison-button {
		width: 100%;
	}
}

/* スマホ：480px〜320px */
@media screen and (max-width: 480px) {
	.front-news__inner {
		width: calc(100% - 32px);
	}

	.front-news {
		padding: 48px 0 56px;
	}

	.front-news__head {
		display: block;
		margin-bottom: 26px;
	}

	.front-news__title {
		margin-top: 10px;
		font-size: 2rem;
	}

	.front-news__item {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 24px 0;
	}

	.front-news__meta {
		gap: 8px 10px;
	}

	.front-news__item-title {
		font-size: 1.0625rem;
	}

	.front-news__excerpt {
		font-size: 0.9rem;
		line-height: 1.85;
	}

	.front-news__button-wrap .unison-button {
		width: 100%;
	}
}
