@charset "utf-8";

.list-project-cont {
  background-image: url(../images/project/bg-list-project-wrap.png);
  background-position: center center;
  box-sizing: border-box;
  padding: 2em 0;
  margin-top: 30px;
}
.list-project-description {
  color: #3E3A39;
  line-height: 1.4;
}
.list-project-nav {
  float: left;
  width: 53%;
}
.list-project-post {
  float: right;
  width: 44%;
  background: #fff;
  box-sizing: border-box;
  padding: 1.5em 0;
  height: 700px;
  overflow: auto;
  /* スクロールバーを非表示（IE & Edge）*/
  /* -ms-overflow-style: none; */
  /* スクロールバーを自動で隠す（IE & Edge）*/
  /* -ms-overflow-style: -ms-autohiding-scrollbar; */
  -webkit-overflow-scrolling: touch;
}
.list-project {
  box-sizing: border-box;
  border-bottom: 1px solid #172A80;
  margin: 1em 1.75em;
}
.terms {
  font-size: 0;
}
.term-item {
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  padding: 0.15em 0.5em;
  line-height: 1.25;
  margin: 0.25em 0.5em;
  margin-left: 0;
}
.term-children {
  box-sizing: border-box;
  border: 1px solid #E7E7E7;
  color: #818181;
  font-size: 12px;
  font-size: 1.2rem;
  min-width: 70px;
  text-align: center;
}
.list-project-menu {
  text-align: center;
}
.menu-taxonomy {
  font-size: 0;
  margin-bottom: 30px;
}
.menu-taxonomy-item {
  display: inline-block;
  vertical-align: top;
  font-size: 24px;
  font-size: 2.4rem;
  line-height: 1.25;
  width: 400px;
  color: #9C9E9E;
  background: #fff;
  border: 1px solid #9C9E9E;
  box-sizing: border-box;
  padding: 9px;
}
.menu-taxonomy-item.js-tab-active {
  color: #fff;
  background: #3699C9;
  border-color: #3699C9;
}
.menu-taxonomy-item > a {
  display: block;
}

.menu-terms-parent {
  height: 100%;
}
.taxonomy-part .menu-terms-children {
  display: none !important;
}
.taxonomy-disease .menu-terms-children {
  display: none;
}

.taxonomy-disease .menu-terms-children.js-menu-opened {
  display: block;
  -webkit-animation: fadeIn 0.5s linear 0s 1;
  -moz-animation: fadeIn 0.5s linear 0s 1;
  -ms-animation: fadeIn 0.5s linear 0s 1;
  -o-animation: fadeIn 0.5s linear 0s 1;
  animation: fadeIn 0.5s linear 0s 1;
}
.taxonomy-wrap {
  position: relative;
  box-sizing: border-box;
  padding: 5% 0;
}
.taxonomy-part .menu-term-item {
  font-size: 20px;
  font-size: 2.0rem;
  line-height: 1.25;
  text-align: center;
  width: 188px;
  min-height: 60px;
  display: table;
}
.taxonomy-part .menu-term-item > a {
  display: table-cell;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid rgba(156, 158, 158, 0.8);
}
.taxonomy-part .menu-term-item.js-tab-active > a {
  color: #fff;
  background: #3699C9;
  border-color: #fff;
  font-weight: 700;
}
.taxonomy-part {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.taxonomy-part .menu-term-item-parent {
  position: absolute;
}
#menu-term-item-parent-head {
  left: 6%;
}
#menu-term-item-parent-chest {
  top: 28%;
  left: 6%;
}
#menu-term-item-parent-abdomen_01 {
  top: 35%;
  right: 6%;
}
#menu-term-item-parent-abdomen_02 {
  top: 48%;
  right: 6%;
}
#menu-term-item-parent-whole_body_all {
  bottom: 0;
  left: 6%;
}
.figure-taxonomy-part {
  width: 200px;
  margin: 0 auto;
  position: relative;
}
.figure-taxonomy-part-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.figure-taxonomy-part-base {
  position: relative;
}
.figure-taxonomy-part-all {
}
.figure-taxonomy-part-head {
  width: 43%;
}
.figure-taxonomy-part-chest {
  width: 57.5%;
  top: 19.75%;
}
.figure-taxonomy-part-abdomen_01 {
  width: 57.7%;
  top: 36.5%;
}
.figure-taxonomy-part-abdomen_02 {
  width: 53.5%;
  top: 44.2%;
}

