/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

h2.section-title {
    text-align: center;
    font-size: 2rem;
    color: #0047ab; /* コーポレートカラー：青 */
    margin-bottom: 40px;
    position: relative;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #0047ab;
    margin: 10px auto 0;
}

/* ヘッダー */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

header h1 {
    font-size: 1.2rem;
    color: #0047ab;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* =========================================
   メインビジュアル (Hero Section)
   ========================================= */
.hero {
    /* 新しい屋外工事の画像（hero-outdoor.png）を指定。
       文字を読みやすくするため、青色の透過レイヤーを少し薄く（0.6）重ねます。
    */
    background: linear-gradient(rgba(0, 71, 171, 0.6), rgba(0, 71, 171, 0.6)), 
                url('hero-outdoor.png') no-repeat center center;
    
    /* 画像をエリア全体に広げ、常に中央を表示 */
    background-size: cover;
    
    /* 外の工事のダイナミックさを出すため、高さを少し広げます（600px） */
    height: 600px; 
    
    /* 中央配置のための設定 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    
    /* 少し影をつけて立体感を出す */
    box-shadow: inset 0 0 100px rgba(0,0,0,0.3);
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3rem; /* 文字を少し大きく */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* 文字の視認性を確保 */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* スマホ対応の調整 */
@media (max-width: 768px) {
    .hero { height: 500px; }
    .hero-content h2 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
}

.btn {
    display: inline-block;
    background: #ff9900; /* アクセントカラー：オレンジ */
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
}

/* 事業内容（カード形式） */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #0047ab;
}

.card h3 {
    margin-bottom: 15px;
    color: #0047ab;
}

/* 会社概要テーブル */
.bg-light { background-color: #f4f7fa; }

.info-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-collapse: collapse;
}

.info-table th, .info-table td {
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

.info-table th {
    width: 30%;
    text-align: left;
    background-color: #eef2f6;
}

/* お問い合わせ */
.contact-box {
    background: #0047ab;
    color: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    margin-top: 30px;
}

.tel {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.mail {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* スマホ対応 */
@media (max-width: 600px) {
    header .container { flex-direction: column; }
    nav ul { margin-top: 10px; }
    .hero-content h2 { font-size: 1.8rem; }
}