
body {
    font-family: "Noto Sans JP", sans-serif;
    background-image: url(images/japanese-paper22-p.jpg);
    background-repeat: repeat;

    line-height: 2;
}



a[target="_blank"]::after {
    margin: 0 0.125rem 0 0.25rem;
    font-family: "Font Awesome 5 Free";
    font-size: 0.625rem;
    content: '\f35d';
    font-weight: 900;
}

a[target="_blank"].noicon::after {
    content: '';
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

li {
    list-style: none;
}

p {
    margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
    p {
        margin-bottom: 2.5rem;
    }
}
@media screen and (max-width: 767px) {
    .no-sp {
        display: none;
    }
}
@media screen and (min-width: 768px) {
    .no-pc {
        display: none;
    }
}



/* header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;

    padding: 0 0.9375rem;
    background-color: #fcfcfc;
    height: 5rem;

    box-shadow: rgba(0, 0, 0, 0.5) 0 0.125rem 0.125rem;
}

.header-container {
    margin: 0 auto;
    max-width: 86.25rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    line-height: 1;
}

.hamburger-button {
    cursor: pointer;
    width: 1.5rem;
    height: 1.25rem;
    position: relative;

    z-index: 10;
}

.hamburger-button-bar {
    background-color: #333;
    position: absolute;
    width: 1.5rem;
    height: 0.25rem;
    transition: all 0.3s ease;
}
.hamburger-button-bar:nth-child(1) {
    top: 0;
    transform: rotate(0);
}
.hamburger-button-bar:nth-child(2) {
    top: 0.5rem;
}
.hamburger-button-bar:nth-child(3) {
    top: 1rem;
}
.hamburger-button.active .hamburger-button-bar {
    background-color: #fcfcfc;
}

.hamburger-button.active .hamburger-button-bar:nth-child(1) {
    top: 0.5rem;
    transform: rotate(45deg);
}
.hamburger-button.active .hamburger-button-bar:nth-child(2) {
    opacity: 0;
}
.hamburger-button.active .hamburger-button-bar:nth-child(3) {
    top: 0.5rem;
    transform: rotate(-45deg);
}

.hamburger-menu {
    color: #fcfcfc;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #333;

    visibility: hidden;
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.3s ease;
}

.hamburger-menu.open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
}

.hamburger-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1.5rem;
    padding-top: 6.25rem;
}

.hamburger-nav-list-item a {
    color: #fcfcfc;
    text-decoration: none;
    font-size: 1.125rem;
}

.header-nav {
    display: none;
}

@media screen and (min-width: 1024px) {
    .hamburger-button, .hamburger-menu {
        display: none;
    }

    .header-nav {
        display: block;
    }
    .header-nav-list {
        display: flex;
        column-gap: 2.5rem;
    }

    .header-nav-list-item {
        font-size: 1.125rem;
        font-weight: 500;
    }

    .header-nav-list-item a{
        color: #333333;
        text-decoration: none;
        position: relative;
    }

    .header-nav-list-item a::before{
        content: '';
        background-color: #333;
        position: absolute;
        top: 1.5rem;
        left: 50%;
        width: 0;
        height: 0.0625rem;
        transition: all 0.3s ease;
    }

    .header-nav-list-item a:hover::before{
        content: '';
        background-color: #333;
        position: absolute;
        top: 1.5rem;
        left: 0;
        width: 105%;
        height: 0.0625rem;
    }
}

.header-margin {
    margin-top: 5rem;
}

/* sidebar */
.column-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.column-left {
    max-width: 67.5rem;
    width: 100vw;
}
.column-right {
    display: none;
}

@media screen and (min-width: 1024px) {
    .column-left {
        max-width: 67.5rem;
        width: calc(100vw - 18.75rem);
    }
    .column-right {
        display: block;
        padding: 5rem 1rem 1.25rem;
        max-width: 18.75rem;
        width: 18.75rem;
    }

    .sidenav-title {
        padding: 0 0 0.625rem;
        font-size: 1.5rem;
        text-align: center;
    }

    .side-nav {
        background-color: #fcfcfc;
        box-shadow: rgba(0, 0, 0, 0.5) 0.5rem 0.5rem 0.5rem;
        position: sticky;
        top: 10rem;
        z-index: 0;
        padding: 1.25rem;
        max-width: 18.75rem;
        width: 100%;
    }

    .sidenav-list {
        font-size: 1.125rem;
    }
    .sidenav-list-item {
        padding: 0.75rem 0 0.25rem;
    }
    .sidenav-list-item+.sidenav-list-item {
        border-top: #333 0.0625rem dashed;
    }

    .sidenav-list-item a {
        color: #333;
        text-decoration: none;
    }
    .sidenav-list-item a:hover {
        text-decoration: underline;
    }
}

/* kv */
.key-visual img {
    max-width: 67.5rem;
    margin: 0 auto;
    display: block;
}

.photo-desc {
    color: #333;
    font-size: 1rem;
    text-align: center;
    line-height: 1;
}

@media screen and (min-width: 768px) {
    .photo-desc {
        font-size: 1.125rem;
    }
}

/* notice */
.notice {
    max-width: 69.375rem;
    margin-top: 3.75rem;
    padding: 0 0.9375rem 0;
}

.notice-container {
    margin: 0 auto;
    background-color: #fcfcfc;
    padding: 0.5rem 0.9375rem 0.5rem;
    box-shadow: rgba(0, 0, 0, 0.5) 0.5rem 0.5rem 0.5rem;
}

.notice-title {
    padding: 3rem 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}
.notice p{
        font-size: 1rem;
        letter-spacing: 0.04em;
        text-align: justify;
}

@media screen and (min-width: 768px) {
    .notice p{
        font-size: 1.125rem;
        letter-spacing: 0.04em;
    }
    .notice-title {
        padding: 3.75rem 0;
        font-size: 2rem;
    }
    .notice-container {
        padding: 0.5rem 2rem 0.5rem;
    }
}
/* post */
.post {
    max-width: 69.375rem;
}

.post-container {
    padding: 0 0.9375rem;
    margin: 5rem auto;
}

.post-article {
    display: block;
    padding: 0.5rem 0.9375rem 0.5rem;
    background-color: #fcfcfc;
    box-shadow: rgba(0, 0, 0, 0.5) 0.5rem 0.5rem 0.5rem;
}

.post-article h3 {
    font-size: 1.125rem;
    color: #333;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.post-article h4 {
    font-size: 1rem;
    color: #e12929;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 3rem 0 2rem;
}
.post-article h5 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 3rem 0 1rem;
}
.post-article h6 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin: 0 0 1rem;
}

