/*------共通部品------*/
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');
a {
    color: #000dc5;
    text-decoration: none;
}

a:hover {
    color: #1784cc;
}

h2 {
    text-align: center;
    font-size: 35px;
    margin-top: 0px;
    margin-bottom: 10px;
}

/*------ヘッダー------*/
#top-menu {
    background-color: #242F3E;
    display: flex;
    flex-flow: column;
    position: sticky;
    top: 0;
    z-index: 10;
}

/*------コンテンツ------*/
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    padding-left: 0px;
    background-color: #fff;
}

#BluePrintArticle {
    margin: 30px auto;
    width: 100%;
}

#TopContents{
    flex-wrap: wrap;
    display: flex;
}

#TopMain{
    max-width: calc(100% - 300px);
}

#TopSide{
    padding-top: 50px;
    width:300px;
    height:auto;
    position: relative;
}

.TopSideContents{
    width:250px;
    height:auto;
    background-color: #ffffff;
    margin: 10px auto 10px auto;
    border: solid 1px #ddd;
}

.TopSideContentsTitle{
    text-align: center;
    margin-top: 2px;
    margin-bottom: 2px;
}

.articeList .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
  
.articeList article {
    flex: 1 1 250px;
    display: flex;
    max-width: 300px;
}

.articeList h2 {
    font-size: 20px;
}

.articeList p {
    font-size: 16px;
    opacity: 0.8;
    word-break: break-all;
    margin: 10px 0px;
}

.articeList .photo {
    min-height: 150px;
    background-position: center;
    background-size: cover;
}

.articeList a {
    flex: 1;
    margin: 10px;
    display: block;
    border: solid 1px #ddd;
    color: inherit;
    text-decoration: none;
}

.articeList a:hover {
    opacity: 0.8;
}

.articeList .text {
    margin: 10px;
}

.text > h3{
    margin: 0px;
  }

/*------プロフィール------*/
#name {
    display: block;
    text-align: center;
    font-weight: bold;
}

#ProfileLine {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: fit-content;
    margin: 0px auto;
}

#ProfileLineImg {
    margin-top: 0px;
}

#profileImg {
    border-radius: 50%;
    border: 2px solid #acacac;
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
}

#ProfileLineMessage {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 12px;
}



/*------フッター------*/
#FooterMenu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.FooterMenuList {
    width: 200px;
    text-align: left;
}

.FooterMenuList>a {
    color: #fff;
    font-size: 17px;
}

.FooterMenuSubList {
    list-style: none;
    padding-left: 4px;
    margin-top: 10px;
}

.FooterMenuSubList a {
    color: #fff;
}

#CopyRight {
    text-align: right;
}

.footerFixed {
    margin: 0px;
    min-height: 100vh;
    position: relative;
    box-sizing: border-box;
}

footer {
    bottom: 0;
    width: -webkit-fill-available;
    width: -moz-available;
    background: #242F3E;
    color: #fff;
}

/*------1023px------*/
@media screen and (max-width:1023px) {
    #TopContents {
        display: block;
        top: 25px;
        position: absolute;
    }

    #TopMain {
        max-width: 100%;
    }

    #TopSide {
        width: 100%;
    }

    .TopSideContents {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .TopSideContentsTitle {
        display: none;
    }

    #pageTitle>h1 {
        font-size: 20px;
    }

    .ServiceBlock>ul>li {
        padding-bottom: 4px;
    }

    #nav li a {
        display: none;
    }

    #top-menu {
        position: fixed;
        right: 10px;
        z-index: 100;
    }
}

/*------800px------*/
@media screen and (max-width:800px) {
    .ServiceBlock {
        width: 100%;
        margin-right: 6px;
    }
}

/*------500px------*/
@media screen and (max-width:520px) {
    .LinkBox {
        width: 100%;
    }
    .articeList article {
        flex: 1 1 250px;
        display: flex;
        max-width: 500px;
      }
      .articeList .photo {
        height: 240px;
      }
}