@charset "utf-8";
/* CSS Document */

.c-mv__bg {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	img {
		object-position: left;
	}
	span {
		position: absolute;
		max-width: 660px;
		width: 80%;
		img {
			object-fit: contain;
		}
	}
}

.p-movie {
	background: url("../img/about/pv-bg.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	padding-block: 16rem 0px;
	margin-top: 5rem;
	@media (max-width: 767.98px) {
		padding-block: 8rem 0px;
		margin-top: 3rem;
	}
}

.movie_ttl {
	font-size: clamp(2rem,3vw,3rem);
	font-weight: bold;
	color: #0075C2;
	margin-block: 10rem 2rem;
	@media (max-width: 767.98px) {
		margin-block: 4rem 2rem;
		font-size: 2rem;
	}
}

.movie_txt {
	font-size: clamp(1.4rem,1.8vw,1.8rem);
	text-align: justify;
	line-height: var(--line-height-base);
	@media (max-width: 767.98px) {
		font-size: 1.4rem;
	}
}

.movie_txt--bottom {
	margin-bottom: 5rem;
}



.p-movie picture {
	margin-top: 5vw;
}

.p-summary {
	padding-block: 14.5rem 0;
}

.p-summary__inner {
	position: relative;
	width: 80%;
	max-width: 1530px;
	margin-inline: auto;
	background: #F0F2F2;
	@media (max-width: 767.98px) {
		width: 90%;
	}
}

.p-summary__background {
	display: flex;
	flex-direction: column;
	gap: 35rem;
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-block: 18rem 26rem;
	padding-inline: 40px;
	@media (max-width: 1450px) {
		gap: 10rem;
	}
	@media (max-width: 767.98px) {
		padding-block: 5rem 5rem;
		padding-inline: 20px;
	}
}

.p-summary__textbox-wrapper {
	position: relative;
	@media (max-width: 1450px) {
		display: flex;
		flex-direction: column;
		gap: 4rem;
	}
}

.p-summary__textbox {
	width: 100%;
	max-width: 740px;
}

.p-summary__textbox--left {
	margin-right: auto;
}

.p-summary__textbox--right {
	margin-left: auto;
}

.p-summary__title {
	width: fit-content;
	margin-bottom: 6rem;
	padding: 2px 16px;
	color: #0075C2;
	font-size: clamp(1.4rem,1.8vw,1.8rem);
	font-weight: 500;
	background: #FFF;
	border: 1px solid #0075C2;
	@media (max-width: 767.98px) {
		margin-bottom: 2rem;
		font-size: 1.4rem;
	}
}

.p-summary__theme {
	margin-bottom: 3rem;
	color: #0075C2;
	font-size: clamp(1.8rem,2.4vw,2.4rem);
	font-weight: bold;
	letter-spacing: 0.1em;
	@media (max-width: 767.98px) {
		font-size: 1.8rem;
	}
}

.p-summary__description {
	font-size: clamp(1.4rem,1.8vw,1.8rem);
	line-height: calc(32 / 18);
	letter-spacing: 0.1em;
	@media (max-width: 767.98px) {
		font-size: 1.4rem;
	}
}

.p-summary__img-01 {
	position: absolute;
	top: -33%;
	right: -30%;
	width: 60%;
	max-width: 720px;
	@media (max-width: 1450px) {
		position: static;
		width: 100%;
	}
}

.p-summary__img-02 {
	position: absolute;
	bottom: -25%;
	left: -30%;
	width: 60%;
	max-width: 720px;
	@media (max-width: 1450px) {
		position: static;
		width: 100%;
		margin-left: auto;
	}
}

.p-posture {
	margin-block: 8vw 4vw;
	@media (max-width: 767.98px) {
		margin-block: 6rem 8rem;
	}
}

.posture_ttl_wrap {
	display: grid;
	place-items: center;
	row-gap: 2rem;
	picture {
		max-width: 240px;
		width: 40%;
	}
}

.posture_ttl {
	font-size: clamp(2rem,3vw,3rem);
	color: #0075C2;
	@media (max-width: 767.98px) {
		font-size: 2rem;
	}
}

.posture_list {
	margin-block: 10rem;
	@media (max-width: 767.98px) {
		margin-block: 5rem;
	}
}

.posture_list dl {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid #C1C1C1;
	padding: 4rem 2rem;
	gap: 4rem 0rem;
	&:first-of-type {
		border-top: 1px solid #C1C1C1;
	}
	dt {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		column-gap: 5rem;
		width: 40%;
		@media (max-width: 767.98px) {
			width: 100%;
			column-gap: 3rem;
		}
	}
	span {
		font-size: clamp(1.4rem,1.8vw,1.8rem);
		font-weight: bold;
		color: #FFF;
		display: flex;
		justify-content: center;
		align-items: center;
		position: relative;
		margin-left: 2rem;
		@media (max-width: 767.98px) {
			font-size: 1.4rem;
		}
		&::after {
			content: '';
			background: #66B1DC;
			display: block;
			width: 97px;
			height: 97px;
			border-radius: 100px;
			position: absolute;
			z-index: -1;
			@media (max-width: 767.98px) {
				width: 70px;
				height: 70px;
			}
		}
	}
}

.posture_list_ttl {
	font-size: clamp(1.6rem,2.4vw,2.4rem);
	font-weight: bold;
	color: #0075C2;
	@media (max-width: 767.98px) {
		font-size: 1.6rem;
	}
}

.posture_list_txt {
	font-size: clamp(1.4rem,1.8vw,1.8rem);
	line-height: var(--line-height-base);
	@media (max-width: 767.98px) {
		font-size: 1.4rem;
	}
}

.p-products__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	row-gap: 25px;
	column-gap: 25px;
	margin-top: 10rem;
	@media (max-width: 767.98px) {
		grid-template-columns: repeat(1, minmax(0, 1fr));
		row-gap: 25px;
		/* width: calc(360 / 420 * 100 * var(--vw)); */
		/* margin-inline: auto; */
		margin-top: 5rem;
	}
}
.p-products__card {
	display: flex;
}
.p-products__card-link {
	display: block;
	padding-block: 30px 20px;
	padding-inline: min(30px, 30 / 383 * 100%);
	border: 1px solid #007dc5;
	position: relative;
	isolation: isolate;
	transition: background 0.3s, color 0.3s;
	&:hover {
		background: #0075C2;
		color: #fff;
	}
}
.p-products__card-link::after {
	content: "";
	display: block;
	width: 20px;
	aspect-ratio: 1;
	background: linear-gradient(to right bottom, transparent calc(50% - 0.5px), #007dc5 calc(50% + 0.5px));
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: -1;
	translate: -6px -6px;
	transition: translate 0.3s;
}
.p-products__card-link:hover::after {
	translate: none;
	background: linear-gradient(to right bottom, transparent calc(50% - 0.5px), #fff calc(50% + 0.5px));
}
.p-products__card-title {
	margin-top: calc(3.3 / 20 * 1em);
	color: #007dc5;
	padding-bottom: 7px;
	font-weight: 700;
	line-height: calc(29 / 20);
	font-size: clamp(1.4rem,1.8vw,1.8rem);
	transition: color 0.3s;
	@media (max-width: 767.98px) {
		font-size: 1.4rem;
	}
}
.p-products__card-link:hover .p-products__card-title {
	color: #fff;
}
.p-products__card-title > small {
	font-size: clamp(1.2rem,1.6vw,1.6rem);
	@media (max-width: 767.98px) {
		font-size: 1.2rem;
	}
}


.p-products__card-desc {
	margin-top: calc(0 / 50 * 1em);
	margin-bottom: 10px;
	line-height: calc(24 / 16);
	font-size: clamp(1.4rem,1.8vw,1.8rem);
	@media (max-width: 767.98px) {
		font-size: 1.4rem;
	}
}


.p-pursuit {
	background: url("../img/about/pursuit-bg.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	padding-block: 20rem;
	@media (max-width: 767.98px) {
		padding-block: 2rem 8rem;
	}
}

.pursuit_ttl_wrap {
	display: grid;
	row-gap: 2rem;
	margin-bottom: 5rem;
	@media (max-width: 767.98px) {
		row-gap: 1rem;
		margin-bottom: 3rem;
	}
	span {
		color: #0075C2;
		font-size: clamp(1.4rem,1.8vw,1.8rem);
		font-weight: bold;
		@media (max-width: 767.98px) {
			font-size: 1.4rem;
		}
	}
	.pursuit_ttl {
		font-size: clamp(2rem,3vw,3rem);
		font-weight: bold;
		@media (max-width: 767.98px) {
			font-size: 2rem;
		}
	}
	.pursuit_list_txt {
		line-height: var(--line-height-base);
	}
}

.pursuit_txt {
	font-size: clamp(1.4rem,1.8vw,1.8rem);
	line-height: var(--line-height-base);
	text-align: justify;
	@media (max-width: 767.98px) {
		font-size: 1.4rem;
	}
}

.pursuit_list {
	display: flex;
	gap: 2rem;
	margin-block: 4rem 6rem;
	@media (max-width: 767.98px) {
		flex-wrap: wrap;
		justify-content: center;    /* 中央寄せ */
		margin-block: 2rem 2rem;
	}
	li {
		background: #FFF;
		border-radius: 10px;
		color: #0075C2;
		padding: 10px 2vw;
		font-size: clamp(1.4rem,1.8vw,1.8rem);
		font-weight: bold;
		text-align: center;
		@media (max-width: 767.98px) {
			width: calc(93%/3);
			font-size: 1.4rem;
		}
		@media (max-width: 599.98px) {
			width: calc(93%/2);
		}
		span {
			font-weight: normal;
		}
	}
}












.video-wrapper {
    position: relative;
    width: 100%;
    margin-inline: auto;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
}


.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.8s linear infinite;
    display: none; /* 初期は非表示 */
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}


.controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: none;
    z-index: 99;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-wrapper.is-controls-visible .controls {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

video {
    position: relative;
    z-index: 1;
}

/* 左側（再生ボタン） */
.controls-left {
    display: flex;
    align-items: center;
    margin-right: 10px;
	@media (max-width: 767.98px) {
    	margin-right: 5px;
	}
}

/* 再生ボタン */
.controls-left button#playPause {
    background: var(--back-base-color);
    color: #FFF;
    border: 0;
    padding-block: 5px;
    padding-inline: 2rem;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
	img  {
		height: 18px;
	}
	@media (max-width: 767.98px) {
		padding-inline: 3vw;
	}
}

/* 右側全体のボックス */
.controls-right-box {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    background: var(--back-base-color);
    border-radius: 8px;
    padding: 4px 12px;
}

/* 中央（シークバー + 時間） */
.controls-center {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0; /* ← レスポンシブで潰れない */
}

/* 右側（音量・全画面） */
.controls-right {
    display: flex;
    align-items: center;
}

/* ============================
   SEEK BAR（シークバー）
============================ */
/* ベース */
#seekBar {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    min-width: 60px;
    height: 4px;
    border-radius: 2px;
    outline: none;
    position: relative;
    z-index: 50;

    /* 再生済み + バッファ済みの白の階層 */
    background:
        /* 再生済み（最も濃い白） */
        linear-gradient(to right,
            rgba(255,255,255,0.75) var(--seek-progress),
            transparent var(--seek-progress)
        ),
        /* バッファ済み（中間の白） */
        linear-gradient(to right,
            rgba(255,255,255,0.55) var(--buffer-progress),
            rgba(255,255,255,0.15) var(--buffer-progress)
        );
}


/* Chrome / Edge / Safari */
#seekBar::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent; /* ← 背景は #seekBar 側で管理 */
    border-radius: 2px;
}

#seekBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    margin-top: -5px;
    cursor: pointer;
}

/* Firefox */
#seekBar::-moz-range-track {
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
}

#seekBar::-moz-range-progress {
    height: 4px;
    background: rgba(255,255,255,0.75);
    border-radius: 2px;
}

#seekBar::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}


/* 進捗ゲージ（Chrome / Edge / Safari） */
#seekBar::-webkit-slider-runnable-track {
    height: 4px;
    background: linear-gradient(
        to right,
        #fff var(--seek-progress, 0%),
        rgba(255,255,255,0.3) var(--seek-progress, 0%)
    );
    border-radius: 2px;
}

#seekBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    margin-top: -5px;
    cursor: pointer;
}

/* Firefox */
#seekBar::-moz-range-track {
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

#seekBar::-moz-range-progress {
    height: 4px;
    background: #fff;
    border-radius: 2px;
}

#seekBar::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

#timeDisplay {
    color: #fff;
    font-size: 14px;
}


/* 右：音量・全画面 */
.controls-right button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
	padding-inline: 4px;
	img  {
		height: 18px;
	}
}

.controls input[type="range"] {
    flex: 1;
}

.seek-tooltip {
    position: absolute;
    bottom: 42px;
    padding: 4px 8px;
    background: #FFF;
    color: #000;
    font-size: 12px;
    border-radius: 4px;
    transform: translateX(-50%);
    pointer-events: none;
    white-space: nowrap;
    z-index: 9999;
    display: none;
}

.seek-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #FFF;
}