* {
    float: none;
    position: static;
    margin: 0;
    padding: 0;
}

div, p {
    margin: 0 auto;
}

.clear {
    clear: both;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

img {
    max-width: 100%;
    border: none;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    color: #333;
}
@media screen and (min-width: 520px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}

.mini90 {
    font-size: 90%;
}
.mini {
    font-size: 80%;
}

[data-ruby] {
    position: relative;
}
[data-ruby]::before {
    content: attr(data-ruby);
    position: absolute;
    top: -1em;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 35%;
    color: #bf2d83;
}
.cust2 [data-ruby]::before {
    color: #268c6a;
}
rt {
    display: none;
}

@media print, screen and (min-width: 960px) {
    .tablet-br,
    .tablet-sp-br,
    .tablet-sp-img,
    .tablet-sp-menuBestnet {
        display: none !important;
    }
}
@media screen and (max-width: 959px) {
    .pc-br,
    .pc-space,
    .nav1_1 {
        display: none !important;
    }
}
@media screen and (max-width: 519px) {
    .tablet-br,
    .pc-tablet-space,
    .pc-tablet-br,
    .societyTxt {
        display: none !important;
    }
}
@media screen and (min-width: 520px) {
    .sp-br,
    .sp-fix-tel {
        display: none !important;
    }
}

#PageTitle h2 {
    font-size: 190%;
    font-family: "Noto Serif JP";
    font-weight: 600;
    max-width: 1280px;
    background: url("../images/back_PageTitle.jpg") no-repeat 50% 50%;
    background-size: cover;
    margin: 0 auto 1rem;
    padding: 1rem 0;
    color: #bf2d83;
    border-bottom: 1px solid #bcbbbb;
}
@media screen and (max-width: 959px) {
    #PageTitle h2 {
        border-top: 1px solid #bcbbbb;
        margin: 0 auto 0.5rem;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    #PageTitle h2 {
        font-size: 155%;
    }
}
@media screen and (max-width: 519px) {
    #PageTitle h2 {
        font-size: 140%;
    }
}

.container {
    width: 99%;
    max-width: 1280px;
    line-height: 3;
}
@media print, screen and (min-width: 960px) {
    #fix .container {
        width: 95%;
        max-width: 1180px;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .container,
    .payment {
        line-height: 2.3;
    }
}
@media screen and (max-width: 519px) {
    .container {
        line-height: 2;
    }
}

/* body */
body {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}
@media screen and (max-width: 519px) {
    body {
        /* Android Chrome 40 upper */
        font-size: 1rem;
        line-height: 1.6;
    }
}

.BodyMain {
    background: #fff;
    font-family: "Noto Serif JP";
    -webkit-text-size-adjust: 100%;
}
@media print, screen and (min-width: 960px) {
    .BodyMain {
        margin: 0 auto 75px;
    }
}
@media screen and (max-width: 959px) {
    .BodyMain {
        margin: 0 auto 90px;
    }
}
.copyright {
    border-top: 1px dotted #bdbdbd;
    font-family: unset;
    font-weight: normal;
    padding-top: 1rem;
}
@media screen and (min-width: 520px) {
    .copyright {
        font-size: 0.75rem;
    }
}
@media screen and (max-width: 519px) {
    .copyright {
        font-size: 0.7rem;
    }
}

/* header & footer & menu */
header {
    background-image: linear-gradient(#f7ecf9,#fff);
}
#fix {
    background: rgba(255, 255, 255, 0.8);
}
#fix {
    padding: 9px 0;
}
@media print, screen and (min-width: 960px) {
    footer {
        background: #f0e3fd;
        padding-bottom: 1.5rem;
    }
}
#fix {
    border-top: 3px solid #996dc5;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1002;
}
header .clearfix {
    width: 99%;
    max-width: 1280px;
}
.header-logo {
    float: left;
    line-height: 0;
}
.menu,
.menu-contents {
    background: #fff;
}
@media screen and (max-width: 959px) {
    .menu,
    .menu-contents {
        background: #d7abe0;
    }
}

