@charset "UTF-8";

.wrapper {
    margin: 0 auto;
    max-width: calc(100vw - 40px);
    position: relative;
    width: 1280px;
}

.wrap_inner {
    margin: 0 auto;
    max-width: calc(100vw - 40px);
    position: relative;
    width: 1120px;
}

/* header
***************************/
.header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
    transition: background-color .3s;
}

.header.fixed {
    background-color: rgba(255, 255, 255, .8);
}

.header .h_wrap {
    display: flex;
    column-gap: 2rem;
    justify-content: end;
    align-items: center;
    padding: 2rem 1rem 2rem 3rem;
    min-height: 11rem;
}

.header .h_logo {
    width: clamp(14rem, 13vw, 25rem);
    margin: 0 auto 0 0;
}

.header .h_nav .h_nav_list {
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
    column-gap: 1.4em;
    row-gap: .5rem;
}

.header .h_nav {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    font-size: clamp(1.2rem, 1.05vw, 1.6rem);
}

.header .h_nav .h_nav_list a {
    letter-spacing: .02em;
}

.header .h_contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1rem;
}

.header .h_tel {
    font-size: 2rem;
    white-space: nowrap;
    padding: 0 0 .3rem 1em;
    background-image: url(../img/common/tel_1.svg);
    background-repeat: no-repeat;
    background-size: .8em auto;
    background-position: left center;
    letter-spacing: .02em;
}

.header .h_mail {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: .5rem;
    color: #fff;
    letter-spacing: .08em;
    white-space: nowrap;
    background-color: #f07a36;
    border-radius: 100px;
    padding: .8rem 1.8rem;
    border: 2px solid #f07a36;
    font-size: clamp(1.3rem, 1.05vw, 1.6rem);
}

