/* Top Page Custom Styles */

/* Hide Default Header on Front Page */
body.home #header-box,
body.home #header,
body.home .cps-info-bar {
	display: none !important;
}

body.home #scroll-content {
	padding-top: 0;
}

/* Top Page Wrapper */
.top-page-wrapper {
	width: 100%;
	overflow-x: hidden;
	margin-top: 0;
}

/* Hero Section */
.top-hero-section {
	position: relative;
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0;
}

.hero-overlay {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 120px 20px 80px;
	z-index: 2;
}

.hero-content {
	position: relative;
	z-index: 3;
}

/* Hero Title */
.hero-title {
	margin: 0;
	padding: 0;
	line-height: 1.2;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.hero-title-main {
	display: block;
	font-size: 4.5rem;
	font-weight: 700;
	color: #000;
	margin-bottom: 10px;
	letter-spacing: 0.05em;
	line-height: 1.1;
}

.hero-subtitle {
	display: block;
	font-size: 1.2rem;
	color: #000;
	font-weight: 400;
	margin-top: 8px;
	letter-spacing: 0.02em;
}

/* Hero Description */
.hero-description {
	position: absolute;
	bottom: 80px;
	right: 20px;
	background: rgba(255, 255, 255, 0.95);
	padding: 30px 40px;
	max-width: 400px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 4;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.hero-description p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.8;
	color: #333;
}

/* Diagonal Lines */
.diagonal-lines {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
}

.diagonal-line {
	position: absolute;
	background: #00C853;
	transform-origin: center;
}

.diagonal-line-top {
	top: -5%;
	left: 8%;
	width: 4px;
	height: 50%;
	transform: rotate(12deg);
	box-shadow: 0 0 10px rgba(0, 200, 83, 0.3);
}

.diagonal-line-bottom {
	bottom: -5%;
	right: 12%;
	width: 4px;
	height: 45%;
	transform: rotate(-12deg);
	box-shadow: 0 0 10px rgba(0, 200, 83, 0.3);
}

/* Header Customization for Top Page */
.top-page-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background: transparent;
}

.top-header-content {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.top-page-header .top-logo {
	padding: 0;
	margin: 0;
}

.top-page-header .top-logo a {
	display: inline-block;
	text-decoration: none;
}

.top-page-header .top-logo img {
	max-height: 40px;
	width: auto;
	display: block;
}

.top-page-header .top-breadcrumb {
	padding: 10px 0 0 0;
	font-size: 0.9rem;
	color: #000;
	font-family: inherit;
}

.top-page-header .top-breadcrumb a {
	color: #000;
	text-decoration: none;
	transition: color 0.3s;
}

.top-page-header .top-breadcrumb a:hover {
	color: #00C853;
}

.top-page-header .top-breadcrumb span {
	margin: 0 5px;
	color: #00C853;
}

.top-page-header .top-menu-button {
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #00C853;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	z-index: 101;
	transition: opacity 0.3s;
}

.top-page-header .top-menu-button:hover {
	opacity: 0.8;
}

.top-page-header .top-menu-button .menu-text {
	font-size: 1rem;
}

.top-page-header .top-menu-button .menu-icon {
	width: 24px;
	height: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.top-page-header .top-menu-button .menu-icon span {
	display: block;
	width: 100%;
	height: 3px;
	background: #00C853;
	border-radius: 2px;
	transition: all 0.3s;
}

/* Footer adjustment for top page */
body.home footer {
	position: relative;
	z-index: 10;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero-title-main {
		font-size: 2.5rem;
	}
	
	.hero-subtitle {
		font-size: 1rem;
	}
	
	.hero-description {
		position: relative;
		bottom: auto;
		right: auto;
		margin-top: 40px;
		max-width: 100%;
		padding: 20px;
	}
	
	.hero-overlay {
		padding: 100px 15px 60px;
	}
	
	.diagonal-line-top,
	.diagonal-line-bottom {
		display: none;
	}
}

@media (max-width: 480px) {
	.hero-title-main {
		font-size: 2rem;
	}
	
	.hero-subtitle {
		font-size: 0.9rem;
	}
	
	.hero-description p {
		font-size: 0.9rem;
	}
}