.tablet-sp-menubtn {
    background: #996dc5;
}
footer .linkB {
    padding-left: 1rem;
}
.pc-contact1,
.freedial {
    color: #666;
    font-size: 85%;
}
.pc-contact1 {
    width: 500px;
    font-weight: normal;
}
.pc-contact1 span,
.freedial span {
    color: #ac0236;
    font-size: 115%;
    margin-left: 0.7rem;
}
.pc-contact1 .phone {
    width: 48.5%;
    float: left;
    line-height: 1.2;
    letter-spacing: -0.08rem;
}
.pc-contact1 .phone:nth-child(2) {
    margin-left: 10px;
}
.pc-contact1 p {
    font-size: 90%;
    line-height: 1.2;
}
.pc-contact1 span {
    color: #bf2d83;
    padding-right: 5px;
}
.freedial {
    font-size: 140%;
    line-height: 1.3;
    padding: 0.7rem 0;
}
#fix .freedial {
    font-size: 100%;
    padding: 0;
}
@media screen and (min-width: 520px) and (max-width: 565px) {
    #fix .freedial {
        font-size: 90%;
    }
}
@media screen and (max-width: 519px) {
    .freedial {
        font-size: 120%;
    }
}
.pc-contact1 a,
.freedial a {
    color: #1c1c1c;
    font-weight: bold;
}
.freedial a {
    font-size: 130%;
}
.pc-contact1 img,
.freedial img {
    vertical-align: middle;
}
.freedial img {
    max-height: 35px;
    margin: -8px 9px 0 0;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .freedial img {
        max-height: 28px;
        margin: -7px 8px 0 0;
    }
}
@media screen and (max-width: 519px) {
    .freedial img {
        max-height: 22px;
        margin: -6px 5px 0 0;
    }
}
@media print, screen and (min-width: 960px) {
    header .clearfix {
        position: relative;
    }
    .header-logo,
    .pc-fix-logo {
        text-align: left;
    }
    .pc-fix-logo {
        margin: 0;
    }
    .pc-fix-logo {
        width: 45%;
    }
    .header-logo img,
    .pc-fix-logo img {
        max-height: 80px;
    }
    h1 a,
    .pc-fix-logo a {
        display: inline-block;
    }
    h1 a {
        height: 85px;
    }
    .pc-contact1 {
        position: absolute;
        right: 0;
    }
    .pc-contact1 {
        top: 8%;
    }
    .pc-contact1 a,
    #fix .freedial a {
        font-size: 1.7rem;
        line-height: 2rem;
    }
    .pc-contact1 img,
    #fix .freedial img {
        margin: -8px 3px 0 0;
        max-height: 25px;
    }
    .tablet-sp-link,
    .tablet-sp-menubtn,
    .tablet-sp-contact {
        display: none !important;
    }
    #fix .container div:first-child {
        margin: 0 auto 0 0;
    }
    #fix .container div:last-child {
        margin: 0 0 0 auto;
    }
}
@media screen and (max-width: 959px) {
    .pc-fix-logo,
    .pc-contact1,
    .pc-contact2,
    .pc-menu,
    .pc-menuBestnet {
        display: none !important;
    }
    .tablet-sp-contact {
        color: #fff;
        font-size: 2rem;
        font-weight: bold;
        text-align: center;
        padding-top: 20px;
    }
    .tablet-sp-contact a {
        color: #fff;
    }
    .tablet-sp-contact img {
        max-height: 25px;
        margin: -5px 8px 0 0;
        vertical-align: middle;
    }
}
@media screen and (max-width: 519px) {
    #fix .freedial {
        display: none !important;
    }
    footer {
        margin-top: 7px;
    }
}

.menu-inner {
    display: flex;
    align-items: center;
    height: 50px;
    position: relative;
}
.menu-inner,
.menu.active {
    z-index: 1003;
}
@media screen and (max-width: 959px) {
    .menu-link {
        color: #fff;
    }
}
@media print, screen and (min-width: 960px) {
    #menu {
      border-top: 1px solid #bdbdbd;
      border-bottom: 1px solid #bdbdbd;
    }
    .menu {
        max-width: 1280px;
        margin: 0 auto;
    }
    .menu-inner li {
        border-left: 1px solid #bdbdbd;
    }
