/* css/style.css */

/* 共通設定 */
:root {
    --main-color: #003366; /* 信頼感のある紺色 */
    --accent-color: #f39c12; /* アクセントのオレンジ */
    --text-color: #333;
    --bg-light: #f9f9f9;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

.section { padding: 80px 0; }
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--main-color);
}

.bg-light { background-color: var(--bg-light); }

/* ヘッダー */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    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;
    width: 100%;
}

.logo img { height: 40px; }

.nav ul { display: flex; gap: 20px; }
.nav a { font-weight: bold; font-size: 0.9rem; }
.nav a:hover { color: var(--main-color); }

/* メインビジュアル */
.main-visual {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../img/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.mv-content h2 { font-size: 2.5rem; margin-bottom: 15px; }

/* 事業紹介グリッド */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid #ddd;
    padding-bottom: 20px;
    text-align: center;
}

.service-card img { margin-bottom: 20px; }
.service-card h3 { margin-bottom: 10px; color: var(--main-color); }
.service-card p { padding: 0 15px; font-size: 0.9rem; }

/* 会社情報テーブル */
.company-table {
    width: 100%;
    border-collapse: collapse;
}

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

.company-table th {
    width: 30%;
    text-align: left;
    background: #eee;
}

/* フッター */
.footer {
    background: var(--main-color);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
}

/* レスポンシブ（スマホ用） */
@media (max-width: 768px) {
    .mv-content h2 { font-size: 1.8rem; }
    .company-table th, .company-table td {
        display: block;
        width: 100%;
    }
    .company-table th { background: transparent; font-weight: bold; padding-bottom: 5px; }
}