/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #ffffff,#ffffff);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 100;
    background: linear-gradient(135deg, rgba(43, 88, 118, 0.8), rgba(78, 67, 118, 0.8));
    backdrop-filter: blur(10px);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* 
.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
} */

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

nav li {
    margin-left: 40px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.7;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* メインコンテンツ */
.main-content {
    padding-top: 90px;
    min-height: 100vh;
}

/* ページヘッダー */
.page-header {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(43, 88, 118, 0.8), rgba(78, 67, 118, 0.8));
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect width="1200" height="400" fill="transparent"/><path d="M0,200 Q300,50 600,200 T1200,200 V400 H0 Z" fill="rgba(255,255,255,0.03)"/></svg>') no-repeat center;
    background-size: cover;
}

.page-title {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 4px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.8;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.4s;
}

/* コンタクトセクション */
.contact-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 0;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.6s;
}

.contact-intro h2 {
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.contact-intro p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

/* フォーム */
.contact-form {
    background: linear-gradient(135deg, rgba(43, 88, 118, 0.8), rgba(78, 67, 118, 0.8));
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.8s;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.02), transparent);
    pointer-events: none;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: 1px;
    color: #ccc;
}

.form-group.required label::after {
    content: ' *';
    color: #ff6b6b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.form-group select {
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* 送信ボタン */
.submit-container {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, #4e4376, #2b5876);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(78, 67, 118, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 成功・エラーメッセージ */
.success-message {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    display: none;
    animation: slideInDown 0.5s ease;
}

.error-message {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    display: none;
    animation: slideInDown 0.5s ease;
}

/* 会社情報セクション */
.company-info {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    padding: 80px 0;
    margin-top: 60px;
}

.company-info-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.info-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* アニメーション */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .page-title {
        font-size: 42px;
    }

    .contact-form {
        padding: 40px 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    nav {
        display: none;
    }

    .company-info-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 32px;
    }

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