html {
    font-family: "Noto Sans JP";
    color: #333;
}
body {
    margin: 0;
    padding: 0;
}
* {
    box-sizing: border-box;
}
h1,h2,h3,h4,ul,li,p {
    margin: 0;
    padding: 0;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s;
}
a:hover {
    opacity: 0.7;
}
input,textarea {
    padding: 10px;
    border: 1px solid #ccc;
    outline: 0;
    font-family: "Noto Sans JP";
    color: #333;
}

.pb-50 {
    padding-bottom: 50px;
}

/* layout */
header {
    z-index: 100;
    position: sticky;
    top: 0;
    width: 100%;
    box-shadow: 1px 1px 2px #ddd;
}
.alignfull {
    width: 100%;
}
.alignwide {
    max-width: 1040px;
    margin: auto;
}
.alignnormal {
    max-width: 700px;
    margin: auto;
}
footer {
    background-color: #434343;
    color: #fff;
}

/* header */
.header-inner {
    max-width: 1040px;
    margin: auto;
}
.header-top {
    background-color: #434343;
    color: #fff;
    font-size: 14px;   
}
.header-top .header-inner {
    display: flex;
    flex-direction: row;
    column-gap: 1.3em;
    align-items: center;
    justify-content: flex-end;
    padding: 3px;
}
.language-icon {
    width: 16px;
    height: auto;
}
.header-bottom {
    position: relative;
    height: 100px;
    background-color: #fff;
}
.header-bottom .header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.header-bottom .header-nav ul {
    display: flex;
    flex-direction: row;
    column-gap: 1.6em;
    font-weight: bold;
}
.header-title {
    font-size: 30px;
    font-weight: bold;
}

/* footer */
.footer-inner {
    max-width: 1040px;
    margin: auto;
    padding: 30px 0;
}
.footer-inner a {
    color: #fff;
}
.footer-nav ul {
    display: flex;
    flex-direction: row;
    column-gap: 1em;
    justify-content: center;
}
.footer-sns-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 25px;
    padding-top: 1.5em;
}
.footer-sns-links span {
    width: 24px;
}
.footer-sns-links a {
    display: inline-block;
}
.footer-sns-links a img {
    width: 100%;
    height: auto;
}
.copyright {
    padding-top: 1.5em;
    text-align: center;
}

/* page */
section {
    padding-bottom: 50px;
}
.pagetitle-area {
    background-color: #4B0000;
    color: #fff;
}
h1.wp-block-heading {
    margin-bottom: 30px;
    padding: 45px 0 45px;
    font-size: 40px;
}
h2.wp-block-heading {
    padding: 50px 0 50px;
    font-size: 34px;
}
h3.wp-block-heading {
    margin: 50px 0 30px;
    font-size: 24px;
}
h4.wp-block-heading {
    margin: 40px 0 20px;
    font-size: 20px;
}
section .wp-block-columns.gap-20 {
    column-gap: 20px;
}
section .wp-block-columns {
    margin-bottom: 40px;
}
section p {
    padding-bottom: 1.5em;
    line-height: 1.9em;
}
section a {
    color: #4B0000;
}
section figure > a {
    border-bottom: none;
}
section *:last-child {
    margin-bottom: 0;
}
section .wp-block-buttons {
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    justify-content: center;
    margin-top: 20px;
}
section .text-link a {
    padding: 7px 0px;
    border-bottom: 1px solid #4B0000;
}
.btn-box {
    padding: 40px 0 0px;
}
.page h3.wp-block-heading {
    padding-left: 0.8em;
    border-left: 3px solid #9b0f0f;
}
.page ul.bullet-list {
    margin-bottom: 50px;
}
.page ul.bullet-list li {
    position: relative;
    margin-bottom: 1em;
    padding-left: 1.5em;
}
.page ul.bullet-list li a {
    text-decoration: none;
}
.page ul.bullet-list li::before {
    position: absolute;
    left: 0;
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.3em;
    vertical-align: bottom;
    content: '・';
}
.page table td {
    min-width: 150px;
    background-color: #fff;
    border-color: #ddd;
}
.page table tr td:nth-of-type(1) {
    background-color: #eee;
}


.top-news .news-list {
    margin-bottom: 2em;
}
.top-news .news-list li {
    margin-bottom: 0.7em;
}
.top-news .news-list .news-date {
    margin-right: 1em;
}
.top-news .news-list .news-title {
    font-weight: bold;
}

