/*
altar       仏壇              #e682c8 rgba(230, 130, 200, 0.8)
design      お墓をお探しの方    #d2b41e rgba(210, 180, 30, 0.8)
endoflife   終活              #1477c8 rgba(20, 119, 200, 0.8)
service   墓じまい          #f15b24 rgba(241, 91, 36, 0.8)
eternal     永代供養          #999999 rgba(153, 153, 153, 0.8)
ossuary     納骨堂            #1496aa  rgba(20, 150, 170, 0.8)
cemetery  樹木葬           #50be81 rgba(80, 190, 129, 0.8)
*/

/* ------------------------------------------------
  List
------------------------------------------------ */

ul {
  list-style: none;
}

.indent li {
  padding-left: 1em;
  text-indent: -1em;
}

.decimal li {
  margin: 0 0 0 1.5em !important;
  padding: 0 0 0 1.5em !important;
  list-style: decimal !important;
}

.disc li {
  margin: 0 0 0 1.5em;
  list-style: disc;
}

.indent li {
  line-height: 1.35;
  margin-bottom: 0.35em;
}

/* ------------------------------------------------
  image
------------------------------------------------ */
img {
  max-width: 100%;
  height: auto;
}

/* ------------------------------------------------
  link
------------------------------------------------ */
a {
  outline: none;
}
a:link,
a:visited {
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}


/* ------------------------------------------------
  common
------------------------------------------------ */
.pd1em { padding: 1em; }

.pd10 { padding: 10px; }

.pt1em { padding-top: 1em; }

.pb1em { padding-bottom: 1em; }

.tcenter {
  text-align: center !important;
}

.tright {
  text-align: right !important;
}

@media screen and (max-width: 640px){
  .res-sp-tcenter {
    text-align: center !important;
  }
  .res-sp-tleft {
    text-align: left !important;
  }
  .res-sp-tright {
    text-align: right !important;
  }
}

.pagecontents a {
  transition: all 0.5s 0s ease;
}

.pagecontents a:hover {
  opacity: 0.7;
}

.res-sp-none {
  /* display: inherit; */
}

@media screen and (max-width: 640px){
  .res-sp-none {
    display: none;
  }
}

.res-fleft {
  float: left;
}

@media screen and (max-width: 640px){
  .res-fleft {
    float: none;
    display: block;
  }
}

.res-fright {
  float: right;
}

@media screen and (max-width: 640px){
  .res-fright {
    float: none;
    display: block;
  }
}

.res-flex {
  display: flex; 
}

@media screen and (max-width: 640px){
  .res-flex {
    display: block;
  }
  
  .res-flex > div {
    width: 100% !important;
  }
}

/* ------------------------------------------------
  clearfix
------------------------------------------------ */
.clearfix:after {
  content: "";
  display: block;
  clear: both;
} 
.clearfix:before {
  content: "";
  display: block;
  clear: both;
} 
.clearfix {
  display: block;
}


/*パンくず*/
.breadcrumb {
  padding: 0 0;
  margin: 0 auto 10px;
  line-height: 1.25;
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  font-size: smaller;
}

.breadcrumb ul li {
  align-items: center;
}

.breadcrumb ul li a {
  display: inline-block;
}

.breadcrumb ul li:after {
  content: '>';
  margin: 0 0.5em;
}

.breadcrumb ul li:last-child:after {
  content: '';
}



/* ------------------------------------------------
  common contents
------------------------------------------------ */

@media screen and (max-width: 640px){
  main {
    padding: 0 8px;
  }
}

.pagetitle {
  display: flex;
  min-height: 180px;
  padding: 0 0;
  margin: 0 auto 10px;
}

@media screen and (max-width: 640px){
  .pagetitle {
    width: 100%;
    display: block;
    min-height: 100px;
  }
}

.pagetitle:after {
  content: '';
  display: block;
  width: 50%;
}

@media screen and (max-width: 640px){
  .pagetitle:before {
    content: '';
    display: block;
    width: 100%;
    height: 100px;
  }

  .pagetitle:after {
    content: '';
    display: none;
  }
}

.pagetitle > div {
  display: flex;
  align-items: center;
  width: calc( 50% - 1em );
  padding: 1em;
  line-height: 1.1;
}

