/* style.css */

/* 基本リセットとフォント設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    margin: 0;
    padding: 0;
    color: black;
    line-height: 1.6;
    text-align: center;

    /* 背景画像の設定 */
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;

    /* センター配置*/
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

main {
    padding: 50px 20px;
    max-width: 600px;

    /* スペーサー: 上75px 左右auto 下20px (フッターとの間隔) */
    margin: 75px auto 20px auto;

    /* Flexbox設定を上書き */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* メインコンテンツエリアの背景を半透明の白 (不透明度70%) に設定 */
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* プロフィールアバターのコンテナ */
.profile-avatar {
    margin-bottom: 15px;
}

/* アイコン画像スタイル */
.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ddd;
    vertical-align: middle;
}

/* 名前 */
h1 {
    font-size: 1.8em;
    margin-bottom: 0;
}

/* IDのスタイル */
.user-id {
    color: #888;
    font-size: 0.9em;
    margin-top: 0;
    margin-bottom: 25px;
}


.bio {
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 40px;
}

/* 区切り線 */
hr {
    border: none;
    border-top: 1px solid #333;
    width: 50px;
    margin: 40px auto;
}

/* リンクとリスト */
.contact-links h2 {
    font-size: 1.1em;
    margin-bottom: 15px;
    border: none;
    padding: 0;
}

.contact-links ul {
    list-style: none;
    padding: 0;
}

.contact-links li {
    /* 汎用リストアイテムのデフォルトマージン */
    margin-bottom: 10px;
}

/* アイコンリンク専用のスタイル */
.icon-list {
    display: flex;
    /* Flexboxで横並びにする */
    justify-content: center;
    /* 中央揃えにする */
    gap: 30px;
    /* アイコン間のスペース */

    /* hr (40px) のマージンと footer の間のスペースを調整 */
    margin-top: 40px;
    margin-bottom: 40px;
}

/* icon-list li は generic .contact-links li を上書き */
.icon-list li {
    margin-bottom: 0;
}

.icon-list a {
    text-decoration: none;
    /* 下線を削除 */
    font-size: 2.2em;
    /* アイコンサイズ */
    color: #333;
    /* アイコンの色を濃い灰色に */
    transition: color 0.3s;
}

.icon-list a:hover {
    color: #000;
    /* ホバーでさらに濃く */
}

a {
    color: black;
    text-decoration: underline;
}

a:hover {
    color: #555;
}

/* フッター */
footer {
    padding: 20px;
    font-size: 0.8em;
    color: #666;
    margin-top: 0;
    /* 背景透明度の設定を削除（透明） */
}