/* Base & Reset */
:root {
	--primary: #1a73e8;
	--primary-dark: #1557b0;
	--accent: #ff4081;
	--accent-cta: #ff9800;
	--accent-cta-hover: #f57c00;
	--text-dark: #000000;
	--text-light: #555555;
	--bg-main: #f8faff;
	--white: #ffffff;
	--gradient: linear-gradient(
		135deg,
		rgba(26, 115, 232, 0.85) 0%,
		rgba(108, 156, 248, 0.85) 100%
	);
	--shadow-soft: 0 10px 30px rgba(26, 115, 232, 0.1);
	--shadow-hover: 0 20px 40px rgba(26, 115, 232, 0.2);
	--radius: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	overflow-x: hidden;
	width: 100%;
	position: relative;
}

body {
	font-family:
	"Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
	Meiryo, sans-serif;
	font-size: 17px;
	color: var(--text-dark);
	background-color: var(--bg-main);
	line-height: 1.8;
	line-break: strict;
	overflow-wrap: break-word;
}

.ib {display: inline-block;}

/* スマホ表示時のみ改行させるためのクラス */
.sp-only {display: none;}

/* Scroll Animations */
.animate {
	opacity: 0;
	transform: translateY(30px);
	transition:
	opacity 0.8s ease,
	transform 0.8s ease;
}
.animate.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.delay-1 {transition-delay: 0.2s;}
.delay-2 {transition-delay: 0.4s;}
.delay-3 {transition-delay: 0.6s;}