.header .h_mail:before {
    content: "";
    width: 1em;
    height: 1em;
    display: block;
    background-image: url(../img/common/mail_1.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

@media (min-width:768px) {
    .header .h_tel {
        pointer-events: none;
    }

    .header .h_nav .h_nav_list a:hover {
        color: #f07a36;
    }

    .header .h_mail:hover {
        color: #f07a36;
        background-color: #fff;
    }

    .header .h_mail:hover:before {
        background-image: url(../img/common/mail_2.svg);
    }
}

@media (max-width:767px) {
    .header .h_logo {
        width: 14rem;
    }

    .header .h_wrap {
        column-gap: 1rem;
        padding: 0 10px;
        min-height: 80px;
    }

    .header .h_nav {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 0;
        right: 0;
        height: auto;
        width: 100%;
        row-gap: 0;
        flex-direction: column-reverse;
        background-color: rgba(255, 255, 255, .95);
        padding: 80px 0 3rem;
        overflow: auto;
        max-height: 100svh;
        transition: .3s;
        z-index: -1;
        font-size: 1.4rem;
    }

    .header .h_nav.active {
        opacity: 1;
        visibility: visible;
    }

    .header .h_nav .h_nav_list {
        display: block;
        text-align: center;
    }

    .header .h_nav .h_nav_list a {
        padding: 1.4rem 0;
        border-bottom: 1px solid #d5d5d5;
    }

    .header .h_contact {
        flex-direction: row;
        column-gap: 5px;
    }

    .header .h_tel {
        font-size: 0;
        padding: 0;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-position: center;
        background-size: 50% auto;
        background-color: #f07a36;
        background-image: url(../img/common/tel_2.svg);
    }

    .header .h_mail:before {
        content: initial;
    }

    .header .h_mail {
        font-size: 0;
        padding: 0;
        width: 50px;
        height: 50px;
        background-image: url(../img/common/mail_1.svg);
        background-repeat: no-repeat;
        background-size: 50% auto;
        background-position: center;
        border: none;
        background-color: #335e35;
    }

    .header .h_btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        position: relative;
        border: 2px solid #000;
        background-color: #fff;
        cursor: pointer;
    }

    .header .h_btn span {
        position: absolute;
        background-color: #000;
        right: 15px;
        left: 15px;
        height: 2px;
        display: inline-block;
        transition: .3s;
    }

    .header .h_btn span:nth-of-type(1) {
        top: 15px;
    }

    .header .h_btn span:nth-of-type(2) {
        top: 22px;
    }

    .header .h_btn span:nth-of-type(3) {
        top: 29px;
    }

    .header .h_btn.active span:nth-of-type(1) {
        transform: rotate(225deg);
        top: 22px;
    }

    .header .h_btn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .header .h_btn.active span:nth-of-type(3) {
        transform: rotate(-225deg);
        top: 22px;
    }
}

/* template
***************************/
h2.style_hl {
    font-size: 3.6rem;
    color: #335e35;
    text-align: center;
    letter-spacing: .15em;
    margin-bottom: 4rem;
}

.style_btn {
    font-size: 2rem;
    text-align: center;
    letter-spacing: .08em;
    color: #fff;
    width: 40rem;
    padding: 1.8rem 4rem;
    background-color: #f07a36;
    border: 2px solid #f07a36;
    margin: 0 auto;
    border-radius: 500px;
    position: relative;
    max-width: 100%;
}

.style_btn:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 2rem;
    width: 1rem;
    height: 1rem;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

.style_btn.back:after {
    right: auto;
    left: 2rem;
    transform: rotate(-135deg);
}

.style_btn:hover {
    color: #f07a36;
    background-color: #fff;
}

.style_btn:hover:after {
    border-top: 2px solid #f07a36;
    border-right: 2px solid #f07a36;
}

@media (max-width:767px) {
    h2.style_hl {
        font-size: 2.6rem;
    }

    .style_btn {
        font-size: 1.6rem;
    }
}

/* access
***************************/
.footer_access {
    padding: 6rem 0 25rem;
    background-color: #f8f8f6;
    overflow: hidden;
}

.footer_access .gmap {
    width: 100%;
    height: 50rem;
    border-radius: 16px;
    margin-bottom: 6.7rem;
}

.footer_access .access_info {
    display: flex;
    align-items: start;
    margin: 0 auto;
    width: 108rem;
    max-width: 100%;
    column-gap: 8rem;
}

.footer_access .dl_address {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1.2rem;
    position: relative;
    z-index: +10;
    width: 48rem;
}

.footer_access .dl_address dt {
    width: 6.5em;
    padding-right: .5em;
    letter-spacing: .04em;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #d5d5d5;
}

.footer_access .dl_address dd {
    width: calc(100% - 6.5em);
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #d5d5d5;
    letter-spacing: .04em;
}

.footer_access .dl_access {
    position: relative;
    z-index: +9;
    width: calc(100% - 56rem);
    padding: 0 3rem;
}

.footer_access .dl_access dt {
    display: block;
    font-size: 2.4rem;
    letter-spacing: .04em;
}

.footer_access .dl_access dd {
    letter-spacing: .04em;
    margin-top: 1.4rem;
}

.footer_access .dl_access dd+dt {
    margin-top: 5rem;
}

.footer_access .dl_access:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -2.6rem;
    right: -0.9rem;
    bottom: -6.7rem;
    left: -3.6rem;
    background-image: url(../img/common/b_access_bg.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

@media (max-width:767px) {
    .footer_access .gmap {
        height: 60vw;
    }

    .footer_access .access_info {
        flex-wrap: wrap;
        row-gap: 6rem;
    }

    .footer_access .dl_address {
        width: 100%;
    }

    .footer_access .dl_access {
        width: 100%;
        padding: 0 1rem;
    }
}

/* footer
***************************/
.footer .f_inner {
    width: 110rem;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 8rem;
    display: flex;
    align-items: start;
}

.footer .f_address_side {
    width: 40%;
}

.footer .f_logo {
    width: 26rem;
    margin-bottom: 2.6rem;
}

.footer .f_address {
    line-height: 1.8;
    letter-spacing: .04em;
    margin-bottom: 2.4rem;
}

.footer .copyright {
    font-size: 1.3rem;
    letter-spacing: .04em;
}

.footer .f_nav {
    width: 60%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 4rem;
}

.footer .f_nav a {
    width: calc((100% - 4rem) / 3);
}

.footer .f_contact {
    background-color: #fff;
    border-radius: 16px;
    margin: -11rem 0 7rem;
    padding: 4rem 3rem 8rem;
    position: relative;
}

.footer .f_contact:before {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    border-radius: 16px;
    border: 1px dashed #f07a36;
    pointer-events: none;
}

.footer .f_contact h2 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 3.8rem;
    letter-spacing: .02em;
}

.footer .f_contact .f_contact_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 12rem;
    row-gap: 4rem;
}

.footer .f_contact .f_contact_flex .lead {
    font-size: 2rem;
    color: #f07a36;
    text-align: center;
    letter-spacing: .07em;
    margin-bottom: 1.4rem;
}

.footer .f_contact .f_contact_flex .btn {
    width: 32rem;
    max-width: 100%;
    display: flex;
    align-items: center;
    column-gap: .7rem;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    background-color: #f07a36;
    padding: .8rem 2rem;
    border-radius: 100px;
    border: 2px solid #f07a36;
    line-height: 3rem;
    position: relative;
    margin: 0 auto;
}

