/* =========================================================
   melt theme — main.css
   Figma: melt (PC 1440 / SP 390)
   ========================================================= */

:root {
	--c-main: #78e6ce;
	--c-main-10: rgba(120, 230, 206, 0.1);
	--c-sub: #3c251b;
	--c-mint-light: #caf9ef;
	--c-text-gray: #666;
	--c-date-gray: #6f7a87;
	--font-jp: "M PLUS 1", "Hiragino Sans", sans-serif;
	--font-en: "Outfit", sans-serif;
	--shadow-card: 0 12px 32px rgba(203, 238, 234, 0.5);
	--shadow-btn: 0 42px 107px rgba(158, 255, 218, 0.34), 0 3.71px 10px rgba(65, 106, 104, 0.25);
	--radius-l: 32px;
	--radius-m: 24px;
}

/* ---------- base ---------- */

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

body {
	margin: 0;
	font-family: var(--font-jp);
	color: var(--c-sub);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

a {
	color: inherit;
	transition: opacity 0.25s ease;
}

a:hover {
	opacity: 0.75;
}

h1,
h2,
h3,
p,
ul {
	margin: 0;
}

ul {
	padding: 0;
	list-style: none;
}

.u-sp {
	display: none;
}

/* アクセシビリティ */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 8px;
	top: -100px;
	z-index: 1000;
	padding: 8px 16px;
	border-radius: 8px;
	background: var(--c-sub);
	color: #fff;
	font-size: 14px;
	text-decoration: none;
}

.skip-link:focus {
	top: 8px;
}

:focus-visible {
	outline: 3px solid #2bb59a;
	outline-offset: 2px;
}

/* ページ遷移: クリック時に白くフェードアウト → 次ページでフェードイン */
.page-veil {
	/* 最初から白で覆っておき、読み込み完了（.is-ready）でフェードアウト */
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: #fff;
	opacity: 1;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.is-ready .page-veil {
	opacity: 0;
}

.is-leaving .page-veil {
	opacity: 1;
	pointer-events: auto;
	transition-duration: 0.25s;
}

/* TOP 初回表示: ヒーローをふわっと出す */
.js .hero__stage {
	opacity: 0;
	transform: scale(1.02);
	transition: opacity 0.8s ease, transform 1.2s ease;
}

.js.is-ready .hero__stage {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.page-veil,
	.is-leaving .page-veil {
		display: none;
	}

	.js .hero__stage {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* scroll reveal (JS 有効時のみ) */
.js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ---------- header ---------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	height: 68px;
	background: #fff;
	transition: transform 0.4s ease;
}

/* PC: TOPのファーストビューではヘッダーを隠し、スクロールで表示
   （初期状態から隠しておき、JSが .is-shown を付けたときだけ出す＝表示直後のチラつき防止） */
@media (min-width: 960px) {
	body.home .site-header {
		transform: translateY(-100%);
	}

	body.home .site-header.is-shown,
	.no-js body.home .site-header {
		transform: none;
	}
}

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 100%;
	padding: 0 24px;
}

.site-header__logo {
	justify-self: start;
	display: block;
}

.site-header__logo img {
	width: 99px;
	height: 40px;
	object-fit: contain;
}

.global-nav {
	display: flex;
	gap: 24px;
	align-items: center;
}

.global-nav a {
	display: block;
	padding: 8px 16px;
	font-size: 20px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 1.2px;
	color: var(--c-sub);
	text-decoration: none;
	white-space: nowrap;
}

.site-header__menu-btn {
	display: none;
}

/* ---------- overlay menu (SP) ---------- */

.overlay-menu {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	flex-direction: column;
	background: var(--c-sub);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	/* 右上（ハンバーガー位置）から円形に広がる */
	clip-path: circle(0 at calc(100% - 34px) 36px);
	visibility: hidden;
	transition: clip-path 0.6s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s linear 0.6s;
}

.overlay-menu.is-open {
	clip-path: circle(150% at calc(100% - 34px) 36px);
	visibility: visible;
	transition: clip-path 0.7s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s;
}

.overlay-menu[hidden] {
	display: flex;
}

.overlay-menu__header {
	/* ヘッダー（SP）と同じ配置: 高さ72px・左右12px・ロゴ60×25・ボタン44px */
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	padding: 0 12px;
	flex-shrink: 0;
}

.overlay-menu__logo {
	width: 60px;
	height: 25px;
	object-fit: contain;
	opacity: 0;
	transition: opacity 0.4s ease 0.3s;
}

.overlay-menu.is-open .overlay-menu__logo {
	opacity: 1;
}

.overlay-menu__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	cursor: pointer;
	transform: rotate(-90deg) scale(0.6);
	opacity: 0;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.25s, opacity 0.3s ease 0.25s;
}

.overlay-menu.is-open .overlay-menu__close {
	transform: none;
	opacity: 1;
}

.overlay-menu__nav {
	position: relative;
	flex: 1;
	padding-top: clamp(24px, 7vh, 72px);
	padding-bottom: 24px;
}

.overlay-menu__nav ul {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}

.overlay-menu__nav li {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.overlay-menu.is-open .overlay-menu__nav li {
	opacity: 1;
	transform: none;
}

.overlay-menu.is-open .overlay-menu__nav li:nth-child(1) { transition-delay: 0.25s; }
.overlay-menu.is-open .overlay-menu__nav li:nth-child(2) { transition-delay: 0.31s; }
.overlay-menu.is-open .overlay-menu__nav li:nth-child(3) { transition-delay: 0.37s; }
.overlay-menu.is-open .overlay-menu__nav li:nth-child(4) { transition-delay: 0.43s; }
.overlay-menu.is-open .overlay-menu__nav li:nth-child(5) { transition-delay: 0.49s; }
.overlay-menu.is-open .overlay-menu__nav li:nth-child(6) { transition-delay: 0.55s; }
.overlay-menu.is-open .overlay-menu__nav li:nth-child(7) { transition-delay: 0.61s; }

.overlay-menu__nav a {
	position: relative;
	display: inline-block;
	padding: 4px 0;
	font-size: 36px;
	font-weight: 400;
	color: #fff;
	text-decoration: none;
}

.overlay-menu__nav a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	height: 2px;
	background: var(--c-main);
	transition: width 0.3s ease, left 0.3s ease;
}

.overlay-menu__nav a:active::after,
.overlay-menu__nav a[aria-current="page"]::after {
	left: 0;
	width: 100%;
}

.overlay-menu__social {
	position: relative;
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	gap: 32px;
	padding: 24px 0 max(40px, env(safe-area-inset-bottom));
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease 0.6s, transform 0.6s ease 0.6s;
}

.overlay-menu.is-open .overlay-menu__social {
	opacity: 1;
	transform: none;
}

.overlay-menu__social img {
	width: 28px;
	height: 28px;
}

/* ハンバーガーボタン: 押したときに少し沈む */
.site-header__menu-btn {
	transition: transform 0.2s ease;
}

.site-header__menu-btn:active {
	transform: scale(0.92);
}

