html, body {
    font-family: Meiryo, "メイリオ", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Helvetica, sans-serif;
    color: #333;
}

.front {
    color: #555;
    position: relative;
    width: 100%;
    padding-top: 50%;
}

.nav-box {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
	flex-flow: row;
	justify-content: center;
}

.nav-item+ .nav-item {
  border-left: 1px solid #555;
}

.nav-item {
    padding: 5px 20px;
    text-align: center;
}

.nav-item-link {
    color: inherit;
    text-decoration: none;
}

.nav-item-link:hover {
    color: inherit;
}

.front-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.name-box {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.name-title {
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.name-description {
    font-size: 30px;
    font-weight: bold;
}

.motto-box {
    background: #bfb8b6;
    padding: 30px 50px;
}

.motto-text {
    font-weight: bold;
    font-size: 31px;
    margin-bottom: 10px;
}

.motto-name {
    text-align: right;
    font-size: 55px;
    font-family: 'Potta One', cursive;
}

.message {
    padding: 50px 50px 0;
    border-left: 1px #aaa solid;
    border-right: 1px #aaa solid;
}

.message-image {
    width: 100%;
    border: 1px solid #aaa;
    max-width: 300px;
    margin-bottom: 50px;
}

.message-body {
    padding: 0;
    font-size: 18px;
    margin-bottom: 50px;
}

.profile {
    border-top:1px #aaa solid;
    position: relative;
    width: 100%;
    padding: 50% 0 0;
}

.profile-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.career {
    position: absolute;
    bottom: 15%;
    left: 55%;
    width: 40%;
    background: #0086d1;
    color: #fff;
    padding: 40px 40px;
}

.career-name {
    display: flex;
	flex-flow: row;
    align-items: end;
    margin-bottom: 20px;
}

.career-name-kanji {
    font-size: 19px;
    font-weight: bold;
}

.career-name-kana {
    margin-left: 4px;
    font-size: 15px;
    font-weight: bold;
}

.career-body {
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.profile-en {
    border:1px #aaa solid;
    background: #f0f0f0;
    padding: 40px 40px;
    padding: 50px 50px;
}

.contact {
    padding: 0 30px 30px;
    border-left: 1px #aaa solid;
    border-right: 1px #aaa solid;
}

.contact-title {
    padding: 50px 0 20px;
    font-size: 25px;
    text-align: center;
}

.contact-title-text {
    padding: 10px 30px;
    border-left: 2px solid #FBB305;
    border-right: 2px solid #FBB305;
}

.contact-description {
    font-size: 14px;
    margin: 10px 0 40px;
}

.contact-label {
    font-size: 18px;
    font-weight: bold;
}

.required {
    font-size: 11px;
    letter-spacing: 3px;
    background: #d39cbe;
    color: #fff;
    border-radius: 5px;
    padding: 4px 8px;
    margin-left: 10px;
}

@media (max-width: 1199.98px) {

    .career {
        position: static;
        width: 100%;
    }

}

@media (max-width: 767.98px) {

    .front {
        margin-top: 40px;
    }

    .nav-box {
        top: -40px;
        right: 0;
        width: 100%;
    }

    .nav-item {
        padding: 10px 0 10px;
        width: 25%;
        color: #333;
        font-size: 12px;
        font-weight: bold;
    }

    .name-title {
        font-size: 30px;
        margin-bottom: 0;
    }

    .name-description {
        font-size: 20px;
    }

}

