html { 
    font-family: 
    "Helvetica Neue",
    "Helvetica Neue",
    "Arial",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Meiryo",
    sans-serif;

    background: #ebeef8; 
    padding: 6px; 
    overflow: hidden;
    height: 100%;
}

body { 
    max-width: 1000px; 
    margin: 0 auto; 
    background: white; 
    overflow-x: hidden;
    overflow-y: visible;
    height: 100%;

    -ms-overflow-style: none; /* IE, Edge 対応 */
    scrollbar-width: none;    /* Firefox 対応 */
}
body::-webkit-scrollbar {
    display: none;            /* Chrome, Safari 対応 */
}

h1 { 
    margin: 1rem 0; 
}

a { 
    color: #377bd8; 
}

hr { 
    border: none; 
    border-top: 1px solid lightgray; 
    margin: 0 0;
}

nav { 
    display: flex; 
    align-items: center; 
    padding: 0 0.5rem; 
}

nav h1 { 
    flex: auto; 
    margin: 0; 
}

nav h1 a { 
    text-decoration: none; 
    padding: 0.25rem 0.5rem; 
}

nav ul  { 
    display: flex; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}

nav ul li a, 
nav ul li span, 
header .action { 
    display: block; 
    padding: 0.5rem; 
}

section.site-top {
    width: 100%;
}

h1.site-title {
    width: calc(100% - 40px);
    margin-bottom: 0;
    padding-top: 20px;
    padding-left: 30px;
}

h1.site-title a {
    text-decoration: none;
    color: black;
}

h1.site-title a:hover {
    color: #377bd8;
}

p.site-description {
    width: calc(100% - 40px);
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 30px;
    padding-bottom: 30px;
    font-size: 80%;
    color: gray;
}

img.site-top-image {
    width: 100%;
    vertical-align: bottom;
}


.hamburger-menu {
    display: block;
}
.menu-btn {
    position: relative;
    margin-right: 0;
    margin-left: auto;
    display: flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #377bd8;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: relative;
}
.menu-btn span:before {
    bottom: 11px;
}
.menu-btn span:after {
    top: 8px;
}
#menu-btn-check {
    display: none;
}
.menu-content {
    max-width: 1000px;
    width: 100%;
    /* height: 100%; */
    height: 0;
    position: relative;
    left: 100%; /*leftの値を変更してメニューを画面外へ*/
    background-color: #377bd8;
    display: block;
    
}
.menu-content ul {
    margin: 0;
    padding: 8px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 18px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 15px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    position: relative;
    right: 11px;
    top: 16px;
}
#menu-btn-check:checked ~ .menu-content {
    left: 0; /*メニューを画面内へ*/
    height: auto;
}



.content { 
    padding: 0 1rem 1rem; 
}

.content > header { 
    border-bottom: 1px solid lightgray; 
    display: flex; 
    align-items: flex-end; 
    word-break: normal;
}

.content > header h1 { 
    flex: auto; 
    margin: 1rem 0 0.25rem 0; 
    font-size: 160%;
}

.flash { 
    margin: 10px 0; 
    padding: 10px; 
    background: #cae6f6; 
    border: 1px solid #377bd8; 
    font-size: 90%;
}

.post > header { 
    display: flex; 
    align-items: flex-end; 
}

.post > header > div:first-of-type { 
    flex: auto; 
}

.post > header h1 {  
    margin-top: 20px;
    margin-bottom: 0; 
    font-size: 150%;
}

.post > header h1 a {
    text-decoration: none;
    color: black;
}

.post > header h1 a:hover {
    color: #377bd8;
}

.post .about { 
    color: slategray; 
    /* font-style: italic;  */
}

.post .body { 
    white-space: pre-line;

}

.post figure {
    margin: 10px 0;
}
.post img {
    max-width: 600px;
    width: 100%;
    height: auto;
}

/* タグ*/
.tags-space {
    display: block;
    margin: 30px auto 20px;
}

.tags {
    display: flex;
    justify-content: left;
    text-align: center;
    vertical-align: bottom;
    list-style-type: none;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    gap: 0 8px;
}

.tags a {
    display: inline-block;
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: super;
    padding: 0 4px;

    width: auto;
    height: 20px;
    border: 1px solid #377bd8;
    border-radius: 2px;
    background-color: #377bd8;
    color: #fff;
    font-size: 80%;
    text-decoration: none;
}

.tags a:not(:hover) {
    text-decoration: none;
}

.div-note-iframe {
    height: 180px;
}

.note-embed {
    border: 0; 
    display: block; 
    max-width: 100%;
    width: 100%;
    width: 900px;
    max-height: 250px;
    height: 200px;
    padding: 0px; 
    margin: 0px; 
    position: static; 
    visibility: visible;

}

/* ページネーション */
nav.Pagenavigation {
    display: block;
    margin: 0 auto;
    height: 74px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: bottom;
    
    list-style-type: none;
    padding: 20px 0;
    margin: 0;
    gap: 0 8px;
}

.pagination a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    border: 1px solid #377bd8;
    border-radius: 1px;
    color: #377bd8;
    text-decoration: none;
}
  
.pagination a:not(:hover) {
    text-decoration: none;
}

.pagination .page-numbers-current a {
    background-color: #377bd8;
    color: #fff;
    pointer-events: none;
}
  


.content:last-child { 
    margin-bottom: 0; 
}

.content form { 
    margin: 1em 0; 
    display: flex; 
    flex-direction: column; 
}

.content label { 
    font-weight: bold; 
    margin-bottom: 0.5em; 
}

.content input, 
.content textarea { 
    margin-bottom: 1em; 
}

.content textarea { 
    min-height: 12em; 
    resize: vertical; 
}

input.danger { 
    color: #cc2f2e; 
}

input[type=submit] { 
    align-self: start; 
    min-width: 10em; 
}


/* エラーページ */
.httperror-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

h1.httperror-h1 {
    margin: 20px;
}

p.httperror-p {
    margin: 20px;
}

a.httperror-toppage-link {
    margin: 20px;
}

span.copyright {
    height: 40px;
    margin: 0 10px;
    padding: 10px 0;
    display: inline-block;
    width: calc(100%-20px);
    bottom: 0; 
}