@charset "UTF-8";
.g-search {
  background: #FAF6EB;
}
.g-search__resultTitle {
  padding-bottom: 5px;
  color: #3E2B21;
  font-size: 2.2rem;
  font-weight: bold;
  margin-left: 10px;
  text-align: left;
}
.g-search__conditions--test {
  column-gap: 20px;
  display: flex;
  font-size: 2.2rem;
  font-weight: bold;
  flex-wrap: wrap;
  line-height: 1.5;
  margin-left: 10px;
  padding-bottom: 21px;
}
.g-search__conditions--test li {
  position: relative;
}
.g-search__conditions--test li:after {
  content: "|";
  font-size: 20px;
  padding: 0 7px;
  position: absolute;
}
.g-search__conditions--test li:last-child:after {
  content: none;
}
.g-search__conditions {
  margin: 4px 10px 45px;
  padding: 18px 16px 8px;
  background: #fff;
  border-radius: 10px;
  position: relative;
}
.g-search__conditions--button {
  background: #fff;
  color: #007A48;
  font-size: 1.2rem;
  line-height: 1;
  height: 32px;
  position: absolute;
  top: 11px;
  right: 13px;
  transition: none;
}
.g-search__conditions--button label {
  border: 1px solid #007A48;
  border-radius: 6px;
  padding: 6px 13px;
}
/*.g-search__conditions--button:after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background-image: url(../../images/allow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-left: 10px;
}*/

.g-search__container-searchMap .g-search__conditions--button {
  border: none;
  padding: 0;
}
.g-search__title {
  padding-bottom: 16px;
  font-weight: bold;
  font-size: 1.6rem;
}
.g-search__list li {
  padding-bottom: 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.1;
}
.g-search__list li:last-child {
  padding-bottom: 0;
  margin-bottom: 0; /* 20210426 add */
}
.g-search__text--pd {
  padding: 0 12px 18px;
  /*color: #3E2B21;*/    /* 20221031 delete */
  color: #6F6C66;        /* 20221031 add */
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", Arial, sans-serif; /* 20221031 revival */
  font-size: 1.4rem;
}
.g-search__text--number {
  padding: 0 4px;
  color: #3E2B21;
  /*font-size: 2.2rem;*/ /* 20221031 delete */
  font-size: 1.8rem;     /* 20221031 add */
  font-weight: bold;
}
@media screen and (min-width: 1080px) {
  .g-search__text--pd {
    /*font-size: 1.6rem;*/ /* 20221031 delete */
    font-size: 1.4rem;     /* 20221031 add */
  }
  /*.g-search__text--number {
    font-size: 1.8rem;
  }*/
}
.g-search__wrap {
  margin: 0 calc(50% - 50vw) 40px;
  padding: 16px 20px 16px;
  width: 100vw;
  background: #fff;
  border-top: 3px solid #007A48;
  border-bottom: 1px solid #E0DFDF;
}
.g-search__box {
  display: flex;
  flex-direction: column;
}
.g-search__hospital--title {
  display: block;
  margin-bottom: 20px;
  color: #007A48;
  font-size: 2.0rem;
  font-weight: bold;
  line-height: 1.5;
  position: relative;
}
.g-search__hospital--title::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  position: absolute;
  top: 50%;
  right: 0;
  border-top: solid 1px #53AA32;
  border-right: solid 1px #53AA32;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
}
.g-search__hospital {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.g-search__imageArea {
  position: relative;
  overflow: hidden;
  margin-right: 20px;
  padding-top: 30%; /* 比率 */
  width: 48%;
}
.g-search__imageArea img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.g-search__btnBox {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  width: 48%;
}
.g-search__btn a {
  display: block;
  padding: 8px 0;
  background: #007A48;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  text-align: center;
}
h1 .g-search__conditions--test li { /* 20221031 add */
  color: #3E2B21;
}
@media screen and (min-width: 1080px) {
  .g-search__btn a:hover {
    opacity: 0.7;
  }
  h1 .g-search__conditions--test li { /* 20221031 add */
    font-size: 2.4rem;
  }
}
.g-search__btn:first-child {
  margin-bottom: 14px;
}
.g-search .pagination {
  padding-bottom: 60px;
}

/* PC (1080px以上) */
@media screen and (min-width: 1080px) {
  .g-search {
    display: flex;
    padding-top: 40px;
  }
  .g-search .g-userArea {
    width: calc(100% - 352px);
  }
  .g-search__resultTitle {
    padding-bottom: 5px;
    font-size: 2.4rem;
    margin-left: 0;
    text-align: left;
    width: 100%;
  }
  .g-search__conditions--test {
    margin-left: 0;
  }
  .g-search__conditions {
    display: none;
  }
  .g-search__container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 37px;
  }
  .g-search__text--pd {
    padding: 0;
  }
  .g-search__wrap {
    margin: 0 0 28px 0;
    padding: 16px 24px 24px;
    width: 100%;
    border-top: 4px solid #007A48;
    border-bottom: none;
    border-radius: 4px 4px 10px 10px;
  }
  .g-search__box {
    flex-flow: row wrap;
  }
  .g-search__hospital--title {
    margin-bottom: 16px;
    font-size: 2.3rem;
  }
  .g-search__hospital--title::after {
    width: 10px;
    height: 10px;
  }
  .g-search__hospital {
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 0;
    padding-right: 20px;
    max-width: 300px;
    min-width: 217px;
    width: calc(100% - 56%);
  }
  .g-search__hospitalDetail {
    width: 56%;
  }
  .g-search__btnBox {
    width: 100%;
  }
  .g-search__btnBox .g-search__btn:first-child {
    margin-bottom: 12px;
  }
  .g-search__imageArea {
    margin: 0 0 20px;
    padding-top: 60%; /* 比率 */
    width: 100%;
  }
}
/* tab調整 (1080px以上 1120px以下) */
@media screen and (min-width:1080px) and ( max-width:1120px) {
  .g-search__hospital {
    flex-direction: row;
  }
  .g-search__hospital {
    padding-right: 0;
    max-width: 100%;
    min-width: auto;
    width: 100%;
  }
  .g-search__imageArea {
    margin-right: 20px;
    padding-top: 30%;
    width: 50%;
  }
  .g-search__btnBox {
    margin-bottom: 10px;
    width: calc(100% - 50%);
  }
  .g-search__hospitalDetail {
    width: 100%;
  }
}