.nav1_1 {
        position: fixed;
        bottom: 140px;
        right: 0;
        z-index: 5000;
    }
    .nav1_1 .menu-link {
        font-family: source-han-serif-japanese, serif;
        font-weight: bold;
        font-size: 1.15rem;
        letter-spacing: 0.07rem;
        color: #fff;
        text-shadow: none;
        line-height: 0.8;
    }
    .nav1_1 .menu-item2 {
        float: unset;
        height: auto;
        border-radius: 7px 0 0 7px;
        background: #bf2d83;
        writing-mode: vertical-rl;
        padding: 9px 13px;
        margin: 0 0.05rem 1.3rem;
    }
    .nav1_1 .menu-item2:nth-child(2) {
        background: #268c6a;
    }
    .nav1_1 .menu-item2:hover {
        opacity: 0.7;
        filter: alpha(opacity=70);
        -ms-filter: "alpha(opacity=70)";
    }
    .nav2 {
        border-right: 1px solid #bdbdbd;
    }
    .menu-contents li {
        border: none;
    }
    .menu-item1 {
        width: 20%;
        height: 100%;
        font-size: 1.1rem;
        text-align: center;
    }
    .menu-item1::after {
        content: "";
        position: absolute;
        top: 18px;
        transform: translateY(-50%);
        transition: all 0.2s ease-in-out;
        display: block;
        width: 8px;
        height: 8px;
        border-top: 2px solid #666;
        border-right: 2px solid #666;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
        margin-left: 7px;
    }
    .menu-link {
        display: block;
        height: 100%;
        line-height: 3;
    }
    .menu-link span {
        margin-left: 15px;
    }
    /* メガメニュー */
    .menu-contents {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        border-right: 1px solid #bcbbbb;
        border-bottom: 1px solid #bcbbbb;
        border-left: 1px solid #bcbbbb;
        width: 1238px;
    }
    .menu-contents ul {
        display: flex;
        justify-content: space-around;
    }
    .menu-contents ul li {
        height: 95px;
        margin: 0 5px;
    }
    .menu-contents ul li a {
        display: block;
        font-size: 0.9rem;
    }
    .pc-menu {
        display: flex;
        width: 98%;
        max-width: 1280px;
        padding: 1rem 0;
    }
    .pc-menu .serviceGroup {
        text-align: left;
        font-size: 0.95rem;
        line-height: 2;
        padding: 0.5rem;
    }
    .pc-menu .category {
        border-left: 4px solid #996dc5;
        font-size: 1.05rem;
        line-height: 1.5rem;
        margin-bottom: 0.5rem;
        padding-left: 0.5rem;
    }
    .pc-menu .emergency a {
        color: #c03;
    }
}
@media screen and (max-width: 959px) {
    .tablet-sp-header {
        width: 100%;
        max-width: 1280px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .tablet-sp-header-inner:before {
        content: "";
        width: 100%;
        background: linear-gradient(43.37deg, #4d4d4d 6.71%, #bcbbbb 101.43%);
        position: absolute;
        top: 0;
        left: 0;
        z-index: -100;
    }
    .tablet-sp-header-inner {
        width: 100%;
        height: 60px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .tablet-sp-menubtn {
        width: 60px;
        height: 100%;
        position: relative;
        display: block;
        z-index: 5000;
        border: none;
        cursor: pointer;
    }    
    .tablet-sp-menubtn span {
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-indent: 100%;
        width: 22px;
        height: 3px;
        background: #fff;
        position: absolute;
        transition: 0.2s;
        left: 50%;
        top: 50%;
    }    
    .tablet-sp-menubtn span:nth-child(1) {
        transform: translate(-50%, -9px);
    }    
    .tablet-sp-menubtn span:nth-child(2) {
        transform: translate(-50%, -50%);
    }    
    .tablet-sp-menubtn span:nth-child(3) {
        transform: translate(-50%, 6px);
    }    
    .tablet-sp-menubtn.active span {
        width: 27px;
        height: 3px;
        top: 45%;
    }    
    .tablet-sp-menubtn.active span:nth-child(1) {
        transform: translate(-50%, 50%) rotate(45deg);
    }    
    .tablet-sp-menubtn.active span:nth-child(2) {
        opacity: 0;
        left: 50%;
    }    
    .tablet-sp-menubtn.active span:nth-child(3) {
        transform: translate(-50%, 50%) rotate(-45deg);
    }
    .menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100% - 60px);
        text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.85);
        overflow: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity .6s ease, visibility .6s ease;
    }
    .menu.active {
        opacity: 100;
        visibility: visible;
    }
    .menu-inner {
        display: block;
        height: auto;
        margin: 0 auto;
    }    
    .menu-item1 {
        border-bottom: 1px solid #bdbdbd;
        width: 100%;
        position: relative;
    }
    .menu-item1::after {
        content: "";
        position: absolute;
        right: 16px;
        top: 30px;
        transform: translateY(-50%);
        transition: all 0.2s ease-in-out;
        display: block;
        width: 10px;
        height: 10px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    .menu-link {
        font-weight: bold;
        font-size: 1.15rem;
        letter-spacing: 0.04rem;
        height: 70px;
        display: flex;
        align-items: center;
        text-align: left;
        padding-left: 7px;
    }
    /* アコーディオン */
    .menu-contents {
        display: none;
        position: static;
        width: 100%;
        margin-bottom: 30px;
        padding: 0;
    }
    .menu-contents img {
        display: none !important;
    }
    .menu-contents ul {
        display: block;
    }
    .menu-contents ul li {
        width: 100%;
        height: auto;
        padding: 10px 0;
    }
    .menu-contents ul li a {
        width: 95%;
        color: #fff;
        display: block;
        text-align: left;
        line-height: 2;
        margin: 0 auto;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .header-logo img {
        height: 60px;
        vertical-align: middle;
    }
}
@media screen and (max-width: 519px) {
    .header-logo img {
        height: 45px;
    }
}
.pc-menuBestnet {
    width: max-content;
    display: flex;
    font-size: 0.95rem;
    padding-bottom: 1rem;
}
.pc-menuBestnet a {
    padding: 0 1.5rem;
}

ul {
    list-style-type: none;
}

.slickSlide {
    width: 100%;
}

.backP {
    background: #f7ecf9;
    padding: 2.7rem 0 3rem;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .backP {
        padding: 1.5rem 0 2rem;
    }
}
@media screen and (max-width: 519px) {
    .backP {
        padding: 1.3rem 0 1.8rem;
    }
}

/* section */
section {
    margin: auto;
}
section#first,
section#fee,
section#hall,
section#floral,
section#custInfo {
    padding: 0;
}
@media print, screen and (min-width: 960px) {
    section {
        padding: 30px 0;
    }
    section#funerals {
        margin: 60px 0 40px;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    section {
        padding: 20px 0;
    }
    section#funerals {
        margin: 50px 0 30px;
    }
}
@media screen and (max-width: 519px) {
    section {
        padding: 15px 0;
    }
    section#funerals {
        margin: 40px 0 30px;
    }
}
section p {
    text-align: left;
    margin: 1rem;
}

