@charset "UTF-8";
/* Default Styles
-------------------------------------- */
:root {
	--base-font-num: 'Trebuchet MS', Helvetica, "Segoe UI", sans-serif !important;
}

/* Common Styles
-------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue',Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    line-height: 1.6;
    overflow-x: hidden;
}

/*--- モバイルメニュー ----------------------------------------*/
.mobile-menu {
	animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/*--- button ----------------------------------------*/
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-large {
    padding: 1.2rem 3rem;
    background: #007bff;
    color: white;
    border-radius: 50px;
    font-size: 1.2rem;
}

.btn-large:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.cust-font-num {
	font-family: var(--base-font-num) !important
}

/* TOP Styles
-------------------------------------- */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero:not(.hero:first-child) {
    display: none;
}

.hero.active {
    display: flex;
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

/* ページワンの魅力 */
.attraction-card {
    transition: all 0.3s ease;
}

.attraction-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.attraction-card {
    animation: fadeInUp 0.6s ease-out;
}

.attraction-card:nth-child(1) { animation-delay: 0.1s; }
.attraction-card:nth-child(2) { animation-delay: 0.2s; }
.attraction-card:nth-child(3) { animation-delay: 0.3s; }
.attraction-card:nth-child(4) { animation-delay: 0.4s; }
.attraction-card:nth-child(5) { animation-delay: 0.5s; }
.attraction-card:nth-child(6) { animation-delay: 0.6s; }

/* スプラッシュスクリーン */
.splash-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	animation: fadeOut 0.8s ease-in-out 4s forwards;
}

.splash-logo-container {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.splash-logo-image {
	width: 300px;
	height: 300px;
	opacity: 0;
	transform: scale(0.3) rotate(-180deg) scaleY(0.8);
	animation: logoAppear 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s forwards;
}

.splash-text-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.splash-pageone-text {
	width: 400px;
	height: auto;
	opacity: 0;
	transform: translateY(20px) scale(0.8);
	animation: textAppear 0.8s ease-out 1.5s forwards;
}

.splash-subtitle {
	/* font-size: 1.2rem;
	color: #3E7838;
	font-weight: 500; */
	letter-spacing: 0.1em;
	opacity: 0;
	transform: translateY(20px);
	animation: subtitleAppear 0.6s ease-out 2.5s forwards;
}

@keyframes logoAppear {
	0% {
		opacity: 0;
		transform: scale(0.3) rotate(-180deg) scaleY(0.8);
	}
	70% {
		opacity: 1;
		transform: scale(1.1) rotate(10deg) scaleY(0.8);
	}
	100% {
		opacity: 1;
		transform: scale(1) rotate(0deg) scaleY(0.8);
	}
}

@keyframes textAppear {
	0% {
		opacity: 0;
		transform: translateY(20px) scale(0.8);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes subtitleAppear {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}


@keyframes fadeOut {
	0% {
		opacity: 1;
		visibility: visible;
	}
	100% {
		opacity: 0;
		visibility: hidden;
	}
}

.main-content {
	opacity: 0;
	animation: fadeIn 0.8s ease-in-out 4.5s forwards;
}

@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

/* ヒーローセクション専用スタイル */
.hero-image-item {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	opacity: 0.9;
	transition: opacity 1.5s ease-in-out;
	filter: brightness(1.1) contrast(1.05);
}

.hero-image-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
	border-radius: 8px;
}

.hero-image-item.crossfade::before {
	opacity: 1;
}

.hero-image-item:hover {
	opacity: 1;
	filter: brightness(1.2) contrast(1.1);
}

.hero-image-item.fade-out {
	opacity: 0;
	transition: opacity 2s ease-in-out;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.hero-image-grid {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(5, 1fr);
		gap: 1px;
	}
	
	.hero-image-item {
		border-radius: 4px;
	}
}

@media (max-width: 640px) {
	.hero-image-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(8, 1fr);
	}
}

/* 2列表示時の横線と余白調整 */
@media (min-width: 640px) and (max-width: 1023px) {
	.stats-grid > div:nth-child(n+3) {
		border-top: 1px solid #d1d5db !important;
		margin-top: 0 !important;
		padding-top: 2rem !important;
	}
	.stats-grid > div {
		margin-left: 2rem !important;
		margin-right: 2rem !important;
	}
}

/* 横の区切り線を強制表示 */
@media (min-width: 1024px) {
	.stats-grid .horizontal-divider-top {
		border-top: 1px solid #d1d5db !important;
	}
	.stats-grid .horizontal-divider-bottom {
		border-bottom: 1px solid #d1d5db !important;
	}
	/* 特定の項目に横線を追加 */
	.stats-grid > div:nth-child(4),
	.stats-grid > div:nth-child(5),
	.stats-grid > div:nth-child(6) {
		border-top: 1px solid #d1d5db !important;
	}
}



/* Voices Styles
-------------------------------------- */
/* コマ割り風スタイル */
.comic-panel-container {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 3rem;
	border-radius: 0;
	position: relative;
}

.comic-panel-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
	z-index: 1;
}

.comic-panel-container > * {
	position: relative;
	z-index: 2;
}

.comic-panel {
	position: relative;
	filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.comic-frame {
	position: relative;
	border: none;
	border-radius: 0;
	box-shadow: none;
	overflow: hidden;
	background: #000;
}

.comic-panel-large .comic-frame {
	height: 450px;
}

.comic-panel-medium .comic-frame {
	height: 300px;
}

.comic-panel-small .comic-frame {
	height: 280px;
}

.comic-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.2) contrast(1.1);
}

