/* ベーススタイル */
body {
	font-family: 'Noto Sans JP', sans-serif;
	margin: 0;
	padding-top: 80px; 			/* 固定ヘッダーの高さ分開ける。　アイキャッチ画像の開始位置*/
	color: #333;
	line-height: 1.6;
	background-color: #f4f7fa;	/* 全体的な背景色 */
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

a {
	color: #4169E1;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3 {
	color: #333;
	font-weight: 700;
}

h2 {
	font-size: 2.2em;
	text-align: center;
	margin-bottom: 40px;
	position: relative;
	padding-bottom: 10px;
}

h2::after {
	content: '';
	display: block;
	width: 220px;	/* アンダーバーの長さ*/
	height: 3px;
	background-color: #4169E1;
	margin: 10px auto 0;
}

h4 {
	color: #333;
	font-weight: normal;
	font-size: 0.6em;
}


div.box1 {
	color: #333;
	font-weight: normal;
	font-size: 0.6em;
}
div.box2 {
	color: #333;
	font-weight: normal;
	font-size: 0.6em;
	
	
	  height: 100px;
  width: 30%;
  border: black 0px solid;
  text-align: left;
}

.button {
	display: inline-block;
	background-color: #4169E1;
	color: #fff;
	padding: 12px 25px;
	border-radius: 5px;
	transition: background-color 0.3s ease;
	text-decoration: none;
	font-weight: bold;
}

.button:hover {
	background-color: #3150b0;
	text-decoration: none;
}

.button-link {
	display: block;
	text-align: center;
	margin-top: 30px;
	font-size: 1.1em;
}




/* ヘッダー */
.fixed-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #fff;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	z-index: 800;
	padding: 15px 0;
}

.fixed-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}


.fixed-header .logo img {
	height: 30px; 		/* ロゴの高さ調整 */
	vertical-align:top;	/* ロゴの下の余白を無くす */

}

.fixed-header .company-name {
	font-size: 12px;	/* 会社名のフォントサイズ */
	font-weight: bold;	/* 会社名を太字に */
	margin: 0px;		/* p要素のデフォルトのマージンを0にする */


}

.fixed-header nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
}

.fixed-header nav ul li {
	margin-left: 30px;
}

.fixed-header nav ul li a {
	color: #333;
	font-weight: 700;
	font-size: 1.05em;
	transition: color 0.3s ease;
}

.fixed-header nav ul li a:hover {
	color: #4169E1;
	text-decoration: none;
}

/* ヒーローセクション */
#hero {
	background: url("../img/EyeCatch.png") no-repeat center center/cover;	/* TOPページのアイキャッチ画像 */
	color: #fff;
	text-align: center;
	padding: 100px 0;
	height: 500px; 		/* ヒーローセクションの高さ */
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

#hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4); /* オーバーレイ */
}

.hero-content {
	position: relative;
	z-index: 1;
}

#hero h1 {
	font-size: 3.5em;
	margin-bottom: 20px;
	color: #fff;
}

#hero p {
	font-size: 1.3em;
	margin-bottom: 40px;
}

/* コンテンツセクション */
.content-section {
	padding: 80px 0;
}

.content-section p {
	font-size: 1.1em;
	line-height: 1.8;
	margin-bottom: 20px;
}

.grey-bg {
	background-color: #f4f7fa;
}

.navy-bg {
	background-color: #4169E1;
	color: #fff;
	text-align: center;
}

.navy-bg h2, .navy-bg p {
	color: #fff;
}

.navy-bg h2::after {
	background-color: #fff;
}

.navy-bg .button.white-button {
	background-color: #fff;
	color: #4169E1;
}

.navy-bg .button.white-button:hover {
	background-color: #eee;
}

.navy-bg .contact-info {
	margin-top: 20px;
	font-size: 1.2em;
	font-weight: bold;
}

