/* =====================================
   グローバルスタイル
   ===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
}

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

/* =====================================
   ヘッダー
   ===================================== */
.header {
    background-color: #fff;
    border-bottom: 3px solid #4a7c59;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
    font-size: 24px;
    color: #4a7c59;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo-subtitle {
    font-size: 12px;
    color: #666;
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    padding: 5px 10px;
}

.nav a:hover {
    color: #4a7c59;
    border-bottom: 2px solid #4a7c59;
}

/* =====================================
   メインビジュアル（ヒーロー）
   ===================================== */
.hero {
    background: linear-gradient(135deg, #4a7c59 0%, #7ba869 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.95;
}

/* =====================================
   共通セクションスタイル
   ===================================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #4a7c59;
    margin-bottom: 15px;
}

.section-title-border {
    width: 80px;
    height: 3px;
    background-color: #7ba869;
    margin: 0 auto;
}

/* =====================================
   ご挨拶セクション
   ===================================== */
.greeting {
    background-color: #f9faf8;
}

.greeting-content {
    max-width: 900px;
    margin: 0 auto;
}

.greeting-text {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
    color: #555;
    text-align: justify;
}

.signature {
    margin-top: 50px;
    text-align: right;
    font-size: 18px;
    font-weight: 500;
    color: #4a7c59;
}

/* =====================================
   事業部門紹介セクション
   ===================================== */
.business {
    background-color: #fff;
}

.business-divisions {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.division-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.division-card:hover {
    box-shadow: 0 5px 20px rgba(74, 124, 89, 0.15);
}

.division-header {
    background: linear-gradient(135deg, #4a7c59 0%, #7ba869 100%);
    color: #fff;
    padding: 30px;
    text-align: center;
}

.division-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.division-subtitle {
    font-size: 14px;
    opacity: 0.9;
    letter-spacing: 2px;
}

.division-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    padding: 30px;
    background-color: #f5f5f5;
}

.division-image-main,
.division-image-sub {
    overflow: hidden;
    border-radius: 6px;
}

.division-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.division-image-main {
    grid-column: span 2;
    height: 350px;
}

.division-image-sub {
    height: 250px;
}

.division-images img:hover {
    transform: scale(1.05);
}

.division-content {
    padding: 30px;
}

.division-description {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
}

.division-features {
    list-style: none;
    padding: 0;
}

.division-features li {
    padding: 10px 0;
    font-size: 15px;
    color: #4a7c59;
    font-weight: 500;
    border-bottom: 1px solid #e8f0ea;
}

.division-features li:last-child {
    border-bottom: none;
}

/* =====================================
   会社概要セクション
   ===================================== */
.company-info {
    background-color: #f9faf8;
}

.info-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 20px 25px;
    text-align: left;
    border-bottom: 1px solid #e8f0ea;
}

.info-table th {
    background-color: #4a7c59;
    color: #fff;
    font-weight: 600;
    width: 200px;
    font-size: 15px;
}

.info-table td {
    background-color: #fff;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* =====================================
   フッター
   ===================================== */
.footer {
    background: linear-gradient(135deg, #3a6547 0%, #4a7c59 100%);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-info p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-hours {
    margin-top: 15px;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
}

/* =====================================
   レスポンシブデザイン
   ===================================== */

/* タブレット */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav ul {
        gap: 15px;
    }
    
    .nav a {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .division-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .division-image-main {
        grid-column: span 1;
        height: 250px;
    }
    
    .division-image-sub {
        height: 200px;
    }
    
    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
        padding: 15px 20px;
    }
    
    .info-table th {
        border-bottom: none;
        padding-bottom: 10px;
    }
    
    .info-table td {
        padding-top: 10px;
    }
}

/* スマートフォン */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .greeting-text {
        font-size: 15px;
    }
    
    .division-title {
        font-size: 24px;
    }
    
    .division-header {
        padding: 25px 20px;
    }
    
    .division-images,
    .division-content {
        padding: 20px;
    }
    
    .division-image-main {
        height: 200px;
    }
    
    .info-table th,
    .info-table td {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-info h3 {
        font-size: 18px;
    }
    
    .footer-info p {
        font-size: 13px;
    }
}