/* ----------------------------------------------------------
	TOPページ専用スタイル
---------------------------------------------------------- */
/* =========================
	ヒーローセクション
========================= */
.hero {
	position: relative;
	height: 860px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 8%;
	color: var(--text-white);
}

.hero-content {
	z-index: 2;
	text-align: left;
}


/* 動画 */
.hero-hex {
	position: absolute;
	width: 100%;
	height: 105%;
	left: 0;
}
.hero-hex:after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	background-image: radial-gradient(black 20%, transparent 20%),
		radial-gradient(black 20%, transparent 20%);
	background-size: 6px 6px;
	background-position: 0 0, 3px 3px;
}
.hero-hex video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

.hero-catch {
	font-size: 10rem;
	margin-bottom: 40px;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 0.95;
	position: relative;
	text-shadow:
		0 2px 4px rgba(0,0,0,0.2),
		0 8px 24px rgba(0,0,0,0.15);
}

/* AI（躍動感） */
.hero-catch .ai {
	display: inline-block;
	transform: skewX(-10deg) rotate(-2deg);
	transform-origin: left bottom;
	position: relative;
}

/* AIのアクセントライン */
.hero-catch .ai::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 110%;
	height: 8px;
	background: linear-gradient(90deg, var(--tag-border), var(--primary-orange));
	z-index: -1;
}

/* サブテキスト */
.hero-catch .small-text {
	font-size: 6rem;
	letter-spacing: 0.12em;
	display: inline-block;
	margin-bottom: 40px;
}

/* カタチ（アウトライン） */
.hero-catch .outline {
	color: transparent;
	-webkit-text-stroke: 2px var(--text-white);
	paint-order: stroke fill;
	font-weight: 900;
	letter-spacing: 0.08em;
	display: inline-block;
}

@keyframes draw {
	from { -webkit-text-stroke: 2px transparent; }
	to { -webkit-text-stroke: 2px var(--text-white); }
}

.hero p {
	font-size: var(--fs-lg);
	margin-bottom: 30px;
	text-shadow: 1px 1px 2px  var(--border-muted);
}

/* =========================
	メッセージ
	========================= */
.message-section {
	padding: 120px 0 80px 0;
	line-height: 2.2;
}

.message-text {
	font-size: var(--fs-base);
	text-align: left;
	max-width: 600px;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.message-text {
		max-width: 333px;
	}
}
.hexagon-gra {
	width: 24px;
	height: 28px;
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
	background: url("../img/image/gradation_map2.png") center / cover no-repeat;
}

/* 動画 */
.video-section {
	width: 100%;
	overflow: hidden;
}

.office-hex {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	line-height: 0;
}

/* 動画の上のドットオーバーレイ */
.office-hex:after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	background-image: radial-gradient(black 20%, transparent 20%),
					  radial-gradient(black 20%, transparent 20%);
	background-size: 6px 6px;
	background-position: 0 0, 3px 3px;
	pointer-events: none;
}

.office-hex video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}
/* =========================
	事業紹介
========================= */

.brand-logo-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 40px;
	padding: 40px 20px;
}

/* ロゴ枠 */
.brand-item {
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
}

/* ロゴ */
.brand-item img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
	transition: transform 0.3s ease;
}

.brand-item a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
/* ホバー */
.brand-item:hover img {
	transform: scale(1.05);
}

.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: auto;
	padding: 12px 30px;
	border-radius: 4px;
	font-size: var(--fs-sub);
	transition: all 0.3s;

	background-color: var(--bg-white);
	color: var(--text-main);
	border: 1px solid var(--text-main);
}

.btn-outline:hover {
	background-color: var(--bg-dark);
	color: var(--text-white);
}

/* =========================
	協業・実績
========================= */
/* スライドがコンテナを突き抜けないように調整 */
.overflow-visible {
	overflow: visible !important;
}
.works-slider-container {
	width: 100%;
	overflow: hidden;
	padding: 60px 0;
}

/* スライドの基本状態（正面以外） */
.collab-card.swiper-slide {
	opacity: 0.3;
	transform: scale(0.85);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 正面のスライド */
.collab-card.swiper-slide-active {
	opacity: 1;
	transform: scale(1.1);
}

/* カード（スライド）の基本状態：不透明度を下げる */
.collab-card {
	opacity: 0.4;
	transition: transform 0.4s ease, opacity 0.4s ease;
	cursor: pointer;
	transform: scale(0.85);
}

/* 正面のカード：不透明度100% + 拡大 */
.collab-card.swiper-slide-active {
	opacity: 1;
	transform: scale(1.1);
	z-index: 10;
}

/* 個別のカード調整 */
.collab-card {
	background: var(--bg-white);
	border: 1px solid var(--border-light);
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.05);
	display: flex;
	flex-direction: column;
}

.collab-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	height: 48px;
}

.card-tag {
	font-size: var(--fs-xs);
	color: var(--tag-text);
	border: 1px solid var(--tag-border);
	padding: 4px 10px;
	border-radius: 4px;
	display: inline-block;
}

.card-logo {
	width: 40px;
	height: 40px;
	object-fit: contain;
	opacity: 0.8;
}

.collab-card-title {
	font-size: var(--fs-md);
	font-weight: 700;
	margin-bottom: 15px;
	line-height: 1.4;
	color: var(--text-main);
}

