* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
    position: relative;
    background-color: #0a4d6b;
}

.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
}

.fixed-background.current {
    opacity: 1;
    z-index: -1;
}

.fixed-background.next {
    opacity: 0;
    z-index: -2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    position: fixed;
    width: 100%;
    top: -100px;
    z-index: 1000;
    background: rgba(13, 71, 161, 0.95);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
}

.main-header.visible {
    top: 0;
    opacity: 1;
}

.main-header.scrolled {
    background: rgba(13, 71, 161, 0.98);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    height: 50px;
}

.logo-image {
    height: 100%;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #4fc3f7;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(13, 71, 161, 0.6) 0%,
        rgba(21, 101, 192, 0.4) 50%,
        rgba(13, 71, 161, 0.7) 100%
    );
    z-index: 3;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1400px;
}

.hero-content-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}


.hero-content-right {
    flex: 1;
    padding-left: 4rem;
}

.hero-logo {
    width: 400px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #fff;
    background-color: rgba(13, 71, 161, 0.3);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    margin-bottom: 3rem;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 15px;
    cursor: pointer;
    z-index: 4;
    background-color: rgba(13, 71, 161, 0.8);
}

.scroll-down span {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 4px;
    height: 10px;
    background: #fff;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 0; top: 10px; }
    50% { opacity: 1; }
    100% { opacity: 0; top: 25px; }
}

.about-section {
    padding: 100px 0;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: rgba(13, 71, 161, 0.9);
    backdrop-filter: blur(10px);
}

.content-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.business-section {
    padding: 100px 0;
    background-color: rgba(21, 101, 192, 0.85);
    backdrop-filter: blur(10px);
}

.business-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.business-category {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.category-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 248, 248, 0.95) 100%);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    transform: translateY(0);
}

.category-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.category-item:hover::before {
    left: 100%;
}

.category-item h3 {
    color: #1a237e;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.category-item h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4fc3f7, #29b6f6);
    border-radius: 2px;
}

.category-item > p {
    color: #424242;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.service-list {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 2;
}

.service-list li {
    color: #1a237e;
    padding: 0.8rem 1.5rem;
    margin: 0.5rem 0;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.15) 0%, rgba(41, 182, 246, 0.1) 100%);
    border-radius: 15px;
    position: relative;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 195, 247, 0.3);
}

.service-list li:hover {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.25) 0%, rgba(41, 182, 246, 0.2) 100%);
    transform: translateX(5px);
    border-color: rgba(79, 195, 247, 0.5);
}

.service-list li:before {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
}

/* リンク付きのリストアイテム */
.service-list li.has-link {
    padding: 0;
}

.service-list li.has-link a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #1565c0;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.service-list li.has-link a:hover {
    color: #fff;
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
}

.service-list li.has-link a i {
    font-size: 0.85rem;
    margin-left: 0.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.service-list li.has-link a:hover i {
    opacity: 1;
    transform: translateX(3px);
}

.value-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.95) 0%, rgba(21, 101, 192, 0.9) 50%, rgba(25, 118, 210, 0.95) 100%);
    backdrop-filter: blur(15px);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .business-category {
        max-width: 100%;
        padding: 0 1rem;
    }
}

.value-item {
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 4rem 3rem;
    border-radius: 30px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.value-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.6) 0%, rgba(20, 20, 20, 0.5) 100%);
    z-index: 1;
}

.value-local {
    background-image: url('../images/okinawa-culture.jpg');
}

.value-innovation {
    background-image: url('../images/okinawa-tech.jpg');
}

.value-cooperation {
    background-image: url('../images/okinawa-community.jpg');
}

.value-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(-45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.value-item:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.value-item:hover::before {
    opacity: 1;
    left: 100%;
}


.value-item h3 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.value-subtitle {
    color: #81d4fa;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.value-item p:last-child {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-size: 1.1rem;
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.company-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.info-item dt {
    font-weight: bold;
    min-width: 120px;
    margin-right: 1rem;
    color: #333;
}

.info-item dd {
    flex: 1;
    margin: 0;
    color: #444;
    line-height: 1.6;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-item {
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    padding: 2rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.service-item:hover .service-overlay {
    background: rgba(0,0,0,0.7);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact {
    background-color: rgba(13, 71, 161, 0.9);
    backdrop-filter: blur(10px);
    padding: 80px 0;
}

.contact-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    font-size: 1.2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #4fc3f7;
}

footer {
    background-color: rgba(10, 77, 107, 0.95);
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content-left {
        margin-bottom: 2rem;
    }
    
    .hero-content-right {
        padding-left: 0;
    }
    
    .hero-logo {
        width: 250px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-box {
        padding: 2rem;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-info > p {
        font-size: 1.1rem;
    }
}