body {
    color: #000000;
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #ffcf33, #ff9900);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* カード部分 */
.card {
    background: linear-gradient(to bottom, #ffe37b, #ffb347);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* プロフィールアイコン */
.profile-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* タイトル */
.card h1 {
    margin: 10px 0;
    font-size: 1.5rem;
}

/* 説明文 */
.description {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* 横長ボタン共通 */
.button-row {
    display: flex;
    justify-content: center; /* 中央揃え */
    gap: 20px; /* ボタン間の間隔 */
    flex-wrap: wrap; /* 小さい画面で折り返す */
    margin: 20px 0;
}
.long-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 250px; /* 少し横長に */
    padding: 12px 16px;
    font-size: 2rem;
    text-decoration: none;
    color: black;
    background-color: #E8F5FD;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    justify-content: center;
}
.icon { /*長いボタンの*/
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.long-button:hover {
    transform: scale(1.15);
}

.long-button .icond {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* SNSアイコン列 */
.sns-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

    .sns-icons img {
        width: 30px;
        height: 30px;
        transition: transform 0.2s;
    }

        .sns-icons img:hover {
            transform: scale(1.2);
        }

/* リンクボタン */
.link-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 12px 20px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

    .link-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.03);
    }

    .link-btn img {
        width: 20px;
        height: 20px;
    }

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
    white-space: nowrap;
    
}


    .icon-grid a {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #fff;
        border-radius: 12px;
        padding: 1rem;
        text-decoration: none;
        color: inherit;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        transition: transform 0.2s ease;
    }

        .icon-grid a:hover {
            transform: scale(1.15);
            　 /*ポイントでアイコン拡大*/
        }

    .icon-grid img {
        width: 48px;
        height: 48px;
        margin-bottom: 0.5rem;
        /* 画像に fill がある場合にカラー適用 */
        filter: grayscale(0);
    }

    .icon-grid span {
        font-size: 0.9rem;
        margin-top: 0.25rem;
    }

    /* 背景（円形） */
    .icon-grid a {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        background-color: #E8F5FD;
        border-radius: 33%;
    }

.qr-code {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: auto;
    z-index: 1000;
    opacity: 0.9;
    display: block; /* PCでは表示 */
}
/* スマホ・タブレットは非表示 */
@media (max-width: 768px) {
    .qr-code {
        display: none;
    }
}