/* CSSカスタムプロパティ（変数） */
:root {
    --bg-gradient-start: #000000;
    --bg-gradient-end: #2d1341;
    --text-color: #ffffff;
    --notice-text-color: #bbbbbb;
    --icon-bg-color: #1e1e1e;
}

@keyframes moveBackground {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body {
    background: linear-gradient(to bottom right, var(--bg-gradient-start), var(--bg-gradient-end));
    background-size: 400% 400%;
    animation: moveBackground 50s ease infinite;
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    /* 画面端の余白 */
    box-sizing: border-box;
    /* paddingを含めてwidth/heightを計算 */
}

.container {
    width: 100%;
    max-width: 800px;
    /* PCでの最大幅を設定 */
    text-align: left;
}

.profile {
    margin-bottom: 20px;
}

.name {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.affiliation-ja,
.affiliation-en {
    font-size: 1.2rem;
    margin: 5px 0 10px 0;
}

.notice {
    font-size: 0.9rem;
    color: var(--notice-text-color);
    margin-bottom: 30px;
}

.notice ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    /* リンクアイコンを中央揃えに */
}

.link {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    text-decoration: none;
    color: var(--text-color);
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--icon-bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out;
}

.icon:hover {
    transform: scale(1.1);
}

.icon img {
    width: 40px;
    height: 40px;
}

.link-text {
    margin-top: 5px;
    font-size: 0.9rem;
}
