﻿html {
	height: 100%;
}

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

body {
	font-family: 'Lato', Calibri, Arial, sans-serif;
	background: #fff;
	font-weight: 300;
	font-size: 15px;
	color: #333;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a {
	color: #555;
	text-decoration: none;
}

.container {
	width: 100%;
	position: relative;
}


.clr {
	clear: both;
	padding: 0;
	height: 0;
	margin: 0;
}

.main {
	width: 90%;
	margin: 0 auto;
	position: relative;
}

.container > header,
.content-wrapper {
	padding: 30px;
	width: 80%;
	max-width: 1200px;
	margin: 0 auto;
}

	.content-wrapper p {
		padding-top: 30px;
		line-height: 26px;
	}

	.container > header h1 {
		font-size: 34px;
		line-height: 38px;
		margin: 0;
		font-weight: 700;
		color: #333;
		float: left;
	}

		.container > header h1 span {
			display: block;
			font-size: 20px;
			font-weight: 300;
		}


.sl-slider-wrapper {
	width: 100%;
	aspect-ratio: 21 / 9;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}
	.sl-slider-wrapper::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 10px;
		z-index: 10;
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
		pointer-events: none;
	}

/* WebGL Canvas */
#ripple-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	z-index: 1;
}

.sl-slider {
	position: absolute;
	top: 0;
	left: 0;
}

.sl-slide,
.sl-slides-wrapper,
.sl-slide-inner {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.sl-slide {
	z-index: 1;
}



/* /////////////////////////// footerここから //////////////////////////// */

.footer {
	background-color: #0a255f;
	color: #fff;
	padding: 40px 20px 20px;
	font-size: 14px;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	justify-content: space-between;
}

.footer-info {
	flex: 1;
	min-width: 200px;
}

.footer-sitemap {
	flex: 4;
	min-width: 600px;
	display: flex;
	gap: 40px;
}

.sitemap-column {
	flex: 1;
	list-style: none;
	padding: 0;
	margin: 0;
}

.sitemap-column-double {
	flex: 2.5;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 30px;
}

.sitemap-category {
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	margin-bottom: 15px;
	border-bottom: 1px solid #555;
	padding-bottom: 5px;
	grid-column: 1 / -1;
}

.sitemap-column li,
.sitemap-column-double li {
	margin-bottom: 10px;
}

.sitemap-column a,
.sitemap-column-double a {
	color: #ccc;
	text-decoration: none;
	white-space: nowrap;
	position: relative;
}

	.sitemap-column a:hover,
	.sitemap-column-double a:hover {
		color: #fff;
		text-decoration: underline;
	}

.sitemap-pdf-list a {
	padding-right: 18px;
}

	.sitemap-pdf-list a::after {
		content: "";
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%); 
		width: 16px; 
		height: 19px; 
		background-image: url("../images/pdf-icon.png");
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
	}

	.sitemap-pdf-list a:hover::after {
		text-decoration: none;
	}

.footer-copyright {
	text-align: center;
	margin-top: 40px;
	font-size: 12px;
	color: #aaa;
	border-top: 1px solid #444;
	padding-top: 20px;
}

/* ==========================================
   レスポンシブ
   ========================================== */
@media screen and (max-width: 1024px) {
	.footer-container {
		flex-direction: column; 
		gap: 30px;
		padding: 0 10px;
	}

	.footer-info {
		text-align: center; 
		margin-bottom: 10px;
	}

	.footer-sitemap {
		flex-direction: column;
		min-width: 100%;
		gap: 30px;
	}

	.sitemap-column {
		width: 100%;
	}

	.sitemap-column-double {
		width: 100%;
		grid-template-columns: 1fr;
		gap: 0;
	}

	.sitemap-category {
		margin-bottom: 10px;
		font-size: 15px;
	}
}
/* /////////////////////////// footerここまで //////////////////////////// */


/* ////////////////////////////   企業情報ここから  //////////////////////////// */
.company-info-block {
	width: 100%;
	padding: 60px 0;
	font-family: sans-serif;
	margin-top: 60px;
	margin-bottom: 80px;
}

.company-info-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.company-info-container {
	display: flex;
	gap: 40px;
	align-items: center;
}

/* 写真エリア */
/* コンテナ */
.company-image-area {
	flex: 1;
	min-width: 300px;
	overflow: visible !important;
	padding: 20px;
}

.photo-frame {
	position: relative;
	width: 100%;
	overflow: visible !important;
	perspective: 1000px;
}

