:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333333;
    --light-gray: #f5f6fa;
    --dark-gray: #2c3e50;
    --white: #ffffff;
    --highlight-color: #3498db;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --section-padding: 5rem 0;
    --transition: all 0.3s ease;
    --border-color: #e1e1e1;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    --box-shadow-hover: 0 15px 30px rgba(0,0,0,0.1);
    --gradient-overlay: linear-gradient(rgba(44, 62, 80, 0.5), rgba(44, 62, 80, 0.7));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    font-size: 14px;
}

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

.text-center {
    text-align: center;
}

.highlight {
    color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: var(--section-padding);
}

.section-subtitle {
    color: var(--dark-gray);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

/* ナビゲーション */
.navbar {
    background-color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: var(--transition);
    height: 80px;
}

.navbar .container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 1.5rem;
    gap: 3rem;
}

.logo {
    flex-shrink: 0;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-button {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--primary-color);
    transition: var(--transition);
    z-index: 1001;
}

.mobile-menu-button:hover {
    color: var(--secondary-color);
}

/* ヒーローセクション */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    overflow: hidden;
}

/* 背景画像の上に暗いオーバーレイを追加 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.hero-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-image {
    display: none;
}

/* パーティクル効果のためのスタイル */
.particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.cta-button {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.cta-button.secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button.phone {
    background-color: var(--success-color);
    color: var(--white);
}

.cta-button.phone:hover {
    background-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.stats-container {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* アバウトプレビュー */
.about-preview {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(52, 152, 219, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.about-preview .container {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow-hover);
    position: relative;
    transition: var(--transition);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: 10px;
    z-index: -1;
    transition: var(--transition);
}

.about-image:hover::after {
    top: 10px;
    right: -10px;
}

.about-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-content .subtitle {
    color: var(--highlight-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    color: var(--highlight-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

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

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

.btn-more:hover i {
    transform: translateX(5px);
}

/* 特徴セクション */
.features {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(52, 152, 219, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-bottom: 3px solid var(--secondary-color);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--highlight-color);
    opacity: 0.05;
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover:before {
    height: 100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: rgba(52, 152, 219, 0.2);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--highlight-color);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* サービスプレビュー */
.services-preview {
    background-color: var(--white);
    position: relative;
}

.services-preview::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(52, 152, 219, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
}

.services-preview h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--light-gray);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border-left: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-left: 3px solid var(--secondary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scale(5);
    opacity: 0.1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--highlight-color);
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--highlight-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

.service-link i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 求人プレビュー */
.job-preview {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.job-preview::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 10%;
    width: 150px;
    height: 150px;
    background-color: rgba(52, 152, 219, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.job-preview h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
}

.job-preview h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.job-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.job-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    border-top: 3px solid transparent;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-top: 3px solid var(--secondary-color);
}

.job-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.3);
}

.job-slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.job-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.job-company {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.job-location, .job-salary {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.job-location i, .job-salary i {
    margin-right: 0.5rem;
    color: var(--highlight-color);
}

.job-description {
    margin: 1rem 0;
    font-size: 0.95rem;
}

.job-link {
    display: inline-block;
    color: var(--highlight-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.job-link:hover {
    color: var(--primary-color);
}

/* お客様の声 */
.testimonials {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials::after {
    content: '';
    position: absolute;
    top: 20%;
    left: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(52, 152, 219, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: var(--light-gray);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background-color: var(--light-gray);
    transform: rotate(45deg);
    z-index: -1;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    top: -2rem;
    left: -1rem;
    color: rgba(52, 152, 219, 0.2);
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.author-info h4 {
    margin-bottom: 0.2rem;
    color: var(--primary-color);
}

.author-info p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* CTA セクション */
.cta-section {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* フッター */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.footer-about {
    text-align: left;
}

.footer-links,
.footer-services,
.footer-contact {
    text-align: left;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.footer-links a,
.footer-services a {
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-start;
}

.footer-about h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* トップに戻るボタン */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* レスポンシブデザイン */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 3.5rem;
    }
    
    .about-preview .container {
        gap: 2rem;
    }

    /* 共通のページレイアウト調整 */
    section {
        padding: 3rem 0;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem 0;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 0.8rem 0;
    }
    
    .nav-links a::after {
        display: none;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 600px;
    }

    .footer-contact p {
        justify-content: flex-start;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
        max-width: 600px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .hero {
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .about-preview .container {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 2rem;
        order: -1;
    }
    
    .about-image::after {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card, .feature-card, .job-card, .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-slider, .job-slider {
        display: block;
    }
    
    .testimonial-card, .job-card {
        margin-bottom: 2rem;
    }
    
    .testimonial-card:last-child, .job-card:last-child {
        margin-bottom: 0;
    }

    /* 共通のグリッドレイアウト調整 */
    .grid-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* 会社概要ページの調整 */
    .about-section .container {
        flex-direction: column;
    }

    .about-section .content,
    .about-section .image {
        width: 100%;
    }

    /* サービスページの調整 */
    .services-list {
        grid-template-columns: 1fr;
    }

    .service-detail {
        flex-direction: column;
    }

    .service-detail .content,
    .service-detail .image {
        width: 100%;
    }

    /* 求人情報ページの調整 */
    .job-filters {
        flex-direction: column;
        gap: 1rem;
    }

    .job-filter {
        width: 100%;
    }

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

    /* お問い合わせページの調整 */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

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

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        padding: 0.8rem;
    }

    /* ボタンとフォームの調整 */
    .button-group {
        flex-direction: column;
        gap: 1rem;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    /* テーブルのレスポンシブ対応 */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* 画像の調整 */
    .responsive-image {
        max-width: 100%;
        height: auto;
    }

    footer {
        margin-top: auto;
    }

    .about-section {
        padding: 4rem 0;
        min-height: calc(100vh - 500px);
    }

    .about-section .container {
        margin-bottom: 2rem;
    }

    main {
        padding-top: 70px;
    }

    .navbar {
        height: 70px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-icon, .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i, .service-icon i {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }

    /* ヘッダーとタイトルの調整 */
    .page-header {
        padding: 5rem 0 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    /* フォームの調整 */
    .form-group label {
        font-size: 0.9rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    /* ボタンのサイズ調整 */
    .button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* カードとリストの調整 */
    .card {
        padding: 1rem;
    }

    .list-item {
        padding: 0.8rem;
    }

    /* アイコンのサイズ調整 */
    .icon {
        font-size: 1.2rem;
    }

    .about-section {
        min-height: calc(100vh - 400px);
    }

    main {
        padding-top: 60px;
    }

    .navbar {
        height: 60px;
    }
}

/* タブレット向け調整 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .feature-grid, .services-grid, .job-slider, .testimonial-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 追加の調整 */
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail {
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* ユーティリティクラス */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

/* 共通のユーティリティクラス */
.hide-on-mobile {
    display: none;
}

@media screen and (min-width: 769px) {
    .hide-on-mobile {
        display: block;
    }
}

.text-center-mobile {
    text-align: center;
}

@media screen and (min-width: 769px) {
    .text-center-mobile {
        text-align: left;
    }
}

/* 会社概要ページ専用のスタイル */
.about-section {
    padding: 2rem 0;
    min-height: calc(100vh - 600px);
    display: flex;
    flex-direction: column;
}

.about-section .container {
    margin-bottom: 2rem;
    flex: 1;
}

/* フッター */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

@media screen and (max-width: 768px) {
    .about-section {
        padding: 1rem 0;
        min-height: calc(100vh - 500px);
    }

    .about-section .container {
        margin-bottom: 2rem;
    }

    footer {
        margin-top: auto;
    }
}

@media screen and (max-width: 480px) {
    .about-section {
        min-height: calc(100vh - 400px);
    }
}

/* メインコンテンツの調整 */
main {
    padding-top: 80px;
}