@media (prefers-reduced-motion: reduce) {
	.overlay-menu,
	.overlay-menu.is-open,
	.overlay-menu__logo,
	.overlay-menu__close,
	.overlay-menu__nav li,
	.overlay-menu__social {
		transition: none;
	}
}

/* ---------- hero (crossfade slideshow) ---------- */

.hero {
	/* --k: デザイン(1440x900)からの拡大率。高さ100svh基準、幅が足りなければ幅基準 */
	--k: min(100vh / 900, min(100vw, 2000px) / 1440);
	--k: min(100svh / 900, min(100vw, 2000px) / 1440);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
	background: #fff;
}

.hero__stage {
	position: relative;
	width: min(100%, 2000px);
	height: calc(900 * var(--k));
	margin: 0 auto;
}

/* 光の装飾・ロゴはデザイン幅(1440k)の箱に入れて右寄せ */
.hero__design {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

/* 余白用アンビエント背景: 表示中の写真をぼかして敷く（JSで同期） */
.hero__ambient {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	filter: blur(60px) saturate(1.15);
	opacity: 0.9;
	transform: translateZ(0);
}

.hero__ambient img {
	position: absolute;
	max-width: none;
	opacity: 0;
}

.hero__ambient img.is-active {
	opacity: 1;
	transition: opacity 1.2s ease-in-out;
}

.hero__ambient img.is-leaving {
	opacity: 1;
	transition: none;
}

.hero__stage {
	z-index: 1;
}

.hero__slot {
	position: absolute;
	overflow: hidden;
}

/* 各枠: 横位置・幅はデザイン比率(%)で可変、高さは --k 基準で固定。
   ブロブ形マスクは曲線側の端に固定し、伸びた側は矩形マスクで埋める */
.hero__slot--1 {
	left: 0;
	top: 0;
	width: 67.38%;
	height: calc(901 * var(--k));
	z-index: 3;
	-webkit-mask-image: url(../img/hero/pc1-raw/mask.png), linear-gradient(#000 0 0);
	mask-image: url(../img/hero/pc1-raw/mask.png), linear-gradient(#000 0 0);
	-webkit-mask-size: auto 100%, calc(100% - 970.3 * var(--k) + 2px) 100%;
	mask-size: auto 100%, calc(100% - 970.3 * var(--k) + 2px) 100%;
	-webkit-mask-position: right top, left top;
	mask-position: right top, left top;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

/* 左枠の写真は元写真を右端基準で配置（デザインのトリミング位置を再現し、広がったぶんは左側に伸びる） */
.hero__slot--1 .hero__photo img {
	left: auto;
	bottom: auto;
	width: auto;
	height: auto;
}
.hero__slot--1 .hero__photo img {
	/* 全員共通: トリミング枠(970.3k x 901k)を基準に 左60% / 右5% / 上下10% 拡張したキャンバス */
	width: calc(1601.0 * var(--k));
	right: calc(-48.5 * var(--k));
	top: calc(-90.1 * var(--k));
}

.hero__slot--2 {
	left: 46.41%;
	top: 0;
	width: 53.59%;
	height: calc(523.2 * var(--k));
	z-index: 1;
	/* 上下辺が波形のため、マスクは横に引き伸ばして全幅に合わせる */
	-webkit-mask-image: url(../img/hero/pc2-raw/mask.png);
	mask-image: url(../img/hero/pc2-raw/mask.png);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.hero__slot--2 .hero__photo img {
	right: auto;
	bottom: auto;
	width: calc(1157.6 * var(--k));
	height: auto;
	left: calc(-38.6 * var(--k));
	top: calc(-52.3 * var(--k));
}

.hero__slot--3 {
	left: 34.55%;
	top: calc(378.18 * var(--k));
	width: 65.45%;
	height: calc(522.5 * var(--k));
	z-index: 2;
	/* 上下辺が波形のため、マスクは横に引き伸ばして全幅に合わせる */
	-webkit-mask-image: url(../img/hero/pc3-raw/mask.png);
	mask-image: url(../img/hero/pc3-raw/mask.png);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.hero__slot--3 .hero__photo img {
	right: auto;
	bottom: auto;
	width: calc(1413.8 * var(--k));
	height: auto;
	left: calc(-47.1 * var(--k));
	top: calc(-52.3 * var(--k));
}

.hero__photo {
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 0;
}

/* 切り替え: 前の写真(is-leaving)は不透明のまま下に残し、新しい写真だけ上でフェードイン。
   両方が半透明になる瞬間を作らないことで、裏の背景が透けるのを防ぐ */
.hero__photo.is-active {
	opacity: 1;
	z-index: 2;
	transition: opacity 1.2s ease-in-out;
}

.hero__photo.is-leaving {
	opacity: 1;
	z-index: 1;
	transition: none;
}

.hero__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
}


/* 光の装飾レイヤー（Figma の配置をそのまま再現） */
.hs {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	z-index: 4;
}

.hs--dodge {
	mix-blend-mode: color-dodge;
}

.hs--screen {
	mix-blend-mode: screen;
}

.hs__box {
	position: relative;
	flex: none;
}

.hs__box--rect {
	transform: rotate(114.94deg) scaleX(-1) skewX(-8.17deg);
}

.hs__box--vec {
	transform: rotate(-29.45deg) skewX(-5.41deg);
}

.hs__box--vec10 {
	transform: rotate(-22.48deg) skewX(-5.41deg);
}

.hs__bleed {
	position: absolute;
}

.hs__bleed img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
}

.hs--1{inset:81.05% 74.35% -30.86% -12.99%} .hs--1 .hs__box{width:64.69%;height:94.27%}
.hs--2{inset:66.67% 31.49% -26.61% 22.01%} .hs--2 .hs__box{width:64.69%;height:94.27%}
.hs--3{inset:0.67% -43.68% 20.10% 82.22%} .hs--3 .hs__box{width:64.69%;height:94.26%}
.hs--4{inset:32.10% 14.32% 5.17% 45.29%} .hs--4 .hs__box{width:87.03%;height:61.23%}
.hs--5{inset:-12.67% 78.84% 49.93% -19.24%} .hs--5 .hs__box{width:87.03%;height:61.23%}
.hs--6{inset:72.33% -15.32% -35.07% 74.93%} .hs--6 .hs__box{width:87.03%;height:61.23%}
.hs--7{inset:-25.33% 63.57% 62.60% -3.96%} .hs--7 .hs__box{width:87.03%;height:61.23%}
.hs--8{inset:43.33% -17.27% -6.07% 76.88%} .hs--8 .hs__box{width:87.03%;height:61.23%}
.hs--9{inset:74.67% 46.58% -32.89% 13.89%} .hs--9 .hs__box{width:88.92%;height:65.97%}

.hs--sp {
	display: none;
}

.hero__logo {
	position: absolute;
	left: 37.92%;
	top: 80.56%;
	width: 24.17%;
	height: auto;
	z-index: 5;
}

@media (max-width: 959px) {

	.hero {
		display: block;
		height: auto;
	}

	.hero__stage {
		width: 100%;
		height: auto;
		aspect-ratio: 390 / 772;
	}

	.hero__design {
		width: 100%;
	}

	.hero__slot--1,
	.hero__slot--2,
	.hero__slot--3 {
		right: auto;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.hero__slot .hero__photo img {
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
	}

	.hero__ambient {
		display: none;
	}

	.hero__slot--1 {
		left: 0;
		top: 0;
		width: 100%;
		height: 37.95%;
		z-index: 2;
	}

	.hero__slot--2 {
		left: 0;
		top: 15.8%;
		width: 100%;
		height: 68.24%;
		z-index: 3;
	}

	.hero__slot--3 {
		left: 0;
		top: 65.67%;
		width: 100%;
		height: 34.33%;
		z-index: 1;
	}


	.hs--1, .hs--2, .hs--3, .hs--4, .hs--5, .hs--6, .hs--7, .hs--8, .hs--9 {
		display: none;
	}

	.hs--sp {
		display: flex;
		top: 58.29%;
		bottom: 19.14%;
		left: 50%;
		width: 61.42%;
		transform: translateX(-50%);
	}

	.hs--sp .hs__box{width:54.63%;height:110.51%}

	.hero__logo {
		left: 26.92%;
		top: 63.86%;
		width: 46.15%;
	}
}

/* ---------- catch ---------- */

.catch {
	position: relative;
	height: 560px;
	overflow: hidden;
	background: linear-gradient(180deg, #9bf0dd 0%, #90f7e1 100%);
}

.catch__lg {
	position: absolute;
	inset: 0;
}

.catch__lg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.catch__subtract {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 34.66%;
}

.catch__subtract img {
	width: 100%;
	height: 100%;
}

.catch__corner {
	display: none;
}

.catch__streak {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.catch__streak--1 {
	left: 13.6%;
	top: -188px;
	width: 1104px;
	height: 920px;
	mix-blend-mode: screen;
}

.catch__streak--1 img {
	width: 1043px;
	max-width: none;
	transform: rotate(22.76deg);
}

.catch__streak--2 {
	left: -293px;
	top: 312px;
	width: 682px;
	height: 533px;
	mix-blend-mode: color-dodge;
}

.catch__streak--2 img {
	width: 733px;
	max-width: none;
	transform: rotate(-69.44deg) skewX(12.55deg) scaleY(0.98);
}

.catch__inner {
	position: absolute;
	left: 50%;
	top: 176px;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
	text-align: center;
}

.js .catch__inner.reveal {
	transform: translateX(-50%) translateY(24px);
}

.js .catch__inner.reveal.is-visible {
	transform: translateX(-50%);
}

.catch__title {
	font-size: clamp(34px, 3.9vw, 56px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 3px;
	color: var(--c-sub);
	white-space: nowrap;
}

.catch__text {
	padding-top: 32px;
	font-size: clamp(16px, 1.7vw, 24px);
	font-weight: 500;
	line-height: 1.85;
	letter-spacing: 2px;
	color: var(--c-sub);
}

.catch__wave {
	position: absolute;
	left: 50%;
	top: 610px;
	transform: translateX(-50%);
	width: 100%;
	height: 102px;
}

.catch__wave img {
	width: 100%;
	height: 100%;
}

/* 画像未登録時のプレースホルダー */
.noimage,
.news-card__image img.noimage,
.agent-item__photo img.noimage,
.agent-card__blob img.noimage,
.agent-profile__photo img.noimage {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

/* ---------- section header ---------- */

.section-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	position: relative;
}

.section-header__label {
	font-family: var(--font-en);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--c-main);
}

.section-header__title {
	font-size: 36px;
	font-weight: 800;
	line-height: 40px;
	letter-spacing: 2px;
	color: var(--c-sub);
}

.section-header__divider {
	width: 40px;
	height: 4px;
	margin-top: 16px;
	border-radius: 999px;
	background: var(--c-main);
}

/* ---------- buttons ---------- */

.btn-melt {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 56px;
	padding: 16px 24px;
	border-radius: var(--radius-l);
	background: var(--c-main);
	box-shadow: var(--shadow-btn);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--c-sub);
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.btn-melt:hover {
	transform: translateY(-2px);
	opacity: 1;
}

.btn-melt__sheen {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-image: url(../img/ui/btn-sheen.webp);
	background-size: 100% 314%;
	background-position: 0 46.3%;
	mix-blend-mode: plus-lighter;
	opacity: 0.4;
	pointer-events: none;
}

.btn-melt::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 1px 8px #d9fff0, inset 0 1px 4px #d9fff0;
	pointer-events: none;
}

.btn-melt__label,
.btn-melt__arrow {
	position: relative;
}

.btn-melt__arrow {
	width: 24px;
	height: 24px;
}

/* ---------- agents ---------- */

.agents {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 80px 0;
	background: #fff;
	/* カルーセルの横はみ出しで横スクロールが発生しないようにする */
	overflow: hidden;
}

.agents .section-header {
	margin-bottom: 80px;
}

.agents__carousel {
	width: 100%;
	height: 358px;
	margin-bottom: 48px;
	/* 画面幅いっぱいに流し、カードは画面端から始まり画面端の外へ抜けていく */
	padding-left: 0;
	/* 横方向だけ切り抜き、上下はシャドウやホバー拡大ぶんはみ出せるようにする */
	overflow: visible;
	clip-path: inset(-40px 0 -48px 0);
}

.agents__track {
	display: flex;
	will-change: transform;
}

.agent-card {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 300px;
	text-decoration: none;
}

.agent-card:hover {
	opacity: 1;
}

.agent-card__blob img {
	transition: transform 0.5s ease;
}

.agent-card:hover .agent-card__blob img {
	transform: scale(1.06);
}

.agent-card__blob {
	position: relative;
	display: block;
	width: 240px;
	height: 245px;
}

.agent-card__blob img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* 投稿のアイキャッチ: ブロブ型にマスクし、外側に柔らかい影 */
.agent-card__blob:has(img:not(.is-sample)) {
	filter: drop-shadow(0 12px 20px rgba(160, 220, 210, 0.55));
}

.agent-card__blob img:not(.is-sample) {
	object-fit: cover;
	object-position: center top;
	-webkit-mask-image: url(../img/agent/blob-mask.png);
	mask-image: url(../img/agent/blob-mask.png);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

/* デザインカンプのサンプル画像（影ぶんの余白を含む PNG） */
.agent-card__blob img.is-sample {
	position: absolute;
	left: -27.08%;
	top: -4.9%;
	width: 154.16%;
	height: 197.14%;
	max-width: none;
	object-fit: fill;
}

.agent-card__name {
	display: block;
	font-size: 28px;
	font-weight: 500;
	line-height: 44px;
	letter-spacing: 2px;
	color: var(--c-sub);
	white-space: nowrap;
}

/* ---------- services ---------- */

.services {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 88px 24px 140px;
	background: var(--c-main-10);
	overflow: hidden;
}

.services__bg {
	position: absolute;
	inset: 0;
	background-image: url(../img/services/services-wave.svg), url(../img/services/services-bg-photo.webp);
	background-size: 100% 100%, 143.75% auto;
	background-position: 0 0, -176px -578px;
	background-repeat: no-repeat, no-repeat;
	-webkit-mask-image: url(../img/services/services-mask.svg);
	mask-image: url(../img/services/services-mask.svg);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	pointer-events: none;
}

.services .section-header {
	margin-bottom: 48px;
}

.services__more {
	position: relative;
	margin-top: 56px;
}

.services__list {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.service-card {
	display: flex;
	align-items: center;
	gap: 55px;
	width: 952px;
	max-width: 100%;
	min-height: 280px;
	padding: 16px;
	background: #fefefe;
	border: 1px solid rgba(120, 230, 206, 0.15);
	border-radius: var(--radius-l);
	box-shadow: var(--shadow-card);
}

.service-card__image {
	flex-shrink: 0;
	width: 348px;
	height: 246px;
	border-radius: var(--radius-m);
	overflow: hidden;
}

.service-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-card__body {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-right: 24px;
}

.service-card__title {
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	color: var(--c-sub);
}

.service-card__text {
	font-size: 20px;
	font-weight: 500;
	line-height: 30px;
	color: var(--c-text-gray);
}

/* ---------- news ---------- */

.news {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 80px 64px 160px;
	background: #fff;
	overflow: hidden;
}

.news__bg {
	position: absolute;
	left: 0;
	top: 252px;
	width: 100%;
	height: 810px;
	opacity: 0.2;
	transform: scaleX(-1);
	pointer-events: none;
}

.news__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news .section-header {
	margin-bottom: 80px;
}

.news__list {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px;
}

.news-card {
	width: 360px;
	background: #fff;
	border-radius: var(--radius-m);
	box-shadow: var(--shadow-card);
	overflow: hidden;
}

.news-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
}

.news-card__image {
	display: block;
	height: 300px;
	background: var(--c-mint-light);
}

.news-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
}

.news-card__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 24px;
}

.news-card__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.news-card__date {
	font-size: 15px;
	font-weight: 500;
	color: var(--c-date-gray);
}

.news-card__tab {
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--c-mint-light);
	font-family: var(--font-en);
	font-size: 12px;
	font-weight: 700;
	line-height: 15px;
	color: var(--c-sub);
	text-transform: uppercase;
}

.news-card__title {
	width: 100%;
	font-size: 18px;
	font-weight: 700;
	line-height: 32px;
	color: var(--c-sub);
}

.news__more {
	position: relative;
	margin-top: 80px;
}

/* ---------- front: contact 導線 ---------- */

.front-cta {
	padding: 0 64px 120px;
	background: #fff;
}

.front-cta .cta {
	max-width: 1040px;
	margin: 40px auto 0;
}

/* ---------- footer ---------- */

.site-footer {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 48px;
	padding: 64px;
	background: var(--c-sub);
	overflow: hidden;
}

.site-footer__streak {
	display: none;
}

.site-footer__top {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-footer__logo {
	position: relative;
	display: block;
	width: 99px;
	height: 44px;
	overflow: hidden;
}

.site-footer__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.site-footer__links {
	display: flex;
	gap: 32px;
}

.site-footer__links a {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.site-footer__social {
	display: flex;
	gap: 32px;
}

.site-footer__social img {
	width: 28px;
	height: 28px;
}

.site-footer__copyright {
	position: relative;
	font-size: 12px;
	font-weight: 400;
	color: #999;
	text-align: center;
}

/* ---------- archive fallback ---------- */

.archive-page {
	padding: 148px 24px 80px;
}

.archive-page__inner {
	max-width: 960px;
	margin: 0 auto;
}

.archive-page .section-header {
	margin-bottom: 48px;
}

.archive-page__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 32px;
}

.archive-page__item a {
	display: block;
	border-radius: var(--radius-m);
	box-shadow: var(--shadow-card);
	padding: 16px;
	text-decoration: none;
}

.archive-page__item h2 {
	font-size: 18px;
	line-height: 1.6;
	margin: 12px 0 4px;
}

.archive-page__item time {
	font-size: 13px;
	color: var(--c-date-gray);
}

.archive-page__content {
	line-height: 2;
}

/* =========================================================
   SP (〜959px)
   ========================================================= */

@media (max-width: 959px) {

	body {
		padding-top: 72px;
	}

	.u-sp {
		display: inline;
	}

	.u-pc {
		display: none;
	}

	/* header */
	.site-header {
		height: 72px;
	}

	.site-header__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 12px;
	}

	.site-header__logo img {
		width: 60px;
		height: 25px;
	}

	.site-header__nav {
		display: none;
	}

	.site-header__menu-btn {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background: var(--c-main);
		box-shadow: 0 42px 107px rgba(158, 255, 218, 0.34), 0 3.71px 4.8px rgba(0, 229, 141, 0.15);
		cursor: pointer;
		overflow: hidden;
	}

	.site-header__menu-sheen {
		position: absolute;
		inset: 0;
		border-radius: inherit;
		background-image: url(../img/ui/btn-sheen.webp);
		background-size: 100% 314%;
		background-position: 0 46.3%;
		mix-blend-mode: plus-lighter;
		opacity: 0.4;
	}

	.site-header__menu-btn::after {
		content: "";
		position: absolute;
		inset: 0;
		border-radius: inherit;
		box-shadow: inset 0 1px 8px #d9fff0, inset 0 1px 4px #d9fff0;
	}

	.site-header__menu-btn img {
		position: relative;
	}

	/* catch */
	.catch {
		height: auto;
		padding: 80px 24px;
	}

	.catch__subtract {
		display: none;
	}

	.catch__corner {
		display: block;
		position: absolute;
		right: 0;
		bottom: 0;
		width: 284px;
		height: 288px;
	}

	.catch__streak--1 {
		left: -5px;
		top: 35px;
		width: 355px;
		height: 277px;
	}

	.catch__streak--1 img {
		width: 346px;
		transform: rotate(15.7deg);
	}

	.catch__streak--2 {
		left: auto;
		right: -160px;
		top: 214px;
		width: 352px;
		height: 243px;
	}

	.catch__streak--2 img {
		width: 460px;
	}

	.catch__inner {
		position: relative;
		left: 0;
		top: 0;
		transform: none;
		gap: 28px;
	}

	.js .catch__inner.reveal {
		transform: translateY(24px);
	}

	.js .catch__inner.reveal.is-visible {
		transform: none;
	}

	.catch__title {
		font-size: 28px;
		line-height: 40px;
		letter-spacing: 0.84px;
	}

	.catch__text {
		padding-top: 0;
		font-size: 15px;
		line-height: 30px;
		letter-spacing: 0.3px;
	}

	.catch__wave {
		display: none;
	}

	/* section header */
	.section-header {
		gap: 12px;
	}

	.section-header__label {
		font-size: 12px;
	}

	.section-header__title {
		font-size: 24px;
		line-height: 32px;
		letter-spacing: 0;
	}

	.section-header__divider {
		margin-top: 0;
	}

	/* buttons */
	.btn-melt {
		height: 44px;
		gap: 4px;
		padding: 16px;
		font-size: 20px;
	}

	/* agents */
	.agents {
		padding: 64px 0 24px;
	}

	.agents .section-header {
		margin-bottom: 32px;
	}

	.agents__carousel {
		height: 360px;
		margin-bottom: 24px;
		/* アクティブなカードを中央に（左右に前後のカードが覗く） */
		padding-left: calc((100% - 280px) / 2);
	}

	.agent-card {
		width: 280px;
		padding-bottom: 24px;
	}

	.agent-card__name {
		font-size: 24px;
	}

	/* services */
	.services {
		padding: 64px 24px;
	}

	.services__bg {
		background-image: url(../img/services/sp-services-wave.svg), url(../img/services/sp-services-photo.webp);
		background-size: 333px 1450px, cover;
		background-position: right bottom, center;
		-webkit-mask-image: url(../img/services/sp-services-mask.svg);
		mask-image: url(../img/services/sp-services-mask.svg);
		-webkit-mask-size: 333px 1450px;
		mask-size: 333px 1450px;
		-webkit-mask-position: right bottom;
		mask-position: right bottom;
	}

	.services .section-header {
		margin-bottom: 40px;
	}

	.services__more {
		margin-top: 32px;
	}

	.services__list {
		gap: 24px;
		width: 100%;
		max-width: 400px;
	}

	.service-card {
		flex-direction: column;
		gap: 24px;
		width: 100%;
		min-height: 0;
		padding: 24px 0;
		border: 0;
		box-shadow: 0 12px 16px rgba(203, 238, 234, 0.5);
	}

	.service-card__body {
		order: 1;
		gap: 12px;
		padding: 0 16px;
		text-align: center;
		align-items: center;
	}

	.service-card__image {
		order: 2;
		width: 292px;
		max-width: calc(100% - 48px);
		height: 206px;
		border-radius: 16px;
	}

	.service-card__title {
		font-size: 20px;
		line-height: 24px;
	}

	.service-card__text {
		font-size: 14px;
		line-height: 22px;
	}

	/* news */
	.news {
		padding: 80px 24px;
	}

	.news__bg {
		top: auto;
		bottom: 0;
		left: -21px;
		width: 677px;
		height: 381px;
	}

	.news .section-header {
		margin-bottom: 32px;
	}

	.news__list {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 16px;
		width: 100%;
		max-width: 400px;
	}

	.news-card {
		width: 100%;
		border-radius: 16px;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
	}

	.news-card__image {
		height: 192px;
	}

	.news-card__content {
		gap: 12px;
		padding: 16px;
		align-items: flex-start;
	}

	.news-card__meta {
		gap: 8px;
	}

	.news-card__date {
		font-size: 13px;
	}

	.news-card__title {
		font-size: 16px;
		line-height: 24px;
	}

	.news__more {
		margin-top: 32px;
	}

	.front-cta {
		padding: 0 20px 80px;
	}

	.front-cta .cta {
		margin-top: 16px;
	}

	/* footer */
	.site-footer {
		gap: 32px;
		padding: 48px 24px;
	}

	.site-footer__streak {
		display: block;
		position: absolute;
		left: -186px;
		top: -208px;
		width: 622px;
		height: 583px;
		background: url(../img/ui/footer-sp-streak.svg) center / contain no-repeat;
		mix-blend-mode: screen;
		pointer-events: none;
	}

	.site-footer__top {
		align-items: center;
	}

	.site-footer__logo {
		width: 80px;
		height: 36px;
	}

	.site-footer__links {
		flex-direction: column;
		align-items: flex-end;
		gap: 12px;
	}

	.site-footer__links a {
		font-size: 12px;
	}

	.site-footer__social {
		display: none;
	}

	.archive-page {
		padding-top: 104px;
	}
}

/* =========================================================
   下層ページ共通
   ========================================================= */

main.page {
	padding-top: 68px;
	background: #fff;
}

.page__body {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 24px 120px;
}

.page__body--wide {
	max-width: 1280px;
}

.page__body--center {
	text-align: center;
	padding-top: 40px;
}

.page__empty {
	padding: 80px 0;
	text-align: center;
	color: var(--c-text-gray);
}

.page .section-header {
	margin-bottom: 48px;
}

/* page header */
.page-header {
	position: relative;
	overflow: hidden;
	padding: 96px 24px 88px;
	background: linear-gradient(180deg, #c5f6ea 0%, #90f7e1 100%);
	text-align: center;
}

.page-header__streak {
	position: absolute;
	pointer-events: none;
	mix-blend-mode: screen;
	opacity: 0.9;
}

.page-header__streak--1 {
	left: -8%;
	top: -40%;
	width: 48%;
}

.page-header__streak--2 {
	right: -12%;
	bottom: -55%;
	width: 52%;
}

.page-header__streak img {
	width: 100%;
}

.page-header__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.page-header__label {
	font-family: var(--font-en);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 3.6px;
	color: var(--c-sub);
	opacity: 0.6;
}

.page-header__title {
	font-size: clamp(32px, 3.4vw, 48px);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 2px;
	color: var(--c-sub);
}

.page-header__lead {
	margin-top: 8px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.9;
	letter-spacing: 1px;
	color: var(--c-sub);
}

/* breadcrumb */
.breadcrumb {
	padding: 20px 0 56px;
}

.breadcrumb ol {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	font-size: 13px;
	color: var(--c-date-gray);
}

.breadcrumb li + li::before {
	content: "/";
	margin-right: 8px;
	color: var(--c-date-gray);
}

.breadcrumb a {
	color: var(--c-sub);
	text-decoration: none;
}

.breadcrumb [aria-current] {
	display: inline-block;
	max-width: 24em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	vertical-align: bottom;
}

/* 本文（エディター） */
.wp-content {
	font-size: 16px;
	line-height: 2;
	color: var(--c-sub);
}

.wp-content > * + * {
	margin-top: 1.5em;
}

.wp-content h2 {
	margin-top: 2.5em;
	padding-left: 16px;
	border-left: 4px solid var(--c-main);
	font-size: 24px;
	line-height: 1.5;
}

.wp-content h3 {
	margin-top: 2em;
	font-size: 20px;
	line-height: 1.5;
}

.wp-content ul,
.wp-content ol {
	padding-left: 1.5em;
	list-style: revert;
}

.wp-content img {
	border-radius: var(--radius-m);
}

.wp-content a {
	color: #2bb59a;
}

/* CTA */
.cta {
	position: relative;
	margin-top: 120px;
	padding: 72px 40px;
	border-radius: var(--radius-l);
	background: linear-gradient(135deg, #caf9ef 0%, #90f7e1 100%);
	overflow: hidden;
	text-align: center;
}

.cta__streak {
	position: absolute;
	right: -10%;
	top: -60%;
	width: 60%;
	mix-blend-mode: screen;
	opacity: 0.9;
	pointer-events: none;
}

.cta__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.cta__label {
	font-family: var(--font-en);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 2.4px;
	color: var(--c-sub);
	opacity: 0.6;
}

.cta__title {
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 1px;
}

.cta__text {
	font-size: 16px;
	line-height: 1.9;
}

.cta__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-top: 16px;
}

.cta .btn-melt {
	font-size: 20px;
	background: var(--c-sub);
	color: #fff;
	box-shadow: 0 12px 28px rgba(60, 37, 27, 0.28);
}

.cta .btn-melt__sheen {
	opacity: 0.18;
}

.cta .btn-melt::after {
	box-shadow: inset 0 1px 6px rgba(255, 255, 255, 0.35);
}

.cta .btn-melt__arrow {
	filter: brightness(0) invert(1);
}

.cta .btn-melt:hover {
	background: #55362a;
}

/* ---------- about ---------- */

.about-mission {
	text-align: center;
}

.about-mission__copy {
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 2px;
}

.about-mission__text {
	margin-top: 32px;
	font-size: 16px;
	line-height: 2.2;
	color: var(--c-text-gray);
}

.about-values {
	margin-top: 120px;
}

.about-values__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.value-card {
	position: relative;
	padding: 40px 28px 32px;
	border-radius: var(--radius-m);
	background: #fff;
	border: 1px solid rgba(120, 230, 206, 0.25);
	box-shadow: var(--shadow-card);
}

.value-card__num {
	display: block;
	font-family: var(--font-en);
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
	color: var(--c-main);
}

.value-card__title {
	margin-top: 20px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.5;
}

.value-card__text {
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.9;
	color: var(--c-text-gray);
}

.about-company {
	margin-top: 120px;
}

.about-company__table,
.agent-profile__table {
	margin: 0;
	border-top: 1px solid var(--c-mint-light);
}

.about-company__table > div,
.agent-profile__table > div {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 24px;
	padding: 20px 8px;
	border-bottom: 1px solid var(--c-mint-light);
	font-size: 16px;
	line-height: 1.8;
}

.about-company__table dt,
.agent-profile__table dt {
	font-weight: 700;
}

.about-company__table dd,
.agent-profile__table dd {
	margin: 0;
}

.about-company__list li {
	padding-left: 1em;
	text-indent: -1em;
}

.about-company__list li::before {
	content: "・";
}

.about-company__table a {
	color: #2bb59a;
}

/* ---------- service ---------- */

.service-nav {
	margin-bottom: 96px;
}

.service-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.service-nav a {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 999px;
	background: var(--c-main-10);
	border: 1px solid rgba(120, 230, 206, 0.4);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.service-list {
	display: flex;
	flex-direction: column;
	gap: 96px;
}

.service-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 64px;
	scroll-margin-top: 96px;
}

.service-block:nth-child(even) .service-block__image {
	order: 2;
}

.service-block__image {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-l);
	overflow: hidden;
	box-shadow: var(--shadow-card);
}

.service-block__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-block__num {
	font-family: var(--font-en);
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
	color: var(--c-main);
}

.service-block__label {
	margin-top: 12px;
	font-family: var(--font-en);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--c-date-gray);
}

.service-block__title {
	margin-top: 8px;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.4;
}

.service-block__text {
	margin-top: 20px;
	font-size: 15px;
	line-height: 2;
	color: var(--c-text-gray);
}

.service-block__items {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.service-block__items li {
	position: relative;
	padding-left: 22px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.7;
}

.service-block__items li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--c-main);
}

/* works（実績） */
.works {
	margin-top: 0;
	scroll-margin-top: 96px;
}

.works__filters {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: -8px 0 48px;
	padding: 20px 24px;
	border-radius: var(--radius-m);
	background: var(--c-main-10);
}

.works__filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.works__filter-label {
	min-width: 88px;
	font-family: var(--font-en);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--c-date-gray);
}

.works__filter button,
.news-filter a {
	padding: 8px 18px;
	border: 1px solid rgba(120, 230, 206, 0.5);
	border-radius: 999px;
	background: #fff;
	font-family: var(--font-jp);
	font-size: 14px;
	font-weight: 700;
	color: var(--c-sub);
	text-decoration: none;
	cursor: pointer;
	transition: background 0.25s ease;
}

.works__filter button.is-active,
.news-filter a.is-active {
	background: var(--c-main);
}

.works__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 32px;
}