@media screen and (max-width: 640px){
  .pagetitle > div {
    width: 100%;
    display: block;
    padding: 0.5em;
  }
}

.pagetitle > div > div {
  width: 100%;
}

.pagetitle h1 {
  padding-bottom: 0.125em;
  margin-bottom: 0.125em;
  border-bottom: 1px solid;
}

.pagetitle span {
  font-size: small;
}

.pagecontents .bg-gray {
  background-color: #f2f2f2;
}

.pagecontents .inner {
  margin-bottom: 2em;
}

.pagecontents .note {
  font-size: smaller;
}

.pagecontents .btn {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 1em;
}

.pagecontents .btn ul {
  display: flex;
  justify-content: space-around;
}

@media screen and (max-width: 640px){
  .pagecontents .btn ul {
    display: block;
    width: 100%;
  }
}

.pagecontents .btn ul li {
  position: relative;
}

.pagecontents .btn.col2 ul li {
  width: 45%;
}

@media screen and (max-width: 640px){
  .pagecontents .btn.col2 ul li {
    width: 100%;
    margin-bottom: 1em;
  }

  .pagecontents .btn.col2 ul li:last-child {
    margin-bottom: 0;
  }

}

.pagecontents ul.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.pagecontents ul.gallery li {
  line-height: 1.1;
  margin-bottom: 1em;
  text-align: center;
}

.pagecontents ul.gallery li a {
  text-decoration: none;
}

.pagecontents ul.gallery.col3 li {
  width: 32%;
}

@media screen and (max-width: 640px){
  .pagecontents ul.gallery.col3 li {
    width: 100%;
  }
}

.pagecontents ul.gallery.col4 li {
  width: 24%;
}

@media screen and (max-width: 640px){
  .pagecontents ul.gallery.col4 li {
    width: 49%;
  }
}

.pagecontents .title h1 {
  border-bottom: 10px solid;
  background-color: #f2f2f2;
  padding: 0.5em;
  margin-bottom: 0.5em;
  line-height: 1.1;
}

.pagecontents .title h2 {
  border-left: 10px solid;
  padding: 0.5em 0.25em;
  margin-bottom: 0.5em;
  line-height: 1.1;
}

.pagecontents .title h3 {
  padding: 0.5em 0.5em;
  margin-bottom: 1em;
  line-height: 1.1;
}

.pagecontents .photo.res-fright {
  margin-left: 1em;
  margin-bottom: 1em;
}

@media screen and (max-width: 640px){
  .pagecontents .photo.res-fright {
    margin: 0 auto;
  }
}



/* design #d2b41e rgba(210, 180, 30, 0.8) */
.design .pagetitle > div {
  background-color: #d2b41e;
}

.design .pagetitle:after {
  background: url("/common/images/design/mainvisual.jpg") no-repeat;
  background-size: cover;
}

@media screen and (max-width: 640px){
  .design .pagetitle:before {
    background: url("/common/images/design/mainvisual.jpg") no-repeat;
    background-size: cover;
  }
}

.design .pagecontents .border-design {
  border-color: #d2b41e;
}

.design .pagecontents .title h1 {
  border-color: #d2b41e;
}

.design .pagecontents .title h2 {
  border-color: #d2b41e;
}

.design .pagecontents .title h3 {
  background-color: rgba(210, 180, 30, 0.5);
}

.design .pagecontents .photo a {
  cursor: pointer;
}

.design .pagecontents .btn ul {
  width: 80%;
}

@media screen and (max-width: 640px){
  .design .pagecontents .btn ul {
    width: 100%;
  }
  
  .design .pagecontents .btn ul li {
    display: block;
    width: 100%;
    margin-bottom: 1em;
  }
  
  .design .pagecontents .btn ul li:last-child {
    margin-bottom: 0;
  }
}

.design .pagecontents .btn ul li a {
  display: block;
  background-color: #fff;
  border: 1px solid #d2b41e;
  border-radius: 0.5em;
  padding: 0.5em 1em 1em 1em;
  text-align: center;
  text-decoration: none;
}

.design .pagecontents .btn ul li a:hover {
  background-color: #d2b41e;
  color: #fff;
  opacity: 1;
}