.txtC {
    text-align: center;
    margin: 1rem;
}

.waku {
    border: 1px solid #dcdcdc;
}

h2 {
    font-size: 170%;
    font-family: source-han-serif-japanese, serif;
    font-weight: bold;
}
@media screen and (max-width: 519px) {
    h2 {
        font-size: 150%;
    }
}
@media screen and (max-width: 959px) {
    .firstBox h2,
    .feeBox h2,
    .hallBox h2,
    .floralBox h2 {
        padding-top: 0.8rem;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    h2 {
        font-size: 140%;
    }
    .firstBox h2,
    .feeBox h2,
    .hallBox h2,
    .floralBox h2 {
        font-size: 130%;
    }
}
@media screen and (max-width: 519px) {
    h2 {
        font-size: 130%;
    }
    .firstBox h2,
    .feeBox h2,
    .hallBox h2,
    .floralBox h2 {
        font-size: 120%;
    }
}
h2.seo {
    font-family: unset;
    font-size: 80%;
    font-weight: normal;
    border-bottom: none;
    margin: 0 auto;
    text-align: center;
}
@media screen and (max-width: 959px) {
    h2.seo {
        font-size: 75%;
    }
}
@media screen and (min-width: 520px) {
    h2.seo {
        padding-top: 0.5rem;
    }
}
h3 {
    font-family: "Noto Serif JP";
    font-weight: normal;
    font-size: 165%;
}
#reason h3 {
    color: #bf2d83;
    font-size: 130%;
    letter-spacing: 0.05rem;
}

.btnLink a {
    width: fit-content;
    height: 50px;
    line-height: 50px;
    padding: 0 30px 0 20px;
    position: relative;
    display: block;
    color: #45403f;
    background-color: #f9f9f9;
    border: 1px solid #bdbdbd;
    -webkit-border-radius: 2px;
    border-radius: 0.5rem;
    text-align: left;
    transition: 1s;
}
#counsel .btnLink a {
    margin: 0 auto 1rem;
}
#custInfo .btnLink {
    margin-top: 1.3rem;
}
@media screen and (max-width: 519px) {
    #custInfo .btnLink {
        max-width: 400px;
        margin-top: 0.9rem;
    }
}
#custInfo .btnLink a,
#fix .btnLink a {
    height: 47px;
    line-height: 47px;
}
#custInfo .btnLink a {
    display: inline-block;
    margin: 0 1px;
    background: rgba(255, 255, 255, 0.4);
}
@media screen and (min-width: 520px) and (max-width: 565px) {
    #fix .btnLink a {
        height: 45px;
        line-height: 45px;
        padding: 0 25px 0 13px;
        font-size: 90%;
    }
}
@media screen and (max-width: 519px) {
    #custInfo .btnLink a {
        margin: 5px;
    }
}
.btnLink a::after {
    content: "";
    position: absolute;
    top: 21px;
    right: 15px;
    transform: translateY(-50%);
    transition: all 0.2s ease-in-out;
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #666;
    border-right: 2px solid #666;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
@media screen and (max-width: 519px) {
    .btnLink a::after {
        right: 12px;
    }
}
#custInfo .btnLink a::after {
    top: 18px;
    right: 10px;
}
#fix .btnLink a::after {
    top: 19px;
}
.btnLink a:hover {
    color: #fff;
    border-color: #996dc5;
    background: #996dc5 !important;
}
.btnLink a:hover::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

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

.arrow_r,
.arrow_l {
    position: relative;
}
.arrow_r:before,
.arrow_l:before {
    content: '';
    position: absolute;
    top: 46%;
    left: 4px;
    transform: rotate(45deg) translateY(-50%);
    width: 6px;
    height: 6px;
    border-width: 2px 2px 0 0;
    border-style: solid;
    border-color: #fff;
}
.arrow_l:before {
    left: -21px;
    border-color: #666;
}

.fadein {
    opacity : 0.1;
    transform : translate(0, 60px);
    transition : all 1000ms;
}
.fadein.scrollin {
    opacity : 1;
    transform : translate(0, 0);
}

.topBlock1,
.topBlock2 {
    width: 90%;
    max-width: 660px;
}
.topBlock1 {
    padding-top: 1.5rem;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .topBlock1 {
        padding-top: 1rem;
    }
}
.topBlock2 {
    padding-top: 2rem;

}