/* 写真右上左下の□ */
.photo-bg-deco {
	position: absolute;
	width: 120px;
	height: 120px;
	z-index: 1;
}

/* 右上の四角 */
.bg-top-right {
	top: -25px;
	right: -25px;
	width: 120px;
	height: 120px;
	background-color: transparent;
	border-top: 10px solid #ceeaff;
	border-right: 10px solid #ceeaff;
	border-left: 10px solid #ceeaff;
	border-bottom: 10px solid #ceeaff;
	clip-path: none !important;
}

/* 左下の四角 */
.bg-bottom-left {
	bottom: -25px;
	left: -25px;
	background-color: #5f85ff;
}

/* 白枠 */
.photo-frame-inner {
	position: relative;
	z-index: 2;
	background-color: #ffffff;
	padding: 8px;
	display: block;
	width: 100%;
	box-sizing: border-box;
	clip-path: polygon(30px 0%, 100% 0%, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0% 100%, 0% 30px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	transform-style: preserve-3d;
}

/* 中の写真 */
.company-photo {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	clip-path: polygon(calc(30px - 8px) 0%, 100% 0%, 100% calc(100% - (30px - 8px)), calc(100% - (30px - 8px)) 100%, 0% 100%, 0% calc(30px - 8px));
	transform: translateZ(40px);
}


/* テキストエリア */
.company-text-area {
	flex: 1;
}

.company-title {
	font-size: 26px;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 12px;
	color: #1a1a1a;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.company-title-en {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.15em;
	color: #0066cc;
}
	/* 下線 */
	.company-title::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 60px;
		height: 3px;
		background: linear-gradient(90deg, #1e3a8a, #3b82f6);
	}

.company-lead {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: rgb(56, 82, 115);
	margin-bottom: 25px;
}

/* リンク */
.company-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

	.company-links li {
		border-bottom: 1px solid #e0e0e0;
	}

	.company-links a {
		display: block;
		padding: 12px 5px;
		color: #333;
		text-decoration: none;
		font-size: 16px;
		transition: background-color 0.3s, padding-left 0.3s;
		position: relative;
	}

		.company-links a::after {
			content: '>';
			position: absolute;
			right: 10px;
			color: #999;
		}

		/* マウスホバー時の動き */
		.company-links a:hover {
			background-color: rgba(0, 0, 0, 0.02);
			padding-left: 12px;
			color: #0066cc;
		}

/* レスポンシブ */
@media (max-width: 1024px) {
	.company-info-container {
		flex-direction: column;
		gap: 25px;
	}

	.company-image-area, .company-text-area {
		width: 100%;
	}
}
/* //////////////////////////// 企業情報ここまで //////////////////////////// */


/* /////////////////////////// サービス ここから //////////////////////////// */
/* サービスブロック全体 */
.service-block {
	position: relative;
	padding: 100px 0 180px;
	width: 100%;
	font-family: sans-serif;
	overflow: hidden;
	background-color: #fff;
}

.service-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* 背景写真 */
.service-bg-photos {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

.bg-photo {
	position: absolute;
	background-size: cover;
	background-position: center;
	border-radius: 50%;
	opacity: 0.42;
	filter: blur(2px);
}

.photo1 {
	width: 300px;
	height: 300px;
	top: -50px;
	left: -50px;
}

.photo2 {
	width: 250px;
	height: 250px;
	bottom: -20px;
	left: 30%;
}

.photo3 {
	width: 350px;
	height: 350px;
	top: 36%;
	right: -100px;
}

.photo4 {
	width: 200px;
	height: 200px;
	bottom: 250px;
	right: 30%;
}

/* 前面のコンテンツレイアウト */
.service-container {
	position: relative;
	z-index: 2; 
}

.service-title {
	font-size: 28px;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.service-title-en {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.15em;
	color: #0066cc;
}

.service-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.service-lead {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: rgb(56, 82, 115);
	margin-bottom: 40px;
	max-width: 800px;
}

/* リンク */
.service-links-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1px));
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

/* リンクカード単体のベース（枠線アニメーション用） */
.service-card {
	flex: 1;
	min-width: 180px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid #e0e0e0;
	padding: 35px 20px;
	text-decoration: none;
	color: #333;
	border-radius: 4px;
	box-sizing: border-box;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 160px;
	position: relative;
	overflow: hidden; 
}

	/* 上下の線を中央から広げる */
	.service-card::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		border-top: 3px solid #0066cc;
		border-bottom: 3px solid #0066cc;
		box-sizing: border-box;
		transform: scaleX(0);
		/* 中央から左右 */
		transform-origin: center;
		transition: transform 0.3s ease;
		z-index: 3;
	}

	/* 左右の線を中央から */
	.service-card::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		border-left: 3px solid #0066cc;
		border-right: 3px solid #0066cc;
		box-sizing: border-box;
		/* 縦幅0% */
		transform: scaleY(0);
		/* 中央から上下 */
		transform-origin: center;
		transition: transform 0.3s ease;
		z-index: 3;
	}

	/* マウスホバー */
	.service-card:hover {
		background: #ffffff;
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
		transform: translateY(-4px);
	}

		/* 上下の線が中央から左右 */
		.service-card:hover::before {
			transform: scaleX(1);
		}

		/* 左右の線が中央から上下 */
		.service-card:hover::after {
			transform: scaleY(1);
		}

