/* ===================================
   グローバルスタイル
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --secondary-color: #2E7D32;
    --hp-color: #5C6BC0;
    --facebook-color: #1877F2;
    --twitter-color: #1DA1F2;
    --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --spotify-color: #1DB954;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-bg: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: var(--text-primary);
}

/* ===================================
   コンテナ
   =================================== */
.container {
    max-width: 680px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 50px 40px;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   ヘッダー
   =================================== */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-circle {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.logo-circle i {
    font-size: 50px;
    color: white;
}

.title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1px;
}

/* ===================================
   リンクコンテナ
   =================================== */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

/* ===================================
   リンクカード
   =================================== */
.link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: var(--card-bg);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.link-card:active {
    transform: translateY(-2px);
}

/* ===================================
   アイコン
   =================================== */
.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.link-card:hover .icon-wrapper {
    transform: rotate(10deg) scale(1.1);
}

.icon-wrapper i {
    font-size: 28px;
    color: white;
}

.icon-wrapper.hp {
    background: var(--hp-color);
}

.icon-wrapper.facebook {
    background: var(--facebook-color);
}

.icon-wrapper.twitter {
    background: var(--twitter-color);
}

.icon-wrapper.instagram {
    background: var(--instagram-gradient);
}

.icon-wrapper.spotify {
    background: var(--spotify-color);
}

/* ===================================
   リンクコンテンツ
   =================================== */
.link-content {
    flex: 1;
}

.link-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.link-url {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ===================================
   矢印アイコン
   =================================== */
.arrow {
    font-size: 20px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.link-card:hover .arrow {
    transform: translateX(5px);
    color: var(--primary-color);
}

/* ===================================
   フッター
   =================================== */
.footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===================================
   レスポンシブデザイン
   =================================== */
@media (max-width: 768px) {
    .container {
        padding: 40px 25px;
        border-radius: 20px;
    }

    .title {
        font-size: 24px;
    }

    .subtitle {
        font-size: 12px;
    }

    .logo-circle {
        width: 80px;
        height: 80px;
    }

    .logo-circle i {
        font-size: 40px;
    }

    .link-card {
        padding: 15px 20px;
        gap: 15px;
    }

    .icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .icon-wrapper i {
        font-size: 24px;
    }

    .link-title {
        font-size: 16px;
    }

    .link-url {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 30px 20px;
    }

    .title {
        font-size: 20px;
    }

    .links-container {
        gap: 15px;
    }

    .link-card {
        padding: 12px 15px;
    }

    .icon-wrapper {
        width: 45px;
        height: 45px;
    }

    .icon-wrapper i {
        font-size: 20px;
    }

    .link-title {
        font-size: 15px;
    }

    .link-url {
        font-size: 12px;
    }
}
