.BodyMain {
    background: #fff;
    margin: 0 auto;
    text-align: center;
    font-family: "¥Ò¥é¥®¥Î³Ñ¥´ Pro W3","Hiragino Kaku Gothic Pro",HiraKakuPro-W3,"¥á¥¤¥ê¥ª",Meiryo,verdana,sans-serif;
    -webkit-text-size-adjust: 100%;
}
.main{
    width: 960px;
}
header.matsui,
header.shimin {
    margin: 0 auto;
    width: 960px;
    height: 105px;
    background: url("../images/title_top.png") no-repeat;
}
header.shimin {
    background: url("https://www.shiminsougi.com/images/title_top.png") no-repeat;
}
.titleLink a{
    display: block;
    float: right;
    width: 160px;
    height: 40px;
    text-indent: -9999px;
    margin-top: 70px;
    margin-right: 60px;
}
section {
    width: 960px;
    margin: auto;
    padding: 20px 0;
}
footer{
    margin: 0 auto;
    background: -moz-linear-gradient(top, #FFF 70%, #029782);
    background: -webkit-linear-gradient(top, #FFF 70%, #029782);
    background: linear-gradient(to bottom, #FFF 70%, #029782);
}
#slide{
    width: 958px;
    height: 320px;
}
.menu {
    clear: both;
    height: 45px;
    text-align: center;
}
.menu img {
    margin: 0 1px 0 0;
}
.opacity a:hover img{
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
hr{
    border: none;
    border-top: 1px dashed #033;
}
h1{
    font-weight: normal;
    font-size: 80%;
    padding: 5px;
    margin: 0;
    border-bottom: 3px double #fff;
    background-color: #029782;
    color: #fff;
    letter-spacing: 0.1em;
}
h2{
    font-weight: normal;
    font-size: 80%;
    padding: 5px;
    margin: 0;
    letter-spacing: 0.1em;
}
h4{
    font-weight: normal;
    font-size: 140%;
    color: rgba(0, 0, 0, 0.8);
    margin: 8px 0;
    border-bottom: 1px dashed #ccc;
}    
div{
    margin: auto;
}
p{
    margin: 0 auto;
}
img{
    border: none;
}
a{
    text-decoration: none;
}
.big{
    font-size: 120%;
    color: #033;
}
.w960{
    width: 960px;
}
.left {
    text-align: left;
}
.TD30{
    line-height: 30px;
}

.ya{
    vertical-align: middle;
    margin: 0 5px 2px 0;
}
.yaR{
    margin: 0 5px 2px 30px;
    vertical-align: middle;
}
.yaPDF{
    margin: 0 0 2px 10px;
    vertical-align: middle;
}
.waku{
    border: 1px solid #999;
}
.mini{
    font-size: 80%;
}

.backcopy {
    background: url("../images/back_copy.png") 0 100% no-repeat;
    margin: 0 0 50px 0;
    border: 1px solid #fff;
    border-radius: 3px;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
}
.backcopy h3 {
    float: left;
    text-align: left;
    font-size: 140%;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.8);
    margin: 8px 0 5px 25px;
}
.backcopy img {
    float: right;
    margin: 8px 20px 0 0;
}
.backcopy::after {
    content: "";
    display: block;
    clear: both;
}

.planL{
    float: left;
    width: 49.99%;
    text-align: left;
}
.planR{
    float: right;
    width: 49.99%;
    line-height: 30px;
    padding-top: 30px;
}
.price{
    font-size:120%;
}
.planL2 {
    float: left;
    width: 450px;
    height: 260px;
    background: url("../images/photo_cremation_450.jpg") no-repeat;
    border: 1px solid #ccc;
}
.planR2 {
    float: right;
    width: 450px;
    height: 260px;
    background: url("../images/saidan_oneday1.jpg") no-repeat;
    border: 1px solid #ccc;
}
.planL3 {
    float: left;
    width: 450px;
    height: 260px;
    background: url("../images/saidan1.jpg") no-repeat;
    border: 1px solid #ccc;
}
.planR3 {
    float: right;
    width: 450px;
    height: 260px;
    background: url("../images/memorial3_450.jpg") no-repeat;
    border: 1px solid #ccc;
}

.ceremonyhallL{
    float: left;
    width: 49.99%;
    padding-top: 45px;
    text-align: left;
}
.ceremonyhallL p,
.ceremonyhallTxt p{
    margin-top: 10px;
/*    text-align: center;*/
}
.ceremonyhallR{
    float: right;
    width: 49.99%;
}
.ceremonyhallImg{
    float: left;
    width: 33.33%;
}
.ceremonyhallTxt{
    float: left;
    width: 33.33%;
    text-align: left;
    line-height: 30px;
    padding-top: 20px;
}
.counselImg{
    float: right;
    width: 32.99%;
}
.counselTxt{
    float: left;
    width: 65.99%;
    line-height: 30px;
    padding-top: 25px;
}
.counselTxt img{
    margin-top: 20px;
}
.Lw33 {
    float: left;
    width: 33.33%;
}
.bmenu {
    margin-left: 40px;
}
.bmenu a {
    float: left;
    color: #033;
}
.bmenu a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}
.bmenu .service {
    display: inline-block;
    width: 120px;
    height: 120px;
    padding: 0;
    margin: 0;
    line-height: 25px;
    border-radius: 50%;
    background: -moz-linear-gradient(top, #029782, #FFF);
    background: -webkit-linear-gradient(top, #029782, #FFF);
    background: linear-gradient(to bottom, #029782, #FFF);
    box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, 0.15);
    margin-left: 20px;
    border: 2px solid #fff;
}
.bmenu .service p.pad1 {
    padding: 38px 0 0 0;
}
.bmenu .service p.pad2 {
    padding: 48px 0 0 0;
}

.mobi{
    width: 700px;
    padding: 20px;
    font-size: 80%;
    line-height: 25px;
    margin-bottom: 8px;
}
.qrL{
    width: 89.9%;
    line-height: 20px;
    text-align: left;
    margin: 7px 0 15px 0;
    float: left;
}
.qrR{
    width: 9.9%;
    float: right;
    padding: 5px 0 10px 0;
}
.custC{
    float: left;
    width: 47.99%;
    line-height: 30px;
}
.custR{
    float: right;
    width: 30.99%;
}
.logo{
    width: 150px;
    height: auto;
}

.copyright{
    width: 960px;
    font-size: 80%;
    line-height: 25px;
    padding: 5px 0 10px 0;
    text-align: right;
}
.copyright a{
    color: #000;
}

.pic1{
    width: 300px;
    height: auto;
}
.pic2{
    width: 450px;
    height: auto;
}
.pic3{
    width: 97%;
    height: auto;
}
.pic4{
    width: auto;
    height: 180px;
}
.marL1 {
    margin-left: 170px;
}
.marTB10{
    margin: 10px auto;
}
.marTB40{
    margin: 40px auto;
}
.marT40{
    margin-top: 40px;
}
.padT10 {
    padding-top: 10px;
}
.pdf {
    width: 700px;
    padding-top: 40px;
    font-size: 80%;
}
.pdfTxt {
    float: left;
    width: 79.99%;
    text-align: left;
    line-height: 25px;
}
.pdfImg {
    float: right;
    width: 19.99%;
    padding-top: 8px;
}
#page-top {
    position: fixed;
    bottom: 50px;
    right: 20px;
}

#page-top a {
    background: url("../images/page-top.png") no-repeat;
    width: 80px;
    height: 60px;
    display: block;
}
#page-top a:hover {
    text-decoration: none;
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}
.L0 {
    float: left;
}
.R0 {
    float: right;
}
.w80 {
    width: 79.99%;
}
.w20 {
    width: 19.99%;
}
.w49 {
    width: 48.99%;
}
.borderR {
    border-right: 1px solid #ccc;
}

