.bunkyo-case .SubHero {
   height: 397px;
}
@media screen and (max-width: 767px) {
  .bunkyo-case .SubHero {
   height: auto;
}
}
.SubHero .SubHero__title::before {
  background-image: url(/b_solution/bunkyo/images/case/subhero.png);
  background-size: 53px 44px;
}
@media screen and (max-width: 767px) {
  .SubHero .SubHero__title::before {
    background-size: 45px 38px;
  }
}

.SubHero__img-wrap {
  position: absolute;
  width: 535px;
  height: auto;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  .SubHero__img-wrap {
    position: relative;
    width: 100%;
    top: inherit;
    right: inherit;
    transform: none;
  }
}
.SubHero__img {
  position: relative;
  top: inherit;
  transform: none;
}
.SubHero__box {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);

  top: 16px;
  left: -45px;

  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  justify-content: center;
  text-align: center;

  opacity: 0;
  transform: translateY(30px);
  transition: 0.5s all ease 1.2s;
}
.SubHero.is-show .SubHero__box {
  opacity: 1;
  transform: translateY(0);
}
@media screen and (max-width: 767px) {
  .SubHero__box {
    left: 0;
    width: 150px;
    height: 150px;
  }
}

.SubHero__box::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 42px;
  margin: auto;
  display: block;
  width: 36px;
  height: 13px;
  background: url(/b_solution/bunkyo/images/case/subhero_icon.svg) no-repeat center center;
}

.SubHero__box-text {
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 130%;
  margin-top: 26px;
}
.SubHero__box-text span {
  display: block;
  font-size: 18px;
  line-height: 130%;
}
.SubHero__box-num {
  color: #333;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 150%;
  padding-left: 16px;
}
.SubHero__box-num span {
  font-size: 38px;
  line-height: 150%;
}
html:not(:target) .SubHero__box-num sup {
  font-size: 70%;
  font-weight: normal;
}
@media screen and (max-width: 767px) {
  .SubHero__box::before {
    top: 20px;
    width: 30px;
    height: 10px;
    background-size: contain;
  }
  .SubHero__box-text {
    font-size: 10px;
    margin-top: 10px;
  }
  .SubHero__box-text span {
    font-size: 12px;
  }
  .SubHero__box-num {
    position: relative;
    font-size: 16px;
    padding-left: 0px;
    line-height: 100%;
  }
  .SubHero__box-num span {
    font-size: 32px;
    line-height: 120%;
  }
  html:not(:target) .SubHero__box-num sup {
    position: absolute;
    bottom: -12px;
    right: 9px;
  }
}

.SubHero__caption {
  position: absolute;
  width: 90%;
  max-width: 1240px;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 20px;
  color: #333;
  text-align: right;
  font-size: 12px;
  line-height: 120%;

  opacity: 0;
  transform: translateY(10px);
  transition: 0.5s all ease 1.2s;
}
.SubHero.is-show .SubHero__caption {
  opacity: 1;
  transform: translateY(0);
}
@media screen and (max-width: 767px) {
  .SubHero {
    flex-direction: column;
    gap: 0;
    padding-bottom: 20px;
  }
  .SubHero__caption {
    position: relative;
    text-align: left;
    bottom: inherit;
    line-height: 150%;
    width: 93%;
  }
}

.case__select,
.case__map {
  display: none;
}
.case__select.is-current,
.case__map.is-current {
  display: block;
}

.case__tab {
  width: 90%;
  max-width: 960px;
  height: 80px;
  margin: 55px auto 0;
  display: flex;
  border-radius: 40px;
  border: 2px solid #007ac2;
  box-sizing: border-box;
  overflow: hidden;
}
.case__tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  width: 50%;
  color: #007ac2;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  cursor: pointer;

  transition: 0.3s all ease;
}
.case__tab-btn span {
  font-size: 14px;
  line-height: 120%;
}
@media screen and (max-width: 767px) {
  .case__tab-btn span {
    font-size: 10px;
  }
}