.footer .f_contact .f_contact_flex .btn._tel {
    font-size: 2.5rem;
}

.footer .f_contact .f_contact_flex .btn._tel:before {
    content: "";
    width: .8em;
    height: .8em;
    background-image: url(../img/common/tel_2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.footer .f_contact .f_contact_flex .btn._mail:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 1.2rem;
    width: .8rem;
    height: .8rem;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
}

.footer .f_contact .f_contact_flex .btn:hover {
    background-color: #fff;
    color: #f07a36;
}

.footer .f_contact .f_contact_flex .btn._tel:hover:before {
    background-image: url(../img/common/tel_3.svg);
}

.footer .f_contact .f_contact_flex .btn._mail:hover:after {
    border-top: 1px solid #f07a36;
    border-right: 1px solid #f07a36;
}

@media (max-width:767px) {
    .footer .f_contact h2 {
        font-size: 2rem;
    }

    .footer .f_address_side {
        width: 100%;
    }

    .footer .f_nav {
        width: 100%;
        row-gap: 3rem;
    }

    .footer .f_nav a {
        width: 100%;
    }

    .footer .f_inner {
        flex-direction: column-reverse;
        row-gap: 10rem;
    }

    .footer .f_logo {
        width: 20rem;
    }

    .footer .f_contact .f_contact_col {
        width: 100%;
    }

    .footer .f_contact .f_contact_flex .btn {
        font-size: 2rem;
    }

    .footer .f_contact .f_contact_flex .btn._tel {
        font-size: 2.2rem;
    }

    .footer .f_contact .f_contact_flex .lead {
        font-size: 1.8rem;
    }
}

#imgModalOverlay {
    position: fixed;
    z-index: 8000;
    padding-top: 16rem;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
}

#imgModalContent {
    width: 800px;
    max-width: calc(100% - 80px);
    max-height: 80vh;
    object-fit: contain;
    margin: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

#imgModalClose {
    position: absolute;
    top: 14rem;
    right: 3rem;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#imgModalCaption {
    text-align: center;
    color: #ccc;
    padding: 10px;
}

@media (max-width:767px) {
    #imgModalClose {
        top: 8rem;
        right: 2rem;
    }
}

/* 下層ページ
***************************/
#key_ttl {
    padding: 21rem 2rem 12rem;
    background-image: url(../img/common/texture_underwave.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    margin: 0 0 4rem;
}

#key_ttl .under_hl {
    font-size: 4rem;
    color: #335e35;
    text-align: center;
    letter-spacing: .04em;
}

.breadcrumb {
    margin-bottom: 10rem;
}

.breadcrumb ul {
    display: flex;
    column-gap: .25em;
    line-height: 2.5;
    flex-wrap: wrap;
    justify-content: end;
}

.breadcrumb ul li:not(:last-child):after {
    content: ">";
}

.breadcrumb ul li {
    display: flex;
    column-gap: .25em;
    letter-spacing: .04em;
}

.breadcrumb ul li a {
    color: #f07a36;
    text-decoration: underline;
    letter-spacing: .04em;
}

.underlayer .footer_access {
    margin-top: 12rem;
}

.contact_bnr {
    background-color: #fff;
    border-radius: 16px;
    padding: 4rem 3rem 8rem;
    position: relative;
    border: 1px dashed #f07a36;
}

.contact_bnr h2 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 3.8rem;
    letter-spacing: .02em;
}

.contact_bnr .contact_bnr_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 12rem;
    row-gap: 4rem;
}

.contact_bnr .contact_bnr_flex .lead {
    font-size: 2rem;
    color: #f07a36;
    text-align: center;
    letter-spacing: .07em;
    margin-bottom: 1.4rem;
}

.contact_bnr .contact_bnr_flex .btn {
    width: 32rem;
    max-width: 100%;
    display: flex;
    align-items: center;
    column-gap: .7rem;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    background-color: #f07a36;
    padding: .8rem 2rem;
    border-radius: 100px;
    border: 2px solid #f07a36;
    line-height: 3rem;
    position: relative;
    margin: 0 auto;
}

.contact_bnr .contact_bnr_flex .btn._tel {
    font-size: 2.5rem;
}

