:root {
    --primary-color: #00A651;
    --accent-blue: #39A9FF;
    --accent-red: #FF4C4C;
    --accent-turquoise: #6CDAD1;
    --bg-light-blue: #F4FAFF;
    --bg-neutral: #F9FBFC;
    --text-dark: #333333;
    --text-medium: #666666;
}

body {
    font-family: 'Raleway', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-neutral);
    letter-spacing: 0.03em;
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat Alternates', sans-serif;
}

.navbar {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1030;
}

.sticky-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.navbar .form-control {
    border-radius: 50px 0 0 50px;
    border-right: none;
}

.navbar .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.navbar .btn-outline-primary {
    border-radius: 0 50px 50px 0;
    border-left: none;
}

.navbar .nav-link {
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-align: center;
}

.nav-menu-aligned .nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu-aligned .nav-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar .nav-link:hover::after {
    transform: scaleX(1);
}

.navbar-brand {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

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

.btn {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}

.snipcart-checkout {
    background: none;
    border: none;
    color: #333;
    padding: 0.5rem 1rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.snipcart-checkout:hover {
    color: var(--primary-color);
}

.cart-button {
    font-size: 1.2rem;
}

.cart-count {
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    padding: 0 6px;
}

.cart-count:empty {
    display: none;
}

.breadcrumb {
    background-color: transparent;
    padding: 1rem 0;
}

.breadcrumb-item a {
    color: var(--accent-blue);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-medium);
}

.support-info-section .card {
    transition: transform 0.3s ease;
    background: linear-gradient(to bottom right, var(--bg-neutral), white);
}

.support-info-section .card:hover {
    transform: translateY(-4px);
}

.contact-form-section .card {
    background: linear-gradient(135deg, var(--bg-light-blue), white);
}

.contact-form-section .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 166, 81, 0.25);
}

.contact-form-section .btn-primary {
    background: linear-gradient(to right, var(--primary-color), #00c661);
    border: none;
    padding: 0.75rem 2rem;
}

.contact-form-section .btn-primary:hover {
    background: linear-gradient(to right, #00c661, var(--primary-color));
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(to right, var(--bg-light-blue), white);
    color: var(--primary-color);
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 166, 81, 0.25);
}

.hero-section {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 3rem;
}

.modern-carousel {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.carousel-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.carousel-image-wrapper img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 0.6s ease;
}

.modern-carousel .carousel-item.active .carousel-image-wrapper img {
    transform: scale(1.05);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.modern-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.caption-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.modern-caption h1,
.modern-caption h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-shadow: none;
}

.modern-caption .lead {
    color: var(--text-medium);
    font-size: 1.25rem;
    margin-bottom: 0;
    text-shadow: none;
}

.modern-indicators {
    bottom: 30px;
    z-index: 3;
}

.modern-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 6px;
    transition: all 0.3s ease;
}

.modern-indicators button.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

.modern-control {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 3;
}

.modern-control:hover {
    opacity: 1;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.modern-control .carousel-control-prev-icon,
.modern-control .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: invert(1);
    opacity: 0.7;
}

.modern-control:hover .carousel-control-prev-icon,
.modern-control:hover .carousel-control-next-icon {
    opacity: 1;
}

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

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@media (max-width: 768px) {
    .carousel-image-wrapper {
        height: 400px;
    }
    
    .caption-content {
        padding: 2rem 1.5rem;
    }
    
    .modern-caption h1,
    .modern-caption h2 {
        font-size: 1.75rem;
    }
    
    .modern-caption .lead {
        font-size: 1rem;
    }
    
    .modern-control {
        width: 50px;
        height: 50px;
    }
}

.card-img-top,
.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-fluid.rounded,
.img-fluid.rounded.shadow {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .card-img-top,
    .card img {
        height: 250px;
    }
    
    .img-fluid.rounded,
    .img-fluid.rounded.shadow {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .card-img-top,
    .card img {
        height: 200px;
    }
    
    .img-fluid.rounded,
    .img-fluid.rounded.shadow {
        height: 250px;
    }
}