.sns img,
.counselTxt img {
    vertical-align: middle;
}
@media print, screen and (min-width: 960px) {
    .topSeo {
        margin: 0 auto 0 0;
    }
    .sns {
        margin: 10px 0 0 auto;
    }
    .sns img,
    .counselTxt img {
        width: 52px;
    }
    .sns .line,
    .counselTxt .line {
        width: 48px;
        margin: 0 0 2px 35px;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .sns img,
    .counselTxt img {
        width: 45px;
    }
    .sns .line,
    .counselTxt .line {
        width: 41px;
        margin: 0 0 1px 30px;
    }
}
@media screen and (max-width: 519px) {
    .sns img,
    .counselTxt img {
        width: 40px;
    }
    .sns .line,
    .counselTxt .line {
        width: 37px;
        margin: 0 0 1px 20px;
    }
}

.payment {
    font-size: 95%;
    margin: 2rem auto 0;
}
@media screen and (max-width: 959px) {
    .payment {
        font-size: 90%;
        margin: 1.5rem auto 0;
    }
}
#custInfo .payment {
    margin: 2rem auto 3rem;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    #custInfo .payment {
        margin: 1.5rem auto 2.7rem;
    }
}
@media screen and (max-width: 519px) {
    #custInfo .payment {
        margin: 1.5rem auto 2.3rem;
    }
}
.payment img {
    height: 35px;
    vertical-align: middle;
    margin: 15px 0 0;
}
@media screen and (max-width: 519px) {
    .payment img {
        height: 28px;
    }
}
.payment img.cashless {
    margin-right: 7px;
}
.payment img.master {
    margin: 15px 4px 0 13px;
}
.payment img.discover {
    margin-left: 7px;
}
.payment img.unionpay {
    margin: 15px 10px 0;
}
.payment img.id {
    margin: 15px 12px 0;
}
.payment .payment1 img {
    height: 45px;
    margin: 12px 7px;
}
.payment .payment1 img.paypay {
    height: 55px;
    margin: 10px 0;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .payment .payment1 img.paypay {
        margin: 7px 0;
    }
}
.payment .payment1 img.rpay,
.payment .payment1 img.aupay {
    height: 30px;
}
.payment .payment1 img.rpay {
    margin: 10px 5px;
}
.payment .payment1 img.aupay {
    margin: 10px 0;
}
.payment img.alipay {
    height: 43px;
    margin: 5px 0 0 0;
}
@media screen and (max-width: 959px) {
    .payment .payment1 img.jcoin,
    .payment .payment1 img.smartcode,
    .payment .payment1 img.wechatpay {
        margin: -3px 7px 12px;
    }
}
@media screen and (max-width: 519px) {
    .payment .payment1 img {
        height: 37px;
        margin: 10px 7px;
    }
    .payment .payment1 img.paypay {
        height: 47px;
        margin: 7px 0 5px;
    }
    .payment .payment1 img.rpay,
    .payment .payment1 img.aupay {
        height: 25px;
    }
    .payment img.alipay {
        height: 30px;
        margin: 3px 0 0 0;
    }
}
.payment .payment2 img {
    height: 45px;
    margin: 15px 6px 0;
}
.payment .payment2 img.kitaca {
    height: 50px;
}
.payment .payment2 img.coinplus {
    margin: 15px 0 0 4px;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .payment .payment2 img.sugoca,
    .payment .payment2 img.nimoca,
    .payment .payment2 img.hayakaken,
    .payment .payment2 img.coinplus {
        margin: 2px 6px 3px;
    }
}
@media screen and (max-width: 519px) {
    .payment .payment2 img {
        height: 37px;
        margin: 15px 4px 0;
    }
    .payment .payment2 img.kitaca {
        height: 42px;
    }
    .payment .payment2 img.icoca,
    .payment .payment2 img.sugoca,
    .payment .payment2 img.nimoca,
    .payment .payment2 img.hayakaken,
    .payment .payment2 img.coinplus {
        margin: 9px 4px 0;
    }
    .payment .payment2 img.coinplus {
        margin: 9px 0 0 0;
    }
}

