@charset "utf-8";
@import url(seminar-speaker.css);

/*
*****************************************************************************************

基調講演、特別講演、海外発表、事例発表、期間限定配信の共有スタイル

*****************************************************************************************
*/

.happyo-detail-header {
	border-bottom: 1px solid var(--blue-border);
	/* padding: 0 0 44px; */
	margin: 80px 0 24px;
}

.happyo-detail-header::before,
.happyo-detail-header::after {
	content: '';
	display: table;
}

/* padding-bottomの代替 */
/* .happyo-detail-header::after {
	width: 100%;
	margin-top: 44px;
} */

.happyo-detail-title {
	font-size: var(--font-size-3xl);
	font-weight: bold;
	color: var(--blue-dark);
	position: relative;
	padding-left: 40px;
	margin: 0;
	margin: 0 0 40px;
	/* word-break: auto-phrase; */
}

.happyo-detail-title::before,
.happyo-detail-title::after {
	content: '';
	display: block;
	width: 16px;
	aspect-ratio: 1;
	position: absolute;
	top: 1em;
}

.happyo-detail-title::before {
	background: var(--red);
	left: 6px;
	translate: 0 -8px;
}

.happyo-detail-title::after {
	background: var(--blue);
	left: 0;
	translate: 0 -14px;
}

:where(.happyo-detail-title) .limited-item__title-sub {
	display: block;
    font-weight: bold;
    font-size: .55em;
    color: var(--blue);
    line-height: 1;
    margin: 0px 0 1em;
    padding: 1em 0 0;
}

.happyo-detail-title-en {
	line-height: 1.4;
	margin: 0;
	font-size: inherit;
}

.happyo-detail-title:where(:has(.happyo-detail-title-en))::before,
.happyo-detail-title:where(:has(.happyo-detail-title-en))::after {
	top: .9em;
}

.happyo-detail-title-ja {
	font-weight: bold;
	font-size: var(--font-size-ml);
	line-height: var(--line-height-sm);
	margin: 16px 0 0;
	color: var(--black);
}

.happyo-detail-name {
	font-weight: bold;
	font-size: var(--font-size-ml);
	color: var(--blue-highlight);
	margin: 16px 0 0;
	margin: 0 0 12px;
}

.happyo-detail-name:has( .happyo-detail-name__item) {
	display: flex;
	flex-wrap: wrap;
	gap: .5em 1.25em;
}

.happyo-detail-btn-block {
	display: flex;
	margin: 40px 0 0;
	gap: 8px;
	white-space: nowrap;
	flex-wrap: wrap;
}

.happyo-detail-btn-block-col {
	flex: 1 1 0;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.happyo-detail-btn-block-col:first-child {
	justify-content: flex-start;
}

.happyo-detail-btn-block-col:last-child {
	justify-content: flex-end;
}

.happyo-detail-btn-block-col--center {
	flex: 0 0 auto;
}

/* 最後のcolにボタンが複数あったら、空のcolは非表示にする */
:where(.happyo-detail-btn-block:has( > .happyo-detail-btn-block-col:last-child > .btn + .btn)) .happyo-detail-btn-block-col:empty {
	/*display: none;*/
}

.happyo-detail-movie {
	background: var(--blue-bg-light);
	padding: 64px;
	margin: 64px 0;
}

.happyo-detail-movie-btn-block {
	display: flex;
	justify-content: center;
	margin: 40px 0 0;
}

@media (width > 768px){

	.happyo-detail-btn-block--sp {
		display: none !important;
	}

}

@media (width <= 992px){

	:where(.happyo-detail-btn-block:has( > .happyo-detail-btn-block-col:last-child > .btn + .btn)) .happyo-detail-btn-block-col:empty {
		display: none;
	}

	.happyo-detail-btn-block {
		justify-content: flex-start;
	}

	.happyo-detail-btn-block-col {
		justify-content: flex-start;
	}

	.happyo-detail-btn-block-col:last-child {
		justify-content: flex-start;
	}

}

@media (width <= 768px){

	.happyo-detail-header {
		margin: 36px 0 16px;
	}

	.happyo-detail-header::before, 
	.happyo-detail-header::after {
		display: block;
	}

    .happyo-detail-title {
		margin: 16px 0 16px;
		padding-left: 1.3em;
		font-size: var(--font-size-lg);
	}

	.happyo-detail-title::before, 
	.happyo-detail-title::after {
		width: .5em;
		left: 0;
		top: 0;
		translate: 0 .45em;
	}

	.happyo-detail-title::before {
		left: .25em;
		top: .25em;
	}

	:where(.happyo-detail-title) .limited-item__title-sub {
		font-size: 11px;
		margin: 0px 0 8px;
		padding: 6px 0 0;
	}

	.happyo-detail-title-ja {
		margin: 12px 0 0;
		font-size: var(--font-size-ms);
	}

	.happyo-detail-name {
		font-size: var(--font-size-sm);
		margin: 0 0 4px;
	}

	.happyo-detail-btn-block {
		/* flex-direction: column;
		align-items: flex-start; */
		flex-wrap: wrap;
		gap: 8px;
	}

	.happyo-detail-btn-block-col {
		flex: 1 0 auto;
		width: 100%;
		flex-direction: column;
	}

	.happyo-detail-btn-block-col--pc {
		display: none !important;
	}

	.happyo-detail-btn-block-col:empty {
		display: none;
	}

	:where(.happyo-detail-btn-block-col) .btn {
		width: 100%;
	}

	.happyo-detail-movie {
		padding: 24px;
	}

	.happyo-detail-movie-btn-block {
		margin: 16px 0 0;
	}

	.happyo-detail-btn-block {
		margin: 32px 0;
	}

	.happyo-detail-movie {
		margin-block: 16px 32px;
	}

	.happyo-detail-movie:where(:has( + .page-bottom-btn-block)) {
		margin-bottom: 0;
	}

}

/* モーダル */
.video-evaluation {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
}

.video-evaluation:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0.8;
}

.video-evaluation-inner {
    width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
}

.video-evaluation-text {
    font-weight: bold;
    text-align: center;
    font-size: 1.3em;
    margin-bottom: 20px;
}

.btn-video-evaluation {
    text-align: center;
    background-color: #eb5414;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    padding: 15px;
    width: 270px;
    max-width: 100%;
    margin: 0 auto;
}

/*
*****************************************************************************************

期間限定配信

*****************************************************************************************
*/


.happyo-detail-info {
	background: var(--blue-bg-light);
	min-height: 44px;
	display: flex;
	line-height: var(--line-height-xs);
	color: var(--blue-dark);
	width: fit-content;
	margin: 8px 0 36px;
}

.happyo-detail-label {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: var(--font-size-ms);
	font-weight: bold;
	padding: 0 28px;
	border-right: 1px solid var(--blue-border);
}

.happyo-detail-date {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex: 1 0 0;
	font-size: var(--font-size-ms);
	padding: 0 28px;
}

@media (width <= 768px){

	.happyo-detail-info {
		width: auto;
		padding: 16px 24px;
		margin: 0 0 24px;
		flex-direction: column;
		gap: 2px;
	}

	.happyo-detail-label {
		display: block;
		padding: 0;
		border: none;
		text-align: left;
		font-size: var(--font-size-md);
	}

	.happyo-detail-date {
		padding: 0;
	}

}