.works__empty {
	padding: 64px 0;
	text-align: center;
	color: var(--c-text-gray);
}

.work-card.is-hidden {
	display: none;
}

.work-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--radius-m);
	background: #fff;
	box-shadow: var(--shadow-card);
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.3s ease, opacity 0.25s ease;
}

.work-card__link:hover {
	opacity: 1;
	transform: translateY(-4px);
}

.work-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--c-mint-light);
	overflow: hidden;
}

.work-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.work-card__link:hover .work-card__image img {
	transform: scale(1.05);
}

.work-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	padding: 20px 20px 22px;
}

.work-card__client {
	font-size: 13px;
	font-weight: 700;
	color: var(--c-date-gray);
}

.work-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.work-card__tag {
	padding: 3px 10px;
	border-radius: 999px;
	border: 1px solid rgba(120, 230, 206, 0.6);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--c-sub);
}

.work-card__tag--service {
	background: var(--c-mint-light);
	border-color: transparent;
}

.work-card__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
}

.work-card__more {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	align-self: flex-end;
	gap: 6px;
	margin-top: auto;
	padding-top: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #2bb59a;
}

.work-card__more img {
	width: 16px;
	height: 16px;
}

/* ---------- agent 一覧 ---------- */

.agent-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 32px;
}

.agent-grid--4 {
	grid-template-columns: repeat(4, 1fr);
	gap: 32px 24px;
}

