@charset "UTF-8";


/*map*/
.japan-map {
  position: relative;
}

.map-link {
  position: absolute;
  padding: 0.8% 1%;
  /* opacity: 0; */
  background: #fff;
  border-radius: 1rem;
  border: 0.3rem #000 solid;
  font-weight: 900;
  font-size: max(1.2vw, 1.4rem);
  line-height: 1;
  transition: 0.2s;
}
.map-link span {
    letter-spacing: -4px;
}
.map-link:hover{
  opacity: 0.7;  
}
.map-link.hokkaido {
  right: 6.4%;
  top: 12.2%;
}

.map-link.kanto {
  right: 11.6%;
  top: 65.1%;
}

.map-link.kinki {
  right: 31%;
  bottom: 18.5%;
}

.map-link.tohoku {
  right: 10.5%;
  top: 43.4%;
}

.map-link.chubu {
  right: 22.3%;
  bottom: 25.5%;
}

.map-link.shikoku {
  right: 43.6%;
  bottom: 11.5%;
}

.map-link.chugoku {
  right: 43.7%;
  bottom: 24.2%;
}

.map-link.kyusyu {
  right: 55.7%;
  bottom: 19.7%;
  padding: 0.8% 1.6%;
}


@media (max-width: 767px){

  .japan-map {
    margin: 0 1rem;
  }

  .japan-map img {
    width: calc(100% - 2rem);
  }


  .map-link {
    font-size: max(1.8vw, 1.2rem);
    padding: 1% 2%;
    border-radius: 0.5rem;
    border: 0.2rem #000 solid;
  }

  .map-link.hokkaido {
    top: 46.8%;
    right: 11.7%;
  }
  .map-link.tohoku {
    right: 17%;
    bottom: 30.6%;
    top: auto;
  }

  .map-link.kanto {
    right: 18%;
    top: auto;
    bottom: 17.5%;
  }

  .map-link.chubu {
    right: 33.9%;
    bottom: 15.7%;
  }

  .map-link.kinki {
    right: 47.5%;
    bottom: 11.2%;
  }

  .map-link.shikoku {
    right: 65.4%;
    bottom: 7%;
  }

  .map-link.chugoku {
    right: 65.6%;
    bottom: 14.6%;
  }

  .map-link.kyusyu {
    right: auto;
    left: 2%;
    bottom: 12%;
  }


}



/*template-office-lists*/
.office-list {
  margin: 10rem auto;
}

.office-list--wrap {
  display: flex;
  flex-wrap: wrap;
}

.sec-tit.parent-area {
  width: 100%;
  margin: 10rem auto 6rem;
}

.office-list__child {
  background: #E8F5EF;
  margin: 1%;
  padding: 2.5rem 4.5rem;
  border-radius: 2rem;
  width: 100%;
}

.child-area__heading {
  font-size: 3.6rem;
  font-weight: 900;
  position: relative;
  display: table;
  padding-right: 1.6em;
}
.child-area__heading a{
  text-decoration: underline;
}
.child-area__heading a::before {
  content: "";
  position: absolute;
  background: #1f9f60;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  right:  0;
  top: calc(50% + 2px);
  transform: translateY(-50%);
}