.collab-card-text {
	font-size: var(--fs-sm);
	color: var(--text-gray);
	line-height: 1.7;
	margin-bottom: 25px;
	flex-grow: 1;
	word-break: break-all;      /* どこでも改行を許可 */
	overflow-wrap: break-word;  /* 長い単語を折り返す（モダンな指定） */
}

.card-result {
	border-top: 1px solid var(--text-light);
	padding-top: 15px;
	font-size: var(--fs-xs);
	color: var(--result-text);
	display: flex;
	align-items: center;
	font-weight: 600;
}
.result-label{
	margin-right:4px;
}

.result-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-color: var(--primary-orange);
	margin-right: 8px;
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"/></svg>');
	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"/></svg>');
	mask-size: contain;
	-webkit-mask-size: contain;
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
}

/* =========================
	問い合わせセクション
========================= */
.inquiry-grid {
	background-image: url("../img/image/gradation_map1-2.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center 10%;
	color: var(--text-white);
	padding: 80px 0;
}

.inquiry-grid .container {
	display: flex;
	justify-content: space-between;
	gap: 40px;
}

.inquiry-col {
	flex: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.inquiry-col h3 {
	font-size: var(--fs-lg);
	margin-bottom: 10px;
}

.inquiry-col p {
	text-align: left;
	font-size: var(--fs-sub);
	margin-bottom: 25px;
	max-width: 320px;
}

.btn-inquiry-orange {
	margin-top: auto;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	background-color: var(--primary-orange);
	padding: 15px 30px;
	border-radius: 5px;
	font-weight: bold;
	width: 90%;
	height: 48px;
	transition: opacity 0.3s;
}
.btn-inquiry-orange:hover {
	opacity: 0.8;
}
.mobile-sep {
	display: none;
}

/* =========================
	ニュースセクション
========================= */
.news-icon {
	color: var(--primary-orange);
	font-size: var(--fs-sub);
}

.news-list li {
	display: flex;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid var(--border-light);
	transition: background 0.2s;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}

.news-list li:hover {
	background-color: var(--bg-light);
}

.news-meta {
	display: flex;
	align-items: center;
	margin-right: 20px;
	flex-shrink: 0;
}

.news-date {
	color: var(--border-muted);
	font-size: var(--fs-sub);
}

.news-tag {
	background-color: var(--primary-orange);
	color: var(--bg-white);
	padding: 3px 10px;
	border-radius: 10px;
	font-size: var(--fs-xs);
	margin-left: 10px;
	margin-right: 0;
}

.news-tag.release {
	background-color: var(--primary-orange);
}

.news-title {
	flex: 1;
}

.news-arrow {
	color: var(--primary-orange);
}

.news-footer {
	margin-top: 20px;
	display: flex;
	justify-content: flex-end;
}

.news-footer-links {
	display: flex;
	gap: 25px;
}

.news-link {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--primary-orange);
	font-size: var(--fs-sub);
	text-decoration: none;
	transition: opacity 0.3s;
	font-weight: 500;
}

.news-link span {
	transition: transform 0.3s;
}

.news-link:hover {
	opacity: 0.8;
}
.news-link:hover span {
	transform: translateX(3px);
}


/* =========================
	採用バナー
========================= */
.recruit-banner {
	position: relative;
	padding: 60px 0;
	background-image: url("../img/image/gradation_map2.png");
	background-size: cover;
	background-position: center;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: 200px;
}
.recruit-banner .container {
	position: relative;
	z-index: 10;
}

/* 背景を流れる大きなアウトライン文字 */
.recruit-bg-text {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
	z-index: 1;
	font-size: 120px;
	font-weight: 900;
	color: transparent;
	-webkit-text-stroke: 1px var(--primary-orange);
	paint-order: stroke fill;
	pointer-events: none;
	animation: scroll-text 20s linear infinite;
}

@keyframes scroll-text {
	0% { transform: translateY(-50%) translateX(0); }
	100% { transform: translateY(-50%) translateX(-50%); }
}

.recruit-inner {
	position: relative;
	z-index: 11;
	background-color: rgba(255, 127, 0, 0.65);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	padding: 40px 60px;
	max-width: 900px;
	margin: 0 auto;
	isolation: isolate;
}

.recruit-main h2 {
	text-align: center;
	font-size: 3rem;
	color: var(--text-white);
	margin: 0;
	font-weight: 700;
	letter-spacing: 0.05em;
	white-space: nowrap;
	text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recruit-sub {
	text-align: center;
}

.recruit-main h2,
.recruit-text,
.btn-recruit-white {
	position: relative;
	z-index: 12;
	opacity: 1 !important;
}

.recruit-text {
	color: var(--text-white);
	font-weight: 500;
	text-shadow: 0 1px 2px rgba(0,0,0,0.1);
	margin-bottom: 40px;
	text-align: left;
}

.btn-recruit-white {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: var(--bg-white);
	color: var(--primary-orange);
	padding: 10px 24px;
	border-radius: 4px;
	font-weight: bold;
	font-size: var(--fs-sub);
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	transition: all 0.3s ease;
}

.btn-recruit-white:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-recruit-white .material-symbols-outlined {
	font-size: var(--fs-md);
}
