/* breadcrumbs */

.section-breadcrumbs {
    max-width: 1366px;
    margin: 0 auto;
}

.searchKeywordContent {
    position: relative;
}

.searchKeywordContent .icon-search {
    color: #968063;
    position: absolute;
    top: 16px;
    left: 20px;
}

.searchKeywordContent input[type="search"] {
    background-color: #fff;
    border-radius: 50px;
    width: 284px;
    height: 52px;
    border: 1px solid #968063;
    color: #968063;
    font-size: 16px;
    display: block;
    padding: 15px 10px 13px 49px;
    margin-bottom: 0;
}


/* kankatsu */

.p-kankatsu-anchor {
    margin-bottom: 50px;
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 20px 6px;
    letter-spacing: 0;
}

.p-kankatsu-anchor li {
    width: 153px;
    list-style-type: none;
    margin: 0;
}

.p-kankatsu-anchor li a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border: 1px solid #807262;
    border-radius: 34px;
    font-size: 16px;
    color: #6F5B41;
    text-decoration: none !important;
    width: 100%;
    height: 41px;
    position: relative;
}

.p-kankatsu-anchor li a:hover {
    opacity: .8;
}

.p-kankatsu-anchor li a i {
    position: absolute;
    right: 11px;
    top: 12px;
}

.p-kankatsu-lead {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 90px;
}

.p-kankatsu-heading {
    font-size: 28px;
    position: relative;
    padding-left: 23px;
    margin-bottom: 20px;
}

.p-kankatsu-heading:before {
    position: absolute;
    content: "";
    width: 8px;
    height: 32px;
    background-color: #947E62;
    left: 0;
    top: 5px;
}

.p-kankatsu-table {
    margin-bottom: 50px;
}

.p-kankatsu-table table {
    border-bottom: 1px solid #EBE4D8;
}

.p-kankatsu-table tr {
    border-top: 1px solid #CBC6BF;
}

.p-kankatsu-table td {
    border-bottom: 1px solid #EFEEEC !important;
}

.p-kankatsu-table tr:first-child {
    border-top: none;
}

.p-kankatsu-table .td_address {
    border: none !important;
    background-color: #EBE4D8;
    font-size: 17px;
    letter-spacing: 0;
    padding: 1rem;
    vertical-align: top;
    width: 182px;
    color: #262626;
    font-weight: normal;
}

.p-kankatsu-table .td_type_cemetery {
    width: 78px;
    min-width: 78px;
    padding: 16px 0 16px 18px;
}

.p-kankatsu-table .type_cemetery {
    font-size: 13px;
    border-radius: 1px;
    letter-spacing: 0;
    padding: 3px 8px 2px;
    height: 22px;
    width: 55px;
    margin: 0;
    font-weight: normal;
}

.p-kankatsu-table .td_name_cemetery {
    padding: 16px 30px 16px 10px;
}

.p-kankatsu-table .td_location {
    font-size: 14px;
    letter-spacing: .03em;
    color: #312C27;
    padding: 16px 16px 16px 0;
}

.p-kankatsu-button {
    width: 280px;
    margin: 0 auto 100px;
}

.p-kankatsu-button a {
    width: 100%;
    height: 50px;
    display: block;
}

@media screen and (max-width: 768px) {
    .p-kankatsu-anchor {
        margin-bottom: 38px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 7px;
        padding: 0 20px;
    }
    .p-kankatsu-anchor li {
        width: 100%;
    }
    .p-kankatsu-anchor li a {
        border-radius: 22px;
        font-size: 16px;
        letter-spacing: 0;
        width: 100%;
        height: 40px;
    }
    .p-kankatsu-anchor li a i {
        right: 10px;
        top: 10px;
    }
    .p-kankatsu-lead {
        padding: 0 20px;
        line-height: 1.5;
        margin-bottom: 60px;
    }
    .p-kankatsu-container {
        background-color: #fff;
        padding-top: 80px;
        padding-bottom: 24px;
    }
    .p-kankatsu-heading {
        font-size: 24px;
        text-align: center;
        padding: 0;
        margin-bottom: 20px;
    }
    .p-kankatsu-heading:before {
        content: none;
    }
    .p-kankatsu-table {
        padding: 0 20px;
        margin-bottom: 30px;
    }
    .p-kankatsu-table table {
        border-bottom: 1px solid #fff;
    }
    .p-kankatsu-table th {
        display: block;
        width: 100%;
    }
    .p-kankatsu-table td {
        display: block;
    }
    .p-kankatsu-table tr {
        border-top: none;
    }
    .p-kankatsu-table td {
        border-bottom: 1px solid #EFEEEC !important;
    }
    .p-kankatsu-table tr:first-child {
        border-top: none;
    }
    .p-kankatsu-table .td_address {
        font-size: 17px;
        padding: 8px 20px;
        width: 100%;
    }
    .p-kankatsu-table .td_type_cemetery {
        width: 60px;
        min-width: 60px;
        padding: 0;
        border-bottom: none !important;
    }
    .p-kankatsu-table .type_cemetery {
        padding: 3px 3px;
    }
    .p-kankatsu-table .td_name_cemetery {
        padding: 20px 0px 12px 0px !important;
        display: flex;
        gap: 10px;
        width: 100%;
        border-bottom: none !important;
    }
    .p-kankatsu-table .td_name_cemetery a {
        font-size: 16px;
    }
    .p-kankatsu-table .td_location {
        width: 100%;
        padding: 0 0 16px;
        font-size: 16px;
    }
    .p-kankatsu-button {
        width: calc(100% - 40px);
        margin: 0 auto 60px;
    }
    .p-kankatsu-button:last-child {
        margin-bottom: 0;
    }
    .p-kankatsu-button a {
        width: 100%;
        height: 50px;
        display: block;
    }
    .p-kankatsu-scroll h2.fixed {
        position: fixed;
        top: 70px;
        width: 100%;
        left: 0;
        background-color: #908270;
        color: #fff !important;
        font-size: 16px;
        padding: 10px;
        font-family: "Zen Kaku Gothic New", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", sans-serif !important;
    }
}


/* column */

.p-column-lead {
    text-align: center;
    margin-bottom: 45px;
}

@media screen and (max-width: 768px) {
    .p-column-lead {
        text-align: left;
        margin-bottom: 50px;
    }
}

.section-column {
    margin: 0 0 42px;
    padding: 68px 43px 56px;
    border: 1px solid #939fa9;
}

.section-column.section-form-confirm {
    margin: 0 auto 42px;
    padding: 68px 43px 56px;
    border: none;
}

@media screen and (max-width: 768px) {
    .section-column {
        margin: 0 0 30px;
        padding: 40px 20px;
    }
}

.section-column-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media screen and (max-width: 768px) {
    .section-column-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.p-column-list__link {
    background: #fff;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
}

.p-column-list__link:hover>* {
    opacity: 0.8;
}

.p-column-list__link:hover img {
    transform: scale(1.1);
    transition: 500ms all;
}

.p-column-list__image {
    width: 106px;
    margin: 0;
    height: 106px;
    overflow: hidden;
}

.p-column-list__image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.p-column-list__text {
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: #312c27;
    text-align: justify;
}

@media screen and (max-width: 768px) {
    .p-column-list__link {
        gap: 18px;
    }
    .p-column-list__image {
        width: 80px;
        height: 80px;
    }
    .p-column-list__text {
        font-size: 14px;
    }
}

.p-column-category {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media screen and (max-width: 992px) {
    .p-column-category {
        margin-bottom: 36px;
        gap: 20px;
    }
}

.p-column-category__pagenation {
    margin-bottom: 130px;
}

@media screen and (max-width: 992px) {
    .p-column-category__pagenation {
        margin-bottom: 80px;
    }
}

.p-column-category__pagenation span.page-numbers.current,
.p-column-category__pagenation a.page-numbers.page-ajax.current {
    background-color: rgba(94, 121, 128, 0.3);
}

.p-column-category__link {
    display: grid;
    grid-template-columns: 223px 1fr;
    gap: 40px;
    background-color: #fff;
    padding: 36px 40px 36px 36px;
}

.p-column-category__link:hover>* {
    opacity: .8;
}

.p-column-category__link:hover img {
    transform: scale(1.1);
    transition: 500ms all;
}

.p-column-category__image {
    overflow: hidden;
    width: 223px;
    height: 166px;
}

.p-column-category__image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}

.p-column-category__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.p-column-category__title {
    font-weight: normal;
    font-size: 16px;
    letter-spacing: 0.08em;
    line-height: 1.875;
    margin-bottom: 12px;
}

.p-column-category__outline {
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.08em;
    margin: 0;
    line-height: 1.6;
    color: #646464;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
    .p-column-category__link {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 32px;
    }
    .p-column-category__image {
        width: 100%;
        height: 184px;
    }
    .p-column-category__text {
        display: block;
    }
    .p-column-category__title {
        line-height: 1.8;
    }
    .p-column-category__outline {
        -webkit-line-clamp: 3;
    }
}

.c-heading {
    font-size: 28px;
    margin: 0 0 50px;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #939fa9;
    text-underline-offset: 15px;
    text-decoration-thickness: 1px;
}

.c-heading-line {
    display: flex;
    gap: 8px;
    position: relative;
    align-items: center;
    justify-content: center;
}

.c-heading-line:before,
.c-heading-line:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    max-width: 80px;
    background-color: #707070;
}

