/* ========================================
   共通スタイル
   ======================================== */

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #faf8f3;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ヘッダー
   ======================================== */
header {
    background: linear-gradient(135deg, #E89B3C 0%, #D4813A 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 28px;
    font-weight: bold;
}

header nav {
    display: flex;
    gap: 30px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.3s;
}

header nav a:hover {
    opacity: 0.8;
}

header nav a.active {
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

/* ========================================
   メインコンテンツ
   ======================================== */
main {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

/* ========================================
   ボタン
   ======================================== */
.btn-primary {
    background: linear-gradient(135deg, #3D9B8F 0%, #358A7E 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E89B3C 0%, #D4813A 100%);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-large {
    width: 100%;
    padding: 15px;
    font-size: 18px;
}

.btn-secondary {
    background: transparent;
    color: #3D9B8F;
    border: 2px solid #3D9B8F;
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #3D9B8F;
    color: white;
}

/* ========================================
   フッター
   ======================================== */
footer {
    background: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
}

footer p {
    font-size: 14px;
}

/* ========================================
   レスポンシブ（スマホ対応）
   ======================================== */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    header nav {
        gap: 15px;
    }
    
    header nav a {
        font-size: 14px;
    }
}