@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


.otherCemetery {
  display: flex;
  flex-wrap: wrap;
}
.otherCemeteryItem {
  width: calc(33.33% - 6.66px);
  margin-left: 10px;
}
.otherCemeteryItem:nth-of-type(3n + 1) {
  margin-left: 0;
}
.otherCemeteryItem a {
  display: block;
  color: #FFF;
  font-weight: 700;
  text-decoration: none;
}
.otherCemeteryItem__img img {
  display: block;
}
.otherCemeteryItem__name {
  position: relative;
  background: #0354a0;
  padding: 13px 25px 13px 15px;
  font-size: 16px;
  line-height: 1.4;
}
.otherCemeteryItem__name:before {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 10px;
  content: '';
  vertical-align: middle;
  box-sizing: border-box;
  width: 4px;
  height: 4px;
  border: 4px solid transparent;
  border-left: 6px solid #FFF;
}
@media screen and (max-width: 550px) {
  .otherCemeteryItem {
    width: 100%;
    margin-left: 0px;
  }
  .otherCemeteryItem:nth-of-type(3n + 1) {
    margin-left: 0;
  }
  .otherCemeteryItem:nth-of-type(n + 2) {
    margin-top: 20px;
  }
}