.agent-item__link {
	display: block;
	text-decoration: none;
}

.agent-item__link:hover {
	opacity: 1;
}

.agent-item__photo {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: var(--radius-m);
	background: var(--c-mint-light);
	overflow: hidden;
}

.agent-item__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.6s ease;
}

.agent-item__link:hover .agent-item__photo img {
	transform: scale(1.06);
}

.agent-item__caption {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 16px;
	text-align: center;
}

.agent-item__name {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 1px;
}

.agent-item__genre {
	font-size: 13px;
	color: var(--c-date-gray);
}

/* ホバー: 画像に黒の半透明を重ねて名前を表示（PCのみ） */
.agent-item__link {
	position: relative;
	display: block;
}

.agent-item__overlay {
	position: absolute;
	inset: 0;
	border-radius: var(--radius-m);
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

@media (min-width: 960px) and (hover: hover) {
	.agent-item__caption {
		position: absolute;
		inset: 0;
		justify-content: center;
		align-items: center;
		margin: 0;
		color: #fff;
		opacity: 0;
		transform: translateY(8px);
		transition: opacity 0.3s ease, transform 0.3s ease;
		pointer-events: none;
	}

	.agent-item__name {
		font-size: 28px;
		color: #fff;
	}

	.agent-item__genre {
		color: rgba(255, 255, 255, 0.8);
	}

	.agent-item__link:hover .agent-item__overlay,
	.agent-item__link:focus-visible .agent-item__overlay {
		opacity: 1;
	}

	.agent-item__link:hover .agent-item__caption,
	.agent-item__link:focus-visible .agent-item__caption {
		opacity: 1;
		transform: none;
	}
}

/* ---------- agent 詳細 ---------- */

.agent-profile {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 64px;
	align-items: start;
}

.agent-profile__media {
	position: sticky;
	top: 96px;
}

.agent-profile__photo {
	position: relative;
	aspect-ratio: 3 / 4;
	border-radius: var(--radius-l);
	background: var(--c-mint-light);
	overflow: hidden;
	box-shadow: var(--shadow-card);
}

.agent-slider__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.agent-slider__item {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.6s ease;
}

.agent-slider__item.is-active {
	opacity: 1;
}

.agent-profile__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.agent-slider__pager {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}

.agent-slider__thumbs {
	/* 列数ぶんのトラックを中央に置き、要素は左から詰める（2段目は左詰め） */
	display: grid;
	grid-template-columns: repeat(auto-fill, 64px);
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 4px;
}

.agent-slider__thumbs button {
	width: 64px;
	height: 64px;
	padding: 0;
	border: 3px solid transparent;
	border-radius: 14px;
	background: var(--c-mint-light);
	overflow: hidden;
	cursor: pointer;
	opacity: 0.55;
	transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.agent-slider__thumbs button:hover {
	opacity: 1;
}

.agent-slider__thumbs button.is-active {
	border-color: var(--c-main);
	opacity: 1;
	transform: scale(1.06);
	box-shadow: 0 6px 14px rgba(120, 230, 206, 0.45);
}

.agent-slider__thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.agent-profile__kana {
	font-family: var(--font-en);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--c-main);
}

.agent-profile__name {
	margin-top: 4px;
	font-size: 40px;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 2px;
}

.agent-profile__catch {
	margin-top: 16px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.7;
}

.agent-profile__sns {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}

.agent-profile__sns a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--c-sub);
}