.case__tab-btn:hover {
  color: #007ac2;
  text-decoration: none;
  background-color: #e8f3fd;
}
.case__tab-btn.is-current {
  pointer-events: none;
  background: #007ac2;
  color: #fff;
}
.case__tab-btn::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-top: 2px solid #007ac2;
  border-right: 2px solid #007ac2;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .case__tab {
    height: 60px;
    width: 95%;
  }
  .case__tab-btn {
    font-size: 14px;
    gap: 4px;
  }
  .case__tab-btn::after {
    right: 10px;
  }
  .case__tab-btn.is-current::after {
    display: none;
  }
}

.case__result {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;

  width: 90%;
  max-width: 960px;
  margin: 64px auto 0;
  transition: 0.3s opacity ease;
}
.case__result.is-hide {
  opacity: 0;
}

.case__block {
  position: relative;
  width: 32%;
  border-radius: 20px;
  border: 1px solid #d9d9d9;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0 0 32px;
}
.case__block.is-hide {
  display: none;
}
@media screen and (max-width: 767px) {
  .case__block {
    width: 100%;
  }
}

.case__block-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.case__block-img__btn {
  position: relative;
  display: block;
}
.case__block-img__btn::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 122, 194, 0.9);
}
.case__block-img__btn::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 0 13px 23px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

.case__block-info {
  position: relative;
  padding: 16px 16px 24px;
  flex-grow: 1;
}
.case__block-new {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #eb0020;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 100%;
  padding: 3px 5px;
}

.case__block-name {
  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
}
.case__block-case {
  margin: 16px 0 0;
  color: #333;
  font-size: 14px;
  font-weight: 300;
  line-height: 150%;
}
.case__block-title {
  margin: 8px 0 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
}
.case__block-btn {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 88px;
}
.case__block-btn:has(a.is-movie:first-child) {
  justify-content: flex-end;
}
.case__block-btn a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  width: 180px;
  height: 40px;
  background: #007ac2;
  color: #fff;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s all ease;
}
.case__block-btn a::after {
  content: "";
  display: block;
  background: none;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}
.case__block-btn a:hover {
  text-decoration: none;
  opacity: 0.8;
}

.case__block-btn a.is-movie {
  border: 2px solid #007ac2;
  background: #fff;
  color: #007ac2;
  box-sizing: border-box;
}
.case__block-btn a.is-movie::after {
  width: 18px;
  height: 14px;
  transform: none;
  background: url(/b_solution/bunkyo/common/images/icon_movie.svg) no-repeat center center;
  box-sizing: content-box;
  border: none;
}
.case__block-btn a.is-movie:hover {
  opacity: 1;
  background: #e8f3fd;
}

.case__map {
  padding: 64px 0 0;
}

.case__map h2 {
  position: relative;
  color: #333;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  line-height: 130%;
  padding-bottom: 26px;
}
.case__map h2::after {
  content: "";
  display: block;
  position: absolute;
  width: 44px;
  height: 2px;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 0;
  background: #007ac2;
}
@media screen and (max-width: 767px) {
  .case__map h2 {
    font-size: 24px;
  }
}

.case__map-img {
  position: relative;
  text-align: center;
  width: 1240px;
  margin: 48px auto 0;
  padding: 0 0 100px;
}
.case__map-img a {
  transition: 0.3s all ease;
}
.case__map-img a:hover {
  opacity: 0.7;
}
@media screen and (max-width: 767px) {
  .case__map-img {
    width: 100%;
    pointer-events: none;
    padding-bottom: 32px;
  }
  .case__map-img svg {
    display: none;
  }
}

