/*モーダルウィンドウ*/
.modal-wrap:before {
  background: rgba(0, 0, 0, 0.6);
  bottom: 0;
  content: '';
  display: none;
  left: 0;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 101
}
.modal-overlay {
  bottom: 0;
  display: none;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 102
}
.modal-open:checked ~ .modal-wrap:before,
.modal-open:checked ~ .modal-wrap .modal-overlay {
  display: block
}
.modal-dialog {
  background: #fff;
  border-radius: 4px;
  height: 90%;
  left: 50%;
  max-width: 600px;
  overflow: hidden;
  position: fixed;
  top: -100%;
  transform: translate(-50%, 0);
  transition: -webkit-transform .1s ease-out;
  transition: transform .1s ease-out;
  transition: transform .1s ease-out, -webkit-transform .1s ease-out;
  width: 94%;
  z-index: 103
}
.modal-open:checked ~ .modal-wrap .modal-dialog {
  position: fixed;
  top: 50px;
  transform: translate(-50%, 0);
}
.modal-header {
  border-bottom: solid 1px #dcdcdc;
  height: 48px;
  line-height: 48px;
  margin: auto;
}
.modal-header h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  text-align: center;
}
.modal-header .btn-close {
  cursor: pointer;
  display: inline-table;
  line-height: 24px;
  padding: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
}
.modal-header .btn-close i.material-icons {
  border: solid 1px #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  color: #ccc;
  font-size: 24px;
  height: 24px;
  margin: 12px;
  text-align: center;
  width: 24px;
}
.modal-header .btn-close:focus,
.modal-header .btn-close:hover {
  color: #232b38;
}
.modal-body {
  font-size: 16px;
  height: 80%;
  margin: auto;
  overflow: scroll;
  padding: 0 0;
}
.modal-body.wrap-pref {
  height: 90%;
}
.modal-body .ttl-selection {
  background: #efefef;
  font-size: 14px;
  font-weight: 600;
  height: 24px;
  line-height: 24px;
  padding: 0 16px;
}
.modal-body .list-modal li {
  border-bottom: solid 1px #eee;
  height: 48px;
  line-height: 48px;
  overflow: hidden;
}
.modal-body .list-modal.list-cemetery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.modal-body .list-modal li.cemetery-type {
  border-bottom: solid 1px #eee;
  height: 48px;
  line-height: 48px;
  overflow: hidden;
}
.modal-body .list-modal li.cemetery-type:nth-child(2n+1) {
  border-right: solid 1px #eee;
}
.modal-body .list-modal li.no-count,
.modal-body .list-modal li.no-count span.count {
  color: #ccc;
}
.modal-body .list-modal li input {
  left: -9999em;
  position: absolute;
}
.modal-body .list-modal li label {
  display: block;
  padding-left: 48px;
  position: relative;
}
.modal-body .list-modal li label .count {
  color: #ff8501;
}
.modal-body .list-modal li label::before {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  content: '';
  height: 20px;
  left: 14px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
}
.modal-body .list-modal .pr-feature::before {
  display: none;
}
.modal-body .list-modal .pr-feature-link {
  color: #0187cd;
  pointer-events: auto;
  text-decoration: underline;
}
.modal-body .list-modal li input:checked + label {
  background: #05aa22;
  border-bottom: solid 1px #fff;
  color: #fff;
  overflow: hidden;
}
.modal-body .list-modal li input:checked + label a {
  color: #fff;
}
.modal-body .list-modal li input:checked + label::before {
  background: #fff url(../../common_img/icon_check.png) no-repeat center;
  background-size: 90%;
  content: '';
}
.modal-body .list-modal li input:checked + label .count {
  color: #fff;
}
.modal-body .list-modal li label a {
  color: #232b39;
  pointer-events: none;
  text-decoration: none;
}
.modal-body .list-modal.list-pref a {
  color: #0187cd;
  display: block;
  padding-left: 32px;
  pointer-events: auto;
  text-decoration: underline;
}
.modal-body .list-modal.list-feature a {
  color: #0187cd;
  display: block;
  line-height: 1.2;
  padding: 8px 12px 0;
  pointer-events: auto;
  text-decoration: underline;
}
.modal-footer {
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.6);
  bottom: -68px;
  color: #fff;
  display: flex;
  font-size: 16px;
  font-weight: 600;
  justify-content: space-between;
  height: 68px;
  left: 50%;
  line-height: 48px;
  padding: 10px 20px 0;
  position: fixed;
  width: 100%;
}
.modal-open:checked ~ .modal-wrap .modal-footer {
  bottom: 0;
  position: fixed;
  transform: translate(-50%, 0);
  width: 100%;
  z-index: 105;
}
.modal-footer > .btn-primary {
  background: #05aa22;
  border-radius: 4px;
  box-shadow: 0 2px 0 #047718;
  color: #fff;
  display: inline-block;
  height: 48px;
  line-height: 48px;
  padding: 0 20px;
  text-align: center;
}
@media only screen and (min-width:768px) {
  .modal-wrap:before {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    content: '';
    display: none;
    left: 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 101
  }
  .modal-overlay {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 102
  }
  .modal-open:checked ~ .modal-wrap:before,
  .modal-open:checked ~ .modal-wrap .modal-overlay {
    display: block
  }
  .modal-dialog {
    background: #fff;
    border-radius: 4px;
    height: 60%;
    left: 50%;
    max-width: 840px;
    min-width: 768px;
    overflow: hidden;
    position: fixed;
    top: -100%;
    transform: translate(-50%, 0);
    transition: -webkit-transform .1s ease-out;
    transition: transform .1s ease-out;
    transition: transform .1s ease-out, -webkit-transform .1s ease-out;
    width: 800px;
    z-index: 103
  }
  .modal-open:checked ~ .modal-wrap .modal-dialog {
    position: fixed;
    top: 20%;
    transform: translate(-50%, 0);
  }
  .modal-header {
    border-bottom: solid 1px #dcdcdc;
    height: 48px;
    line-height: 48px;
    margin: auto;
  }
  .modal-header h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-align: center;
  }
  .modal-header .btn-close {
    cursor: pointer;
    display: inline-table;
    line-height: 24px;
    padding: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
  }
  .modal-header .btn-close i.material-icons {
    border: solid 1px #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    color: #ccc;
    font-size: 24px;
    height: 24px;
    margin: 12px;
    text-align: center;
    width: 24px;
  }
  .modal-header .btn-close:focus,
  .modal-header .btn-close:hover {
    color: #232b38;
  }
  .modal-body {
    font-size: 14px;
    height: calc(100% - 116px);
    margin: auto;
    overflow: scroll;
    padding: 0 0;
  }
  .modal-body.wrap-pref {
    height: calc(100% - 34px);
  }
  .modal-body .ttl-selection {
    background: #efefef;
    font-size: 14px;
    font-weight: 600;
    height: 24px;
    line-height: 24px;
    padding: 0 16px;
  }
  .modal-body .list-modal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .modal-body .list-modal li {
    border-bottom: solid 1px #eee;
    height: 48px;
    line-height: 48px;
    width: 25%;
  }
  .modal-body .list-modal.list-cemetery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .modal-body .list-modal li.cemetery-type {
    height: 48px;
    line-height: 48px;
    width: 25%;
  }
  .modal-body .list-modal li.cemetery-type:nth-child(2n+1) {
    border-right: none;
  }
  .modal-body .list-modal li.no-count,
  .modal-body .list-modal li.no-count span.count {
    color: #ccc;
  }
  .modal-body .list-modal li input {
    left: -9999em;
    position: absolute;
  }
  .modal-body .list-modal li label {
    display: block;
    padding-left: 36px;
    position: relative;
  }
  .modal-body .list-modal li label .count {
    color: #ff8501;
  }
  .modal-body .list-modal li label::before {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    content: '';
    height: 20px;
    left: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
  }
  .pr-feature::before{
    display: none;
  }
  .modal-body .list-modal li input:checked + label {
    background: #05aa22;
    border-right: solid 1px #fff;
    color: #fff;
  }
  .modal-body .list-modal li input:checked + label::before {
    background: #fff url(../../common_img/icon_check.png) no-repeat center;
    background-size: 90%;
    content: '';
  }
  .modal-body .list-modal li input:checked + label .count {
    color: #fff;
  }
  .modal-body .list-modal li label a {
    color: #0187cd;
    pointer-events: auto;
    text-decoration: underline;
  }
  .modal-body .list-modal.list-feature a {
    padding: 8px 0 0 12px;
  }
  .modal-footer {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 0 0 4px 4px;
    bottom: -68px;
    color: #fff;
    display: flex;
    font-size: 16px;
    font-weight: 600;
    justify-content: space-between;
    height: 68px;
    max-width: 800px;
    min-width: 768px;
    left: 50%;
    line-height: 48px;
    padding: 10px 20px 0;
    position: fixed;
    width: 800px;
  }
  .modal-open:checked ~ .modal-wrap .modal-footer {
    bottom: 20%;
    position: fixed;
    transform: translate(-50%, 0);
    width: 100%;
    z-index: 105;
  }
  .modal-footer > .btn-primary {
    cursor: pointer;
    left: 50%;
    padding: 0 40px;
    position: absolute;
    transform: translateX(-50%);
  }
}