.agent-profile__sns img {
	width: 22px;
	height: 22px;
}

.agent-profile__table {
	margin-top: 32px;
}

.agent-profile__table > div {
	grid-template-columns: 140px 1fr;
	padding: 14px 8px;
	font-size: 15px;
}

.agent-profile__content {
	margin-top: 32px;
	font-size: 15px;
}

.agent-profile__bio {
	margin-top: 32px;
	padding: 20px 24px;
	border-radius: 16px;
	background: var(--c-main-10);
}

.agent-profile__bio-title {
	font-family: var(--font-en);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--c-date-gray);
}

.agent-profile__bio-list {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	line-height: 1.7;
}

.agent-profile__bio-list li {
	padding-left: 14px;
	text-indent: -14px;
}

.agent-profile__bio-list li::before {
	content: "・";
}

.agent-profile__cta {
	margin-top: 40px;
}

.agent-profile__cta .btn-melt {
	font-size: 20px;
}

.agent-others {
	position: relative;
	margin-top: 140px;
}

/* ---------- news ---------- */

.news-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 48px;
}

.news__list--archive {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	justify-content: stretch;
}

.news__list--archive .news-card {
	width: auto;
}

.pagination {
	margin-top: 64px;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--c-main-10);
	font-family: var(--font-en);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--c-main);
}