.case__map-img__title {
  text-align: left;
  position: absolute;
  top: 64px;
  left: 140px;
}
.case__map-img__title-text {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  line-height: 130%;
}
.case__map-img__title-text span {
  font-size: 28px;
  display: block;
  line-height: 130%;
}
.case__map-img__title-num {
  margin: 8px 0 0;
  color: #333;
  font-size: 24px;
  font-weight: 700;
  line-height: 120%;
}
.case__map-img__title-num span {
  font-size: 48px;
  line-height: 120%;
}
html:not(:target) .case__map-img__title-num sup {
  color: #666;
  font-size: 14px;
  font-weight: normal;
}
.case__map-img__title-caption {
  margin: 16px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 130%;
}
@media screen and (max-width: 767px) {
  .case__map-img__title {
    position: relative;
    top: inherit;
    left: inherit;
    padding: 0 5%;
  }
  .case__map-img__title-text {
    font-size: 14px;
  }
  .case__map-img__title-text span {
    font-size: 24px;
  }
  .case__map-img__title-img {
    width: 100%;
    margin: -100px 0 0;
  }
  .case__map-img__title-caption {
    font-size: 12px;
  }
}

a.case__map-img__btn {
  position: absolute;
  width: 180px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #666;
  border-radius: 23px;

  font-size: 20px;
  font-weight: 600;
}
@media screen and (max-width: 767px) {
  a.case__map-img__btn {
    display: none;
  }
}
a.case__map-img__btn:hover {
  text-decoration: none;
}
a.case__map-img__btn::after {
  content: "";
  display: block;
  position: absolute;
  height: 3px;
}
a.case__map-img__btn.is-hokkaido {
  top: 67px;
  left: 550px;
}
a.case__map-img__btn.is-hokkaido::after {
  width: 124px;
  top: 23px;
  right: -124px;
}

a.case__map-img__btn.is-tohoku {
  top: 287px;
  right: 53px;
}
a.case__map-img__btn.is-tohoku::after {
  width: 100px;
  top: 23px;
  left: -100px;
}

a.case__map-img__btn.is-kanto {
  top: 500px;
  right: 53px;
}
a.case__map-img__btn.is-kanto::after {
  width: 100px;
  top: 23px;
  left: -100px;
}

a.case__map-img__btn.is-chubu {
  top: 672px;
  right: 248px;
}
a.case__map-img__btn.is-chubu::after {
  height: 100px;
  width: 64px;
  bottom: 23px;
  left: -64px;
  background: none;
  border-left: 3px solid #7b9f09;
  border-bottom: 3px solid #7b9f09;
  transform: skew(15deg, 0deg);
}

a.case__map-img__btn.is-kansai {
  top: 740px;
  left: 530px;
}
a.case__map-img__btn.is-kansai::after {
  height: 64px;
  width: 3px;
  left: 90px;
  bottom: 46px;
}

a.case__map-img__btn.is-chushikoku {
  top: 407px;
  left: 367px;
}
a.case__map-img__btn.is-chushikoku::after {
  height: 70px;
  width: 3px;
  left: 90px;
  top: 46px;
}
a.case__map-img__btn.is-kyusyu {
  top: 632px;
  left: 41px;
}
a.case__map-img__btn.is-kyusyu::after {
  width: 74px;
  top: 23px;
  right: -74px;
}

.case__map-block {
  width: 90%;
  max-width: 960px;
  border-radius: 45px;
  overflow: hidden;
  margin: 24px auto 0;
  border: 1px solid #d9d9d9;
  box-sizing: border-box;
}
a.case__map-block__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  background: #ddd;
  cursor: pointer;
  transition: 0.3s all ease;
}
a.case__map-block__head:hover {
  text-decoration: none;
  opacity: 0.7;
}
@media screen and (max-width: 767px) {
  .case__map-block {
    margin: 16px auto 0;
  }
  .case__map-block__head {
    height: 60px;
    font-size: 18px;
  }
}
.case__map-block__head::before,
.case__map-block__head::after {
  content: "";
  display: block;
  position: absolute;
  width: 32px;
  height: 6px;
  background: #fff;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
}
.case__map-block__head::after {
  transform: translateY(-50%) rotate(90deg);
  transition: 0.3s all ease;
}
.case__map-block__head.is-open::after {
  transform: translateY(-50%) rotate(180deg);
}
@media screen and (max-width: 767px) {
  .case__map-block__head::before,
  .case__map-block__head::after {
    width: 24px;
    height: 4px;
  }
}