.post-article p{
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-align: justify;
}

.post-article hr {
    margin: 3rem 0 3rem;
}

.post-article blockquote {
    color: #333367;
    margin: 0 2rem 2rem;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-align: justify;
}

.post-article img {
    max-width: 100%;
    width: auto;
}

.post-article .wrapper {
    width: 100%;
    margin: 0 0 2rem;
    display: flex;
    align-items: center;
    flex-direction: column;
}




.post-article table {
    margin: 0 auto;
    table-layout: auto;
    border-collapse: collapse;
    width: fit-content;
}
.post-article table th,
.post-article table td {
    border: solid 0.0625rem #333;
    white-space: normal;
    max-width: 20rem;
} 
.post-article table img {
    width: auto;
    margin: 0 auto;
    display: block;
}
.post-article .singlecolumn-table img {
    max-width: min(35rem, 100%);
}
.post-article .singlecolumn-table th,
.post-article .singlecolumn-table td {
    max-width: 35rem;
}

p.post-id {
    font-size: 0.875rem;
    padding: 0 1rem 1rem;
    margin: 0;
}

p.post-date {
    font-size: 0.875rem;
    text-align: right;
}


.post-title {
    color: #333367;
    padding-left: 0.5rem;
    min-height: 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    background-color: #ebafaf;
    border-left: #e12929 solid 1rem;

    margin-bottom: 1rem;
}
h3.post-subtitle {
    color: #e12929;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.post-author {
    font-size: 1.125rem;
    font-weight: 700;
    text-align: right;
    padding-bottom: 2rem;
    line-height: 1;
}