.pagination .page-numbers.dots {
	background: none;
}

/* 本文内の埋め込み（TikTok / YouTube） */
.wp-content iframe,
.wp-content .wp-embed,
.wp-content blockquote.tiktok-embed {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.wp-content .wp-block-embed__wrapper,
.wp-content .wp-embed-aspect-16-9 {
	position: relative;
}

/* ---------- entry（詳細共通） ---------- */

.entry {
	max-width: 800px;
	margin: 0 auto;
}

.entry__header {
	padding-bottom: 32px;
	border-bottom: 1px solid var(--c-mint-light);
}

.entry__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.entry__meta .news-card__tab {
	text-decoration: none;
}

.entry__client {
	font-size: 14px;
	color: var(--c-date-gray);
}

.entry__title {
	margin-top: 16px;
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 800;
	line-height: 1.5;
}

.entry__thumb {
	margin: 40px 0 0;
	border-radius: var(--radius-l);
	overflow: hidden;
}

.entry__thumb img {
	width: 100%;
	height: auto;
}

.entry__content {
	margin-top: 40px;
}

.entry__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	max-width: 800px;
	margin: 80px auto 0;
	padding-top: 32px;
	border-top: 1px solid var(--c-mint-light);
}

.entry__nav-item a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 20px;
	border-radius: 16px;
	background: var(--c-main-10);
	text-decoration: none;
}