/* 吹き出し */
.speech-bubble {
	position: absolute;
	background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 0;
	padding: 1.5rem 2rem;
	max-width: 320px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.3);
	z-index: 10;
}

.comic-panel-medium .speech-bubble {
	max-width: 240px;
	padding: 1rem 1.5rem;
}

.comic-panel-medium .speech-text {
	font-size: 0.9rem;
}

.comic-panel-medium .speaker-info {
	font-size: 0.75rem;
}

.speech-bubble::before,
.speech-bubble::after {
	display: none;
}

/* 右側の吹き出し */
.speech-bubble-right {
	top: 30px;
	right: 30px;
}

/* 左側の吹き出し */
.speech-bubble-left {
	top: 30px;
	left: 30px;
}

/* 上側の吹き出し */
.speech-bubble-top {
	top: 30px;
	left: 50%;
	transform: translateX(-50%);
}

/* 下側の吹き出し */
.speech-bubble-bottom {
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
}

.speech-text {
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 0 1rem 0;
	font-weight: 400;
	color: #1a1a1a;
	font-style: italic;
	letter-spacing: 0.02em;
}

.speaker-info {
	font-size: 0.8rem;
	color: rgba(0,0,0,0.6);
	font-weight: 700;
	text-align: right;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border-top: 1px solid rgba(0,0,0,0.1);
	padding-top: 0.5rem;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
	.comic-panel-container {
		padding: 2rem 1rem;
	}
	
	.speech-bubble {
		max-width: 240px;
		padding: 1rem 1.5rem;
	}
	
	.speech-text {
		font-size: 0.9rem;
	}
	
	.comic-panel-large .comic-frame {
		height: 300px;
	}
	
	.comic-panel-medium .comic-frame {
		height: 250px;
	}
	
	.comic-panel-small .comic-frame {
		height: 200px;
	}
}


/* スケジュールタブ専用スタイル */
.schedule-tab-button {
	color: #6b7280;
	background-color: transparent;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: none;
	border-radius: 1.5rem;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
}

.schedule-tab-button.office-tab:hover {
	background-color: #16a34a;
	color: white;
}

.schedule-tab-button.remote-tab:hover {
	background-color: #9333ea;
	color: white;
}

