* {
    float: none;
    position: static;
    margin: 0;
    padding: 0;
}
div, p {
    margin: 0 auto;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
img {
    max-width: 100%;
    border: none;
    vertical-align: bottom;
}
.flip-horizontal {
    transform: scale(-1, 1);
}
a {
    text-decoration: none;
    color: #333;
}
@media screen and (min-width: 520px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}
.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.aiC {
    align-items: center;
}
@media print, screen and (min-width: 960px) {
    .sp-fix-tel,
    .tablet-sp-menuBestnet,
    .sp-br {
        display: none !important;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .sp-fix-tel,
    .pc-contact1,
    .pc-menu,
    .pc-fix-logo,
    .pc-br,
    .sp-br {
        display: none !important;
    }
}
@media screen and (max-width: 519px) {
    .pc-menu,
    .pc-fix-logo,
    .pc-br,
    .pc-tablet-space,
    .pc-contact1 {
        display: none !important;
    }
}
.mini {
    font-size: 80%;
}
.txtL,
.txtR,
.txtCL,
.txtC {
    margin: 1rem;
    line-height: 2.4;
}
.txtL,
.txtR {
    text-align: justify;
}
@media screen and (max-width: 959px) {
    .txtCL {
        text-align: left;
    }
    .imgTxt .txtL,
    .imgTxt .txtR {
        margin: 1rem;
    }
}
.imgBox {
    text-align: center;
}
.imgBox img {
    border: 1px solid #dcdcdc;
}
@media print, screen and (min-width: 960px) {
    .imgTxt {
        display: flex;
        justify-content: space-around;
        margin: 2rem 1rem 1rem;
    }
    .imgTxt > div {
        margin: 0;
    }
    .imgBox img {
        max-width: 360px;
    }
    .imgTxt .txtL {
        margin: 0 2rem 0 1rem;
    }
    .imgTxt .txtR {
        margin: 0 1rem 0 2rem;
    }
}
@media screen and (max-width: 959px) {
    .imgTxt {
        display: block;
        margin: 2rem .5rem 0;
    }
    .imgTxt .txtR {
        text-align: justify;
    }
    .imgBox img {
        max-width: 350px;
        width: 90%;
    }
}

.btnLink {
    text-align: center;
}
.btnLink a {
    margin: 1rem;
    padding: 2px 10px;
    color: #d196b7;
    text-align: center;
    background-color: #fbf1f7;
    border-radius: 3rem;
    line-height: 1.8;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in-out;
    width: 180px;
    border: 1px solid #d196b7;
}
.btnLink a:after {
    content: "";
    position: absolute;
    top: 49%;
    bottom: 0;
    right: 18px;
    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}
.btnLink a:hover {
    background-color: #d196b7;
    color: #fff;
}
.btnLink a:hover:after {
    right: 1.4rem;
}
.fix-link .btnLink {
    margin: 0 5px;
}
@media print, screen and (min-width: 960px) {
    .fix-link {
        width: 200px;
    }
    .fix-link .btnLink a {
        font-size: 90%;
        width: 150px;
        margin: 5px auto 0;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .fix-link .btnLink a {
        font-size: 85%;
        margin: 10px;
    }
}
ul li {
    list-style-type: none;
}

/* body */
body {
    text-align: center;
    font-size: 1.1rem;
    line-height: 2;
}
@media screen and (max-width: 519px) {
    body {
        font-size: 1rem;
        line-height: 1.6;
    }
}
.BodyMain {
    background-color: #fff;
    color: #333;
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",HiraKakuPro-W3,"メイリオ",Meiryo,verdana,sans-serif;
    -webkit-text-size-adjust: 100%;
}
@media print, screen and (min-width: 960px) {
    .BodyMain {
        margin: 0 auto 90px;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .BodyMain {
        margin: 0 auto 113px;
    }
}
@media screen and (max-width: 519px) {
    .BodyMain {
        margin: 0 auto 77px;
    }
}

/* section */
section {
    padding: 3rem 0 4rem;
}
.backC {
    background-color: #fff5f5;
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.35);
}
@media print, screen and (min-width: 960px) {
    .container {
        width: 99%;
        max-width: 1280px;
    }
    footer .container {
        padding: 2rem 0;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    section {
        padding: 20px 0;
    }
}
@media screen and (max-width: 519px) {
    section {
        padding: 15px 0;
    }
    .container {
        width: 98%;
    }
    #fix .container {
        width: 100%;
    }
}
@media screen and (max-width: 959px) {
    section {
        width: 95%;
        margin: 0 auto;
    }
}
section::after {
    content: "";
    display: block;
    clear: both;
}
.copyright,
.copyright a {
    padding: 3px 0;
    margin: 0;
    color: #d196b7;
    font-weight: normal;
}
.copyright {
    background-color: #fbf1f7;
    font-size: 75%;
}

/* header & footer & menu */
footer {
    background: linear-gradient(#fbf1f7 0, #fff 10%);
}
@media screen and (max-width: 959px) {
    footer {
        padding-top: 2rem;
    }
}
#fix {
    background-color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid #d196b7;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1002;
}
@media screen and (max-width: 519px) {
    #fix {
        border-top: 1px solid #fff;
    }
}
header .clearfix {
    width: 98%;
    max-width: 1280px;
}
.menu,
.menu-contents,
.tablet-sp-menubtn {
    background-color: #d196b7;
}
.pc-contact1 a,
.pc-tablet-fix-tel a,
.infoTel a {
    color: #d196b7;
    font-weight: bold;
}
.pc-contact1 img,
.pc-tablet-fix-tel img,
.infoTel img {
    vertical-align: middle;
    margin: -5px 10px 0 0;
    height: 25px;
    border-radius: 3px;
}
.tablet-sp-menuBestnet,
.tablet-sp-menuBestnet .menu-contents {
    background-color: #ebebeb;
}
.infoTel a {
    font-size: 2.2rem;
    line-height: 1.4;
}
@media print, screen and (min-width: 960px) {
    header .clearfix {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    .header-logo {
        width: 35%;
        text-align: left;
    }
    .pc-fix-logo,
    .pc-tablet-fix-tel {
        margin: 0;
        padding: 5px 0 0;
    }
    .pc-fix-logo {
        width: 35%;
        text-align: left;
    }
    .header-logo img,
    .pc-fix-logo img {
        max-height: 80px;
        margin: 5px 0;
    }
    .pc-contact1,
    .pc-tablet-fix-tel {
        line-height: 1.2;
    }
    .pc-contact1 {
        color: #333;
        position: absolute;
        content: '';
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }
    .pc-contact1 a,
    .pc-tablet-fix-tel a {
        font-size: 2.2rem;
    }
    .header-link {
        position: absolute;
        content: '';
        left: 38%;
    }
    .iconEmr {
        width: 25px;
        margin: 0 10px 0 -25px;
    }
    .tablet-sp-menubtn {
        display: none !important;
    }
}
p.txt1 {
    font-size: 90%;
    line-height: 1.8;
}
@media screen and (max-width: 959px) {
    .pc-tablet-fix-tel {
        letter-spacing: .1em;
    }
    .pc-contact1 a,
    .pc-tablet-fix-tel a,
    .infoTel a {
        font-size: 2.3rem;
    }
    .tablet-sp-menuBestnet {
        background-color: #efcee1;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    footer {
        margin: 15px 0 0;
    }
    .pc-tablet-fix-tel {
        width: auto;
        margin: 0;
        padding-right: 2%;
        line-height: 1.2;
    }
    .pc-tablet-fix-tel img {
        margin: -9px 10px 0 0;
    }
    .pc-tablet-fix-tel a {
        font-size: 180%;
    }
    p.txt1 {
        font-size: 80%;
        line-height: 1.6;
    }
}
@media screen and (max-width: 519px) {
    .pc-tablet-fix-tel,
    .fix-link {
        display: none !important;
    }
    .bottomTel,
    .bottomInq,
    .bottomEst {
        margin: 0;
        padding: 8px 0 0;
        width: calc(100% / 3);
    }
    .bottomTel {
        background-color: #d196b7;
    }
    .bottomInq {
        background-color: #a4d196;
    }
    .bottomEst {
        background-color: #aa96d1;
    }
    .sp-fix-tel {
        width: 100%;
    }
    .sp-fix-tel.flex {
        flex-wrap: nowrap;
    }
    .sp-fix-tel img {
        height: 40px;
        margin: -3px 5px 0 0;
        vertical-align: middle;
    }
    .sp-fix-tel p.txt1 {
        width: fit-content;
        border-radius: 4px;
        padding: 0 3px;
        margin: 3px auto;
        font-size: 85%;
    }
    .sp-fix-tel .bottomTel p.txt1 {
        background-color: #efcee1;
    }
    .sp-fix-tel .bottomInq p.txt1 {
        background-color: #cef1c3;
    }
    .sp-fix-tel .bottomEst p.txt1 {
        background-color: #cdbeeb;
    }
}
.menu-inner {
    display: flex;
    align-items: center;
    height: 40px;
    position: relative;
}
.menu-inner,
.menu.active {
    z-index: 1003;
}
.menu-link {
    color: #fff;
    text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.85);
}
.menu-item2 .menu-link {
    color: #fff;
}
.menu-item2 img {
    width: 35px;
    margin: 0 auto 10px;
}
@media print, screen and (min-width: 960px) {
    .menu {
        max-width: 100%;
    }
    .menu-inner li {
        border-left: 1px solid #bcbbbb;
    }
    .menu-inner li:nth-child(1) {
        border: none;
    }
    .menu-inner li:nth-child(5) {
        border-right: 1px solid #eee;
    }
    .menu-contents li {
        border: none;
    }
    .nav1_1 {
        position: fixed;
        bottom: 140px;
        right: 0;
        z-index: 5000;
    }
    .nav1_1 .menu-item2 {
        width: 45px;
        height: auto;
        border-radius: 0.3rem 0 0 0.3rem;
        border-left: 1px solid #cc5a73;
        border-top: 1px solid #cc5a73;
        border-bottom: 1px solid #cc5a73;
        background: rgba(255, 230, 235, 1.0);
        writing-mode: vertical-rl;
        padding: 1rem 0;
        margin: 0 0 1rem;
    }
    .nav1_1 .menu-item2:nth-child(2) {
        background: #ecf9ed !important;
    }
    .nav1_1 .menu-link {
        font-weight: bold;
        font-size: 1.15rem;
        letter-spacing: 0.07rem;
        color: #cc5a73;
        text-shadow: 1px 2px 2px rgba(255, 255, 255, 0.5);
    }
    .nav1_1 .menu-item2.floral a {
        color: #4db5a1;
    }
    .nav1_1 .menu-item2.floral {
        border-left: 1px solid #4db5a1;
        border-top: 1px solid #4db5a1;
        border-bottom: 1px solid #4db5a1;
    }
    .nav1_1 .menu-item2:hover {
        opacity: 0.7;
        filter: alpha(opacity=70);
        -ms-filter: "alpha(opacity=70)";
    }
    .nav2 {
        max-width: 1280px;
        margin: 0 auto;
    }
    .menu-item1 {
        width: 24.9%;
        height: 100%;
    }
    .menu-item1:hover {
        background-color: #f4e4ed;
    }
    .menu-item1::after {
        content: "";
        position: absolute;
        top: 13px;
        transform: translateY(-50%);
        transition: all 0.2s ease-in-out;
        display: block;
        width: 8px;
        height: 8px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
        margin-left: 7px;
    }
    .menu-link {
        display: block;
        height: 100%;
        line-height: 2.4;
    }
    .menu-link span {
        margin-left: 15px;
    }
    /* メガメニュー */
    .menu-contents {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: calc(100% - 40px);
        padding: 20px;
        background: #f4e4ed;
    }
    .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;
        color: #d196b7;
        font-size: 0.9rem;
    }
    .menu-contents ul li img {
        width: 120px;
        height: 80px;
        object-fit: cover;
    }
    .pc-menu {
        display: flex;
        width: 98%;
        max-width: 1280px;
        padding: 2rem 0 1.5rem;
        border-top: 1px solid #dcdcdc;
    }
    .pc-menu .serviceGroup {
        text-align: left;
        font-size: 0.95rem;
        line-height: 2;
        padding: 0.5rem;
    }
    .pc-menu .category {
        border-left: 4px solid #d196b7;
        font-size: 1.05rem;
        line-height: 1.5rem;
        margin-bottom: 0.5rem;
        padding-left: 0.5rem;
    }
    .pc-menu .emergency a {
        color: #c03;
    }
    .pc-menuBestnet {
        display: flex;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
        background-color: #fff;
        padding: 5px 0;
        border-top: 1px dotted #d196b7;
        border-bottom: 1px dotted #d196b7;
    }
    .pc-menuBestnet a {
        padding: 0 1.5rem;
    }
}
@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;
        text-align: left;
    }
    .header-logo img {
        height: 60px;
        vertical-align: middle;
    }
    .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-color: #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);
        color: #fff;
        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,
    .menu-item2 {
        border-bottom: 1px solid #bcbbbb;
        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-size: 1.15rem;
        letter-spacing: 0.04rem;
        height: 70px;
        display: flex;
        align-items: center;
        text-align: left;
        padding-left: 7px;
    }
    /* アコーディオン */
    .menu-contents {
        background-color: #fff5f5;
        display: none;
        position: static;
        width: 100%;
        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: #d196b7;
        display: block;
        text-align: left;
        line-height: 2;
        margin: 0 auto;
        text-shadow: none;
    }
    .nav1_1 {
        background-color: #ccc;
    }
    .menu-item2 img {
        margin: 0;
    }
}
@media screen and (max-width: 519px) {
    .nav1_1 .menu-item2 {
        justify-content: flex-start;
        padding-left: 10px;
    }
}
/* page-top */
#page-top {
    position: fixed;
    z-index: 100;
    bottom: 100px;
    right: 8px;
}
#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-color: #d196b7;
    border-radius: 50%;
}
#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 {
        bottom: 115px;
    }
}
@media screen and (max-width: 519px) {
    #page-top {
        bottom: 83px;
    }
    #page-top a::after {
        width: 8px;
        height: 8px;
        margin-left: -5px;
        margin-top: -3px;
    }
}