/* ヘッダー */
header {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	padding: 1rem 5%;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header-logo {
	height: 40px;
	width: auto;
	display: block;
}

/* Hero Section (FV) */
.hero {
	background-image: var(--gradient), url("images/aibootop2.png");
	background-position: center, center;
	background-repeat: no-repeat, no-repeat;
	background-size: cover, auto, 2000px;
	color: var(--white);
	padding: 11rem 5% 7rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.hero::after {
	content: "";
	position: absolute;
	bottom: -50px;
	left: 0;
	width: 100%;
	height: 100px;
	background: var(--white);
	transform: skewY(-2deg);
}
.hero h1 {
	display: inline-block;
	position: relative;
	font-size: 3.8rem;
	font-weight: 900;
	margin-bottom: 1.5rem;
	line-height: 1.2;
	text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.hero p {
	font-size: 1.25rem;
	line-height: 2;
	max-width: 800px;
	margin: 0 auto 2.5rem;
	color: #ffffff;
	font-weight: 500;
}
.text-highlight {
	color: #ffeb3b;
	font-weight: bold;
}

/* ボタン共通 */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1.2rem 3rem;
	border-radius: 50px;
	font-size: 1.1rem;
	font-weight: bold;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.btn:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}
.btn::after {
	content: " ＞";
	font-family: monospace;
	margin-left: 10px;
	font-size: 1.2rem;
	transition: transform 0.3s ease;
}
.btn:hover::after {transform: translateX(5px);}

/* CTAボタン */
.btn-cta {
	background: var(--accent-cta);
	color: var(--white);
	box-shadow: 0 10px 20px rgba(255, 152, 0, 0.3);
}
.btn-cta:hover {
	background: var(--accent-cta-hover);
	color: var(--white);
}
.btn-white {
	background: var(--white);
	color: var(--primary);
}

/* セクションレイアウト */
.section {
	padding: 6rem 5%;
	width: 100%;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
}

.bg-white {background-color: #ffffff;}
.bg-blue {background-color: #e4f1ff;}
.bg-gray {background-color: #eaeff2;}

.title-wrapper {
	text-align: center;
	width: 100%;
	margin-bottom: 4rem;
	position: relative;
}

.section-title {
	display: inline-block;
	position: relative;
	text-align: left;
	font-size: 2.2rem;
	color: var(--text-dark);
	border-left: 8px solid var(--primary-dark);
	padding-left: 1.5rem;
	line-height: 1.4;
}

/* キャラクターと吹き出し（PC用基準） */
.title-icon-wrapper {
	position: absolute;
	bottom: -80px;
	right: -140px;
	z-index: 10;
	pointer-events: none;
}
.title-icon {
	width: 110px;
	filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
}
.speech-bubble {
	position: absolute;
	bottom: 145px;
	right: -10px;
	background: var(--white);
	color: var(--primary-dark);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: bold;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	white-space: nowrap;
	border: 2px solid var(--primary);
}
.speech-bubble::after {
	content: "";
	position: absolute;
	bottom: -8px;
	right: 40px;
	border-width: 8px 8px 0;
	border-style: solid;
	border-color: var(--primary) transparent transparent transparent;
}

/* 助成金セクション専用のアイコン調整 */
.subsidy-icon-wrapper {
	bottom: -30px;
	right: -20px;
	z-index: 10;
}

/* Pain Points Section */
.pain-points {
	background: var(--white);
	border-radius: var(--radius);
	padding: 4rem 3rem;
	margin-bottom: 3rem;
	box-shadow: var(--shadow-soft);
}
.pain-points h3 {
	text-align: center;
	color: var(--primary-dark);
	font-size: 1.8rem;
	margin-bottom: 2rem;
}
.pain-list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}
.pain-list li {
	background: var(--bg-main);
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	position: relative;
	padding-left: 3.5rem;
	font-weight: bold;
}
.pain-list li::before {
	content: "✓";
	position: absolute;
	left: 1.2rem;
	color: var(--primary);
	font-size: 1.5rem;
}
.pain-stat {
	text-align: center;
	margin-top: 2rem;
	font-size: 1.1rem;
	color: var(--text-light);
}

/* 実績データ */
.stats-container {
	margin: 0 auto 3rem;
	max-width: 1000px;
}
.stats-title {
	text-align: center;
	font-size: 1.4rem;
	color: var(--text-dark);
	font-weight: bold;
	margin-bottom: 1.5rem;
}
.stats-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 3rem 2rem;
	box-shadow: var(--shadow-soft);
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.stats-item {
	flex: 1;
	text-align: center;
	position: relative;
}
.stats-item:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 0;
	top: 10%;
	height: 80%;
	width: 1px;
	border-right: 2px dotted #d1d9e6;
}
.stat-label {
	font-size: 1.1rem;
	font-weight: bold;
	color: var(--text-dark);
	margin-bottom: 1rem;
}
.stat-numbers {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 900;
}
.stat-old {
	font-size: 1.5rem;
	color: #5f6368;
	letter-spacing: 0;
}
.stat-arrow {
	position: relative;
	font-size: 2rem;
	color: #0091ff;
	transform: translateY(-2px);
	display: inline-block;
}
.stat-new {
	font-size: 5rem;
	color: #0091ff;
	line-height: 1;
	letter-spacing: -2px;
}
.stat-unit {
	font-size: 2rem;
	color: #0091ff;
	margin-left: 0.2rem;
	letter-spacing: 0;
}
.stat-sub {
	font-size: 0.95rem;
	color: var(--text-light);
	margin-top: 0.8rem;
	font-weight: bold;
}

/* Persona Section */
.persona-box {
	display: flex;
	align-items: center;
	background: var(--white);
	border-left: 8px solid var(--primary);
	border-radius: var(--radius);
	padding: 3rem;
	box-shadow: var(--shadow-soft);
}
.persona-box h3 {
	color: var(--primary);
	font-size: 1.6rem;
	margin-bottom: 1rem;
}

/* カード共通スタイル（ROI & USP） */
.card-base {
	background: var(--white);
	border-radius: var(--radius);
	padding: 1rem 2rem;
	box-shadow: var(--shadow-soft);
	display: flex;
	flex-direction: column;
	transition: all 0.4s ease;
}
.roi-card {border: 2px solid var(--primary);}
.usp-card {
	border-top: 5px solid var(--primary);
	position: relative;
}
.usp-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-hover);
}
.card-icon {
	margin-bottom: 1.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 120px;
}
.card-icon img {
	height: 130px;
	width: auto;
	object-fit: contain;
}
.card-heading {
	font-size: 1.625rem;
	font-weight: bold;
	color: var(--primary-dark);
	margin-bottom: 1.5rem;
	line-height: 1.4;
	text-align: center;
}
.card-detail-list {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.card-detail-list li {
	font-size: 0.95rem;
	color: var(--text-light);
	line-height: 1.6;
	margin-bottom: 0.8rem;
	padding-left: 1.5rem;
	position: relative;
	text-align: left;
}
.card-detail-list li::before {
	content: "■";
	position: absolute;
	left: 0;
	top: 0.1rem;
	color: var(--primary);
	font-size: 0.8rem;
}

.roi-grid,
.usp-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}
.usp-number {
	position: absolute;
	top: -20px;
	left: 20px;
	background: var(--primary);
	color: var(--white);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	box-shadow: 0 4px 10px rgba(26, 115, 232, 0.4);
}

/* タイムライン風カリキュラム */
.curriculum-timeline {
	display: flex;
	justify-content: space-between;
	position: relative;
	margin-top: 3rem;
	gap: 1.5rem;
}
.timeline-line {
	position: absolute;
	top: 35px;
	left: 12.5%;
	width: 85%;
	height: 6px;
	background: linear-gradient(
		to right,
		var(--primary) 80%,
		rgba(26, 115, 232, 0)
	);
	z-index: 1;
	border-radius: 3px;
}
.timeline-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 2;
}
.timeline-node {
	width: 76px;
	height: 76px;
	background-color: var(--primary);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	font-weight: bold;
	margin-bottom: 1.5rem;
	box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
	border: 4px solid var(--white);
	text-align: center;
	line-height: 1.2;
}
.timeline-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
	width: 100%;
	text-align: center;
	border-top: 4px solid var(--primary);
}
.badge {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: bold;
	margin-bottom: 1rem;
	letter-spacing: 0.5px;
}
.badge-real {
	background-color: #e8f0fe;
	color: #1a73e8;
	border: 1px solid #1a73e8;
}
.badge-online {
	background-color: #fef0d9;
	color: #e65100;
	border: 1px solid #f57c00;
}
.timeline-card h4 {
	font-size: 1.2rem;
	color: var(--text-dark);
	margin-bottom: 1rem;
	font-weight: bold;
}
.timeline-card ul {
	list-style: none;
	padding: 0;
	text-align: left;
}
.timeline-card ul li {
	font-size: 0.95rem;
	color: var(--text-light);
	position: relative;
	padding-left: 1.2rem;
	margin-bottom: 0.6rem;
	line-height: 1.5;
}
.timeline-card ul li::before {
	content: "・";
	position: absolute;
	left: 0;
	color: var(--primary);
	font-weight: bold;
}

