@charset "UTF-8";
.p-eigyousyo__inner {
  padding: 0 2rem;
}

.p-eigyousyo__list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.p-eigyousyo__listCard:after {
  content: "";
  display: block;
  height: 0;
}

.p-eigyousyo__listCardItem {
  position: relative;
  width: calc(16.6666666667% - 1rem);
  margin-bottom: 3rem;
  text-align: center;
  border: 1px solid #3d3d3d;
  border-radius: 5px;
  overflow: hidden;
  margin-right: 1rem;
}
@media screen and (max-width: 1028px) {
  .p-eigyousyo__listCardItem {
    width: calc(25% - 1rem);
  }
}
@media screen and (max-width: 767px) {
  .p-eigyousyo__listCardItem {
    width: calc(50% - 1rem);
  }
}
.p-eigyousyo__listCardItem:after {
  content: "";
  background: url(/common/img2019/c_label_under.png) no-repeat;
  background-size: contain;
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 30px;
  height: 30px;
}

.p-eigyousyo__listLink {
  font-size: 1.6rem;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.js-accordion__li {
  position: relative;
}
.js-accordion__li .p-eigyousyo__accordionSubmenu {
  overflow: auto;
}

.js-submenu__toggle {
  z-index: 10;
  cursor: pointer;
  top: 1vw;
  right: 2.66vw;
  border: 1px solid #222;
  border-width: thin;
  border-radius: 1px;
  width: 32vw;
  height: 8vw;
  text-align: center;
  background: #fff;
  display: block;
  position: absolute;
  right: auto;
  left: calc(100% - 170px);
  width: 160px;
  height: 40px;
  font-size: 16px;
  line-height: 40px;
}
.js-submenu__toggle::before, .js-submenu__toggle::after {
  content: "";
  display: block;
  width: 15px;
  height: 1px;
  border-radius: 5px;
  background: black;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
}

.js-submenu__toggle::after {
  background: black;
  /* 横棒を縦にするために90℃回転させる */
  transform: translateY(-50%) rotate(90deg);
  /* プラスからマイナスへの切り替えをゆっくり行いアニメーションさせる */
  transition: 0.5s;
}

/*
プラスがクリックされたら縦棒を横にしてマイナスにする疑似要素
jQueryで付け外しを行う
*/
.active::after {
  transform: rotate(0);
  transition: all 0.5s;
  opacity: 0;
}

.p-eigyousho__btn {
  top: -0.3rem;
}
@media screen and (max-width: 767px) {
  .p-eigyousho__btn {
    top: -1rem;
    left: calc(100% - 120px);
    width: 120px;
  }
}

.p-eigyousyo--linkColor {
  color: #0077ff;
}
.p-eigyousyo--linkColor :hover {
  text-decoration: underline;
}

.p-eigyosho__linkTel {
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  .p-eigyosho__linkTel {
    pointer-events: auto !important;
  }
}

@media screen and (max-width: 767px) {
  .p-eigyousyo__itemMg {
    margin-bottom: 1rem;
  }
}

.p-eigysyo__listLink {
  transition: all 0.5s;
}
.p-eigysyo__listLink:hover {
  opacity: 0.5;
}

.p-eigyousyo--accordionItem--hasMargin {
  padding-top: 190px;
  margin-top: -190px;
}
@media screen and (max-width: 767px) {
  .p-eigyousyo--accordionItem--hasMargin {
    padding-top: 20vw;
    margin-top: -20vw;
  }
}
