
/* ---------------------------------- */
/* アニメーション用キーフレーム       */
/* ---------------------------------- */
/* 背景のわずかな脈動アニメーション */
@keyframes subtle-pulse {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.005);
	}
}

/* 左右にスクロールのアニメーション */
@keyframes flow-left {
	from {
		background-position: 100% 50%;
	}

	to {
		background-position: 0% 50%;
	}
}

@keyframes flow-right {
	from {
		background-position: 0% 50%;
	}

	to {
		background-position: 100% 50%;
	}
}

/* ローディングアニメーション */
@keyframes rotate-loop {
	to {
		transform: rotate(360deg);
	}
}

/* スキップボタンのバウンド */
@keyframes bounce {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 10px); }
}

/* ---------------------------------- */
/* ベーススタイル                      */
/* ---------------------------------- */
/*.hero-slider {
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0; 
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;           
  pointer-events: none;   
}

.hero-overlay img {
 	width: 100%;
	height: 100vh;
}*/

body {
	letter-spacing: 0.2em;
	font-family: 'Roboto', 'Noto Sans JP', sans-serif;
	margin: 0;
	padding-top: 80px;
	background-color: #ffffff;
	color: #222222;
	line-height: 1.6;
	overflow-x: hidden;
}

a {
	color: #1a3a6e;
	text-decoration: none;
	transition: color 0.3s;
}

/*  headerと下に続く要素の重なりの調整  */
.wrapper {
	margin-top: -75px;
}

/* ---------------------------------- */
/* メインビジュアル (Key Visual)       */
/* ---------------------------------- */

body.loading {
	overflow: hidden;
}

.preloader {
	position: fixed;
	inset: 0;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	opacity: 1;
	visibility: visible;
	transition: opacity .4s ease, visibility .4s ease;
}

.preloader.hide {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.preloader .preloader-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.preloader .preloader-logo {
	height: 64px;
	/* 任意で調整 */
	width: auto;
	opacity: 0.95;
}

.preloader .spinner {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: conic-gradient(from 0deg,
			#1a3a6e,
			#3c65e0,
			#6da0fa,
			#b5d2ff,
			#1a3a6e);
	mask: radial-gradient(farthest-side, transparent calc(100% - 3px), black 0);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), black 0);
	animation: rotate-loop 1s linear infinite;
}

.site-header {
	position: fixed;
	transform: translateY(-100%);
	transition: transform 0.3s ease;
	z-index: 1000;
}

.site-header.visible {
	transform: translateY(0);
}

.slick-dots li button:before {
	font-size: 10px;
}

.slick-prev:before,
.slick-next:before {
	color: rgba(255, 255, 255, 0.8);
	font-size: 30px;
}

.slick-next {
	right: 30px;
}

.slick-prev {
	left: 10px;
	z-index: 1;
}

.slick-dots {
	bottom: 10px;
}

.js-slick img {
	width: 100%;
	height: 100vh;
	object-fit: cover;
	display: block;
}

.hero-slider .slick-list {
  width: 100vw;
  overflow: hidden;
}

.js-slick .slick-slide img {
	transform: scale(1.15);
	transition: transform 6s ease;
}

.js-slick .slick-current img {
	transform: scale(1);
}

.skip-btn {
	width: 70px;
	height: 70px;
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(204, 206, 206, 0.593);
	border: none;
	border-radius: 50px;
	padding: 10px;
	cursor: pointer;
	z-index: 10;
	transition: background 0.3s, transform 0.3s;
	animation: bounce 6s infinite;
}

/* ▼ この疑似要素が “下向きV字” を描く */
.skip-btn::before {
	content: '';
	position: absolute;
	top: 48%;
	left: 50%;
	width: 22px;
	height: 22px;
	border-left: 4px solid rgba(51, 51, 51, 0.6);
	border-bottom: 4px solid rgba(51, 51, 51, 0.6);
	transform: translate(-50%, -50%) rotate(-45deg);
	transition: border-color 0.3s, transform 0.3s;
}

