/* 基本設定 */
body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    color: #333;
    background-color: #ffffff; /* 白ベース */
    line-height: 1.6;
}

/* ナビゲーション */
nav {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #888;
    font-weight: bold;
    transition: 0.3s;
}

nav a.active, nav a:hover {
    color: #a2d2ff; /* 差し色の薄い青 */
}

/* メインコンテンツ */
main {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    margin-bottom: 60px;
}

h1, h2, h3 {
    color: #333;
    font-weight: 300;
}

h2 {
    border-left: 4px solid #a2d2ff;
    padding-left: 15px;
    margin-bottom: 30px;
}

/* YouTubeグリッド */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    margin-bottom: 10px;
    background-color: #f0f0f0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-item p {
    font-size: 0.9rem;
    color: #666;
}

/* 制作実績 */
.year-block {
    margin-bottom: 30px;
}

.year-block h3 {
    border-bottom: 1px solid #a2d2ff;
    display: inline-block;
}

/* リンクカード */
.link-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 20px;
    background-color: #f8fbff;
    border: 1px solid #e3f2fd;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: 0.3s;

    line-height: 1; /* ← 重要 */
}

.link-card img {
    width: 20px;
    height: 20px;
    display: block; /* ← 重要 */
}

.link-card span {
    display: block;
    line-height: 1; /* ← 重要 */
}

.link-card:hover {
    background-color: #a2d2ff;
    color: white;
}

/* フッター */
footer {
    text-align: center;
    padding: 40px;
    font-size: 0.8rem;
    color: #aaa;
}

/* レスポンシブ (スマホ対応) */
@media (max-width: 600px) {
    nav ul li {
        margin: 0 10px;
        font-size: 0.9rem;
    }
}