/* header */
.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
#logo {
    width: 270px;
    height: 28px;
}
#logo img {
    height: 28px;
    padding-right: 12px;
}
.logo-wrapper {
    display: inline-flex;
    flex-direction: column;
}
#logo span {
    height: 14px;
}
#logo a{
    text-decoration: none;
    color: #000;
}
#logo .logo-phrase {
    font-size: 10px;
    font-weight: normal;
    line-height: 10px;
}
#logo .logo-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
}
.header-wrap {
    top: 0;
    position: fixed;
    box-sizing: border-box;
    width: 100%;
    z-index: 999;
    background-color: #fff;
}
header {
    width: 90%;
    margin: auto;
}
header h1 a {
    display: flex;
}

/* menu-button */
.menu-btn {
    position: fixed;
    height: 40px;
    width: 40px;
    display: inline-block;
    box-sizing: border-box;
    padding: 10px;
    z-index: 1000;
    top: 0;
    right: 5%;
    margin-top: 15px;
    z-index: 1001;
}
.menu-btn .menu-bar {
    position: absolute;
    left: 10px;
    height: 2px;
    width: 20px;
    background-color: #444;
    border-radius: 2px;
    display: inline-block;
    box-sizing: border-box;
    transition: 0.5s;
}
.menu-btn .menu-bar:nth-of-type(1) {
    top: 10px;
}
.menu-btn .menu-bar:nth-of-type(2) {
    top: 19px;
}
.menu-btn .menu-bar:nth-of-type(3) {
    bottom: 10px;
}
/* menu-body */
.menu-body {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 21px 0;
    z-index: 1000;
    background-color: #fff;
    align-items: center;
    flex-flow: column;
    display: none;
    transition: 0.5s;
    opacity: 0;
    display: flex;
    pointer-events: none;
    overflow-y: auto;
}
.menu-body.open {
    opacity: 1.0;
    pointer-events: all;
}
.menu-content {
    min-width: 40%;
}
.menu-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: #000 1px solid;
    padding: 33px 0;
}
.menu-item img {
    width: 90px;
    padding-right: 13px;
}
.menu-item-text {
    display: flex;
    flex-direction: column;
    color: #000;
}
.menu-item-title {
    font-weight: bold;
    font-size: calc(1.4rem + ((1vw - 0.6em) * 0.6667));
}
.menu-item-subtitle {
    font-size: calc(0.8rem + ((1vw - 0.6em) * 0.6667));
}
.menu-item-arrow {
    margin-left: auto;
    padding-left: 6px;
    font-size: 18pt;
}
.system01 .menu-item-arrow {
    color: #8ae283;
}
.system02 .menu-item-arrow {
    color: #76cdff;
}
.system03 .menu-item-arrow {
    color: #ff7b97;
}
.system04 .menu-item-arrow {
    color: #f08c1f;
}
.system05 .menu-item-arrow {
    color: #b69ef2;
}
a.menu-item:link {
    text-decoration: none;
}
/* menu-close-button */
.close .menu-bar:nth-of-type(1) {
    top: 19px;
    transform: rotate(-135deg);
    width: 25px;
}
.close .menu-bar:nth-of-type(2) {
    transform: translateX(20px);
    opacity: 0;
}
.close .menu-bar:nth-of-type(3) {
    transform: rotate(135deg);
    bottom: 19px;
    width: 25px;
}
/* スマホ */
@media screen and (max-width: 559px) {
    .logo-wrapper {
        display: none;
    }
    .menu-content {
        width: 90%;
    }
    .menu-item {
        padding: 25px 0;
    }
    .menu-item img{
        width: 65px;
    }
    .menu-item-title {
        font-size: 1.2em;
    }
    .menu-item-subtitle {
        font-size: calc(0.8rem + ((1vw - 0.6em) * 0.125));
    }
    .menu-item-arrow {
        font-size: 14pt;
    }
}