.c-heading-line .ez-toc-section,
.c-heading-line .ez-toc-section-end {
    display: none;
}

@media screen and (max-width: 768px) {
    .c-heading {
        font-size: 22px;
        margin: 0 0 38px;
        letter-spacing: 0;
        line-height: 3rem;
        text-underline-offset: 15px;
    }
    .c-heading-line {
        text-align: center;
        gap: 0;
        display: block;
    }
    .c-heading-line:before,
    .c-heading-line:after {
        content: none;
    }
}


/* blog */

.p-blog-heading {
    font-size: 28px;
    margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
    .p-blog-heading {
        text-align: center;
        font-size: 24px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .p-blog-side {
        display: none;
    }
}

/* @media screen and (max-width: 768px) {
    .section.section-staff-blog {
        padding-top: 20px;
    }
} */

@media screen and (max-width: 768px) {
    .p-blog-list {
        padding-bottom: 60px;
        border-bottom: 1px solid #CBC6BF;
    }
}

.p-blog-item {
    margin: 0 0 20px;
    position: relative;
}

.p-blog-item:before {
    content: "NEW";
    position: absolute;
    top: -4px;
    left: -4px;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #fff;
    background: #968063;
}

@media screen and (max-width: 768px) {
    .p-blog-item:before {
        top: 14px;
    }
}

.p-blog-item__link {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 36px;
    background: #fff;
}

@media screen and (max-width: 768px) {
    .p-blog-item__link {
        display: block;
        padding: 30px;
        background: #fff;
    }
}

.p-blog-item__image {
    width: 170px;
    height: 126px;
    margin: 0;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .p-blog-item__image {
        width: 100%;
        height: auto;
        margin: 0 0 10px;
        overflow: hidden;
    }
}

.p-blog-item__text {
    flex: 1;
    width: calc(100% - 200px);
}

.p-blog-item__link:hover img {
    transform: scale(1.1);
    opacity: 0.8;
    transition: 500ms all;
}

.p-blog-item__time {
    margin: 0 0 10px;
    font-size: 14px;
}

.p-blog-item__title {
    margin: 0 0 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #262626;
}

.p-blog-item__category {
    margin: 0;
    color: #262626;
    font-size: 14px;
}

.p-blog-item a figure img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.p-staff-blogs {
    padding: 130px 0 50px;
}

@media screen and (max-width: 768px) {
    .p-staff-blogs {
        padding: 60px 32px 150px;
    }
    .p-blog-item__text {
        width: 100%;
    }
}

.p-staff-blogs__lists {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
    margin: 0 0 50px;
}

@media screen and (max-width: 768px) {
    .p-staff-blogs__lists {
        grid-template-columns: 1fr 1fr;
        gap: 10px 8px;
    }
}

.p-staff-blogs__label {
    text-align: center;
    margin: 0 0 24px;
    padding: 6px 0;
    font-size: 16px;
    background: rgba(105, 126, 144, 0.2);
    color: #6B7C8B;
}

.p-staff-blogs__label.kanto {
    background: rgba(103, 139, 132, 0.2);
    color: #658079;
}

.p-staff-blogs__item a {
    display: block;
    padding: 20px;
    background: #fff;
}

@media screen and (max-width: 768px) {
    .p-staff-blogs__item a {
        background: transparent;
        padding: 0;
    }
}

.p-staff-blogs__item a:hover>* {
    opacity: 0.8;
}

.p-staff-blogs__image {
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .p-staff-blogs__image {
        display: none;
    }
}

.p-staff-blogs__item a:hover img {
    transform: scale(1.1);
    transition: 500ms all;
}

.p-staff-blogs__name {
    text-align: center;
    margin: 0 0 2px;
    font-family: var(--serif);
    color: #262626;
    letter-spacing: 0;
}

.p-staff-blogs__area {
    text-align: center;
    margin: 0;
    color: #a5a5a5;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .p-staff-blogs__name {
        text-align: left;
        color: #7b5713;
        margin: 0;
        font-family: "Zen Kaku Gothic New", "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", sans-serif !important;
        text-decoration: underline;
        font-size: 15px;
    }
    .p-staff-blogs__area {
        display: none;
    }
}

.p-blog-philosophy {
    padding: 100px 0 90px;
}

.p-blog-philosophy__container {
    display: flex;
    justify-content: center;
    gap: 130px;
    align-items: center;
}

.p-blog-philosophy__container h2 {
    margin-bottom: 34px;
}

.p-blog-philosophy__text p {
    line-height: 1.8;
    margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
    .p-blog-philosophy {
        padding: 0 0 90px;
    }
    .p-blog-philosophy__container {
        display: block;
    }
    .p-blog-philosophy__image {
        width: 85%;
        margin: -75px 0 30px;
    }
    .p-blog-philosophy__text {
        padding: 0 30px 0;
    }
    .p-blog-philosophy__text p {
        line-height: 1.8;
        margin-bottom: 20px;
    }
    .p-blog-philosophy__container h2 {
        font-size: 26px !important;
        margin: 0 0 20px;
    }
    .p-blog-philosophy__container .el-btn {
        width: 100%;
    }
}


/* reien */

.wrap-list-cemeteries.p-reien-container {
    border: none;
    padding: 0;
    background-color: transparent;
}

.wrap-list-cemeteries.p-reien-container .pagination-text {
    margin-left: 6px;
}

.p-reien-lead {
    margin: 0 0 70px;
}

.p-reien-lead h2 {
    font-size: 34px;
}

.p-reien-lead__text {
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    .p-reien-lead {
        padding-bottom: 50px;
        margin: 0 0 50px;
        border-bottom: 1px solid #cbc6bf;
    }
    .p-reien-lead h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .p-reien-filter p {
        margin-bottom: 10px;
    }
}

#search_cemetery_area {
    border: none;
}

.p-reien-form {
    background-color: #fff;
    border-radius: 29px;
    margin: 0 0 40px;
    display: flex;
    border: none;
    padding: 16px 24px;
    width: 100%;
    max-width: 480px;
}

.p-reien-form.result {
    max-width: 100%;
}

.p-reien-form.result .p-reien-form__button:after {
    content: none;
}

@media screen and (max-width: 768px) {
    .p-reien-form {
        margin: 0 0 20px;
        max-width: 100%;
    }
    .p-reien-form.result#search_cemetery_area {
        display: block;
    }
}

.p-reien-form__label {
    width: 90px;
    margin: 0 0;
}

.p-reien-form .input-search {
    flex: 1;
    width: auto !important;
    opacity: 0.6;
    font-size: 1.5;
}

.p-reien-form__button {
    position: relative;
    width: 100%;
}

.p-reien-form__button:after {
    position: absolute;
    content: none;
    right: 0;
    top: calc(50% - 4px);
    width: 7px;
    height: 7px;
    border-bottom: 1px solid #312c27;
    border-right: 1px solid #312c27;
    transform: rotate(-45deg);
}

@media screen and (max-width: 768px) {}

.p-reien-tab {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid #000;
    margin-bottom: 50px;
}

.p-reien-tab__item {
    flex: 1;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid #cbc6bf;
    font-size: 17px;
    text-align: center;
    padding: 8px;
}

.p-reien-tab__item.active {
    background: #968063;
    color: #fff;
    font-weight: 500;
    padding: 12px;
    border: none;
}

@media screen and (max-width: 992px) {
    .list-cemetery .tab-category.p-reien-tab {
        display: flex;
        background-color: transparent;
        flex-wrap: wrap;
        gap: 6px;
        border-bottom: none;
        margin-bottom: 34px;
        padding: 0;
    }
    .p-reien-tab__item {
        flex: auto;
        width: calc(50% - 3px);
        max-width: calc(50% - 3px);
        font-size: 16px;
        padding: 8px;
    }
    .p-reien-tab__item:first-child {
        width: 100%;
        max-width: 100%;
    }
    .p-reien-tab__item.active {
        padding: 8px;
    }
}

