@charset "UTF-8";

/* ======================================================
	ライブ／タイムラプスページ
====================================================== */
body {
	min-width: 320px;
}

.live-main {
	padding-bottom: 0;
}

.live-container {
	box-sizing: border-box;
	width: 92%;
	max-width: 1120px;
	margin: 0 auto;
}

/* メインビジュアル */
.live-hero {
	min-height: 600px;
	background: #00162f;
	color: #fff;
	position: relative;
	overflow: hidden;
	background-image: url(../img/live-camera/live-hero.png);
	background-size: cover;
	background-position: center top;
}

.live-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 49, 102, .16), rgba(0, 49, 102, 0));
}

.live-hero__inner {
	box-sizing: border-box;
	width: 92%;
	max-width: 1130px;
	min-height: 600px;
	margin: 0 auto;
	padding: 105px 0 35px;
	position: relative;
}

.live-hero__copy {
	max-width: 720px;
}

.live-hero__title {
	display: inline-block;
	margin: 0 0 25px;
	padding: 10px 12px;
	background: rgba(0, 0, 0, .3);
	font-size: 4.8rem;
	font-weight: 600;
	line-height: 1.25;
}

.live-hero__text {
	margin: 0;
	padding: 12px;
	background: rgba(0, 0, 0, .3);
	font-weight: 600;
	font-size: 1.8rem;
	line-height: 1.8;
	letter-spacing: 0;
}

.live-hero__buttons {
	display: flex;
	gap: 15px;
	margin-top: 45px;
	margin-bottom: 40px;
}

.live-button {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 230px;
	min-height: 54px;
	border-radius:6px;
	font-weight: bold;
	font-size: 1.4rem;
	letter-spacing: 0;
	position: relative;
}

.live-button::before,
.live-button::after {
	content: "";
	position: absolute;
}

.live-button--movie {
	border: 1px solid #fff;
	background: rgba(71, 151, 43, 0.85);
	color: #fff;
}

.live-button--movie::before {
	left: 20px;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid #fff;
}

.live-button--recruit {
	background: rgba(255, 255, 255, .85);
	color: #47972B;
	width: 158px;
	justify-content: flex-start;
	padding-left: 18px;
}

.live-button--recruit::after {
	right: 18px;
	width: 14px;
	height: 12px;
	background: url(../img/live-camera/icon_arrow.svg) center center / cover no-repeat;
}

.live-hero__status {
	padding: 15px 20px;
	border-radius: 6px;
	background: rgba(0, 0, 0, .65);
	position: absolute;
	right: 0;
	bottom: 20px;
	font-size: 1.4rem;
	line-height: 1.85;
    box-sizing: border-box;
}

.live-hero__status time,
.live-hero__status p {
	display: block;
	margin: 2px 0;
}

.live-label {
	font-weight: bold;
	font-size: 2rem;
	display: flex;
	align-items: center;
}

.live-label span,
.live-player__badge i {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 5px;
	border-radius: 50%;
	background: #FF0000;
}

/* 共通セクション */
.live-section {
	padding: 55px 0 60px;
}

.live-section--dark {
	background: #efffea;
}

.live-section--dark .live-heading {
	margin-bottom: 10px;
}

.live-heading {
	display: flex;
	align-items: baseline;
	gap: 19px;
	font-size: 2rem;
	font-weight: 600;
	color: #47972B;
}

.live-heading__no {
	color: #47972B;
	font-size: 4rem;
	font-weight: 600;
	line-height: 1;
}

.live-heading small {
	font-size: 1.6rem;
	font-weight: 600;
}

.live-heading--blue {
	color: #47972B;
}

.live-heading--blue .live-heading__no {
	color: #47972B;
}

/* ライブビュー */
.live-view-grid {
	display: grid;
	grid-template-columns: 58% 1fr;
	gap: 4%;
}

.live-player__link {
	display: block;
	position: relative;
	color: #fff;
}

.live-player__link img {
	display: block;
	width: 100%;
}

.live-player__badge {
	padding: 5px 9px;
	background: rgba(0, 0, 0, .65);
	position: absolute;
	color: #fff;
	top: 12px;
	left: 12px;
	font-size: 1.6rem;
	line-height: 1;
}

.live-player__play {
	width: 62px;
	height: 62px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: rgba(0, 24, 53, .62);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	cursor: pointer;
}

.live-player__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 16px solid #fff;
}

.live-player__bottom {
	color: #fff;
	background: rgba(0, 0, 0, .65);
	position: absolute;
	bottom: -1px;
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.live-player__meta,
.live-player__place {
	padding: 6px 8px;
	font-size: 1.4rem;
}

.live-player__meta { left: 0; }
.live-player__place { 
	right: 0; 
    flex: 0 1 auto;
    text-align: right;
}

.live-player__place span {
	display: inline-block;
}

.live-view-info {
	padding-top: 5px;
	display: flex;
	flex-direction: column;
}

.live-view-info__lead {
	margin: 0 0 16px;
	color: #47972B;
	font-size: 1.8rem;
	line-height: 1.7;
	font-weight: 600;
}

.live-view-info__text {
	margin: 0 0 20px;
	font-size: 1.4rem;
	line-height: 1.85;
	letter-spacing: 0;
	font-feature-settings: "palt";
}

.live-timelapse {
	margin-top: auto;
}

.live-timelapse h3 {
	margin: 0 0 10px;
	font-size: 1.4rem;
	font-weight: 400;
    color: #47972B;
}

.live-timelapse__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
}