.taxonomy-wrap + .taxonomy-wrap {
  padding: 0;
}
.taxonomy-disease .menu-term-item {
  text-align: center;
  line-height: 1.3;
}
.taxonomy-disease .menu-term-item > a {
  border: 1px solid #9C9E9E;
  border-radius: 8px;
  padding: 15px 5px;
  box-sizing: border-box;
  background: #fff;
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  color: #9C9E9E;
  position: relative;
}
.taxonomy-disease .menu-term-item-parent > a:before {
  content: " ";
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  height: 100%;
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  margin: auto;
}
#menu-term-item-parent-cardiovascular_disease > a:before {
  background-image: url(../images/project/icon-menu-term-item-parent-cardiovascular_disease.svg);
  width: 24px;
}
#menu-term-item-parent-cardiovascular_disease.js-tab-active > a:before {
  background-image: url(../images/project/icon-menu-term-item-parent-cardiovascular_disease-active.svg);
}
#menu-term-item-parent-lifestyle_diseases > a:before {
  background-image: url(../images/project/icon-menu-term-item-parent-lifestyle_diseases.svg);
  width: 40px;
}
#menu-term-item-parent-lifestyle_diseases.js-tab-active > a:before {
  background-image: url(../images/project/icon-menu-term-item-parent-lifestyle_diseases-active.svg);
}
#menu-term-item-parent-cancer > a:before {
  background-image: url(../images/project/icon-menu-term-item-parent-cancer.svg);
  width: 35px;
}
#menu-term-item-parent-cancer.js-tab-active > a:before {
  background-image: url(../images/project/icon-menu-term-item-parent-cancer-active.svg);
}
#menu-term-item-parent-constitution_check > a:before {
  background-image: url(../images/project/icon-menu-term-item-parent-constitution_check.svg);
  width: 34px;
}
#menu-term-item-parent-constitution_check.js-tab-active > a:before {
  background-image: url(../images/project/icon-menu-term-item-parent-constitution_check-active.svg);
}
#menu-term-item-parent-dementia_all > a:before {
  background-image: url(../images/project/icon-menu-term-item-parent-dementia_all.svg);
  width: 36px;
}
#menu-term-item-parent-dementia_all.js-tab-active > a:before {
  background-image: url(../images/project/icon-menu-term-item-parent-dementia_all-active.svg);
}
.taxonomy-disease .menu-term-item-parent > a:after {
  content: " ";
  border: 1px solid #9C9E9E;
  border-left: none;
  border-bottom: none;
  width: 15px;
  height: 15px;
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: rotate(45deg);
  transition: all 0.5s;
}
.taxonomy-disease .menu-term-item-parent.js-tab-active > a:after {
  transform: rotate(135deg);
  border-color: #fff;
}
.taxonomy-disease .menu-term-item-parent.js-tab-active > a,
.taxonomy-disease .menu-term-item-children.js-tab-active > a {
  background: #3699C9;
  border-color: #3699C9;
  color: #fff;
  font-weight: 700;
}
.taxonomy-disease .menu-term-item-parent {
  font-size: 24px;
  font-size: 2.4rem;
  margin: 0 auto 15px auto;
}
.taxonomy-disease .menu-term-item-children {
  margin: 10px 28px;
  font-size: 18px;
  font-size: 1.8rem;
}
.list-terms {
  float: left;
  width: 60%;
  margin-bottom: 0.25em;
}
.img-post {
  float: right;
  width: 36.5%;
  margin-left: 3.5%;
  margin-bottom: 1em;
}
.img-post-thumbnail {
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 0;
  padding-top: 100%;
}
.list-terms .term-parent {
  display: none;
}
.list-terms .terms-disease {
  display: none;
}
.list-terms .term-item > a {
  pointer-events: none;
  cursor: default;
  display: inline-block; /* IE & Edgeで"pointer-events"のバグ対策（"inline"では動作しない）*/
  vertical-align: top;
}
.title-project-post {
  color: #172A80;
  font-weight: 700;
  line-height: 1.68;
}
.content-project-post {
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 0.5em 0;
}
.link-post {
  margin: 1.15em 0 1.5em 0;
}
.link-post > a {
  background: #979898;
  color: #fff;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.7;
  box-sizing: border-box;
  padding: 0.25em 0.75em 0.25em 1.75em;
  min-width: 170px;
  display: inline-block;
  vertical-align: top;
  text-align: right;
}
.link-post-text {
  float: left;
}
.link-post .page-next-text,
.link-post .page-next-text:before {
  border-color: #fff;
}


/* SP
----------------------------------------------------------*/
@media only screen and (max-width: 750px) {

  .menu-taxonomy-item {
    width: 157.5px;
    font-size: 16px;
    font-size: 1.6rem;
  }

  .list-project-inner {
    padding-left: 4%;
    padding-right: 4%;
  }


  .list-project-nav,
  .list-project-post {
    float: none;
    width: auto;
  }
  .list-project-nav {
    padding-left: 4%;
    padding-right: 4%;
  }
  .taxonomy-wrap {
    padding: 0;
    margin-bottom: 10px;
  }
  .figure-taxonomy-part {
  display: none;
  }
  .taxonomy-part,
  .taxonomy-part .menu-term-item-parent {
    position: relative;
    left: 0 !important;
  }
  .taxonomy-part .menu-term-item,
  .taxonomy-disease .menu-term-item {
    display: block;
    width: auto;
    min-height: 0;
    font-size: 16px;
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
  .taxonomy-part .menu-term-item > a,
  .taxonomy-disease .menu-term-item > a {
    display: block;
    padding: 10px;
  }
  .taxonomy-disease .menu-term-item-children {
    font-size: 14px;
    font-size: 1.4rem;
    margin: 10px 2em;
  }

  .list-project-post{
    height: 500px;
  }
  .title-project-post {
    font-size: 12.5px;
    font-size: 1.25rem;
  }
  .content-project-post,
  .link-post > a {
    font-size: 11px;
    font-size: 1.1rem;
  }
  .link-post > a {
    min-width: 133px;
  }
  .term-children {
    font-size: 10px;
    font-size: 1.0rem;
    min-width: 40px;
  }
  .list-terms {
    width: 67%;
  }
  .img-post {
    width: 29%;
    margin-left: 4%;
  }
  .taxonomy-disease .menu-term-item-parent > a:before {
    left: 10px;
  }
  #menu-term-item-parent-cardiovascular_disease > a:before {
    width: 17px;
  }
  #menu-term-item-parent-lifestyle_diseases > a:before {
    width: 27px;
  }
  #menu-term-item-parent-cancer > a:before {
    width: 24px;
  }
  #menu-term-item-parent-dementia_all > a:before {
    width: 24px;
  }
  #menu-term-item-parent-constitution_check > a:before {
    width: 24px;
  }
  .taxonomy-disease .menu-term-item-parent > a:after {
    width: 8px;
    height: 8px;
  }


}