/* モーダルウィンドウ内改修（220601） */
.modal_body {
  font-size: 16px;
  height: 80%;
  margin: auto;
  overflow: scroll;
  padding: 0;
}
.bg_condition {
  background: #efefef;
}
.modal_body .ttl_condition {
  background: #fff;
  box-sizing: border-box;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  color: #05aa22;
  display: flex;
  font-size: 13px;
  font-weight: bold;
  height: 48px;
}
.modal_body .list_condition {
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.modal_body .list_condition li {
  border-bottom: solid 1px #ccc;
  border-right: solid 1px #ccc;
  box-sizing: border-box;
  display: flex;
  height: 48px;
  width: 50%;
}
.modal-one .modal_body .list_condition li {
  border-right: none;
  width: 100%;
}
.modal_body .list_condition li:nth-child(2n) {
  border-right: none;
}
.modal_body .list_condition li.no-count,
.modal_body .list_condition li.no-count span.count {
  color: #ccc;
}
.modal_body .list_condition li input {
  left: -9999em;
  position: absolute;
}
.modal_body .list_condition li label {
  align-items: center;
  display: flex;
  height: 100%;
  padding-left: 34px;
  position: relative;
  width: 100%;
}
.modal_body .list_condition li label .count {
  color: #ff8501;
}
.modal_body .list_condition li label::before {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  content: '';
  height: 16px;
  left: 10px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 16px;
}
.modal_body .list_condition li input:checked + label {
  background: #ecf4e1;
}
.modal_body .list_condition li input:checked + label::before {
  background: #05aa22;
  border: 1px solid #05aa22;
}
.modal_body .list_condition li input:checked + label::after {
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  content: '';
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  height: 8px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  position: absolute;
  top: 18px;
  left: 15px;
  width: 4px;
}
.modal_body .list_condition li label a {
  color: #232b39;
  pointer-events: none;
  text-decoration: none;
}

@media only screen and (min-width:768px) {
  .modal_body .ttl_condition {
    font-size: 14px;
  }
  .modal_body .list_condition li,
  .modal-one .modal_body .list_condition li {
    border-right: solid 1px #ccc;
    width: 25%;
  }
  .modal_body .list_condition li:nth-child(2n) {
    border-right: solid 1px #ccc;
  }
  .modal_body .list_condition li:nth-child(4n) {
    border-right: none;
  }
  .modal_body .list_condition li label a {
    color: #0187cd;
    pointer-events: auto;
    text-decoration: underline;
  }
}

/* アコーディオン（220601） */
.wrap_more {
  position: relative;
}
.wrap_more_check {
  display: none;
}
.wrap_more_content {
  height: 0;
  overflow: hidden;
}
.wrap_more_label {
  align-items: center;
  cursor: pointer;
  display: flex;
  height: 100%;
  justify-content: space-between;
  padding: 0 10px;
  width: 100%;
}
.wrap_more_label::after {
  border-top: solid 2px #05aa22;
  border-right: solid 2px #05aa22;
  content: '';
  height: 6px;
  position: absolute;
  right: 10px;
  top: 18px;
  transform: rotate(135deg);
  width: 6px;
}
.wrap_more_check:checked ~ .ttl_condition .wrap_more_label::after {
  border-top: solid 2px #05aa22;
  border-right: solid 2px #05aa22;
  content: '';
  height: 6px;
  position: absolute;
  right: 10px;
  top: 22px;
  transform: rotate(-45deg);
  width: 6px;
}
.wrap_more_check:checked ~ .wrap_more_content {
  display: flex;
  height: auto;
}

@media only screen and (min-width:768px) {
  .wrap_more_label::after {
    border-top: solid 2px #05aa22;
    border-right: solid 2px #05aa22;
    content: '';
    height: 8px;
    position: absolute;
    right: 20px;
    top: 18px;
    transform: rotate(135deg);
    width: 8px;
  }
  .wrap_more_check:checked ~ .ttl_condition .wrap_more_label::after {
    border-top: solid 2px #05aa22;
    border-right: solid 2px #05aa22;
    content: '';
    height: 8px;
    position: absolute;
    right: 20px;
    top: 22px;
    transform: rotate(-45deg);
    width: 8px;
  }
}

/* トップページ エリア検索 */
/* 霊園・墓地を探す */
.modal-area a {
  color: #05aa22;
  font-weight: bold;
}

.modal-area .modal-dialog {
  background: #eee;
}

.modal-area .modal-header {
  box-sizing: border-box;
  background: #fff;
}

/* 霊園一覧 > */
section.sec_prefecture {
  display: flex;
  flex-flow: column wrap;
}

section.sec_prefecture .tab_prefecture {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  background: #fff;
  color: #05aa22;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  cursor: pointer;
}

section.sec_prefecture .tab_prefecture:nth-last-of-type(1) {
  margin-right: 0;
}

section.sec_prefecture .tab_prefecture a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 100%;
  padding-left: 20px;
}