.p-reien-result {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 42px;
    color: #6F6F6F;
}

@media screen and (max-width: 768px) {
    .p-reien-result {
        margin-bottom: 16px;
    }
}

.section-reien {
    padding-bottom: 110px;
}

.p-reien-lists {
    padding-bottom: 40px;
}

.reien-item {
    background-color: #fff;
    padding: 56px 46px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.reien-item:last-child {
    margin-bottom: 70px;
}

.reien-item__inner {
    position: relative;
}

.reien-item__recommend {
    position: absolute;
    top: 20px;
    left: -10px;
}

.reien-item__recommend span {
    display: inline-block;
    position: relative;
    width: 155px;
    height: 36px;
    line-height: 36px;
    padding: 0 30px 0 24px;
    font-size: 15px;
    background: #867258;
    color: #fff;
    clip-path: polygon(100% 0%, 90% 50%, 100% 100%, 0 100%, 0 0);
}

.reien-item__image {
    margin-bottom: 26px;
}

.reien-item__name a {
    margin-bottom: 10px;
    font-size: 28px;
    color: #262626;
}

.reien-item__copy {
    font-size: 18px;
    margin-bottom: 24px;
}

.reien-item__location img {
    margin-right: 7px;
}

.reien-item__location {
    font-size: 15px;
    padding-bottom: 31px;
    border-bottom: 1px solid #807262;
    margin-bottom: 34px;
}

.reien-item__detail {
    display: flex;
    gap: 50px;
}

.reien-item__icons {
    display: grid;
    grid-template-columns: repeat(3, 80px);
    gap: 16px 20px;
    width: 267px;
}

.reien-item__icons img {
    width: 80px;
    height: auto;
}

.reien-item__icons img.no-icon {
    opacity: .2;
}

.reien-item__buttons {
    display: flex;
    width: calc(100% - 317px);
    flex-direction: column;
}

.reien-item__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reien-item__button {
    padding: 10px;
    border-radius: 4px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    grid-auto-flow: 3px;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.reien-item__button p {
    position: relative;
}

.reien-item__button.memorial {
    background-color: rgba(105, 126, 144, 0.16);
    flex: 1;
    color: #6b7c8b;
}

.reien-item__button.tree {
    background-color: rgba(108, 139, 132, 0.16);
    flex: 1;
    color: #658079;
}

.reien-item__button.pet {
    background-color: rgba(135, 113, 145, 0.16);
    width: 100%;
    color: #877191;
}

.reien-item__help {
    position: absolute;
    top: 50px;
    right: -40px;
    z-index: 4;
    width: 200px;
    display: none;
}

.reien-item__help.is-active {
    display: block;
}

.reien-item__note {
    position: relative;
    display: block;
    padding: 20px;
    border-radius: 8px;
    color: #383838;
    background-color: #ebe7df;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.reien-item__note::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    border-style: solid;
    border-width: 0 10px 20px 10px;
    border-color: transparent transparent #ebe7df;
    translate: -50% -100%;
}

.reien-help:hover+.reien-item__help {
    display: block;
}

.reien-item__help {
    display: none;
}

.reien-item__add {
    margin: auto 0 6px;
}

.reien-item__add input {
    display: none;
}

.reien-item__add input[type="checkbox"]+label {
    cursor: pointer;
    position: relative;
    display: block;
    width: 100%;
    font-size: 16px;
    color: #968063;
    border: 1px solid #968063;
    font-weight: 500;
    border-radius: 34px;
    padding: 16px;
    text-align: center;
}

.reien-item__add input[type="checkbox"]:checked+label {
    background-color: #968063;
    color: #fff;
}

.reien-item__add input[type="checkbox"]+label:after {
    content: "+";
    position: absolute;
    font-size: 20px;
    left: calc(100% - 38px);
    top: calc(50% - 10px);
    padding: 0;
    margin: 0;
    line-height: 1;
    color: #968063;
}

.reien-item__add input[type="checkbox"]+label:hover {
    background-color: #968063;
    color: #fff;
}

.reien-item__add input[type="checkbox"]+label:hover:after {
    color: #fff;
}

.reien-item__add input[type="checkbox"]:checked+label:after {
    content: "ー";
    color: #fff;
    top: 22px;
    left: calc(100% - 37px);
    font-size: 15px;
}

.reien-item__detail a {
    width: 100%;
    margin: 0;
    border-radius: 34px;
    padding: 12px;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .section-reien {
        padding-bottom: 70px;
    }
    .p-reien-lists {
        padding-bottom: 24px;
    }
    .reien-item {
        background-color: #fff;
        padding: 32px 20px;
        border-radius: 2px;
        margin-bottom: 16px;
    }
    .reien-item__inner {
        position: relative;
    }
    .reien-item__recommend {
        top: -7px;
        left: -20px;
    }
    .reien-item__recommend span {
        height: 27px;
        width: 109px;
        line-height: 27px;
        padding: 0 14px 0 10px;
        font-size: 12px;
        clip-path: polygon(100% 0%, 90% 50%, 100% 100%, 0 100%, 0 0);
    }
    .reien-item__image {
        margin-bottom: 12px;
    }
    .reien-item__name a {
        margin-bottom: 8px;
        font-size: 22px;
    }
    .reien-item__copy {
        font-size: 16px;
        margin-bottom: 8px;
    }
    .reien-item__location {
        font-size: 14px;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
    .reien-item__detail {
        display: block;
    }
    .reien-item__icons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 13px 20px;
        width: 100%;
        margin-bottom: 16px;
    }
    .reien-item__icons img {
        width: 100%;
        height: auto;
    }
    .reien-item__buttons {
        display: block;
        width: 100%;
    }
    .reien-item__options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 20px;
        padding-bottom: 16px;
        border-bottom: 1px solid #cbc6bf;
    }
    .reien-item__button {
        padding: 8px;
    }
    .reien-item__button p {
        font-size: 13px;
    }
    .reien-item__button.memorial {
        max-width: calc(50% - 4px);
    }
    .reien-item__button.tree {
        max-width: calc(50% - 4px);
    }
    .reien-item__help {
        display: none;
    }
    .reien-item__add {
        margin: auto 0 6px;
    }
    .reien-item__add input {
        display: none;
    }
    .reien-item__add input[type="checkbox"]+label {
        padding: 12px;
    }
    .reien-item__add input[type="checkbox"]+label:after {
        font-size: 20px;
        right: 26px;
        top: 12px;
    }
    .reien-item__detail a {
        padding: 8px;
        font-size: 16px;
    }
}

.section-reien-recommend {
    padding: 140px 0 40px;
}

.section-reien-recommend h2 {
    font-size: 34px;
    margin-bottom: 46px;
}

.section-reien-recommend-hyogo .custom-prev-btn,
.section-reien-recommend-hyogo .custom-next-btn,
.section-reien-recommend-kyoto .custom-prev-btn,
.section-reien-recommend-kyoto .custom-next-btn,
.section-reien-recommend-nara .custom-prev-btn,
.section-reien-recommend-nara .custom-next-btn{
    display: none;
}

@media screen and (max-width: 768px) {
    .section-reien-recommend {
        padding: 70px 0 20px;
    }
    .section-reien-recommend h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    .section-reien-recommend h2 span {
        display: none;
    }
    .section-reien-recommend .custom-next-btn {
        right: 18px;
        top: 157px;
    }
    .section-reien-recommend .custom-prev-btn {
        left: 18px;
        top: 157px;
    }
    .section-reien-recommend-hyogo .custom-prev-btn,
    .section-reien-recommend-hyogo .custom-next-btn,
    .section-reien-recommend-kyoto .custom-prev-btn,
    .section-reien-recommend-kyoto .custom-next-btn,
    .section-reien-recommend-nara .custom-prev-btn,
    .section-reien-recommend-nara .custom-next-btn{
        display: flex;
    }
}

.section-reien-request {
    padding: 100px 0;
}

.section-reien-request h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 52px;
}

.p-reien-request-items {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-bottom: 35px;
}

.p-reien-request-item {
    width: 100%;
    max-width: 278px;
}

.p-reien-request-item a figure {
    margin: 0;
    overflow: hidden;
}

.p-reien-request-item a:hover {
    opacity: 0.8;
}

.p-reien-request-item a:hover img {
    transform: scale(1.1);
    transition: 500ms all;
}

