/*----- 事例紹介　共通 three column Section　
--------------------------------------------------------------*/

.case_text{
  font-size: 18px;
  line-height: 1em;
  padding: 0 0 30px;
  text-align: center;
}

@media screen and (max-width: 960px){
  .case_text{
    font-size: 18px;
    line-height: 1.6em;
    /* padding-bottom:30px; */
    text-align: left;
  }
}

.case-common{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 2.8rem;
 }

.case_tag_list{
  width: 100%;
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-flow: wrap;
  gap: 10px;
}


/* 　-- 事例 アーカイブページ --　*/

/*　サムネイル　*/
.case_list {
  flex-direction: column;
 }

.case_thumb_img img{
  width:  100%;
  height: 220px;
  object-fit: cover; 
  border: #000 1px solid;
}

.case_ttl {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8em;
  margin-bottom: 8px;
}

@media screen and (max-width: 960px){
  .case-common{
    grid-template-columns:1fr;
    gap: 1.5rem;
  }
  .case_list {
    width:100%;
    margin : 0 0 20px ;
  }
  .case_ttl {
    font-size: 18px;
    margin-bottom: 0;
    line-height: 1.4em;
  }
}

.box_tag{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.single_wrap{
  margin-top: 0.5em;
}

.single-casestudy-taglist{
  display: flex;
  align-items: center;
  flex-flow: wrap;
  gap: 0.5em;
  padding: 10px 0 40px;
}

.single-casestudy-taglist li a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0.5em;
  background: #fff;
  border: 2px solid #00A8A6;
  color: #000;
}

.single-casestudy-taglist li.current a {
  background-color: #00A8A6;
  color: #fff;
}

.single-casestudy-taglist a:before {
	content: "#";	
}

.single-casestudy-taglist li a:hover{
  color: #fff;
  background-color: #00A8A6;
}

.casestudy-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0.5em;
  background: #c7eaea;
  color: #000;
}

.case-image {
  margin: 2rem 0;
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.case-image img {
  width: 100%;
  height: 300px;
  object-fit: cover; 
}

@media screen and (max-width: 960px){

.case-image {
  flex-direction: column;
  gap: 10px;
  }
}

/* -----　事例単独ページ　-----　*/

/* タイトル　*/

.case_single_title {
  font-size: 20px;
  font-weight: normal;
  margin: 0;
  padding: 6px 0;
  width: 100%;
  border-bottom: #00A8A6 2px solid;
}
.case_data {
  padding-top: 0;
}


/*　事例個別記事　*/

.case-item {
  width: 100%;
  font-size: 16px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: row;
 }
.case-item dt {
  width: 10%;
  color: #fff;
  font-style: normal;
  font-weight: 500;
  padding: 0px 10px;
  background-color: #00A8A6;
}
.case-item dd {
  width: 90%;
  padding-left: 20px;
}
.caution{
  display: block;
  margin-bottom: 30px;
}

@media screen and (max-width: 960px){
.case_single_title {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
    padding: 20px 0 3px;
    width: 100%;
    border-bottom: #00A8A6 2px solid;
  }
.case_data {
    padding-top: 0;
  }
.case-item {
    padding: 10px 0;
    flex-direction: column;
   }
.case-item dt {
    width: 93%;
    font-size: 16px;
  }
.case-item dd {
    width: 100%;
    padding-top: 10px;
    padding-left: 0;
    line-height: 1.6em;
    font-size: 16px;
  }
.caution{
    line-height: 1.6em;
  }
}


@media screen and (max-width: 960px){
  .case-common{
    /* flex-direction: column; */
  }

  .case_tag_list{
    width: 100%;
    margin-top: 0px;
    flex-flow: wrap;
    gap: 0;
  }

  .box_case {
    width:100%;
    }

  .single-casestudy-taglist{
    margin-bottom: 30px;
      padding: 10px 0 ;
    }
  }


/*----- ページネーション　事例用
--------------------------------------------------------------*/
 .pagination{
  margin: 24px 0;
  clear: both;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

/*page_nav*/
.page_nav {
  padding-top: 0;
  display: flex;
  align-items: center;
}
.page_nav span, .page_nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  background: #00A8A6;
  border: 1px solid #fff;
  color: #fff;
}
.page_nav span {
  border: 1px solid #00A8A6;
}

.page_nav .dots{
  /* opacity: 0.6; */
  background-color: #fff;
  border: solid 1px #00A8A6;
  color: #00A8A6;
  /* background-color: #fff; */
  opacity: 1;
}

.page_nav a {
  background: #fff;
  border: 1px solid #00A8A6;
  color: #00A8A6;
  transition: all 0.3s ease-in-out;
}
.page_nav a.next, .page_nav a.prev {
  font-size: 1em;
}
.page_nav a:hover {
  background: #00A8A6;
  border: 1px solid #00A8A6;
  color: #fff;
}

@media screen and (max-width: 480px){
  .page_nav span, .page_nav a {
      width: 34px;
      height: 34px;
      line-height: 34px;
  }
  
} 




