/* ベースフォント */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* ナビゲーション */
#mainNav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 15px 0;
}

#mainNav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-text {
    margin-left: 10px;
    color: #fff;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.nav-link:hover {
    color: #007bff !important;
}

/* ヒーローセクション */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('img/25374358_m.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content .text-white {
    color: #333 !important;
}

.hero-content h1 {
    color: #333 !important;
}

.hero-content .lead {
    color: #333 !important;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.8;
    color: #555 !important;
}

/* スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    40% {
        transform: translateY(10px) rotate(-45deg);
    }
    60% {
        transform: translateY(5px) rotate(-45deg);
    }
}

/* ボタンスタイル */
.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

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

.btn-outline-light {
    border: 2px solid #333;
    color: #333;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

/* 製品カード */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 160px;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 15px 25px 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.product-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 製品・サービスセクション */
#products {
    position: relative;
    z-index: 10;
    background: #fff;
    margin-top: 0;
    margin-bottom: 20px;
}

/* パララックスセクション */
.parallax-section {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.parallax-bg-2 {
    background-image: url('img/webdesignblog2-1000x600-c.jpeg');
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}

/* 会社情報カード */
.info-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.info-image {
    height: 200px;
    overflow: hidden;
}

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

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

.info-content {
    padding: 25px;
}

.info-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.info-text {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.info-text-en {
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
}

/* ミッションカード */
.mission-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mission-content .blockquote {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blockquote-footer {
    font-size: 0.9rem;
    color: #666;
}

/* 会社概要セクション */
#about {
    position: relative;
    z-index: 10;
    background: #f8f9fa;
}

/* お問い合わせセクション */
#contact {
    position: relative;
    z-index: 10;
    background: #fff;
}

.contact-form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    border-radius: 15px;
    overflow: hidden;
}

/* フッター */
footer {
    background: #1a1a1a !important;
}

.footer-link,
footer .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.footer-link:hover,
footer .nav-link:hover {
    color: #007bff !important;
}

.social-links {
    margin: 0;
}

.social-link {
    color: #ccc;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #007bff;
    transform: translateY(-2px);
}

/* トップに戻るボタン */
.btn-back-to-top {
    position: fixed;
    bottom: 230px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-back-to-top.show {
    display: flex;
}

/* セクション間の余白 */
section {
    padding: 80px 0;
    position: relative;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }

    .display-1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .product-card {
        margin-bottom: 30px;
    }

    .parallax-section {
        height: 40vh;
        background-attachment: scroll;
    }

    .hero-section {
        background-attachment: scroll;
    }

    .btn-lg {
        padding: 10px 25px;
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .navbar-brand .brand-text {
        display: none;
    }
}

@media (max-width: 576px) {
    .display-1 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.1rem;
    }

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

    .product-content {
        padding: 15px 20px 20px 20px;
    }

    .info-content {
        padding: 20px;
    }

    .mission-card {
        padding: 20px;
    }

    .btn-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* カスタムアニメーション */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ローディングアニメーション */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hide {
    opacity: 0;
    pointer-events: none;
}

/* Screen Recorder Pro 専用スタイル */
.featured-product {
    border: 2px solid #28a745;
    position: relative;
}

.featured-product .product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 10px;
}

.featured-product .btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.featured-product .btn-success:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}
