/* style.css */

/* 基本設定 */
body {
    font-family: 'Inter', sans-serif; /* Interフォントが読み込めない場合は、一般的なサンセリフフォントが適用されます */
    background-color: #f0f2f5; /* 背景色 */
    margin: 0;
    padding: 20px;
    box-sizing: border-box; /* paddingがwidthに含まれるように */
    -webkit-font-smoothing: antialiased; /* フォントの表示を滑らかに */
    -moz-osx-font-smoothing: grayscale; /* フォントの表示を滑らかに */
}

/* レイアウトの中心揃え */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* ビューポートの高さいっぱいを使用 */
}

/* コンテンツのコンテナ */
.container {
    background-color: #ffffff;
    border-radius: 12px; /* 角を丸く */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 軽い影 */
    padding: 24px 32px; /* 上下左右のパディング */
    width: 100%;
    max-width: 480px; /* 最大幅を設定 */
    margin: auto; /* 中央揃え */
    box-sizing: border-box;
}

/* ページタイトル */
.title {
    font-size: 1.5rem;
    font-weight: 700; /* bold */
    text-align: center;
    color: #333333;
    margin-bottom: 24px;
}

/* プロフィール画像 */
.profile-image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* 円形に */
    border: 4px solid #F08E94; /* 紫色の枠線 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* 影 */
    object-fit: cover; /* 画像の表示方法 */
}

/* 説明文 */
.description {
    font-size: 0.7rem;
    text-align: center;
    color: #555555;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* リンクセクション */
.links-section {
    display: flex;
    flex-direction: column; /* 縦並び */
    gap: 16px; /* リンク間のスペース */
}

/* リンクボタンの共通スタイル */
.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600; /* semi-bold */
    color: #ffffff;
    text-decoration: none; /* 下線をなくす */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out; /* ホバー時のアニメーション */
    transform: translateZ(0); /* ハードウェアアクセラレーションを有効化 */
}

.link-button:hover {
    transform: translateY(-2px) scale(1.02); /* 少し上に移動して拡大 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.link-button .icon {
    margin-right: 10px;
    font-size: 1.2em; /* アイコンのサイズ */
}

/* リンクボタンの色 */
.link-button.blue {
    background-color: #2563eb; /* blue-600 */
}
.link-button.blue:hover {
    background-color: #1d4ed8; /* blue-700 */
}

.link-button.pink {
    background-color: #ec4899; /* pink-500 */
}
.link-button.pink:hover {
    background-color: #db2777; /* pink-600 */
}

.link-button.sky {
    background-color: #0ea5e9; /* sky-500 */
}
.link-button.sky:hover {
    background-color: #0284c7; /* sky-600 */
}

.link-button.red {
    background-color: #dc2626; /* red-600 */
}
.link-button.red:hover {
    background-color: #b91c1c; /* red-700 */
}

.link-button.gray {
    background-color: #4b5563; /* gray-700 */
}
.link-button.gray:hover {
    background-color: #374151; /* gray-800 */
}

.link-button.green {
    background-color: #22c55e; /* green-500 */
}
.link-button.green:hover {
    background-color: #16a34a; /* green-600 */
}

/* フッター */
.footer-text {
    text-align: center;
    color: #999999;
    font-size: 0.5rem;
    margin-top: 32px;
}

/* スマートフォン向けの調整 */
@media (max-width: 600px) {
    .title {
        font-size: 1.5rem; /* 少し小さく */
    }
    .container {
        padding: 20px; /* パディングを減らす */
        border-radius: 8px; /* 角を少し小さく */
    }
}

/* さらに小さいスマートフォン（例：iPhone SEなど）向けの調整も検討する場合 */
@media (max-width: 400px) {
    .title {
        font-size: 1.0rem;
    }
}