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

html {
    /* これを入れると、リンクを踏んだときにスルルーっと優しくスクロールするで！ */
    scroll-behavior: smooth; 
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', sans-serif;
    color: #333;
}

/* ヘッダーの設定（上に固定するタイプ） */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px); /* 背景をちょっとぼかしてオシャレに */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    z-index: 100;
}

.logo {
    font-weight: bold;
    color: #2e7d32; /* 濃いめの安心する緑 */
    font-size: 1.2rem;
}

header nav a {
    text-decoration: none;
    color: #555;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

header nav a:hover {
    color: #4caf50; /* マウス乗せたら新緑の緑に変わる */
}

/* メインビジュアル（爽やかな最初のドカンとしたエリア） */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); /* ミントグリーンのグラデーション */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #1b5e20;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #4caf50;
}

/* 各セクションの共通設定 */
.content-section {
    padding: 100px 20px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 背景を交互に変えてスクロール感を引き立てる */
.light-green {
    background-color: #f1f8e9;
}

.content-section h2 {
    font-size: 2.5rem;
    color: #2e7d32;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

/* タイトルの下に緑の線（アクセント） */
.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #81c784;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 趣味とバイトの横並びカード */
.card-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex: 1;
    border-top: 5px solid #4caf50; /* カードの上が緑のライン */
}

.card h3 {
    margin-bottom: 15px;
    color: #1b5e20;
}

/* フッター */
footer {
    background-color: #2e7d32;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* スマホ対応（レスポンシブ） */
@media (max-width: 768px) {
    header { padding: 20px; }
    .hero-content h1 { font-size: 2.2rem; }
    .card-container { flex-direction: column; }
    .content-section { padding: 80px 20px; }
}