@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: Astrocore公式サイト用 SWELL子テーマ（ブランドデザイン・共通コンポーネント）
    Version: 1.0.0
    Author: Astrocore
*/

/* ==========================================================================
   Astrocore Brand Design System
   仕様書A 第7章（Design System & Brand Guidelines）に準拠
   ========================================================================== */
:root {
	/* Brand base: 黒・白・ブルー基調（信頼感・未来感・高級感） */
	--ac-black: #0a0e1a;
	--ac-black-soft: #10162b;
	--ac-navy: #0d1b3d;
	--ac-white: #ffffff;
	--ac-off-white: #f6f8fc;
	--ac-blue: #2f6fff;
	--ac-blue-deep: #133b8f;
	--ac-blue-light: #6fa1ff;
	--ac-blue-glow: rgba(47, 111, 255, 0.35);

	--ac-gray-900: #12131a;
	--ac-gray-700: #3a3f4d;
	--ac-gray-500: #6b7280;
	--ac-gray-300: #d4d8e2;
	--ac-gray-100: #eef1f6;

	--ac-success: #2e9e6d;
	--ac-warning: #e0a72e;
	--ac-error: #e5484d;

	--ac-radius-sm: 8px;
	--ac-radius-md: 16px;
	--ac-radius-lg: 24px;

	--ac-shadow-card: 0 4px 24px rgba(10, 14, 26, 0.08);
	--ac-shadow-card-hover: 0 12px 40px rgba(47, 111, 255, 0.18);

	--ac-font-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
		"Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		sans-serif;

	--ac-container: 1160px;
}

/* Dark mode base variables (背景ダーク・アクセントブルー) */
.is-style-astrocore-dark,
.astrocore-dark {
	--ac-surface: var(--ac-navy);
	--ac-on-surface: var(--ac-white);
}

body {
	font-family: var(--ac-font-base);
	color: var(--ac-gray-900);
	-webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   共通コンテナ
   ========================================================================== */
.ac-container {
	max-width: var(--ac-container);
	margin-inline: auto;
	padding-inline: 20px;
}

/* ==========================================================================
   Hero（ファーストビュー）
   ========================================================================== */
.ac-hero {
	position: relative;
	background: radial-gradient(
			circle at 20% 20%,
			rgba(47, 111, 255, 0.25),
			transparent 55%
		),
		linear-gradient(160deg, var(--ac-black) 0%, var(--ac-navy) 100%);
	color: var(--ac-white);
	border-radius: var(--ac-radius-lg);
	padding: clamp(40px, 8vw, 96px) clamp(20px, 5vw, 64px);
	overflow: hidden;
}

.ac-hero h1 {
	color: var(--ac-white);
	font-size: clamp(28px, 5vw, 48px);
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.ac-hero .ac-hero-sub {
	color: var(--ac-gray-300);
	font-size: clamp(15px, 2vw, 18px);
	line-height: 1.9;
}

/* デモ動画未搭載時のプレースホルダー演出（未来感のあるグロー枠） */
.ac-hero-visual {
	position: relative;
	border-radius: var(--ac-radius-md);
	background: linear-gradient(
		145deg,
		rgba(47, 111, 255, 0.18),
		rgba(255, 255, 255, 0.04)
	);
	border: 1px solid rgba(111, 161, 255, 0.35);
	box-shadow: 0 0 60px var(--ac-blue-glow);
	aspect-ratio: 9 / 16;
	max-width: 320px;
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--ac-gray-300);
	font-size: 13px;
	padding: 24px;
}

.ac-hero-visual-desktop {
	aspect-ratio: 16 / 10;
	max-width: 640px;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.ac-cta {
	background: linear-gradient(135deg, var(--ac-blue-deep), var(--ac-black));
	color: var(--ac-white);
	border-radius: var(--ac-radius-lg);
	padding: clamp(32px, 6vw, 64px);
	text-align: center;
}

.ac-cta h2 {
	color: var(--ac-white);
}

.ac-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	min-height: 48px;
}

.ac-btn-primary {
	background: var(--ac-blue);
	color: var(--ac-white) !important;
	box-shadow: 0 8px 24px var(--ac-blue-glow);
}
.ac-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px var(--ac-blue-glow);
	background: var(--ac-blue-light);
}

.ac-btn-outline {
	background: transparent;
	color: var(--ac-white) !important;
	border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.ac-btn-outline:hover {
	border-color: var(--ac-white);
	background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   カード共通（Feature / Pricing / Blog / Community / Knowledge）
   ========================================================================== */
.ac-card {
	background: var(--ac-white);
	border: 1px solid var(--ac-gray-100);
	border-radius: var(--ac-radius-md);
	padding: 28px;
	box-shadow: var(--ac-shadow-card);
	transition: transform 0.25s ease, box-shadow 0.25s ease,
		border-color 0.25s ease;
	height: 100%;
}

.ac-card:hover,
.ac-card:focus-within {
	transform: translateY(-4px);
	box-shadow: var(--ac-shadow-card-hover);
	border-color: var(--ac-blue-light);
}

.ac-card .ac-card-icon {
	width: 48px;
	height: 48px;
	border-radius: var(--ac-radius-sm);
	background: linear-gradient(135deg, var(--ac-blue), var(--ac-blue-deep));
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ac-white);
	font-size: 22px;
	margin-bottom: 16px;
}

.ac-card h3 {
	margin-top: 0;
}

/* ==========================================================================
   Pricing Table
   ========================================================================== */
.ac-pricing-card {
	background: var(--ac-white);
	border: 1px solid var(--ac-gray-100);
	border-radius: var(--ac-radius-lg);
	padding: 32px 24px;
	text-align: center;
	box-shadow: var(--ac-shadow-card);
	position: relative;
}

.ac-pricing-card.is-featured {
	border: 2px solid var(--ac-blue);
	box-shadow: var(--ac-shadow-card-hover);
	background: linear-gradient(180deg, #f4f8ff 0%, var(--ac-white) 40%);
}

.ac-pricing-card .ac-pricing-badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--ac-blue);
	color: var(--ac-white);
	font-size: 12px;
	font-weight: 700;
	padding: 4px 16px;
	border-radius: 999px;
}