.skip-btn:hover {
	background: rgb(228, 228, 228);
	transform: translateX(-50%) scale(1.05);
}

.skip-btn:hover::before {
	border-color: rgba(51, 51, 51, 0.8);
	transform: translate(-50%, -50%) rotate(-45deg) scale(1.1);
}

.hero {
	height: 110vh;
	background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.85)),
		url('../../assets/images/bg_index-hero_01.jpg') center/cover;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	animation: subtle-pulse 30s ease-in-out infinite;
	padding: 0 20px;
}

.hero h1 {
	font-size: 3.5em;
	margin: 0;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #222222;
	animation: slide-in-from-top 1s ease-out forwards;
}

.hero p {
	font-size: 1.4em;
	margin: 15px 0 30px;
	color: #222222;
	opacity: 0;
	animation: fade-in-up 1s ease-out 0.5s forwards;
}

.hero div {
	opacity: 0;
	animation: fade-in-up 1s ease-out 1s forwards;
}

.action-button {
	display: inline-block;
	padding: 12px 30px;
	margin: 10px;
	border: 2px solid #1a3a6e;
	border-radius: 30px;
	font-weight: 700;
	transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.action-button.primary {
	background-color: #1a3a6e;
	color: #f5f5f5;
}

.action-button.secondary {
	background-color: #ffcc99;
	color: #1a3a6e;
}

.action-button.primary:hover,
.action-button.secondary:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
	opacity: 0.8;
}

