:root {
    --primary-color: #0071e3;
    --background-color: #f5f5f7;
    --card-background: #fff;
    --text-color: #1d1d1f;
    --link-color: var(--primary-color);
    --secondary-text-color: #86868b;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 980px;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

h1,
h2 {
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    color: var(--text-color);
}

h2 {
    font-size: 1.8rem;
    color: var(--text-color);
}

p {
    color: var(--secondary-text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--card-background);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.card-img-top,
.img-fluid.rounded-start {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 500;
    font-size: 1.2rem;
}

.card-title a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #0056b3;
}

.card-text {
    color: var(--secondary-text-color);
}

.sns-icons a img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sns-icons a:hover img {
    transform: scale(1.1);
}

.sns-icons .col {
    text-align: center;
}

.links a {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--link-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.last-update {
    font-size: 0.9rem;
    color: #aaa;
}

/* style.css */

#sns-contents {
    position: relative;
}

#loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: #fff;
}

.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loading-overlay p {
    margin-top: 20px;
    font-size: 1.2rem;
    color: white;
}