@charset "UTF-8";

#mv{
    background: url(../../keiseikai/images/mv-monitor.jpg) 40% 0;
    background-size: 1340px auto;
    position: relative;
}

.cases-btn nav#in-page-nav{
   border-bottom: none; 
}

.cases-btn nav#in-page-nav ul{
   padding: 0; 
}
   
.cases-btn nav.scroll-fixed{
    display: none;
}

.cases-btn ul li{
    position: relative;
}

.cases-btn ul li::after{
    position: absolute;
    right: 42%;
    bottom: -34%;
    content:'\f107';
    font-family: FontAwesome;
    color: #80c3c0;
}




.cases-comment p{
	letter-spacing: 0.1em;
    line-height : 1.75;
}

div.cases-comment p.txt-cl-green{
    margin-left: 20px;
}

.cases-link{
    display: flex;
    display: -ms-flexbox; /* IE10 */
    display: -webkit-box; /* Android4.3以下、Safari3.1〜6.0 */
    display: -webkit-flex; /* Safari6.1以降 */    
    justify-content: flex-end;
}


/* comment icon */
.edit.icon {
  color: #80c3c0;
  position: absolute;
  margin-top: 13px;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  border: solid 1px #80c3c0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.edit.icon:before {
  content: '';
  position: absolute;
  left: -12px;
  top: -1px;
  width: 0px;
  height: 0px;
  border-left: solid 5px transparent;
  border-right: solid 5px #80c3c0;
  border-top: solid 2px transparent;
  border-bottom: solid 2px transparent;
}

/* icon */
.paperclip.icon {
  color: #80c3c0;
  position: absolute;
  margin-left: 4px;
  margin-top: 7px;
  width: 6px;
  height: 12px;
  border-radius: 4px 4px 0 0;
  border-left: solid 1px #80c3c0;
  border-right: solid 1px #80c3c0;
  border-top: solid 1px #80c3c0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.paperclip.icon:before {
  content: '';
  position: absolute;
  top: 11px;
  left: -1px;
  width: 4px;
  height: 6px;
  border-radius: 0 0 3px 3px;
  border-left: solid 1px #80c3c0;
  border-right: solid 1px #80c3c0;
  border-bottom: solid 1px #80c3c0;
}
.paperclip.icon:after {
  content: '';
  position: absolute;
  left: 1px;
  top: 1px;
  width: 2px;
  height: 10px;
  border-radius: 4px 4px 0 0;
  border-left: solid 1px #80c3c0;
  border-right: solid 1px #80c3c0;
  border-top: solid 1px #80c3c0;
}

/* risk icon */
.bookmark.icon {
  color: #80c3c0;
  position: absolute;
  margin-left: 3px;
  margin-top: 8px;
  width: 12px;
  height: 15px;
  border-radius: 1px 1px 0 0;
  border-top: solid 1px #80c3c0;
  border-left: solid 1px #80c3c0;
  border-right: solid 1px #80c3c0;
}
.bookmark.icon:before {
  content: '';
  position: absolute;
  top: 10px;
  left: 1px;
  width: 7px;
  height: 7px;
  border-top: solid 1px #80c3c0;
  border-left: solid 1px #80c3c0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

@media screen and (max-width: 834px) {
    #mv{
        background-size: cover;
        background-position: center;
    }
    
    .cases-btn ul li::after{
        content: '';
    }
}


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


