@charset "UTF-8";

/* --------------------------------------------------------------------------------------
   採用情報（配下の全ページ）：社員のひとこと（チビバナー）
--------------------------------------------------------------------------------------- */

.chibi-banner {
	align-items: flex-end;
	bottom: 120px;
	display: flex;
	flex-direction: column;
	gap: 25px;
	letter-spacing: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 31px;
	transition: opacity .4s ease;
	z-index: 20;
}

.chibi-banner.is-show {
	opacity: 1;
}

.chibi-banner__item {
	align-items: center;
	background-color: #fff;
	border: 1px solid #0881dc;
	border-radius: 8px;
	box-sizing: border-box;
	display: flex;
	min-height: 90px;
	padding: 16px 86px 16px 16px;
	pointer-events: auto;
	position: relative;
	transition: opacity .4s ease, visibility .4s ease;
}

.chibi-banner__item { cursor: pointer; } /* クリックで別の社員に差し替え */

.chibi-banner__item:focus { outline: none; }
.chibi-banner__item:focus-visible { outline: 2px solid #0881dc; outline-offset: 3px; }

/* 差し替え時は中身だけフェード（枠・しっぽはそのまま） */
.chibi-banner__body { transition: opacity .25s ease; }
.chibi-banner__item.is-changing .chibi-banner__body { opacity: 0; }

.chibi-banner__item.is-closed {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

.chibi-banner__text {
	color: #0881dc;
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.6;
	max-width: 192px;
	text-align: left;
	word-break: auto-phrase;
}

.chibi-banner__text.is-nowrap {
	max-width: none;
	white-space: nowrap;
}

.chibi-banner__person {
	align-items: center;
	bottom: 7px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: absolute;
	right: 5px;
}

.chibi-banner__img {
	border-radius: 50%;
	display: block;
	height: 60px;
	width: 60px;
}

.chibi-banner__label {
	color: #7d7d7d;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.4;
	text-align: center;
	width: 70px;
}

.chibi-banner__office,
.chibi-banner__job {
	display: block;
	white-space: nowrap;
}

.chibi-banner__office {
	font-size: .85rem;
}

.chibi-banner__job {
	font-size: 1rem;
}

.chibi-banner__tail {
	display: block;
	height: 18px;
	position: absolute;
	right: 80px;
	top: 100%;
	width: 19px;
}

.chibi-banner__close {
	background: none;
	border: 0;
	cursor: pointer;
	height: 20px;
	padding: 0;
	position: absolute;
	right: -11px;
	top: -11px;
	width: 20px;
}

.chibi-banner__close svg {
	display: block;
	height: 100%;
	width: 100%;
}

/* --------------------------------------------------------------------------------------
   SP
--------------------------------------------------------------------------------------- */

@media (max-width: 1000px) {
	.chibi-banner {
		bottom: calc(20.267vw + 12px);
		gap: 14px;
		right: calc(4.267vw + 8px);
	}

	.chibi-banner__item {
		border-radius: 6px;
		min-height: 62px;
		padding: 10px 58px 10px 11px;
	}

	.chibi-banner__text {
		font-size: 1.1rem;
		line-height: 1.5;
		max-width: 140px;
	}

	.chibi-banner__person {
		bottom: 5px;
		gap: 4px;
		right: 3px;
	}

	.chibi-banner__img {
		height: 42px;
		width: 42px;
	}

	.chibi-banner__label {
		line-height: 1.3;
		width: 54px;
	}

	.chibi-banner__office {
		font-size: .7rem;
	}

	.chibi-banner__job {
		font-size: .8rem;
	}

	.chibi-banner__tail {
		height: 13px;
		right: 56px;
		width: 14px;
	}

	.chibi-banner__close {
		height: 16px;
		right: -8px;
		top: -8px;
		width: 16px;
	}
}