.child-area__heading a::after {
  content: "";
  position: absolute;
  border: solid transparent;
  border-width: 0.2em 0.3em;
  border-left-color :#fff;
  right:  0.05em;
  top: calc(50% + 2px);
  transform: translateY(-50%);
}
.office-list__child__area {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.office_box--wrap{
  display: flex;
  flex-wrap: wrap;
}
.office_box {
  background: #fff;
  border: 2px solid #1f9f60;
  border-radius: 2rem;
  padding: 0 2.5rem 2rem;
  margin: 2rem 0;
  width: calc(50% - 2rem);
  margin-right: 4rem;
  display: flex;
  flex-direction: column;
}

.office_box:nth-child(even){
  margin-right: 0;
}

.office-list__child__area__list {
  background: #ffdc2e;
  padding: 0.2rem 1.8rem;
  border-radius: 10rem;
  font-weight: bold;
  margin-right: 0.8rem;
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
}

.office_name {
  font-size: 2.8rem;
  font-weight: 900;
  color: #1f9f60;
  margin: 2rem 0;
  text-align: left;
}
.office_name a{
  text-decoration: underline;
}

.office_box__link {
  text-align: center;
  margin-top: auto;
}

.office_box__link a {
  color: #fa7d03;
  font-weight: bold;
  text-decoration: underline;
}


.office-list-child__box {
  padding: 2.5rem 4.5rem;
  margin: 5rem auto;
  border: 0.3rem solid #1f9f60;
  border-radius: 2rem;
}

.office-list-child__box__tit {
  font-weight: 900;
  font-size: 3.8rem;
  margin-bottom: 2rem;
  background: transparent url(../img/page/common/common_hasami.png) no-repeat left top / 6rem auto;
  padding-left: 7rem;
  line-height: 1.4;
}

.office-list-child__box__content {
  display: flex;
  align-items: flex-start;
}

.office-list-child__box__content__img-box {
  width: 20%;
  margin-right: 3rem;
  background: #E8F5EF;
  padding: 3rem;
  border-radius: 2rem;
  text-align: center;
}
.office-list-child__box__content__img-box img {
  border-radius: 50%;
  width: 15rem;
  height: 15rem;
  object-fit: cover;
}
.office-list-child__box__content__img-box .name{
  text-align: center;
  font-weight: bold;
}
.office-list-child__box__content__txt-box {
  width: calc(80% - 3rem);
}

.office-list-child__box__content__star span {
  color: #d9bb20;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.office-list-child__box__content__tit {
  font-size: 2.4rem;
  font-weight: 900;
}

.office-list-child__box__content__info {
  font-weight: 900;
}

.office-list-child__box__content__info-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.office-list-child__box__btn a {
  color: #fa7d03;
  font-weight: 900;
  font-size: 2.4rem;
  text-decoration: underline;
}

.office-list-child__box__content__info-wrap__right {
  margin: 2rem 0 0;
}


/*single-office*/
.contents .block-area .single-office__area {
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 100rem;
}

.contents .block-area .single-office__area .single-office__area__tag {
  background: #ffdc2e;
  padding: 0.2rem 1.8rem;
  border-radius: 10rem;
  font-weight: bold;
  margin-right: 0.8rem;
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
}

.contents .block-area .single-office__other-area {
  text-align: center;
  font-weight: bold;
  margin: 1rem auto 0;
  text-decoration: underline;
  color: #fa7d03;
}

.contents .block-area .single-office__leader-wrap {
  display: flex;
  gap: 6rem;
  background: #E8F5EF;
  padding: 6rem;
  border-radius: 5rem;
}

.contents .block-area .single-office__leader-img-box {
  width: 20%;
}

.contents .block-area .single-office__leader-txt-box {
  width: 80%;
}

.contents .block-area .single-office__leader-img-box img {
  margin-bottom: 2rem;
}

.contents .block-area .single-office__leader-img-box__name {
  text-align: center;
  font-weight: bold;
}
.contents .block-area .single-office__leader-img-box__name__office {
  display: block;
  background: #fff;
  border-radius: 1rem;
}
.contents .block-area .single-office__leader-txt-box__heading {
  margin-top: 0;
}
.contents .block-area .single-office__map-wrap {
  display: flex;
  gap: 3rem;
  background: #E8F5EF;
  padding: 6rem;
  border-radius: 5rem;
  width: 100%;
/*  max-width: 100rem;*/
margin: auto;
}


.contents .block-area .single-office__map-wrap__txt-box {
  width: 40%;
}
.contents .block-area .single-office__map-wrap__txt-box__list li span {
  font-weight: bold;
  width: 10rem;
  display: inline-block;
  position: relative;
}

.contents .block-area .single-office__map-wrap__txt-box__list li span::after {
  position: absolute;
  content: "：";
  right: 0;
}
.contents .block-area .single-office__map-wrap__map-box {
  width: 60%;
}

.contents .block-area .single-office__map-wrap__map-box iframe {
  width: 100%;
}



.contents .block-area .single-office__staff-list-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8%;
  margin: 10rem auto;
}

.contents .block-area .single-office__staff-list {
  width: 46%;
}

.contents .block-area .single-office__staff-list__img-box {
  width: 30%;
}

.contents .block-area .single-office__staff-list__txt-box {
  width: 66%;
}

.contents .block-area .single-office__staff-list__flex {
  display: flex;
  gap: 6%;
  margin-bottom: 8rem;
}