/*症例検索*/
.cases-h3 {
  font-weight: 500;
  margin-bottom: 10px;
  border-bottom: 1px solid #80c3c0;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.cases-nav {
  margin: 0 -3px;
  margin-bottom: 20px;
}
.cases-nav button {
  float: left;
  width: calc(100% / 7 - 6px);
  margin: 0 3px;
  background-color: #80c3c0;
  height: 3em;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 5px;
  line-height: 1.1;
  border: 2px solid #80c3c0;
}
.cases-nav button:hover {
  background-color: #fff;
  color: #80c3c0;
}
.cases-nav button span {
  display: inline-block;
}
.cases-nav button.addarrow {
  position: relative;
  background-color: #fff;
  color: #80c3c0;
}
.cases-nav button.addarrow::before,
.cases-nav button.addarrow::after {
  position: absolute;
  content: "";
  width: 0; height: 0;
  border-top: 15px solid #80c3c0;
  border-bottom: 15px solid transparent;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  left: calc(50% - 15px);
  left: -webkit-calc(50% - 15px);
}
.cases-nav button.addarrow::before {
  bottom: -30px;
}
.cases-nav button.addarrow::after {
  border-top-color: #fff;
  bottom: -27px;
}
.gallery {
margin: 0 -5px;
display: flex;
flex-wrap: wrap;
}
.gallery-item {
border: 1px solid #80c3c0;
padding: 10px 10px 0;
margin: 0 5px 10px;
width: calc(50% - 10px);
width: -webkit-calc(50% - 10px);
}

.gallery-item .cases-imgbox {
place-content: center;
margin-bottom: 10px;
}
.gallery-item .cases-imgbox img {
width: 100%;
object-fit: contain;

}
.cases-comment {
padding-bottom: 15px;
}
.cases-comment:last-of-type {
padding-bottom: 25px;
}
.cases-comment summary {
  border-bottom: 1px solid #80c3c0;
  position: relative;
}
.cases-comment summary:hover {
  background-color: #eee;
}

.case-h3 {
line-height: 1.3;
margin-bottom: 10px;
}
.case-h3 a {
display: inline-block;
}

.cases-price-p {
margin: 5px auto 2px;
line-height: 1.3;
font-size: 1.7rem;
}
.cases-suppriment-p {
font-size: 1.5rem;
margin-bottom: 10px;
color: #666;
}

.cases-comment .summary .down-arrow {
  position: absolute;
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  width: 1em;
  height: 1em;
  border: 0.1em solid #80c3c0;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
  right: 5px;
  bottom: 0.2em;
  transition: 0.5s;
  -webkit-transition: 0.5s;
}
.cases-comment .summary.open .down-arrow {
  transform: translateY(-25%) rotate(-45deg);
  bottom: -0.2em;
  transition: 0.5s;
  -webkit-transition: 0.5s;
}

.cases-comment .summary {
  display: block; /*デフォルトの三角形を削除*/
  cursor: pointer;
}
.cases-comment .summary::-webkit-details-marker {
  /* Safari-デフォルトの三角形を削除*/
  display: none;
}
.cases-comment .summary p {
  font-size: 1.5rem;
}
.cases-comment .answer {
  overflow: hidden;
}
.cases-comment .answer p {
  font-size: 1.5rem;
  line-height: 1.4;
}

.gallery-item .to-detail-btn {/*ボタン*/
  border: 1px solid #80c3c0;
  border-radius: 10px;
  background-color: #80c3c0;
  height: 3em;
  display: grid;
  place-content: center;
  padding: 0 10px 0;
  margin-bottom: 10px;
  bottom: 0;
  width: auto;
}

.gallery-item .to-detail-btn span {
  color: #fff;
  font-weight: bold;
  line-height: 1.2;
}
.gallery-item .to-detail-btn:hover {
  background-color: #fff;
}
.gallery-item .to-detail-btn:hover span {
  color: #80c3c0;
}

@media(width <= 768px) {   /*1列4つまで*/
  .cases-nav {
      margin-bottom: 0;
  }
  .cases-nav button {
      width: calc(100% / 4 - 6px);
      margin-bottom: 20px;
      font-size: 15px;
  }
  .gallery {
    display: block;
  }
  .gallery-item {
    width: auto;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  .gallery-item .to-detail-btn {/*ボタン*/
    height: 2.5em;
  }
  .gallery-item .to-detail-btn span {
    font-size: 14px;
  }
  .case-h3 {
    margin-bottom: 5px;
  }
  .case-h3 a {
    font-size: 1.5rem;
  }
  
  .cases-price-p {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }
  .cases-suppriment-p {
    font-size: 14px;
  }
  .cases-comment .answer p {
    font-size: 14px;
  }
}