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

body {
    font-family: 'Helvetica Neue', Arial, '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 {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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;
    font-size: 16px;
}

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

/* ヒーローセクション */
.hero {
    margin-top: 80px;
    height: 500px;
    background-image: url('images/hero-background.png');
    background-size: cover;
    background-position: center;
    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, 158, 255, 0.8), rgba(100, 200, 255, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.hero-content p {
    font-size: 22px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

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

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

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4a9eff, #64c8ff);
    border-radius: 2px;
}

/* 会社概要セクション */
.about {
    background-color: #f8f9fa;
}

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

.company-info-list {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row:hover {
    background-color: #f8f9fa;
}

.info-label {
    background: linear-gradient(135deg, #4a9eff, #64c8ff);
    color: #fff;
    padding: 20px 30px;
    font-weight: 600;
    font-size: 15px;
    min-width: 200px;
    flex-shrink: 0;
}

.info-value {
    padding: 20px 30px;
    font-size: 16px;
    color: #333;
    font-weight: 400;
    line-height: 1.8;
    flex: 1;
    word-break: break-word;
}

/* 事業内容セクション */
.business {
    background-color: #fff;
}

.business-grid {
    display: grid;
    gap: 60px;
}

.business-item {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.business-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.15);
}

.business-item:nth-child(even) {
    grid-template-columns: 1fr 400px;
}

.business-item:nth-child(even) .business-image {
    order: 2;
}

.business-item:nth-child(even) .business-text {
    order: 1;
}

.business-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.business-item:hover .business-image img {
    transform: scale(1.05);
}

.business-text h3 {
    font-size: 24px;
    color: #4a9eff;
    margin-bottom: 15px;
    font-weight: 600;
}

.business-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* お問い合わせセクション */
.contact {
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

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

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

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

.info-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

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

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

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

.required {
    color: #ff4757;
}

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

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

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #4a9eff, #64c8ff);
    color: #fff;
    padding: 15px 50px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(74, 158, 255, 0.4);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* フッター */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

footer p {
    font-size: 14px;
}

/* レスポンシブデザイン */
@media (max-width: 968px) {
    .business-item,
    .business-item:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .business-item:nth-child(even) .business-image {
        order: 1;
    }

    .business-item:nth-child(even) .business-text {
        order: 2;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .info-label {
        min-width: 150px;
        padding: 15px 20px;
        font-size: 14px;
    }

    .info-value {
        padding: 15px 20px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header .container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 15px;
    }

    .info-row {
        flex-direction: column;
        align-items: stretch;
    }

    .info-label {
        min-width: auto;
        padding: 12px 20px;
        font-size: 13px;
        text-align: center;
    }

    .info-value {
        padding: 15px 20px;
        font-size: 14px;
        text-align: center;
        line-height: 1.8;
    }

    .company-info-list {
        border-radius: 8px;
    }

    .logo img {
        height: 40px;
    }

    nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 13px;
        padding: 5px 10px;
    }

    .hero {
        height: 350px;
        margin-top: 100px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 15px;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .business-item {
        padding: 20px;
        gap: 20px;
    }

    .business-image {
        height: 180px;
    }

    .business-text h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .business-text p {
        font-size: 14px;
        line-height: 1.7;
    }

    .contact-form {
        padding: 20px;
    }

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

    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 12px 40px;
        font-size: 15px;
    }

    .info-item {
        padding: 20px;
    }

    .info-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .info-item p {
        font-size: 14px;
        line-height: 1.7;
    }

    footer p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }

    .info-label {
        padding: 10px 15px;
        font-size: 12px;
    }

    .info-value {
        padding: 12px 15px;
        font-size: 13px;
    }

    .company-info-list {
        border-radius: 5px;
    }

    nav ul {
        gap: 8px;
    }

    nav a {
        font-size: 12px;
        padding: 4px 8px;
    }

    .hero {
        height: 300px;
        margin-top: 110px;
    }

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

    .hero-content p {
        font-size: 14px;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .business-grid {
        gap: 40px;
    }

    .business-item {
        padding: 15px;
        gap: 15px;
    }

    .business-image {
        height: 150px;
    }

    .business-text h3 {
        font-size: 18px;
    }

    .business-text p {
        font-size: 13px;
    }

    .contact-form {
        padding: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 13px;
    }

    .submit-btn {
        padding: 10px 30px;
        font-size: 14px;
    }

    .info-item {
        padding: 15px;
    }
}