.next-link {
    padding: 1rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.next-link-center {
    margin-left: auto;
    margin-right: auto;
}
.next-link-left {
    margin-left: 0;
    margin-right: auto;
    width: 5.25rem;
}
.next-link-right {
    margin-left: auto;
    margin-right: 0;
    width: 5.25rem;
}

@media screen and (min-width: 768px) {
    .post-article {
        padding: 1rem 2.25rem 1rem;
    }

    .post-article h3 {
        font-size: 1.25rem;
        color: #333;
        font-weight: 700;
        letter-spacing: 0.08em;
    }

    .post-article h4 {
        font-size: 1.125rem;
        color: #e12929;
        font-weight: 700;
        letter-spacing: 0.08em;
        margin: 5rem 0 2.5rem;
    }

    .post-article h5 {
        font-size: 1.125rem;
    }
    
    .post-article h6 {
        font-size: 1.125rem;
    }

    .post-article p{
        font-size: 1.125rem;
    }

    .post-article hr {
        margin: 5rem 0 5rem;
    }

    .post-article blockquote {
        margin: 0 2.5rem 2.5rem;
        font-size: 1.125rem;
    }

    .post-article .wrapper {
        margin: 0 0 2.5rem;
    }
    
    p.post-id {
        font-size: 1rem;
    }
    p.post-date {
        font-size: 1rem;
    }

    .post-title {
        color: #333367;
        padding-left: 0.5rem;
        min-height: 2.5rem;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.5;
        background-color: #ebafaf;
        border-left: #e12929 solid 1rem;

        margin-bottom: 1.25rem;
    }

    h3.post-subtitle {
        color: #e12929;
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }

    .post-author {
        font-size: 1.25rem;
        padding-bottom: 2.5rem;
    }

    .next-link-left {
        margin-left: 0;
        margin-right: auto;
        width: 5.875rem;
    }
    .next-link-right {
        margin-left: auto;
        margin-right: 0;
        width: 5.875rem;
    }
}

/* sns */
.sns {
    padding: 0 0.9375rem 0;
    max-width: 40rem;
    margin: 0 auto 5rem;
}
.sns-container {
    padding: 0.5rem 0.9375rem 2.5rem;
    background-color: #fcfcfc;
    box-shadow: rgba(0, 0, 0, 0.5) 0.5rem 0.5rem 0.5rem;
}

.sns-title {
    padding: 3rem 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.sns-paragraph {
    font-size: 1rem;
    padding: 0;
}

.sns .twitter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 99%;
}

@media screen and (min-width: 768px) {
    .sns-title {
        padding: 3.75rem 0;
        font-size: 2rem;
    }

    .sns-paragraph {
        font-size: 1.125rem;
        padding: 0;
    }
}
/* footer */
.footer {
    color: #fcfcfc;
    background-color: #333;
}
.footer a {
    color: #fcfcfc;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

.footer-container {
    padding: 2rem 0.9375rem 2.5rem;
    max-width: 67.5rem;
    margin: 0 auto;
}

.footer-paragraph {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.mail-nodummy {
    display: inline-block;
}
.mail-dummy {
    display: none;
}

.footer-nav-list {
    padding: 0 0.9375rem;
    display: flex;
    flex-direction: column;
}

.footer-nav-list-item + .footer-nav-list-item {
    padding-top: 0.5rem;
}

.footer-nav-list-item::before {
    content: "\f105";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    padding-right: 0.5rem;
}

.footer-copyright {
    font-size: 0.875rem;
    margin: 0 auto;
    padding-top: 4.5rem;
    width: fit-content;
    display: block;
}

@media screen and (min-width: 768px) {
    .footer-paragraph {
        font-size: 1.125rem;
    }

    .footer-nav-list {
        padding: 2rem 1rem 0;
        font-size: 1.125rem;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        row-gap: 1rem;
    }

    .footer-nav-list-item {
        width: max(calc(100% / 4), 12.5rem);
    }

    .footer-nav-list-item + .footer-nav-list-item {
        padding-top: 0;
    }
}




/* history */
.post-article .senbotu-wrapper {
    overflow-x: auto;
    max-width: 100%;
}
.post-article .senbotu-table {
    white-space: nowrap;
    width: max-content;
    table-layout: auto;
    display: block;
}
.post-article .senbotu-table tr:nth-child(2n-1) {
    background-color: #dfdfdf;
}
.post-article .senbotu-table tr:nth-child(1) {
    background-color: #cccccc;
}
.post-article .senbotu-table td {
    padding: 0 0.25rem;
}



/* activity */
.activity-list {
    width: 95%;
    margin: 0 auto;
}
.activity-list-item {
    padding: 0.75rem 0.5rem 0.25rem;
    font-size: 1rem;
}
.activity-list-item+.activity-list-item{
    border-top: #333 0.0625rem dashed;
}
.activity-list-item a{
    color: #333;
    text-decoration: none;
}
.activity-list-item a:hover{
    text-decoration: underline;
}

@media screen and (min-width: 768px) {
    .activity-list-item {
        font-size: 1.125rem;
    }
}


/* books */
.books{
    padding: 0 0.9375rem 0;
    max-width: 67.5rem;
    margin: 0 auto 5rem;
}

.books-container {
    padding: 2.5rem 0.9375rem 2.5rem;
    background-color: #fcfcfc;
    box-shadow: rgba(0, 0, 0, 0.5) 0.5rem 0.5rem 0.5rem;

    display: flex;
    flex-direction: column;
}

.books-info-table {
    font-size: 1rem;
}

.books-info-table td {
    padding: 0.5rem 0 0;
}

.books-info-table td:nth-child(1) {
    width: 10rem;
    vertical-align: top;
}

.books-info-desc {
    font-size: 1rem;
    margin: 0.75rem 0 0;
    padding: 0.75rem 0 0;
    border-top: #333 0.0625rem dashed;
}

@media screen and (min-width: 768px) {
    .books-container {
        flex-direction: row;
    }

    .books-left {
        width: 50%;
        padding: 1rem;
        display: flex;
        align-items: center;
    }
    .books-right {
        width: 50%;
    }
    .books-info-table {
        font-size: 1.125rem;
    }
    .books-info-table td:nth-child(1) {
        width: 12rem;
    }

    .books-info-desc {
        font-size: 1.125rem;
        margin: 0.75rem 1.5rem 0;
        padding: 0.75rem 0 0;
        border-top: #333 0.0625rem dashed;
    }
}

/* kyu-baku */

.kyu-baku-link {
    color: #333;
    text-decoration: none;
}
.kyu-baku-link:hover {
    color: #333;
    text-decoration: underline;
}

.kyu-baku-list {
    width: 95%;
    margin: 0 auto;
}
.kyu-baku-list-item {
    padding: 0.75rem 0.5rem 0.25rem;
    font-size: 1rem;
}
.kyu-baku-list-item+.kyu-baku-list-item{
    border-top: #333 0.0625rem dashed;
}

.kyu-baku-next-link {
    padding: 1rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kyu-baku-next-link-center {
    margin-left: auto;
    margin-right: auto;
}
.kyu-baku-next-link-left {
    margin-left: 0;
    margin-right: auto;
    width: 5.25rem;
}
.kyu-baku-next-link-right {
    margin-left: auto;
    margin-right: 0;
    width: 5.25rem;
}

@media screen and (min-width: 768px) {
    .kyu-baku-list-item {
        font-size: 1.125rem;
    }

    .post-article .kyu-baku-table {
        width: 100%;
        font-size: 1.125rem;
    }
    .kyu-baku-next-link-left {
        margin-left: 0;
        margin-right: auto;
        width: 5.875rem;
    }
    .kyu-baku-next-link-right {
        margin-left: auto;
        margin-right: 0;
        width: 5.875rem;
    }
}

/* sukesan */
.sukesan-list {
    margin: 0 0.5rem 3rem;
}
.sukesan-list li{
    color: #333;
    font-size: 1rem;
    margin: 0 0 0.75rem;
}
@media screen and (min-width: 768px) {
    .sukesan-list li{
        color: #333;
        font-size: 1.125rem;
        margin: 0 0 0.75rem;
    }
}

/* kumasan */
.kumasan-strong {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.5;
    background-color: #ebafaf;
    color: #333367;
    padding: 0.5rem;
    display: block;
    width: fit-content;
}
h4.kumasan-strong {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.5;
    background-color: #ebafaf;
    color: #333367;
    padding: 0.5rem;
    display: static;
    width: 100%;
}
@media screen and (min-width: 768px) {
    .kumasan-strong{
        font-size: 1.25rem;
    }
    h4.kumasan-strong {
        font-size: 1.5rem;
        color: #333367;
    }

}

/* archives */
.archives-link {
    color: #333;
    text-decoration: none;
}
.archives-link:hover {
    text-decoration: underline;
}

.archives-list {
    width: 95%;
}

.archives-list-item {
    font-size: 1rem;
    color: #333;
    padding: 0.75rem 0 0.25rem;
}

.archives-list-item+.archives-list-item {
    border-top: #333 0.0625rem dashed;
}

@media screen and (min-width: 768px) {
    .archives-list-item {
        font-size: 1.125rem;
    }
}

/* information */

ol.information-ol {
    font-size: 1rem;
    margin: 0 0 2.5rem;
}
ol.information-ol li{
    list-style: decimal;
    margin-left: 1.125rem;
}
ul.information-ul {
    font-size: 1rem;
    margin: 0 0 3rem;
}
ul.information-kaisoku-list {
    font-size: 1rem;
    margin: 0 0 3rem;
}
.information-kaisoku-list-item {
    margin: 0 0 3rem;
}

.information-nyukai-image {
    max-width: 15rem;
}

@media screen and (min-width: 768px) {
    ol.information-ol {
        font-size: 1.125rem;
        margin: 0 0 3rem;
    }
    ol.information-ol li{
        list-style: decimal;
        margin-left: 1.25rem;
    }
    ul.information-ul {
        font-size: 1.125rem;
        margin: 0 0 3rem;
    }
    ul.information-kaisoku-list {
        font-size: 1.125rem;
        margin: 0 0 3rem;
    }
}


/**/

.post21-profile-container{
    margin: 0 0 2.5rem;
    padding: 0.75rem;
    background-color: #eeeeee;
    border: #333 0.0625rem solid;
}
@media screen and (min-width: 768px) {
    .post21-profile-container{
        margin: 0 3rem 3rem;
        padding: 0.75rem;
    }
}