/*------共通部品------*/
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');

h1 {
    position: relative;
    margin: 45px auto;
    font-size: 35px;
    padding: 0 55px;
    display: inline-block;
    word-break: break-all;
}

h1:before,
h1:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 45px;
    height: 1px;
    background-color: black;
}

h1:before {
    left: 0;
}

h1:after {
    right: 0;
}

h2 {
    margin-top: 60px;
    border-bottom: solid 3px black;
    width: fit-content;
    position: relative;
    padding-left: 25px;
    padding-right: 25px;
}

h2:before {
    position: absolute;
    content: '';
    bottom: -3px;
    left: -3px;
    width: 0;
    height: 0;
    border: none;
    border-left: solid 15px transparent;
    border-bottom: solid 15px rgb(0, 0, 0);
}

.h3-contents{
    padding: 10px;
    color: #494949;
    background: #f4f4f4;
    border-left: solid 5px #7db4e6;
    border-bottom: solid 3px #d7d7d7;
    margin-right: 30px;
}

a {
    color: #000dc5;
    ;
    text-decoration: none;
}

a:hover {
    color: #1784cc;
}

.default-table {
    border-collapse: collapse;
    border: 2px solid rgb(140 140 140);
    font-family: sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin: 0px auto;
}

.default-table > thead > tr > th{
    text-align: center;
    border: 1px solid rgb(160 160 160);
    background-color: #1784cc;
    color: #fff;
}

.default-table > tbody > tr > th {
    text-align: center;
    border: 1px solid rgb(160 160 160);
    padding: 8px 10px;
}

.default-table > tbody > tr > td {
    text-align: center;
    border: 1px solid rgb(160 160 160);
    padding: 8px 10px;
}

img{
    max-width: -moz-available;
    max-width: -webkit-fill-available;
    border: 1px solid rgb(109, 109, 109);
}

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

/*------パンくずリスト------*/
#breadcrumbs{
    padding-top: 10px;
}

/*------コンテンツ------*/
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    background-color: rgb(211, 211, 211);
}

#main {
    display: flex;
}

#contents {
    background-color: white;
    width: 1000px;
    padding: 0px 10px 20px 50px;
    margin: 20px 0px 30px 0px;
    margin-left: 10px;
    display: flex;
    flex-flow: column;
    border-radius: 30px;
}
.square{
    border: 2px solid black;
    padding: 10px;
}

.question{
    border: 2px solid rgb(255, 0, 0);
    border-radius: 10px;
    padding: 10px;
    margin-right: 50px;
    display: flex;
    align-items: center;
}

.question > img{
    width: 20px;
    padding-right: 10px;
}

.answer{
    border: 2px solid rgb(0, 0, 255);
    border-radius: 10px;
    padding: 10px 30px 30px 30px;
    margin-right: 50px;
}

.answer > img{
    width: 30px;
    padding-right: 10px;
    left: -25px;
    position: relative;
}

.link-card-domain > p{
    overflow-wrap: break-word;
    line-break: anywhere;
}

/*------コード表示------*/
code {
    display: inline-block;
    padding: 0.1em 0.2em;
    background-color: #e7edf3;
    border-radius: 3px;
}

/*------フッター------*/
#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: center;
}

.footerFixed {
    margin: 0px;
    min-height: 160px;
    position: relative;
    padding-bottom: 80px;
    box-sizing: border-box;
}

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

/*------サイドアイコン------*/
#sideIcon {
    height: 45px;
    padding-right: 5px;
    padding-top: 5px;
    border: 0px
}

#sidemenu-left {
    margin-left: 20px;
    height: fit-content;
    width: 250px;
    min-width: 250px;
    position: sticky;
    top: 140px;
}

#sidemenu-right {
    margin-top: 10px;
    margin-left: 20px;
    height: fit-content;
    width: 300px;
    min-width: 300px;
}

.sideBox {
    background-color: #fff;
    padding-bottom: 5px;
}

.sideMenuTitle {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #242F3E;
    font-size: 25px;
    color: #fff;
    text-align: center;
}

/*------ランキングアイコン------*/
#sideLanking {
    margin-top: 10px;
    margin-right: 10px;
}

#LankingArticle {
    list-style: none;
    padding: 10px;
}

#LankingArticle>li>a {
    display: block;
    width: clac(100% - 20px);
}

#LankingArticle>li>a>img {
    display: block;
    width: 60%;
    margin: 0px auto;
}

/*------1400px------*/
@media screen and (max-width:1400px) {
    #contents {
        margin-left: auto;
        margin-right: auto;
    }

    #sidemenu-left {
        display: none;
    }
}

/*------1200px------*/
@media screen and (max-width:1200px) {
    #sidemenu-right {
        display: none;
    }
}

/*------1023px------*/
@media screen and (max-width:1023px) {
    body {
        padding-left: 0px;
        margin: 0px;
    }

    #contents {
        width: calc(100% - 20px) !important;
        margin: 0px;
        border-radius: 0px;
        padding: 20px 10px;
        top: 25px;
        position: relative;
    }

    h1 {
        margin: 35px auto;
    }

    .footerFixed {
        padding-bottom: 80px;
    }

    #top-menu {
        display: none;
    }
    .question,.answer{
        margin-right: 0px;
    }
    .explanation > a > img{
        width: 100%;

    }
}

/*------655px------*/
@media screen and (max-width:655px) {
    .footerFixed {
        padding-bottom: 80px;
    }
}

/*------500px------*/
@media screen and (max-width:500px) {
    h1 {
        padding: 0px;
    }

    h1:before,
    h1:after {
        display: none;
    }
}

/*------455px------*/
@media screen and (max-width:455px) {
    .footerFixed {
        padding-bottom: 80px;
    }
}