.philosophy {
    position: relative;
}
.philosophy div {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.philosophy div p {
    text-align: center;
    font-size: 1.2rem;
    margin: 0;
    line-height: 3;
}
@media screen and (max-width: 959px) {
    .philosophy div p {
        font-size: 1.1rem;
        line-height: 2.2;
        padding: 10px 0;
    }
}
@media screen and (max-width: 519px) {
    .philosophy div p {
        font-size: 0.85rem;
        line-height: 2;
        padding: 5px 0;
    }
    .philosophy div p:last-child {
        width: 90%;
        text-align: left;
        margin: 0 auto;
    }
}
.philosophy div p:first-child {
    line-height: 2;
}
@media screen and (max-width: 519px) {
    .philosophy div p:first-child {
        line-height: 1.5;
    }
}
.philosophy div p:first-child,
.circle h3 {
    font-family: source-han-serif-japanese, serif;
    font-size: 1.75rem;
    font-weight: bold;
    color: #bf2d83;
    text-shadow: 1px 2px 2px rgba(255, 255, 255, 0.95);
}

@media screen and (min-width: 520px) and (max-width: 959px) {
    .philosophy div p:first-child,
    .circle h3 {
        font-size: 1.4rem;
    }
}
@media screen and (max-width: 519px) {
    .philosophy div p:first-child,
    .circle h3 {
        font-size: 1.2rem;
    }
}

.obiPic {
    max-width: 1280px;
    margin: 3.5rem 0 2rem;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .obiPic {
        margin: 3rem 0 2rem;
    }
}
@media screen and (max-width: 519px) {
    .obiPic {
        margin: 2.5rem 0 1.5rem;
    }
    #counsel .obiPic {
        margin: 2.4rem 0 0.9rem;
    }
}
.obiPic img {
    width: 33.33%;
}
.obiPic img:first-child {
    border-radius: 0.5rem 0 0 0.5rem;
}
.obiPic img:last-child {
    border-radius: 0 0.5rem 0.5rem 0;
}

.circle {
    margin: 0.5rem auto 1rem;
}
@media screen and (max-width: 519px) {
    .circle {
        margin: 0.7rem auto;
    }
}
.circle div {
    background-image: url("../images/back_circle.png");
    width: 360px;
    height: 300px;
    margin: 0.3rem auto 0;
    padding: 0;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .circle div {
        margin: 0;
    }
}
@media screen and (max-width: 519px) {
    .circle div {
        background-size: contain;
        width: 300px;
        height: 250px;
    }
}
@media screen and (max-width: 727px) {
    .circle div:nth-child(2) {
        margin: 1rem 0;
    }
}
@media screen and (max-width: 519px) {
    .circle div:first-child,
    .circle div:last-child {
        margin: 0;
    }
}
.circle p {
    text-align: center;
    font-size: 90%;
}
@media print, screen and (min-width: 960px) {
    .circle h3 {
        font-size: 130%;
        line-height: 1.9;
        margin-top: 6rem;
    }
    .circle div:first-child h3 {
        margin-top: 4.5rem;
    }
}
@media screen and (max-width: 959px) {
    .circle h3 {
        line-height: 1.4;
    }
}
@media screen and (min-width: 520px) {
    .circle p {
        line-height: 1.9;
        margin: 1rem 0 0;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .circle h3 {
        margin-top: 6.2rem;
    }
    .circle div:first-child h3 {
        margin-top: 5.1rem ;
    }
}
@media screen and (max-width: 519px) {
    .circle h3 {
        margin-top: 5.3rem;
    }
    .circle div:first-child h3 {
        margin-top: 4.5rem;
    }
    .circle p {
        line-height: 1.8;
        margin: 10px 0 0;
    }
}

video.topVideo {
    width: 100%;
    height: 100%;
    max-width: 1280px;
    max-height: 600px;
    object-fit: cover;
}

#event {
    width: 95%;
    max-width: 1200px;
    height: 230px;
    overflow: auto;
    text-align: left;
    margin: 0.3rem auto 1.3rem;
}
#event .flex {
    border-bottom: 1px solid #dcdcdc;
}
#event .flex:last-child {
    border: none;
}
.eventDate {
    width: 25%;
    padding: 1rem;
    display: flex;
}
.eventDate p {
    color: #c00;
    font-size: 0.8rem;
    margin: 0.5rem 0 0 0.5rem;
}
.eventDetails {
    width: 67.5%;
    padding: 1rem;
}
@media screen and (max-width: 959px) {
    .eventDate,
    .eventDetails {
        width: 100%;
    }
    .eventDetails {
        padding: 0 1rem;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .eventDate p {
        margin: 0.4rem 0 0 0.5rem;
    }
}
@media screen and (max-width: 519px) {
    .eventDate p {
        margin: 0.2rem 0 0 0.5rem;
    }
}

#fee,
#floral {
    border-top: 1px solid #fff;
}
#fee {
    border-bottom: 1px solid #fff;
}
.firstBox,
.hallBox {
    background: #996dc5;
}
.feeBox,
.floralBox {
    background: #888;
}
.firstBox,
.feeBox,
.hallBox,
.floralBox {
    font-family: source-han-serif-japanese, serif;
}
.firstBox a,
.feeBox a,
.hallBox a,
.floralBox a {
    color: #fff;
}
#first h2,
#fee h2,
#hall h2,
#floral h2 {
    color: #fff;
}
@media print, screen and (min-width: 960px) {
    .txtBox {
        max-width: 960px;
    }
    #first,
    #fee,
    #hall,
    #floral {
        position: relative;
        height: 500px;
    }
    .visual {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    #first .img,
    #fee .img,
    #hall .img,
    #floral .img {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        height: 500px;
        border-radius: 0.5rem;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1;
    }
    #first .img {
        background-image: url("../images/back_first-pc.jpg");
    }
    #fee .img {
        background-image: url("../images/back_fee-pc.jpg");
    }
    #hall .img {
        background-image: url("../images/back_hall-pc.jpg");
    }
    #floral .img {
        background-image: url("../images/back_floral-pc.jpg");
    }
    #first h2,
    #fee h2,
    #hall h2,
    #floral h2 {
        position: absolute;
        content: "";
        top: 40px;
        left: 17px;
        font-size: 137%;
        border-bottom: 1px solid #fff;
    }
    #first h2 {
        letter-spacing: -0.07rem;
    }
    .firstBox,
    .feeBox,
    .hallBox,
    .floralBox {
        position: relative;
        z-index: 2;
        margin: 0 0 0 10%;
        width: 200px;
        height: 100%;
        padding: 0 0 0 1.5rem;
        text-align: left;
        display: flex;
    }
    .firstBox p,
    .feeBox p,
    .hallBox p,
    .floralBox p {
        font-size: 100%;
        position: absolute;
        content: "";
        top: 40px;
        right: 100px;
        z-index: 1;
    }
    .hallBox p {
        line-height: 1.4;
    }
    .firstBox ul,
    .feeBox ul,
    .hallBox ul,
    .floralBox ul {
        -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        line-height: 2.3;
        font-size: 100%;
        position: absolute;
        content: "";
        z-index: 1;
        bottom: 55px;
        right: 10px;
    }
}
@media screen and (max-width: 959px) {
    .firstBox ul,
    .feeBox ul,
    .hallBox ul,
    .floralBox ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: justify;
        margin: 0 auto;
        padding: 0 0 1rem;
    }
    .hallBox ul {
        width: 220px;
    }
    .firstBox ul li,
    .feeBox ul li,
    .hallBox ul,
    .floralBox ul {
        line-height: 2.5;
    }
    .feeBox ul li:first-child {
        width: 55%;
    }
    .feeBox ul li:last-child {
        width: 43%;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .firstBox ul,
    .feeBox ul,
    .hallBox ul,
    .floralBox ul {
        width: 370px;
    }
    .firstBox ul li {
        width: 53%;
    }
    .firstBox ul li:nth-child(odd) {
        width: 45%;
    }
    .hallBox ul li {
        width: 60%;
    }
}
@media screen and (max-width: 519px) {
    .firstBox ul,
    .feeBox ul,
    .floralBox ul {
        width: 300px;
    }
    .hallBox ul {
        width: 200px;
    }
    .firstBox ul li {
        width: 54%;
    }
    .firstBox ul li:nth-child(odd) {
        width: 44%;
    }
    .hallBox ul li {
        width: 98%;
    }
}
@media screen and (max-width: 959px) {
    .firstBox ul li:last-child {
        width: 98%;
    }
}