.contents .block-area .single-office__staff-list__txt-box__heading {
  margin-top: 0;
}

.contents .block-area .single-office__staff-list__txt-box__more-btn {
  text-align: right;
}

.contents .block-area .single-office__staff-list__txt-box__more-btn a {
  color: #fa7d03;
  text-decoration: underline;
  font-weight: bold;
}

.contents .block-area .single-office__staff-list__txt-box__content{
  margin: 0;
}



@media (max-width: 768px){


/*list*/

.child-area__heading {
  font-size: 2.8rem;
}

.office_box--wrap {
  display: block;
}

.office_box {
  width: 100%;
  margin: 2rem auto;
}

.office_name {
  font-size: 2.2rem;
}

.office-list__child__area__list {
  font-size: 1.6rem;
  padding: 0 1rem;
}

.office-list__child {
  margin: 2rem;
  padding: 2rem;
}

.sec-tit.parent-area {
  margin: 8rem auto 2rem;
}

.office-list {
  margin: 5rem auto 0;
}
.office_box__link a {
  font-size: 2rem;
}

/*taxonomy*/
.office-list-child__box {
    padding: 2rem;
    margin: 2rem;
}

.office-list-child__box__tit {
    background-position: center top;
    background-size: 4.2rem auto;
    text-align: center;
    padding: 5rem 0 0;
    font-size: 2.8rem;
}

.office-list-child__box__content {
    display: block;
}

.office-list-child__box__content__img-box {
    width: 100%;
    background: none;
    padding: 1rem 0;
}

.office-list-child__box__content__txt-box {
    width: 100%;
}

.office-list-child__box__content__info-wrap {
    display: block;
}

.office-list-child__box__content__info-wrap__right {
    background: #f5f5f5;
    padding: 2rem;
    margin-bottom: 2rem;
}
.office-list-child__box__content__star {
    margin: 2rem auto;
    text-align: center;
    padding: 2rem 0;
    background: #fdfaea;
}

/*single-office*/
.contents .block-area .single-office__leader-wrap {
  border-radius: 2rem;
  padding: 2rem;
  display: block;
}

.contents .block-area .single-office__leader-img-box {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

.contents .block-area .single-office__leader-img-box img {
  width: 50%;
  max-width: 15rem;
}

.contents .block-area .single-office__leader-img-box__name__office {
  width: max-content;
  padding: 0 2rem;
  margin: auto;
}

.contents .block-area .single-office__leader-txt-box {
  width: 100%;
}


.contents .block-area .single-office__staff-list-wrap {
  display: block;
  margin: 5rem auto;
}

.contents .block-area .single-office__staff-list {
  width: 100%;
}

.contents .block-area .single-office__staff-list__flex {
  display: block;
}

.contents .block-area .single-office__staff-list__img-box {
  width: 100%;
  text-align: center;
}

.contents .block-area .single-office__staff-list__img-box img {
  width: 15rem;
  margin-bottom: 2rem;
}

.contents .block-area .single-office__staff-list__txt-box {
  width: 100%;
}

.contents .block-area .single-office__staff-list__txt-box__heading {
  text-align: center;
}

.contents .block-area .single-office__staff-list__txt-box__more-btn {
  font-size: 2rem;
}

.contents .block-area .office_voice_box__tit {
    font-size: 2rem;
    margin: 0 auto 2rem;
}

.contents .block-area .office_voice_star {
    padding: 1.5rem;
    line-height: 1;
}

.contents .block-area .office_voice_star span {
    font-size: 3.2rem;
}

.office-list-child__box__btn {
    text-align: right;
}

.office-list-child__box__btn a{
  font-size: 2rem;
}

.contents .block-area .single-office__map-wrap {
  padding: 2rem 3rem;
  border-radius: 2rem;
  display: block;
}

.contents .block-area .single-office__map-wrap__txt-box {
  width: 100%;
}

.contents .block-area .single-office__map-wrap__map-box {
  width: 100%;
}

.contents .block-area .single-office__map-wrap__txt-box__list li span {
  width: auto;
  display: block;
}

.contents .block-area .single-office__map-wrap__txt-box__list li span::after {
  display: none;
}

.contents .block-area .single-office__map-wrap__map-box iframe {
  width: 100%;
  height: 40rem;
}

}