/* style.css */

/* 基本的なスタイル */
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* ヘッダー */
header {
    background-color: #fff;
    padding: 15px 40px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* <<< ここから変更 >>> */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
}
.logo-container img {
    height: 50px;
    width: auto;
    margin-right: 15px;
}
.logo-text {
    font-size: 1.4em;
    font-weight: bold;
}
/* <<< ここまで変更 >>> */

.header-right {
    display: flex;
    align-items: center;
}
nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}
nav li {
    margin-left: 25px;
}
nav a {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
    transition: color 0.3s;
}
nav a:hover {
    color: #2980b9;
}
.lang-switcher {
    margin-left: 30px;
    font-size: 0.9em;
}
.lang-switcher a {
    text-decoration: none;
    color: #7f8c8d;
    font-weight: bold;
    padding: 5px;
    transition: color 0.3s;
}
.lang-switcher a:hover {
    color: #3498db;
}
.lang-switcher a.active {
    color: #2c3e50;
    cursor: default;
}

/* セクション共通 */
section {
    background-color: #fff;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
h2 {
    font-size: 1.6em;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-top: 0;
}

/* 記事スタイル */
article {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
article h3 {
    margin-top: 0;
}
/* <<< ここから変更 >>> */
article h3 a {
    text-decoration: none;
    color: #3498db;
}
article h3 a:hover {
    text-decoration: underline;
}
.meta-info {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 10px;
}
.author {
    margin-right: 15px;
}
/* <<< ここまで変更 >>> */

/* <<< ここから追加 >>> */
/* 歴史セクションの画像 */
.history-timeline {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 20px auto 0;
}
/* 問い合わせセクションの画像 */
.contact-email-img {
    max-width: 350px; /* 画像のサイズに合わせて調整 */
    margin-top: 10px;
}
/* <<< ここまで追加 >>> */

/* フッター */
footer {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-size: 0.9em;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    .logo-container {
        margin-bottom: 15px;
    }
    .header-right {
        flex-direction: column;
        width: 100%;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    nav li {
        margin: 10px 0;
        text-align: center;
    }
    .lang-switcher {
        margin-left: 0;
        margin-top: 15px;
    }
}