/* topoics */
.niibon {
    background: url("https://www.matsuisougisha.com/images/banner_niibon.jpg") no-repeat;
    width: 400px;
    height: 80px;
    padding: 0 0 0 2rem;
    text-align: left;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
.covid {
    background: url("https://www.matsuisougisha.com/images/banner_covid.jpg") no-repeat;
    width: 400px;
    height: 80px;
    padding: 27px 0 0 30px;
    text-align: left;
}
.niibon a {
    display: block;
    font-size: 120%;
}

.arrow{
    position: relative;
    display: inline-block;
    padding: 0 0 0 16px;
    color: #033;
    vertical-align: middle;
    text-decoration: none;
    font-size: 15px;
}
.arrow::before,
.arrow::after{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}
.arrowLink::before{
    left: 10px;
    box-sizing: border-box;
    width: 6px;
    height: 6px;
    border: 5px solid transparent;
    border-left: 7px solid #033;
}
.youtube {
    padding-top: 30px;
}
.youtubeL {
    width: 39%;
    float: left;
    line-height: 30px;
    padding-top: 95px;
}
.youtubeR {
    width: 59%;
    float: right;
}
.newsBox {
    position: relative;
    margin: 1em 0 .5em;
    padding: .8em 1em .5em;
    border: solid 3px #076138;
    border-radius: 8px;
    background: #fffff2;
}
.head {
    position: absolute;
    display: inline-block;
    top: -20px;
    left: 10px;
    padding: 0 6px;
    line-height: 1;
    font-size: 19px;
    background: linear-gradient(#fff 50%,#fffff2);
    color: #076138;
    font-weight: bold;
    letter-spacing: .08em;
}
.head:first-letter {
    color: #f00;
    font-size: 160%;
}
.newsBox .txtL {
    text-align: justify;
    line-height: 2.4;
}
.yaLink {
    position: relative;
    padding-right: 15px;
}
.yaLink::before,
.yaLink::after {
    display: block;
    position: absolute;
    top: 50%;
    content: "";
}
.yaLink::after {
    border-width: 3px 3px 0 0;
    border-style: solid;
    transform: rotate(45deg);
    border-color: #076138;
    right: 0;
    width: 8px;
    height: 8px;
    margin-top: -7px;
}