.contact_bnr .contact_bnr_flex .btn._tel:before {
    content: "";
    width: .8em;
    height: .8em;
    background-image: url(../img/common/tel_2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.contact_bnr .contact_bnr_flex .btn._mail:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 1.2rem;
    width: .8rem;
    height: .8rem;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
}

@media (min-width:768px) {
    .contact_bnr .contact_bnr_flex .btn:hover {
        color: #f07a36;
        background-color: #fff;
    }

    .contact_bnr .contact_bnr_flex .btn._tel:hover:before {
        background-image: url(../img/common/tel_3.svg);
    }

    .contact_bnr .contact_bnr_flex .btn._mail:hover:after {
        border-top: 1px solid #f07a36;
        border-right: 1px solid #f07a36;
    }
}

@media (max-width:767px) {
    #key_ttl {
        padding: 14rem 2rem 8rem;
        margin: 0 0 2rem;
    }

    #key_ttl .under_hl {
        font-size: 2.8rem;
    }

    .breadcrumb {
        margin-bottom: 6rem;
    }

    .underlayer .footer_access {
        margin-top: 8rem;
    }

    .contact_bnr h2 {
        font-size: 2rem;
    }

    .contact_bnr .contact_bnr_flex .lead {
        font-size: 1.8rem;
    }

    .contact_bnr .contact_bnr_flex .btn._tel {
        font-size: 2.2rem;
    }

    .contact_bnr .contact_bnr_flex .btn._mail {
        font-size: 2rem;
    }
}



/* 個人情報保護方針
***************************/

#page-privacy .privacy_wrap .text {
    font-size: 1.7rem;
    line-height: 2.67;
}

#page-privacy .privacy_wrap h2 {
    font-size: 2.4rem;
    color: #335e35;
    padding: 0 0 1rem;
    border-bottom: 1px solid #d5d5d5;
    margin-bottom: 1.4rem;
}

#page-privacy .privacy_wrap h2:not(:first-child) {
    margin-top: 8.4rem;
}

@media (max-width:767px) {
    #page-privacy .privacy_wrap .text {
        font-size: 1.6rem;
    }

    #page-privacy .privacy_wrap h2 {
        font-size: 2rem;
    }

    #page-privacy .privacy_wrap h2:not(:first-child) {
        margin-top: 5rem;
    }
}



/* 西光寺について
***************************/

#page-about .contents .front_lead {
    font-size: 3.2rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 3rem;
}

#page-about .about_img {
    position: relative;
    margin-bottom: 3.4rem;
}

#page-about .about_img .about_name {
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 5.6rem;
    font-size: 1.8rem;
    line-height: 2.5;
}

#page-about .text {
    line-height: 2.67em;
    font-size: 1.7rem;
    text-align: center;
}

#page-about .text+.text {
    margin-top: 2.67em;
}

#page-about .text_wrap {
    margin-bottom: 7.4rem;
}

#page-about .img_flex {
    display: flex;
    flex-wrap: wrap;
    column-gap: 4rem;
    row-gap: 8rem;
}

#page-about .img_flex>div {
    position: relative;
    width: calc((100% - 8rem) / 3);
}

#page-about .img_flex img {
    border-radius: 16px;
}

#page-about .img_flex p {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
}

#page-about .img_flex>div:after {
    content: "";
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 5.2rem;
    height: 5.2rem;
    border-radius: 16px;
    background-color: rgba(240, 122, 54, .53);
    background-image: url(../img/about/zoom.svg);
    background-repeat: no-repeat;
    background-size: 55%;
    background-position: center;
    pointer-events: none;
}

@media (max-width:767px) {
    #page-about .contents .front_lead {
        font-size: 2.2rem;
    }

    #page-about .about_img {
        margin-bottom: 4rem;
    }

    #page-about .about_img .about_name {
        text-align: left;
        position: initial;
        margin-top: 1rem;
        font-size: 1.6rem;
    }

    #page-about .text {
        font-size: 1.6rem;
        text-align: left;
    }

    #page-about .img_flex {
        column-gap: 2rem;
    }

    #page-about .img_flex>div {
        width: calc(50% - 1rem);
    }

    #page-about .img_flex p {
        font-size: 1.6rem;
    }
}



/* サイトマップ
***************************/

#page-sitemap .sitemap_wrap {
    display: flex;
    column-gap: 4rem;
    flex-wrap: wrap;
}

#page-sitemap .sitemap_side {
    width: calc(50% - 2rem);
}

#page-sitemap .sitemap_side a {
    font-size: 1.7rem;
    padding: 2rem 0;
    border-bottom: 1px solid #d5d5d5;
    background-image: url(../img/common/arrow_1.svg);
    background-repeat: no-repeat;
    background-size: 1.5em auto;
    background-position: right center;
}

#page-sitemap .sitemap_side a:hover {
    color: #f07a36;
}

