/* ↓↓↓ ヘッダー(header) ↓↓↓ */
header {
	background-color: #fff;
	padding: 20px 0;
	border-bottom: 1px solid #eee;
	position: sticky; /* ヘッダーを固定 */
	top: 0;            /* 常にウィンドウの上部に配置 */
	z-index: 100;         /* 他の要素よりも前面に表示 */
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header h1 a {
	text-decoration: none;
	color: #333;
	font-size: 30px;
	font-weight: bold;
}

header nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
}

header nav ul li {
	margin-left: 20px;
}

header nav ul li a {
	text-decoration: none;
	color: #555;
	font-size: 16px;
	transition: color 0.3s ease;
}

header nav ul li a:hover {
	color: #007bff;
}

h1 a {
	font-family: 'Fredoka', sans-serif;
	font-size: 3em;
	font-weight: 700;
	text-decoration: none;
	color: #ff66aa; /* 明るいピンク */
	display: inline-block;
	padding: 20px 40px;
	background-color: #d6faff; /* ふんわりピンク背景 */
	border-radius: 20px;

	/* ふわっと浮かぶ影 */
	box-shadow: 0 8px 15px rgba(255, 102, 170, 0.3);

	/* 光沢アニメーション */
	position: relative;
	overflow: hidden;
}

h1 a::before {
	content: '';
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(
		120deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.6) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: skewX(-25deg);
	animation: shine 3s infinite;
	pointer-events: none;
}

@keyframes shine {
	0% {
		left: -75%;
	}
	100% {
		left: 125%;
	}
}
/* ↑↑↑ ヘッダー(header) ↑↑↑ */

body {
	font-family: 'Noto Sans JP', sans-serif;
	margin: 0;
	line-height: 1.6;
	color: #333;
	background-color: #f4f4f4;
	position: relative;
	z-index: 0;
}

