/* 基本設定 */
:root {
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --light-color: #f1faee;
    --accent-color: #a8dadc;
    --text-color: #333;
    --light-text: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ヘッダー */
header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 50px 0;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

header .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
}

/* メインコンテンツ */
main {
    margin-bottom: 60px;
}

.intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* サイトカード */
.site-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.site-card h2 {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    font-size: 1.5rem;
    margin: 0;
}

.site-image {
    padding: 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #eee;
}

.site-image img {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.site-description {
    padding: 20px;
}

.site-description h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}

.site-description ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.site-description li {
    margin-bottom: 8px;
}

.site-description p {
    text-align: right;
}

.site-description a {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.site-description a:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
}

/* まとめセクション */
.conclusion {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.conclusion h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

/* フッター */
footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 20px 0;
    text-align: center;
}

/* レスポンシブ設定 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    header .subtitle {
        font-size: 1rem;
    }
    
    .site-card h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 30px 0;
    }
    
    header h1 {
        font-size: 1.6rem;
    }
    
    .site-description {
        padding: 15px;
    }
    
    .site-description ul {
        margin-left: 15px;
    }
}