.top-service a {
    padding: 7px 0px;
    border-bottom: 1px solid #4B0000;
}
.top-service .wp-block-columns {
    column-gap: 40px;
    margin-top: 30px;
    justify-content: center;
}
.top-service .wp-block-column {
    max-width: 230px;
}
.top-service .wp-block-image {
    aspect-ratio: 1;
    clip-path: circle();
}
.top-service .wp-block-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top-service .wp-block-column > p {
    position: relative;
    width: 130px;
    margin: auto;
    padding: 10px 0 15px;
    border-bottom: 4px solid #ddd;
    font-weight: bold;
}
.top-service .wp-block-column > p::after {
    position: absolute;
    display: inline-block;
}
.top-service ul.activity-list {
    margin-bottom: 50px;
}
.top-service ul.activity-list li {
    margin-bottom: 1em;
}
.top-service ul.activity-list li::before {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-right: 1em;
    background-image: url(../img/check.png);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: bottom;
    content: '';
}

.top-blog a {
    padding: 7px 0px;
    border-bottom: 1px solid #4B0000;
}
.top-blog .wp-block-columns {
    column-gap: 30px;
}
.top-blog .wp-block-column p:nth-of-type(1) {
    padding-bottom: 0.5em;
    font-size: 14px;
}
.top-blog .wp-block-column p:nth-of-type(2) {
    font-weight: bold;
}
.top-access .wp-block-columns {
    column-gap: 40px;
}
section.top-contact {
    min-height: 320px;
    padding: 0;
}
.top-contact .wp-block-button {
    width: 300px;
}
.top-contact .wp-block-button__link {
    width: 100%;
    padding: 20px;
    background-color: #4B0000;
    border-radius: 0;
}
section.etc {
}
.etc .wp-block-columns {
    justify-content: center;
}
.etc .wp-block-column {
    max-width: 320px;
}
.etc .wp-block-columns .wp-block-column figure {
    margin: auto;
}
.donation-list {
}
.donation-list .wp-block-column {
    display: flex;
    flex-direction: column;
}
.donation-list .wp-block-column > .wp-block-image {
    display: flex;
    min-height: 150px;
}
.donation-list .wp-block-column > .wp-block-image img {
    object-fit: contain;
}
.donation-list .wp-block-column > .wp-block-image > figure {
    margin: auto;
}

/* activity */
.activity {
    background-color: #f5f5f5;
}
.activity section .wp-block-group {
    background-color: #fff;
}
.activity section .alignnormal {
    max-width: 840px;
    padding: 60px;
}
.activity h2.wp-block-heading {
    padding-top: 0;
}
.activity h3.wp-block-heading {
    padding-left: 0.8em;
    border-left: 3px solid #9b0f0f;
}
.activity ul.bullet-list {
    margin-bottom: 50px;
}
.activity ul.bullet-list li {
    position: relative;
    margin-bottom: 1em;
    padding-left: 1.5em;
}
.activity ul.bullet-list li a {
    text-decoration: none;
}
.activity ul.bullet-list li::before {
    position: absolute;
    left: 0;
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.3em;
    vertical-align: bottom;
    content: '・';
}
.activity table td {
    min-width: 150px;
    background-color: #fff;
    border-color: #ddd;
}
.activity table tr td:nth-of-type(1) {
    background-color: #eee;
}