.entry__nav-item--next a {
	align-items: flex-end;
	text-align: right;
}

.entry__nav-label {
	font-family: var(--font-en);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: var(--c-date-gray);
}

.entry__nav-title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.entry__back {
	margin-top: 56px;
	text-align: center;
}

/* ---------- contact ---------- */

.contact-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 48px;
}

.contact-tabs button {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 24px 16px;
	border: 2px solid var(--c-mint-light);
	border-radius: var(--radius-m);
	background: #fff;
	font-family: var(--font-jp);
	color: var(--c-sub);
	cursor: pointer;
	transition: background 0.25s ease, border-color 0.25s ease;
}

.contact-tabs button:hover {
	background: var(--c-main-10);
}

.contact-tabs button.is-active {
	border-color: var(--c-main);
	background: var(--c-main-10);
}

.contact-tabs__en {
	font-family: var(--font-en);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--c-main);
}

.contact-tabs__ja {
	font-size: 20px;
	font-weight: 800;
}

.contact-panel[hidden] {
	display: none;
}

.contact-panel__lead {
	font-size: 16px;
	line-height: 2;
	text-align: center;
}

.contact-panel__notes {
	max-width: 720px;
	margin: 24px auto 0;
	padding: 20px 24px;
	border-radius: 16px;
	background: var(--c-main-10);
	font-size: 14px;
	line-height: 1.9;
}

.contact-panel__notes li {
	padding-left: 1.2em;
	text-indent: -1.2em;
}

.contact-panel__notes li::before {
	content: "・";
}

.contact-notice {
	max-width: 720px;
	margin: 24px auto 0;
	padding: 16px 24px;
	border-radius: 16px;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

.contact-notice--success {
	background: var(--c-mint-light);
}

.contact-notice--error {
	background: #ffe5e5;
	color: #c0392b;
}

.contact-form {
	max-width: 720px;
	margin: 40px auto 0;
}

.contact-form__hp {
	position: absolute;
	left: -9999px;
}

.contact-form__row {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 16px;
	align-items: start;
	padding: 20px 0;
	border-bottom: 1px solid var(--c-mint-light);
}

.contact-form__label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	padding-top: 12px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
}

