/* ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 上部に揃える */
    height: auto;
    min-height: 100vh;
    padding: 20px;
}

/* h1のサイズを小さくする */
h1 {
    font-size: 24px;  /* 小さく設定 */
    margin-bottom: 20px; /* h1下の余白を追加 */
}

/* 他のスタイルはそのまま */
.container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* リンクカードのスタイル */
.link-card-wrapper {
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.link-card-wrapper:hover {
    transform: translateY(-5px);
}

.link-card {
    text-decoration: none;
    color: #333;
}

.link-card-content {
    display: flex;
    flex-direction: column;
}

.link-card-image {
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.link-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-card-text {
    padding: 15px;
    background-color: #fff;
}

.link-card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.link-card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.link-card-domain {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f9f9f9;
}

.link-card-domain img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.link-card-domain p {
    font-size: 12px;
    color: #888;
    margin: 0;
}