/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
      touch-action: auto !important;
    }

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    touch-action: auto;

}

/* Header styles */
.header-background {
    padding: 1.5rem 2rem;
    /* background-color: black; */
    opacity: 0.5;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    height: 70px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background: transparent;
    backdrop-filter: blur(10px);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 2000;
}

.logo {
    display: flex;
    align-items: center;
}
.company-name {
    font-family: 'IBM Plex Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-left: 1rem;
}

nav a {
    font-family: 'IBM Plex Sans JP', sans-serif;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin: 0 0.4rem;
    font-size: 1rem;
    
}

.contact-button {
    background-color: #0066FF;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
}

/* Hero section styles */
#hero {
    height: 40rem;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


.hero-overlay {
    background-color: rgba(7, 83, 195, 0.7);
    padding: 2rem;
    margin-right: 10%;
}

.hero-overlay h1,
.hero-overlay h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Section styles */
section {
    padding: 1rem 2rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.strength-cards,
.service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    width: 300px;
    padding: 1.5rem;
    margin: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Gallery styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    height: 200px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

/* Contact form styles */
form {
    max-width: 1100px;
    margin: 0 auto;
}

input,
textarea {
    width: 100%;
    padding: 0.5rem;
    /* margin-bottom: 1rem; */
    border: 1px solid #ccc;
    border-radius: 5px;
}
/* Responsive design */
@media (max-width: 768px) {

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    header {
        flex-direction: column;
        padding: 1rem;
    }

    nav {
        margin: 1rem 0;
    }

    .hero-overlay {
        margin-right: 5%;
    }

    .card {
        width: 100%;
    }
}

@media (min-width: 360px){
    .size-height-box1{
        height: 108rem;
    }
    .size-height-box2{
        height: 54rem;
    }
    .size-height-box3{
        height: 120rem;
    }
}

@media (min-width: 390px){
    .size-height-box1{
        height: 105rem;
    }
    .size-height-box2{
        height: 51rem;
    }
    .size-height-box3{
        height: 110rem;
    }
}

@media (min-width: 412px){
    .size-height-box1{
        height: 100rem;
    }
    .size-height-box2{
        height: 48rem;
    }
    .size-height-box3{
        height: 105rem;
    }
}
@media (min-width: 640px){
    .size-height-box1{
        height: 87rem;
    }
    .size-height-box2{
        height: 40rem;
    }
    .size-height-box3{
        height: 105rem;
    }
}