.p-reien-request-label {
    padding-top: 13px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.p-reien-request-label p {
    color: #262626;
    flex: 1;
    font-size: 19px;
    position: relative;
}

.p-reien-request-label p:after {
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    content: "";
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #968063;
    border: 1px solid #968063;
}

.p-reien-request-item a:hover .p-reien-request-label p:after {
    background-color: #fff;
}

.p-reien-request-label p:before {
    position: absolute;
    z-index: 2;
    right: 11px;
    top: 10px;
    content: "";
    width: 6px;
    height: 6px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(-45deg);
}

.p-reien-request-item a:hover .p-reien-request-label p:before {
    border-bottom: 1px solid #968063;
    border-right: 1px solid #968063;
}

.p-reien-request-item.boseki p {
    font-size: 16px;
}

.p-reien-request-label span {
    font-size: 12px;
    display: block;
}

@media screen and (max-width: 768px) {
    .section-reien-request {
        padding: 60px 0;
    }
    .section-reien-request h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .section-reien-request h2 span {
        display: block;
        font-size: 18px;
    }
    .p-reien-request-items {
        display: block;
        margin-bottom: 16px;
    }
    .p-reien-request-item {
        width: 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }
    .p-reien-request-item a {
        display: grid;
        grid-template-columns: 108px 1fr;
        gap: 19px;
        padding: 20px;
        background: #fff;
        align-items: center;
    }
    .p-reien-request-item a figure {
        width: 108px;
        height: 108px;
        overflow: hidden;
    }
    .p-reien-request-item a figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .p-reien-request-label {
        display: block;
    }
    .p-reien-request-label p {
        flex: 1;
        font-size: 18px;
        text-align: center;
    }
    .p-reien-request-label p:after,
    .p-reien-request-label p:before {
        content: none;
    }
    .p-reien-request-item.boseki p {
        font-size: 18px;
        letter-spacing: normal;
    }
    .p-reien-request-label span {
        font-size: 12px;
    }
    .p-reien-request-label img {
        display: none;
    }
}

.section-reien-feature {
    padding: 110px 0;
    position: relative;
}

.section-reien-feature__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.section-reien-feature__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-reien-feature {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.p-reien-feature__text {
    width: 640px;
    color: #fff;
}

.p-reien-feature__text h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #fff !important;
}

@media screen and (max-width: 768px) {
    .section-reien-feature {
        padding: 130px 0 80px;
    }
    .p-reien-feature {
        display: block;
    }
    .p-reien-feature__text {
        width: 100%;
    }
    .p-reien-feature__text h2 {
        margin-bottom: 20px;
    }
    .p-reien-feature__image {
        position: absolute;
        top: -80px;
        right: 0px;
        width: 50%;
        max-width: 160px;
    }
}

.section-reien-other {
    padding: 80px 0;
}

.p-reien-other {
    display: grid;
    gap: 55px 88px;
    grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 768px) {
    .section-reien-other {
        padding: 70px 0;
    }
    .p-reien-other {
        gap: 40px;
        grid-template-columns: 1fr;
        padding: 0;
    }
}

.m-movie {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 90px;
    aspect-ratio: 16/9;
}

@media screen and (max-width: 768px) {
    .m-movie {
        margin-bottom: 2rem;
    }
}

.m-movie video,
.m-movie iframe {
    width: 100%;
    max-width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
}

.m-tab-area {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 50px;
}

.m-tab-area a {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 26px;
    background-color: #fff;
    border: 1px solid #968063;
    color: #968063;
}

@media screen and (max-width: 768px) {
    .m-tab-area {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin: 0 0 38px;
    }
    .m-tab-area a {
        padding: 8px;
    }
}

.m-tab-area a.is-active {
    background-color: #968063;
    color: #fff;
}

.l-tab-under {
    width: 100%;
    max-width: 912px;
    margin: 0 auto;
    padding-bottom: 150px;
}

.m-tab-under {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0;
}

.m-tab-under li {
    flex: 1;
    min-width: 154px;
    max-width: 300px;
    list-style-type: none;
    margin: 0 !important;
}

.m-tab-under li a {
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
    flex-direction: column;
    color: #fff;
    background-color: #475563;
    text-align: center;
    border-radius: 42px;
    height: 80px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: .08em;
    border: 1px solid #475563;
}

.m-tab-under li a p {
    text-align: center;
    margin: 0!important;
}

.m-tab-under li a:after {
    position: absolute;
    top: 50%;
    left: calc(100% - 30px);
    content: "";
    width: 5px;
    height: 5px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(-45deg);
}

.m-tab-under li a:hover {
    background-color: transparent;
    color: #475563;
}

.m-tab-under li a:hover:after {
    border-bottom: 1px solid #475563;
    border-right: 1px solid #475563;
}

@media screen and (max-width: 768px) {
    .l-tab-under {
        padding-bottom: 80px;
    }
    .m-tab-under {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 300px;
        margin: 0 auto;
    }
    .m-tab-under li {
        width: 100%;
    }
    .m-tab-under li a:after {
        top: 50%;
        left: calc(100% - 30px);
    }
}

.m-modal .m-modal-header {
    position: relative;
    padding: 45px 20px 0;
    margin-bottom: 27px;
}

.m-modal .modal-dialog {
    max-width: 940px !important;
}

.m-modal .m-modal-header a {
    position: absolute;
    top: 24px;
    right: 22px;
    width: 45px;
    height: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    gap: 10px;
}

.m-modal .m-modal-header h3 {
    text-align: center;
    margin: 0;
    font-size: 24px;
    padding-bottom: 25px;
    border-bottom: 1px solid #a5a5a5;
}

.m-modal .m-modal-check input {
    display: none;
}

.m-modal .m-modal-check label {
    position: relative;
    padding-left: 25px;
    font-size: 16px;
}

.m-modal .m-modal-check label:before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #cbc6bf;
    border-radius: 50%;
}

.m-modal .m-modal-check input:checked+label:before {
    background-color: #968063;
}

.m-modal .m-modal-check input:checked+label:after {
    content: "";
    position: absolute;
    top: 9px;
    left: 5px;
    width: 10px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.m-modal .m-modal-body {
    padding: 0 60px 60px;
    position: relative;
}

.m-modal .m-modal-footer {
    padding: 12px 14px 58px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.m-modal .m-modal-footer button {
    border-radius: 25px;
    padding: 6px 42px;
}

.m-modal .m-modal-clear {
    color: #6f5b41;
    text-decoration: underline;
    cursor: pointer;
}

.m-modal #search-cemeteries {
    margin: 0 !important;
}

.m-modal .m-modal-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.m-modal .m-modal-parent {
    display: flex;
    width: calc(25% - 14px);
    flex-wrap: wrap;
}

#searchModal .m-modal-parent label {
    font-weight: 500!important;
}

.m-modal .m-modal-child {
    width: 100%;
    padding: 22px 40px 40px;
    display: flex;
    gap: 20px 0;
    flex-wrap: wrap;
}

.m-modal .m-modal-child-item {
    width: 25%;
}

@media screen and (max-width: 768px) {
    .m-modal .m-modal-header {
        position: relative;
        padding: 30px 0px 0;
        margin-bottom: 13px;
        height: 72px;
    }
    .m-modal .modal-dialog {
        padding: 0;
        margin: 0;
    }
    .m-modal .m-modal-header a {
        top: 19px;
        right: 14px;
        width: 45px;
        height: 45px;
    }
    .m-modal .m-modal-header h3 {
        font-size: 18px;
        padding-bottom: 20px;
    }
    .m-modal .m-modal-attention {
        display: none;
    }
    .m-modal .m-modal-check label {}
    .m-modal .m-modal-body {
        padding: 0 15px 20px;
        height: calc(100vh - 149px);
        overflow-y: scroll;
    }
    .m-modal .m-modal-footer {
        background-color: #f4efe7;
        padding: 12px 14px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 25px;
    }
    .m-modal .m-modal-footer button {
        padding: 6px 32px;
    }
    .m-modal #search-cemeteries {
        padding: 6px 32px !important;
    }
    .m-modal .m-modal-areas {
        display: block;
    }
    .m-modal .m-modal-parent {
        display: block;
        width: 100%;
        flex-wrap: wrap;
    }
    .m-modal .m-modal-child {
        width: 100%;
        padding: 0;
        display: block;
    }
    .m-modal .m-modal-parent {
        border-bottom: 1px solid #cbc6bf;
        padding: 12px;
    }
    .m-modal .m-modal-child-item {
        width: 100%;
        border-bottom: 1px solid #cbc6bf;
        padding: 12px 12px 12px 40px;
    }
}


/* side */

.c-side-title {
    margin: 0 0 16px;
    color: #574b43 !important;
    position: relative;
    font-size: 18px;
    font-weight: 500;
}