.design .pagecontents .btn ul li a.arrow-bottom:before {
  content: '';
  width: 0.5em;
  height: 0.5em;
  border: none;
  border-top: solid 1px #d2b41e;
  border-right: solid 1px #d2b41e;
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(135deg);
}

.design .pagecontents .btn ul li a.arrow-bottom:hover:before {
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
}



/* service　#f15b24 rgba(241, 91, 36, 0.8) */
.service .pagetitle > div {
  background-color: rgba(241, 91, 36, 0.8);
}

.service .pagetitle:after {
  background: url("/common/images/service/mainvisual.jpg") no-repeat;
  background-size: cover;
}

@media screen and (max-width: 640px){
  .service .pagetitle:before {
    background: url("/common/images/service/mainvisual.jpg") no-repeat;
    background-size: cover;
  }
}

.service .pagecontents .border-service {
  border-color: #f15b24  !important;
}

.service .pagecontents .color-service {
  color: #f15b24  !important;
}

.service .pagecontents .title h1 {
  border-color: #f15b24  ;
}

.service .pagecontents .title h2 {
  border-color: #f15b24  ;
}

.service .pagecontents .title h3 {
  background-color: rgba(241, 91, 36, 0.5);
}

.service .pagecontents .inner:nth-child(2) .bg-gray.pd1em {
  margin-bottom: 30px;
}

.service .pagecontents .inner:nth-child(2) .res-flex {
  justify-content: space-between;
  flex-wrap: wrap;
}

.service .pagecontents .inner:nth-child(2) .res-flex {
  margin-left: 1em;
}

.service .pagecontents .inner:nth-child(2) .res-flex > li {
  width: 45%;
  text-indent: -1.35em;
  padding-left: 1em;
}

@media screen and (max-width: 640px){
  .service .pagecontents .inner:nth-child(2) .res-flex > li {
    width: 100%;
  }
}

.service .pagecontents .inner:nth-child(2) .bg-gray.pd1em + div {
  position: relative;
  border: 2px solid #f15b24;
  margin-top: 3.5em;
  border-radius: 0.5em;
}

.service .pagecontents .inner:nth-child(2) .bg-gray.pd1em + div:before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate( -50%, -100%);
  content: "\f103";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2em;
  color: #f15b24;
}

.service .pagecontents .inner:nth-child(4) > ul {
  padding-left: 1em;
}

.service .pagecontents .inner:nth-child(4) > ul > li {
  text-indent: -1.35em;
  padding-left: 1em;
  margin-bottom: 1em;
}

.service .pagecontents .angle-double-down {
  position: relative;
  padding-bottom: 3em;
}

.service .pagecontents .angle-double-down:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate( -50%, 10%);
  content: "\f103";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 2em;
  color: #f15b24;
}

.service .pagecontents .angle-double-down + .border-box,
.service .pagecontents .disc + .border-box.border-service {
  border-width: 2px;
  border-radius: 0.5em;
}

.service .tab-wrap .fa-stack.color-service {
  font-size: 0.9em;
  margin-right: 0.25em;
}

.service .tab-wrap .list-num + p {
  padding-left: 2.45em;
}

.service .tab-wrap h3.list-num  small {
  display: inline-block;
  margin-left: 0.5em;
}

@media screen and (max-width: 640px){
  .service .tab-wrap h3.list-num  small {
    margin-left: 2.75em;
  }
}

.service .tab-wrap .list-num + .disc {
  padding-left: 2.45em;
  margin-bottom: 1em;
}

.service .tab-wrap .border-box {
  border: 1px solid #ccc;
  margin: 0 1em 1em 2.45em;
  padding: 1em;
  font-size: 90%;
}

.service .tab-wrap {
  display: flex;
  flex-wrap: wrap;
}

.service .tab-wrap:after {
  content: '';
  width: 100%;
  height: 3px;
  order: -1;
  display: block;
  background: rgba(241, 91, 36,1);
}

.service .tab-wrap .tab-label {
  margin-right: 5px;
  padding: 0.35em 1em;
  flex: 1;
  order: -1;
  border-radius: 3px 3px 0 0;
  color: #444;
  background: rgba(241, 91, 36,.25);
  transition: .5s ;
  cursor: pointer;
  font-size: 120%;
  text-align: center;
}
.service .tab-wrap .tab-label:nth-last-of-type(1){
  margin-right: 0;
  margin-left: 5px;
}

