/*!
Theme Name: plusbox
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: plusbox
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

plusbox is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Adobe Fonts (Field Gothic) is loaded in header.php */

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Header
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

a:hover {
	color: #FF6B23;
}

.site-header {
	background-color: #000000 !important;
	padding: 0 !important;
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin: 0 auto;
	padding: 0 35px;
	height: 70px;
	width: 100%;
}

.site-header .site-branding {
	flex-shrink: 0;
}

.site-header .logo-link {
	display: block;
	text-decoration: none;
}

.site-header .site-logo {
	height: 35px;
	width: auto;
	display: block;
}

.site-header .main-navigation {
	display: flex !important;
	align-items: center !important;
	width: auto !important;
}

.site-header .nav-menu {
	display: flex !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	align-items: center !important;
	flex-direction: row !important;
}

.site-header .menu-item {
	margin: 0 50px !important;
	position: relative !important;
}

.site-header .menu-item:last-child {
	margin-right: 0 !important;
}

.site-header .menu-item a {
	color: #ffffff !important;
	text-decoration: none !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	letter-spacing: 1px !important;
	transition: color 0.3s ease !important;
	position: relative !important;
	display: inline-block !important;
}

.site-header .menu-item a:hover {
	color: #ff6b35 !important;
}

.site-header .menu-item a.active {
	color: #ff6b35 !important;
}

.site-header .language-switcher a {
	color: #ffffff !important;
	font-size: 13px !important;
	transition: color 0.3s ease !important;
}

.site-header .language-switcher a.active {
	color: #ff6b35 !important;
}

.site-header .language-switcher a:hover {
	color: #ff6b35 !important;
}

.site-header .language-switcher .separator {
	color: #ffffff !important;
	margin: 0 5px !important;
	font-size: 13px !important;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 20px;
	position: relative;
	z-index: 1001;
}

.hamburger-line {
	display: block;
	width: 100%;
	height: 2px;
	background-color: #ffffff;
	margin: 4px 0;
	transition: 0.3s;
}

/* Hamburger animation */
.menu-toggle.toggled .hamburger-line:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.toggled .hamburger-line:nth-child(2) {
	opacity: 0;
}

.menu-toggle.toggled .hamburger-line:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

/* Body padding to account for fixed header */
body {
	padding-top: 0;
}

/* First View Section */
.hero-section {
	height: 97vh;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	position: relative;
	overflow: hidden;
	background: #1a1a1a; /* Fallback background */
	width: 100%;

	@media screen and (max-width: 768px) {
		height: 80vh; /* Fallback */
		height: calc(var(--vh, 1vh) * 80);
	}
}

.hero-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	z-index: 1;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.1);
	z-index: 2;
}

.hero-content {
	text-align: left;
	z-index: 3;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.8);
	padding: 20px 35px 40px;
	backdrop-filter: blur(10px);

	@media screen and (max-width: 768px) {
		padding: 20px 25px 40px;
	}
}

.hero-title {
	font-size: clamp(3.7rem, -1.971rem + 6.64vw, 6rem);
	font-weight: 500; /* No.83 Med XWide */
	color: #F96503;
	line-height: 1.1;
	margin: 0;
	font-family: field-gothic-xwide, sans-serif;
	letter-spacing: 1px;

	@media screen and (max-width: 768px) {
		font-size: 1.4rem;
	}
}

/* Adjust main content */
.site-main {
	padding-top: 0;
}