h1, h2, h3 {
    margin: 0;
    padding: 0;
}
h2.copy {
    font-size: 2rem;
    color: #d196b7;
    line-height: 1.6;
    background: url("../images/back_midashi.png") center / 20% no-repeat;
    margin: 0 auto;
    padding: 1.5rem 0;
}
h2.copy span {
    font-size: 70%;
}
@media print, screen and (min-width: 960px) {
    h2.copy {
        text-shadow: 0 0 2px #fff, 0 0 1px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff0, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff;
        letter-spacing: .15em;
        padding: 3rem 0 3.5rem;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    h2.copy {
        font-size: 1.6rem;
        margin: 0;
    }
}
@media screen and (max-width: 519px) {
    h2.copy {
        font-size: 1.5rem;
        background: url(../images/back_midashi.png) center / 35% no-repeat;
    }
}
h2.seo {
    font-size: 80%;
    font-weight: normal;
    padding: 1em 0;
    letter-spacing: .08em;
    color: #d196b7;
}
@media screen and (max-width: 959px) {
    h2.seo {
        text-align: justify;
        letter-spacing: 0;
        padding: 1em;
    }
}
h3 {
    color: #d196b7;
    font-size: 130%;
    text-align: center;
    margin: 1rem;
}
.waku {
    border: 1px solid #dcdcdc;
}

.ya {
    position: relative;
    max-width: 400px;
}
.ya::before,
.ya::after {
    display: block;
    position: absolute;
    top: 50%;
    content: "";
}
.ya::after {
    border-width: 3px 3px 0 0;
    border-style: solid;
    transform: rotate(45deg);
    border-color: #d196b7;
    right: 5%;
    width: 9px;
    height: 9px;
    margin-top: -7px;
}

.slide {
    box-shadow: 10px 10px 20px rgba(51, 51, 51, .3);
    margin: 0 auto 10px;
    width: 100%;
}

.menuBox > div,
.menuBox2 > div:nth-child(2) {
    margin: 2rem auto 1rem;
    background-color: #fff;
    border-radius: 0 0 6px 6px;
    border: 1px solid #dcdcdc;
    box-shadow: 0 0 10px rgba(102, 102, 102, .2);
}
@media print, screen and (min-width: 960px) {
    .menuBox > div,
    .menuBox2 > div:nth-child(2) {
        width: 30%;
        margin: 2rem 1% 0;
    }
    .menuBox2 > div:nth-child(2) {
        margin: 2rem 3%;
    }
    .menuBox2 > div:nth-child(1) {
        width: calc(93% - 30%);
    }
    #after .menuBox > div {
        width: 22%;
    }
}
@media screen and (max-width: 959px) {
    .menuBox > div,
    .menuBox2 > div {
        max-width: 300px;
    }
}
.menuBox > div p,
.menuBox2 > div p {
    font-size: 110%;
}
.menuBox img,
.menuBox2 img {
    border-bottom: 1px solid #dcdcdc;
}
.menuBox a,
.menuBox2 a {
    color: #d196b7;
}
.zipCode {
    font-size: 80%;
    padding-right: .5rem;
}
#topicsBox {
    width: 100%;
    height: 250px;
    overflow: auto;
    border: 1px solid #dcdcdc;
    background-color: #fff;
    margin: 3rem auto 0;
    text-align: left;
    line-height: 1.6;
    font-size: 85%;
    letter-spacing: 0.05em;
    background-image: url("../images/back_topics.png");
    background-repeat: no-repeat;
    background-position: right bottom;
}
@media screen and (max-width: 959px) {
    #topicsBox {
        background-size: 40%;
    }
}
.topicsList a {
    display: block;
    border-bottom: 1px dotted #ccc;
    padding: 0.9em 0.8em 0.9em 1em;
}
.topicsList a:hover {
    background: #fff5f5;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), color-stop(50%), color-stop(#fff5f5));
    background-image: -webkit-linear-gradient(#fff 50%, #fff5f5);
    background-image:    -moz-linear-gradient(#fff 50%, #fff5f5);
    background-image:     -ms-linear-gradient(#fff 50%, #fff5f5);
    background-image:      -o-linear-gradient(#fff 50%, #fff5f5);
    background-image:         linear-gradient(#fff 50%, #fff5f5);
    border-bottom: 1px dotted #d196b7;
    padding: 0.9em 0.8em 0.9em 1em;
}
.topicsList1 {
    border-bottom: 1px dotted #ccc;
    padding: 0.9em 0.8em 0.9em 1em;
}
.topicsTxt {
    float: left;
    width: 57%;
}
.topicsImg {
    float: right;
    width: 40%;
}
.topicsImg img {
    max-width: 98%;
    border: 1px solid #dcdcdc;
    margin: 5px 0 0;
}
.yaR {
    margin: 0 5px 4px 18px;
    vertical-align: middle;
}
img.topics_2505 {
    border-radius: 3rem;
}
img.logo_s {
    width: 30px;
    vertical-align: middle;
}
img.logo_ss {
    width: 30px;
    vertical-align: middle;
}
.logos {
    margin-top: 20px;
    width: 80%;
}
.logos > div {
    text-align: right;
    position: relative;
}
.logos a {
    display: block;
}
.logoInsta {
    width: 40px;
    position: absolute;
    content: '';
    bottom: 0;
    right: 0;
}

#sponsor {
    border-radius: 10px;
    box-sizing: border-box;
    margin: 3rem auto 0;
    padding: 1rem;
    background-color: #eee;
    box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, 0.15);
}
#logoTopics {
    position: absolute;
    margin: -20px 0 0;
    border: none;
    max-width: 110px;
}
ul#useful {
    display: flex;
    justify-content: center;
    margin: 2rem auto;
}
ul#useful li {
    font-size: 90%;
    background-color: #fff;
    margin: 0 1%;
    padding: .5rem 1rem;
    border-radius: 1rem;
    box-sizing: border-box;
    border: 2px solid #d196b7;
}
@media screen and (max-width: 959px) {
    ul#useful {
        flex-wrap: wrap;
    }
    ul#useful li {
        margin: 1%;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    ul#useful li {
        width: 200px;
    }
}
@media screen and (max-width: 519px) {
    ul#useful li {
        width: 48%;
        font-size: 84%;
    }
}
#logoInsta {
    height: 35px;
}
#linkKinunomichi {
    border: 3px solid #090;
    margin: 3rem auto 2rem;
    width: fit-content;
}
@media screen and (max-width: 959px) {
    #linkKinunomichi {
        margin: 3rem auto 2rem;
        width: fit-content;
    }
}
#hallBox {
    position: relative;
}
#hallName {
    position: absolute;
    content: "";
    top: 15px;
    right: 15px;
    color: #666;
    background-color: rgba(255,255,255,.8);
    padding: 0 10px;
    border-radius: 3px;
}

