/* --- 基本設定 --- */
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	margin: 0;
	color: #333;
	background-color: #f8f9fa;
	line-height: 1.8;
}
.container {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px;
}

/* --- ヘッダー --- */
header {
	background-color: #fff;
	border-bottom: 1px solid #ddd;
	padding: 20px 0;
}
header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
header h1 {
	margin: 0;
	font-size: 24px;
	color: #333;
}
header nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
header nav ul li {
	display: inline-block;
	margin-left: 25px;
}
header nav a {
	text-decoration: none;
	color: #005A9C; /* アクセントカラー(青) */
	font-weight: bold;
	font-size: 16px;
}
header nav a:hover {
	text-decoration: underline;
}

/* --- メインコンテンツ --- */
main {
	flex: 1;
	padding: 40px 0;
}
.page-title {
	font-size: 32px;
	text-align: center;
	margin-bottom: 40px;
	color: #005A9C;
}
.content-section {
	background-color: #fff;
	padding: 30px;
	border: 1px solid #ddd;
	border-radius: 5px;
	margin-bottom: 30px;
}

/* --- トップページ専用 --- */
.hero {
	background-color: #005A9C; /* アクセントカラー(青) */
	color: #fff;
	padding: 80px 20px;
	text-align: center;
}
.hero h2 {
	font-size: 36px;
	margin: 0 0 15px 0;
}
.hero p {
	font-size: 18px;
	margin: 0;
}
.home-section {
	padding: 50px 0;
	text-align: center;
}
.button {
	display: inline-block;
	background-color: #00897B; /* アクセントカラー(緑) */
	color: #fff;
	padding: 12px 25px;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	margin-top: 15px;
}
.button:hover {
	opacity: 0.9;
}

/* --- 会社概要・事業内容・お問い合わせ --- */
table.profile-table {
	width: 100%;
	border-collapse: collapse;
}
table.profile-table th, table.profile-table td {
	border: 1px solid #ddd;
	padding: 15px;
	text-align: left;
}
table.profile-table th {
	background-color: #f2f2f2;
	width: 30%;
}
.service-list h3 {
	color: #00897B; /* アクセントカラー(緑) */
	border-left: 5px solid #00897B;
	padding-left: 10px;
}

/* --- フッター --- */
footer {
	text-align: center;
	padding: 25px 0;
	margin-top: 40px;
	background-color: #343a40;
	color: #fff;
}

/* --- ヘッダーのナビゲーション（現在地表示） --- */
header nav .current a {
	color: #00897B; /* アクセントカラー(緑)に変更 */
	text-decoration: none;
}


/* --- 事業内容ページのカードデザイン --- */
.service-cards-container {
	display: flex;
	gap: 25px; /* カード間の余白 */
	margin-bottom: 40px; /*下の理念メッセージとの余白*/
}

.service-card {
	flex: 1; /* 3つのカードが均等な幅になるように */
	padding: 20px 25px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* カードにマウスを乗せると少し浮き上がる効果 */
.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card h3 {
	color: #00897B; /* アクセントカラー(緑) */
	margin-top: 0; /* h3の上の余白を削除 */
	font-size: 1.2em; /* アイコンとのバランス調整 */
	/* 元のborder-leftスタイルはカードデザインに合わないため、 .service-list h3 の指定を上書き */
	border-left: none;
	padding-left: 0;
}

/* --- 理念メッセージのデザイン --- */
.vision-message {
	background-color: #f4f8f7; /* 薄い緑系の背景色 */
	padding: 30px;
	border-radius: 8px;
	text-align: center;
	border-left: 5px solid #00897B; /* デザインのアクセント */
	margin-top: 20px;
}

.vision-message p {
	margin: 0;
	font-size: 1.1em;
	line-height: 1.9;
}


/* --- スマートフォン向けの表示調整（レスポンシブ対応） --- */
@media (max-width: 768px) {
	.service-cards-container {
		flex-direction: column; /* 横並びから縦並びに変更 */
	}

	header .container {
		flex-direction: column; /* ヘッダーのロゴとナビを縦並びに */
		gap: 15px;
	}
}