@media (max-width:767px) {
    #page-sitemap .sitemap_side {
        width: 100%;
    }

    #page-sitemap .sitemap_side a {
        font-size: 1.6rem;
    }
}



/* 納骨堂のご案内
***************************/

#page-ossuary .contents .front_lead {
    font-size: 3.2rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 3rem;
}

#page-ossuary .ossuary_section {
    margin-top: 80px;
    border-radius: 32px;
    padding: 8rem 0;
    background-image: url(../img/common/texture_normal.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#page-ossuary .ossuary_section .wrap_inner {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
    column-gap: 14rem;
    row-gap: 5rem;
}

#page-ossuary .ossuary_section .l_side {
    width: calc(100% - 38rem);
}

#page-ossuary .ossuary_section .l_side h2 {
    font-size: 4rem;
    color: #335e35;
    margin-bottom: 3rem;
}

#page-ossuary .ossuary_section .l_side .text {
    font-size: 1.7rem;
    line-height: 2.67em;
}

#page-ossuary .ossuary_section .l_side .table_flex {
    display: flex;
    align-items: center;
    column-gap: 4rem;
    row-gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

#page-ossuary .ossuary_section .l_side .table_flex .item {
    width: calc(50% - 2rem);
}

#page-ossuary .ossuary_section .l_side .table_flex p {
    font-size: 1.7rem;
    color: #335e35;
    margin-bottom: 1rem;
}

#page-ossuary .ossuary_section .l_side .table_flex table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 1.8rem;
}

#page-ossuary .ossuary_section .l_side .table_flex th,
#page-ossuary .ossuary_section .l_side .table_flex td {
    border: 1px solid #d5d5d5;
    text-align: center;
    padding: 1.4rem;
}

#page-ossuary .ossuary_section .l_side .table_flex th {
    background-color: #f8f8f4;
}

#page-ossuary .ossuary_section .l_side .table_flex td {
    background-color: #fff;
}

#page-ossuary .ossuary_section .r_side {
    width: 24rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
}

#page-ossuary .ossuary_section .r_side img {
    width: auto;
    max-width: 100%;
}

@media (max-width:767px) {
    #page-ossuary .contents .front_lead {
        font-size: 2rem;
    }

    #page-ossuary .ossuary_section {
        padding: 4rem 0;
        border-radius: 16px;
    }

    #page-ossuary .ossuary_section .wrap_inner {
        padding: 0 1.5rem;
    }

    #page-ossuary .ossuary_section .l_side {
        width: 100%;
    }

    #page-ossuary .ossuary_section .l_side h2 {
        font-size: 2.4rem;
    }

    #page-ossuary .ossuary_section .l_side .text {
        font-size: 1.6rem;
    }

    #page-ossuary .ossuary_section .l_side .table_flex .item {
        width: 100%;
    }

    #page-ossuary .ossuary_section .l_side .table_flex table {
        font-size: 1.6rem;
    }
}



/* 年間行事
***************************/
#page-event .contents .front_lead {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 8rem;
}

#page-event .contents .front_text {
    width: 82rem;
    max-width: 100%;
    margin: 0 auto 8rem;
    font-size: 1.8rem;
    line-height: 2;
    text-align: center;
}

#page-event .contents .front_text .alignright {
    display: block;
    text-align: right;
}

#page-event .contents .event_wrap {
    margin: 0 auto 5rem;
}

#page-event .contents .event_wrap .row {
    display: flex;
    padding: 0 0 2rem;
    position: relative;
}

#page-event .contents .event_wrap .row._main:not(:first-child) {
    padding: 2.3rem 0 2rem;
}

#page-event .contents .event_wrap .row .month {
    width: 6rem;
    font-size: 2.4rem;
    text-align: right;
    margin-right: 10rem;
}

#page-event .contents .event_wrap .row .ttl {
    font-size: 2.4rem;
    color: #335e35;
    width: 20rem;
    margin-right: 1rem;
}

#page-event .contents .event_wrap .row .time,
#page-event .contents .event_wrap .row .name {
    font-size: 1.8rem;
    padding: .3em 0;
}

#page-event .contents .event_wrap .row .time {
    width: 28rem;
}

#page-event .contents .event_wrap .row .name {
    width: 17rem;
}

#page-event .contents .event_wrap .row:before {
    content: "";
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: 12.6rem;
    width: .4rem;
    background-color: #d5d5d5;
}

#page-event .contents .event_wrap .row:first-child:before {
    top: 2rem;
}

#page-event .contents .event_wrap .row:last-child:before {
    bottom: calc(100% - 4.4rem);
}

