body {
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, "Noto Sans CJK JP", "Source Han Sans JP", sans-serif;
	line-height: 1.7;
}

.hero-bg {
	position: relative;
	overflow: hidden;
	min-height: auto;
	height: auto;
}

@media (min-width: 768px) {
	.hero-bg {
		min-height: auto;
		height: 56.25vw; /* 16:9の比率でビューポート幅に基づく高さ */
	}
}

.hero-bg::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

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

@media (min-width: 768px) {
	.hero-content {
		margin-bottom: 150px;
	}
}

.gradient-text {
	background: #8ef6fa;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.card-hover {
	transition: all 0.3s ease;
}

.card-hover:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card {
	background: #bef264;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.25rem 0.9375rem;
	transition: all 0.3s ease;
	font-weight: 700;
}

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

.section-divider {
	background: linear-gradient(90deg, transparent, #ee7800, transparent);
	height: 2px;
	margin: 3rem 0;
}

.btn-primary {
	background: #FF5350;
	color: white;
	padding: 1rem 2rem;
	border-radius: 50px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 15px 30px rgba(255, 83, 80, 0.3);
	color: white;
}

.number-highlight {
	font-size: 3rem;
	font-weight: 700;
	color: #ee7800;
	display: block;
	line-height: 1;
}

.faq-item {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin-bottom: 1rem;
	overflow: hidden;
	transition: all 0.3s ease;
}

.faq-item:hover {
	border-color: #ee7800;
	box-shadow: 0 8px 25px rgba(238, 120, 0, 0.1);
}

.floating-element {
	animation: float 6s ease-in-out infinite;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
}

.pulse-animation {
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.8;
	}
}

.badge {
	background: linear-gradient(135deg, #fee7d3, #fed7aa);
	color: #ea580c;
	padding: 0.5rem 1rem;
	border-radius: 25px;
	font-size: 0.9rem;
	font-weight: 600;
	display: inline-block;
}

.process-step {
	position: relative;
	padding: 1.25rem 0.9375rem;
	background: #bef264;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	margin-bottom: 1rem;
	font-weight: 700;
}

.process-step p {
	font-weight: 700;
}

.process-step::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	right: -1px;
	bottom: -1px;
	background: #bef264;
	border-radius: 12px;
	z-index: -1;
}

.stats-card {
	background: #bef264;
	color: #1f2937;
	padding: 1.25rem 0.9375rem;
	border-radius: 16px;
	text-align: center;
	position: relative;
	overflow: hidden;
	font-weight: 700;
}

.stats-card p {
	font-weight: 700;
}

.stats-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	opacity: 0.1;
}

/* リンク要素のカーソルをポインターに変更 */
a {
	cursor: pointer;
}

/* ハンバーガーメニューが開いているときのナビゲーション背景 */
.nav-menu-open {
	background: white !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
} 

.text-red-origin{
	color: #FF5350;
}

.hero-bottom-banner {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 2rem 0;
	z-index: 20;
}

@media (max-width: 767px) {
	.hero-bottom-banner {
		padding: 1rem 0;
	}
}

.hero-bottom-banner .container {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* SP表示時の黄緑ボックス内テキストを左揃えに */
@media (max-width: 767px) {
	.feature-card p,
.stats-card p,
.process-step p {
	text-align: left !important;
	font-weight: 700 !important;
}
}

/* Hero Slide Images with Fade and Zoom Effect */
.hero-slide-image {
	transition: opacity 3s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	animation: zoomUp 10s ease-out 0s normal both;
	object-position: center top;
}

.hero-slide-image.fade-out {
	opacity: 0;
	transform: scale(1.18) translateY(0px);
	animation-play-state: paused;
}

.hero-slide-image.fade-in {
	opacity: 1;
	transform: scale(1.0) translateY(0px);
	animation: zoomUp 10s ease-out 0s normal both;
}

/* Zoom animation keyframes */
@keyframes zoomUp {
	0% {
		transform: scale(1.0) translateY(0px);
	}
	100% {
		transform: scale(1.12) translateY(0px);
	}
}

/* Mobile specific fade and zoom effects */
@media (max-width: 767px) {
	.hero-slide-image {
		animation: zoomUpMobile 10s ease-out 0s normal both;
	}
	
	.hero-slide-image.fade-out {
		transform: scale(1.06);
		animation-play-state: paused;
	}
	
	.hero-slide-image.fade-in {
		transform: scale(1.0);
		animation: zoomUpMobile 10s ease-out 0s normal both;
	}
	
	@keyframes zoomUpMobile {
		0% {
			transform: scale(1.0);
		}
		100% {
			transform: scale(1.06);
		}
	}
}

/* Hero Slider Controls */
.hero-slider-prev,
.hero-slider-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.8);
	border: none;
	border-radius: 50%;
	color: #374151;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
	background: rgba(255, 255, 255, 1);
	color: #ea580c;
}

.hero-slider-prev {
	left: 1rem;
}

.hero-slider-next {
	right: 1rem;
}

