@charset "utf-8";

/* 共通パーツ */
@media (max-width: 992px){
    /*.top-bar {
        display: none!important;
    }*/
}

@media (min-width: 992px) and (max-width:1200px){
    .jumbotron {
        margin-top: 160px;
    }
}

/* ページナビ */
.wp-pagenavi .pages {
    display: none;
}

.wp-pagenavi span.current,
.wp-pagenavi a.page,
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
    color: #fff;
    border: 1px solid #fff!important;
    outline: 0;
    position: relative;
    padding: .5rem .75rem;
    margin: 0;
    margin-left: -1px;
    line-height: 1.25;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
    font-family: 'Quicksand', sans-serif;
    color: #fff;
    font-weight: 700;
}

.wp-pagenavi span.current {
    background: #F9575C!important;
}

.wp-pagenavi a.page {
    background: #F9BE4F!important;
}

.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
    background: #F9BE4F!important;
}


/* トップページ */
.top__news-release li {
    padding: 1em 2em;
    word-break: break-all;
}

.top__news-release li:nth-of-type(odd) {
    background-color: #f5f5f5f5;
}


/* 訪問火葬の流れページ */
#movie {
    padding-top: 0;
    text-align: center;
}

#movie iframe {
    max-width: 100%;
    width: 900px;
    height: 315px;
}

@media (min-width: 766px) {
    #movie iframe {
        height: 505px;
    }
}


/* 投稿ページ（個別・一覧） */
.related-post a {
    color: #675444;
    text-decoration: underline;
}

.related-post ul.custom li {
    padding: 1em;
    word-break: break-all;
}

.related-post ul.custom li:nth-of-type(odd) {
    background-color: #f3f2ef;
}

.blog-thumbnail img {
    max-width: 100%;
    height: auto;
}

.blog-card img {
   max-width: 100%;
   height: auto;
}

.blog-card .wp-caption {
   max-width: 100%;
}

/* メモリアルグッズ */
.goods .thumbnail img {
    max-width: 350px;
}

/* 価格表 */
.pricelist {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.pricelist p {
  display: block;
  width: 100%;
  margin: 10px 0;
}

.pricelist p.text-right {
  font-size: 10px;
}
@media (min-width: 481px) {
  .pricelist p.text-right {
    font-size: 14px;
  }
}

.pricelist-header {
  display: none;
}
@media (min-width: 766px) {
  .pricelist-header {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    margin: 5px auto;
    background-color: #f5f4f0;
  }
}

.pricelist-body {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  margin: 5px auto;
}

.pricelist-col {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-content: center;
  align-content: center;
  border-right: 1px solid #707070;
  border-bottom: 1px solid #707070;
}
@media (min-width: 766px) {
  .pricelist-col {
    border-top: 1px solid #707070;
  }
}

.pricelist-col-1st {
  -webkit-justify-content: center;
  justify-content: center;
  width: 100%;
  border-top: 1px solid #707070;
  border-left: 1px solid #707070;
}
@media (min-width: 766px) {
  .pricelist-col-1st {
    width: 100px;
  }
}
@media (min-width: 992px) {
  .pricelist-col-1st {
    width: 150px;
  }
}

.pricelist-col-1st p {
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
}

.pricelist-col-1st .image {
  padding-top: 0.5em;
}

.pricelist-col-2nd {
  width: 100%;
  border-left: 1px solid #707070;
}
@media (min-width: 766px) {
  .pricelist-col-2nd {
    width: calc( 50% - 100px );
    border-top: 1px solid #707070;
    border-left: none;
  }
}
@media (min-width: 992px) {
  .pricelist-col-2nd {
    width: calc( 50% - 150px );
  }
}

.pricelist-header .pricelist-col-2nd {
  display: none;
}
@media (min-width: 766px) {
  .pricelist-header .pricelist-col-2nd {
    display: block;
  }
}

.pricelist-col-1st-2nd {
  -webkit-justify-content: center;
  justify-content: center;
  width: 100%;
  border-top: 1px solid #707070;
  border-left: 1px solid #707070;
}
@media (min-width: 766px) {
  .pricelist-col-1st-2nd {
    width: 50%;
  }
}

.pricelist-col-1st-2nd p {
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
}

.pricelist-col-3rd {
  width: 60%;
  border-left: 1px solid #707070;
}
@media (min-width: 481px) {
  .pricelist-col-3rd {
    width: 50%;
  }
}
@media (min-width: 766px) {
  .pricelist-col-3rd {
    width: 30%;
    border-left: none;
  }
}
@media (min-width: 992px) {
  .pricelist-col-3rd {
    width: 25%;
    border-left: none;
  }
}

.pricelist-header .pricelist-col-3rd p {
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
}

.pricelist-col-4th {
  width: 40%;
}
@media (min-width: 481px) {
  .pricelist-col-4th {
    width: 50%;
  }
}
@media (min-width: 766px) {
  .pricelist-col-4th {
    width: 20%;
  }
}
@media (min-width: 992px) {
  .pricelist-col-4th {
    width: 25%;
  }
}

.pricelist-col-4th p {
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
}

.pricelist-col-wrap {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit:-align-content: stretch;
  align-content: stretch;
}

.pricelist-col p {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-content: center;
  align-content: center;
  padding: 0.5em 1em;
  margin: 0 auto;
  text-align: left;
}
@media (min-width: 766px) {
  .pricelist-col p {
    padding: 0.5em 0.5em;
  }
}
@media (min-width: 992px) {
  .pricelist-col p {
    padding: 0.5em 2em;
  }
}

.pricelist-col-wrap p {
  border-bottom: 1px solid #707070;
}

.pricelist-col-4th.pricelist-col-wrap p {
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
}

.pricelist-col-wrap p:last-of-type {
  border-bottom: none;
}

.pricelist-col-1st p.price-caption {
  background-color: #f5f4f0;
  border-bottom: 1px solid #707070;
}
@media (min-width: 766px) {
  .pricelist-col-1st p.price-caption {
    display: none;
  }
}

.pricelist-col-3rd p.price-caption {
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
  background-color: #f5f4f0;
  border-bottom: 1px solid #707070;
}
@media (min-width: 766px) {
  .pricelist-col-3rd p.price-caption {
    display: none;
  }
}

.pricelist-col-4th p.price-caption {
  background-color: #f5f4f0;
  border-bottom: 1px solid #707070;
}
@media (min-width: 766px) {
  .pricelist-col-4th p.price-caption {
    display: none;
  }
}


/* スタッフ紹介 */

.staff-wrap {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 20px;
}
@media (min-width: 1200px) {
  .staff-wrap {
    min-height: 325px;
  }
}

@media (max-width: 1199px) {
  #staff .col-xl-6:nth-of-type(odd) .staff-wrap {
    background-color: #fbe7cf;
  }
}