.service ul {
    display: flex;
    margin: 2rem auto 1.3rem;
}
@media screen and (max-width: 959px) {
    .service ul {
        margin: 0 auto;
    }
}
@media print, screen and (min-width: 960px) {
    #goods .service ul {
        margin: 2rem auto 1rem;
    }
}
.service ul li {
    margin: 0 auto;
}
.service ul li img {
    width: 99%;
    max-width: 350px;
}
@media screen and (max-width: 959px) {
    .service ul {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .service ul li {
        margin: 1rem auto;
    }
}
@media screen and (max-width: 519px) {
    .service ul li img {
        max-width: 300px;
    }
}
.service ul li a {
    color: #fff;
}
.service ul li div {
    position: relative;
    display: inline-block;
}
.service ul li img {
    border-radius: 0.5rem;
    object-fit: cover;
    display: block;
}
.service ul li p {
    position: absolute;
    content: "";
    top: 85%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: rgba(98, 98, 98, 0.9);
    width: 97%;
    display: flex;
    font-family: source-han-serif-japanese, serif;
    font-weight: bold;
    line-height: 1.8;
    justify-content: center;
    align-items: center;
    margin: 0;
    border-radius: 5px;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    #after .service:last-child ul li:first-child p {
        font-size: 95%;
        letter-spacing: -0.03rem;
    }
}

.counsel {
    display: flex;
    align-items: center;
    flex-wrap: unset;
    justify-content: space-around;
}
@media screen and (max-width: 959px) {
    .counsel {
    display: contents;
    }
}
.counselTxt {
    width: 38%;
    text-align: justify;
    margin: 0 1.5rem;
}
.counselImg {
    width: 30%;
}
.counselImg img {
    border-radius: 0.5rem;
}
@media screen and (max-width: 959px) {
    .counselTxt {
        width: 98%;
        margin: 0 auto;
    }
}
@media screen and (max-width: 959px) {
    .counselImg {
        width: 98%;
        max-width: 350px;
        padding-top: 1.2rem;
    }
}
@media screen and (max-width: 519px) {
    .counselImg {
        width: 88.1%;
    }
}