.live-timelapse__list a {
	display: block;
	position: relative;
	pointer-events: none;
}

.live-timelapse__list img {
	display: block;
	width: 100%;
}

.live-timelapse__list span {
	position: absolute;
	left: 5px;
	bottom: 3px;
	color: #fff;
	font-size: 1.4rem;
	text-shadow: 0 1px 3px #000;
}

/* 社員の声 */
.live-section--voice {
	background: #fff;
    padding: 50px 0 80px;
}

.live-section--voice .live-heading {
	font-size: 2.8rem;
}

.live-voice-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-columns: repeat(2, 1fr);
	gap: 1%;
}

.live-voice-card {
	display: flex;
	border: 2px solid #D7D9E8;
	background: #fff;
	color: #505050;
}

.live-voice-card__img,
.live-voice-card__body {
	margin: 0;
}

.live-voice-card__img {
	flex: 1;
}

.live-voice-card__body {
	width: 50%;
	flex-shrink: 0;
	gap: 10px;
}

.live-voice-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.live-voice-card__body {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 10px 10px 12px;
	font-size: 1.2rem;
	line-height: 2;
}

.live-voice-card__body p {
	margin: 0;
}

.live-voice-card__profile {
	font-size: 1.2rem;
	line-height: 1.4;
}

/* 採用導線 */
.live-recruit {
	padding: 80px 0 70px;
	background: #47972B;
	color: #fff;
}

.live-recruit__inner {
	display: grid;
	grid-template-columns: 43% 1fr;
	gap: 55px;
	align-items: center;
}

.live-recruit__copy h2 {
	font-size: 2.6rem;
	font-weight: 600;
	letter-spacing: 0;
}

.live-recruit__copy p {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 600;
}

.live-recruit__links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.live-recruit__links a {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 100px;
	padding: 15px 18px;
	border-radius: 6px;
	background: #fff;
	color: #47972B;
	min-width: 200px;
	flex: 1 1 0;
}

.live-recruit__links strong,
.live-recruit__links small {
	display: block;
}

.live-recruit__links strong {
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0;
}

.live-recruit__links small {
	margin-top: 4px;
	color: #505050;
	font-size: 1rem;
	line-height: 1.8;
	letter-spacing: 0;
}

.live-recruit__links i {
	width: 14px;
	height: 12px;
	flex-shrink: 0;
	margin-left: auto;
	background: url(../img/live-camera/icon_arrow.svg) center center / cover no-repeat;
}

.live-recruit__icon {
	width: 30px;
	height: 30px;
	background: center / contain no-repeat;
}

.live-recruit__icon--entry {
	background-image: url(../img/live-camera/icon-entry.svg);
}

.live-recruit__icon--career {
	background-image: url(../img/live-camera/icon-career.svg);
}

