/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #fff;
    font-size: 18px;
}

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

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 2px solid #3498db;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.1);
}

.navbar {
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 5rem;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #34495e;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #2980b9;
}

.nav-menu a:hover::after {
    width: 100%;
}

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

/* ヒーローセクション */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.9) 0%, rgba(142, 68, 173, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #ecf0f1;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

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

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn.primary {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
}

.btn.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid #ecf0f1;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* セクション共通スタイル */
section {
    padding: 5rem 0;
}

section h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3.5rem;
    color: #2c3e50;
    font-weight: 700;
    position: relative;
    letter-spacing: 1px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3498db 0%, #9b59b6 100%);
}

/* サービスセクション */
.services {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 4px solid #3498db;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #5a6c7d;
    line-height: 1.8;
    font-size: 1.2rem;
}

/* 実績セクション */
.achievements {
    background: white;
}

.achievements-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.achievements-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    color: #2980b9;
    font-weight: 700;
}

.achievements-content h3:first-child {
    margin-top: 0;
}

.achievements-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #5a6c7d;
    line-height: 1.8;
}

/* 事業についてセクション */
.about {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.95) 0%, rgba(142, 68, 173, 0.95) 100%);
}

.about .container {
    position: relative;
    z-index: 2;
}

.about h2 {
    color: white;
}

.about h2::after {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    color: #ecf0f1;
    font-weight: 700;
}

.about-content h3:first-child {
    margin-top: 0;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #bdc3c7;
    line-height: 1.8;
}

.sns-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.sns-links h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #ecf0f1;
    font-weight: 700;
}

.sns-links ul {
    list-style: none;
    padding: 0;
}

.sns-links li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #bdc3c7;
}

.sns-links a {
    color: #f39c12;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sns-links a:hover {
    color: #e67e22;
    text-decoration: underline;
}

/* 事業概要セクション */
.company {
    background: white;
}

.company-info {
    max-width: 700px;
    margin: 0 auto;
}

.company-info table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.1rem;
}

.company-info th,
.company-info td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 2px solid #ecf0f1;
}

.company-info th {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    font-weight: 700;
    width: 30%;
}

.company-info td {
    color: #2c3e50;
    font-weight: 600;
}

/* お問い合わせセクション */
.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-content > p {
    text-align: center;
    margin-bottom: 3rem;
    color: #5a6c7d;
    font-size: 1.2rem;
    line-height: 1.8;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.2);
}

.contact-buttons {
    text-align: center;
    margin-top: 2rem;
}

.contact-buttons .btn {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    min-width: 200px;
}

/* フッター */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #bdc3c7;
    text-align: center;
    padding: 3rem 0;
    font-size: 1.2rem;
}

/* レスポンシブデザイン - スマートフォン対応強化 */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-menu {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu a {
        font-size: 1rem;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 280px;
        text-align: center;
    }
    
    section h2 {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .achievements-content h3,
    .about-content h3 {
        font-size: 1.5rem;
    }
    
    .company-info th {
        width: 35%;
    }
    
    .company-info th,
    .company-info td {
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    main {
        margin-top: 130px;
    }
    
    .hero {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
    
    .achievements-content p,
    .about-content p {
        font-size: 1.1rem;
    }
    
    .company-info th,
    .company-info td {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}