@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

img {
    width: 100%;
    vertical-align: bottom;
}

/* body */
body {
    color: #555;
    background-color: #f5fafd;
}

/* header */
header {
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #f5fafd;
    ;
    padding: 3px 0;
}

.inner-header {
    width: 90%;
    margin: 30px auto;
    justify-content: space-between;
    align-items: end;
}

.inner-header h1 {
    font-size: 22px;
    color: #fff;
    text-shadow: 2px 2px 3px #777;
}

header a :hover {
    opacity: 0.5;
}

.inner-header nav ul {
    justify-content: space-between;
    gap: 20px;
}

.inner-header nav ul a {
    font-size: small;
    color: #999;
}

.inner-header nav ul a:hover {
    opacity: 0.5;
}

.ham {
    width: 35px;
    height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: fixed;
    top: 40px;
    right: 40px;
}

.ham span {
    display: block;
    width: 100%;
    height: 1px;
    border-radius: 1px;
    background-color: #555;
    transition: 1s;
}

.navi {
    width: 100%;
    height: 100vh;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 1s;
    pointer-events: none;
}

.navi.open {
    opacity: 1;
    pointer-events: all;
}

.pc-navi {
    display: none;
}

.ham.open span:first-child {
    transform: translateY(11px) rotate(45deg);
}

.ham.open span:nth-child(2) {
    opacity: 0;
}

.ham.open span:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

/* main */
.about-flex {
    width: 90%;
    margin: 0 auto;
}

.about-flex div {
    width: 100%;
    border-left: 1px solid #555;
    margin: 15px;
    padding: 15px;
}

.about-flex img {
    width: 150px;
}

.about-flex h3 {
    font-size: medium;
    margin-bottom: 10px;
}

.about-flex div p {
    font-size: 11px;
}

.p-color {
    color: blueviolet;
}

/* footer */
footer {
    width: 100%;
    display: flex;
}

footer div {
    width: fit-content;
    text-align: center;
    margin: 0 auto;
}

footer p {
    font-size: small;
    margin-bottom: 50px;
    border-bottom: 1px solid #555;
}

/* レスポンシブ */
@media (min-width:767px) {
    .pc-navi {
        display: block;
    }

    .pc-navi ul {
        display: flex;
        gap: 20px;
    }

    .ham {
        display: none;
    }

    header {
        padding: 15px;
        background-color: #f5fafd;
    }

    .inner-header {
        width: 80%;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }

    .inner-header h1 {
        font-size: 32px;
    }

    .inner-header nav ul {
        gap: 50px;
    }

    .inner-header nav ul a {
        font-size: medium;
    }

    .navi {
        display: block;
    }

    .navi ul {
        display: flex;
        gap: 5px;
    }

    .navi ul li {
        font-family: sans-serif;
    }

    .navi ul li a {
        display: block;
        padding: 5px 15px;
        opacity: 1;
    }

    .navi ul a:hover {
        opacity: 0.5;
    }

    .pc-navi ul li {
        font-family: sans-serif;
    }

    .about-flex {
        width: 90%;
        margin: 0 auto;
        display: flex;
    }

    .about-flex div {
        width: 50%;
        border-left: 1px solid #555;
        margin: 15px;
        margin-bottom: 100px;
        padding: 15px;
    }

    .about-flex img {
        width: 150px;
    }

    .about-flex h3 {
        margin-bottom: 10px;
    }

    .about-flex div p {
        font-size: 13px;
    }

    .p-color {
        color: blueviolet;
    }

    footer {
        width: 100%;
        display: flex;
    }

    footer div {
        width: fit-content;
        text-align: center;
        margin: 0 auto;
    }

    footer p {
        font-size: medium;
        margin-bottom: 50px;
        border-bottom: 1px solid #555;
    }
}