.service .tab-wrap input {
  display: none;
}

.service .tab-wrap .tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.service .tab-wrap input:checked + .tab-label {
  color: #fff;
  background: rgba(241, 91, 36,1);
}
.service .tab-wrap input:checked + .tab-label + .tab-content {
  padding: 15px;
  height: auto;
  overflow: auto;
  transition: .5s opacity;
  opacity: 1;
}


/* cemetery #50be81 rgba(80, 190, 129, 0.8) */
.cemetery .pagetitle > div {
  background-color: rgba(80, 190, 129, 0.8);
}

.cemetery .pagetitle:after {
  background: url("/common/images/cemetery/mainvisual.jpg") no-repeat;
  background-size: cover;
}

@media screen and (max-width: 640px){
  .cemetery .pagetitle:before {
    background: url("/common/images/cemetery/mainvisual.jpg") no-repeat;
    background-size: cover;
  }
}

.cemetery .pagecontents .border-cemetery {
  border-color: #50be81  ;
}

.cemetery .pagecontents .color-cemetery {
  color: #50be81  ;
}

.cemetery .pagecontents .title h1 {
  border-color: #50be81  ;
}

.cemetery .pagecontents .title h2 {
  border-color: #50be81  ;
}

.cemetery .pagecontents .title h3 {
  background-color: rgba(80, 190, 129, 0.5);
}

.cemetery .pagecontents .btn ul {
  width: 100%;
}

.cemetery .pagecontents .res-flex {
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cemetery .pagecontents .res-flex > div {
  width: 32%;
  margin-bottom: 30px;
}

@media screen and (max-width: 640px){
  .cemetery .pagecontents .res-flex > div {
    margin-bottom: 15px;
  }
}

.cemetery .pagecontents .res-flex > div table {
  width: 100%;
  line-height: 1.25;
}

.cemetery .pagecontents .res-flex > div table th {
  border-bottom: 1px solid #ccc;
  padding: 0.25em;
  font-size: 86%;
  text-align: left;
  white-space: nowrap;
}

.cemetery .pagecontents .res-flex > div table td {
  border-bottom: 1px solid #ccc;
  padding: 0.25em;
  font-size: 86%;
}

@media screen and (max-width: 640px){
  .cemetery .pagecontents .res-flex > div table th {
    font-size: 100%;
  }

  .cemetery .pagecontents .res-flex > div table td {
    font-size: 100%;
  }
}

.cemetery .pagecontents .res-flex > div h3 {
  background-color: rgba(80, 190, 129, 0.5);
  padding: 0.125em 0.25em;
  text-align: center;
}

.cemetery .pagecontents .res-flex > div img {
  border: 1px solid #ccc;
}

@media screen and (max-width: 640px){
  .cemetery .pagecontents .res-flex > div div:nth-child(1) {
    text-align: center;
  }
  .cemetery .pagecontents .res-flex > div div:nth-child(1) img {
    width: 100vw;
  }
}

.cemetery .pagecontents .btn-detail a {
  width: 100%;
  display: block;
  padding: 0.25em 0.5em;
  position: relative;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  background-color: #50be81;
  border: 1px solid #50be81;
  font-size: 86%;
}

.cemetery .pagecontents .btn-detail a:hover {
  color:#50be81;
  text-decoration:none;
  background:#fff;
  opacity: 1;
}

.cemetery .pagecontents .btn-detail a:after {
  content: "";
  display: block;
  position: absolute;
  right: 0.75em;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(0, -50%) rotate(45deg);
}

.cemetery .pagecontents .btn-detail a:hover:after {
  border-top: 2px solid #50be81;
  border-right: 2px solid #50be81;
}

.cemetery .pagecontents .btn-link a {
  display: inline-block;
  padding: 0.25em 1.5em 0.25em 0.5em;
  position: relative;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  background-color: #50be81;
  border: 1px solid #50be81;
}

.cemetery .pagecontents .btn-link a:after {
  content: "";
  display: block;
  position: absolute;
  right: 0.75em;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(0, -50%) rotate(45deg);
}