/* custInfo */
.cust1,
.cust2 {
    width: 49.8%;
    max-width: 630px;
    height: 410px;
}
@media print, screen and (min-width: 960px) {
    .cust1 {
        background-image: url("../images/back_cust1-pc-sp.jpg");
    }
    .cust2 {
        background-image: url("../images/back_cust2-pc-sp.jpg");
    }
}
@media screen and (max-width: 959px) {
    .cust1,
    .cust2 {
        width: 100%;
        max-width: 959px;
    }
    .cust2 {
        border-top: 1px solid #dcdcdc;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .cust1 {
        background-image: url("../images/back_cust1-tb.jpg");
    }
    .cust2 {
        background-image: url("../images/back_cust2-tb.jpg");
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .cust1,
    .cust2 {
        height: 370px;
    }
}
@media screen and (max-width: 519px) {
    .cust1,
    .cust2 {
        height: 400px;
        line-height: 2;
    }
    .cust1 {
        background-image: url("../images/back_cust1-pc-sp.jpg");
    }
    .cust2 {
        background-image: url("../images/back_cust2-pc-sp.jpg");
    }
}

.custPad1 {
    padding-top: 2.9rem;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .custPad1 {
        padding-top: 1.5rem;
    }
}
.custName {
    font-size: 155%;
    font-family: source-han-serif-japanese, serif;
    line-height: 2;
}
@media screen and (max-width: 519px) {
    .custPad1 {
        padding-top: 1rem;
    }
    .custName {
        font-size: 125%;
    }
    .custAddress {
        width: 280px;
        text-align: left;
    }
}

.floralTxt {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    text-align: justify;
    margin: 0 3rem 1.5rem;
}
.floralTxt::after {
    content: "";
    display: block;
    clear: both;
}
.floralTxt img {
    margin: 0 0 0 4rem;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .floralTxt {
        display: block;
        margin: 1rem 1.25rem;
    }
    .floralTxt img {
        float: right;
        width: 200px;
        margin: 5px 0 5px 2.5rem;
    }
}
@media screen and (max-width: 519px) {
    .floralTxt {
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 1rem;
    }
    .floralTxt img {
        width: 200px;
        margin: 0 0 1rem;
    }
}
.floralHall {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.floralHall dl {
    width: 43%;
    background: rgba(247, 236, 249, 0.7);
    margin: 30px 0;
    padding: 20px 30px 40px;
    border-radius: 1rem;
}
@media screen and (max-width: 519px) {
    .floralHall dl {
        padding: 10px 20px 30px;
    }
}
.floralHall dt {
    font-weight: normal;
    font-size: 155%;
    font-family: source-han-serif-japanese, serif;
    line-height: 2;
}
.floralHall .photo img {
    border-radius: 0.5rem;
    margin: 1.2rem auto 2.5rem;
}
.floralHall .btnLink a {
    margin: 0 auto;
}
@media screen and (max-width: 959px) {
    .floralHall {
        justify-content: center;
    }
    .floralHall dl {
        margin: 20px 0;
    }
    .floralHall .address {
        font-size: 90%;
    }
    .floralHall .photo img {
        margin: 20px 0 30px;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .floralHall dl {
        width: 65%;
    }
}
@media screen and (max-width: 519px) {
    .floralHall dl {
        width: 80%;
    }
}

/* page-top */
#page-top {
    position: fixed;
    z-index: 100;
    bottom: 105px;
    right: 8px;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    #page-top {
        bottom: 90px;
        right: 5px;
    }
}
@media screen and (max-width: 519px) {
    #page-top {
        bottom: 98px;
        right: 5px;
    }
}
#page-top a {
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    position: relative;
    letter-spacing: 2px;
    display: block;
    width: 40px;
    height: 40px;
    background: #996dc5;
    border-radius: 50%;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    #page-top a {
        width: 44px;
        height: 44px;
    }
}
@media screen and (max-width: 519px) {
    #page-top a {
        width: 40px;
        height: 40px;
    }
}
#page-top a::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -6px;
    margin-top: -4px;
    top: 50%;
    width: 11px;
    height: 11px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    #page-top a::after {
        width: 10px;
        height: 10px;
        margin-left: -6px;
        margin-top: -4px;
    }
}
@media screen and (max-width: 519px) {
    #page-top a::after {
        width: 8px;
        height: 8px;
        margin-left: -5px;
        margin-top: -3px;
    }
}

/* 訃報 */
.funerals {
    max-width: 900px;
    line-height: 2.3;
    letter-spacing: 0.1em;
    padding: 5px 0;
    margin: 10px auto;
    border-bottom: 1px dotted #dcdcdc;
}
.funeralDescription {
    text-align: center;
    margin: 0 0 1rem;
}
.funeralTxt {
    text-align: center;
    font-size: 90%;
    margin-top: 2rem;
}