.planList .oneday div {
    color: #895099;
    background-color: #fcf4ff;
    border: 10px solid #dfc7ea;
}
.planList .kasou div {
    color: #e1b01a;
    background-color: #fff7eb;
    border: 10px solid #fde2b9;
}
.planList .cremation div {
    color: #80ac98;
    background-color: #e0f9ed;
    border: 10px solid #c7eada;
}
.planList div {
    position: relative;
}
.planLink {
    font-size: 80%;
    position: absolute;
    transform: translateX(-50%);
}
.planLink:after {
    content: "";
    position: absolute;
    top: 49%;
    bottom: 0;
    right: -12px;
    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}
.planList a {
    color: unset;
}
span.title {
    font-weight: bold;
}
@media print, screen and (min-width: 520px) {
    #planMenu {
        margin: 2.5rem auto 2rem;
    }
    .planList {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
        width: 80%;
        margin: auto;
    }
    .planList div {
        border-radius: 50%;
        width: 150px;
        height: 150px;
        margin: 0;
        padding-top: 1.5rem;
        box-sizing: border-box;
        line-height: 1.4;
    }
    .planLink {
        bottom: 14%;
        display: block;
        left: 47%;
    }
    span.title {
        display: block;
        font-size: 150%;
    }
}
@media screen and (max-width: 519px) {
    #planMenu {
        margin: 2.5rem auto 1rem;
    }
    .planList {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .planList li {
        width: 90%;
        max-width: 280px;
        margin: 1rem;
    }
    .planList div {
        border-radius: 1rem;
    }
    .planList p {
        text-align: left;
        padding-left: 2rem;
    }
    .planLink {
        top: 50%;
        transform: translateY(-50%);
        right: 15%;
    }
    span.title {
        font-size: 120%;
        margin-right: 5px;
    }
}