/* アイコンとテキストの設定 */
.card-icon {
	width: 32px;
	height: 32px;
	color: #0066cc;
	margin-bottom: 15px;
	transition: transform 0.3s ease;
}

	.card-icon svg {
		width: 100%;
		height: 100%;
	}

.service-card h3 {
	font-size: 16px;
	margin: 0;
	font-weight: 600;
}

.service-card:hover .card-icon {
	transform: scale(1.1);
}

/* スマホ対応 */
@media (max-width: 1024px) {
	.service-card {
		min-width: 100%;
		height: auto;
		padding: 25px;
		flex-direction: row;
		justify-content: flex-start;
		gap: 15px;
	}

	.card-icon {
		margin-bottom: 0;
	}
	.service-card::before, .service-card::after {
		display: none;
	}

	.service-card:hover {
		border-color: #0066cc;
	}
}


/* /////////////////////////// サービス ここまで//////////////////////////// */


/* /////////////////////////// GroupLinkここから //////////////////////////// */

.group-block {
	width: 100%;
	padding: 180px 0 220px;
	font-family: sans-serif;
}

.group-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.group-flex-container {
	display: flex;
	justify-content: space-between;
	gap: 75px;
	align-items: flex-start;
}

.group-banner-wrapper {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: 100%;
	max-width: 550px; 
}

.group-single-container a.glass-rotate-glow-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.group-single-container .glass-inner-plate {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

	.group-single-container .glass-inner-plate img {
		margin: 0 auto;
	}

/* 右側テキストエリア */
.group-text-area {
	width: 100%;
	max-width: 600px;
}

.group-title {
	font-size: 28px;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.group-title-en {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.15em;
	color: #0066cc;
}

.group-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.group-lead {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: rgb(56, 82, 115);
}

.group-banner-horizontal {
	display: flex;
	gap: 30px;
	margin-top: 35px;
}

/* スマホ対応 */
@media (max-width: 1024px) {
	.group-flex-container {
		flex-direction: column-reverse;
		gap: 30px;
		align-items: stretch;
	}

	.group-banner-wrapper, .group-text-area {
		width: 100%;
		max-width: 100%;
	}

	.group-banner-wrapper {
		margin-top: 0; /* スマホでは下に下げる余白をリセット */
	}

	.group-banner-horizontal {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}
}

/* /////////////////////////// GroupLinkここまで //////////////////////////// */


/* /////////////////////////// 背景カラーここから //////////////////////////// */
.random-pattern {
	--bg-color: #f6fbff;
	--shape-color: #e3f3ff;
	--line-width: 10px;

	background-color: var(--bg-color);
	background-repeat: no-repeat;
	background-image:
	/* 1. 右上の半円 */
	radial-gradient(circle at right center, transparent 35%, var(--shape-color) 36%, var(--shape-color) 46%, transparent 43%),
	/* 3. 左下の半円 */
	radial-gradient(circle at left bottom, transparent 35%, var(--shape-color) 36%, var(--shape-color) 46%, transparent 47%);
}

/* ===================================================
    PC用
   =================================================== */
@media (min-width: 1024px) {
	.random-pattern {
		background-size: 500px 840px, /* 右上の半円 */
		340px 340px; /* 左下の半円 */
		background-position: right 0% top 18%, /* 右上の半円 */
		left 0% bottom 0%; /* 左下の半円 */
	}
}

/* ===================================================
    スマホ用
   =================================================== */
@media (max-width: 1023px) {
	.random-pattern {
		background-size: 166px 280px,
		113px 113px;
		background-position: right 0% top 10%, 
		left 0% bottom 0%;
	}
}

/* /////////////////////////// 背景カラーここまで //////////////////////////// */