.c-side-title:before {
    content: "-";
    padding-right: 8px;
}

.m-side-list {
    list-style-type: none;
}

.m-side-list a {
    color: #312c27;
}

.m-side-list a:before {
    content: "-";
    padding-right: 8px;
}


/* Overwrite */

.card-text {
    text-align: left;
}

.pagination .pagination {
    display: flex;
    gap: 5px;
    padding-top: 40px;
}

@media screen and (max-width: 992px) {
    .pagination .pagination {
        padding-top: 24px;
    }
}

span.page-numbers.current,
a.page-numbers.page-ajax.current {
    background-color: rgba(150, 128, 99, 0.3);
    border-radius: 50%;
    width: 30px;
    min-width: 30px;
    height: 30px;
    color: #262626 !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

a.page-numbers,
.page-ajax {
    background-color: transparent;
    color: #262626 !important;
    height: 30px;
    min-width: 30px;
    display: flex;
    font-weight: 500;
    align-items: center;
    justify-content: center;
}

.next.page-numbers,
.prev.page-numbers,
.next.page-ajax,
.prev.page-ajax {
    min-width: 60px;
    position: relative;
    font-weight: 500;
    color: #262626;
}

.page-numbers.dots {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #262626;
    font-weight: 500;
}

.next.page-ajax.page-numbers:after,
.next.page-numbers:after {
    content: "";
    width: 6px;
    height: 6px;
    position: absolute;
    top: 14px;
    right: 0px;
    border-bottom: 1px solid #262626;
    border-right: 1px solid #262626;
    transform: rotate(-45deg);
}

.prev.page-ajax.page-numbers:after,
.prev.page-numbers:after {
    content: "";
    width: 6px;
    height: 6px;
    position: absolute;
    top: 14px;
    left: 0px;
    border-bottom: 1px solid #262626;
    border-right: 1px solid #262626;
    transform: rotate(135deg);
}

.button:not(.icon).new-arrow>span {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.button:not(.icon).new-arrow>span+i {
    position: absolute;
    top: calc(50% - 9px);
    left: calc(100% - 33px);
    margin: 0;
    padding: 0;
}

.btn-contact.btn-contact-noamal::before,
.btn-contact.btn-contact-noamal::after {
    content: none;
}

@media screen and (max-width: 992px) {
    .btn-contact.btn-contact-noamal::before,
    .btn-contact.btn-contact-noamal::after {
        content: "";
    }
}


/* 2024 10 New layout */

.l-inner {
    width: 100%;
    max-width: 1366px;
    padding-left: min(5.8565153733529%, 80px);
    padding-right: min(5.8565153733529%, 80px);
    margin: 0 auto;
}

.l-row {
    display: flex;
    width: 100%;
    max-width: 1366px;
    padding: 0 min(5.8565153733529%, 80px);
    margin: 0 auto;
}

.l-container {
    flex: 1;
    width: calc(100% - 605px);
    min-width: 500px;
}

.l-side {
    flex: 1;
    max-width: 400px;
    min-width: 200px;
    margin-left: 45px;
}

.l-side-inner {
    padding-left: 50px;
    border-left: 1px solid rgba(113, 113, 113, 0.4);
}

@media screen and (max-width: 992px) {
    .l-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
    .l-inner.sp-full {
        padding-left: 0;
        padding-right: 0;
    }
    .l-row {
        display: block;
        padding: 0;
    }
    .l-container {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }
    .l-side {
        display: none;
    }
}


/* custom */

.m-tab-link {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0 0 130px;
}

.m-tab-link li {
    flex: 1;
    list-style-type: none;
    padding: 0;
    margin: 0!important;
    max-width: 220px;
}

.m-tab-link li a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 13px;
    font-size: 16px;
    font-weight: normal;
    background-color: #FFFFFF;
    border: 1px solid #475563;
    border-radius: 34px;
    color: #475563;
}

.m-tab-link li a:hover,
.m-tab-link li.active a {
    background-color: #475563;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .m-tab-link {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin: 0 0 60px;
        padding: 0 24px;
    }
    .m-tab-link li a {
        padding: 8px 3px;
        border-radius: 22px;
        letter-spacing: 0;
    }
}

.m-banner_estimate {
    background-color: #F8F5EF;
    border: 2px solid #796B61;
    width: 100%;
    max-width: 1000px;
    padding: 7px;
    margin: 0 auto 120px;
}

.m-banner_estimate__inner {
    padding: 40px;
    border: 1px solid #796B61;
    display: flex;
    align-items: center;
    gap: 34px;
    justify-content: center;
}

.m-banner_estimate__text {
    width: 100%;
    max-width: 370px;
    color: #403217;
}

.m-banner_estimate__lead {
    line-height: 2;
    margin: 0 0 1rem;
    text-align: justify;
}

.m-banner_estimate__note {
    font-size: 14px;
    margin: 0 0 40px;
}

.m-banner_estimate__button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #957E61;
    border-radius: 6px;
    height: 90px;
    width: 100%;
    color: #fff;
    position: relative;
    border: 1px solid #957E61;
}

.m-banner_estimate__button:hover {
    color: #957E61;
    background-color: #fff;
}

.m-banner_estimate__button:after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    top: calc(50% - 4px);
    left: calc(100% - 44px);
}

.m-banner_estimate__button:hover:after {
    border-bottom: 1px solid #957E61;
    border-right: 1px solid #957E61;
}

@media screen and (max-width: 768px) {
    .m-banner_estimate {
        margin: 0 auto 60px;
    }
    .m-banner_estimate__inner {
        padding: 23px;
        display: block;
    }
    .m-banner_estimate__image {
        margin-bottom: 15px;
        display: block;
    }
    .m-banner_estimate__lead {
        line-height: 1.56;
        margin: 0 0 8px;
    }
    .m-banner_estimate__note {
        margin: 0 0 1rem;
    }
    .m-banner_estimate__button {
        height: 68px;
    }
    .m-banner_estimate__button:after {
        left: calc(100% - 24px);
    }
}

.m-section-achievement {
    padding: 120px 0;
    position: relative;
}

.m-section-achievement__image {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.m-section-achievement__container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 136px;
    position: relative;
    color: #fff;
}

.m-section-achievement__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-section-achievement__text {
    width: 100%;
    max-width: 424px;
}

.m-section-achievement__text .m-section-achievement__description {
    margin: 0 0 32px;
    line-height: 2.2;
    letter-spacing: 0.05em;
}

.m-section-achievement__label {
    width: 398px;
}

@media screen and (max-width: 768px) {
    .m-section-achievement {
        padding: 60px 20px 100px;
    }
    .m-section-achievement__container {
        flex-direction: column-reverse;
        gap: 37px;
    }
    .m-section-achievement__description {
        margin: 0 0 20px;
        line-height: 2;
        text-align: center;
    }
    .m-section-achievement__label {
        width: 95%;
        max-width: 273px;
        margin: 0 auto;
    }
}


/* common */

.lh1-9 {
    line-height: 1.9!important;
}

@media screen and (max-width: 992px) {
    .mb-lh1-5 {
        line-height: 1.5!important;
    }
    .mb-lh1-6 {
        line-height: 1.6!important;
    }
    .mb-lh1-7 {
        line-height: 1.7!important;
    }
    .mb-lh1-8 {
        line-height: 1.8!important;
    }
    .mb-spacing-0 {
        letter-spacing: 0!important;
    }
}

.bg-stone {
    background-image: url(/wp-content/themes/flatsome-child/assets/img/bg-stone.jpg);
    background-size: cover;
}

.bg-stone-blue {
    background-image: url(/wp-content/themes/flatsome-child/assets/img/bg_navy.png);
    background-size: cover;
}

.bg-light-brawn {
    background-color: #E8E2D6 !important;
}

.bg-light-brawn2 {
    background-color: #F5F3EF !important;
}

.bg-dark-brawn {
    background-color: #807262 !important;
}

.mBottom120 {
    margin-bottom: 120px;
}

.m-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.m-links.center {
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .m-links {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }
}

.c-button {
    font-size: 16px;
    letter-spacing: .08em;
    width: 100%;
    max-width: 240px;
    min-width: 240px;
    color: #fff;
    display: flex;
    height: 50px;
    border-radius: 34px;
    align-items: center;
    justify-content: center;
    position: relative;
    font-weight: normal;
    margin: 0;
    padding: 0 1rem;
    line-height: 1.8rem;
}

.c-button.arrow:after {
    position: absolute;
    z-index: 2;
    left: calc(100% - 22px);
    top: calc(50% - 3px);
    content: "";
    width: 6px;
    height: 6px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(-45deg);
}

