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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'Meiryo', 'メイリオ', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

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

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

.nav-list {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-weight: 500;
    color: #333;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    max-width: 800px;
}

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

.hero-text {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* ========================================
   ボタン
   ======================================== */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   会社概要セクション
   ======================================== */
.about {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.about-content {
    display: grid;
    gap: 50px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
}

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

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.info-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 600;
    width: 30%;
    border-radius: 5px 0 0 5px;
}

.info-table td {
    color: #555;
    font-size: 1rem;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* ========================================
   事業内容セクション
   ======================================== */
.services {
    background: #fff;
}

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

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.service-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.service-card:nth-child(even) .service-image {
    order: 2;
}

.service-card:nth-child(even) .service-content {
    order: 1;
}

.service-image {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.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;
}

.service-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-features li {
    padding: 10px 15px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    font-size: 0.95rem;
    color: #555;
    position: relative;
    padding-left: 35px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 12px;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   お問い合わせセクション
   ======================================== */
.contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.contact .section-title {
    color: #fff;
}

.contact .section-title::after {
    background: #fff;
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 1rem;
}

.required {
    color: #ffd700;
    margin-left: 3px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 10px;
}

.form-submit .btn {
    width: 100%;
    background: #fff;
    color: #667eea;
    font-size: 1.1rem;
    padding: 15px;
}

.form-submit .btn:hover {
    background: #f8f9fa;
}

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

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid #4CAF50;
    display: block;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 2px solid #f44336;
    display: block;
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

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

.footer-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

/* タブレット */
@media (max-width: 1024px) {
    .service-card {
        grid-template-columns: 1fr;
    }

    .service-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .service-card:nth-child(even) .service-image {
        order: 1;
    }

    .service-card:nth-child(even) .service-content {
        order: 2;
    }

    .service-image {
        min-height: 300px;
    }

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

/* スマートフォン */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        transition: left 0.3s ease;
        padding: 40px 20px;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .nav-link {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-text {
        font-size: 1.2rem;
    }

    section {
        padding: 60px 0;
    }

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

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .info-table th,
    .info-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    .info-table th {
        width: 35%;
    }

    .service-card {
        gap: 0;
    }

    .service-content {
        padding: 30px 20px;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-description {
        font-size: 0.95rem;
    }

    .service-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-features li {
        font-size: 0.9rem;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* iOS zoom prevention */
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

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

    .info-table {
        font-size: 0.85rem;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
        padding: 12px;
    }

    .info-table th {
        border-radius: 5px 5px 0 0;
    }

    .info-table tr {
        display: block;
        margin-bottom: 20px;
        border-radius: 5px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .service-image {
        min-height: 250px;
    }
}