/*****************************/
/*フォント*/
/*****************************/
.font-ja {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.font-en {
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
/*****************************/
/*ヘッダー*/
/*****************************/
header {
    z-index: 1000;
    display: flex;
    width: 100%;
    height: clamp(70px, 10vh, 90px);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    padding: 0 20px;
    position: fixed;
    top: 0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.2);
}

.logo {
    margin: 0 20px 0 20px;
}

.logo img {
    height: 120px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.0rem;
}

nav a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 16px;
    letter-spacing: 1.2px;
    transition: color 0.3s ease-in-out;
    /* padding-bottom: 5px; */
    position: relative;
}

nav a::before {
    background: linear-gradient(to right, #00b7ff, #e02cd1);
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform-origin: center top;
    transform: scale(0, 1);
    transition: transform .3s;
}
nav a:hover::before {
    transform-origin: center top;
    transform: scale(1, 1);
}
nav a.current::before {
    transform: scale(1, 1);
}
/* 900px以下でナビゲーションを非表示、ハンバーガーを表示 */
@media (max-width: 1024px) {
    header {
        justify-content: space-between; /* ロゴとハンバーガーを両端に */
    }
    nav {
        display: none;
    }
    .logo {
        margin: 5px 0 0 0;
    }
    .logo img {
        height: 100px;
        width: auto;
    }
}
@media (max-width: 600px) {
    .logo img{
        height: 80px;
    }
}
/*****************************/
/*ハンバーガーメニュー*/
/*****************************/
#menuArea {
    display: none;
}

.menu {
    display: block;
    width: 220px;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    transition: all 0.5s;
    z-index: 3;
    opacity: 0;
}

.open .menu {
    left: 0;
    opacity: 1;
    z-index: 4;
}

.menu .inner {
    background-color: #ffffff;
    padding: 25px;
}

.menu .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu .inner ul li {
    margin: 0;
    border-bottom: 1px solid #a0a0a0;
}

.menu .inner ul li a {
    display: block;
    text-decoration: none;
    color: #000000;
    font-size: 14px;
    padding: 1rem;
    transition-duration: 0.2s;
}

.menu .inner ul li a:hover {
    background-color: rgb(221, 221, 221);
}

.toggle-btn {
    display: block;
    position: absolute;
    top: 25px;
    right: 50px;
    width: 30px;
    height: 30px;
    z-index: 3;
    cursor: pointer;
}

.toggle-btn span {
    position: absolute;
    display: block;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #000000;
    transition: all 0.5s;
    border-radius: 4px;
}

.toggle-btn span:nth-child(1) {
    top: 4px;
}

.toggle-btn span:nth-child(2) {
    top: 14px;
}

.toggle-btn span:nth-child(3) {
    bottom: 4px;
}

.open .toggle-btn span {
    background-color: #fff;
}

.open .toggle-btn span:nth-child(1) {
    transform: translateY(10px) rotate(-315deg);
}

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

.open .toggle-btn span:nth-child(3) {
    transform: translateY(-10px) rotate(315deg);
}

#mask {
    display: none;
    transition: all 0.5s;
}

.open #mask {
    display: block;
    background-color: #333;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    position: absolute;
    opacity: 0.8;
    cursor: pointer;
}

@media (max-width: 1024px) {
    #menuArea {
        display: block;
    }
    .toggle-btn {
        top: 32px;
    }
}
@media (max-width: 600px) {
    .toggle-btn {
        top: 20px;
    }
}

/*****************************/
/*フッター*/
/*****************************/
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #3a3a3a 0%, #1d1d1d 25%);
    padding-top: 30px;
    padding-bottom: 30px;
}

.f-main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 10px 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* 折り返し許可 */
}

.f-sns {
    display: flex;
    align-items: center;
    gap: 30px;
}

.f-sns img {
    height: 35px;
}

.f-sns img:hover {
    opacity: 0.5;
}

.f-image img {
    height: 120px;
}

.copyright {
    margin-top: 15px;
    color: rgb(255, 255, 255);
    font-size: 14px;
}

@media (max-width: 600px) {
    footer {
        padding-top: 0;
    }
    .f-main {
        gap: 0;
    }
}