.c-button:hover {
    background-color: #fff;
}

.c-button.blue {
    background-color: #6B7C8B;
    border: 1px solid #6B7C8B;
}

.c-button.blue:hover {
    background-color: #fff;
    color: #6B7C8B;
}

.c-button.green {
    background-color: #607E77;
    border: 1px solid #607E77;
}

.c-button.green:hover {
    color: #607E77;
    background-color: #fff;
}

.c-text-bg-brawn {
    color: #43361E;
    background-color: #F2EEE7;
}

.c-center-line {
    width: 1px;
    height: 43px;
    background-color: #707070;
    margin: 0 auto 1.5rem;
}

.c-center-line.small {
    width: 1px;
    height: 24px;
    background-color: #707070;
    margin: 0 auto 44px;
}

@media screen and (max-width: 992px) {
    .c-center-line {
        height: 24px;
        margin: 0 auto 1rem;
    }
}

.c-note {
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    padding-left: 1.1rem;
    margin: 0;
    letter-spacing: 0;
}

.c-note:before {
    content: "※";
    position: absolute;
    left: 0;
    top: 0;
}

.c-note.text-center:before {
    position: static;
}

.text-center-justify {
    text-align: center;
}

@media screen and (max-width: 992px) {
    .c-note {
        line-height: 1.5;
    }
    .c-note.mb-text-left:before {
        position: absolute;
    }
}

@media screen and (max-width: 992px) {
    .mb-text-left {
        text-align: left!important;
    }
    .text-center-justify {
        text-align: justify;
    }
    .mb-spacing-0 {
        letter-spacing: 0!important;
    }
    .mb-spacing-5em {
        letter-spacing: 0.05em;
    }
}

.section-page-header {
    position: relative;
    margin-bottom: 100px;
    z-index: 1;
}

.section-page-header .ez-toc-section,
.section-page-header .ez-toc-section-end {
    display: none;
}

.section-page-header:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    content: "";
    width: 100%;
    height: calc(100% - 100px);
    background: #fff;
}

@media screen and (max-width: 768px) {
    .section-page-header {
        margin-bottom: 30px;
    }
    .section-page-header.full {
        margin-bottom: 80px;
    }
    .section-page-header.col2 {
        height: calc(100vh - 90px);
        max-height: 800px;
    }
    .section-page-header.col2:after {
        height: calc(100% - 160px);
    }
}

.section-page-header__main {
    width: 100%;
    height: 100%;
    max-width: 1366px;
    margin: 0 auto;
    position: relative;
}

.section-page-header.full picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-page-header.col2 picture {
    width: 72%;
    max-width: 968px;
    height: 100%;
    max-height: 522px;
}

.section-page-header .section-page-header__wrapper {
    max-height: 1000px;
    padding-left: 3.0746705710102%;
    padding-right: 3.0746705710102%;
}

.section-page-header.full .section-page-header__wrapper {
    padding-top: 42px;
    height: calc(100vh - 102px - 42px);
}

@media screen and (max-width: 768px) {
    .section-page-header.full .section-page-header__wrapper {
        padding-top: 10px;
        height: calc(100vh - 70px);
    }
}

.section-page-header.col2 .section-page-header__wrapper {
    padding-top: 48px;
    max-width: 1366px;
    margin: 0 auto;
}

.section-page-header.col2 .section-page-header__wrapper .section-page-header__breadcrumbs {
    padding: 0;
}

@media screen and (max-width: 768px) {
    .section-page-header.col2 .section-page-header__wrapper {
        padding-top: 52px;
        padding-left: 0;
        padding-right: 0;
        height: calc(100% - 140px);
    }
    .section-page-header.col2 .section-page-header__wrapper .section-page-header__breadcrumbs {
        padding: 0 5.8565153733529%;
    }
}

.section-page-header.full .section-page-header__main {
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section-page-header.col2 .section-page-header__main {
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 32px;
}

@media screen and (max-width: 768px) {
    .section-page-header.col2 .section-page-header__main {
        padding: 0;
        margin-bottom: 100px;
    }
}

.section-page-header.full .section-page-header__title {
    color: #fff;
    position: relative;
}

.section-page-header.col2 .section-page-header__title {
    width: 28%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-page-header .section-page-header__title h1 {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    width: auto;
    font-family: var(--serif);
    letter-spacing: 0.08em;
    font-size: 34px;
    margin: 0;
}

.section-page-header.full .section-page-header__title h1 {
    color: #fff;
    font-weight: 300;
}

.section-page-header.full .section-page-header__title h1.line2 {
    line-height: 2;
}

.section-page-header.full .section-page-header__title h1 span.sub {
    font-size: 28px;
    text-align: center;
    line-height: 1;
}

.section-page-header.full .section-page-header__title h1 span.label {
    font-size: 28px;
    position: relative;
    padding-top: 35px;
}

.section-page-header.full .section-page-header__title h1 span.label::before {
    position: absolute;
    content: "";
    height: 14px;
    width: 1px;
    background-color: #fff;
    top: 10px;
    left: 50%;
}

.section-page-header.col2 .section-page-header__title h1 {
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    .section-page-header.col2 .section-page-header__title {
        width: 30.4%;
    }
    .section-page-header.full .section-page-header__title {
        width: 75px;
        margin: 0 auto;
    }
    .section-page-header.full .section-page-header__title h1 {
        font-size: 25px;
        line-height: 1;
        width: 25px;
        margin: 0 auto;
    }
    .section-page-header.full.line2 .section-page-header__title h1,
    .section-page-header.full .section-page-header__title h1.line2 {
        line-height: 1.5;
        width: 75px;
    }
    .section-page-header.full .section-page-header__title h1 span.sub {
        font-size: 25px;
        line-height: 1;
    }
    .section-page-header.full .section-page-header__title h1 span.label {
        font-size: 25px;
        margin-right: 20px;
        line-height: 1;
        display: inline-block;
    }
    .section-page-header.col2 .section-page-header__title h1 {
        font-size: 26px;
    }
    .section-page-header.full .section-page-header__title h1 span.label::before {
        left: 14px;
    }
}

.section-page-header picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .section-page-header.col2 picture {
        width: 69.6%;
        height: 100%;
        max-height: 100%;
    }
}

.section-page-header__breadcrumbs {
    width: 100%;
    max-width: 1366px;
    padding-left: 5.8565153733529%;
    padding-right: 5.8565153733529%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    font-size: 14px;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
    .section-page-header__breadcrumbs {
        font-size: 12px;
        display: block;
    }
}

.section-page-header__breadcrumbs a {
    color: #262626;
}

.section-page-header__breadcrumbs li a:hover {
    text-decoration: underline;
}

.section-page-header.full .section-page-header__breadcrumbs {
    margin-top: -40px;
    color: #fff;
}

.section-page-header.full .section-page-header__breadcrumbs a {
    color: #fff;
}

.section-page-header.full .section-page-header__breadcrumbs {
    padding-left: 30px;
    padding-right: 0;
}

.section-page-header.box-col2 .section-page-header__breadcrumbs {
    padding-left: 0px;
    max-width: 1216px;
}

@media screen and (max-width: 768px) {
    .section-page-header.full .section-page-header__breadcrumbs {
        padding-left: 16px;
    }
}

.section-page-header.box-col2 {
    padding-top: 44px;
}

@media screen and (max-width: 768px) {
    .section-page-header.box-col2 {
        padding-top: 30px;
    }
}

.section-page-header.box-col2::after {
    content: none;
}

.section-page-header.box-col2 .section-page-header__main {
    max-width: 1216px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #939FA9;
    margin-bottom: 27px;
    padding: 60px 30px;
}

@media screen and (max-width: 768px) {
    .section-page-header.box-col2 .section-page-header__main {
        padding: 0;
        margin-bottom: 18px;
        height: 520px;
    }
}

.section-page-header.box-col2 picture {
    width: 720px;
    height: 420px;
}

.section-page-header.box-col2 picture img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}

