/* Homepage Styles - Japanese Style Design */

/* Header spacing fix */
body {
    padding-top: 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Employer Banner positioning */
.employer-banner {
    margin-top: 70px; /* Adjust based on header height */
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 15px 0;
    border-bottom: 3px solid #f39c12;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}



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

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.sub-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.ja-title {
    font-size: 1.3rem;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.background-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    color: white;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin-bottom: 10px;
    animation: scroll-down 2s infinite;
}

.scroll-text {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes scroll-down {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translate(10px, 10px);
        opacity: 0;
    }
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 40px 0;
    background-color: #fff;
}

.disclaimer-section .alert {
    max-width: 1000px;
    margin: 0 auto;
    border-left: 5px solid #ff9800;
}

.disclaimer-section .alert h4 {
    color: #ff6f00;
    margin-bottom: 15px;
}

/* User Type Section - Japanese Style */
.user-type-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    position: relative;
}

.user-type-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #c41e3a 0%,    /* 紅色 */
        #0b346e 25%,   /* 紺色 */
        #c41e3a 50%,
        #0b346e 75%,
        #c41e3a 100%
    );
    background-size: 200% 100%;
    animation: wave 8s linear infinite;
}

@keyframes wave {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

.user-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.user-card {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #c41e3a, #0b346e);
}

.employer-card::before {
    background: linear-gradient(90deg, #c41e3a, #ff6b6b);
}

.jobseeker-card::before {
    background: linear-gradient(90deg, #0b346e, #4a90e2);
}

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

.card-link {
    display: block;
    padding: 40px 30px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

.employer-card .card-icon {
    color: #c41e3a;
}

.jobseeker-card .card-icon {
    color: #0b346e;
}

.card-title {
    margin-bottom: 15px;
}

.card-title span {
    display: block;
}

.card-title .en {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.card-title .ja {
    font-size: 1.1rem;
    color: #666;
}

.card-description {
    color: #777;
    line-height: 1.6;
}

.card-description span {
    display: block;
}

.card-description .en {
    margin-bottom: 5px;
}

.card-description .ja {
    font-size: 0.9rem;
    opacity: 0.8;
}

.card-arrow {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.employer-card .card-arrow {
    color: #c41e3a;
}

.jobseeker-card .card-arrow {
    color: #0b346e;
}

.user-card:hover .card-arrow {
    transform: translateX(5px);
    background: rgba(0, 0, 0, 0.08);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #6c757d;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-content {
    padding: 25px;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-content p {
    color: #666;
    margin-bottom: 20px;
}

.feature-content .ja-text {
    font-style: italic;
    color: #6c757d;
    margin-top: 5px;
    font-size: 0.95rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    color: #c41e3a;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.feature-link:hover {
    color: #0b346e;
}

.feature-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.feature-link:hover i {
    transform: translateX(5px);
}

.feature-link .en-text,
.feature-link .ja-text {
    display: block;
}

.feature-link .ja-text {
    font-size: 0.9rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-top: 3px solid transparent;
    background-image: linear-gradient(white, white), 
                      linear-gradient(90deg, #c41e3a, #0b346e);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

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

.service-icon {
    font-size: 2.5rem;
    color: #c41e3a;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

.service-card .ja-text {
    font-style: italic;
    color: #6c757d;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Pricing Section */
.price-section {
    padding: 80px 0;
    background-color: #fff;
}

.price-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.price-category {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.category-header {
    background: linear-gradient(135deg, #c41e3a, #e15f11);
    color: white;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

.category-header-ja {
    background: linear-gradient(135deg, #b81e3a, #d15f11);
    color: white;
    padding: 5px 20px 15px;
    font-size: 1rem;
    font-style: italic;
    opacity: 0.9;
}

.price-content {
    padding: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.price-row:last-child {
    border-bottom: none;
}

.service-name {
    flex: 2;
    font-weight: 500;
}

.service-name-ja {
    flex: 1;
    font-style: italic;
    color: #6c757d;
    font-size: 0.9rem;
}

.service-price {
    flex: 1;
    text-align: right;
    font-weight: bold;
    color: #c41e3a;
}

.price-note {
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
    text-align: right;
}

.price-footnote {
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.price-action {
    text-align: center;
    margin-top: 40px;
}

.price-btn {
    display: inline-block;
    background: linear-gradient(135deg, #c41e3a, #e15f11);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.price-btn:hover {
    background: linear-gradient(135deg, #0b346e, #4a90e2);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.price-btn .en-text,
.price-btn .ja-text {
    display: block;
    line-height: 1.2;
}

.price-btn .ja-text {
    font-size: 0.9rem;
}

/* Partner Companies Slider */
.partners-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.partners-slider-container {
    position: relative;
    overflow: hidden;
    margin: 0 -15px;
}

.partners-slider .swiper-slide {
    width: 250px;
    height: auto;
    padding: 10px;
}

.company-card {
    display: block;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.company-logo-wrapper {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.company-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-name {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

.company-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.company-location {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.company-meta .badge {
    font-size: 12px;
    font-weight: normal;
    padding: 0.25em 0.6em;
}

/* Partner List Button */
.partner-list-btn {
    display: inline-block;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #c41e3a, #e15f11);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partner-list-btn:hover {
    background: linear-gradient(135deg, #0b346e, #4a90e2);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.partner-list-btn .en-text,
.partner-list-btn .ja-text {
    display: block;
    line-height: 1.2;
}

.partner-list-btn .ja-text {
    font-size: 14px;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    margin-bottom: 50px;
}

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

.contact-icon {
    font-size: 1.5rem;
    color: #c41e3a;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-text p {
    color: #666;
}

.contact-text a {
    color: #c41e3a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #0b346e;
    text-decoration: underline;
}

.contact-action {
    text-align: center;
}

.contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, #c41e3a, #e15f11);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
    background: linear-gradient(135deg, #0b346e, #4a90e2);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white;
}

.contact-btn .en-text,
.contact-btn .ja-text {
    display: block;
    line-height: 1.2;
}

.contact-btn .ja-text {
    font-size: 0.9rem;
}

/* Job Listings */
.matching-section .alert {
    max-width: 800px;
    margin: 0 auto 30px;
    border-left: 5px solid #17a2b8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .sub-title, .ja-title {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .user-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .sub-title, .ja-title {
        font-size: 1rem;
    }
    
    .partners-slider .swiper-slide {
        width: 200px;
    }
    
    .price-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }
    
    .service-name, .service-name-ja {
        margin-bottom: 5px;
    }
    
    .service-price {
        align-self: flex-end;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .card-link {
        padding: 30px 20px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .card-title .en {
        font-size: 1.3rem;
    }
    
    .card-arrow {
        width: 35px;
        height: 35px;
        right: 20px;
        bottom: 20px;
    }
}