/* --- 変数設定 --- */
:root {
    --main-color: #5d4037; /* 木の茶色 */
    --accent-bg: #fdfaf5; /* 非常に薄いベージュ */
    --text-color: #333;
    --light-gray: #eee;
}

/* --- 全体設定 --- */
* { box-sizing: border-box; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    margin: 0;
    line-height: 1.8;
    background-color: #fff;
}

h1, h2, h3 {
    font-family: 'Noto Serif JP', serif;
    margin-top: 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ヘッダー --- */
.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo { font-size: 1.4rem; letter-spacing: 2px; color: var(--main-color); }

.main-nav ul {
    list-style: none; display: flex; gap: 25px; margin: 0; padding: 0; align-items: center;
}

.main-nav a { text-decoration: none; color: var(--text-color); font-size: 0.85rem; font-weight: 500; }

.nav-tel {
    background: var(--main-color); color: #fff !important;
    padding: 8px 18px; border-radius: 50px;
}

/* --- メインビジュアル --- */
.hero {
    height: 70vh;
    /* 上から下に黒〜透明のグラデーションを重ねることで、上部の文字を見えにくくします */
    background: 
        linear-gradient(rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 20%), 
        linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), 
        url('images/header_bg.png') center/cover;
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: #fff; 
    text-align: center;
}

.hero h2 { font-size: 2.5rem; margin-bottom: 15px; }
.sub-title { display: block; font-size: 0.9rem; letter-spacing: 4px; margin-bottom: 10px; }

/* --- セクション共通 --- */
.content-section { padding: 100px 0; border-bottom: 1px solid var(--light-gray); }

.section-title { text-align: center; margin-bottom: 60px; }
.section-title span { display: block; color: var(--main-color); font-size: 0.8rem; letter-spacing: 2px; font-weight: bold; }
.section-title h2 { font-size: 1.8rem; position: relative; display: inline-block; padding-bottom: 15px; }

/* --- 施工実績ギャラリー --- */
.work-category { margin-bottom: 60px; }
.work-category h3 { font-size: 1.1rem; margin-bottom: 20px; border-left: 3px solid var(--main-color); padding-left: 15px; }

.gallery-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.work-item img { width: 100%; height: 350px; object-fit: cover; border-radius: 2px; }

/* --- 会社概要テーブル --- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 20px; border-bottom: 1px solid var(--light-gray); text-align: left; }
.info-table th { width: 30%; background: var(--accent-bg); font-weight: 500; }

/* --- フッター --- */
.site-footer { background: #222; color: #fff; padding: 60px 20px; text-align: center; font-size: 0.9rem; }
.copyright { opacity: 0.5; margin-top: 40px; font-size: 0.75rem; }

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .main-nav { display: none; } /* 本来はハンバーガーメニューにすべきですが、シンプル化のため非表示 */
    .hero h2 { font-size: 1.8rem; }
    .gallery-2col { grid-template-columns: 1fr; }
    .work-item img { height: 250px; }
    .info-table th { width: 40%; }
}
