:root {
    --main-color: #599810;
    --main-color-hover: #43730c;
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --bg-footer: #222b16;
    --border-color: #dddddd;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: #ffffff;
    border-bottom: 3px solid var(--main-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    font-size: 22px;
    font-weight: bold;
    color: #222222;
    line-height: 1.2;
}

.logo span {
    font-size: 12px;
    display: block;
    color: #666666;
    font-weight: normal;
    margin-top: 4px;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--main-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--main-color);
    color: #ffffff;
    text-align: center;
    padding: 120px 20px;
}

.hero-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.hero-content p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Main Layout */
main {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

section {
    margin-bottom: 60px;
}

h2.section-title {
    font-size: 24px;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 30px;
    text-align: center;
    color: #222222;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: var(--main-color);
}

.intro-text {
    text-align: center;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

/* Business Grid (2軸構成) */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.business-card {
    background-color: var(--bg-light);
    border-top: 4px solid var(--main-color);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.business-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--main-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.business-card p {
    font-size: 15px;
    color: #555555;
    margin-bottom: 15px;
}

.business-card ul {
    margin-top: 10px;
}

.business-card li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 15px;
}

.business-card li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-size: 11px;
    top: 2px;
}

/* Table Style */
.table-container {
    overflow-x: auto;
    background: #ffffff;
}

table.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table.company-table th, table.company-table td {
    border: 1px solid var(--border-color);
    padding: 16px;
    text-align: left;
    font-size: 15px;
}

table.company-table th {
    background-color: var(--bg-light);
    width: 25%;
    font-weight: bold;
    color: #333333;
}

table.company-table td {
    color: #444444;
}

/* Buttons */
.btn-container {
    text-align: center;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--main-color);
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 15px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--main-color-hover);
}

/* Footer */
footer {
    background-color: var(--bg-footer);
    color: #ffffff;
    padding: 50px 20px 30px 20px;
    font-size: 14px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.footer-info p {
    margin-bottom: 8px;
    color: #cccccc;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #bbbbbb;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1100px;
    margin: 30px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    color: #777777;
    font-size: 12px;
}

/* Responsive (スマホ対応) */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }
    nav ul {
        justify-content: center;
        gap: 10px;
    }
    .hero {
        padding: 80px 20px;
    }
    .hero-content h2 {
        font-size: 24px;
    }
    .hero-content p {
        font-size: 15px;
    }
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    .footer-links ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    table.company-table th, table.company-table td {
        display: block;
        width: 100% !important;
    }
    table.company-table th {
        border-bottom: none;
    }
}