.page-title,
.name-en,
.person-name-en,
.movie-title,
.list-title,
.profile-name-en,
.list-item-name-en {
	font-family: "Oswald", sans-serif;
	font-weight: bold;
}

.list-title,
.movie-title {
	font-family: "Oswald", sans-serif;
	font-weight: bold;
}

.rights {
	font-family: "Oswald", sans-serif;
}

/* ヘッダーセクション */
.person-header {
	padding: 40px 20px;
	position: relative;
	height: 730px;
	color: #111111;
	margin-top: 80px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.page-title {
	position: absolute;
	top: 0;
	font-size: 80px;
	font-weight: bold;
	transform: translateY(-40%);
	z-index: 2;
}

.sub-title {
	font-size: 14px;
	font-weight: bold;
	padding: 20px 0;
}

/* プロフィール情報 */
.person-profile {
	margin: 50px auto;
	position: absolute;
	bottom: 150px;
	z-index: 1;
	max-width: 290px;
}

.profile-name {
	font-size: 24px;
	font-weight: 400;
	background: #fff;
	margin-right: 100px;
	margin-left: -100vw;
	padding: 15px 0 15px 100vw;
}

.profile-name-en {
	font-size: 20px;
	font-weight: bold;
	margin: 12px 0px;
	letter-spacing: 2px;
}

.profile-divider {
	border: 0;
	height: 1px;
	background: #000;
	margin: 12px 0;
	width: 70vw;
}

.profile-company,
.profile-position {
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 1px;
}

.profile-join-date {
	font-size: 13px;
}
  
/* インタビューエリア */
.interview {
	margin: -160px 16px 20px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
	padding-bottom: 10px;
}

.interview-section {
	background: #fff;
	border-radius: 12px;
	padding-top: 16px;
	position: relative;
	z-index: 2;
}

.interview-title {
	font-size: 24px;
	font-weight: bold;
	color: #ff8a02;
	text-align: left;
	line-height: 32px;
	letter-spacing: 1px;
	padding: 0 16px;
}

.interview-content {
	display: grid;
	grid-template-columns: 1fr;
	padding: 24px 20px;
	gap: 40px;
}

.interview-content-full {
	display: grid;
	grid-template-columns: 1fr;
	padding: 12px 0;
}

.interview-content-full .interview-text {
	padding: 0 20px;
}

.interview-text h2 {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 20px;
	line-height: 1.6;
}

.interview-text h2::before {
	content: "—";
	font-weight: normal;
}

.interview-text h3 {
	font-size: 20px;
	font-weight: normal;
	color: #ff8a02;
	line-height: 28px;
	letter-spacing: 1px;
	margin-bottom: 24px;
}

.interview-text p {
	font-family: "Hiragino Kaku Gothic Std W4", sans-serif;
	color: #666;
	font-size: 14px;
	text-align: left;
	line-height: 28px;
	letter-spacing: 0px;
}

.interview-image {
	width: 100%;
	height: auto;
	min-height: 200px;
	max-height: 200px;
	overflow: hidden;
	background-color: #f5f5f5; /* 画像が読み込まれる前の背景色 */
	position: relative;
}

.interview-image img {
	width: 100%;
	height: 100%;
	max-height: 200px;
	object-fit: cover;
	display: block; /* ブロック要素として表示 */
	position: relative;
	z-index: 1;
}

/* 動画コンテナ全体のスタイル */
.interview-video-link {
	width:80%;
	display: block;
	text-decoration: none; /* リンクの下線を非表示 */
	border: 2px solid #ccc;
	border-radius: 12px;
	margin: 0 auto;
	background-color: #fff;
	transition: box-shadow 0.3s;
}

.interview-video-link:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	opacity: 0.8;
}

.interview-video-content {
	display: flex; /* 横並びにする */
	align-items: center; /* 縦位置を中央揃え */
	justify-content: space-between; /* 両端に分ける配置 */
}

.interview-video-text {
	padding: 20px;
	text-align: center;
	display: flex; /* 中の要素を縦並びにするためにflex化 */
	flex-direction: column; /* 子要素を縦に並べる */
	justify-content: center; /* 縦方向の中央揃え */
	width: 50%;
	padding:20px;
}

.video-message {
	font-size: 28px;
	font-weight: bold;
	line-height: 1.4;
	margin-bottom:30px;
	color: #333;
}

.interview-video-text i.fa-youtube {
	font-size: 50px;
}

.interview-video-text i.fa-circle-arrow-down {
	display: none;
}

.interview-video-thumbnail-block {
	width: 50%;
	text-align: center;
	padding: 20px;
}

.interview-video-thumbnail {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.interview-video-title {
	font-size: 18px;
	margin-top: 8px;
	color: #333;
}

/*エンジニア面談のボタン*/

.interview-button-area {
	display: block; 
	margin: 60px 0 50px;
	text-align: center;
  }

.interview-button {
	width: fit-content;
	color: #333;
	font-size: 16px;
	padding: 12px 24px;
	border:1px solid #999;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
}
  
.interview-button:hover {
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
	transform: translateY(-6px);
	opacity: 0.9;
	color: #fff;
	background-color: #222;
}

/*SP以外用 モーダル*/
#custom-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.modal-content {
	background: white;
	border-radius: 10px;
	width: 80%;
	max-width: 900px;
	text-align: center;
	position: relative;
}

.modal-txt {
	border-radius: 10px 10px 0 0;
	background-color: #09b98a;
	padding:30px 0;
	margin-bottom: 15px;
	color: #fff;
	font-size: 26px;
	line-height: 1.5;
}

.modal-content > p {
	text-align: center;
	margin: 30px 0; 

	font-weight: bold;
	font-size: 14px;
}

