/* 調整用スタイル */

a {
    text-decoration: none;
}

html,
body {
    height: 100%;
}

ul,
li {
    list-style: none;
}


main {
    background-color: #dff5ff;
    width: 100%;
    height: 100%;
    display: flex;
}


.main {
    margin: auto;
}

h3 {
    text-align: center;
    font-size: 30px;
    color: rgb(40, 10, 68);
    margin: 5%;
}

footer {
    background-color: #ffffff;
    width: 100%;
    height: 100px;
    position: relative;
    bottom: 0;
    font-size: large;
}

.footer div {
    margin-top: 100px;
    text-align: center;
}


/* ヘッダー */


.header {
    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}


@media screen and (min-width: 960px) {
    .header {
        height: 80px;

    }
}


.header__inner {
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    position: relative;
}


/* ヘッダーのロゴ部分 */
.header__title {
    width: 80px;
}


.header__title:hover {
    opacity: 0.8;
}


@media screen and (min-width: 960px) {
    .header__title {
        width: 140px;
    }
}

.header__title img {
    display: block;
    width: 100%;
    height: 100%;
}

/* ヘッダーのナビ部分 */

.header__nav {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    background-color: #fff;
    transition: ease .4s;

    display: flex;
}


@media screen and (min-width: 960px) {
    .header__nav {
        position: static;
        transform: initial;
        background-color: inherit;
        height: inherit;
        display: flex;
        justify-content: end;
        width: 40%;
    }
}


.nav__items {
    margin: auto;
}

@media screen and (min-width: 960px) {
    .nav__items {
        margin: initial;
        width: 100%;
        display: flex;
        align-items: center;
        height: initial;
        justify-content: space-between;
    }
}





.nav-items__item {
    cursor: pointer;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;

}

@media screen and (min-width: 960px) {

    .nav-items__item:before {
        position: absolute;
        content: "";
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 2px;
        background: orange;
        opacity: 0;

    }

    .nav-items__item:hover:before {
        opacity: 1;
    }

}

/* ナビのリンク */
.nav-items__item a {
    color: black;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.nav-items__item:last-child a {
    margin-bottom: 0;
}

@media screen and (min-width: 960px) {
    .nav-items__item a {
        margin-bottom: 0;
        font-size: 18px;
    }
}

/* ハンバーガーメニュー */
.header__hamburger {
    width: 48px;
    height: 100%;
}

.hamburger {
    background-color: transparent;
    border-color: transparent;
    z-index: 9999;
    cursor: pointer;
}

@media screen and (min-width: 960px) {
    .hamburger {
        display: none;
    }
}


/* ハンバーガーメニューの線 */
.hamburger span {
    width: 100%;
    height: 1px;
    background-color: #000;
    position: relative;
    transition: ease .4s;
    display: block;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    margin: 8px 0;
}


.hamburger span:nth-child(3) {
    top: 0;
}


/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
    transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}


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


.hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
}

.message {
    display: inline-block;
    padding: 20px;
    position: center;
    z-index: 1;
    margin-top: 150px;
    margin-left: 60px;
    margin-bottom: 130px;
    letter-spacing: 4px;
}