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

body {
    font-family: 'Inter', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f9fc;
}

/* ヘッダー */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.company-name {
    font-size: 22px;
    font-weight: bold;
    color: #149e9e;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    height: 100%;
}

.nav-menu li {
    margin-left: 30px;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #149e9e
}

/* ハンバーガー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* メインコンテンツ */
main {
    margin-top: 80px;
}

/* ヒーローセクション */
.hero {
    width: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, #149e9e 0%, #0d7575 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

/* 会社概要ページ専用のヒーロー高さ */
.hero--index {
    min-height: 1000px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    width: 1200px;
    max-height: 600px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}


.hero-text {
    position: absolute;
    top: 0;
    left: 20px;
    max-width: 560px;
    z-index: 2;
}

.hero-text h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-text p {
    font-size: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-top: 40px;
}

.hero-img {
    width: 100%;
    height: auto;
    max-width: 800px;
}

.hero-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    text-align: left;
}

.hero-overlay h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-overlay p {
    font-size: 18px;
    line-height: 1.6;
}

/* コンテンツコンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-title {
    color: #149e9e;
    font-size: 32px;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid #149e9e;
    display: inline-block;
}

/* 共通カードスタイル */
.card {
    background: white;
    padding: 40px;
    margin-bottom: 40px;
}

/* 会社概要ページ */
.company-info {
    background: white;
    padding: 40px;
    margin-bottom: 40px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid #ccc;
}

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

.info-table th {
    background: rgba(20, 158, 158, 0.1);
    font-weight: bold;
    color: #149e9e;
    width: 200px;
}

/* 事業内容ページ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.service-card h3 {
    color: #149e9e;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.service-card .icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #149e9e, #0d7575);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    margin-right: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

.service-features {
    color: #149e9e;
    font-weight: bold;
    margin-top: 20px;
}

.service-list {
    margin-top: 10px;
    padding-left: 20px;
    color: #666;
}

/* お問い合わせフォーム */
.contact-form {
    background: white;
    padding: 40px;
   border-radius: 15px;
    margin-top: 40px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #149e9e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #149e9e;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #149e9e, #0d7575);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(20, 158, 158, 0.3);
}

/* フッター */
footer {
    background: linear-gradient(135deg, #149e9e, #0d7575);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        gap: 0;
    }

    .hamburger { display: flex; }

    nav { 
        width: auto; 
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    .nav-menu {
        flex-direction: column;
        width: 100%;
        display: none;
        background: white;
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        overflow: hidden;
        text-align: left;
    }
    .nav-menu.open { display: flex; }

    .nav-menu li {
        margin: 0;
        border-top: 1px solid #f0f0f0;
        width: 100%;
    }

    .nav-menu a {
        padding: 20px 15px;
        display: block;
        text-align: left;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .hero-text {
        position: static;
        text-align: center;
        max-width: none;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .hero-img {
        max-height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 40px 15px;
    }

    .info-table th,
    .info-table td {
        padding: 15px 10px;
    }

    .info-table th {
        width: 120px;
        font-size: 14px;
    }

    .card {
        padding: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
    }
}