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

:root {
    /* カラーパレット - 水色と白をベース */
    --primary-color: #4A90E2;
    --primary-light: #7BB3F0;
    --primary-dark: #2E5C8A;
    --secondary-color: #00A8E8;
    --accent-color: #79D7F0;
    --white: #FFFFFF;
    --light-gray: #F8FAFB;
    --medium-gray: #E8EEF2;
    --dark-gray: #4A5568;
    --text-dark: #1A202C;
    --text-light: #718096;
    
    /* フォント */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* その他 */
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(74, 144, 226, 0.1);
    --shadow-md: 0 4px 16px rgba(74, 144, 226, 0.15);
    --shadow-lg: 0 8px 32px rgba(74, 144, 226, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.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);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
}

.logo i {
    font-size: 32px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4A90E2 0%, #00A8E8 50%, #79D7F0 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-indicator span {
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* ===================================
   セクション共通スタイル
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto 16px;
    border-radius: 2px;
}

.section-subtitle {
    font-family: var(--font-secondary);
    font-size: 16px;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===================================
   会社概要セクション
   =================================== */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-item {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.about-item.full-width {
    grid-column: 1 / -1;
}

.about-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-value {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.6;
}

.about-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.about-value a:hover {
    color: var(--primary-dark);
}

/* ===================================
   事業内容セクション
   =================================== */
.services {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: 50%;
    color: var(--white);
    font-size: 36px;
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.service-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   お問い合わせセクション
   =================================== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-info h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

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

.contact-detail-item i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-detail-item h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-detail-item p,
.contact-detail-item a {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-detail-item a {
    text-decoration: none;
    transition: var(--transition);
}

.contact-detail-item a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.required {
    color: #E53E3E;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: var(--font-primary);
    color: var(--text-dark);
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

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

.error-message {
    display: block;
    font-size: 13px;
    color: #E53E3E;
    margin-top: 6px;
    min-height: 18px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-success i {
    font-size: 64px;
    color: #48BB78;
    margin-bottom: 24px;
}

.form-success p {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.7;
}

.hidden {
    display: none !important;
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-secondary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 36px;
}

.footer-text {
    font-size: 16px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.7;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* ===================================
   レスポンシブデザイン
   =================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 60px;
        gap: 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .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(8px, -8px);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-item.full-width {
        grid-column: 1;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .btn {
        padding: 14px 36px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-item {
        padding: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}