@charset "UTF-8";
/*
* Theme Name: Tenrikyo Shakaifukushi Shisetsu Renmei
*/

* {
    box-sizing: border-box;
}

html {
    font-size: 17px;
    line-height: 1.8;
    font-family: "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;
}    

.wf-roundedmplus1c { font-family: "M PLUS Rounded 1c"; }

.serif { font-family: serif; }

body {
    background: #fff9ee;
}

body.toppage {
    background: none;
}    

img {
    max-width: 100%;
    width: auto;
    height: auto;
}

main {
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}    

a:hover {
    color: #EF6C00;
}    

a:after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2px;
    width: 0;
    display: block;
    background: #EF6C00;
    transition: width 0.3s ease;
}

a:hover:after {
    width: 100%;
}    

.header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: #fff;
    border-bottom: solid 1px #e7e7e7;
}

.container {
    max-width: 710px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.container.container--header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    max-width: 1030px;
}

.header-title {
    margin: 0;
    font-weight: bolder;
    font-size: 1.48em;
    line-height: 1;
}

.header-title a {
    display: block;
}

.header-title a:after {
    display: none;
}

.gnav-pc-list {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    line-height: 1;
}    

.toggle-menu-btn {
    display: none;
}    

.gnav-mobile {
    display: none;
}    

.top-mainvisual {
    position: relative;
    width: 100%;
    max-height: 440px;
    height: 50vw;
    background: #e16515;
}

.top-mainvisual img {
    width: 100%;
    height: 100%;
    max-width: 1440px;
    margin: auto;
    display: block;
    object-fit: cover;
    z-index: 1;
}

.top-mainvisual-text {
    width: 84%;
    max-width: 640px;
    position: absolute;
    top: 60%;
    left: 50%;
    z-index: 2;
    translate: -50% -50%;
    text-shadow: 0 1px 5px #666;
}

.top-mainvisual h2 {
    color: #fff;
    font-weight: bold;
    font-size: 2.8em;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}    

.top-mainvisual h2 > span {
    display: inline-block;
}

.top-mainvisual-text hr {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border: none;
    margin: 10px 0 20px;
}