.contents-wrapper {
	margin:0 7vw;
	display: flex;
	gap: 30px;
	align-items: center;
	justify-content: center;
	padding-bottom:50px;
}

.contents-wrapper .engineer {
	flex: 6;
	position: relative;
	border-radius: 8px;
	aspect-ratio: 2 / 1;
	max-height:200px;
	max-width: 400px;
}

.engineer p{
	display: inline;
	padding:5px 10px;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 8px;
	position: absolute;
	top: 15px;
	left: 15px;
	font-size: 14px;
	font-weight: 555;
}

.contents-wrapper .line {
	flex: 4;
}

.line h5{
	font-size: 12px;
	margin-bottom: 5px;
}

.line p{
	font-size: 10px;
}

.modal-qr-image{
	width: 120px;
}

/* ========== 退職者タグ（共通） ========== */

.interview-name {
    display: flex;
    align-items: center; /* ← 縦中央揃えの本体 */
    gap: 8px;
}

.status-label.former {
    font-size: 12px;
	font-weight: bold;
    padding: 2px 8px;
    border-radius: 30px;
    background: #999;
    color: #fff;
    line-height: 1.4;
    white-space: nowrap;
    text-shadow: none;
	margin-right: 20px;
}


@media screen and (min-width: 1024px) {

	.modal-txt {
		font-size: 30px;
		line-height: 1.5;
	}

	.modal-content > p {
		font-size: 16px;
	}

	.engineer p{
		font-size: 16px;
	}

	.line h5{
		font-size: 14px;
	}
	
	.line p{
		font-size: 12px;
	}
	
	.modal-qr-image{
		width: 150px;
	}

	.status-label.former {
		font-size: 20px;
		padding: 4px 12px;
		margin: 0 0 0 10px;
	}
}

@keyframes modal-bounce {
	0% {
	  transform: scale(0.8);
	  opacity: 0;
	}
	60% {
	  transform: scale(1.05);
	  opacity: 1;
	}
	80% {
	  transform: scale(0.98);
	}
	100% {
	  transform: scale(1);
	}
}

.modal-content {
	animation: modal-bounce 0.4s ease-out;
}

/* スマホ用のメディアクエリを追加 */
@media screen and (min-width: 768px) {
	.person-header {
		padding: 80px;
	}
	.page-title {
		font-size: 160px;
	}
	.person-profile {
		position: relative;
		margin: 0;
		bottom: auto;
	}
	.profile-name {
		font-size: 32px;
		margin-right: 0;
	}
	.profile-name-en {
		font-size: 24px;
		font-weight: normal;
		margin: 16px 0;
	}
	.profile-divider {
		margin: 20px 0;
		width: 100%;
	}
	.interview {
		margin: -150px 80px 30px;
	}
	.interview-text h2 {
		font-size: 18px;
	}
	.interview-section {
		padding-top: 40px;
	}
	.interview-title {
		font-size: 40px;
		text-align: center;
		line-height: 1.5;
	}
	.interview-content {
		grid-template-columns: repeat(2, 1fr);
		padding: 60px;
		gap: 84px;
	}
	.interview-content-full {
		padding: 30px 0;
	}
	.interview-content-full .interview-text {
		padding: 0 60px;
	}
	.interview-text h2 {
		margin-bottom: 24px;
	}
	.interview-text h3 {
		font-size: 24px;
		margin-bottom: 32px;
		letter-spacing: 1.2;
	}
	.interview-text p {
		font-family: inherit;
		text-align: inherit;
		line-height: 2;
	}
	.interview-image {
		max-height: 300px;
		min-height: 300px;
	}
	.interview-image img {
		max-height: 300px;
	}
}

/* インタビュー動画のスマホ用のメディアクエリを追加 */
@media (max-width: 767px) {
	.interview-video-link {
		width: 100%;
		border: none;
		pointer-events: none; /* 全体のリンクを無効化 */
	}
	.interview-video-link:hover {
		box-shadow: none;
		opacity: 1;
	}
	/* interview-video-content の flex方向を縦に変更 */
	.interview-video-content {
		flex-direction: column;
		align-items: center;
	}
	.interview-video-text {
		width: 100%;
		padding: 50px 0 0;
	}
	.video-message {
		font-size: 21px;
		margin-bottom: 30px;
	}
	/* アイコンの表示設定 */
	.interview-video-text i.fa-youtube {
		display: none;
	}
	.interview-video-text i.fa-circle-arrow-down {
		display: inline;
		font-size: 36px;
		margin-bottom:30px;
	}
	.interview-video-thumbnail-block {
		width: 90%;
		padding: 20px;
		pointer-events: auto; /* リンク有効化 */
		border-radius: 8px;
		border: 2px solid #ccc;
	}
	.interview-video-thumbnail-block:hover{
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
		opacity: 0.8;
	}
	.interview-video-title{
		font-size: 14px;
	}
}


/* タブレット用のメディアクエリを追加 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
	.person-header {
		padding: 40px;
	}
	.page-title {
		font-size: 110px;
		padding-bottom: 30px;
	}
	.interview {
		margin: -150px 40px 30px;
	}
	.interview-content {
		grid-template-columns: 1fr;
		padding: 40px;
		gap: 40px;
	}
	.interview-content-full .interview-text {
		padding: 0 40px;
	}
	.interview-video-link {
		width: 90%;
		padding: 10px;
		margin-bottom: 20px;
	}
	.video-message {
		font-size: 18px;
		margin-bottom: 15px;
	}
	.interview-video-text i.fa-youtube {
		font-size: 40px;
	}
	.interview-video-title {
		font-size: 14px;
	}
	.interview-video-text ,.interview-video-thumbnail-block{
		padding: 10px;
	}

	.status-label.former {
		font-size: 18px;
		padding: 4px 12px;
		margin: 0 0 0 10px;
	}
}
