body {
    font-family: 'Noto Sans JP', 'Roboto', sans-serif;
    background: #f9fafe;
    color: #222;
    margin: 0;
    padding: 0;
}

a {
    color: #47c2e8;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #57d785;
}

p {
    margin: 8px;
    padding: 8px;
}

h2 {
    color: #364e96;
    padding: 0.5em;
    border-top: solid 3px #364e96;
    border-bottom: solid 3px #364e96;
}

#service, #works{
    scroll-margin-top: 130px;
}

h3 {
    padding: 8px;
    margin: 8px;
    border-bottom: solid 3px #d3d1d1;
    position: relative;
    
}
h3:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #89e5ff;
    bottom: -3px;
    width: 30%;
}

header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(71,194,232,0.06);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 16px;
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo img {
    height: 56px;
    padding: 6px 0;
    margin-left: 32px;
}

.nav-pc {
    display: flex;
}

.nav-pc a {
    margin: 0 28px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* スマホメニュー */
.nav-sp, .hamburger { display: none; }

.hero {
    height: 700px;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    width: 100%;
    object-fit: cover;
    margin-bottom: 0;
    box-shadow: 0 4px 24px rgba(71, 194, 232, 0.09);
    margin: 0;
}
.hero-text {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    color: #222;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 32px 40px;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(71, 194, 232, 0.04);
}
.hero-text h1 {
    font-size: 2.1rem;
    margin: 0 0 10x 0;
    font-weight: 700;
    line-height: 1.25;
}
.hero-text p {
    font-size: 1.1rem;
    font-weight: 400;
    color: #47c2e8;
    margin: 0;
}



.container {
    max-width: 1100px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(71,194,232,0.06);
    margin: 0 auto;
    padding: 8px;
}

footer {
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 24px 0;
    text-align: center;
    color: #aaa;
    font-size: 13px;
}

@media screen and (max-width: 900px) {
    header {
        padding: 0;
    }
    .header-inner, section {
        max-width: 98vw;
        padding: 20px 4vw;
    }
    .hero {
        min-height: 180px;
    }

    .logo img {
        height: 64px;
    }

    /* スマホメニュー */
    .nav-pc {
        display: none;
    }
    .nav-sp {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        box-shadow: 0 4px 24px rgba(71, 194, 232, 0.08);
        z-index: 99;
        padding: 18px 0 24px 0;
        font-size: 1.1rem;
    }
    .nav-sp a {
        display: block;       /* ←これで縦並び&クリック範囲UP */
        font-size: 1.18rem;
        font-weight: 500;
        padding: 20px 0 20px 24px;  /* 上下余白&左寄せ */
        border-bottom: 1px solid #f0f0f0; /* 区切り線（お好みで） */
        color: #47c2e8;
        text-align: left;
    }

    .nav-sp.open {
        background: rgba(255,255,255,0.95);
        box-shadow: 0 8px 32px rgba(71,194,232,0.16);
        transition: background 0.2s;
        display: block;
        box-shadow: 0 8px 32px rgba(71,194,232,0.16);
    }
    body.menu-open {
        overflow: hidden;
    }
    .hamburger {
        background: none;
        border: none;
        box-shadow: none;
        outline: none;
        margin: 0;
        padding: 0;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-direction: column;
    }
    .hamburger span {
        display: block;
        height: 4px;
        width: 40px;
        margin: 5px 0;
        background: #47c2e8;
        border-radius: 2px;
        transition: .3s;
    }
    .hamburger.active span:nth-child(1) {
        transform: translateY(18px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .header-inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-height: 50px;
        padding: 0 6vw;
    }
}