:root {
    --primary-color: #ff6b35;
    --text-color: #333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
}

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

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

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

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

ul {
    list-style: none;
}

/* Header */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
    margin-right: 30px;
}

.nav-list a {
    font-weight: bold;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

.nav-list a span {
    font-size: 10px;
    font-weight: normal;
    color: #888;
}

.career {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-contact {
    background: var(--black);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
}

/* Hero */
.hero {
    padding-top: 80px;
    position: relative;
    background-color: var(--primary-color);
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    z-index: 2;
    align-items: center;
}

.hero-text {
    flex: 1;
    color: var(--white);
}

.badge {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 30px;
}

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

.btn-primary {
    background: var(--black);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 4px;
    display: inline-block;
    font-weight: bold;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    border-radius: 8px;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--white) 1px, transparent 1px), linear-gradient(90deg, var(--white) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.1;
}

/* Sub Page Header */
.sub-page {
    padding-top: 120px;
}

.page-header {
    padding: 60px 0;
}

.page-header h1 {
    font-size: 40px;
    margin-top: 10px;
}

/* Mission & Vision */
.mv-item {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
}

.mv-item:last-child {
    margin-bottom: 0;
}

.number {
    font-size: 40px;
    font-weight: bold;
    color: #eee;
}

.label {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: bold;
}

/* Message */
.message-inner {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.message-text {
    flex: 2;
}

.message-text p {
    margin-bottom: 20px;
}

.message-profile {
    flex: 1;
}

.message-profile img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.profile-info .title {
    font-size: 14px;
    color: #888;
}

.profile-info .name {
    font-size: 20px;
    font-weight: bold;
}

/* Company Table */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

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

.company-table th {
    width: 200px;
    font-weight: bold;
    color: #888;
}

/* Active Link */
.nav-list a.active {
    color: var(--primary-color);
}

.btn-contact.active {
    background: var(--primary-color);
}

.career.active span {
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 100px 0;
}

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

.section-label {
    display: block;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.btn-outline {
    display: inline-block;
    border: 1px solid var(--black);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 30px;
}

/* About */
.about-inner {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

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

.service-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.service-card h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-menu {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.service-menu li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-menu li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.center {
    text-align: center;
}

/* Footer */
.footer {
    background: var(--white);
    padding: 80px 0 0;
    border-top: 1px solid #eee;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo {
    height: 30px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav-col a {
    font-size: 14px;
}

.footer-nav-col p {
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding: 20px 0;
    font-size: 12px;
    color: #888;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    .nav {
        margin-top: 10px;
        flex-direction: column;
    }
    .nav-list {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .hero-content {
        flex-direction: column;
    }
    .about-inner {
        flex-direction: column;
    }
    .service-grid {
        flex-direction: column;
    }
    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }
}
