/* ========================================
   リセット & ベーススタイル
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-color: #2c5aa0;
    --primary-dark: #1e4178;
    --secondary-color: #e8a92a;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    
    /* タイポグラフィ */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-size-base: 16px;
    
    /* スペーシング */
    --section-padding: 100px 0;
    --container-max-width: 1200px;
    
    /* トランジション */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========================================
   コンテナ
======================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* ロゴ全体のコンテナ */
.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

/* ロゴ画像用スタイル */
.logo-image {
    display: block;
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo a:hover .logo-image {
    opacity: 0.8;
}

/* 会社名テキスト */
.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text-ja {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-text-en {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* ホバー効果 */
.logo a:hover .logo-text-ja {
    color: var(--primary-dark);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .logo a {
        gap: 10px;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .logo-text-ja {
        font-size: 16px;
    }
    
    .logo-text-en {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .logo a {
        gap: 8px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .logo-text-ja {
        font-size: 14px;
    }
    
    .logo-text-en {
        font-size: 8px;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

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

.btn-contact-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
}

.btn-contact-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu li {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.mobile-menu a {
    font-weight: 500;
    display: block;
    padding: 10px;
}

.mobile-menu.active {
    display: block;
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e4178 0%, #2c5aa0 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(232, 169, 42, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.7;
    animation: fadeIn 1s ease 1s both;
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: white;
    margin: 0 auto;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.7;
    }
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(15px);
        opacity: 0.3;
    }
}

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(44, 90, 160, 0.3);
}

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

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

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

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

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

/* ========================================
   統計セクション
======================================== */
.statistics {
    background: var(--bg-white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    background: var(--bg-light);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    margin-top: 10px;
}

.stat-unit {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 5px;
}

/* ========================================
   セクション共通
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   事業内容
======================================== */
.services {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-content {
    padding: 35px;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.service-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.service-features i {
    color: var(--success-color);
    font-size: 14px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
}

.service-link:hover {
    gap: 12px;
}

/* ========================================
   ケーススタディ
======================================== */
.case-studies {
    padding: var(--section-padding);
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.case-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    padding: 30px;
}

.case-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.case-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.case-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   選ばれる理由
======================================== */
.reasons {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.reason-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.reason-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.reason-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.reason-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   会社紹介
======================================== */
.company-intro {
    padding: var(--section-padding);
    background: white;
}

.company-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.company-text .section-title {
    margin-bottom: 25px;
}

.company-text .section-label {
    margin-bottom: 10px;
}

.company-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 35px;
}

/* ========================================
   ニュース
======================================== */
.news {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.news-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.news-date {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    min-width: 100px;
}

.news-category {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.news-category-info {
    background: var(--primary-color);
}

.news-category-case {
    background: var(--secondary-color);
}

.news-category-recruit {
    background: var(--success-color);
}

.news-title {
    flex: 1;
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
}

.news-title:hover {
    color: var(--primary-color);
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   採用バナー
======================================== */
.recruit-banner {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.recruit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.recruit-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
}

.recruit-description {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 35px;
}

.recruit-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.recruit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.recruit-banner .btn-primary:hover {
    background: var(--bg-light);
}

/* ========================================
   CTA
======================================== */
.cta {
    padding: 80px 0;
    background: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 900;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* ========================================
   フッター
======================================== */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.footer-info {
    font-size: 14px;
    line-height: 2;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 14px;
    color: #ccc;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 14px;
    color: #999;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .company-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .recruit-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .news-date {
        min-width: auto;
    }
    
    .recruit-title {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 42px;
    }
}
