@import url('https://fonts.googleapis.com/css?family=Josefin+Sans&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "メイリオ", "Meiryo UI", "MS UI Gothic", "ヒラギノ角ゴシック" , "system-ui";
}

body {
    background-color: #f3f5f9;
}

.wrapper {
    display: flex;
    position: relative;
}

.wrapper .sidebar {
    width: 200px;
    height: 100%;
    background: #3b58a8;
    position: fixed;
}

.wrapper .sidebar h2 {
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.wrapper .sidebar ul li {
    padding: 15px;
    border-bottom: 1px solid #bdb8d7;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.wrapper .sidebar ul li a {
    color: #bdb8d7;
    display: block;
}

.wrapper .sidebar ul li a .fas {
    width: 25px;
}

.wrapper .sidebar ul li:hover {
    background-color: #87c9dd;
}

.wrapper .sidebar ul li:hover a {
    color: #fff;
}

.wrapper .sidebar ul p {
    text-align: center;
    color: gainsboro;
}

.wrapper .sidebar .social_media {
    position:absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.wrapper .sidebar .social_media a {
    display: block;
    width: 40px;
    background: #1a3c99;
    height: 40px;
    line-height: 45px;
    text-align: center;
    margin: 0 5px;
    color: #bdb8d7;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.wrapper .main_content {
    width: 100%;
    margin-left: 200px;
}

.wrapper .main_content .header {
    padding: 15px;
    background: #d2f3ce;
    color: #717171;
    border-bottom: 1px solid #e0e4e8;
    font-size: 25px;
}

.wrapper .main_content .info {
    margin: 20px;
    color: #717171;
    line-height: 30px;
}

.wrapper .main_content .info div {
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    width: 300px;
}

.wrapper .main_content .info .top-image {
    width: 100%;
    height: 480px;
    background-size: cover;
    background-position: center;
}

.wrapper .main_content .img-move {
    margin-bottom: 600px;
}

.wrapper .main_content .img-move h2 {
    margin-bottom: 100px;
    text-align: center;
}

.fadein {
    opacity: 0;
    transform: translate(0,80px);
    transition: all 800ms;
}

.fadein.left {
    transform: translate(-80px,0);
}

.fadein.right {
    transform: translate(80px,0);
}

.fadein.top {
    transform: translate(0,-80px);
}

.fadein.scrollin {
    opacity: 1;
    transform: translate(0,0);
}