/* 市区町村リスト */
.modal-area .modal_body {
  height: calc(100% - 48px);
  overflow-x: auto;
}

.modal-area .content {
  width: 100%;
  background: #fff;
}

.modal-area .modal_body .list_condition li {
  border-right: none;
  width: calc(100% / 2);
  position: relative;
}

.modal-area .modal_body .list_condition li:nth-child(odd) {
  border-right: 1px solid #ccc;
}

.modal-area .modal_body .list_condition li.no-count {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 5px 10px 20px;
}

.modal-area .modal_body .list_condition li a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px 5px 10px 20px;
}

.modal-area .modal_body .list_condition li a .count {
  font-weight: normal;
  color: #232b39;
  text-decoration-color: #05aa22;
}

/*====== PC ======*/
@media (min-width: 768px) {

  /* 霊園・墓地を探す */
  /* 霊園一覧 > */
  .modal-area section.sec_prefecture {
    flex-flow: row wrap;
    width: 100%;
  }

  .modal-area section.sec_prefecture .tab_prefecture {
    order: -1;
    cursor: pointer;
  }

  .modal-area section.sec_prefecture .tab_prefecture:nth-last-of-type(1) {
    margin-right: 0;
  }

  /* 市区町村リスト */
  .modal-area .modal_body .list_condition {
    margin-bottom: 0;
  }

  .modal-area .modal_body .list_condition li {
    width: 25%;
    margin: 0;
    border-right: 1px solid #ccc;
  }

  .modal-area .modal_body .list_condition li a {
    font-size: 1rem;
  }

  .modal-area .modal_body .list_condition li a .count {
    font-size: .875rem;
  }

}

