/* ===============================
   Wemake - 統一スタイルシート
   緑色基調 × こげ茶色文字
   =============================== */

/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Arial, Meiryo, sans-serif;
    line-height: 1.9;
    color: #3e2723;  /* こげ茶色 */
    background-color: #f5f9f5;  /* 薄い緑がかった白 */
}

/* 背景グラデーション画像用 */
body.with-gradient {
    background: url('../images/background-gradient.png') no-repeat center center fixed;
    background-size: cover;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #a8d5a5;  /* 優しい緑 */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #3e2723;  /* こげ茶色 */
}

.logo-image {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(168, 213, 165, 0.4);
    font-size: 2rem;
    font-weight: bold;
    color: #66bb6a;  /* 明るい緑 */
}

.logo-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-text {
    margin-left: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #3e2723;  /* こげ茶色 */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #5d4037;  /* こげ茶色 */
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #66bb6a;  /* 緑 */
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #66bb6a;  /* 緑 */
}

.nav-links a:hover::after {
    width: 100%;
}

/* ヒーローセクション */
.hero {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #a8d5a5 0%, #81c784 100%);  /* 緑のグラデーション */
    color: #ffffff;
    border-radius: 0 0 40px 40px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(168, 213, 165, 0.3);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.98;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* メインコンテンツ */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 400px);
}

.content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    margin: 2rem auto;
    max-width: 900px;
    border: 1px solid rgba(168, 213, 165, 0.3);
}

/* 見出しスタイル */
h1 {
    font-size: 2.2rem;
    color: #3e2723;  /* こげ茶色 */
    margin-bottom: 1.8rem;
    border-bottom: 3px solid #a8d5a5;  /* 緑 */
    padding-bottom: 0.8rem;
    font-weight: 700;
}

h2 {
    font-size: 1.6rem;
    color: #4e342e;  /* こげ茶色 */
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    padding-left: 1.2rem;
    border-left: 5px solid #66bb6a;  /* 緑 */
    font-weight: 600;
}

h3 {
    font-size: 1.3rem;
    color: #5d4037;  /* こげ茶色 */
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* テキストスタイル */
p {
    margin-bottom: 1.2rem;
    color: #4e342e;  /* こげ茶色 */
    line-height: 1.9;
}

.section {
    margin-bottom: 3rem;
}

.section:last-child {
    margin-bottom: 0;
}

/* リストスタイル */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.8rem;
    color: #4e342e;  /* こげ茶色 */
}

ul li::marker {
    color: #66bb6a;  /* 緑 */
}

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

table th,
table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #e8f5e9;  /* 薄い緑 */
}

table th {
    background-color: #c8e6c9;  /* 優しい緑 */
    font-weight: 600;
    color: #2e7d32;  /* 濃い緑 */
}

table tr:hover {
    background-color: #f1f8f1;  /* 薄い緑 */
}

table td {
    color: #4e342e;  /* こげ茶色 */
}

/* 強調テキスト */
.highlight {
    background-color: #fff9e6;
    padding: 1.5rem;
    border-left: 5px solid #ffc107;
    border-radius: 8px;
    margin: 1.5rem 0;
    color: #5d4037;  /* こげ茶色 */
}

strong {
    color: #3e2723;  /* 濃いこげ茶色 */
    font-weight: 600;
}

/* リンクスタイル */
a {
    color: #66bb6a;  /* 緑 */
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: #43a047;  /* 濃い緑 */
    text-decoration: underline;
}

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #81c784 0%, #66bb6a 100%);  /* 緑のグラデーション */
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 187, 106, 0.4);
    color: white;
    text-decoration: none;
}

/* フッター */
footer {
    background: #a8d5a5;  /* 優しい緑 */
    color: #3e2723;  /* こげ茶色 */
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 5rem;
    border-top: 3px solid #81c784;  /* 緑 */
}

footer p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .content-wrapper {
        padding: 2rem;
        margin: 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .hero {
        padding: 2.5rem 1rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .content-wrapper {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }
}