/* スクロールアニメーションのターゲットクラス */
.scroll-fade {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade.active {
	opacity: 1;
	transform: translateY(0);
}

/* コンテンツセクション */
.section {
	background-color: #fff;
	padding: 100px 50px;
	text-align: center;
	margin: 50px 50px;
}

.section h2 {
	font-size: 3.0em;
	margin-bottom: 30px;
	letter-spacing: 0.1em;
	color: #000000;
	position: relative;
	display: inline-block;
}

.section h2::after {
	content: '';
	display: block;
	width: 50%;
	height: 3px;
	background-color: #1a3a6e;
	margin: 10px auto 0;
	transition: width 0.5s;
}

.section:hover h2::after {
	width: 80%;
}

/* 3つの柱 (Culture & Growth) */
.pillars-layout {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	/* 上寄せにしておく */
	gap: 80px;
	margin-top: 60px;
	flex-wrap: nowrap;
}

.pillar-detail {
	width: 700px;
	min-height: 200px;
	font-size: 1.8em;
	padding: 30px;
	background: transparent;
	border-radius: 6px;
	border: none;
	margin-top: calc(160px + 40px / 2);
}

.pillars-images {
	position: relative;
	width: 650px;
	height: 550px;
}

/* 各丸の共通スタイル */
.circle {
	width: 250px;
	height: 250px;
	border-radius: 50%;
	color: white;
	font-size: 1.4em;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	position: absolute;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: background-color 0.8s, color 0.5s, transform 0.4s;
	z-index: 2;
	/* 丸はコネクタの上に出す */
}

.circle-primary {
	background: linear-gradient(to bottom, #375d99, #1a3a6e, #10294d);
	font-weight: bold;
}

/* 上の丸 */
.circle:nth-child(1) {
	top: 0;
	left: calc(50% - 125px);
}

/* 左下の丸 */
.circle:nth-child(2) {
	bottom: 0;
	left: 0;
}

/* 右下の丸 */
.circle:nth-child(3) {
	bottom: 0;
	right: 0;
}

.circle::before {
	color: #fff;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	content: attr(data-label);
}

.circle.showing-image {
	color: transparent;
	text-shadow: none;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.circle:hover {
	transform: scale(1.08);
	/* ホバーは拡大のみ。常時のオレンジ枠は .active で制御 */
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
	z-index: 3;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.circle.is-active,
.circle.forced-active {
	z-index: 3;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 0 8px rgba(255, 204, 153, 0.65);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* タイトルと本文 */
.pillar-content {
	background-color: transparent;
	border: none;
	color: inherit;
	padding: 0;
	margin: 0;
	font-family: inherit;
}

.pillars-images .connector {
	position: absolute;
	/* 太さを2倍に増加 */
	height: 28px;
	background-color: #1a3a6e;
	/* 線の色 */
	z-index: 1;
	/* 丸より背面 */
	border-radius: 14px;
	transform-origin: center center;
	transition: background-color 0.25s ease, box-shadow 0.25s ease, opacity 0.2s;
	box-shadow: none;
	display: block;
}

/* 流れる光のアニメーション */
.pillars-images .connector.flowing {
	/* 見た目の強調（グロー） */
	box-shadow: 0 0 18px rgba(0, 0, 0, 0.12);
}

.pillars-images .connector.flowing::after {
	content: '';
	position: absolute;
	inset: 0;
	/* 中央に明るいラインが流れるグラデーション。--flow-color で色を上書き */
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--flow-color, #ffcc99) 40%, rgba(255, 255, 255, 0.9) 50%, var(--flow-color, #ffcc99) 60%, rgba(255, 255, 255, 0) 100%);
	background-size: 200% 100%;
	opacity: 0.95;
	pointer-events: none;
	filter: blur(0.2px);
	animation: flow-left 1.1s linear infinite;
	mix-blend-mode: screen;
}

/* コネクタの方向ごとの流れるアニメーション */
.pillars-images .connector.flowing-left::after {
	animation-name: flow-left;
}

.pillars-images .connector.flowing-right::after {
	animation-name: flow-right;
}

.pillars-images .connector.top-left {
	width: 400px;
	/* 両中心間の距離に合わせた長さの目安 */
	left: 35%;
	top: 50%;
	transform: translate(-50%, -50%) rotate(120deg);
}

.pillars-images .connector.top-right {
	width: 400px;
	left: 65%;
	top: 50%;
	transform: translate(-50%, -50%) rotate(-120deg);
}

.pillars-images .connector.bottom {
	width: 360px;
	/* 左右の丸の横幅（約60%） */
	left: 50%;
	top: 78.5%;
	transform: translate(-50%, -50%) rotate(0deg);
}

/* 企業情報　*/
.company-overview-grid {
	height: 550px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 60px;
}

.company-overview-item {
	max-height: 85%;
	border-top: 5px solid #1a3a6e;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
	background: #fff;
	padding: 30px;
	transition: transform .3s, box-shadow .3s;
}

.company-overview-item iframe {
	border: none;
}

.company-overview-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(68, 86, 247, 0.25);
}

.company-overview-item h3 {
	color: #1a3a6e;
	font-size: 1.5em;
	margin-top: 10px;
	margin-bottom: 20px;
}

.company-overview-item table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.2em;
	text-align: start;
	margin-top: 10px;
}

.company-overview-item td {
	padding: 8px 6px;
	border-bottom: 1px solid #eee;
	vertical-align: top;
	margin-bottom: 10px;
	font-size: 0.9em;
}

.company-overview-item td.column-1 {
	width: 25%;
	font-weight: bold;
	color: #333;
}

.company-overview-item a {
	color: #1a3a6e;
	text-decoration: underline;
}

.news-content {
	max-width: 1200px;
	width: 90%;
	margin: 0 auto;
	text-align: left;
}

.news-item {
	width: 100%;
	margin-bottom: 20px;
	padding: 15px;
	border-bottom: 1px solid #3c3c5a;
	text-align: left;
	transition: background-color 0.2s;
	font-size: 1.5rem;
	box-sizing: border-box;
}

.news-item:hover {
	background-color: #fddcba83;
	/* 背景色をわずかに変える */
	border-left: 5px solid #1a3a6e;
	/* 左にアクセントボーダー */
	padding-left: 10px;
	/* パディングを調整 */
}

.news-item span {
	color: #1a3a6e;
	margin-right: 15px;
	font-weight: 700;
}

.news-item a {
	color: #222222;
}

.news-item a:hover {
	color: #1a3a6e;
}

/* ---------------------------------- */
/* レスポンシブ対応 (モバイル向け) */
/* ---------------------------------- */
@media (max-width: 1280px) {

	/* Pillars (3つの丸とテキスト) */
	.pillars-layout {
		flex-direction: column;
		align-items: center;
		gap: 30px;
		margin-top: 1.5em;
	}

	.pillars-images {
		position: relative;
		width: 500px;
		height: 450px;
	}

	.pillars-images .connector.top-left,
	.pillars-images .connector.top-right {
		width: 340px;
		left: auto;
	}

	.pillars-images .connector.top-left {
		left: 35%;
		top: 50%;
		transform: translate(-50%, -50%) rotate(120deg);
	}

	.pillars-images .connector.top-right {
		left: 65%;
		top: 50%;
		transform: translate(-50%, -50%) rotate(-120deg);
	}

	.pillars-images .connector.bottom {
		width: 320px;
		top: 78.5%;
		left: 50%;
	}

	.circle {
		width: 200px;
		height: 200px;
		font-size: 1.3em;
	}

	/* 上の丸：中央 */
	.circle:nth-child(1) {
		top: 0;
		left: calc(50% - 100px);
	}

	.pillar-detail {
		margin-top: 10px;
		text-align: center;
		width: 90%;
		font-size: 1.7em;
		padding: 10px;
	}
}

/*  スマホサイズ　　*/
@media (max-width: 768px) {

	/* 全体レイアウト調整 */
	body {
		padding-top: 0px;
	}

	.preloader .preloader-logo {
		height: 42px;
		width: auto;
		opacity: 0.95;
	}

	/* Hero セクション */
	.hero {
		height: 100vh;
		padding: 100px 20px 60px;
		background-position: center;
	}

	.hero h1 {
		font-size: 1.8em;
		line-height: 1.3;
	}

	.hero p {
		font-size: 1em;
		margin: 20px 0 25px;
	}

	.hero div {
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
		max-width: 320px;
	}

	.action-button {
		width: 100%;
		font-size: 0.95em;
		padding: 10px 0;
	}

	.section {
		padding: 50px 20px;
		margin: 0;
	}

	.section h2 {
		font-size: 1.6em;
		margin-bottom: 25px;
	}

	/* Pillars (3つの丸とテキスト) */
	.pillars-layout {
		gap: 20px;
		margin-top: 1.0em;
	}

	.pillars-images {
		position: relative;
		width: 270px;
		height: 250px;
	}

	.pillars-images .connector.top-left,
	.pillars-images .connector.top-right,
	.pillars-images .connector.bottom {
		height: 20px;
		border-radius: 10px;
	}

	.pillars-images .connector.top-left,
	.pillars-images .connector.top-right {
		width: 180px;
		top: 45%;
	}

	.pillars-images .connector.bottom {
		width: 200px;
		top: 72%;
	}

	.pillar-detail {
        margin-top: 10px;
        text-align: center;
        width: 90%;
        font-size: 1.0em;
        padding: 10px;
    }

	.circle {
		width: 120px;
		height: 120px;
		font-size: 0.9em;
	}

	/* 上の丸：中央 */
	.circle:nth-child(1) {
		top: 0;
		left: calc(50% - 60px);
	}

	.company-overview-grid {
		grid-template-columns: 1fr;
		height: auto;
		gap: 25px;
	}

	.company-overview-item {
		padding: 20px 5px;
		max-height: 95%;
	}

	.company-overview-item td.column-1 {
		width: 23%;
	}

	.company-overview-item table {
		font-size: 0.9em;
	}

	iframe {
		height: 350px;
	}

	.news-content {
		width: 100%;
		padding: 0 10px;
	}

	.news-item {
		font-size: 0.95em;
		padding: 10px;
		border-bottom: 1px solid #ccc;
	}

	.news-more {
		text-align: center;
		margin-top: 25px;
	}

	.js-slick img {
		height: 1000px;
	}

	.js-slick-next {
		right: 10px;
	}
}