/* About Section */
.about-section {
	background: linear-gradient(to bottom, #000000 0%, transparent 20%), linear-gradient(to right, #321B0E 30%, #000000 100%);
	padding: 80px 0;
	position: relative;
	height: 97vh; /* Fallback */
	overflow: hidden;
	width: 100%;
}

.about-container {
	max-width: 1200px;
	width: 45%;
	padding-left: 35px;
}

.about-content {
	/* スタイルをリセット - 自由にカスタマイズしてください */
}

.about-text {
	color: #ffffff;
}

.about-text p {
	font-size: clamp(0.9rem, 0.16rem + 0.87vw, 1.2rem);
	line-height: 1.6;
	margin-bottom: 24px;
	font-family: field-gothic-xwide, sans-serif;
	font-weight: 400; /* No.82 Reg XWide */
	letter-spacing: 1px;
}

.text-divider {
	width: 90px;
	height: 1px;
	background-color: #ffffff;
}

.text-divider.bottom {
	margin-top: 130px;
}

.about-logo {
	/* スタイルをリセット - 自由にカスタマイズしてください */
}

.about-logo-image {
	height: 120px;
	width: auto;
	filter: brightness(0) invert(1);
}

.about-background {
	position: absolute;
	bottom: 0;
	right: -14vw;
	z-index: 1;
	max-width: calc(100vw - 50px);
}

.about-bg-image {
	height: 76vh;
	min-height: 500px;
	width: auto;
	object-fit: cover;
	object-position: center;
	animation: slideInRight 1.2s ease-out both, slowFloat 12s ease-in-out 1.2s infinite alternate;
	will-change: transform;
}

/* PC版では SP画像を非表示 */
.about-bg-image-sp {
	display: none;
}

/* Overlay Logos */
.overlay-logo {
	position: absolute;
	z-index: 3;
}

.overlay-logo.large {
	top: 49%;
	right: 22%;
}

.overlay-logo.small {
	bottom: 25%;
	right: 56%;
}

.overlay-logo.large .overlay-logo-image {
	height: 15vh;
	width: auto;
}

.overlay-logo.small .overlay-logo-image {
	height: 4vh;
	width: auto;
}

/* Responsive Design for Medium Screens (1366x768) */
@media screen and (max-width: 1400px) and (min-width: 769px) {
	.overlay-logo.large {
		top: 55%;
		right: 23%;
	}
	
	.overlay-logo.small {
		bottom: 19%;
		right: 58%;
	}
}

/* Business Section */
.business-section {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/background2.png') center center/cover no-repeat;
	padding: 80px 0;
	position: relative;
	height: 85vh;
	overflow: hidden;
	width: 100%;
}

.business-container {
	width: 100%;
	padding-left:35px;
	padding-right: 60px;

	@media screen and (max-width: 768px) {
		padding-left: 0px;
		padding-right: 0px;
	}
}

.business-container-top {
	width: 100%;
	padding-left:35px;
	padding-right: 60px;
}

.business-content {
	display: flex;
	justify-content: space-between;
	gap: 120px;
}

.business-left {
	color: #ffffff;
	width: 50%;
}

.business-tag {
	font-size: clamp(1.6rem, -0.126rem + 2.02vw, 2.3rem);
	font-weight: 500; /* No.83 Med XWide */
	letter-spacing: 1px;
	font-family: field-gothic-xwide, sans-serif;

	@media screen and (max-width: 768px) {
		font-size: 1.2rem;
	}
}

.business-title {
	font-size: clamp(2.8rem, -0.405rem + 3.75vw, 4.1rem);
	font-weight: 500; /* No.83 Med XWide */
	color: #F96503;
	line-height: 1.1;
	margin: 0;
	font-family: field-gothic-xwide, sans-serif;
	letter-spacing: 1px;

	@media screen and (max-width: 768px) {
		font-size: 1.7rem;
	}
}

.business-right {
	color: #ffffff;
	width: 50%;
}

.business-right p {
	font-size: clamp(0.9rem, 0.16rem + 0.87vw, 1.2rem);
	line-height: 1.6;
	margin-bottom: 24px;
	font-family: field-gothic-xwide, sans-serif;
	font-weight: 400; /* No.82 Reg XWide */
}

.business-right p:last-of-type {
	margin-bottom: 0;
}

.business-divider {
	width: 80px;
	height: 1px;
	background-color: #ffffff;
	margin: 0;
}

.business-divider.top {
	margin-bottom: 30px;
}

.business-divider.bottom {
	margin-top: 130px;
	margin-bottom: 30px;
}

.read-more-link {
	color: #ffffff;
	text-decoration: underline;
	font-size: clamp(1.5rem, 0.267rem + 1.44vw, 2rem);
	font-weight: 500; /* No.83 Med XWide */
	font-family: field-gothic-xwide, sans-serif;
	letter-spacing: 1px;
	transition: opacity 0.3s ease;
}

.read-more-link:hover {
	opacity: 0.8;
	color: #E53601;
}

/* Founder Section */
.founder-section {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #1a1a1a;
	padding: 80px 0;
	position: relative;
	height: 60vh;
	overflow: hidden;
	width: 100%;
}

.founder-container {
	width: 100%;
	padding-left: 35px;
	padding-right: 35px;
}

.founder-content {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 40px;
	position: relative;
}

.founder-image {
	display: flex;
	align-items: center;
	width: 50%;
}

.founder-photo {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 0;
}

.founder-vertical-line {
	width: 7%;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	flex-shrink: 0;
	/* height: 100%; */
}

.founder-text {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	color: #ffffff;
	width: 45%;
	flex-shrink: 0;
}

.founder-tag {
	font-size: clamp(1.6rem, -0.126rem + 2.02vw, 2.3rem);
	font-weight: 500;
	letter-spacing: 1px;
	font-family: field-gothic-xwide, sans-serif;
	margin-bottom: 20px;

	position: absolute;
	top: -60px;
}

.founder-name {
	font-size: clamp(2.5rem, -1.445rem + 4.62vw, 4.1rem);
	font-weight: 500;
	color: #ffffff;
	line-height: 1.1;
	margin: 0;
	font-family: field-gothic-xwide, sans-serif;
	letter-spacing: 1px;
	margin-bottom: 30px;

	position: absolute;
	top: -10px;
}

.founder-text p {
	font-size: clamp(0.82rem, -0.117rem + 1.1vw, 1.2rem);
	line-height: 1.6;
	color: #ffffff;
	margin: 0;

	position: absolute;
	bottom: -8px;
}

.founder-divider {
	height: 1px;
	background-color: #ffffff;
	width: 100%;
	margin: 0;
}

.founder-divider.top {
	margin-bottom: 30px;
}

.founder-divider.bottom {
	margin-top: 30px;
}

/* Responsive Design for Founder Section */

@media screen and (max-width: 768px) {
	/* Header SP Layout */
	.header-container {
		padding: 0 20px;
		height: 60px;
	}
	
	.site-header .site-logo {
		height: 25px;
	}
	
	/* Hide navigation menu on SP */
	.site-header .nav-menu {
		display: none !important;
	}
	
	/* Show hamburger button on SP */
	.menu-toggle {
		display: block;
	}
	
	/* Mobile menu overlay */
	.site-header .main-navigation.toggled .nav-menu {
		display: flex !important;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh; /* Fallback */
		height: calc(var(--vh, 1vh) * 100);
		background: linear-gradient(to right, #321B0E 30%, #000000 100%);
		flex-direction: column !important;
		justify-content: center;
		align-items: center;
		z-index: 1000;
		padding: 20px;
	}
	
	.site-header .main-navigation.toggled .nav-menu .menu-item {
		margin: 20px 0 !important;
		text-align: center;
	}
	
	.site-header .main-navigation.toggled .nav-menu .menu-item a {
		font-size: 18px !important;
		padding: 10px 0;
		position: relative;
	}
	
	.site-header .main-navigation.toggled .nav-menu .menu-item a::after {
		content: '';
		position: absolute;
		bottom: -5px;
		left: 50%;
		transform: translateX(-50%);
		width: 50%;
		height: 1px;
		background-color: #ffffff;
	}
	
	.site-header .main-navigation.toggled .nav-menu .language-switcher {
		margin-top: 30px;
	}
	
	.site-header .main-navigation.toggled .nav-menu .language-switcher a {
		font-size: 16px !important;
	}
	
	/* Hamburger button position on SP */
	.menu-toggle {
		position: relative;
		z-index: 1001;
	}
	
	/* Close button for mobile menu */
	.mobile-menu-close {
		position: absolute;
		top: 20px;
		right: 20px;
		background: none;
		border: none;
		color: #ffffff;
		font-size: 24px;
		cursor: pointer;
		z-index: 1001;
		display: none;
	}
	
	.site-header .main-navigation.toggled .mobile-menu-close {
		display: block;
	}
	
	.founder-section {
		height: auto;
		min-height: 100vh; /* Fallback */
		min-height: calc(var(--vh, 1vh) * 100);
		padding: 60px 0;
	}
	
	.founder-content {
		flex-direction: column;
		gap: 40px;
		text-align: center;
	}
	
	.founder-image,
	.founder-text {
		width: 100%;
	}
	
	.founder-image {
		max-width: 300px;
	}
	
	.founder-vertical-line {
		display: none;
	}
	
	.founder-name {
		font-size: clamp(2.5rem, 8vw, 3.5rem);
	}
	
	/* About Section SP Layout */
	.about-section {
		height: auto;
		min-height: auto;
		padding: 0px 0;
		display: flex;
		flex-direction: column;
	}
	
	.about-container {
		width: 100%;
		max-width: 100%;
		padding: 50px 20px 0;
		order: 1;
		z-index: 2;
		position: relative;
	}
	
	.about-background {
		position: relative;
		right: auto;
		bottom: auto;
		width: 100vw;
		max-width: 100vw;
		order: 2;
		margin-top: 40px;
		display: flex;
		justify-content: center;

		@media screen and (max-width: 768px) {
			margin-top: 0;
			margin-left: -20px;
			margin-right: -20px;
		}
	}
	
	.about-bg-image-pc {
		display: none;
	}
	
	.about-bg-image-sp {
		display: block;
		height: auto;
		width: 100%;
		max-width: none;
		object-fit: contain;
		object-position: center;
		animation: none;
	}
	
	.overlay-logo {
		display: none;
	}
	
	.text-divider.bottom {
		margin-top: 40px;
	}
}

/* News Section */
.news-section {
	background: linear-gradient(to right, #321B0E 30%, #000000 100%);
	padding: 80px 0;
	position: relative;
	overflow: hidden;
	width: 100%;
}

.news-container {
	margin: 0 auto;
	padding: 0 35px;
}

.news-title {
	font-size: clamp(1.6rem, -0.126rem + 2.02vw, 2.3rem);
	font-weight: 500;
	color: #ffffff;
	margin-bottom: 40px;
	letter-spacing: 1px;
}

.news-list {
	margin-bottom: 60px;
}

.news-item-link {
	text-decoration: none;
	color: inherit;
	display: block;
	transition: opacity 0.3s ease;
}

.news-item-link:visited {
	color: inherit;
}

.news-item-link:hover {
	opacity: 0.8;
}

.news-item-link:first-child {
	border-top: 1px solid #ffffff;
}

.news-item-link:not(:last-child) {
	border-bottom: 1px solid #ffffff;
}

.news-item-link:last-child {
	border-bottom: 1px solid #ffffff;
}

.news-item {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	padding: 20px 0;
}

.news-date {
	color: #E53601;
	font-size: clamp(1rem, 0.5rem + 0.8vw, 1.2rem);
	font-weight: 400;
	letter-spacing: 1px;
	flex-shrink: 0;
	min-width: 150px;
}

.news-content {
	flex: 1;
}

.news-item-title {
	color: #ffffff;
	font-size: clamp(1rem, 0.5rem + 0.8vw, 1.2rem);
	font-weight: 400;
	margin: 0 0 8px 0;
	line-height: 1.4;
	letter-spacing: 1px;
}

.news-excerpt {
	color: #cccccc;
	font-size: clamp(0.8rem, 0.1rem + 0.8vw, 1rem);
	font-weight: 400;
	margin: 0;
	line-height: 1.5;
	letter-spacing: 0.5px;
}

.news-read-more {
	text-align: right;
}

.news-read-more-link {
	color: #ffffff;
	text-decoration: none;
	font-size: clamp(1.5rem, 0.267rem + 1.44vw, 2rem);
	font-weight: 500;
	letter-spacing: 1px;
	transition: color 0.3s ease;
	border-bottom: 1px solid #ffffff;
	padding-bottom: 2px;
}

.news-read-more-link:hover {
	color: #E53601;
	border-bottom-color: #E53601;
}

.news-empty {
	text-align: center;
	padding: 60px 0;
}

.news-empty-message {
	color: #cccccc;
	font-size: clamp(1rem, 0.2rem + 0.9vw, 1.4rem);
	font-weight: 400;
	margin: 0;
	letter-spacing: 1px;
}

/* Responsive Design for News Section */
@media screen and (max-width: 768px) {
	.news-section {
		padding: 60px 0;
	}
	
	.news-item {
		flex-direction: column;
		gap: 10px;
		padding: 15px 0;
	}
	
	.news-date {
		min-width: auto;
	}
	
	.news-read-more {
		text-align: left;
	}
}

/* Contact Section */
.contact-section {
	background: linear-gradient(to right, #321B0E 30%, #000000 100%);
	padding: 50px 0;
	position: relative;
	overflow: hidden;
	width: 100%;
}

.contact-section-container {
	margin: 0 auto;
	padding: 0 35px;
}

.contact-section-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.contact-section-title {
	font-size: clamp(2.5rem, -1.445rem + 4.62vw, 4.5rem);
	font-weight: 500;
	color: #ffffff;
	line-height: 1.2;
	margin: 0;
	letter-spacing: 1px;
}

.contact-section-highlight {
	color: #E53601 !important;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}

.contact-section-highlight:hover {
	color: #ac2b03 !important;
}

.contact-section-divider {
	width: 100%;
	height: 1px;
	background-color: #ffffff;
	margin: 0;
}

.contact-section-divider.top {
	margin-bottom: 150px;
}

.contact-section-divider.bottom {
	margin-top: 150px;
}

/* Responsive Design for Contact Section */
@media screen and (max-width: 768px) {
	.contact-section {
		padding: 80px 0;
	}
	
	.contact-section-title {
		font-size: 1rem;
		line-height: 1.3;
		text-align: center;
	}
	
	.contact-section-divider {
		width: 100%px;
	}
	
	.contact-section-divider.top {
		margin-bottom: 30px;
	}
	
	.contact-section-divider.bottom {
		margin-top: 30px;
	}
}

/* Bottom Section */
.bottom-section {
	background: linear-gradient(to right, #321B0E 30%, #000000 100%);
	padding: 50px 0;
	position: relative;
	overflow: hidden;
	width: 100%;
}

.bottom-container {
	margin: 0 auto;
	padding: 0 35px;
}

.bottom-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.bottom-logo {
	margin-bottom: 40px;
	width: 100%;
	position: relative;
}

.bottom-logo-img {
	height: 60px;
	width: auto;
}

.top-button-link {
	position: absolute;
	right: 0;
	top: 0;
	height: 250%;
	display: block;
	cursor: pointer;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-button-link:hover {
	transform: translateY(-2px);
	opacity: 0.8;
}

.top-button {
	height: 100%;
	width: auto;
}

.bottom-navigation {
	width: 100%;
	padding: 80px 0;
}

.bottom-nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bottom-nav-item {
	margin: 0;
}

.bottom-nav-item a {
	color: #ffffff;
	text-decoration: none;
	font-size: clamp(1rem, -0.233rem + 1.44vw, 1.5rem);
	font-weight: 500;
	letter-spacing: 1px;
	transition: color 0.3s ease;
}

.bottom-nav-item a:hover,
.bottom-nav-item a.active {
	color: #E53601 !important;
}

.bottom-nav-item a:visited {
	color: #ffffff;
}

.bottom-nav-item a.active:visited {
	color: #E53601 !important;
}

/* Ensure active state works properly */
.bottom-nav-item a[class="active"] {
	color: #E53601 !important;
}

.language-bottom .separator {
	color: #ffffff;
	margin: 0 5px;
	font-size: clamp(1.5rem, 0.267rem + 1.44vw, 2rem);
	font-weight: 500;
}

/* Responsive Design for Bottom Section */
@media screen and (max-width: 768px) {
	.bottom-section {
		padding: 60px 0;
	}
	
	.bottom-logo {
		margin-bottom: 30px;
	}
	
	.bottom-nav-menu {
		gap: 25px;
	}
	
	.bottom-nav-item a {
		font-size: clamp(1.2rem, 5vw, 1.5rem);
	}
	
	.language-bottom .separator {
		font-size: clamp(1.2rem, 5vw, 1.5rem);
	}
	
	.bottom-logo-img {
		height: 33px;
	}
}

@media screen and (max-width: 480px) {
	.bottom-container {
		padding: 0 20px;
	}
	
	.bottom-logo {
		margin-bottom: 25px;
	}
}

/* Single Post (News Detail) Styles */
.single-post-main {
	background: linear-gradient(to bottom, #000000 0%, transparent 35%), linear-gradient(to right, #321B0E 30%, #000000 100%);
	padding: 0;
	margin: 0;
	width: 100%;
}

.single-post-article {
	color: #ffffff;
	padding: 80px 0 0;
	margin: 0;
}

.single-post-container {
	margin: 0 auto;
	padding: 0 35px;
}

.single-post-header {
	text-align: left;
}

.single-post-date {
	color: #E53601;
	font-size: clamp(1rem, 0.5rem + 0.8vw, 1.2rem);
	font-weight: 500;
	margin-bottom: 5px;
	letter-spacing: 1px;
}

.single-post-title {
	color: #ffffff;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	font-weight: 500;
	line-height: 1.3;
	margin: 0;
	letter-spacing: 0;
}

.single-post-thumbnail {
	margin: 30px 0px;
	text-align: center;
}

.single-post-featured-image {
	width: 100vw;
	max-width: 100vw;
	height: auto;
	object-fit: cover;
}

.single-post-content {
	color: #ffffff;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: clamp(1rem, 0.8rem + 0.4vw, 1.1rem);
	font-weight: 400;
	line-height: 1.8;
	margin-bottom: 60px;
	min-height: 50vh;
}

.single-post-content p {
	margin-bottom: 20px;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
	color: #ffffff;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	margin: 30px 0 15px;
	letter-spacing: 0;
}

.single-post-content h2 {
	font-size: clamp(1.5rem, 1rem + 1vw, 2rem);
}

.single-post-content h3 {
	font-size: clamp(1.3rem, 0.9rem + 0.8vw, 1.7rem);
}

.single-post-content a {
	color: #E53601;
	text-decoration: underline;
}

.single-post-content a:hover {
	color: #ffffff;
}

.single-post-back {
	text-align: center;
	padding: 50px 0;
}

.back-to-news {
	color: #ffffff;
	text-decoration: none;
	font-size: clamp(1rem, 0.8rem + 0.4vw, 1.2rem);
	font-weight: 500;
	letter-spacing: 1px;
	transition: color 0.3s ease;
}

.back-to-news:hover {
	color: #E53601;
}

.back-to-news:visited {
	color: #ffffff;
}

.back-to-news:hover:visited {
	color: #E53601;
}

/* Responsive Design for Single Post */
@media screen and (max-width: 768px) {
	.single-post-article {
		padding: 0px 0 60px;
	}
	
	.single-post-container {
		padding: 0 20px;
	}
	
	.single-post-header {
		margin-bottom: 30px;
	}
	
	.single-post-thumbnail {
		margin: 20px -20px;
	}
	
	.single-post-featured-image {
		width: 100vw;
		max-width: 100vw;
	}
	
	.single-post-content {
		margin-bottom: 40px;
	}
	
	.single-post-back {
		padding-top: 30px;
	}
}

/* Archive (News Listing) Page Styles */
.archive-main {
	background: linear-gradient(to bottom, #000000 0%, transparent 50%), linear-gradient(to right, #321B0E 30%, #000000 100%);
	padding: 0;
	margin: 0;
	width: 100%;
}

.archive-news-section {
	color: #ffffff;
	padding: 120px 0 80px;
	margin: 0;
}

.archive-news-container {
	margin: 0 auto;
	padding: 0 35px;
}

.archive-news-title {
	color: #ffffff;
	font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	font-weight: 500;
	margin: 0 0 30px;
	letter-spacing: 0;
}

.archive-news-item-link {
	color: inherit;
	text-decoration: none;
	display: block;
}


.archive-news-item-link:first-child {
	border-top: 1px solid #ffffff;
}

.archive-news-item-link:not(:last-child) {
	border-bottom: 1px solid #ffffff;
}

.archive-news-item-link:last-child {
	border-bottom: 1px solid #ffffff;
}

.archive-news-item {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 20px 0;
	transition: background-color 0.3s ease;
}

.archive-news-date {
	color: #F96503;
	font-size: clamp(1rem, 0.5rem + 0.8vw, 1.2rem);
	font-weight: 400;
	letter-spacing: 1px;
	min-width: 150px;
	flex-shrink: 0;
	margin-left: 20px;
}

.archive-news-content {
	flex: 1;
}

.archive-news-item-title {
	color: #ffffff;
	font-size: clamp(1rem, 0.5rem + 0.8vw, 1.2rem);
	font-weight: 400;
	line-height: 1.4;
	margin: 0 0 0;
	letter-spacing: 0;
}

.archive-news-item:hover .archive-news-date {
	color: #E53601 !important;
}

.archive-news-item:hover .archive-news-item-title {
	color: #E53601 !important;
}

.archive-news-item-link:hover .archive-news-date {
	color: #E53601 !important;
}

.archive-news-item-link:hover .archive-news-item-title {
	color: #E53601 !important;
}

.archive-news-excerpt {
	color: #cccccc;
	font-size: clamp(0.9rem, 0.8rem + 0.2vw, 1rem);
	font-weight: 400;
	line-height: 1.6;
	margin: 0;
}

.archive-news-item-link:visited {
	color: inherit;
}

.archive-news-item-link:visited .archive-news-item-title {
	color: #ffffff;
}

.archive-news-item-link:visited .archive-news-excerpt {
	color: #cccccc;
}

.archive-news-empty {
	text-align: center;
	padding: 80px 0;
}

.archive-news-empty-message {
	color: #ffffff;
	font-size: clamp(1.2rem, 1rem + 0.4vw, 1.4rem);
	font-weight: 400;
}

.archive-pagination {
	text-align: right;
	margin-top: 30px;
	min-height: 50px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.archive-pagination .nav-links,
.archive-pagination .page-numbers {
	display: inline-flex;
	justify-content: flex-end;
	gap: 8px;
	align-items: center;
}

.archive-pagination .nav-links a,
.archive-pagination .nav-links .current,
.archive-pagination .nav-links .dots,
.archive-pagination .page-numbers {
	color: #ffffff;
	text-decoration: none;
	padding: 6px 18px;
	font-size: clamp(0.9rem, 0.8rem + 0.2vw, 1rem);
	font-weight: 400;
	letter-spacing: 0;
	transition: all 0.3s ease;
	border-radius: 0;
	display: inline-block;
	min-width: 32px;
	text-align: center;
}

.archive-pagination .nav-links a:hover {
	color: #E53601;
}

.archive-pagination .nav-links .current,
.archive-pagination .page-numbers.current {
	background-color: transparent;
	color: #E53601;
	font-weight: 500;
}

.archive-pagination .nav-links .dots {
	background: none;
	cursor: default;
}

.archive-pagination .nav-links .prev,
.archive-pagination .nav-links .next {
	font-weight: 400;
	padding: 6px 8px;
}

/* Font Awesome icons for pagination */
.archive-pagination .nav-links .prev i,
.archive-pagination .nav-links .next i {
	font-size: clamp(0.8rem, 0.7rem + 0.2vw, 0.9rem);
}

.archive-pagination .nav-links .prev:hover i,
.archive-pagination .nav-links .next:hover i {
	color: #E53601;
}

/* ====================================
   BUSINESS PAGE STYLES
   ==================================== */

.business-main {
	background: linear-gradient(to bottom, #000000 0%, transparent 10%), linear-gradient(to right, #321B0E 30%, #000000 100%);
	color: #ffffff;
	min-height: 100vh; /* Fallback */
	min-height: calc(var(--vh, 1vh) * 100);
}

.business-hero-section {
	min-height: 100vh; /* Fallback */
	min-height: calc(var(--vh, 1vh) * 100);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 2rem;
}

.business-container {
	width: 100%;
	margin: 0 auto;
	margin-top: 5%;
}

.business-content {
	display: flex;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
}

.business-text-content {
	max-width: 55%;
}

.business-header {
	margin-bottom: 70px;

	@media screen and (max-width: 768px) {
		margin-bottom: 0;
	}
}

.business-title {
	font-size: clamp(1.5rem, -0.473rem + 2.31vw, 2.3rem);
	font-weight: 500;
	letter-spacing: 2px;
	margin: 0 0 1rem 0;
	color: #F96503;

	@media screen and (max-width: 768px) {
		font-size: 1.2rem;
	}
}

.business-subtitle {
	font-size: clamp(2.7rem, -0.505rem + 3.75vw, 4rem);
	font-weight: 500;
	letter-spacing: 1px;
	margin: 0 0 2rem 0;
	line-height: 1.2;
	color: #ffffff;

	@media screen and (max-width: 768px) {
		font-size: 1.5rem;
	}
}

.business-divider {
	width: 80px;
	height: 1px;
	background-color: #ffffff;
}

.business-description {
	font-size: clamp(1rem, 0.9rem + 0.3vw, 1.2rem);
	line-height: 1.6;
	color: #ffffff;
	font-weight: 300;
	letter-spacing: 0.5px;
}

.business-visual {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 500px;
	height: 500px;
	flex-shrink: 0;
}

.business-visual-network {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	min-width: 40%;
}

.business-visual-layer {
	grid-area: 1 / 1;
	aspect-ratio: 1 / 1;
	background-size: contain;
	background-repeat: no-repeat;
	pointer-events: none;
	opacity: 0;
	overflow: hidden;
}
.business-lines-layer {
	position: absolute;
	width: 200%;
	aspect-ratio: 1 / 1;
	z-index: 0;
	animation: linesFadeIn 1s ease-out 4.0s both, linesPulse 11s ease-in-out 5.0s infinite;
	opacity: 0.95;
	top: -6%;
	left: -54%;
}
.business-circles-layer {
	z-index: 3;
	animation: circlesFadeIn 1s ease-out 0.6s both, circlesDrift 16s ease-in-out 1.2s infinite alternate, circlesPulse 4s ease-in-out 1.2s infinite;
}

.business-visual .network-graphic {
	grid-area: 1 / 1;
	width: 500px;
	height: 500px;
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

@keyframes linesFadeIn {
	0% { opacity: 0; transform: scale(0.98); }
	100% { opacity: 0.95; transform: scale(1); }
}

@keyframes linesPulse {
	0%,100% { opacity: 0.9; }
	50% { opacity: 1; }
}

@keyframes circlesDrift {
	0% { transform: translate(0px, 0px); }
	50% { transform: translate(6px, -6px); }
	100% { transform: translate(-6px, 3px); }
}

@keyframes circlesPulse {
	0%,100% { transform: scale(1); }
	50% { transform: scale(1.04); }
}

@keyframes circlesFadeIn {
	0% { opacity: 0; transform: scale(0.96); }
	100% { opacity: 1; transform: scale(1); }
}

.network-graphic {
	width: 500px;
	height: 500px;
}

.network-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 25%;
	height: 25%;
	background: radial-gradient(circle, #FFA87D 0%, #FF8A50 50%, #FF6B23 100%);
	border-radius: 50%;
	z-index: 10;
}

.network-node {
	transform-origin: center center;
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle, #FFA87D 0%, #FF8A50 50%, #FF6B23 100%);
}

.network-node.node-1 {
	width: 8%;
	height: 8%;
	top: 18%;
	left: 20%;
}

.network-node.node-2 {
	width: 9%;
	height: 9%;
	top: 3%;
	right: 20%;
}

.network-node.node-3 {
    width: 8%;
    height: 8%;
    top: 36%;
    right: 8%;
}

.network-node.node-4 {
    width: 7%;
    height: 7%;
    bottom: 20%;
    right: 17%;
}

.network-node.node-5 {
	width: 8%;
	height: 8%;
	bottom: 9%;
	left: 47%;
}

.network-node.node-6 {
	width: 7%;
	height: 7%;
	bottom: 18%;
	left: 12%;
}

.network-node.node-7 {
	width: 7.4%;
	height: 7.4%;
	top: 43%;
	left: 5%;
	background: radial-gradient(circle, #D34225 0%, #B8280F 50%, #9D1E0A 100%);
}

.network-node.node-8 {
	width: 6%;
	height: 6%;
	top: 10%;
	left: 43%;
}

.network-connection {
	position: absolute;
	background: linear-gradient(45deg, #E53601, transparent);
	height: 1px;
	transform-origin: left center;
	z-index: 5;
}

.network-connection.connection-1 {
	top: 25%;
	left: 50%;
	width: 150px;
	transform: rotate(-45deg);
}

.network-connection.connection-2 {
	top: 30%;
	left: 50%;
	width: 180px;
	transform: rotate(15deg);
}

.network-connection.connection-3 {
	top: 50%;
	left: 50%;
	width: 200px;
	transform: rotate(0deg);
}

.network-connection.connection-4 {
	top: 50%;
	left: 50%;
	width: 170px;
	transform: rotate(45deg);
}

.network-connection.connection-5 {
	top: 50%;
	left: 50%;
	width: 190px;
	transform: rotate(135deg);
}

.network-connection.connection-6 {
	top: 50%;
	left: 50%;
	width: 160px;
	transform: rotate(180deg);
}

.network-connection.connection-7 {
	top: 50%;
	left: 50%;
	width: 140px;
	transform: rotate(-135deg);
}

.network-connection.connection-8 {
	top: 50%;
	left: 50%;
	width: 120px;
	transform: rotate(-90deg);
}

/* Business Second Section */
.business-second-section {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 2rem 7rem;
	background: linear-gradient(to right, #321B0E 30%, #000000 100%);
}

.business-section-title {
	font-size: clamp(1.5rem, -0.473rem + 2.31vw, 2.3rem);
	font-weight: 500;
	letter-spacing: 2px;
	margin: 0 0 1rem 0;
	color: #F96503;

	@media screen and (max-width: 768px) {
		font-size: 1.2rem;
	}
}

/* Simple Network Graphic for Second Section */
.network-graphic-simple {
	width: 100%;
	height: 100%;
	viewBox: 0 0 600 300;
}

.simple-network-node {
	fill: url(#gradNode);
	opacity: 0;
	/* Remove automatic animation - will be triggered by scroll */
}

.simple-network-connection {
	stroke: white;
	stroke-width: 1;
	fill: none;
	stroke-dasharray: 800;
	stroke-dashoffset: 800;
	/* Remove automatic animation - will be triggered by scroll */
}

/* Scroll-triggered animations for simple network - using dedicated classes to avoid conflicts */
.simple-network-node.svg-animate-on-scroll {
	opacity: 0;
	/* No transition - will use animation only */
}

.simple-network-node.svg-animate-on-scroll.animated {
	animation: fadeIn 0.8s ease-out forwards;
}
.simple-network-node.svg-animate-on-scroll.animated.simple-node-1 { animation-delay: 0.1s; }
.simple-network-node.svg-animate-on-scroll.animated.simple-node-2 { animation-delay: 0.3s; }
.simple-network-node.svg-animate-on-scroll.animated.simple-node-3 { animation-delay: 0.5s; }
.simple-network-node.svg-animate-on-scroll.animated.simple-node-4 { animation-delay: 0.7s; }

.simple-network-connection.svg-animate-on-scroll {
	/* Initial state already set above */
}

.simple-network-connection.svg-animate-on-scroll.animated {
	animation: lineExpand 1.8s ease-out forwards;
	animation-delay: 0.9s;
}

@keyframes lineExpand {
	0% {
	  stroke-dashoffset: 800;
	}
	100% {
	  stroke-dashoffset: 0;
	}
}

/* PC版でのbusiness-content-reversed用スタイル */
@media screen and (min-width: 769px) {
	.business-content-reversed {
		display: flex;
		flex-direction: row;
		gap: 4rem;
		text-align: left;
		align-items: center;
		justify-content: center;
	}
	
	.business-content-reversed .business-visual-network {
		order: 0;
		flex: 1;
		max-width: 50%;
	}
	
	.business-content-reversed .business-text-content {
		order: 0;
		flex: 1;
		max-width: 50%;
	}
}

/* Responsive adjustments for Business page */
@media screen and (max-width: 768px) {
	.business-content {
		flex-direction: column;
		gap: 2rem;
		text-align: left;
	}
	
	.business-content-reversed {
		flex-direction: column;
		gap: 2rem;
		text-align: left;
	}
	
	/* SP版でのみorderプロパティを適用 */
	.business-content-reversed .business-visual-network {
		order: 2;
	}
	
	.business-content-reversed .business-text-content {
		order: 1;
	}
	
	.business-text-content {
		max-width: 100%;
	}
	
	.network-graphic {
		width: 300px;
		height: 300px;
	}
	
	.network-center {
		width: 80px;
		height: 80px;
	}
	
	.network-node,
	.simple-network-node {
		transform: scale(1);
	}
	
	.network-connection,
	.simple-network-connection {
		transform: scale(1);
	}
	
	/* Business Second Section SP Layout */
	.business-second-section {
		padding-top: 4rem;
	}
}

/* Business Background Section */
.business-background-section {
	position: relative;
	height: 97vh; /* Fallback */
	min-height: 400px;
	overflow: hidden;
}

.background-images-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	height: 100%;
	width: 100%;
}

.background-image-item {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transform: translateX(-100%);
	opacity: 0;
}

/* Scroll-triggered curtain animations */
.background-images-container.animate-on-scroll.animated .bg-item-1 {
	animation: curtainSlideIn 0.8s ease-out 0.5s both;
}

.background-images-container.animate-on-scroll.animated .bg-item-2 {
	animation: curtainSlideIn 0.8s ease-out 1s both;
}

.background-images-container.animate-on-scroll.animated .bg-item-3 {
	animation: curtainSlideIn 0.8s ease-out 1.5s both;
}

.background-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 1;
}

.background-text-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.background-main-text {
	font-size: clamp(4.5rem, -0.431rem + 5.78vw, 6.5rem);
	font-weight: 500;
	letter-spacing: 1px;
	color: #ffffff;
	text-align: center;
	margin: 0;
	padding: 0 2rem;
	line-height: 1.2;
}

/* Responsive adjustments for Background section */
@media screen and (max-width: 768px) {
	.business-background-section {
		height: 50vh;
		min-height: 300px;
	}
	
	.background-images-container {
		grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: 1fr;
	}
	
	.background-main-text {
		font-size: 1.4rem;
		padding: 0 1rem;
	}
}

/* ====================================
   CONTACT PAGE STYLES
   ==================================== */

.contact-main {
	background: linear-gradient(to bottom, #000000 0%, transparent 20%), linear-gradient(to right, #321B0E 30%, #000000 100%);
	color: #333333;
	min-height: 100vh; /* Fallback */
	min-height: calc(var(--vh, 1vh) * 100);
}

.contact-hero-section {
	min-height: 100vh; /* Fallback */
	min-height: calc(var(--vh, 1vh) * 100);
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 4rem 2rem 2rem 2rem;
}

.contact-container {
	width: 100%;
	max-width: 800px;
	margin: 0;
}

.contact-content {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
}

.contact-form-wrapper {
	padding: 2rem 0 2rem 0;
	border-radius: 0;
	width: 100%;
	box-shadow: none;
}

.contact-title {
	font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
	font-weight: 500;
	letter-spacing: 2px;
	margin: 0 0 3rem 0;
	color: #ffffff;
	text-align: left;
}

/* Company Information Section */
.company-info-section {
	margin-bottom: 3rem;
	padding: 2rem 0 3.5rem 0;
	border-bottom: 1px solid #333333;
}

.company-title {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
	font-weight: 500;
	letter-spacing: 2px;
	margin: 0 0 2rem 0;
	color: #ffffff;
	text-align: left;
}

.company-details {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.company-item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.company-label {
	font-size: 0.9rem;
	font-weight: 600;
	color: #cccccc;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.company-value {
	font-size: 1.1rem;
	font-weight: 400;
	color: #ffffff;
	line-height: 1.4;
}

/* Company Animation Styles */
.company-info-section.animate-on-scroll {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.company-info-section.animate-on-scroll.animated {
	opacity: 1;
	transform: translateY(0);
}

.company-item.animate-on-scroll-left {
	opacity: 0;
	transform: translateX(-30px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.company-item.animate-on-scroll-left.animated {
	opacity: 1;
	transform: translateX(0);
}

/* Company items will be animated individually by JavaScript */

/* ====================================
   PRIVACY POLICY PAGE STYLES
   ==================================== */

.privacy-policy-main {
	background: linear-gradient(to bottom, #000000 0%, transparent 20%), linear-gradient(to right, #321B0E 30%, #000000 100%);
	color: #ffffff;
	min-height: 100vh; /* Fallback */
	min-height: calc(var(--vh, 1vh) * 100);
}

.privacy-policy-hero-section {
	min-height: 100vh; /* Fallback */
	min-height: calc(var(--vh, 1vh) * 100);
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 4rem 2rem 2rem 2rem;
}

.privacy-policy-container {
	width: 100%;
	max-width: 900px;
	margin: 0;
}

.privacy-policy-content {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
}

.privacy-policy-wrapper {
	padding: 2rem 0;
	width: 100%;
}

.privacy-policy-title {
	font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
	font-weight: 500;
	letter-spacing: 2px;
	margin: 0 0 3rem 0;
	color: #ffffff;
	text-align: left;
	font-family: field-gothic-xwide, sans-serif;

	@media screen and (max-width: 768px) {
		font-size: 1.6rem;
	}
}

.privacy-policy-text {
	color: #ffffff;
	line-height: 1.8;
}

.privacy-section {
	margin-bottom: 2.5rem;
}

.privacy-section h2 {
	font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem);
	font-weight: 500;
	margin-bottom: 1rem;
	color: #ffffff;
	font-family: field-gothic-xwide, sans-serif;
	letter-spacing: 1px;
}

.privacy-section p {
	font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.1rem);
	line-height: 1.8;
	margin-bottom: 1rem;
	color: #ffffff;
}

.privacy-section ul {
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

.privacy-section li {
	font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.1rem);
	line-height: 1.8;
	margin-bottom: 0.5rem;
	color: #ffffff;
}

.privacy-section a {
	color: #ffffff;
	text-decoration: underline;
	transition: color 0.3s ease;
}

.privacy-section a:hover {
	color: #FF6B23;
}

.last-updated {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 2rem;
	margin-top: 3rem;
}

.last-updated p {
	font-size: 0.9rem;
	opacity: 0.8;
}

.contact-form {
	width: 70%;
}

.form-group {
	margin-bottom: 2rem;
}

.form-label {
	display: block;
	font-size: 1rem;
	font-weight: 400;
	color: #ffffff;
	margin-bottom: 0.8rem;
	letter-spacing: 0.5px;
	text-align: left;
}

.form-input,
.form-textarea {
	width: 100%;
	padding: 1rem;
	border: 1px solid #cccccc;
	border-radius: 0;
	font-size: 1rem;
	font-family: inherit;
	background-color: #ffffff;
	color: #333333;
	box-sizing: border-box;
	min-height: 50px;
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: #666666;
}

.form-textarea {
	resize: vertical;
	min-height: 150px;
}

.checkbox-group {
	margin: 2.5rem 0;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	cursor: pointer;
	font-size: 0.9rem;
	color: #ffffff;
	line-height: 1.4;
}

.form-checkbox {
	margin-right: 0.5rem;
	margin-top: 0.2rem;
	flex-shrink: 0;
}

.checkbox-text {
	color: #ffffff;
	text-decoration: underline;
}

.form-submit {
	background-color: #ffffff;
	color: #000000;
	border: none;
	padding: 1.2rem 8rem;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 1px;
	cursor: pointer;
	border-radius: 25px;
	transition: background-color 0.3s ease;
	font-family: inherit;
	margin-top: 1rem;
}

.form-submit:hover {
	background-color: #E53601;
	color: #ffffff;
}

/* Contact Form 7 Styles */
.wpcf7 {
	width: 70%;
}

.wpcf7 form {
	width: 100%;
}

.wpcf7-form p {
	color: #ffffff;
}

.wpcf7-list-item {
	margin: 0;
}

/* Contact Form 7 Labels */
.wpcf7 label {
	display: block;
	font-size: 1rem;
	font-weight: 400;
	color: #ffffff;
	margin-bottom: 0.8rem;
	letter-spacing: 0.5px;
	text-align: left;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	width: 100%;
	padding: 1rem;
	border: 1px solid #cccccc;
	border-radius: 0;
	font-size: 1rem;
	font-family: inherit;
	background-color: #ffffff;
	color: #333333;
	box-sizing: border-box;
	min-height: 50px;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: #666666;
}

.wpcf7 textarea {
	resize: vertical;
	min-height: 150px;
}

.wpcf7 .wpcf7-acceptance label {
	cursor: pointer;
	font-size: 1rem;
	color: #ffffff;
	line-height: 1.4;
	text-align: left;
	margin: 0;
	display: inline;
	order: 1;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
	color: #ffffff;
	font-size: 1rem;
	line-height: 1.4;
	cursor: pointer;
	order: 1;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label a {
	color: #ffffff;
	text-decoration: underline;
	transition: color 0.3s ease;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label a:hover {
	color: #FF6B23;
}

.wpcf7 input[type="submit"] {
	background-color: #ffffff;
	color: #000000;
	border: none;
	padding: 1.2rem 8rem;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 1px;
	cursor: pointer;
	border-radius: 25px;
	transition: background-color 0.3s ease;
	font-family: inherit;
	margin-top: 1rem;
}

.wpcf7 input[type="submit"]:hover {
	background-color: #E53601;
	color: #ffffff;
}

.wpcf7 a:hover {
	color: #FF6B23;
}

/* Contact Form 7 Messages */
.wpcf7-response-output {
	padding: 1rem 1.5rem;
	margin-bottom: 2rem;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 500;
	border: none;
	color: #ffffff;
}

.wpcf7-mail-sent-ok {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.wpcf7-spam-blocked {
	background-color: #fff3cd;
	color: #856404;
	border: 1px solid #ffeaa7;
}

/* CF7 Notice Styles */
.cf7-notice {
	background-color: #fff3cd;
	color: #856404;
	padding: 2rem;
	border-radius: 4px;
	border: 1px solid #ffeaa7;
}

.cf7-config pre {
	background-color: #f8f9fa;
	color: #333;
	padding: 1rem;
	border-radius: 4px;
	font-size: 0.9rem;
	margin: 1rem 0;
}

/* Responsive adjustments for Contact page */
@media screen and (max-width: 768px) {
	.contact-hero-section {
		padding: 2rem 1rem 1rem 1rem;
		min-height: 100vh; /* Fallback */
		min-height: calc(var(--vh, 1vh) * 100);
		align-items: flex-start;
	}
	
	.contact-container {
		max-width: 100%;
	}
	
	.contact-form-wrapper {
		padding: 1rem 0;
	}
	
	.contact-form {
		width: 100%;
	}
	
	.wpcf7 {
		width: 100%;
	}
	
	.wpcf7 input[type="submit"] {
		width: 100%;
		padding: 1.2rem 2rem;
	}
	
	.contact-title {
		text-align: left;
		margin-bottom: 2rem;
		font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.5rem);
	}
	
	/* Company Section Mobile Styles */
	.company-info-section {
		margin-bottom: 2rem;
		padding: 1.5rem 0;
	}
	
	.company-title {
		font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem);
		margin-bottom: 1.5rem;
	}
	
	.company-details {
		gap: 1.2rem;
	}
	
	.company-item {
		gap: 0.3rem;
	}
	
	.company-label {
		font-size: 0.8rem;
	}
	
	.company-value {
		font-size: 1rem;
	}
	
	.form-group {
		margin-bottom: 1.5rem;
	}
	
	.form-submit {
		width: 100%;
		padding: 1.2rem 2rem;
		margin-top: 0.5rem;
	}
}

/* ====================================
   TEXT ANIMATIONS
   ==================================== */

/* Keyframes for animations */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Subtle floating for about background image */
@keyframes slowFloat {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(-12px);
	}
}

@keyframes typing {
	from {
		width: 0;
	}
}

@keyframes effect {
	50% {
		border-color: transparent;
	}
}

@keyframes effect-delayed {
	0%, 49% {
		border-color: transparent;
	}
	50% {
		border-color: transparent;
	}
	51%, 100% {
		border-color: #ffffff;
	}
}

@keyframes effect-typing-only {
	0% {
		border-color: transparent;
	}
	50% {
		border-color: #ffffff;
	}
	100% {
		border-color: transparent;
	}
}

@keyframes breathe {
	0%, 100% { transform: translate(-50%, -50%) scale(1); }
	50% { transform: translate(-50%, -50%) scale(1.05); }
}

/* Page Title Animations */
.hero-title {
	text-align: left;
	display: flex;
	flex-direction: column;
}

.hero-line1 {
	width: 12ch;
	animation: typing 2s steps(12) 1s both, effect-typing-only 0.5s step-end 4 1s both;
	white-space: nowrap;
	overflow: hidden;
	border-right: 3px solid #ffffff;
	display: block;

	@media screen and (max-width: 768px) {
		width: 16ch;
		animation: typing 2s steps(16) 1s both, effect-typing-only 0.5s step-end 4 1s both;

	}
}

.hero-line2 {
	width: 13ch;
	animation: typing 1.5s steps(13) 3s both, effect-typing-only 0.5s step-end 3 3s both;
	white-space: nowrap;
	overflow: hidden;
	border-right: 3px solid transparent;
	display: block;
}

.contact-title,
.business-title,
.business-subtitle,
.archive-news-title {
	animation: fadeIn 1.2s ease-out;
}

/* Scroll Animation Base Classes */
.animate-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-on-scroll.animated {
	opacity: 1;
	transform: translateY(0);
}

.animate-on-scroll-left {
	opacity: 0 !important;
	transform: translateX(-30px) !important;
	transition: opacity 1s ease-out, transform 1s ease-out !important;
}

.animate-on-scroll-left.animated {
	opacity: 1 !important;
	transform: translateX(0) !important;
}

/* Main Content Animations */
.hero-overlay {
	animation: slideUp 1s ease-out 0.3s both;
}

.business-text-content,
.business-description,
.news-section,
.contact-form-wrapper {
	animation: slideUp 1s ease-out 0.3s both;
}

/* Navigation Animations */
.nav-menu .menu-item {
	animation: slideInLeft 0.8s ease-out both;
}

.nav-menu .menu-item:nth-child(1) { animation-delay: 0.1s; }
.nav-menu .menu-item:nth-child(2) { animation-delay: 0.2s; }
.nav-menu .menu-item:nth-child(3) { animation-delay: 0.3s; }
.nav-menu .menu-item:nth-child(4) { animation-delay: 0.4s; }

/* Form Elements Animations */
.form-group,
.wpcf7-form p {
	animation: slideUp 0.8s ease-out both;
}

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

/* News Items Animations */
.news-item,
.archive-news-item {
	animation: slideUp 0.6s ease-out both;
}

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }

.archive-news-item-link:nth-child(1) { animation-delay: 0.1s; }
.archive-news-item-link:nth-child(2) { animation-delay: 0.2s; }
.archive-news-item-link:nth-child(3) { animation-delay: 0.3s; }
.archive-news-item-link:nth-child(4) { animation-delay: 0.4s; }
.archive-news-item-link:nth-child(5) { animation-delay: 0.5s; }

.network-center {
	animation: fadeIn 0.8s ease-out 1.0s both, breathe 3.4s ease-in-out 0s infinite;
}

.network-node {
	animation-name: fadeIn, breathe;
	animation-timing-function: ease-out, ease-in-out;
	animation-iteration-count: 1, infinite;
	animation-fill-mode: both, none;
}

.network-node.node-8 { animation-duration: 0.8s, 3.8s; animation-delay: 1.7s, 0.2s; }
.network-node.node-2 { animation-duration: 0.8s, 4.1s; animation-delay: 2.4s, 0.4s; }
.network-node.node-3 { animation-duration: 0.8s, 3.2s; animation-delay: 2.6s, 0.6s; }
.network-node.node-4 { animation-duration: 0.8s, 4.6s; animation-delay: 2.8s, 0.8s; }
.network-node.node-5 { animation-duration: 0.8s, 2.9s; animation-delay: 3.0s, 1.0s; }
.network-node.node-6 { animation-duration: 0.8s, 4.4s; animation-delay: 3.2s, 1.2s; }
.network-node.node-7 { animation-duration: 0.8s, 3.7s; animation-delay: 3.4s, 1.4s; }
.network-node.node-1 { animation-duration: 0.8s, 4.2s; animation-delay: 3.6s, 1.6s; }

/* Hover Animations */
.menu-item a,
.news-read-more-link,
.back-to-news,
.form-submit,
.wpcf7 input[type="submit"],
.bottom-nav-item a {
	transition: all 0.3s ease;
}

.menu-item a:hover {
	transform: translateY(-2px);
}

.news-read-more-link:hover,
.back-to-news:hover {
	transform: translateX(5px);
}

.form-submit:hover,
.wpcf7 input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(229, 54, 1, 0.3);
}

/* Background Text Animation - Typewriter Effect */
.background-main-text {
	text-align: left;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Footer Animation */
.site-footer,
.bottom-section {
	animation: slideUp 1s ease-out 0.5s both;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Ensure pagination is always visible */
.archive-pagination:empty::after {
	content: "1";
	color: #E53601;
	padding: 6px 12px;
	font-size: clamp(0.9rem, 0.8rem + 0.2vw, 1rem);
	font-weight: 500;
	min-width: 32px;
	text-align: center;
	display: inline-block;
}

/* Responsive Design for Archive Page */
@media screen and (max-width: 768px) {
	.archive-news-section {
		padding: 0;
	}
	
	.archive-news-container {
		padding: 0 20px;
	}
	
	.archive-news-title {
		margin-bottom: 20px;
	}
	
	.archive-news-item {
		gap: 5px;
        padding: 18px 0;
	}
	
	.archive-news-date {
		min-width: 120px;
	}
	
	.archive-pagination .nav-links {
		flex-wrap: wrap;
		gap: 8px;
	}
	
	.archive-pagination .nav-links a,
	.archive-pagination .nav-links .current,
	.archive-pagination .nav-links .dots {
		padding: 6px 12px;
		font-size: 0.9rem;
	}
}

/* Responsive Design for Business Section */
@media screen and (max-width: 1400px) and (min-width: 769px) {
	.business-content {
		gap: 60px;
	}
}

@media screen and (max-width: 768px) {
	.business-section {
		height: auto;
		min-height: 100vh; /* Fallback */
		min-height: calc(var(--vh, 1vh) * 100);
		padding: 60px 0;
	}
	
	.business-content {
		flex-direction: column;
		gap: 0px;
		text-align: left;
	}
	
	.business-left,
	.business-right {
		width: 100%;
	}
	
	.business-right p {
		font-size: 14px;
	}
	
	.business-divider {
		width: 60px;
		margin: 20px 0;
	}
	
	.business-divider.top {
		margin-bottom: 20px;
	}
	
	.business-divider.bottom {
		margin-top: 30px;
		margin-bottom: 30px;
	}
}

/* Footer */
.site-footer {
	background: linear-gradient(to right, #321B0E 30%, #000000 100%);
	padding: 10px 0;
	width: 100%;
}

.footer-content {
	text-align: center;
}

.footer-content p {
	color: #ffffff;
	font-size: 14px;
	font-family: field-gothic-xwide, sans-serif;
	font-weight: 300;
	margin: 0;
	letter-spacing: 1px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
	.header-container {
		padding: 0 15px;
		height: 60px;
	}
	
	.site-logo {
		height: 30px;
	}
	
	.nav-menu {
		display: none;
		position: absolute;
		top: 60px;
		left: 0;
		right: 0;
		background: linear-gradient(to right, #321B0E 30%, #000000 100%);
		flex-direction: column;
		padding: 20px;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	}
	
	.nav-menu.active {
		display: flex;
	}
	
	.menu-item {
		margin: 10px 0;
		text-align: center;
	}
	
	.menu-toggle {
		display: block;
	}
	
	body {
		padding-top: 60px;
	}
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
	max-width: 100vw;
	background: linear-gradient(to right, #321B0E 30%, #000000 100%);
	scrollbar-gutter: stable;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	overflow-x: hidden;
	max-width: 100vw;
	background: linear-gradient(to right, #321B0E 30%, #000000 100%);
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	background: linear-gradient(to right, #321B0E 30%, #000000 100%);
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #ffffff;
	font-family: field-gothic-xwide, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400; /* No.82 Reg XWide */
/* 	background: linear-gradient(to right, #321B0E 30%, #000000 100%); */
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #000000;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #ffffff;
}

a:visited {
	color: #ffffff;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	/* margin: 0 0 1.5em; */
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Rotating Logo Component */
.rotating-logo-fixed {
	position: fixed;
    bottom: 2%;
    right: 2%;
    z-index: 1000;
    width: 12%;
    height: 22%;
    pointer-events: none;
    opacity: 0;
    animation: fadeInRotatingLogo 2s ease-out 0.8s both;
}

.rotating-logo-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.rotating-text-svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	animation: rotateClockwise 20s linear infinite;
}

.circle-path {
	fill: none;
}

.rotating-text {
	fill: #ffffff;
	font-size: 7px;
	font-weight: 500;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.rotating-logo-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60%;
	height: 60%;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rotating-logo-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

@keyframes rotateClockwise {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@keyframes fadeInRotatingLogo {
	from { 
		opacity: 0; 
		transform: scale(0.9);
	}
	to { 
		opacity: 1; 
		transform: scale(1);
	}
}

@keyframes curtainSlideIn {
	from {
		transform: translateX(-30%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

/* Responsive Design */
@media screen and (max-width: 768px) {
	.rotating-logo-fixed {
		width: 100px;
		height: 100px;
		bottom: 20px;
		right: 20px;
	}
	
	.rotating-char {
		font-size: 7px;
		transform-origin: 40px 40px;
	}
	
	.rotating-char:nth-child(1) { transform: rotate(0deg) translateY(-35px); }
	.rotating-char:nth-child(2) { transform: rotate(10.3deg) translateY(-35px); }
	.rotating-char:nth-child(3) { transform: rotate(20.6deg) translateY(-35px); }
	.rotating-char:nth-child(4) { transform: rotate(30.9deg) translateY(-35px); }
	.rotating-char:nth-child(5) { transform: rotate(41.2deg) translateY(-35px); }
	.rotating-char:nth-child(6) { transform: rotate(51.5deg) translateY(-35px); }
	.rotating-char:nth-child(7) { transform: rotate(61.8deg) translateY(-35px); }
	.rotating-char:nth-child(8) { transform: rotate(72.1deg) translateY(-35px); }
	.rotating-char:nth-child(9) { transform: rotate(82.4deg) translateY(-35px); }
	.rotating-char:nth-child(10) { transform: rotate(92.7deg) translateY(-35px); }
	.rotating-char:nth-child(11) { transform: rotate(103deg) translateY(-35px); }
	.rotating-char:nth-child(12) { transform: rotate(113.3deg) translateY(-35px); }
	.rotating-char:nth-child(13) { transform: rotate(123.6deg) translateY(-35px); }
	.rotating-char:nth-child(14) { transform: rotate(133.9deg) translateY(-35px); }
	.rotating-char:nth-child(15) { transform: rotate(144.2deg) translateY(-35px); }
	.rotating-char:nth-child(16) { transform: rotate(154.5deg) translateY(-35px); }
	.rotating-char:nth-child(17) { transform: rotate(164.8deg) translateY(-35px); }
	.rotating-char:nth-child(18) { transform: rotate(175.1deg) translateY(-35px); }
	.rotating-char:nth-child(19) { transform: rotate(185.4deg) translateY(-35px); }
	.rotating-char:nth-child(20) { transform: rotate(195.7deg) translateY(-35px); }
	.rotating-char:nth-child(21) { transform: rotate(206deg) translateY(-35px); }
	.rotating-char:nth-child(22) { transform: rotate(216.3deg) translateY(-35px); }
	.rotating-char:nth-child(23) { transform: rotate(226.6deg) translateY(-35px); }
	.rotating-char:nth-child(24) { transform: rotate(236.9deg) translateY(-35px); }
	.rotating-char:nth-child(25) { transform: rotate(247.2deg) translateY(-35px); }
	.rotating-char:nth-child(26) { transform: rotate(257.5deg) translateY(-35px); }
	.rotating-char:nth-child(27) { transform: rotate(267.8deg) translateY(-35px); }
	.rotating-char:nth-child(28) { transform: rotate(278.1deg) translateY(-35px); }
	.rotating-char:nth-child(29) { transform: rotate(288.4deg) translateY(-35px); }
	.rotating-char:nth-child(30) { transform: rotate(298.7deg) translateY(-35px); }
	.rotating-char:nth-child(31) { transform: rotate(309deg) translateY(-35px); }
	.rotating-char:nth-child(32) { transform: rotate(319.3deg) translateY(-35px); }
	.rotating-char:nth-child(33) { transform: rotate(329.6deg) translateY(-35px); }
	.rotating-char:nth-child(34) { transform: rotate(339.9deg) translateY(-35px); }
	.rotating-char:nth-child(35) { transform: rotate(350.2deg) translateY(-35px); }
	
	.rotating-logo-center {
		width: 28px;
		height: 28px;
	}
	
	.rotating-logo-image {
		width: 16px;
		height: 16px;
	}
}