.section-page-header.box-col2 .section-page-header__title {
    width: 48%;
    flex: 1;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-page-header.box-col2 .section-page-header__title h1 {
    font-weight: 400;
    font-size: 30px;
    line-height: 2.3;
    text-align: left;
    position: relative;
    text-decoration: underline;
    text-decoration-color: #939FA9;
    text-decoration-thickness: 1px;
    text-underline-offset: 18px;
}

@media screen and (max-width: 768px) {
    .section-page-header.box-col2 picture {
        width: 75%;
        height: 100%;
        max-height: 421px;
        margin-left: -20px;
    }
    .section-page-header.box-col2 .section-page-header__title {
        width: 25%;
    }
    .section-page-header.box-col2 .section-page-header__title h1 {
        font-size: 24px;
        line-height: 1.125;
        text-decoration: none;
    }
}


/* ////////////////////////////////////////////
====================== contact-btn ======================
////////////////////////////////////////////// */

.requestContactArea {
    text-align: center;
    letter-spacing: 0.01em;
}

.requestContactArea p {
    margin-bottom: 0;
}

.requestContactArea .requestContactTitle {
    font-size: 32px;
    line-height: calc(51/32);
    margin-top: 30px;
}


/* .requestContactCol {
display: flex;
justify-content: center;
} */

.requestContactBtn {
    background-color: #798c9c;
    border: 1px solid transparent;
    border-radius: 110px;
    color: #fff;
    max-width: 484px;
    margin: 30px auto 0;
    padding: 48px 92px 48px 97px;
    transition: background-color 0.3s, color 0.3s, background 0.3s ease;
    cursor: pointer;
}

.requestContactBtn .requestSubText {
    font-size: 16px;
    line-height: calc(32/16);
}

.requestContactBtn .requestMainText {
    display: inline-block;
    font-size: 24px;
    line-height: calc(34/24);
    margin-top: 8px;
    padding-left: 12px;
    position: relative;
}

.requestContactBtn .requestMainText::before {
    content: "";
    background-image: url(/wp-content/themes/flatsome/assets/img/icon-custom/icon-contact-phone.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: -20px;
    top: 50%;
    transition: background-image 0.3s ease;
    transform: translateY(-50%);
}

.requestContactBtn:hover {
    background-color: #fff;
    border-color: #a8947b;
    color: #a8947b;
}

.requestContactBtn:hover .requestMainText::before {
    background-image: url(/wp-content/themes/flatsome/assets/img/icon-custom/icon-contact-phone-hovered.png);
}

@media only screen and (max-width: 991px) {
    .requestContactArea .requestContactTitle {
        font-size: 18px;
        margin-top: 0;
        margin-bottom: 30px;
    }
    .requestContactBtn {
        margin-top: 10px;
        padding: 30px 10px 30px 25px;
        max-width: 315px;
    }
    .requestContactBtn .requestSubText {
        font-size: 14px;
    }
    .requestContactBtn .requestMainText {
        background-size: 20px 20px;
        display: inline-block;
        font-size: 18px;
        margin-top: 0;
    }
}


/* faq */

.boseki-faq {
    padding: 130px 30px 120px;
    width: 100%;
    max-width: 875px;
    margin: 0 auto;
}

.boseki-faq h2 {
    font-family: var(--serif)!important;
    font-size: 34px;
    margin-bottom: 37px;
}

.boseki-faq .qa-content dt,
.boseki-faq .qa-content-detail dt {
    background-color: transparent;
    padding: 0 0 33px;
    display: flex;
    align-items: center;
    min-height: auto;
    margin-bottom: 35px;
}

.boseki-faq .qa-content dt {
    border-bottom: 1px solid #A5A5A5;
    font-size: 18px;
}

.boseki-faq .qa-content dt div {
    align-items: center;
}

.qa-content .qa-q,
.qa-content-detail .qa-q {
    color: #957E61;
    margin-right: 26px;
    font-size: 34px;
    padding-left: 12px;
}

.qa-content dl dt:hover {
    opacity: 1;
}

.qa-content .qa-a,
.qa-content-detail .qa-a {
    color: #6B7C8B;
    margin-right: 26px;
    vertical-align: middle;
    padding-left: 12px;
    font-size: 34px;
}

.qa-content dl dt::after {
    top: 24px;
}

.qa-content dd div,
.qa-content-detail dd div {
    padding: 0 0 28px;
    margin-bottom: 19px;
    border-bottom: 1px solid #A5A5A5;
}

.boseki-faq .q-text {
    font-size: 18px;
    padding-top: 5px;
}

.faq-link {
    padding-top: 15px;
}

.faq-link a {
    width: 240px;
    height: 50px;
    background-color: #957E61;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 34px;
    display: block;
    margin: 0 auto;
    text-align: center;
    line-height: 50px;
    background-image: url("/wp-content/themes/flatsome-child/boseki/img/icon-arrow.svg");
    background-repeat: no-repeat;
    background-position: 92% center;
    letter-spacing: 0.08em;
    font-weight: 400;
}

.faq-link a:hover {
    border: 1px solid #957E61;
    background-color: #fff;
    color: #957E61;
    background-image: url("/wp-content/themes/flatsome-child/boseki/img/icon-arrow-brawn.svg");
}

@media screen and (max-width: 768px) {
    .boseki-faq {
        padding: 70px 20px;
        width: 100%;
    }
    .boseki-faq .qa-content dt,
    .boseki-faq .qa-content-detail dt {
        padding: 0 0 26px;
        margin-bottom: 24px;
        letter-spacing: 0.05em;
    }
    .qa-content .qa-q,
    .qa-content-detail .qa-q {
        margin-right: 20px;
        font-size: 29px;
        padding-left: 10px;
        vertical-align: top;
        line-height: 1;
    }
    .qa-content .qa-a,
    .qa-content-detail .qa-a {
        margin-right: 20px;
        font-size: 29px;
        vertical-align: middle;
        padding-left: 10px;
    }
    .boseki-faq .qa-content dt div {
        width: calc(100% - 40px);
        line-height: 1.5;
        letter-spacing: 0.05em;
        align-items: flex-start;
        padding-top: 5px;
    }
    .boseki-faq .q-text {
        font-size: 16px;
        letter-spacing: .05em;
        padding-top: 5px;
    }
    .boseki-faq .qa-content dt {
        font-size: 16px;
        letter-spacing: 0.5em;
    }
    .qa-content dd div,
    .qa-content-detail dd div {
        padding: 0 0 24px;
        margin-bottom: 19px;
        border-bottom: 1px solid #A5A5A5;
    }
}

.p-company-outline-lead {
    padding-top: 45px;
    padding-bottom: 140px;
}

.p-company-outline-lead p {
    margin: 0;
    text-align: center;
    font-family: var(--serif);
    font-size: 18px;
    line-height: 2.6;
}

@media screen and (max-width: 768px) {
    .p-company-outline-lead {
        padding-bottom: 80px;
    }
    .p-company-outline-lead p {
        margin: 0;
        text-align: center;
        font-family: var(--serif);
        font-size: 16px;
        line-height: 2.2;
        letter-spacing: 0.07em;
    }
}

.p-company-outline-outline {
    background-color: rgba(235, 231, 223, .5);
    padding: 110px 0 10px;
}

@media screen and (max-width: 768px) {
    .p-company-outline-outline {
        padding: 70px 0;
    }
}

.outine-table {
    width: 966px;
    margin: 0 auto 190px;
    letter-spacing: 0;
}

@media screen and (max-width: 768px) {
    .outine-table {
        width: 100%;
        margin: 0 auto 80px;
    }
}

.outine-relation-table {
    width: 966px;
    margin: 0 auto 130px;
    letter-spacing: 0;
}

@media screen and (max-width: 768px) {
    .outine-relation-table {
        width: 100%;
        margin: 0 auto 80px;
    }
}

.outine-table .title-row-child,
.outine-relation-table .title-row-child {
    background-color: rgba(244, 241, 234, 9);
    width: 210px;
    padding: 30px 25px;
}

.outine-table .title-row,
.outine-relation-table .title-row {
    background-color: #675c4f;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #fff !important;
    line-height: 1.7;
    width: 210px;
    color: #fff;
}

.outine-table .content-row,
.outine-relation-table .content-row {
    background-color: #fff;
    padding: 20px 25px;
    font-size: 16px;
}

.outine-table td,
.outine-relation-table td {
    border-bottom: 1px solid #CBC6BF !important;
    font-size: 16px;
    color: #262626;
}

.outine-table .title-row-child a,
.outine-table .td-content a,
.outine-relation-table a,
.p-company-outline-history-table td a {
    color: #7B5713;
    text-decoration: underline;
}

.outine-table .td-content,
.outine-relation-table .td-content {
    background-color: #fff;
    font-size: 16px;
    line-height: 1.8;
    padding: 20px 25px;
}

.outine-relation h3 {
    font-family: var(--serif);
    text-align: center;
    font-weight: normal;
    font-size: 23px;
    margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
    .outine-table table th,
    .outine-relation-table table th,
    .outine-table table td,
    .outine-relation-table table td {
        display: block;
        width: 100%;
    }
    .outine-table table,
    .outine-relation-table {
        background-color: #fff;
        display: block;
        padding: 6px 6px 0;
    }
    .outine-table .title-row-child,
    .outine-relation-table .title-row-child {
        background-color: transparent;
        border-bottom: none;
        width: 100%;
        padding: 20px 16px 10px;
        font-size: 15px;
    }
    .outine-table .title-row,
    .outine-relation-table .title-row {
        font-size: 15px;
        text-align: left;
        padding: 15px 20px;
        border-bottom: none;
        width: 100%;
    }
    .outine-table .content-row,
    .outine-relation-table .content-row {
        padding: 20px 16px;
        font-size: 15px;
    }
    .outine-table td,
    .outine-relation-table td {
        border-bottom: none!important;
        font-size: 16px;
    }
    .outine-table .td-content,
    .outine-relation-table .td-content {
        border-bottom: none!important;
        font-size: 16px;
        line-height: 1.8;
        padding: 20px 16px 20px;
    }
    .outine-table .td-content.address,
    .outine-relation-table .td-content.address {
        border-bottom: 1px solid #CBC6BF !important;
        padding: 0px 16px 20px;
    }
    .outine-table .td-content.address.last,
    .outine-relation-table .td-content.address.last {
        border-bottom: none!important;
    }
    .outine-relation h3 {
        font-family: var(--serif);
        text-align: center;
        font-weight: normal;
        font-size: 23px;
        margin-bottom: 40px;
    }
}

.p-company-outline-history {
    background-color: #EAE3D6;
    padding: 130px 0;
}

.p-company-outline-history-table table {
    position: relative;
    width: 878px;
    margin: 0 auto 110px;
    border-collapse: collapse;
    border-top: 1px solid #CBC6BF
}

.p-company-outline-history-table table::after {
    content: "";
    position: absolute;
    width: 1px;
    height: calc(100% + 40px);
    background-color: #524333;
    left: 33px;
    top: -20px;
    z-index: 2;
}

.p-company-outline-history-table tr {
    border-bottom: 1px solid #CBC6BF
}

.p-company-outline-history-table .title-row {
    font-weight: 500;
    color: #524333;
    font-size: 16px;
    padding: 30px 30px 30px 80px;
    width: 260px;
    border-bottom: none !important;
    letter-spacing: 0;
    vertical-align: top;
    box-sizing: border-box;
    position: relative;
}

.p-company-outline-history-table .title-row:before {
    content: "";
    position: absolute;
    top: 37px;
    left: 28px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: #524333;
    border: 2px solid #EAE3D6;
    z-index: 3;
}

.p-company-outline-history-table .history-month {
    width: auto;
    padding: 30px 30px 22px;
    vertical-align: top;
    border-bottom: none!important;
}

.p-company-outline-history-table .history-month dl {
    display: flex;
    gap: 20px;
    color: #262626 !important;
    font-size: 16px;
    letter-spacing: .05em;
    padding: 0;
    margin: 0 0 8px !important;
}

.p-company-outline-history-table .history-month dt {
    text-align: right;
    white-space: nowrap;
    font-weight: normal;
}

.p-company-outline-history-table .history-month dd {
    flex: 1;
}

@media screen and (max-width: 768px) {
    .p-company-outline-history {
        background-color: #EAE3D6;
        padding: 70px 0 42px;
    }
    .p-company-outline-history-table table {
        width: 100%;
        margin: 0 auto 64px;
        display: block;
    }
    .p-company-outline-history-table table::after {
        height: calc(100% + 28px);
        left: 14px;
        top: -14px;
    }
    .p-company-outline-history-table .title-row {
        font-size: 15px;
        padding: 24px 0px 14px 27px;
        width: 100%;
        display: block;
    }
    .p-company-outline-history-table .title-row:before {
        top: 31px;
        left: 9px;
    }
    .p-company-outline-history-table .history-month {
        display: block;
        padding: 0px 10px 16px 40px;
        width: 100%;
    }
    .p-company-outline-history-table .history-month dl {
        gap: 8px;
    }
}

.p-company-outline-history-special {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.p-company-outline-history-special .item {
    width: 260px;
    text-align: center;
}

.p-company-outline-history-special .item .img {
    margin-bottom: 15px;
}

.p-company-outline-history-special__title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
}

@media screen and (max-width: 768px) {
    .p-company-outline-history-special {
        display: block;
    }
    .p-company-outline-history-special .item {
        width: 100%;
        max-width: 221px;
        margin: 0 auto 28px;
    }
    .p-company-outline-history-special .item .img {
        margin-bottom: 15px;
    }
    .p-company-outline-history-special__title {
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 6px;
    }
}

.m-sekou-anchor {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto 130px;
    width: 100%;
    max-width: 800px;
    gap: 16px 8px;
}

.m-sekou-anchor li {
    width: 194px;
    height: 50px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.m-sekou-anchor li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #867258;
    background-color: #fff;
    border: 1px solid #867258;
    border-radius: 34px;
    font-weight: 500;
    width: 100%;
    height: 100%;
}

.m-sekou-anchor li a:hover {
    background-color: #867258;
    color: #fff;
}

.m-sekou-anchor li a i {
    position: absolute;
    right: 22px;
    top: 18px;
}

.p-sekou-loop {
    padding-bottom: 140px;
    max-width: 1000px;
    margin: 0 auto;
}

.p-sekou-loop .cemeteries-content {
    margin-bottom: 130px;
    background-color: rgba(255, 255, 255, .7);
    padding: 10px!important;
    position: relative;
}

.p-sekou-loop .cemeteries-content h2 {
    width: auto;
    height: 60px;
    line-height: 1;
    background-color: #726351;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    font-weight: normal;
    font-size: 26px;
    letter-spacing: 0.1em;
    padding: 0 36px;
    text-align: center;
    color: #fff!important;
}

.p-sekou-loop__inner {
    border: 1px solid #C4B7A3;
    padding: 30px 38px 90px;
}

.m-sekou-item {
    display: grid;
    gap: 45px;
    grid-template-columns: 374px 1fr;
    padding: 60px 56px 60px;
    border-bottom: 1px solid #CBC6BF;
}

.p-sekou-loop__items .m-sekou-item:last-child {
    border-bottom: none;
    padding-bottom: 80px;
}

.m-sekou-item__text {
    padding-top: 16px;
}

.m-sekou-item__title {
    margin-bottom: 30px;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-align: left;
    color: #403217;
}

.m-sekou-item__table {
    border: 1px solid #CBC6BF;
    margin-bottom: 26px;
}

.m-sekou-item__table th {
    border: none !important;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 0.08em;
    color: #403217;
    background-color: #F2EEE6;
    text-align: center;
    width: 95px;
    height: 56px;
}

.m-sekou-item__table td {
    border: none !important;
    padding: 16px 26px;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 0.08em;
    color: #403217;
}

.m-sekou-item__desc {
    margin: 0;
    font-size: 16px;
    letter-spacing: 0.05em;
    line-height: 1.7;
}

@media screen and (max-width: 768px) {
    .m-sekou-anchor {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 0 auto 68px;
        gap: 8px;
    }
    .m-sekou-anchor li {
        width: 100%;
        height: 40px;
    }
    .m-sekou-anchor li a {
        border-radius: 26px;
        letter-spacing: 0.05em;
    }
    .m-sekou-anchor li a i {
        right: 13px;
        top: 11px;
    }
    .p-sekou-loop {
        padding-bottom: 7px;
    }
    .p-sekou-loop .cemeteries-content {
        margin-bottom: 60px;
        padding: 6px!important;
    }
    .p-sekou-loop .cemeteries-content h2 {
        height: 44px;
        font-size: 22px;
        padding: 0 22px;
    }
    .p-sekou-loop__inner {
        padding: 15px 24px 55px;
    }
    .m-sekou-item {
        display: grid;
        gap: 24px;
        grid-template-columns: 1fr;
        padding: 40px 0 40px;
    }
    .p-sekou-loop__items .m-sekou-item:last-child {
        border-bottom: none;
        padding-bottom: 50px;
    }
    .m-sekou-item__image {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        overflow: hidden;
    }
    .m-sekou-item__text {
        padding-top: 0px;
    }
    .m-sekou-item__title {
        margin-bottom: 20px;
    }
    .m-sekou-item__table {
        margin-bottom: 16px;
    }
    .m-sekou-item__table th {
        font-size: 16px;
        width: 78px;
        height: auto;
    }
    .m-sekou-item__table td {
        padding: 10px 16px;
        font-size: 16px;
    }
    .m-sekou-item__desc {
        line-height: 1.6;
    }
    .m-back-link a {
        width: 100%;
        padding-left: 0!important;
        padding-right: 0!important;
    }
}