body::before {
	content: "";
	position: fixed; /* スクロールしても背景が固定 */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("00背景/heroimage.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.4; /* 背景画像の透過度（0.0〜1.0） */
	z-index: -1;
	pointer-events: none; /* 背景がクリックを妨げないように */
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ↓↓↓ トップ(hero) ↓↓↓ */
.hero {
	padding: 80px 0;
	background-color: rgba(233, 236, 239, 0.1); /* 透明度 0.1 に変更 */
}

.hero .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.hero-content {
	flex: 1;
	padding-right: 40px;
}

.hero-content h1 {
	font-size: 36px;
	margin-bottom: 20px;
	font-family: 'Playfair Display', serif;
	color: #333;
}

.hero-content p {
	font-size: 18px;
	margin-bottom: 30px;
	color: #555;
}

.btn {
	display: inline-block;
	background-color: #007bff;
	color: #fff;
	padding: 12px 24px;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

.btn:hover {
	background-color: #0056b3;
}

.hero-image {
	flex: 1;
}

.hero-image img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* ↑↑↑ トップ(hero) ↑↑↑ */

/* ↓↓↓ 事業内容(services) ↓↓↓ */
.services {
	padding: 60px 0;
	background-color: rgba(233, 236, 239, 0.1); /* 透明度 0.1 に変更 */
}

.services h2 {
	text-align: center;
	font-size: 32px;
	margin-bottom: 40px;
	font-family: 'Playfair Display', serif;
	color: #333;
}

.service-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.service-item {
	text-align: center;
	padding: 30px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background-color: #f9f9f9;
	transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.service-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-item img {
	max-width: 80px;
	margin-bottom: 20px;
}

.service-item h3 {
	font-size: 20px;
	margin-bottom: 15px;
	color: #333;
}

.service-item p {
	color: #777;
}
/* ↑↑↑ 事業内容(services) ↑↑↑ */

/* ↓↓↓ 情報(works) ↓↓↓ */
.works {
	padding: 60px 0;
	background-color: rgba(233, 236, 239, 0.1); /* 透明度 0.1 に変更 */
}

.works h2 {
	text-align: center;
	font-size: 32px;
	margin-bottom: 40px;
	font-family: 'Playfair Display', serif;
	color: #333;
}

.work-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
}

.work-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.work-item img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.3s ease-in-out;
}

.work-item:hover img {
	transform: scale(1.1);
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.work-item:hover .overlay {
	opacity: 1;
}

.overlay h3 {
	font-size: 24px;
	margin-bottom: 10px;
}

.overlay p {
	margin-bottom: 20px;
}

.overlay a {
	color: #fff;
	border: 1px solid #fff;
	padding: 10px 20px;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

.overlay a:hover {
	background-color: rgba(255, 255, 255, 0.2);
}
/* ↑↑↑ 情報(works) ↑↑↑ */

/* ↓↓↓ お問い合わせ(contact) ↓↓↓ */
.contact {
	padding: 60px 0;
	background-color: rgba(233, 236, 239, 0.1); /* 透明度 0.1 に変更 */
}

.contact h2 {
	text-align: center;
	font-size: 32px;
	margin-bottom: 40px;
	font-family: 'Playfair Display', serif;
	color: #333;
}

.sns-links {
	display: flex;
	justify-content: center;
	margin-top: 30px;
	flex-wrap: wrap;
	gap: 10px;
}

.sns-btn {
	display: flex; /* flexbox を利用してアイコンを中央に配置 */
	justify-content: center;
	align-items: center;
	width: 50px; /* アイコンの幅に合わせて調整 */
	height: 50px; /* アイコンの高さに合わせて調整 */
	margin: 0 10px;
	text-decoration: none;
	color: #fff; /* アイコンの色によっては不要 */
	border-radius: 5px;
	font-size: 16px; /* 不要 */
	opacity: 1; /* 初期値を 1 に戻す */
	transition: opacity 0.3s ease;
}

.sns-btn img {
	max-width: 100%;
	height: auto;
	display: block;
}

.sns-btn:hover {
	opacity: 0.8;
}
/* ↑↑↑ お問い合わせ(contact) ↑↑↑ */

/* ↓↓↓ 会社概要(company) ↓↓↓ */
.company h2 {
	text-align: center;
	font-size: 32px;
	margin-bottom: 40px;
	font-family: 'Playfair Display', serif;
	color: #333;
}

.company p {
	text-align: center;
	font-family: 'Playfair Display', serif;
	color: #333;
}
/* ↑↑↑ 会社概要(company) ↑↑↑ */

/* ↓↓↓ フッター(footer) ↓↓↓ */
footer {
	background-color: #333;
	color: #fff;
	padding: 30px 0;
	text-align: center;
}

footer p {
	margin: 0;
	font-size: 14px;
}
/* ↑↑↑ フッター(footer) ↑↑↑ */

/* ↓↓↓ ヘッダーに飛ぶボタン ↓↓↓ */
#back-to-top {
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 5px;
	padding: 10px 15px;
	cursor: pointer;
}

#back-to-top:hover {
	background-color: #0056b3;
}
/* ↑↑↑ ヘッダーに飛ぶボタン ↑↑↑ */

/* レスポンシブ対応(スマホ用) */
@media (max-width: 768px) {
	/* ↓↓↓ ヘッダー(header) ↓↓↓ */
	header .container {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
	}
	
	header h1 {
		margin-bottom: 10px;
		text-align: left;
		width: 100%
	}
	
	header nav {
		width: 100%
		text-align: right;
	}
	
	header nav ul {
		display: flex;
		flex-direction: row;
		align-items: center;
		padding: 0;
		justify-content: flex-end;
	}
	
	header nav ul li {
		margin-left: 20px;
		margin-top: 0;
	}
	
	header nav ul li:first-child {
		margin-left: 0; /* 最初の項目の左マージンをリセット */
	}
	/* ↑↑↑ ヘッダー(header) ↑↑↑ */
	
	/* ↓↓↓ トップ(hero) ↓↓↓ */
	.hero .container {
		flex-direction: column;
		text-align: center;
	}
	
	.hero-content {
		padding-right: 0;
		margin-bottom: 30px;
	}
	/* ↑↑↑ トップ(hero) ↑↑↑ */
	
	/* ↓↓↓ 事業内容(services) ↓↓↓ */
	.service-list {
		grid-template-columns: 1fr;
	}
	/* ↑↑↑ 事業内容(services) ↑↑↑ */
	
	/* ↓↓↓ 情報(works) ↓↓↓ */
	.work-list {
		grid-template-columns: 1fr;
	}
	/* ↑↑↑ 情報(works) ↑↑↑ */
	
	/* ↓↓↓ お問い合わせ(contact) ↓↓↓ */
	.sns-links {
		flex-direction: row;
		align-items: center;
	}
	
	.sns-btn {
		margin: 10px 0;
	}
	/* ↑↑↑ お問い合わせ(contact) ↑↑↑ */
}
/* レスポンシブ対応(スマホ用) */