.top-mainvisual-text p {
    color: #fff;
    font-size: 1.16em;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.top-mainvisual p > span {
    display: inline-block;
}

.top-menu-wrap {
    background: #fbe9c2;
}

.top-menu {
    margin: 40px auto;
    padding: 0px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 640px;
    font-size: 1.24em;
    line-height: 1.35;
}

.top-menu-wrap {
    padding: 20px;
}

.top-menu > li {
    width: calc(50% - 20px);
}

.btn.btn--top-menu {
    display: block;
    text-align: center;
    background: #e16515;
    border: solid 3px #fff;
    position: relative;
    padding: 10px 25px 10px 15px;
    border-radius: 40px;
    position: relative;
    z-index: 1;
}

.btn.btn--top-menu:before {
    content: ">";
    position: absolute;
    top: 50%;
    right: 10px;
    translate: 0 -50%;
    display: block;
    width: 20px;
    height: 20px;
    z-index: 2;
    background: #e16515;
    color: #fff;
    font-size: 14px;
    font-weight: bolder;
    line-height: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn:hover {
    color: inherit;
}

.btn:after {
    display: none;
}

.btn.btn--top-menu:after {
    content: "";
    display: block;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #fff;
    border-radius: 40px;
    z-index: -1;
    bottom: 50%;
    left: 50%;
    translate: -50% 50%;
    transition: all 0.3s ease;
}

.btn.btn--top-menu:hover {
    background: #fff;
    border-color: #e16515;
    filter: none;
}

.btn.btn--top-menu:hover:before {
    right: 5px;
}

.top-info-heading {
    padding-bottom: 5px;
    margin: 0 auto;
}

.top-info {
    max-width: 640px;
    margin: 60px auto;
}

.info-layout1 {
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.info-layout1 > li {
    padding: 15px 0;
    border-bottom: solid 3px #9dd2ea;
}

.info-layout1 > li:first-child {
    border-top: solid 3px #9dd2ea;
}

.info-layout1 .info-article-text {
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 20px;
}

.info-layout1 .info-article-cat {
    display: block;
    padding: 8px 10px;
    background: #aaa;
    color: #fff;
    border-radius: 8px;
    line-height: 1;
}

.info-layout1 .info-article-title {
    font-size: 1.08em;
}

.info-layout2 {
    padding: 0;
    list-style: none;
    margin: 0 auto;
}

.info-layout2 > li {
    border-bottom: solid 3px #9cd2ea;
}

.info-layout2 > li:first-child {
    border-top: solid 3px #9dd2ea;
}

.info-layout2 .info-article {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    padding: 15px 0;
    background: #fff;
}

.info-layout2 .info-article-img {
    width: 80px;
    height: 80px;
}

.info-layout2 .info-article-img img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.info-layout2 .info-article-text {
    width: calc(100% - 120px);
}

.info-layout2 .info-article-cat {
    display: inline-block;
    padding: 6px 10px;
    background: #aaa;
    color: #fff;
    border-radius: 8px;
    line-height: 1;
    margin: 0 4px 4px 0;
    font-size: 0.92em;
}

.info-layout2 .info-article-title {
    display: block;
    font-size: 1.08em;
}

.info-layout2 .info-article:hover {
    background: #fbe9c2;
    color: inherit;
}

.info-layout2 .info-article:hover:after {
    display: none;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ddd;
    border: solid 3px #ddd;
    border-radius: 50px;
    line-height: 1;
}

.readmore {
    margin: 40px auto;
    text-align: center;
}

.btn:hover {
    filter: brightness(0.9);
}

.btn.btn--readmore {
    background: #e16515;
    border-color: #e16515;
    color: #fff;
    font-size: 1.08em;
}

.btn.btn--readmore:hover {
    filter: unset;
    background: #fff;
    color: #e16515;
}

.footer {
    background: #fad3b1;
    padding: 20px 0;
    margin-top: 100px;
}

.container.container--footer {
    max-width: 480px;
    text-align: center;
    margin: auto;
}

.footer-title {
    font-size: 1.12em;
    font-weight: bold;
    display: block;
    width: fit-content;
    margin: auto;
}

.footer-info {
    font-size: 0.92em;
}

.footer-copyright {
    font-size: 11px;
}

.footer-title:after {
    display: none;
}

.footer-title:hover {
    color: inherit;
}



.page,.single {
    background: #fdf5e7;
}

.page-mainvisual {
    background: #e16515;
    max-height: 320px;
    height: 50vw;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title {
    margin: 0;
    text-align: center;
    text-shadow: 0 0 3px #fff;
    position: relative;
    z-index: 2;
    font-size: 1.6em;
    line-height: 1.4;
}

.page-mainvisual:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #fff;
    z-index: 1;
    opacity: 0.5;
}

.container.container--mainvisual {
    z-index: 2;
    position: relative;
}

.post-container {
    margin: 80px auto;
    text-align: justify;
}

.page-mainvisual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 1200px;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.post-container {
    word-wrap: break-word;
    word-break: break-all;
    line-height: 1.6;
}

.post-container h1 {
    font-size: 1.8em;
    margin: 40px auto;
}
.post-container h2 {
    font-size: 1.5em;
    margin: 30px auto;
}
.post-container h3 {
    font-size: 1.26em;
    margin: 20px auto;
}
.post-container h4 {
    font-size: 1.12em;
    margin: 20px auto;
}
.post-container h5 {
    font-size: 1em;
    margin: 20px auto;
}
.post-container h6 {
    font-size: 0.92em;
    margin: 20px auto;
}

.post-container p {
    margin: 20px auto;
}

.post-container strong {
    font-size: 1.08em;
    font-weight: bolder;
}

.post-container small {
    font-size: 0.84em;
}

.post-container b {
    font-weight: bolder;
}

.post-container i {
    font-style: italic;
}

.post-container u {
    text-decoration: underline;
}

.post-container ul {
    margin: 20px auto;
    padding-left: 1em;
}

.post-container ol {
    margin: 20px auto;
    padding-left: 1.4em;
}

.post-container details {
    margin: 20px auto;
}

.post-container summary + * {
    margin-top: 10px;
}

.post-container dl {
    margin: 20px auto;
}

.post-container dl > dt:after {
    content: ":";
}

.post-container a {
    color: #e16515;
}

.waku {
    border: solid 2px #eedea6;
    border-radius: 10px;
    padding: 14px 18px;
    background: #fff;
}

.waku > *:first-child {
    margin-top: 0;
}

.waku > *:last-child {
    margin-bottom: 0;
}

.btn.btn--primary {
    color: #fff;
    background: #e16515;
    border: solid 3px #e16515;
}

.wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mt10 {
    margin-top: 10px!important;
}
.mt20 {
    margin-top: 20px!important;
}
.mt30 {
    margin-top: 30px!important;
}
.mt40 {
    margin-top: 40px!important;
}
.mt50 {
    margin-top: 50px!important;
}
.mt60 {
    margin-top: 60px!important;
}

.mb10 {
    margin-bottom: 10px!important;
}
.mb20 {
    margin-bottom: 20px!important;
}
.mb30 {
    margin-bottom: 30px!important;
}
.mb40 {
    margin-bottom: 40px!important;
}
.mb50 {
    margin-bottom: 50px!important;
}
.mb60 {
    margin-bottom: 60px!important;
}


@media all and (max-width: 834px) {
    .header {
        height: 60px;
    }

    .container.container--header {
        justify-content: center;
    }

    .gnav-pc {
        display: none;
    }

    .toggle-menu-btn {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        display: block;
        width: 60px;
        height: 60px;
        padding: 12px;
        background: #eee;
    }

    .toggle-menu-btn:after {
        display: none;
    }

    .toggle-menu-btn-line {
        display: block;
        width: 36px;
        height: 2px;
        background: #000;
        margin: 8px 0;
    }

    .menu-active .toggle-menu-btn-line.toggle-menu-btn-line--1 {
        transform: rotate(45deg);
        translate: 0px 10px;
    }

    .menu-active .toggle-menu-btn-line.toggle-menu-btn-line--2 {
        display: none;
    }

    .menu-active .toggle-menu-btn-line.toggle-menu-btn-line--3 {
        transform: rotate(-45deg);
        translate: 0px 0px;
    }

    .menu-active .gnav-mobile {
        display: block;
        position: fixed;
        top: 60px;
        left: 0;
        z-index: 101;
        background: #fff;
        width: 100%;
        height: calc(100% - 60px);
        padding: 40px;
    }

    .gnav-mobile-list {
        padding: 0;
        list-style: none;
        font-size: 1.24em;
        margin: 0;
        max-width: 400px;
        margin: auto;
    }

    .gnav-mobile-list > li {
        padding: 10px 0;
        border-bottom: solid 1px #eee;
    }

    .gnav-mobile-list > li:first-child {
        border-top: solid 1px #eee;
    }

    .gnav-mobile-list > li a {
        display: block;
        padding: 15px 0;
        text-align: center;
    }



}



@media all and (max-width: 480px){
    html {
        font-size: 16px;
    }

    a:after {
        display: none;
    }    

    .header {
        height: 50px;
    }

    .header-title {
        font-size: 1.12em;
    }

    .container.container--header {
        padding: 15px;
    }

    .toggle-menu-btn {
        height: 50px;
        width: 50px;
        padding: 10px;
    }

    .toggle-menu-btn-line {
        width: 30px;
        margin: 6px auto;
    }

    .menu-active .gnav-mobile {
        top: 50px;
    }

    .gnav-mobile-list {
        font-size: 1.12em;
    }

    .gnav-mobile-list > li a {
        padding: 8px 0;
    }

    .gnav-mobile-list > li {
        padding: 5px 0;
    }

    .menu-active .toggle-menu-btn-line.toggle-menu-btn-line--1 {
        translate: 0px 8px;
    }

    .top-mainvisual {
        height: 66.66vw;
    }

    .top-mainvisual h2 {
        font-size: 2.2em;
        line-height: 1.35;
    }

    .top-mainvisual-text {
        width: 90%;
    }

    .top-mainvisual-text p {
        font-size: 1em;
        line-height: 1.5;
    }

    .top-mainvisual-text hr {
        margin: 5px 0 10px;
    }

    .top-menu {
        font-size: 1.12em;
        gap: 20px;
        margin: 10px auto;
        max-width: 300px;
    }

    .top-menu > li {
        width: 100%;
    }

    .top-info-heading {
        font-size: 1.12em;
    }

    .info-layout1 > li {
        padding: 8px 0;
    }

    .info-layout1 .info-article-text {
        gap: 0 10px;
        flex-wrap: wrap;
    }

    .info-layout1 .info-article-cat {
        font-size: 0.84em;
        padding: 6px 8px;
    }

    .info-layout1 .info-article-date {
        font-size: 0.84em;
    }

    .info-layout1 .info-article-title {
        font-size: 1em;
    }

    .info-layout2 .info-article {
        gap: 10px;
        padding: 10px 0;
    }

    .info-layout2 .info-article-text {
        width: calc(100% - 90px);
    }

    .info-layout2 .info-article-text {
        font-size: 0.92em;
    }

    .footer {
        margin-top: 60px;
    }

    .page-title {
        font-size: 1.6em;
    }

    .post-container {
        margin-top: 40px;
    }
}