/* アンバサダーへの広がり表現 */
.curriculum-expansion {
	text-align: center;
	margin-top: 5rem;
}
.expansion-arrow {
	width: 60px;
	height: 60px;
	margin: 0 auto 1.5rem;
	display: block;
}
.expansion-copy {
	font-size: 1.8rem;
	font-weight: bold;
	color: #0091ff;
	letter-spacing: 1px;
}

/* ポップにリニューアルした Subsidy Section */
.subsidy-box {
	background: linear-gradient(135deg, #0d3b66 0%, #1e5b9e 100%);
	border-radius: var(--radius);
	padding: 4rem 3rem;
	text-align: center;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
	position: relative;
	color: var(--white);
}
.subsidy-pop-header {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	font-size: 1.8rem;
	font-weight: 900;
	color: var(--white);
	margin-bottom: 2rem;
	letter-spacing: 0.1em;
	line-height: 1.4;
}
.subsidy-pop-header .text {text-align: center;}

.subsidy-pop-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.5rem;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 2rem 3rem;
	border: 2px dashed rgba(255, 255, 255, 0.4);
	position: relative;
	z-index: 2;
	width: 100%;
	box-sizing: border-box;
}
.subsidy-chart {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: conic-gradient(#ffca28 0% 75%, #e0e0e0 75% 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	flex-shrink: 0;
}
.subsidy-chart::after {
	content: "75%";
	position: absolute;
	background: #0d3b66;
	width: 90px;
	height: 90px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: 900;
	color: #ffca28;
}
.subsidy-text-box {text-align: left;}
.subsidy-text-small {
	font-size: 1.1rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
	color: var(--white);
	white-space: nowrap;
}
.subsidy-text-large {
	font-size: 2rem;
	font-weight: 900;
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	white-space: nowrap;
}
.subsidy-highlight {
	color: #ffca28;
	font-size: 4.5rem;
	line-height: 1;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	border-bottom: 5px solid #ffca28;
	padding: 0 0.2rem;
	white-space: nowrap;
}

/* Q&A セクション */
.faq-container {
	max-width: 900px;
	margin: 0 auto;
}
.faq-category {
	font-size: 1.4rem;
	color: var(--primary);
	margin: 2.5rem 0 1rem;
	font-weight: bold;
	border-bottom: 2px solid var(--primary);
	display: inline-block;
	padding-bottom: 0.3rem;
}
.faq-item {
	background: var(--white);
	border-radius: 8px;
	margin-bottom: 1rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	border: 1px solid #e0e0e0;
}
.faq-summary {
	padding: 1.5rem;
	font-weight: bold;
	font-size: 1.1rem;
	color: var(--primary-dark);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}
.faq-summary::-webkit-details-marker {display: none;}
.faq-summary::after {
	content: "+";
	font-size: 1.8rem;
	color: var(--primary);
	transition: transform 0.3s ease;
	line-height: 1;
}
details[open] .faq-summary::after {transform: rotate(45deg);}
.faq-content {
	padding: 0 1.5rem 1.5rem;
	color: var(--text-light);
	line-height: 1.8;
}
.faq-content::before {
	content: "";
	display: block;
	height: 1px;
	background: #eee;
	margin-bottom: 1rem;
}
.faq-q-mark {
	color: var(--accent-cta);
	font-size: 1.3rem;
	margin-right: 0.5rem;
}
.faq-a-mark {
	color: var(--primary);
	font-size: 1.3rem;
	margin-right: 0.5rem;
	font-weight: bold;
}

.site-footer {
	background-color: var(--white);
	color: var(--text-dark);
	padding: 60px 0 0 0;
}

.footer-content {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 5% 60px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
}

.footer-left {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer-catchphrase {
	font-size: 2.2rem;
	font-weight: bold;
	line-height: 1.5;
	color: var(--primary-dark);
	margin: 0;
}

.footer-logo {
	width: 320px;
	max-width: 100%;
	height: auto;
}

.footer-right {
	flex: 1.2;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer-btn-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--white);
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 25px 30px;
	text-decoration: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.footer-btn-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(26, 115, 232, 0.15);
	border-color: var(--primary);
}

.footer-btn-text-wrapper {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.footer-btn-title {
	color: var(--primary);
	font-size: 1.2rem;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-btn-desc {
	color: var(--text-light);
	font-size: 0.85rem;
	line-height: 1.5;
}

.footer-btn-icon {
	background-color: var(--primary);
	color: var(--white);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	flex-shrink: 0;
	margin-left: 15px;
}

/* コピーライト部分 */
.footer-copyright {
	background-color: #111111;
	color: #777777;
	text-align: center;
	padding: 20px 5%;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	width: 100%;
}

/* =========================================================
Responsive Settings (iPad / Tablet & Mobile)
========================================================= */

@media (max-width: 1024px) {
	.section {padding: 5rem 4%;}
	
	.title-wrapper {margin-bottom: 2rem;}
	
	.section-title {
		font-size: 1.8rem;
		border-left-width: 6px;
		padding-left: 1.2rem;
		line-height: 1.5;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
	}
	
	.title-icon-wrapper {
		position: relative !important;
		bottom: auto !important;
		right: auto !important;
		align-self: flex-end;
		margin-top: 0.5rem;
		margin-bottom: -1rem;
	}
	
	.title-icon {width: 85px;}
	
	.speech-bubble {
		bottom: 90px;
		right: -5px;
		font-size: 0.8rem;
	}
	
	.subsidy-icon-wrapper {
		position: relative !important;
		margin: 0 auto 1.5rem !important;
		right: auto !important;
		bottom: auto !important;
		display: inline-block;
	}
	
	.hero {background-image: var(--gradient);}
	
	.curriculum-timeline {
		flex-direction: column;
		align-items: center;
		gap: 2rem;
	}
	.timeline-line {
		top: 38px;
		bottom: auto;
		left: 50%;
		width: 6px;
		height: calc(100% + 40px);
		transform: translateX(-50%);
		background: linear-gradient(
			to bottom,
			var(--primary) 80%,
			rgba(26, 115, 232, 0)
		);
	}
	.timeline-item {
		width: 100%;
		max-width: 500px;
	}
	.timeline-node {margin-bottom: 1rem;}
	
	.footer-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 40px;
	}
	.footer-right {width: 100%;}
}

/* スマホ向け詳細調整 */
@media (max-width: 768px) {
	.sp-only {display: block;}
	
	.section-title {
		font-size: 1.4rem;
		border-left-width: 5px;
		padding-left: 0.8rem;
	}
	.title-icon {width: 75px;}
	.speech-bubble {
		bottom: 80px;
		font-size: 0.75rem;
		padding: 6px 12px;
	}
	.hero {padding: 9rem 5% 5rem;}
	.hero h1 {font-size: 2.2rem;}
	.hero p {
		font-size: 1rem;
		line-height: 1.7;
	}
	.pain-points {
		padding: 2rem 1.2rem;
		margin-bottom: 2rem;
	}
	.pain-points h3 {
		font-size: 1.3rem;
		margin-bottom: 1.5rem;
	}
	.pain-list,
	.usp-grid,
	.roi-grid {grid-template-columns: 1fr;}
	.pain-list li {
		padding: 1.2rem 1rem 1.2rem 3.2rem;
		font-size: 0.95rem;
	}
	.pain-list li::before {
		left: 1rem;
		font-size: 1.3rem;
	}
	.pain-stat {
		font-size: 0.9rem;
		margin-top: 1.5rem;
	}
	.card-heading {font-size: 1.3rem;}
	.faq-summary {
		font-size: 1rem;
		padding: 1.2rem;
	}
	.stats-card {
		flex-direction: column;
		gap: 3rem;
		padding: 2.5rem 1rem;
	}
	.stats-item {width: 100%;}
	.stats-item:not(:last-child)::after {
		right: auto;
		left: 10%;
		top: auto;
		bottom: -1.5rem;
		height: 1px;
		width: 80%;
		border-right: none;
		border-bottom: 2px dotted #d1d9e6;
	}
	.stat-new {font-size: 3.8rem;}
	.expansion-copy {font-size: 1.2rem;}
	.subsidy-box {padding: 3rem 1.2rem;}
	
	.subsidy-pop-header {
		font-size: 1.3rem;
		margin-bottom: 1.5rem;
		gap: 0.5rem;
	}
	.subsidy-pop-header .deco {font-size: 1.6rem;}
	
	.reskilling-text {
		width: 190px;
		display: inline-block;
	}
	
	.subsidy-text-small,
	.subsidy-text-large,
	.subsidy-highlight {white-space: normal;}
	.subsidy-pop-content {
		flex-direction: column;
		gap: 1.2rem;
		padding: 1.5rem 1rem;
		width: 100%;
		box-sizing: border-box;
	}
	.subsidy-text-box {text-align: center;}
	.subsidy-text-small {font-size: 1rem;}
	.subsidy-text-large {
		font-size: 1.4rem;
		justify-content: center;
		flex-wrap: wrap;
	}
	.subsidy-highlight {font-size: 3.2rem;}
	.footer-btn-card {padding: 18px;}
	.footer-catchphrase {font-size: 1.4rem;}
}