@media screen and (max-width: 800px) {
	.live-container,
	.live-hero__inner {
		width: auto;
		margin: 0 5%;
	}

	.live-hero {
		min-height: auto;
		background-position: left 74% top 0;
	}

	.live-hero::before {
		background: rgba(0, 63, 126, .08);
	}

	.live-hero__inner {
		min-height: auto;
		padding: 35px 0;
	}

	.live-hero__copy {
		width: 100%;
	}

	.live-hero__title {
		margin-bottom: 18px;
		padding: 6px 8px;
		font-size: clamp(3rem, 0.0909rem + 9.0909vw, 4rem);
		line-height: 1.35;
	}

	.live-hero__text {
		padding: 7px 8px;
		font-size: clamp(1.4rem, 0.2364rem + 3.6364vw, 1.8rem);
	}

	.live-hero__buttons {
		gap: 3%;
		margin-top: 18px;
	}

	.live-label {
		font-size: 1.6rem;
	}

	.live-button {
		width: 56%;
		min-height: 54px;
		font-size: clamp(1.1rem, -0.1636rem + 3.6364vw, 1.4rem);
		display: flex;
		align-items: center;
		padding-left: 1.3em;
	}

	.live-button--recruit {
		width: 42%;
	}

	.live-button--movie::before {
		left: 1.4em;
	}

    .live-button--movie::before {
		border-top: 0.5em solid transparent;
		border-bottom: 0.5em solid transparent;
		border-left: 0.786em solid #fff;
    }

	.live-button--recruit::after {
		right: 1.286em;
		width: 1em;
		height: 0.857em;
	}

	.live-hero__status {
		box-sizing: border-box;
		width: auto;
		right: auto;
		display: inline-block;
		position: static;
		left: 0;
		bottom: 0;
		padding: 10px 12px;
		font-size: 1.2rem;
	}

	.live-section {
		padding: 27px 0 20px;
	}

	.live-heading {
		gap: 9px;
		margin-bottom: 8px;
		font-size: 1.65rem;
	}

	.live-heading__no {
		font-size: 4rem;
	}

	.live-view-grid {
		display: block;
	}

	.live-player__play {
		width: 48px;
		height: 48px;
	}

	.live-player__bottom {
		padding: 0 2%;
		box-sizing: border-box;
	}

	.live-player__meta,
	.live-player__place {
		padding-left: 0;
		padding-right: 0;
		font-size: clamp(1rem, 0.4182rem + 1.8182vw, 1.2rem);
	}

	.live-view-info {
		padding-top: 18px;
	}

	.live-view-info__lead {
		margin-bottom: 8px;
		font-size: clamp(1.7rem, 1.4091rem + 0.9091vw, 1.8rem);
	}

	.live-view-info__text {

	}

	.live-timelapse {
		margin-top: 28px;
	}

	.live-timelapse__list {
		gap: 3%;
	}

	.live-section--voice .live-heading {
		font-size: min(calc( 28 / 430 * 100vw ), 2.8rem);
	}

	.live-voice-list {
		display: block;
		gap: 20px;
	}

	.live-voice-card {
        display: flex;
        min-height: 0;
        margin-bottom: 14px;
        flex-wrap: wrap;
	}

	.live-voice-card:last-child {
		margin-bottom: 0;
	}

	.live-voice-card__img {
		flex: 1 1 50%;
	    min-width: 200px;
	}

	.live-voice-card__body {
		padding: 14px 10px 10px;
		width: auto;
		flex: 1 1 50%;
	}

	.live-recruit {
		padding: 42px 0 35px;
	}

	.live-recruit__inner {
		display: block;
	}

	.live-recruit__copy {
		text-align: center;
	}

	.live-recruit__copy h2 {
		font-size: calc( 28 / 430 * 100vw );
		line-height: 1.21;
		margin-bottom: 15px;
	}

	.live-recruit__copy p {
		font-size: 1.4rem;
	}

	.live-recruit__links {
		display: block;
		margin-top: 30px;
	}

	.live-recruit__links a {
		min-height: 100px;
		margin-bottom: 12px;
		padding: 13px 20px;
		gap: 4%;
	}

	.live-recruit__links a:last-child {
		margin-bottom: 0;
	}

	.live-recruit__icon {
		width: 37px;
		height: 37px;
	}

	.live-recruit__links i {
		margin-left: auto;
	}
}

/* ======================================================
	ライブ映像モーダル
====================================================== */
body.live-modal-open {
	overflow: hidden;
}

.live-modal {
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	inset: 0;
	z-index: 10000;
	transition:
		opacity .3s ease,
		visibility .3s ease;
}

.live-modal.is-open {
	visibility: visible;
	opacity: 1;
}

.live-modal__overlay {
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .82);
	position: absolute;
	inset: 0;
	cursor: pointer;
}

.live-modal__content {
	box-sizing: border-box;
	width: 92%;
	max-width: 1000px;
	background: #00162f;
	position: relative;
	z-index: 1;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
	transform: translateY(15px);
	transition: transform .3s ease;
}

.live-modal.is-open .live-modal__content {
	transform: translateY(0);
}

.live-modal__head {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 65px;
	padding: 12px 20px;
	background: #00162f;
	color: #fff;
}

.live-modal__head h2 {
	margin: 0;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.5;
}

.live-modal__close {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	position: relative;
	cursor: pointer;
}

.live-modal__close::before,
.live-modal__close::after {
	content: "";
	width: 28px;
	height: 2px;
	background: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
}

.live-modal__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.live-modal__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.live-modal__close:hover {
	opacity: .7;
}

.live-modal__close:focus-visible {
	outline: 2px solid #47972B;
	outline-offset: 2px;
}

.live-modal__movie {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	position: relative;
	overflow: hidden;
}

.live-modal__movie iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	position: absolute;
	inset: 0;
}

/* 一覧側のライブプレイヤー */
.live-player {
	width: 100%;
	position: relative;
    aspect-ratio: 16 / 9;
}

.live-player iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.live-player__link {
	box-sizing: border-box;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 0;
	padding: 0;
	border: 0;
	background: #000;
	overflow: hidden;
	position: relative;
	color: #fff;
	cursor: pointer;
}

.live-player__link iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/*
	一覧側のiframeをクリックしても、
	YouTubeではなくモーダルを開く場合に必要
*/
.live-player__link.js-live-modal-open iframe {
	pointer-events: none;
}

@media screen and (max-width: 800px) {
	.live-modal {
		padding: 15px;
		box-sizing: border-box;
	}

	.live-modal__content {
		width: 100%;
	}

	.live-modal__head {
		min-height: 55px;
		padding: 8px 12px;
	}

	.live-modal__head h2 {
		font-size: 1.6rem;
	}

	.live-modal__close {
		width: 38px;
		height: 38px;
	}

	.live-modal__close::before,
	.live-modal__close::after {
		width: 24px;
	}
}