#page-event .contents .event_wrap .row._main .circle {
    position: absolute;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #335e35;
    left: 11.8rem;
    top: 3.2rem;
}

#page-event .contents .event_wrap .row:first-child .circle {
    top: 1rem;
}

#page-event .contents .event_wrap .row._main:not(:first-child):after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 16rem;
    height: 1px;
    background-color: #d5d5d5;
}

#page-event .contents .event_memo {
    font-size: 1.7rem;
    width: 82rem;
    max-width: 100%;
    margin: 0 auto;
}

#page-event .contents .event_img {
    display: flex;
    flex-wrap: wrap;
    column-gap: 4rem;
    row-gap: 2rem;
    margin-top: 8rem;
}

#page-event .contents .event_img img {
    width: calc(50% - 2rem);
    border-radius: 16px;
}

@media (max-width:767px) {
    #page-event .contents .front_lead {
        font-size: 2rem;
    }

    #page-event .contents .event_wrap .row .month {
        font-size: 1.8rem;
        width: 5rem;
        margin-right: 6rem;
    }

    #page-event .contents .event_wrap .row .ttl {
        font-size: 1.8rem;
        width: 16rem;
    }

    #page-event .contents .event_wrap .row .time,
    #page-event .contents .event_wrap .row .name {
        font-size: 1.5rem;
        padding: .2em 0;
    }

    #page-event .contents .event_wrap .row:before {
        left: 8rem;
    }

    #page-event .contents .event_wrap .row._main .circle {
        width: 1.6rem;
        height: 1.6rem;
        left: 7.5rem;
        top: 3rem;
    }

    #page-event .contents .event_wrap .row:first-child .circle {
        top: .8rem;
    }

    #page-event .contents .event_wrap .row .time {
        width: 20rem;
    }

    #page-event .contents .event_wrap .row .name {
        width: 14rem;
    }

    #page-event .contents .event_img img {
        width: 100%;
    }
}



/* 西光寺の活動
***************************/
#page-activity .contents .front_lead {
    font-size: 3.2rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 3rem;
}

#page-activity .activity_section {
    margin-top: 60px;
    border-radius: 32px;
    padding: 6rem 0 4rem;
    background-image: url(../img/common/texture_normal.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#page-activity .activity_section .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
    column-gap: 4rem;
    row-gap: 5rem;
    position: relative;
    padding: 0 4rem 0 8rem;
}

#page-activity .activity_section .l_side {
    width: calc(100% - 50rem);
}

#page-activity .activity_section .r_side {
    width: 46rem;
    margin-top: -4rem;
}

#page-activity .activity_section .l_side h2 {
    font-size: 4rem;
    color: #335e35;
    margin-bottom: 2.6rem;
}

#page-activity .activity_section .l_side .text {
    font-size: 1.7rem;
    line-height: 2.67em;
}

#page-activity .activity_section .l_side table {
    width: 54rem;
    max-width: 100%;
    border-collapse: collapse;
    font-size: 1.8rem;
    margin-top: 2.6rem;
}

#page-activity .activity_section .l_side th,
#page-activity .activity_section .l_side td {
    border: 1px solid #d5d5d5;
    padding: 1.4rem;
}

#page-activity .activity_section .l_side th {
    background-color: #f8f8f4;
    width: 32%;
    text-align: center;
    vertical-align: baseline;
}

#page-activity .activity_section .l_side td {
    background-color: #fff;
    width: 68%;
}

#page-activity .contact_bnr {
    margin-top: 4rem;
}

@media (max-width:767px) {
    #page-activity .contents .front_lead {
        font-size: 2rem;
    }

    #page-activity .activity_section {
        padding: 4rem 0;
        border-radius: 16px;
    }

    #page-activity .activity_section .inner {
        padding: 0 1.5rem;
    }

    #page-activity .activity_section .l_side {
        width: 100%;
    }

    #page-activity .activity_section .l_side h2 {
        font-size: 2.4rem;
    }

    #page-activity .activity_section .r_side {
        width: 100%;
        margin-top: 0;
    }

    #page-activity .activity_section .l_side .text {
        font-size: 1.6rem;
    }

    #page-activity .activity_section .l_side table {
        font-size: 1.6rem;
    }
}



/* 寺院案内・駐車場
***************************/
#page-access .guide_section {
    margin-bottom: 8rem;
}

#page-access .sec_hl {
    font-size: 4rem;
    text-align: center;
    color: #335e35;
    margin-bottom: 3rem;
}

#page-access .guide_media {
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 5rem;
}

