/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.7;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* ヘッダー・著者情報 */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #4CAF50;
    padding: 20px 0;
    margin-bottom: 30px;
}

.author-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.author-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.author-card {
    background: linear-gradient(135deg, #2196F3 0%, #4CAF50 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.author-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: bold;
}

.author-card a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: border-bottom 0.3s ease;
}

.author-card a:hover {
    border-bottom: 2px solid white;
}

.author-desc {
    font-size: 0.9em;
    margin-top: 10px;
    opacity: 0.9;
}

/* メインコンテンツ */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

article {
    padding: 40px;
}

/* 見出しスタイル */
h1 {
    font-size: 2.5em;
    color: #2196F3;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #2196F3, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

h2 {
    font-size: 1.8em;
    color: #2196F3;
    margin: 40px 0 20px 0;
    padding: 15px 0 15px 20px;
    border-left: 5px solid #4CAF50;
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 5px;
}

h3 {
    font-size: 1.3em;
    color: #4CAF50;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(76, 175, 80, 0.3);
}

/* イントロセクション */
.intro-section {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(76, 175, 80, 0.1) 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.intro-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto 20px auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* セクション画像 */
.section-image {
    width: 100%;
    max-width: 700px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.section-image:hover {
    transform: scale(1.02);
}

/* リストスタイル */
ul, ol {
    margin: 20px 0 20px 30px;
}

li {
    margin: 10px 0;
    padding-left: 10px;
}

ul li::marker {
    color: #4CAF50;
}

ol li::marker {
    color: #2196F3;
    font-weight: bold;
}

/* 強調テキスト */
strong {
    color: #2196F3;
    font-weight: bold;
}

/* テーブルスタイル */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, #2196F3, #4CAF50);
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table tbody tr:hover {
    background-color: rgba(76, 175, 80, 0.05);
}

.comparison-table tbody tr:nth-child(even) {
    background-color: rgba(33, 150, 243, 0.02);
}

/* サマリーセクション */
.summary-section {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(33, 150, 243, 0.1) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(33, 150, 243, 0.2);
    margin: 40px 0;
}

/* 著者セクション */
.author-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 30px;
    border-radius: 15px;
    margin-top: 50px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.author-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.author-card-detail {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.author-card-detail h3 {
    color: #2196F3;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.author-card-detail a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.author-card-detail a:hover {
    text-decoration: underline;
}

/* パラグラフスタイル */
p {
    margin: 15px 0;
    text-align: justify;
}

/* フッター */
footer {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #666;
    border-top: 2px solid #4CAF50;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .author-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .author-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    article {
        padding: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    h3 {
        font-size: 1.2em;
    }
    
    .intro-image,
    .section-image {
        height: 250px;
    }
    
    .comparison-table {
        font-size: 0.9em;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    main {
        margin: 0 10px;
        border-radius: 10px;
    }
    
    article {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    .intro-image,
    .section-image {
        height: 200px;
    }
    
    .intro-section,
    .summary-section,
    .author-section {
        padding: 20px;
    }
    
    .author-card {
        padding: 15px;
    }
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

article {
    animation: fadeIn 0.8s ease-out;
}

/* ホバーエフェクト */
.author-card-detail:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* スクロール時のスムーズ効果 */
html {
    scroll-behavior: smooth;
}