/* 基本リセットとフォント設定 */
body,
html {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font-family:
		-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
		Arial, sans-serif;
	line-height: 1.6;
}

/* ボックスサイズの計算方法を統一 */
* {
	box-sizing: border-box;
}

/* 背景画像 */
.background-image {
	position: fixed; /* 画面に固定 */
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh; /* 画面の高さ100% */
	z-index: -1; /* 最背面に配置 */

	background-image: url("background.jpg");
	background-size: cover; /* 画面全体を覆う */
	background-position: center; /* 中央に配置 */
	/* background-color: #f0f2f5; */ /* 画像がない場合の背景色 */
}

/* メインコンテンツコンテナ */
.container {
	display: flex;
	flex-direction: column; /* 子要素を縦に並べる */
	align-items: center; /* 水平方向中央揃え */
	padding: 40px 20px;
	min-height: 100vh; /* 最低でも画面の高さ分を確保 */
}

/* プロフィールセクション */
.profile {
	text-align: center;
	margin-bottom: 30px;
	/* コンテンツを見やすくするため、少し背景色をつける (Lit.Link風) */
	background-color: rgba(255, 255, 255, 0.9); /* 半透明の白 */
	padding: 20px;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	max-width: 600px;
	width: 90%; /* スマホ対応 */
}

/* アバター画像 */
.avatar {
	width: 100px;
	height: 100px;
	border-radius: 50%; /* 円形にする */
	object-fit: cover; /* 画像の比率を保ったままトリミング */
	border: 3px solid white;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* プロフィール名 */
.profile-name {
	font-size: 1.5rem; /* 24px */
	font-weight: 600;
	margin-top: 10px;
	margin-bottom: 0;
	color: #333;
}

/* リンク一覧コンテナ */
.links {
	display: flex;
	flex-direction: column; /* リンクを縦に並べる */
	width: 90%; /* スマホ対応 */
	max-width: 600px; /* PCでの最大幅 */
}

/* リンクボタン */
.link-button {
	display: block;
	background-color: #ffffff; /* ボタンの背景色 */
	color: #333; /* 文字色 */
	text-decoration: none; /* 下線を消す */
	padding: 15px 20px;
	margin-bottom: 15px; /* ボタン間の余白 */
	border-radius: 10px; /* 角を丸くする */
	font-weight: 600; /* 文字の太さ */
	text-align: center;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 影をつける */

	/* ホバー時のアニメーション設定 */
	transition:
		transform 0.2s ease-in-out,
		box-shadow 0.2s ease-in-out;
}

/* リンクボタンのホバーエフェクト */
.link-button:hover {
	transform: scale(1.03); /* 少し大きくする */
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* * レスポンシブデザイン 
 * (今回は元々%とmax-widthを使っているため、
 * 特別なメディアクエリは不要ですが、
 * 必要に応じて追記します)
*/
/*
@media (max-width: 768px) {
    .container {
        padding: 20px 10px;
    }
    .profile, .links {
        width: 95%;
    }
}
*/