#page-access .guide_media dl {
    width: calc(50% - 2rem);
    display: flex;
    flex-wrap: wrap;
    font-size: 1.8rem;
}

#page-access .guide_media dt {
    width: 6em;
    padding: 1.2em 1em 1.2em 0;
    border-bottom: 1px solid #d5d5d5
}

#page-access .guide_media dd {
    width: calc(100% - 6em);
    padding: 1.2em 0;
    border-bottom: 1px solid #d5d5d5
}

#page-access .guide_media .guide_image {
    width: calc(50% - 2rem);
    position: relative;
}

#page-access .guide_media .guide_image img {
    border-radius: 16px;
}

#page-access .guide_media .guide_image:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 1px dashed #f07a36;
    top: -1rem;
    right: -1rem;
}

#page-access .access_section {
    margin-bottom: 19rem;
}

#page-access .access_section .sec_hl {
    margin-bottom: 5rem;
}

#page-access .access_gmap {
    width: 100%;
    height: 50rem;
    border-radius: 16px;
    margin-bottom: 4rem;
}

#page-access .access_flex {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 8rem;
}

#page-access .access_flex .item {
    width: calc(50% - 2rem);
}

#page-access .access_section h3 {
    font-size: 2.4rem;
    color: #335e35;
    margin-bottom: 1.5rem;
}

#page-access .access_section p {
    font-size: 1.7rem;
}


#page-access .parking_flex {
    display: flex;
    align-items: start;
    column-gap: 4rem;
    row-gap: 3rem;
    flex-wrap: wrap;
}

#page-access .parking_flex .item {
    width: calc((100% - 8rem) / 3);
}

#page-access .parking_flex .item img {
    border-radius: 16px;
    margin-bottom: .8rem;
}

#page-access .parking_flex .item p {
    font-size: 1.7rem;
    text-align: center;
    line-height: 1.8;
}

#page-access .parking_flex .item p span {
    display: inline-block;
}

@media (max-width:767px) {
    #page-access .sec_hl {
        font-size: 2.8rem;
    }

    #page-access .guide_media dl {
        width: 100%;
        font-size: 1.6rem;
    }

    #page-access .guide_media .guide_image {
        width: 100%;
    }

    #page-access .access_gmap {
        max-height: 90vw;
    }

    #page-access .access_section .sec_hl {
        margin-bottom: 3rem;
    }

    #page-access .access_flex .item {
        width: 100%;
    }

    #page-access .access_section h3 {
        font-size: 2rem;
    }

    #page-access .access_section p {
        font-size: 1.6rem;
    }

    #page-access .parking_flex {
        column-gap: 2rem;
    }

    #page-access .parking_flex .item {
        width: calc(50% - 1rem);
    }

    #page-access .parking_flex .item p {
        font-size: 1.6rem;
        text-align: left;
    }
}



/* 法事・葬儀について
***************************/
#page-funeral .contents .front_lead {
    font-size: 3.2rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 3rem;
}

#page-funeral .contents .funeral_section {
    margin-top: 6rem;
}

#page-funeral .contents .funeral_section+.funeral_section {
    margin-top: 12rem;
}

#page-funeral .contents .funeral_section h2 {
    font-size: 4rem;
    font-weight: 500;
    text-align: center;
    color: #335e35;
    letter-spacing: .15em;
    margin-bottom: 4rem;
}

#page-funeral .contents .funeral_section .flex {
    display: flex;
    flex-wrap: wrap;
    column-gap: 4rem;
    row-gap: 5rem;
    align-items: center;
}

#page-funeral .contents .funeral_section:nth-of-type(odd) .flex {
    flex-direction: row-reverse;
}

#page-funeral .contents .funeral_section .image {
    width: 48rem;
    position: relative;
}

#page-funeral .contents .funeral_section .image:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 1px dashed #f07a36;
    left: 1rem;
    top: -1rem;
}

#page-funeral .contents .funeral_section:nth-of-type(odd) .image:before {
    left: -1rem;
    top: 1rem;
}

#page-funeral .contents .funeral_section .image img {
    border-radius: 16px;
}

#page-funeral .contents .funeral_section .text {
    width: calc(100% - 52rem);
}

#page-funeral .contents .funeral_section .text p {
    font-size: 1.8rem;
    line-height: 2.67;
    letter-spacing: .04em;
}

#page-funeral .contents .funeral_section .text p+p {
    margin-top: 2.67em;
}

#page-funeral .contents .annual_section {
    margin-top: 9rem;
}

#page-funeral .contents .annual_section h2 {
    font-size: 2rem;
    letter-spacing: .04em;
    color: #335e35;
    margin-bottom: 2rem;
}