#infoBox {
    margin: 4rem auto;
    width: 80%;
    border: 10px solid rgba(0,50,101,.5);
    border-radius: 6px;
    background-color: #e9f8ff;
    padding: 1rem;
    box-sizing: border-box;
}
@media print, screen and (min-width: 960px) {
    #infoBox {
        max-width: 1280px;
    }
}
#infoBox h2 {
    color: #253968;
    font-weight: normal;
    font-size: 140%;
    letter-spacing: 2px;
}
#infoBox p {
    text-align: justify;
}
@media screen and (max-width: 519px) {
    #infoBox {
        width: 95%;
    }
    #infoBox h2 {
        margin-bottom: 1rem;
    }
    #infoBox p {
        line-height: 2;
    }
}
.txtMark {
    display: inline;
    background: linear-gradient(transparent 50%, rgba(255, 255, 26, 0.31) 65%);
    font-size: 120%;
}
ol#promise {
    counter-reset: item;
}
@media print, screen and (min-width: 520px) {
    ol#promise {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}
@media print, screen and (min-width: 960px) {
    ol#promise {
        margin: 3rem;
        gap: 50px;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    ol#promise {
        margin: 3rem auto;
        gap: 30px;
    }
}
@media screen and (max-width: 519px) {
    ol#promise {
        margin: 3rem auto;
    }
}
ol#promise li {
    text-align: justify;
    display: flex;
    flex-direction: column;
    margin: auto;
    width: 90%;
    height: 260px;
    padding: 15px;
    border: 3px solid #a8b0c3;
    border-radius: 8px;
    background: #fff url(../images/back_logo.png) right bottom / 30% no-repeat;
    box-sizing: border-box;
}
ol#promise li::before {
    counter-increment: item;
    content: counter(item);
    font-size: 180%;
    color: #fff;
    background-color: #253968;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -30px;
    margin-bottom: 10px;
}
@media screen and (max-width: 519px) {
    ol#promise li {
        margin-bottom: 3rem;
        background: #fff url(../images/back_logo.png) right bottom / 40% no-repeat;
        height: 200px;
    }
}

