/* サンプルサイトのスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'Hiragino Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ヘッダー */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
}

header h1 {
    text-align: center;
    margin-bottom: 15px;
}

header nav {
    text-align: center;
}

header nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background 0.3s;
}

header nav a:hover {
    background: rgba(255,255,255,0.2);
}

/* メインビジュアル */
.main-visual {
    background: #f8f9fa;
    padding: 60px 20px;
    text-align: center;
    min-height: 300px;
}

.main-visual h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #667eea;
}

.main-visual p {
    font-size: 18px;
    color: #666;
}

/* コンテンツエリア */
.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.content-area h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

/* 新着情報セクション */
.news-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background: #f8f9fa;
}

.news-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.news-date {
    display: inline-block;
    color: #667eea;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
}

.news-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-title a {
    color: #333;
    text-decoration: none;
}

.news-title a:hover {
    color: #667eea;
}

.news-excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.news-read-more {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.news-read-more:hover {
    color: #5568d3;
    text-decoration: underline;
}

/* 新着情報一覧ページ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.container h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

.news-list-full {
    max-width: 800px;
    margin: 0 auto;
}

.news-item-full {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.news-item-full time {
    display: block;
    color: #667eea;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-item-full h2 {
    font-size: 24px;
    margin: 0 0 15px;
    color: #333;
}

.news-item-full h2 a {
    color: #333;
    text-decoration: none;
}

.news-item-full h2 a:hover {
    color: #667eea;
}

.news-item-full .news-excerpt {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-content {
    color: #555;
    line-height: 1.8;
}

/* 新着情報詳細ページ */
.news-detail {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.news-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.news-detail-header time {
    display: block;
    color: #667eea;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-detail-header h1 {
    font-size: 28px;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.news-detail-content p {
    margin-bottom: 1em;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

.news-detail-content ul,
.news-detail-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.news-detail-content li {
    margin-bottom: 8px;
}

.news-detail-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #333;
}

.news-detail-content h3 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: #333;
}

.news-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.news-detail-content table th,
.news-detail-content table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.news-detail-content table th {
    background: #f7fafc;
    font-weight: 600;
}

.news-detail-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #5568d3;
}

/* テストサイト用情報ボックス */
.info-box {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
}

.info-box h2 {
    color: #856404;
    margin-bottom: 15px;
}

.info-box p {
    color: #856404;
    margin-bottom: 10px;
}

/* フッター */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

footer a {
    color: #667eea;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* 空メッセージ */
.empty-message {
    text-align: center;
    color: #999;
    padding: 60px 20px;
    font-size: 16px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .main-visual h2 {
        font-size: 28px;
    }
    
    header nav a {
        display: block;
        margin: 5px 0;
    }
}