/* 事業内容グリッド */
.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.service-item {
	background-color: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.service-item h3 {
	color: #4169E1;
	font-size: 1.5em;
	margin-bottom: 15px;
}

.service-item p {
	font-size: 1em;
	text-align: left;
	margin: 0.5em 0px;
	color: #666;
}









/* お知らせリスト */
.news-list {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	max-width: 900px;
}

.news-list li {
	background-color: #fff;
	margin-bottom: 15px;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	display: flex;
	align-items: center;
	font-size: 1.0em;
}

.news-list li a {
	color: #333;
	transition: color 0.3s ease;
}

.news-list li a:hover {
	color: #4169E1;
	text-decoration: none;
}

.news-date {
	font-weight: bold;
	color: #595858;
	margin-right: 14px;
	flex-shrink: 0;
}

.news-content {
	font-weight: bold;
	color: #595858;
	margin-right: 14px;
	flex-shrink: 0;
	ont-size: 0.5em;
}







/* フッター */
footer {
	background-color: #333;
	color: #fff;
	text-align: center;
	padding: 10px 0;
	font-size: 0.9em;
}
.fixed-footer{
	color: #fff;
	font-size: 12px; 		/* 個人情報保護方針のフォントサイズ */
	font-weight: normal;	/* 個人情報保護方針を太字 */
	float: right;			/* 個人情報保護方針を右寄せ */
	padding: 0px 10px 0px 0px;
}
.fixed-footer a{
	color: #fff;
	font-size: 0.8em;
	text-decoration: underline;	/* アンダーライン付ける */
}



/* レスポンシブデザイン */
@media (max-width: 768px) {
	.fixed-header .container {
		flex-direction: column;
		text-align: center;
	}

	.fixed-header nav ul {
		margin-top: 15px;
		flex-wrap: wrap;
		justify-content: center;
	}

	.fixed-header nav ul li {
		margin: 0 15px 10px;
	}

	#hero h1 {
		font-size: 2.5em;
	}

	#hero p {
		font-size: 1.1em;
	}

	h2 {
		font-size: 1.8em;
	}

	.service-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	#hero h1 {
		font-size: 2em;
	}

	#hero p {
		font-size: 1em;
	}

	.content-section {
		padding: 50px 0;
	}

	.news-list li {
		flex-direction: column;
		align-items: flex-start;
	}

	.news-date {
		margin-bottom: 5px;
	}
}


/*---------------------------------------------------*/
/* 会社概要ページ */
/*---------------------------------------------------*/
.company-info-table {
	margin-top: 40px;
	margin-bottom: 60px;
	border-collapse: collapse;
	width: 100%;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden; /* 角丸を適用するため */
}

.company-info-table th,
.company-info-table td {
	padding: 15px 20px;
	text-align: left;
	border-bottom: 1px solid #eee;
}

.company-info-table th {
	background-color: #f8f8f8;
	width: 150px; /* 見出しの幅を固定 */
	font-weight: bold;
	color: #555;
	white-space: nowrap; /* 折り返しを防ぐ */
}

.company-info-table tr:last-child th,
.company-info-table tr:last-child td {
	border-bottom: none;
}

.company-info-table ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.company-info-table ul li {
	margin-bottom: 5px;
}

.company-info-table ul li:last-child {
	margin-bottom: 0;
}

.map-container {
	margin-top: 40px;
	text-align: center;
}

.map-container iframe {
	width: 100%;
	max-width: 800px;
	height: 450px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
	.company-info-table th,
	.company-info-table td {
		display: block; /* 小画面ではブロック要素にする */
		width: auto;
		text-align: left;
	}
	.company-info-table th {
		background-color: #eee;
		padding-bottom: 5px;
	}
	.company-info-table td {
		padding-top: 5px;
		padding-bottom: 10px;
	}
	.company-info-table tr {
		margin-bottom: 20px;
		display: block;
		border: 1px solid #ddd;
		border-radius: 8px;
		overflow: hidden;
	}
	.company-info-table tr:last-child {
		margin-bottom: 0;
	}
	.company-info-table tr:last-child th,
	.company-info-table tr:last-child td {
		border-bottom: 1px solid #eee; /* スマホ表示時は線を表示 */
	}
	.company-info-table tr th:last-of-type,
	.company-info-table tr td:last-of-type {
		border-bottom: none;
	}
}




/*---------------------------------------------------*/
/* 実績ページ */
/*---------------------------------------------------*/
.achievement-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
	margin-top: 50px;
}

.achievement-item {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.achievement-item img {
	width: 100%;
	height: 110px;
	object-fit: cover;
	display: block;
}

.achievement-item h3 {
	/* 導入実績-タイトル */
	font-size: 1.4em;
	color: #4169E1;
	margin: 10px 20px 1px;
	padding-bottom: 5px;
	border-bottom: 1px solid #eee;
}
.achievement-item h4 {
	/* 導入実績-導入時期 */
	font-size: 0.8em;
	font-weight: normal;
	color: #858383;
	margin: 0px 20px 0px;
}


.achievement-item p {
	/* 導入案件説明 */
	font-size: 1em;
	color: #555;
	padding: 0 20px 0px;
	line-height: 1.5;		/* 行間 */
	margin: 0.5em 0px;   	/* <p>と<p>の行間調整 */
}

.achievement-item .tags {

	list-style: none;
	padding: 0 20px 20px;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.achievement-item .tags li {
	background-color: #e0eaff;	/* #タグの背景色薄いネイビー */
	color: #547aeb;
	padding: 5px 10px;
	border-radius: 3px;
	font-size: 0.65em;			/* #タグの文字サイズ*/
	font-weight: normal;
}

@media (max-width: 768px) {
	.achievement-grid {
		grid-template-columns: 1fr;
	}
}