.schedule-tab-button.office-tab.tab-active {
	background-color: #16a34a;
	color: white;
	box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.schedule-tab-button.remote-tab.tab-active {
	background-color: #9333ea;
	color: white;
	box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

.schedule-tab-content {
	display: none;
}

.schedule-tab-content.tab-active {
	display: block;
}


/* スマホ時は縦レイアウト */
@media (max-width: 639px) {
	.schedule-container {
		flex-direction: column !important;
		gap: 1rem !important;
		min-width: auto !important;
	}
	
	.schedule-item {
		min-width: auto !important;
		flex: none !important;
		display: block !important;
		position: relative !important;
		padding-left: 0 !important;
		height: 8rem !important;
		margin-bottom: 2rem !important;
		text-align: center !important;
	}
	
	/* アイコン部分を少し右側に固定 */
	.schedule-item > div:first-child {
		position: absolute !important;
		top: 1.25rem !important;
		left: 0.75rem !important;
		margin: 0 !important;
		width: 3rem !important;
		height: 3rem !important;
		min-width: 3rem !important;
		min-height: 3rem !important;
		border-radius: 50% !important;
		aspect-ratio: 1 / 1 !important;
	}
	
	/* コンテンツ部分を右側に配置 */
	
	/* 時刻と見出し、説明、写真を右側に縦に配置 */
	.schedule-item > div:nth-child(2), /* 時刻と見出し */
	.schedule-item > div:nth-child(4), /* 説明 */
	.schedule-item > div:nth-child(5)  /* 写真のdiv */ {
		position: absolute !important;
		left: 4.5rem !important;
		right: 0.5rem !important;
		margin: 0 !important;
		text-align: center !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
	}
	
	/* 時刻と見出しの中央揃え */
	.schedule-item > div:nth-child(2) {
		text-align: center !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		flex-direction: column !important;
	}
	
	/* 説明の中央揃え */
	.schedule-item > div:nth-child(4) {
		text-align: center !important;
	}
	
	/* 時刻と見出しの位置 */
	.schedule-item > div:nth-child(2) {
		top: 0rem !important;
		height: 1.75rem !important;
		line-height: 1.75rem !important;
	}
	
	/* 空のタイトル（非表示） */
	/* .schedule-item > div:nth-child(3) {
		display: none !important;
	} */
	
	/* モバイルでの時刻+見出し表示を強制 */
	.schedule-item > div:nth-child(2) .mobile-time-title {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		font-size: 0.9rem !important;
		font-weight: 700 !important;
		color: inherit !important;
		text-align: center !important;
		line-height: 1.5 !important;
		white-space: nowrap !important;
		z-index: 40 !important;
		position: relative !important;
	}
	
	/* 説明の位置 - 時刻と見出しの下 */
	.schedule-item > div:nth-child(4) {
		top: 1.75rem !important;
		height: 2rem !important;
	}
	
	/* 写真のdivの位置 - 説明の下 */
	.schedule-item > div:nth-child(5) {
		top: 4rem !important;
		height: 2.5rem !important;
	}
	
	/* 写真のimg要素のスタイル調整 */
	.schedule-item img {
		margin: 0 auto !important;
		display: block !important;
	}
	
	/* 写真のdivも中央揃え */
	.schedule-item > div:nth-child(5) {
		text-align: center !important;
	}
	
	/* 横の接続線を非表示 */
	.schedule-item .absolute[class*="left-[calc"] {
		display: none !important;
	}
	
	/* 縦の接続線を左側のアイコンから伸ばす */
	.schedule-item:not(:last-child) > div:first-child::after {
		content: '';
		position: absolute;
		top: 100%;
		left: 50%;
		transform: translateX(-50%);
		width: 2px;
		height: calc(2rem + 8rem + 1.25rem);
		z-index: 0;
	}
	
	/* 各色の接続線 */
	.schedule-item:nth-child(1):not(:last-child) > div:first-child::after { background-color: #2563eb; }
	.schedule-item:nth-child(2):not(:last-child) > div:first-child::after { background-color: #16a34a; }
	.schedule-item:nth-child(3):not(:last-child) > div:first-child::after { background-color: #9333ea; }
	.schedule-item:nth-child(4):not(:last-child) > div:first-child::after { background-color: #ea580c; }
	.schedule-item:nth-child(5):not(:last-child) > div:first-child::after { background-color: #dc2626; }
	.schedule-item:nth-child(6):not(:last-child) > div:first-child::after { background-color: #0d9488; }
	.schedule-item:nth-child(7):not(:last-child) > div:first-child::after { background-color: #4f46e5; }
	.schedule-item:nth-child(8):not(:last-child) > div:first-child::after { background-color: #ec4899; }
	
	/* 時刻とタイトルのスタイル調整 */
	.schedule-item .font-bold {
		margin-bottom: 0 !important;
		font-size: 0.9rem !important;
		font-weight: 700 !important;
		white-space: nowrap !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
	}
	
	/* モバイル用の統合表示スタイル */
	.mobile-time-title {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		font-size: 0.9rem !important;
		font-weight: 700 !important;
		color: inherit !important;
		text-align: center !important;
		line-height: 1.5 !important;
		white-space: nowrap !important;
		z-index: 40 !important;
	}
	
	/* デスクトップ用の分離表示（モバイルでは非表示） */
	.desktop-time,
	.desktop-title {
		display: none !important;
		visibility: hidden !important;
	}
	
	/* 時刻+見出しが確実に表示されるように */
	.schedule-item > div:nth-child(2) {
		min-height: 1.75rem !important;
		overflow: visible !important;
	}
	
	.schedule-item h5 {
		margin-bottom: 0.125rem !important;
		font-size: 0.9rem !important;
		font-weight: 600 !important;
		white-space: nowrap !important;
	}
	
	.schedule-item p {
		margin-bottom: 0 !important;
		font-size: 0.7rem !important;
		line-height: 1.3 !important;
		padding: 0 0.5rem !important;
		text-align: center !important;
	}
	
	/* 写真のサイズ調整 */
	.schedule-item img {
		width: 5rem !important;
		/* height: 2.25rem !important; */
		border-radius: 0.5rem !important;
		box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
	}
}

/* デスクトップ表示：時刻とタイトルを縦に並べる */
@media (min-width: 640px) {
	/* モバイル用の統合表示を非表示 */
	.mobile-time-title {
		display: none !important;
	}
	
	/* デスクトップ用の分離表示を表示 */
	.desktop-time {
		display: block !important;
		font-size: 1.125rem !important;
	}
	
	.desktop-title {
		display: block !important;
	}
	
	/* 時刻とタイトルの分離表示 */
	.schedule-item .font-bold {
		display: block !important;
		margin-bottom: 0.25rem !important;
		text-align: center !important;
		font-size: 1.125rem !important;
	}
	
	.schedule-item h5 {
		display: block !important;
		margin-bottom: 0.5rem !important;
		text-align: center !important;
		font-size: 0.875rem !important;
		font-weight: 600 !important;
	}
	
	/* 説明文のサイズ統一 */
	.schedule-item p {
		font-size: 0.875rem !important;
	}
}


/* 狭めたときは2項目が見える程度に調整（タブレット以上） */
@media (min-width: 640px) and (max-width: 1200px) {
	.schedule-container {
		gap: 3rem; /* 48px の間隔 */
		min-width: 800px; /* 2項目程度が見える最小幅 */
	}
	
	.schedule-item {
		min-width: 140px; /* 各項目の最小幅を拡大 */
		flex-shrink: 0; /* 縮小を防ぐ */
	}
	
	/* 接続線の長さを調整 */
	.schedule-item .absolute {
		width: calc(100% + 3rem - 64px) !important; /* gap分を考慮して線を延長 */
	}
}


/* Technology Styles
-------------------------------------- */
.tech-tag-main {
	background: linear-gradient(135deg, #3b82f6, #1d4ed8);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 0.75rem;
	font-weight: 600;
	font-size: 0.875rem;
	text-align: center;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tech-tag {
	background: #f3f4f6;
	color: #374151;
	padding: 0.5rem 1rem;
	border-radius: 0.75rem;
	font-weight: 500;
	font-size: 0.875rem;
	text-align: center;
	border: 1px solid #e5e7eb;
}


/* Graduate Styles
-------------------------------------- */
/* カスタムカラー */
.custom-green-bg {
	background-color: #3E7838;
}
.custom-green-border {
	border-color: #3E7838;
}
.custom-green-bg-light {
	background-color: rgba(62, 120, 56, 0.1);
}
.custom-green-text {
	color: #3E7838;
}
.custom-orange-bg {
	background-color: #EC7B39;
}
.custom-orange-border {
	border-color: #EC7B39;
}
.custom-orange-bg-light {
	background-color: rgba(236, 123, 57, 0.1);
}
.custom-orange-text {
	color: #EC7B39;
}
.custom-orange-gradient {
	background: linear-gradient(135deg, #EC7B39, #d16529);
}



/* FAQ Styles
-------------------------------------- */
.faq-category {
	margin-bottom: 4rem;
}

.faq-item {
	margin-bottom: 1rem;
}

.faq-question {
	cursor: pointer;
	transition: all 0.3s ease;
}
.faq-answer {
	overflow: hidden;
	transition: max-height 0.3s ease-in-out;
}
