@charset "utf-8";

#facility .heading {
  background: none;
}

#facility .case-link a {
  color: #222;
  text-decoration: none;
}
#facility .case-link a span {
  display: block;
  line-height: 1.4;
}
#facility .case-link a {
  position: relative;
  border: 2px dashed #D4D3C9;
}
#facility .case-link a::after {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  border: 10px solid transparent;
  border-top: 10px solid #009244;
  bottom: 0;
}

#facility .case-result > div {
  line-height: 1.6;
}
#facility .case-result h4 {
  background: #009244;
  text-align: center;
  line-height: 1;
  margin-top: 15px;
}
#facility .case-result .l_row > *:nth-child(1) strong {
  display: inline-block;
  color: #009244;
  padding-bottom: .3em;
}
#facility .case-result .l_row > *:nth-child(2) img {
  width: 49%;
}
#facility .list-fa {
  overflow: hidden;
}
#facility .list-fa li {
  float: left;
  display: table;
  padding-bottom: 10px;
}
#facility .list-fa li > * {
  display: table-cell;
  vertical-align: middle;
  line-height: 1.4;
}


/*-----------------------------------------------
スマホ向けスタイル（～768px）
-----------------------------------------------*/
@media only screen and (max-width: 768px) {
  #facility .heading {
    padding: 10px 0 0;
  }
  #facility .heading h2 img {
    height: 36px;
  }
  #facility .heading h2 img + img {
    margin-top: .2em;
  }
  #facility .case-link .l_row {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: stretch;
  }
  #facility .case-link .l_row> * + * {
    margin-top: 0;
  }
  #facility .case-link a {
    width: 48%;
    padding: 10px 10px 25px;
  }
  #facility .case-link a:nth-child(3),
  #facility .case-link a:nth-child(4) {
    margin-top: 10px;
  }
  #facility .case-link a span {
    font-size: 1.1rem;
  }
  
  #facility .case-result h4 {
    padding: 5px;
  }
  #facility .case-result h4 img {
    height: 17px;
  }
  #facility .case-result .l_row {
    padding: 0 0 10px;
  }
  #facility .case-result .l_row > *:nth-child(1) strong {
    font-size: 1.8rem;
  }
  #facility .case-result .l_row > *:nth-child(2) {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  #facility .list-fa li {
    width: 50%;
  }
  #facility .list-fa li > span {
    width: 70%;
    padding: 0 5px 0 8px;
    font-size: 1.3rem;
  }
  
}

/*-----------------------------------------------
PC・タブレット向けスタイル（769px～）
-----------------------------------------------*/
@media only screen and (min-width: 769px), print {
  #facility .heading h2 {
    padding: 30px 0 0;
  }
  
  #facility .case-link {
    margin-left: -16px;
    margin-right: -16px;
  }
  #facility .case-link .l_row {
    table-layout: fixed;
    border-spacing: 16px;
  }
  #facility .case-link a {
    padding: 10px 15px 30px;
  }
  #facility .case-link a span {
    font-size: 1.3rem;
  }
  #facility .case-link a::after {
    border-width: 15px;
    bottom: -5px;
  }
  #facility .case-link a:hover {
    border-color: #009244;
    border-style: solid;
    background: #F4F7D5;
  }
  
  #facility .case-result h4 {
    padding: 8px;
  }
  #facility .case-result h4 img {
    height: 26px;
  }
  #facility .case-result .l_row {
    table-layout: fixed;
    padding: 20px 0;
  }
  #facility .case-result .l_row > *:nth-child(1) {
    padding-right: 20px;
  }
  #facility .case-result .l_row > *:nth-child(1) strong {
    font-size: 2.0rem;
  }
  #facility .case-result .l_row > *:nth-child(2) {
    white-space: nowrap;
    text-align: right;
  }
  
  #facility .list-fa li {
    width: 25%;
  }
  #facility .list-fa li > span {
    width: 80%;
    padding: 0 20px 0 15px;
  }
  #facility a.link-btn {
    min-width: inherit;
  }
  
}


