/* リセット & 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 16px;
}

nav a:hover {
    color: #4A90E2;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* トップビジュアル */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8) 0%, rgba(106, 191, 228, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 1;
    padding: 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #4A90E2;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* セクション共通 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4A90E2, #6ABFE4);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 会社概要 */
.about {
    background: linear-gradient(135deg, #f5f9ff 0%, #e8f4f8 100%);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.about-item h3 {
    color: #4A90E2;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-item p {
    color: #555;
    line-height: 1.8;
}

/* 事業内容 */
.services {
    background: #fff;
}

.services-grid {
    display: grid;
    gap: 50px;
    margin-top: 50px;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.service-image {
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-content p {
    color: #666;
    line-height: 1.9;
    font-size: 16px;
}

/* お問い合わせ */
.contact {
    background: linear-gradient(135deg, #f5f9ff 0%, #e8f4f8 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-info-item h3 {
    color: #4A90E2;
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-info-item p {
    color: #555;
    line-height: 1.8;
}

.contact-tel {
    font-size: 24px;
    font-weight: 600;
    color: #4A90E2;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 15px;
}

.required {
    color: #E74C3C;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4A90E2 0%, #6ABFE4 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* フッター */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #bdc3c7;
    font-size: 14px;
}

.footer-info h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-info p {
    color: #bdc3c7;
    line-height: 1.8;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* レスポンシブデザイン */
@media (max-width: 768px) {
    /* ヘッダー */
    header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 250px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        padding: 20px 0;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        border-bottom: 1px solid #f0f0f0;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 15px 25px;
        font-size: 16px;
    }

    nav a:hover {
        background: #f5f9ff;
    }

    /* トップビジュアル */
    .hero {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    /* セクション */
    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    /* 会社概要 */
    .about-content {
        grid-template-columns: 1fr;
    }

    /* 事業内容 */
    .service-card {
        grid-template-columns: 1fr;
    }

    .service-content {
        padding: 25px;
    }

    .service-content h3 {
        font-size: 20px;
    }

    /* お問い合わせ */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 25px;
    }

    /* フッター */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo img {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .service-content h3 {
        font-size: 18px;
    }
}