/* MOON_L1-5539 */
/* MOON_L1-5341 当日見学枠 */
.calseep__calendar.visible-md .calseep__today div {
  cursor: pointer;
}
.calseep__calendar.visible-md .calseep__today div:hover {
  background-color: #f5faef;
}
/* MOON_L1-5341 電話モーダル */
.modal__tel {
  width: 100%;
  font-size: 15px;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1010;
}
.modal__tel:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.modal__tel:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}
.modal__tel::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}
.modal__tel .modal__bg {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, .8);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}
.modal__tel .modal__close {
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
  width: 24px;
  height: 24px;
}
.modal__tel .modal__close:before {
  color: #05aa22;
  content: "×";
  font-family: Material Icons;
  font-size: 1.5rem;
  position: absolute;
  right: 0;
}
.modal__tel .modal__container {
  display: flex;
  flex-direction: column;
  width: 94%;
  max-width: 480px;
  border-radius: 10px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 103;
  transform: translate(-50%, -50%);
}
.modal__tel .modal__body {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  padding: 10px;
  line-height: 1.5;
}
.modal__tel .tel_contents_top {
    border: 2px solid #05aa22;
    border-radius: 4px;
    padding: 2% 4%;
}
.modal__tel .tel_text {
    margin: 10px 0;
    text-align: center;
}
.modal__tel .tel_number {
    font-family: Roboto, sans-serif;
    font-weight: bold;
    font-size: 36px;
    line-height: 1;
    margin-top: 5px;
    text-align: center;
}
.modal__tel .tel_number_sub {
    font-size: 13px;
    font-weight: normal;
    text-align: center;
}
.modal__tel .detail-cv__title {
    display: block;
    margin-bottom: 8px;
}
.modal__tel .detail-cv__title--element {
    font-size: 16px;
    position: relative;
    font-weight: bold;
    padding: 0 20px;
}
.modal__tel .detail-cv__title--element::before,
.modal__tel .detail-cv__title--element::after{
    content: "";
    display: block;
    background: #05aa22;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.modal__tel .detail-cv__title--element::before{
    left: 0;
}
.modal__tel .detail-cv__title--element::after{
    right: 0;
}
.modal__tel .detail-cv__note{
    font-size: 14px;
    padding-left: 5px;
    background: linear-gradient(transparent 70%, #ffee93 0%);
    display: inline;
    line-height: 1.45;
}