a.case__map-img__btn.is-hokkaido,
a.case__map-img__btn.is-hokkaido::after,
.case__map-block.is-hokkaido .case__map-block__head {
  background: #008bd5;
}
a.case__map-img__btn.is-tohoku,
a.case__map-img__btn.is-tohoku::after,
.case__map-block.is-tohoku .case__map-block__head {
  background: #3fa194;
}
a.case__map-img__btn.is-kanto,
a.case__map-img__btn.is-kanto::after,
.case__map-block.is-kanto .case__map-block__head {
  background: #ec6e3c;
}
a.case__map-img__btn.is-chubu,
.case__map-block.is-chubu .case__map-block__head {
  background: #7b9f09;
}
a.case__map-img__btn.is-kansai,
a.case__map-img__btn.is-kansai::after,
.case__map-block.is-kansai .case__map-block__head {
  background: #c28600;
}
a.case__map-img__btn.is-chushikoku,
a.case__map-img__btn.is-chushikoku::after,
.case__map-block.is-chushikoku .case__map-block__head {
  background: #a380b7;
}
a.case__map-img__btn.is-kyusyu,
a.case__map-img__btn.is-kyusyu::after,
.case__map-block.is-kyusyu .case__map-block__head {
  background: #db5310;
}

.case__map-block__inner {
  background: #fff;
  padding: 32px 80px 48px;
  display: none;
}
.case__map-block__pref {
  color: #333;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}
.case__map-block__inner ul {
  margin: 32px 0 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.case__map-block__inner ul li {
  display: flex;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid #cbcbcb;
}
.case__map-block__inner ul:last-child {
  margin-bottom: 0;
}
.case__map-block__inner ul:last-child li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
@media screen and (max-width: 767px) {
  .case__map-block__inner {
    padding: 24px 5% 48px;
  }
  /* .case__map-block__inner ul {
    margin: 16px 0 0;
  } */
  .case__map-block__inner ul li {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding-bottom: 32px;
  }
}

.case__map-block__case {
  color: #333;
  font-size: 16px;
  font-weight: 300;
  line-height: 150%;
  width: 280px;
}
.case__map-block__name {
  color: #333;
  font-size: 16px;
  font-weight: 300;
  line-height: 150%;
  flex-grow: 1;
}

a.case__map-block__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: auto;
  width: 180px;
  height: 40px;
  background: #007ac2;
  color: #fff;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
}
a.case__map-block__btn::after {
  content: "";
  display: block;
  background: none;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}
a.case__map-block__btn {
  transition: 0.3s all ease;
}
a.case__map-block__btn:hover {
  text-decoration: none;
  opacity: 0.8;
}

a.case__map-block__btn.is-movie {
  border: 2px solid #007ac2;
  background: #fff;
  color: #007ac2;
  box-sizing: border-box;
}
a.case__map-block__btn.is-movie:hover {
  background: #e8f3fd;
}

a.case__map-block__btn.is-movie::after {
  width: 18px;
  height: 14px;
  transform: none;
  background: url(/b_solution/bunkyo/common/images/icon_movie.svg) no-repeat center center;
  box-sizing: content-box;
  border: none;
}
@media screen and (max-width: 767px) {
  .case__map-block__case {
    width: 100%;
  }
  a.case__map-block__btn {
    margin: 8px auto 0;
  }
}



.case__block-btn a.is-page {
  border: 2px solid #007ac2;
  background: #fff;
  color: #007ac2;
  box-sizing: border-box;
}
.case__block-btn a.is-page::after {
  border-top: 2px solid #007ac2;
  border-right: 2px solid #007ac2;
}
.case__block-btn a.is-page:hover {
  opacity: 1;
  background: #e8f3fd;
}
