/* メインスタイル */
:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
    --accent-color: #ff9900;
    --light-color: #f5f8fa;
    --dark-color: #333333;
    --gray-color: #777777;
    --light-gray-color: #eeeeee;
    --header-height: 7rem;
    --container-width: 120rem;
    --transition: all 0.3s ease;
}

/* 共通スタイル */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 10rem 0;
}

.section-title {
    font-size: 3.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 5rem;
    height: 0.3rem;
    background-color: var(--primary-color);
    margin: 1.5rem auto 0;
}

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

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 3rem;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.btn-text i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--secondary-color);
}

.btn-text:hover i {
    transform: translateX(0.5rem);
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 3rem;
}

.nav-list a {
    font-weight: 500;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.contact-btn {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 3rem;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* ヒーローセクション */
.hero {
    height: 100vh;
    min-height: 70rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/office_meeting.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: var(--header-height);
}

.hero-content {
    max-width: 80rem;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.hero-text {
    font-size: 2rem;
    margin-bottom: 4rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    margin-top: 1rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-1rem);
    }
    60% {
        transform: translateY(-0.5rem);
    }
}

/* 会社概要セクション */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-subtitle {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 3rem;
}

.company-info {
    width: 100%;
    margin-bottom: 3rem;
    border-collapse: collapse;
}

.company-info th, .company-info td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray-color);
}

.company-info th {
    width: 30%;
    text-align: left;
    font-weight: 500;
    color: var(--gray-color);
}

.about-image {
    background-image: url('../images/team_meeting.jpeg');
    background-size: cover;
    background-position: center;
    height: 40rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 事業領域セクション */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.service-item {
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-number {
    font-size: 4.8rem;
    font-weight: 700;
    color: rgba(0, 102, 204, 0.1);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-description {
    margin-bottom: 2rem;
}

/* 採用情報セクション */
.recruit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.recruit-subtitle {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.recruit-text p {
    margin-bottom: 3rem;
}

.recruit-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 1rem;
}

.feature i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.recruit-image {
    background-image: url('../images/handshake.jpeg');
    background-size: cover;
    background-position: center;
    height: 40rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* お問い合わせセクション */
.contact-lead {
    text-align: center;
    max-width: 60rem;
    margin: 0 auto 5rem;
}

.contact-content {
    max-width: 80rem;
    margin: 0 auto;
}

.contact-form {
    background-color: white;
    padding: 4rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.required {
    color: #e74c3c;
    margin-left: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--light-gray-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1.6rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.privacy-policy {
    display: flex;
    align-items: center;
}

.privacy-policy input {
    width: auto;
    margin-right: 1rem;
}

/* フッター */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-address {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 3rem;
}

.footer-nav-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-nav ul li {
    margin-bottom: 1rem;
}

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-nav ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    html {
        font-size: 60%;
    }

    .about-content,
    .recruit-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-image,
    .recruit-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 58%;
    }

    .hero-title {
        font-size: 3.6rem;
    }

    .hero-text {
        font-size: 1.8rem;
    }

    .nav-list {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .contact-form {
        padding: 3rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 55%;
    }

    .section {
        padding: 7rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .btn {
        width: 100%;
    }

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

    .contact-form {
        padding: 2rem;
    }
}
