@charset "utf-8";

body {
    margin: auto;
    max-width: 980px;
}

header {
    width: 100%;
    height: 100px;
    color: #c0c0c0;
    background: white;
    align-items: center; /* 上下中央に揃える */
    display: flex; /* flexboxを作る */
    position: fixed;
    top: 0;
    box-sizing: border-box;
    z-index:999;
}

h1 a {
    color: #1a1a1a;
    font-size: 30px;
    text-decoration: none;
}
.navbar {
    list-style: none;
    display: flex;
}

    .navbar li a {
        padding: 10px 15px;
        color: #1a1a1a;
        text-decoration: none;
        font-weight: bold;
    }

        .navbar li a:hover {
            text-decoration: underline;
        }


h2 {
    background-color: white;
    margin: 0;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    color: rgb(110, 203, 247);
}

p {
    margin: 0 auto;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

#sonja {
    width: 240px;
    margin: auto;
}

    #sonja img {
        margin-bottom: -150px;
    }

#chubb {
    position: relative;
    width: 240px;
    margin: auto;
}

    #chubb img {
        width: 240px;
        margin-bottom: -170px;
    }

#kyoei {
    position: relative;
    width: 240px;
    margin: auto;
}

    #kyoei img {
        width: 240px;
    }

a.btn_01 {
    font-size: 35px;
    margin: auto;
    position: relative;
    display: block;
    width: 80%;
    padding: 0.8em;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    color: #FFF;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.0);
    background: #ff8c00;
    transition: .4s;
    border-radius: 4px;
}

    a.btn_01:hover {
        font-size: 35px;
        text-shadow: -6px 0px 15px rgba(255, 255, 240, 0.83), 6px 0px 15px rgba(255, 255, 240, 0.83);
        transition: .4s;
    }



#cyber {
    position: relative;
    width: 1000px;
    margin: 0 auto;
    margin-top:90px;
}

#flow {
    position: relative;
    width: 700px;
    margin: 0 auto;
    display: block;
}

details {
    padding: 1rem;
    border-radius: 5px;
    margin: 0 auto;
}

summary {
    outline: none;
    padding-left:100px;
}
details summary p{
    text-align:left;

}
details[open] .in-details {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.footer {
    color: #808080;
    text-align: center;
    padding: 30px;
}

    .footer a {
        color: #808080;
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: underline;
        }

    .footer .menu {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

        .footer .menu li {
            margin: 0;
            padding: 0 20px;
        }

    .footer .copyright {
        margin: 0;
        padding: 20px 0 0 0;
    }

.tounan {
    margin: 1em;
    padding: 1em;
    border: 5px dotted #c0c0c0;
    border-radius: 30px;
    background: #dcdcdc;
}

    .tounan p {
        margin: 0;
        padding: 0;
    }

.gosousa {
    margin: 1em;
    padding: 1em;
    border: 5px dotted #c0c0c0;
    border-radius: 30px;
    background: #dcdcdc;
}

    .gosousa p {
        margin: 0;
        padding: 0;
    }

.fusei {
    margin: 1em;
    padding: 1em;
    border: 5px dotted #c0c0c0;
    border-radius: 30px;
    background: #dcdcdc;
}

    .fusei p {
        margin: 0;
        padding: 0;
    }

.kanri {
    margin: 1em;
    padding: 1em;
    border: 5px dotted #c0c0c0;
    border-radius: 30px;
    background: #dcdcdc;
}

    .kanri p {
        margin: 0;
        padding: 0;
    }

.spy {
    margin: 1em;
    padding: 1em;
    border: 5px dotted #c0c0c0;
    border-radius: 30px;
    background: #dcdcdc;
}

    .spy p {
        margin: 0;
        padding: 0;
    }

.malware {
    margin: 1em;
    padding: 1em;
    border: 5px dotted #c0c0c0;
    border-radius: 30px;
    background: #dcdcdc;
}

    .malware p {
        margin: 0;
        padding: 0;
    }

/* Chrome、Safari以外 */
summary {
    display: block;
}

    /* Chrome、Safari */
    summary::-webkit-details-marker {
        display: none;
    }
summary {
    cursor: pointer;
    transition: 0.2s;
}

    summary:hover {
        cursor: pointer; 
        background-color: #EFEFEF;
    }
details[open] .details-content {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    0% {
        opacity: 0; 
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.youtube {
    width: 100%;
    aspect-ratio: 16/9;
}
.firstview{
    background-image:url("../image/Cyber2.jpeg");
    height:300px;
    background-size:cover;
}

.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #dcdcdc;
}

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #ffffff;
        position: absolute;
    }

        .menu-btn span:before {
            bottom: 8px;
        }

        .menu-btn span:after {
            top: 8px;
        }

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0); /*メニューオープン時は真ん中の線を透明にする*/
}

#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #dcdcdc;
}

    .menu-content ul {
        padding: 70px 10px 0;
    }

        .menu-content ul li {
            border-bottom: solid 1px #ffffff;
            list-style: none;
        }

            .menu-content ul li a {
                display: block;
                width: 100%;
                font-size: 15px;
                box-sizing: border-box;
                color: #ffffff;
                text-decoration: none;
                padding: 9px 15px 10px 0;
                position: relative;
            }

                .menu-content ul li a::before {
                    content: "";
                    width: 7px;
                    height: 7px;
                    border-top: solid 2px #ffffff;
                    border-right: solid 2px #ffffff;
                    transform: rotate(45deg);
                    position: absolute;
                    right: 11px;
                    top: 16px;
                }

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%; /*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #dcdcdc;
    transition: all 0.5s; /*アニメーション設定*/
}

#menu-btn-check:checked ~ .menu-content {
    left: 0; /*メニューを画面内へ*/
}
.hamburger-menu {
    display: none;
}
@media screen and (max-width:480px) {

    .hamburger-menu {
        display: block;
    }

    .navbar {
        display:none;
    }

}