/* Slider Indicators */
.hero-slider-dot {
	background: rgba(255, 255, 255, 0.6);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.hero-slider-dot:hover {
	background: rgba(255, 255, 255, 1);
}

.hero-slider-dot.active {
	background: rgba(255, 255, 255, 1);
	transform: scale(1.2);
}

/* Service Flow Chart Styles */
.flow-step {
	background: #bef264;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	position: relative;
	width: 200px;
	height: 200px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	flex-shrink: 0;
	margin-top: 30px;
}

.flow-step:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.flow-number {
	width: 60px;
	height: 60px;
	background: #374151;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 20px;
	position: absolute;
	top: -30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
}

.flow-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.flow-title {
	font-size: 18px;
	font-weight: bold;
	color: #1f2937;
	margin: 0 0 8px 0;
	line-height: 1.4;
}

.flow-subtitle {
	font-size: 14px;
	color: #6b7280;
	margin: 2px 0;
	line-height: 1.3;
}

.flow-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 230px;
	flex-shrink: 0;
	margin-top: 30px;
}

.arrow-right {
	width: 0;
	height: 0;
	border-left: 15px solid #f97316;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
	.flow-step {
		width: 150px;
		height: 150px;
		padding: 16px;
		margin-top: 25px;
	}
	
	.flow-number {
		width: 50px;
		height: 50px;
		font-size: 18px;
		top: -25px;
	}
	
	.flow-title {
		font-size: 16px;
	}
	
	.flow-subtitle {
		font-size: 12px;
	}
	
	.flow-arrow {
		width: 20px;
		height: 175px;
		margin-top: 25px;
	}
	
	.arrow-right {
		border-left: 12px solid #f97316;
		border-top: 8px solid transparent;
		border-bottom: 8px solid transparent;
	}
}

/* Mobile-specific flow styles */
.flow-step-mobile {
	background: #bef264;
	border-radius: 12px;
	padding: 16px;
	text-align: center;
	position: relative;
	height: 120px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-top: 20px;
}

.flow-step-mobile:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.flow-number-mobile {
	width: 40px;
	height: 40px;
	background: #374151;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 14px;
	position: absolute;
	top: -25px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
}

.flow-content-mobile {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.flow-title-mobile {
	font-size: 14px;
	font-weight: bold;
	color: #1f2937;
	margin: 0 0 4px 0;
	line-height: 1.4;
}

.flow-subtitle-mobile {
	font-size: 10px;
	color: #6b7280;
	margin: 1px 0;
	line-height: 1.3;
}

/* SP表示のみの調整 */
@media (max-width: 767px) {
	/* すべてのボタンサイズと文字サイズの調整 */
	a[href*="aixr.hacosco.com"],
	a[href*="youtube.com"] {
		width: 90% !important;
		padding: 12px 24px !important;
		font-size: 18px !important;
		margin: 0 auto !important;
	}
	
	/* ボタン下の余白を調整 */
	.sp-content .flex.flex-col.gap-4.justify-center {
		margin-bottom: 16px !important;
	}
	
	.sp-content .container.mx-auto.px-4.py-8 {
		padding-bottom: 16px !important;
	}
	
	/* セクションの余白を調整 */
	section.py-20 {
		padding-top: 40px !important;
		padding-bottom: 40px !important;
	}
	
	/* CTAボタンのテキスト改行調整 */
	.cta-buttons a {
		white-space: pre-line !important;
	}
	
	/* ボタンから「想いを〜」の間隔を詰める */
	.main-headline-section {
		margin-bottom: 32px !important;
	}
	
	.main-headline-section h1 {
		margin-bottom: 24px !important;
		font-size: 26px !important;
	}
	
	.main-headline-section .description-container {
		margin-bottom: 32px !important;
		text-align: left !important;
	}
	
	/* 次のボタンをMV下と同様に調整 */
	.cta-buttons a {
		padding: 12px 24px !important;
		font-size: 18px !important;
	}
	
	/* 見出しサイズを22pxに調整 */
	h2, h3 {
		font-size: 22px !important;
	}
	
	/* 見出しの下マージンを2remに調整 */
	h2, h3 {
		margin-bottom: 2rem !important;
	}
	
	/* 「アニメ・ファクトリー」パネル内の調整 */
	.feature-card h3 {
		font-size: 18px !important;
	}
	
	.feature-grid {
		gap: 16px !important;
	}
	
	/* STANDARD/PREMIUM帯のpadding調整 */
	.px-4.py-2 {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
	}
	
	/* STANDARD/PREMIUM帯内のh3の下マージン調整 */
	.px-4.py-2 h3 {
		margin-bottom: 0 !important;
	}
	
	/* FAQ文字サイズ調整 */
	.faq-item h3 {
		font-size: 16px !important;
	}
	
	.faq-item p {
		font-size: 16px !important;
	}
	
	/* 「想いを話すだけ」セクションのボタン内テキストを垂直中央揃え */
	.cta-buttons a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		min-height: 60px !important;
	}
}