/* contact */
.contact-form .wp-block-group {
    max-width: 700px;
    margin: auto;
}
.contact-form .form-item {
    display: flex;
    flex-direction: row;
    align-items: top;
    justify-content: start;
    margin-bottom: 1em;
}
.contact-form .form-item label {
    display: inline-block;
    width: 170px;
    padding: 10px;
}
.contact-form .form-item span {
    flex: 1;
}
.contact-form .form-item input,
.contact-form .form-item textarea {
    width: 100%;
    font-size: 16px;
}
.contact-form .form-btn {
    text-align: center;
}
.contact-form .form-btn input {
    width: 200px;
    padding: 10px;
    border: none;
    background-color: #2271b1;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}

/* blog */
.archive .wp-block-group {
    max-width: 700px;
    margin: auto;
}
.archive-list {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    margin-bottom: 10px;
}
.archive-list li {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.archive-list li a {
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    border: none;
    text-decoration: none;
}
.archive-list .archive-item-thumb {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    background-color: #f5f5f5;
}
.archive-list .archive-item-desc {
    flex: 1;
    display: flex;
    flex-direction: column;
    row-gap: 0.5em;
}
.archive-list .archive-date {
    font-size: 14px;
}
.archive-list .archive-title {
    font-size: 18px;
    font-weight: bold;
}
.archive-list .archive-text {
    font-size: 14px;
}
.post-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.post-date {
    margin-top: 20px;
}
.post-text {
    margin-top: 20px;
    margin-bottom: 30px;
}
.pager-area {
    padding-top: 40px;
    padding-bottom: 40px;
}
.page-numbers {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    row-gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.page-numbers li {
    min-width: 10px;
}
.page-numbers li > * {
    display: inline-block;
    padding: 4px 10px;
}
.page-numbers li > a {
    border: 1px solid #4B0000;
}
.page-numbers li > a:hover {
    background-color: #4B0000;
    color: #fff;
}
.page-numbers li .current {
    color: #4B0000;
}
.blog-list .wp-block-column {
    max-width: 237px;
}
.blog-list .wp-block-image img {
	aspect-ratio: 4 / 3;
}
.noimage-box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	background-color: #f5f5f5;
}


/* sp */
.sp-menu-btn {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    width: 80px;
    height: 80px;
    cursor: pointer;
}
.sp-menu-btn > span {
    position: absolute;
    top: 10px;
    left: calc(50% - 13px);
    display: inline-block;
    width: 26px;
    height: 3px;
    background-color: #434343;
    border-radius: 10px;
    content: '';
}
.sp-menu-btn > span:nth-of-type(1) {
    top: 32px;
}
.sp-menu-btn > span:nth-of-type(2) {
    top: 46px;
}
.sp-menu-area {
    display: none;
    z-index: 100;
    position: sticky;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: #430000;
    padding: 30px;
    transition: height 0.4s;
}
.sp-menu-area.open {
    display: block;
}
.sp-menu-area .sp-menu-btn > span:nth-of-type(1) {
    top: 40px;
    transform: rotate(45deg);
    background-color: #fff;
}
.sp-menu-area .sp-menu-btn > span:nth-of-type(2) {
    top: 40px;
    transform: rotate(-45deg);
    background-color: #fff;
}
.header-nav-sp ul {
    display: flex;
    flex-direction: column;
    row-gap: 2em;
}
.header-nav-sp ul a {
    padding: 10px 0;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}
.language-area-sp {
    display: flex;
    flex-direction: row;
    column-gap: 30px;
    align-items: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #fff;
}
.language-area-sp,
.language-area-sp a {
    color: #fff;
    font-size: 22px;
}
.language-area-sp .language-icon {
    width: 24px;
    height: 24px;
}
.bogo-language-switcher {
    display: flex;
    flex-direction: row;
    column-gap: 24px;
    align-items: center;
}
.bogo-language-switcher a {
    display: inline-block;
    width: 100%;
    padding: 3px 0;
    color: #fff;
    text-align: center;
}
.bogo-language-switcher li {
    position: relative;
}
.bogo-language-switcher li span {
    display: inline-block;
    min-width: 36px;
}
.bogo-language-switcher li::after {
    position: absolute;
    top: calc(50% - 0.5em);
    right: -12px;
    display: inline-block;
    width: 1px;
    height: 1em;
    background-color: #fff;
    transform: rotate(30deg);
    content: '';
}
.bogo-language-switcher li:last-child::after {
    display: none;
}


@media (max-width: 1060px) {
    .header-inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .wp-block-columns {
        row-gap: 35px;
        justify-content: center;
    }
    .blog-list .wp-block-column {
        max-width: 340px;
        margin: auto;
    }
    .wp-block-image {
        margin: auto;
    }

    .activity .wp-block-column > p {
        padding: 20px 0;
        font-size: 20px;
    }
    .top-blog .wp-block-column p:nth-of-type(1) {
        padding-top: 1em;
        font-size: 16px;
    }
    .top-blog .wp-block-column p:nth-of-type(2) {
        font-size: 18px;
    }

    .footer-inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 1020px) {
    .header-title {
        font-size: 24px;
    }
    .header-nav {
        font-size: 14px;
    }
}

@media (min-width: 761px) {
    html {
        scroll-padding-top: calc(var(--wp-admin--admin-bar--height) + 132px) !important;
    }
}
@media (max-width: 760px) {
    html {
        scroll-padding-top: 80px !important;
    }
    .header-inner {
        padding-right: 70px !important;
    }
    .header-top {
        display: none;
    }
    .header-bottom {
        height: 80px;
    }
    .header-nav {
        display: none;
    }
    .header-title {
        font-size: 26px;
        line-height: 1em;
    }
    .sp-menu-btn {
        display: block;
    }
    .top-image {
        height: 300px;
        min-height: unset !important;
    }

    .contact-form .form-item {
        flex-direction: column;
    }

    .footer-nav ul {
        display: flex;
        flex-direction: column;
        row-gap: 20px;
    }
    .footer-sns-links {
        column-gap: 40px;
    }
}

@media (max-width: 500px) {
    .archive-list li a {
        flex-direction: column;
        row-gap: 20px;
    }
    .archive-list .archive-item-thumb {
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    .archive-list .archive-item-thumb img {
        width: 100%;
        height: auto;
    }
}