/**
 * header-layout.css - 公開ページ共通レイアウト（リセット・ヘッダー・フッター・パンくず等）
 * v1.92L26: public_header.phpのインラインCSSから外部化
 * 
 * このCSSはpublic_header.phpを使う全ページで読み込まれます:
 *   view/index.php, responder_detail.php, responders.php,
 *   about/index.php, contact/index.php, promiss/index.php,
 *   responder_contact.php, contact/thanks/index.php
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.7;
    color: #000000;
    background: #fdfcfb;
    min-height: 100vh;
}

/* ヘッダー */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-weight: bold;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo-main {
    font-size: 3.2rem;
    background: linear-gradient(135deg, #8b6f47 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 1.8rem;
    color: #666;
    font-weight: normal;
    line-height: 1.2;
}

/* パンくずリスト */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    color: #000;
}

.breadcrumb a {
    color: #8b6f47;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: #999;
}

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

.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
}

.main-content {
    min-width: 0;
}

/* ページヘッダー */
.page-header {
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b6f47 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.page-meta {
    color: #000;
    font-size: 0.9rem;
}

/* 共通カードスタイル */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 1.2rem 1.5rem;
    }

    .logo {
        flex: 1;
    }

    .logo-main {
        font-size: 2.4rem;
    }

    .logo-subtitle {
        font-size: 1.2rem;
    }

    .container {
        padding: 0 1rem 1rem;
    }

    .breadcrumb {
        padding: 0.8rem 1rem;
    }

    .page-title {
        font-size: 1.4rem;
    }
}