.ac-pricing-card .ac-price {
	font-size: 36px;
	font-weight: 800;
	color: var(--ac-black);
}
.ac-pricing-card .ac-price small {
	font-size: 14px;
	font-weight: 500;
	color: var(--ac-gray-500);
}

/* ==========================================================================
   見出しバリエーション（Astrocore独自見出し／11.4）
   ========================================================================== */
.ac-heading-point {
	position: relative;
	padding-left: 20px;
	border-left: 4px solid var(--ac-blue);
	font-weight: 700;
}

.ac-heading-ai {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ac-blue-deep);
	font-weight: 700;
}
.ac-heading-ai::before {
	content: "AI";
	background: var(--ac-blue);
	color: var(--ac-white);
	font-size: 11px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 999px;
}

.ac-heading-caution {
	color: var(--ac-warning);
	font-weight: 700;
}

.ac-heading-research {
	color: var(--ac-navy);
	font-weight: 700;
	border-bottom: 2px dashed var(--ac-gray-300);
	padding-bottom: 4px;
	display: inline-block;
}

/* ==========================================================================
   独自ブロック（Point Box / AI Comment Box / Timeline Box / FAQ）
   ========================================================================== */
.ac-point-box {
	background: var(--ac-off-white);
	border-left: 4px solid var(--ac-blue);
	border-radius: var(--ac-radius-sm);
	padding: 20px 24px;
}

.ac-ai-comment-box {
	background: var(--ac-navy);
	color: var(--ac-white);
	border-radius: var(--ac-radius-md);
	padding: 20px 24px;
	position: relative;
}
.ac-ai-comment-box .ac-ai-label {
	display: inline-block;
	background: var(--ac-blue);
	font-size: 12px;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 999px;
	margin-bottom: 8px;
}

.ac-timeline-box {
	background: linear-gradient(135deg, #eef4ff, var(--ac-white));
	border: 1px solid var(--ac-gray-100);
	border-radius: var(--ac-radius-md);
	padding: 24px;
}

.ac-faq-item summary {
	cursor: pointer;
	font-weight: 700;
	padding: 14px 0;
	border-bottom: 1px solid var(--ac-gray-100);
}

/* ==========================================================================
   ASSY君（ブランドキャラクター）バッジ
   ========================================================================== */
.ac-assy-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ac-off-white);
	border-radius: 999px;
	padding: 6px 16px 6px 6px;
	font-size: 13px;
	color: var(--ac-gray-700);
}
.ac-assy-badge .ac-assy-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ac-blue), var(--ac-blue-deep));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ac-white);
	font-size: 13px;
	font-weight: 700;
}

/* ==========================================================================
   ヘッダー：Language Switcher / Login 導線
   （3.5.4 / 11.2：全ページ共通、wp_body_open直後に出力される薄いバー）
   ========================================================================== */
.ac-utility-bar {
	background: var(--ac-black);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ac-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ac-lang-switcher select {
	border: 1px solid var(--ac-gray-300);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	background: var(--ac-white);
}

.ac-login-btn {
	background: var(--ac-black);
	color: var(--ac-white) !important;
	border-radius: 999px;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
}
.ac-login-btn:hover {
	background: var(--ac-blue-deep);
}

/* ==========================================================================
   フッター
   ========================================================================== */
.ac-footer {
	background: var(--ac-black);
	color: var(--ac-gray-300);
}
.ac-footer a {
	color: var(--ac-gray-300) !important;
}
.ac-footer a:hover {
	color: var(--ac-white) !important;
}

/* ==========================================================================
   レスポンシブ調整
   ========================================================================== */
@media (max-width: 782px) {
	.ac-hero {
		padding: 32px 20px;
		border-radius: var(--ac-radius-md);
	}
	.ac-cta {
		border-radius: var(--ac-radius-md);
	}
	.ac-btn {
		width: 100%;
	}
}

/* アクセシビリティ：フォーカス表示 */
a:focus-visible,
button:focus-visible,
.ac-btn:focus-visible {
	outline: 3px solid var(--ac-blue-light);
	outline-offset: 2px;
}

/* コントラスト確保のための強制上書き（ダーク背景内の見出し） */
.ac-hero h1,
.ac-hero h2,
.ac-hero h3,
.ac-cta h2,
.ac-cta h3 {
	color: var(--ac-white);
}
