@charset "UTF-8";

/* withdoctors 実例トップ固有
 -------------------------------------------------- */

/* arrow
 -------------------------------------------------- */

/* --------------------------------------------------
 unique for withwood jitsurei index
 -------------------------------------------------- */

.sticky {
  position: -webkit-sticky;
  position: sticky;
}

.sticky:after,.sticky:before {
  content: "";
  display: table;
}

.index-content,.wrapExampleTop .inner {
  margin: auto;
  max-width: 1400px;
  width: auto;
}

#case-categores {
  background-color: #fff;
  padding: 0 16px;
  top: 51px;
  z-index: 12;
}

#case-items-area {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.case-col__title,.case-col__type {
  position: relative;
  -webkit-transition: color .4s linear;
  transition: color .4s linear;
  z-index: 11;
}

.case-col__link:hover .case-col__title,.case-col__link:hover .case-col__type {
  color: #fff;
}

.case-list {
  display: none;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.case-list__item {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  border-bottom: 1px solid #ccc;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-size: 140%;
  font-weight: 700;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px 0;
  text-align: center;
  width: 50%;
}

.case-list__item:last-child .case-list__link {
  border-right: none;
}

.case-list__link {
  border-right: 1px solid #333;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  padding: 2% 0;
  width: 100%;
}

.case-list__link:after {
  color: inherit;
  content: "＞";
  display: inline-block;
  margin-left: 1.5em;
}

.case-list__link.current {
  color: #d70f1a;
}

.case-col {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0 2px 4px;
  position: relative;
  width: 100%;
}

.case-col:last-child {
  margin-right: auto;
}

.case-col__link {
  display: block;
  position: relative;
}

.case-col__link:before {
  background-color: transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color .4s linear;
  transition: background-color .4s linear;
  width: 100%;
  z-index: 1;
}

.case-col__link:hover:before {
  background-color: rgba(0, 0, 0, .4);
}

.case-col__img {
  background-color: #ccc;
  display: block;
  width: 100%;
}

.case-col__cat {
  left: 0;
  position: absolute;
  top: 0;
  z-index: 10;
}

.case-col__box {
  background-color: #fff;
  display: block;
  margin: -40px auto 0;
  padding: 16px 8px 8px;
  position: relative;
  text-align: center;
  width: 88%;
}

.case-col__type {
  font-size: 110%;
  margin: 0 0 .5em;
}

.case-col__title {
  font-size: 140%;
}

.case-subject {
  position: relative;
}

.case-subject__list {
  background-color: hsla(0, 0%, 100%, .9);
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  -webkit-transition: left .5s ease-in-out 0s;
  transition: left .5s ease-in-out 0s;
  width: 100%;
}

.case-subject__list input[type=checkbox] {
  height: 0;
  overflow: hidden;
  visibility: hidden;
  width: 0;
}

.case-subject__list .chip-box {
  padding: 4vw 12vw;
}

.case-subject__selecter {
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 4vw 0;
  text-align: center;
}

.case-subject__selecter,.case-subject__selecter>.btn-wkcmn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.case-subject__selecter>.btn-wkcmn {
  border-width: 2px;
  margin: 0 1vw;
  padding: 2vw 4vw;
}

.case-subject__selecter>.btn-wkcmn--select {
  -webkit-align-content: space-between;
  -ms-flex-line-pack: justify;
  align-content: space-between;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  font-size: 3.5vw;
  justify-items: center;
  min-width: 60vw;
  padding: 5px 0;
}

.case-subject__selecter>.btn-wkcmn--select,.case-subject__selecter>.btn-wkcmn--select>span {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
}

.case-subject__selecter>.btn-wkcmn--select>span {
  -webkit-box-flex: 2;
  -webkit-flex-grow: 2;
  -ms-flex-positive: 2;
  flex-grow: 2;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 1vw 3vw;
}

.case-subject__selecter>.btn-wkcmn--select>i {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  border-left: 1px solid grey;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-items: center;
  width: 10vw;
}

.case-subject__selecter>.btn-wkcmn--select>i:after {
  border: 5px solid transparent;
  border-top: 8px solid #333;
  border-bottom: none;
  content: "";
  display: block;
  height: 0;
  margin: auto;
  width: 0;
}

.case-subject__selecter>.btn-wkcmn--select.is-open>i:after {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.case-subject__selecter>.btn-wkcmn--clear.is-disable {
  cursor: not-allowed;
  opacity: .3;
}

.case-subject__selecter>.btn-wkcmn--clear:after {
  content: "＞";
  display: inline-block;
  margin-left: 1vw;
}

.case-checklist {
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  margin: 0 4vw 4vw;
}

.case-checklist__head {
  font-size: 3.5vw;
  margin: 1vw 2vw 1vw 0;
  white-space: nowrap;
  word-break: keep-all;
}

.case-checklist__list {
  margin: 0;
  padding: 0;
}

.case-checklist__item {
  font-size: 2.5vw;
  line-height: 1;
  margin: .5vw;
  padding: 1vw 2.5vw;
}

.btn-wkcmn {
  background-color: transparent;
  border: 1px solid #000;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #333;
  cursor: pointer;
  display: inline-block;
}

.cat-chip {
  background-color: #666;
}

.cat-chip,.new-icon:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-size: 120%;
  font-weight: 700;
  margin: 0;
  padding: 4px 8px;
  text-align: center;
  width: 80px;
}

.new-icon:before {
  background-color: #a61918;
  content: "new";
  text-transform: uppercase;
}

@media only screen and (max-width: 1023px) {
  .case-list__item:nth-child(2n) .case-col__link,.case-list__item:nth-child(2n) .case-list__link {
    border-right: none;
  }
}

@media only screen and (max-width: 768px) {
  #case-categores {
    position: static;
  }
  .case-subject__close {
    cursor: pointer;
    float: right;
    height: 40px;
    margin-top: -2vw;
    padding: 8px;
    position: -webkit-sticky;
    position: sticky;
    right: 0;
    top: -2vw;
    width: 40px;
    z-index: 10;
  }
  .case-subject__close:after,.case-subject__close:before {
    background-color: #333;
    bottom: 0;
    content: "";
    display: block;
    height: 1px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
  }
  .case-subject__close:before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .case-subject__close:after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .case-subject__list {
    bottom: 0;
    left: 100vw;
    overflow: scroll;
    padding: 2vw 0;
    position: fixed;
    right: 0;
    top: 51px;
    width: 100vw;
    z-index: 15;
  }
  .case-subject__list.is-open {
    left: 0;
  }
  .case-subject__list .chip-box {
    border: none;
    border-radius: 0;
    display: block;
    font-size: 4vw;
    text-align: left;
  }
  .case-subject__list .chip-box.is-select,.case-subject__list input[type=checkbox]:checked+.chip-box {
    position: relative;
  }
  .case-subject__list .chip-box.is-select:after,.case-subject__list input[type=checkbox]:checked+.chip-box:after {
    border-bottom: 2px solid #666;
    border-right: 2px solid #666;
    content: "";
    display: block;
    height: 2.5vw;
    position: absolute;
    right: 25vw;
    top: 50%;
    -webkit-transform: rotate(45deg) translateY(-100%);
    transform: rotate(45deg) translateY(-100%);
    width: 1vw;
  }
}

