@charset "utf-8";

body {
    background-color: #333;
    color: #CCC;
    padding-top: 60px; /* ヘッダーの高さ分の余白をいれ、うしろの要素が隠れないようにする */
    font-family:'メイリオ','ヒラギノ角ゴ Pro W3','ＭＳ Ｐゴシック',sans-serif;
}

header {
    position: fixed;
    width: 100%; 
    height: 60px;
    background: #CCC; 
    padding: 20px;
    box-sizing: border-box;
    top: 0; 
    left: 0; 
    display: flex; 
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

/*フッターーーーーーーーーーーーーーーーーーーーーーーーーー*/
footer{
    position: absolute;
    bottom: 0; /*下に固定*/
    margin-bottom: 0%;
    margin-top: 120px;

    width: 100%;
    background-color: #ccc;
    color: #333;
    left: 0;
    text-align: center;
    font-size: 10px;
}

footer img{
    width: 300px;
    margin: 12px; 
}

.footer-cursor{
    cursor: pointer;
}


.footer-inform a{
    display: inline-block;
    color: #333;
    text-decoration: none;
    padding-top: 8px;
    padding-right: 16px;
    padding-left: 16px;
    right: 10px;
    font-size: 16px;
}

.footer-inform a:hover{
    color: rgb(225, 79, 79);
}

.wrapper{
    position: relative;
    min-height: 100vh;
    padding-bottom: 220px;
}


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 30%;
    height: auto;        
}

.header {
    background-color: #333;
    padding: 1rem;
    position: fixed;
    top: 0;
    width: 100%;
}

.nav {
    display: flex;
    justify-content: space-around;
    max-width: 600px;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ddd;
}


 /* ハンバーガーメニューのスタイル */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 20px;
    justify-content: space-between;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.footer-c{
    font-size: 12px;
}

/* モバイル用レスポンシブスタイル */
@media screen and (max-width: 850px) {
    header {
        padding: 10px 20px;
    }

    .nav {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 50%;
        height: calc(100% - 60px);
        background-color: #444;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: right 0.3s ease;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        margin: 20px 0;
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .header3D{
        display: none;
    }

    /* ハンバーガーメニューのアニメーション */
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
        }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
        }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
        }

        
}