/* 
    配色
    #454C50 黒寄りのグレー
    #6E777C グレー
    #D7E6EF グレー寄りの青
*/

html{
    font-size: 62.5%;
}

body{
    width: 100%;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 2;
}

header{
    width: 100%;
    background-color: #6E777C;
    color: #FFFFFF;
    position: fixed;
    padding: 10px 0 10px 10px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

header > p{
    padding: 0;
    margin: 0;
    height: 3rem;
    font-size: 3rem;
    font-weight: 700;
    line-height: 3rem;
    text-align: center;
}

header > p >a,header > p >a:hover,header > p >a:visited{
    color: inherit;
    text-decoration: none;
}

.site-note{
    font-size: 1.6rem;
}

.main{
    padding-top: calc(3rem + 20px);
}

.page-title{
    color: #000000;
    text-align: center;
    margin: 15px 0;
    text-decoration: underline;
    text-underline-offset: 5px; 
    text-decoration-thickness: 2px;
}

.page-title > h2{
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

/* 見出し */
.content-title-wrapper {
    /* このcalcはページ内遷移した時に見出しが固定ヘッダに隠れないようにするため */
    margin-top: calc( -1 * (3rem + 20px)); 
    padding: calc(3rem + 20px + 15px) 15px 15px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-title{
    line-height: 2rem;
    padding: 0 20px;
    margin: 0;
    font-size: 1.6rem;
    font-weight: 400;
    word-break:break-all;
}

.content-line{
    flex-grow: 1; 
    min-width: 10%;
    height: 1.5px;
    background-color: #000;
}

/* メニューアイテム */
.menu-item-wrapper{
    display: flex;
    flex-wrap: wrap;
}
.menu-item-wrapper > p{
    width: calc(50% - 15px);
    margin: 5px 0;
    background-color: #F5F5F5;
    line-height: 3rem;
    text-align: center;
    border-radius: 10px 10px 10px 10px;
}

.menu-item-wrapper > p:hover{
    background-color: #000000;
    color: #FFFFFF;
}

.menu-item-wrapper > p:nth-of-type(odd){
    margin-left: 10px;
    margin-right: 5px;
}

.menu-item-wrapper > p:nth-of-type(even){
    margin-left: 5px;
    margin-right: 10px;
}

.menu-item-wrapper > p > a{
    text-decoration: none;
    color: inherit;
}

.attention{
    color: red;
    font-weight: 600;
}

/********************
ペジネーション
********************/
.pagination {
    text-align: center;
}

.pagination li{
    display: inline-block;
}