/* Main CSS for JPC Sports Website */
/* メインレイアウトとベーススタイル */

@import url('common.css');

/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #000;
    line-height: 1.6;
    background-color: #ffffff;
}

/* Main Content Layout */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1;
    padding-top: 80px; /* Account for fixed header */
}

/* Section Spacing */
.elementor-section {
    padding: 0;
}

.elementor-section.hero-section {
    padding: 0;
}

.elementor-section.intro-section {
    padding: 60px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #333;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 20px 0;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin: 0 0 15px 0;
    line-height: 1.6;
}

/* Links */
a {
    color: #007cba;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #005a87;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Swiper Gallery - Remove margin from figure elements */
figure.swiper-slide-inner {
    margin: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #005a87;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #007cba;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-body {
    padding: 20px;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        padding-top: 70px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .elementor-section {
        padding: 30px 0;
    }
}

@media (max-width: 767px) {
    .content-wrapper {
        padding-top: 60px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .elementor-section {
        padding: 20px 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}