@charset "UTF-8";

/* ==========================================================================
   Font Faces
   ========================================================================== */
@font-face {
    font-family: 'IBMPlexSansJP';
    src: url('assets/fonts/WEB_IBMPlexSansJP-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-display: swap;
    src: url("assets/fonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/fa-brands-400.woff2") format("woff2");
}

.fas, .fab { 
    font-style: normal; /* イタリックを解除 */
}
.fas { font-family: "Font Awesome 6 Free"; font-weight: 900; }
.fab { font-family: "Font Awesome 6 Brands"; font-weight: 400; }

/* アイコン用クラス分け */
.fa-twitter:before { content: "\f099"; }
.fa-file-lines:before { content: "\f15c"; }
.fa-amazon:before { content: "\f270"; }
.fa-brain:before { content: "\f5dc"; }
.fa-line:before { content: "\f3c0"; }

/* ==========================================================================
   Global Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBMPlexSansJP', sans-serif;
    color: #fff;
    background-color: #000;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================================================
   Background Image (Fixed)
   ========================================================================== */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* ユーザー指定のドットフィルターを前面に配置 */
    background-image: radial-gradient(rgba(0,0,0,0.4) 30%, transparent 31%), 
                      radial-gradient(rgba(0,0,0,0.4) 30%, transparent 31%);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
    background-color: rgba(0,0,0,0.3);
    z-index: 2;
}

/* ==========================================================================
   Main Content
   ========================================================================== */
.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Profile */
.profile {
    text-align: center;
    margin-bottom: 40px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid rgba(255,255,255,0.8);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.profile-intro {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    max-width: 400px;
    background: rgba(0,0,0,0.4);
    padding: 10px 15px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

/* Links */
.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6); /* 黒の半透明に変更 */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 12px 25px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.1); /* ホバー時は少し明るく */
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
}

.link-icon {
    font-size: 24px;
    width: 40px;
    display: flex;
    justify-content: center;
}

.link-content {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.link-title {
    font-weight: 700;
    font-size: 1rem;
}

.link-desc {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding-top: 40px;
    }
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    .link-card {
        padding: 10px 20px;
    }
}