#page-funeral .contents .annual_section .table_col {
    column-count: 3;
    column-gap: 50px;
    column-fill: auto;
    max-height: 38rem;
}

#page-funeral .contents .annual_section .table_col dl {
    display: flex;
    break-inside: avoid;
}

#page-funeral .contents .annual_section .table_col dt {
    width: calc(100% / 3);
    background-color: #f8f8f4;
    border: 1px solid #d5d5d5;
    padding: 1.4rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#page-funeral .contents .annual_section .table_col dd {
    width: calc(100% / 3);
    border: 1px solid #d5d5d5;
    padding: 1.4rem 1rem;
    white-space: pre-wrap;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width:767px) {
    #page-funeral .contents .front_lead {
        font-size: 1.8rem;
    }

    #page-funeral .contents .funeral_section h2 {
        font-size: 2.4rem;
    }

    #page-funeral .contents .funeral_section .image {
        width: 100%;
    }

    #page-funeral .contents .funeral_section .text {
        width: 100%;
    }

    #page-funeral .contents .funeral_section .text p {
        font-size: 1.6rem;
    }

    #page-funeral .contents .funeral_section+.funeral_section {
        margin-top: 6rem;
    }

    #page-funeral .contents .annual_section .table_col {
        column-count: initial;
        column-fill: initial;
        max-height: initial;
    }
}



/* お骨預かり・永代供養
***************************/
#page-price .okotsu {
    margin-bottom: 10rem;
}

#page-price .okotsu h2 {
    font-size: 4rem;
    letter-spacing: .15em;
    text-align: center;
    color: #335e35;
    margin-bottom: 5rem;
}

#page-price .okotsu .flex {
    display: flex;
    column-gap: 5rem;
    flex-wrap: wrap;
    row-gap: 3rem;
    flex-direction: row-reverse;
    align-items: center;
}

#page-price .okotsu .flex .side_l {
    width: 48rem;
}

#page-price .okotsu .flex .side_r {
    width: calc(100% - 53rem);
}

#page-price .okotsu h3 {
    font-size: 1.8rem;
    color: #335e35;
    margin-bottom: 2rem;
}

#page-price .okotsu h3:not(:first-child) {
    margin-top: 4rem;
}

#page-price .okotsu h3 span {
    display: inline-block;
}

#page-price .okotsu table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

#page-price .okotsu table th,
#page-price .okotsu table td {
    width: calc(100% / 3);
    border: 1px solid #d5d5d5;
    background-color: #fff;
    text-align: center;
    font-size: 1.8rem;
    padding: 1.4rem 1rem;
}

#page-price .okotsu table th {
    background-color: #f8f8f4;
}

#page-price .okotsu p {
    font-size: 1.7rem;
    letter-spacing: .04em;
}

#page-price .okotsu p a {
    display: inline-block;
    color: #f07a36;
    text-decoration: underline;
}

#page-price .okotsu p a:hover {
    opacity: .7;
}

#page-price .sec_kuyou {
    padding: 6rem 13rem 8rem;
    border-radius: 32px;
    background-image: url(../img/common/texture_normal.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 20rem;
}

#page-price .sec_kuyou h2 {
    font-size: 3.2rem;
    text-align: center;
    letter-spacing: .15em;
    color: #335e35;
    margin-bottom: 4rem;
}

#page-price .sec_kuyou p {
    font-size: 1.7rem;
    line-height: 2.67;
}

#page-price .sec_kuyou p+p {
    margin-top: 2.67em;
}

#page-price .sec_kuyou img {
    width: 29rem;
    position: absolute;
    right: 1.5rem;
    bottom: -10rem;
}

@media (max-width:767px) {
    #page-price .okotsu {
        margin-bottom: 6rem;
    }

    #page-price .okotsu h2 {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }

    #page-price .okotsu .flex .side_l,
    #page-price .okotsu .flex .side_r {
        width: 100%;
    }

    #page-price .okotsu table th,
    #page-price .okotsu table td {
        font-size: 1.6rem;
    }

    #page-price .okotsu p {
        font-size: 1.6rem;
    }

    #page-price .sec_kuyou {
        padding: 4rem 2rem 6rem;
        margin-bottom: 8rem;
    }

    #page-price .sec_kuyou h2 {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }

    #page-price .sec_kuyou p {
        font-size: 1.6rem;
        line-height: 2.3;
    }

    #page-price .sec_kuyou p+p {
        margin-top: 2.3em;
    }

    #page-price .sec_kuyou img {
        max-width: 100%;
        margin: 4rem auto 0;
        position: initial;
    }
}