@media (max-width: 1199px) {
  #staff .col-xl-6:nth-of-type(even) .staff-wrap {
    background-color: #c1cab5;
  }
}

@media (min-width: 1200px) {
  .staff-row-1st {
    background-color: #fbe7cf;
  }
}

@media (min-width: 1200px) {
  .staff-row-2nd {
    background-color: #c1cab5;
  }
}

.staff-col-ph {
  width: 100%;
  text-align: center;
}
@media (min-width: 766px) {
  .staff-col-ph {
    width: 20%;
  }
}

.staff-col-ph img {
  max-width: 150px;
  margin: 0 auto;
}
@media (min-width: 766px) {
  .staff-col-ph img {
    max-width: 100%;
  }
}

.staff-col-tx {
  width: 100%;
  padding: 15px 0 0 0;
}
@media (min-width: 766px) {
  .staff-col-tx {
    width: 80%;
    padding: 0 0 0 15px;
  }
}

.staff-tx-wrap {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
@media (min-width: 766px) {
  .staff-tx-wrap {
    margin-bottom: 0;
  }
}

.staff-profile {
  width: 100%;
}
@media (min-width: 481px) {
  .staff-profile {
    width: 55%;
  }
}

.staff-pet {
  width: 100%;
  text-align: center;
}
@media (min-width: 481px) {
  .staff-pet {
    width: 45%;
    text-align: right;
  }
}

.staff-pet img {
  max-width: 100%
  margin: 0 auto;
}

.staff-message {
  width: 100%;
}

.staff-message p {
  margin-bottom: 1em;
}

.staff-message p:last-of-type {
  margin-bottom: 0;
}

#staff ul.custom li {
  padding: 2px 0px;
  font-size: 12px;
  line-height: 1.5em;
}

#staff .staff-message {
  font-size: 12px;
  line-height: 1.5em;
}


/* 絵本紹介 */

.book-wrap {
  margin-bottom: 30px;
}
@media (min-width: 481px) {
  .book-wrap {
    margin-bottom: 60px;
  }
}

.book-wrap:nth-of-type(n+2) {
  padding-top: 30px;
  border-top: 2px solid #F9BE4F;
}
@media (min-width: 481px) {
  .book-wrap:nth-of-type(n+2) {
    padding-top: 60px;
    border-top: 3px solid #F9BE4F;
  }
}

.card .book-wrap {
  margin-bottom: 0;
}

.card .book-wrap:nth-of-type(n+2) {
  padding-top: 0;
  border-top: none;
}

.book-wrap h3 {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 0.5em;
}
@media (min-width: 481px) {
  .book-wrap h3 {
    font-size: 1.3em;
  }
}

.book-wrap h3::before {
  font-family: "Flaticon";
  content: "\f126";
  color: #F9BE4F;
  padding-right: 3px;
}
@media (min-width: 481px) {
  .book-wrap h3::before {
    padding-right: 5px;
  }
}

.book-wrap p {
  color: #666;
  padding: 0 1em;
  margin-bottom: 1em;
}
@media (min-width: 481px) {
  .book-wrap p {
    padding: 0 2em;
    margin-bottom: 1.5em;
  }
}


p.no-item {
	display: block;
	font-size: 12px;
	line-height: 1.5em;
	font-weight: normal;
	text-align: center;
	color: #454545;
	margin: 0 auto!important;
	padding: 5rem 0;
	float: none;
}


/* フッターバナー */

.foot-bn {
  margin-right: -10px;
  margin-left: -10px;
}

.foot-bn-wrap {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.foot-bn-col {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-content: center;
  align-content: center;
  width: calc( 100% - 20px );
  max-width: 270px;
  margin: 10px;
}
@media (min-width: 481px) {
  .foot-bn-col {
    width: calc( 50% - 20px );
  }
}
@media (min-width: 766px) {
  .foot-bn-col {
    width: calc( 33.33% - 20px );
  }
}
@media (min-width: 1200px) {
  .foot-bn-col {
    width: calc( 25% - 20px );
  }
}

.foot-bn-col-1st {
  order: 2;
}
@media (min-width: 481px) {
  .foot-bn-col-1st {
    order: 1;
  }
}

.foot-bn-col-2nd {
  order: 1;
}
@media (min-width: 481px) {
  .foot-bn-col-2nd {
    order: 2;
  }
}

.foot-bn a, 
.foot-bn picture, 
.foot-bn img {
  display: block;
  width: 100%;
}