.contact-form__req,
.contact-form__opt {
	display: inline-block;
	flex-shrink: 0;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	vertical-align: middle;
	white-space: nowrap;
}

.contact-form__req {
	background: #ff7a7a;
	color: #fff;
}

.contact-form__opt {
	background: #e8e8e8;
	color: var(--c-text-gray);
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #dde;
	border-radius: 12px;
	background: #fafcfc;
	font-family: var(--font-jp);
	font-size: 16px;
	color: var(--c-sub);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--c-main);
	box-shadow: 0 0 0 3px rgba(120, 230, 206, 0.3);
}

.contact-form textarea {
	resize: vertical;
}

.contact-form__agree {
	margin-top: 32px;
	font-size: 15px;
	text-align: center;
}

.contact-form__agree a {
	color: #2bb59a;
}

.contact-form__submit {
	margin-top: 32px;
	text-align: center;
}

.contact-form__submit .btn-melt {
	min-width: 240px;
	border: 0;
	font-family: var(--font-jp);
	cursor: pointer;
}

/* 送信中: ボタンを無効化し、矢印の代わりにスピナーを回す */
.contact-form.is-sending {
	pointer-events: none;
}

.contact-form.is-sending .contact-form__row,
.contact-form.is-sending .contact-form__agree {
	opacity: 0.6;
}

.contact-form .btn-melt[aria-busy="true"] {
	cursor: wait;
	transform: none;
}

.contact-form .btn-melt[aria-busy="true"] .btn-melt__arrow {
	display: none;
}

.contact-form .btn-melt[aria-busy="true"]::before {
	content: "";
	position: relative;
	order: 2;
	width: 20px;
	height: 20px;
	margin-left: 4px;
	border: 3px solid rgba(60, 37, 27, 0.25);
	border-top-color: var(--c-sub);
	border-radius: 50%;
	animation: melt-spin 0.8s linear infinite;
}

.contact-form .btn-melt[aria-busy="true"] .btn-melt__label {
	order: 1;
}

@keyframes melt-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.contact-form .btn-melt[aria-busy="true"]::before {
		animation-duration: 2s;
	}
}


.contact-form__unit-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}

.contact-form__unit-wrap input {
	max-width: 160px;
}

.contact-form__unit {
	font-size: 15px;
	font-weight: 700;
	color: var(--c-text-gray);
}

.contact-form__files {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.contact-form input[type="file"] {
	padding: 10px 12px;
	font-size: 14px;
}

.contact-form__captcha-q {
	margin-bottom: 10px;
	font-size: 15px;
	line-height: 1.7;
}

.contact-form__captcha-q strong {
	padding: 2px 10px;
	border-radius: 8px;
	background: var(--c-mint-light);
	font-size: 17px;
}

.contact-form input.contact-form__captcha-input {
	max-width: 160px;
}

.contact-form__note {
	font-size: 13px;
	line-height: 1.6;
	color: var(--c-text-gray);
}

/* =========================================================
   下層ページ SP
   ========================================================= */

@media (max-width: 959px) {

	main.page {
		padding-top: 0;
	}

	.page__body {
		padding: 0 20px 80px;
	}

	.page .section-header {
		margin-bottom: 32px;
	}

	.page-header {
		padding: 56px 20px 48px;
	}

	.page-header__streak--1 {
		width: 90%;
		top: -50%;
	}

	.page-header__streak--2 {
		width: 90%;
		bottom: -60%;
	}

	.page-header__label {
		font-size: 14px;
	}

	.page-header__lead {
		font-size: 14px;
		line-height: 1.8;
	}

	.breadcrumb {
		padding: 16px 0 40px;
	}

	.cta {
		margin-top: 80px;
		padding: 48px 20px;
		border-radius: var(--radius-m);
	}

	.cta__streak {
		width: 120%;
		top: -20%;
	}

	.cta__text {
		font-size: 14px;
	}

	.cta__buttons {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.cta .btn-melt {
		font-size: 17px;
	}

	.about-mission__text {
		font-size: 14px;
		line-height: 2;
		text-align: left;
	}

	.about-values,
	.about-company {
		margin-top: 80px;
	}

	.about-values__list {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.value-card {
		padding: 28px 20px 24px;
	}

	.about-company__table > div,
	.agent-profile__table > div {
		grid-template-columns: 1fr;
		gap: 4px;
		padding: 14px 4px;
		font-size: 14px;
	}

	.service-nav {
		margin-bottom: 56px;
	}

	.service-nav a {
		padding: 10px 16px;
		font-size: 13px;
	}

	.service-list {
		gap: 64px;
	}

	.service-block {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.service-block:nth-child(even) .service-block__image {
		order: 0;
	}

	.service-block__num {
		font-size: 36px;
	}

	.service-block__title {
		font-size: 22px;
	}

	.service-block__text,
	.service-block__items li {
		font-size: 14px;
	}

	.works__filters {
		padding: 16px;
		margin-bottom: 32px;
	}

	.works__filter-label {
		width: 100%;
		min-width: 0;
	}

	.works__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.work-card__title {
		font-size: 16px;
	}

	.agent-grid,
	.agent-grid--4 {
		grid-template-columns: 1fr 1fr;
		gap: 32px 12px;
	}

	.agent-item__caption {
		margin-top: 12px;
	}

	.agent-item__name {
		font-size: 17px;
	}

	.agent-profile {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.agent-profile__media {
		position: relative;
		top: auto;
		width: 100%;
		max-width: 360px;
		margin: 0 auto;
	}

	.agent-slider__thumbs {
		grid-template-columns: repeat(auto-fill, 56px);
	}

	.agent-slider__thumbs button {
		width: 56px;
		height: 56px;
	}

	.agent-profile__name {
		font-size: 30px;
	}

	.agent-profile__catch {
		font-size: 16px;
	}

	.agent-profile__cta {
		text-align: center;
	}

	.agent-others {
		margin-top: 96px;
	}

	.news-filter {
		margin-bottom: 32px;
	}

	.news__list--archive {
		grid-template-columns: 1fr;
		gap: 16px;
		max-width: 400px;
		margin: 0 auto;
	}

	.pagination {
		margin-top: 40px;
	}

	.entry__thumb {
		margin-top: 24px;
	}

	.entry__content {
		margin-top: 24px;
	}

	.entry__nav {
		grid-template-columns: 1fr;
		margin-top: 56px;
	}

	.contact-tabs {
		gap: 8px;
		margin-bottom: 32px;
	}

	.contact-tabs button {
		padding: 16px 8px;
	}

	.contact-tabs__ja {
		font-size: 15px;
	}

	.contact-panel__lead {
		font-size: 14px;
		line-height: 1.9;
		text-align: left;
	}

	.contact-form {
		margin-top: 24px;
	}

	.contact-form__row {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 16px 0;
	}

	.contact-form__label {
		padding-top: 0;
		font-size: 14px;
	}

	.contact-form__submit .btn-melt {
		width: 100%;
	}
}