@media only screen and (min-width:415px) and (max-width: 1023px) {
  .case-col:nth-child(2n - 1) {
    margin-left: 0;
  }
  .case-col:nth-child(2n) {
    margin-right: 0;
  }
}

@media only screen and (min-width: 415px) {
  .case-col {
    width: calc((100% - 4px) / 2);
  }
}

@media only screen and (min-width: 769px) {
  #case-categores {
    padding: 0;
    top: 81px;
  }
  .case-subject__list {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    left: 0;
    margin: auto;
    max-height: 0;
    overflow: hidden;
    right: 0;
    top: 100%;
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
    width: auto;
  }
  .case-subject__list.is-open {
    max-height: 250%;
    padding: 1rem 0;
  }
  .case-subject__list>li {
    float: left;
    margin: .5rem .7rem;
  }
  .case-subject__list .chip-box {
    border-width: 2px;
    font-size: 1.2rem;
    min-width: 9.25rem;
    padding: .25rem 1rem;
  }
  .case-subject__list .chip-box.is-select,.case-subject__list input[type=checkbox]:checked+.chip-box {
    background-color: grey;
    color: #fff;
  }
  .case-subject__selecter {
    margin: 2rem 0;
  }
  .case-subject__selecter>.btn-wkcmn {
    margin: 0 .5rem;
    padding: .8rem 1.2rem;
  }
  .case-subject__selecter>.btn-wkcmn--select {
    font-size: 1.4rem;
    min-width: 400px;
    padding: 5px 0;
  }
  .case-subject__selecter>.btn-wkcmn--select>span {
    padding: .5rem;
  }
  .case-subject__selecter>.btn-wkcmn--select>i {
    width: 64px;
  }
  .case-subject__selecter>.btn-wkcmn--clear {
    padding-right: .3rem;
  }
  .case-subject__selecter>.btn-wkcmn--clear:after {
    margin-left: .5rem;
  }
  .case-checklist {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 1rem 1rem;
    padding: 0;
  }
  .case-checklist__head {
    font-size: 1.2rem;
    margin: .25rem 1rem .25rem 0;
  }
  .case-checklist__item {
    font-size: 1rem;
    margin: .25rem .1rem;
    padding: .25rem .5rem;
  }
}

@media only screen and (min-width: 1024px) {
  .case-list {
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
  .case-list__item {
    border-bottom-color: #333;
    width: 100%;
  }
  .case-col {
    margin: 0 2px 4px;
    width: calc((100% - 9px) / 3);
  }
  .case-col:nth-child(3n+1) {
    margin-left: 0;
  }
  .case-col:nth-child(3n) {
    margin-right: 0;
  }
}