/*===================================
サイドバー　現在の検索条件 SP/PC
===================================*/
.g-side {
  display: none;
}
/* PC (1080px以上) */
@media screen and (min-width: 1080px) {
  .g-side {
    display: block;
    flex-shrink: 0;
    margin: 0 0 60px 32px;
    /*width: 300px;*/ /* 20210426 edit */
    width: 320px;
  }
  .g-side__content {
    background: #fff;
    border-radius: 6px;
  }
}

.g-search__title {
  text-align: left;
}
/* 20210604 追加 */
@media screen and (min-width: 1080px) {
.g-search__title {
  text-align: center;
}
  .g-side__content {
    border-radius: 10px;
  }
}

/* 20210610 add
--------------------------------------- */
@media screen and (min-width: 1080px) {
  .g-side {
    margin-bottom: 40px;
  }
}

/* 20210619 add
--------------------------------------- */
.gm-ui-hover-effect {
  margin: 10px !important;
  width: auto !important;
}
.gm-ui-hover-effect img{
  width: 25px !important;
  height: 25px !important;
}

/* 20210727 add */
.g-search__conditions {
  margin: 4px 10px 15px;
}
.g-search__annotation-sp {
  color: #6f6c66;
  font-size: 13px;
  line-height: 1.6;
  padding: 0 12px;
  margin-bottom: 40px;
}
.g-search__annotation-pc {
  display: none;
  color: #6f6c66;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
  width: 100%;
}
@media screen and (max-width: 320px) {
  .g-search__annotation-sp {
    letter-spacing: -0.5px;
    padding: 0 10px;
  }
}

@media screen and (min-width: 1080px) {
  .g-search__annotation-pc {
    display: block;
  }
  .g-search__annotation-sp {
    display: none;
  }
}


