@charset "UTF-8";

/*/ヘッダー*/
.header{
    display: flex;
    position: fixed;
    padding: 35px 48px;
    width: 100%;
    height: auto;
    font-family: "Montserrat", serif;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    z-index: 2;
    justify-content: space-between;
    align-items: center;
    /*アニメーション*/
    opacity: 0;
    transition: 0.8s cubic-bezier(0.4,0.4,0,1) 1.4s;
    transform: translateY(-48px);
}
/*アニメーション挙動*/
.header.visible{
    transform: translateY(0);
    opacity: 1;
}

.header-title{
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4,0.4,0,1);
}
.header-title:hover{
    opacity: 0.7;
    transform: scale(1.05, 1.05);
}
.global-navigation ul{
    display: flex;
}
.global-navigation-item{
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    padding: 0 12px;
    letter-spacing: 0.15em;
    line-height: 1.4;
    transition: all 0.3s cubic-bezier(0.4,0.4,0,1);
}
.global-navigation-item:hover{
    opacity: 0.7;
    transform: scale(1.05, 1.05);
}

/* ハンバーガーメニュー */
.menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態では画面の外に隠れている */
    width: 300px;
    height: 100vh;
    background-color: #03304f;
    color: #fff;
    transition: right 0.3s ease; /* スライドインのアニメーション */
    padding: 20px;
    box-sizing: border-box;
    z-index: 1000; /* メニューのz-indexを高く設定 */
}

/* メニューが開いているとき */
.menu.open {
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #03304f;
    box-shadow: -5px 0px 30px rgb(0, 0, 0, 0.3);
    z-index: 1000; /* メニューのz-indexを高く設定 */
}

.menu li a{
    display:block;
}

/* ボタンのスタイル */
.hamburger {
    position: fixed;
    top: 13px;
    right: 20px;
    width: 25px;
    cursor: pointer;
    z-index: 20;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* メニューリストのスタイル */
.menu ul {
    list-style-type: none;
    color: #fff;
    margin-top: 58px;
    z-index: 15;
}

.menu li {
    padding: 20px 0;
    border-bottom: 1px solid #fff;
    z-index: 15
}

/*/フッター*/
footer{
    width: 100%;
    padding: 96px 0 24px;
    background-color: #000;
}
.footer-inner{
    width: 100%;
    margin: 0 auto 60px;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
}
.footer-company-name{
    font-family: "Montserrat", serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-left: 24px;
    color: #fff;
}
.footer-navigation{
    display: flex;

}
.footer-link{
    color: #fff;
    line-height: 1.4;
    letter-spacing: 0.15em;
    font-family: "Montserrat", serif;
    font-size: 14px;
    font-weight: 600;
    padding: 0 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4,0.4,0,1);
}
.footer-link:hover{
    opacity: 0.7;
    transform: scale(1.05, 1.05);
}
.copyright-wrapper{
    text-align: center;
}
.terms{
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.terms-item{
    margin: 0 12px;
    color: #fff;
    font-family: "Montserrat", serif;
    line-height: 1.4;
    font-size: 12px;
    font-weight: 600;
}
.copyright{
    color: #fff;
    font-family: "Montserrat", serif;
    letter-spacing: 0.05em;
    line-height: 1.4;
    font-size: 10px;
}

/*ipad対応*/
@media screen and (max-width:1279px) {
    .header{
        padding: 24px;
    }
    .header-title{
        font-size: 16px;
    }
    footer{
        padding: 72px 0 36px;
    }
}

/*スマートフォン対応*/
@media screen and (max-width:768px) {
    .header{
        padding: 20px;
    }
    .header-title{
        font-size: 14px;
    }
    .global-navigation{
        display: none;
    }
    .menu{
        display: block;
        width: 280px;
        right: -280px;
        max-width: 100%;
    }
    .menu.open {
        right: 0;
    }
    .hamburger {
        top: 15px;
        right: 15px;
    }
    /*ハンバーガーメニュー*/
    .fa-bars{
        font-size: 24px;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    footer{
        padding: 62px 0 24px;
    }
    .footer-inner{
        flex-direction: column;
        align-items: center;
        padding: 0 24px;
        margin-bottom: 24px;
    }
    .footer-company-name{
        margin-left: 0;
        margin-bottom: 24px;
        font-size: 18px;
    }
    .footer-navigation{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 24px;
        justify-items: center;
        margin-bottom: 24px;
    }
    .footer-link{
        padding: 0 8px;
        font-size: 12px;
    }
    .terms{
        flex-direction: column;
        align-items: center;
    }
    .terms-item{
        margin: 8px 0;
    }
} 