/*冒頭アイキャッチ＋文章等*/
@media (max-width: 959px) {
  #content .myBlock-others15-ori {
    margin-bottom: 77px;
  }
}
@media (max-width: 599px) {
  #content .myBlock-others15-ori {
    margin-bottom: 48px;
  }
}

/*冒頭アイキャッチ（ミラトレ用：写真縦横比は大体同じじゃないとデザイン崩れる）*/
div.eyecatchCont-mi-ori {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  margin-bottom: 3.4em !important;
  margin-top: 10px;
}
div.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
  flex-basis: auto !important;
}
.eyecatchCont-mi-ori > div:first-child {
  width: 62.5% !important;
}
.eyecatchCont-mi-ori > div:nth-child(2) {
  width: 34% !important;
}
.eyecatchImgBoxL-ori img {
  border-radius: 10px !important;
}
@media (max-width: 959px) {
  div.eyecatchCont-mi-ori {
    margin-bottom: 2em !important;
  }
}
@media (max-width: 599px) {
  div.eyecatchCont-mi-ori {
    margin-bottom: calc(2em - 20px) !important;
    margin-top: 0;
  }
  .eyecatchCont-mi-ori > div:first-child {
    width: 100% !important;
  }
  .eyecatchCont-mi-ori > div:nth-child(2) {
    display: none;
  }
}

/*近くの事業所*/
.nearOffices-ori.reference-link-box .st-in-mybox {
  padding-top: 26px;
}
.nearOffices-ori.reference-link-box .st-in-mybox p {
  margin-bottom: 0.8em !important;
}
@media(max-width: 599px){
  .entry-content .nearOffices-ori.reference-link-box{
    margin-top: 3em;
  }
}

/*画像、地図（共通）*/
#content .resourceBox-ori {
  margin-bottom: 3.2em;
}
@media (max-width: 599px) {
  #content .resourceBox-ori {
    margin-bottom: 2em;
  }
}

/*地図*/
.officeMap-ori {
  height: 400px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.officeMap-ori iframe {
  height: calc(100% + 250px + 250px);
  position: absolute;
  top: -250px;
}
.mapCaption-ori {
  color: gray;
  font-size: 16px;
  padding-top: 0.5em;
  word-break: break-all;
}
.mapCaption-ori .spCap-ori {
  display: none;
}
@media (max-width: 599px) {
  .officeMap-ori {
    max-height: 360px;
  }
  .mapCaption-ori {
    font-size: 14px;
  }
  .mapCaption-ori .pcCap-ori {
    display: none;
  }
  .mapCaption-ori .spCap-ori {
    display: inline-block;
  }
}

/*キャラアイコン（共通）*/
.charaBox-hBox-ori img {
  width: 60px;
}

/*dl,dt.dd（共通）*/
.dlBox-ori {
  margin-bottom: 3.4em;
  margin-top: 3.4em;
}
.dlBox-ori dd,
.dlBox-ori dt {
  font-size: 17px;
}
.dlBox-ori dt {
  font-weight: bold;
  margin-bottom: 0.3em;
  margin-top: 1em;
}
.dlBox-ori dt::before {
  content: '・';
}
.dlBox-ori dd {
  padding-left: 1em;
}
.dlBox-ori dd:not(:last-child) {
  margin-bottom: 0.3em;
}
@media (max-width: 599px) {
  .dlBox-ori {
    margin-bottom: 2.6em;
    margin-top: 2.2em;
  }
  .dlBox-ori dd,
  .dlBox-ori dt {
    font-size: 16px;
  }
  .dlBox-ori dt {
    margin-bottom: 0.5em;
    margin-top: 1.2em;
  }
  .dlBox-ori dd:not(:last-child) {
    margin-bottom: 0.5em;
  }
}

/*近くの市町村*/
.dlBox-ori.near-ori dt {
  margin-bottom: 1em;
}
.dlBox-ori.near-ori dd:not(:last-child) {
  margin-bottom: 0.8em;
}
.dlBox-ori.near-ori dd span {
  font-weight: bold;
}

/*評判/口コミ*/
div.charaBox-box-ori:not(:last-child) {
  margin-bottom: 1.3em;
}
.charaBox-ori .charaName-ori {
  transform: translateY(5px);
}
.charaBox-ori.staffCont-ori blockquote.charaQuote {
  background-color: transparent;
  border: none;
  margin: 0;
  padding: 0;
}
.charaBox-ori.staffCont-ori blockquote.charaQuote::before {
  content: none;
}
@media (max-width: 599px) {
  #content p.charaName-ori {
    margin-left: 1em;
  }
}

/*事業所の特徴*/
.entry-content ul.featListBox-ori {
  margin-bottom: 3.4em !important;
  margin-top: 3.4em;
}
.featListBox-ori li {
  padding-bottom: 0.8em;
  padding-top: 0.8em;
}
.featListBox-ori li:not(:last-child) {
  border-bottom: dashed #d0d9d3 2px;
}
@media (max-width: 599px) {
  .entry-content ul.featListBox-ori {
    margin-bottom: 2.2em !important;
    margin-top: 2.2em;
    margin-left: 0;
  }
  #content .featListBox-ori li {
    font-size: 15px;
  }
}

/*基本情報*/
.entry-content ul.basicSecList-ori {
  background-color: transparent;
  margin-top: 0;
  padding-bottom: 0;
  padding-left: 20px;
  padding-top: 0;
}
.entry-content .basicSecList-ori li {
  padding-top: 0;
}
.entry-content .basicSecList-ori li:last-child {
  padding-bottom: 0;
}

/*参考リンク*/
.refere-ori a {
  color: #333;
  text-decoration: none;
}

/*乗換案内の注釈*/
.norikaeAnno-ori {
  background-color: whitesmoke;
  font-size: 0.9em !important;
  line-height: 1.5 !important;
  padding: 1em 1.2em;
}

/*Q&A*/
.qa-list dl {
  position: relative;
  margin: 0;
  padding: 16px 80px 16px 30px;
  cursor: pointer;
  border-bottom: 1px dashed #3ea77a;
  -webkit-tap-highlight-color: transparent;
}
.qa-list dl:first-child {
  border-top: 1px dashed #3ea77a;
}
.qa-list dl::before {
  position: absolute;
  top: 22px;
  right: 35px;
  display: block;
  width: 7px;
  height: 7px;
  margin: auto;
  content: '';
  transform: rotate(135deg);
  border-top: 2px solid #3ea77a;
  border-right: 2px solid #3ea77a;
}
.qa-list .open::before {
  transform: rotate(-45deg);
}
.qa-list dl dt {
  color: #4f4f4f;
  position: relative;
  margin: 0;
  padding: 0 0 0 50px;
  font-size: 17px;
  font-weight: bold;
}
.qa-list dl dt::before {
  font-size: 22px;
  font-weight: normal;
  line-height: 1;
  position: absolute;
  top: 3px;
  left: 0;
  display: block;
  content: 'Q\02e';
  color: #3ea77a;
  transform: translateY(-4px);
}
.qa-list dl dd::before {
  font-size: 22px;
  line-height: 1;
  position: absolute;
  top: 3px;
  left: 2px;
  display: block;
  content: 'A\02e';
  color: #3ea77a;
  transform: translateY(-4px);
}
.qa-list dl dd {
  position: relative;
  display: none;
  height: auto;
  margin: 30px 0 0;
  padding: 0 0 0 50px;
}
#content .qa-list dl dd p {
  font-size: 16px;
  margin: 30px 0 0;
}
#content .qa-list dl dd p:first-child {
  margin-top: 0;
}
.qa-list .listInqa {
  margin-top: 30px;
}
div.qa-list ul.listInqa li {
  font-size: 16px;
  padding-bottom: 0.15em;
  padding-top: 0.15em;
}
.qa-list dl.open {
  padding-bottom: 34px;
}
.qa-list dl.open dt {
  font-weight: bold;
}
.qa-list dl.open dt::before {
  font-weight: normal;
}
#content .qa-list dl dd .qa-desc {
  background-color: #f7f7f7;
  font-size: 14px;
  padding: 1em 1.2em;
}
.qa-imgBox {
  margin-bottom: 40px;
  margin-top: 40px;
}
.qa-imgBox .qa-imgBox-title {
  color: #3ea77a;
  font-weight: bold;
  text-align: center;
}
.qa-imgBox .qa-imgBox-desc {
  background-color: #f7f7f7;
  font-size: 14px;
  padding: 1em 1.2em;
}
.qa-list dd ol,
.qa-list dd ul {
  background-color: #edfcf6;
  border-radius: 10px;
  margin-left: 0;
  margin-top: 30px;
  padding: 20px 20px 20px 40px;
}
.qa-list dd li {
  font-size: 0.95em !important;
}
.qa-list dd li:not(:first-child) {
  margin-top: 10px;
}

@media screen and (max-width: 599px) {
  .qa-list dl {
    position: relative;
    padding: 15px 40px 15px 10px;
  }
  .qa-list dl::before {
    top: 18px;
    right: 20px;
    width: 7px;
    height: 7px;
  }
  .qa-list dl dt {
    padding: 0 0 0 30px;
    font-size: 14px;
  }
  .qa-list dl dt::before {
    font-size: 14px;
    top: 3px;
    left: 5px;
  }
  .qa-list dl dd::before {
    font-size: 14px;
    top: 8px;
    left: 5px;
  }
  .qa-list dl dd {
    margin: 24px 0 0;
    padding: 0 0 0 30px;
    font-size: 14px;
  }
  #content .qa-list dl dd p {
    font-size: 15px;
    line-height: 1.5;
    margin: 16px 0 0;
  }
  .qa-list .listInqa {
    margin-top: 16px;
  }
  div.qa-list ul.listInqa li {
    font-size: 15px;
    padding-bottom: 0.1em;
    padding-top: 0.1em;
  }
  .qa-list dl.open {
    padding-bottom: 24px;
  }
  #content .qa-list dl dd .qa-desc {
    font-size: 12px;
  }
  .qa-imgBox {
    margin-bottom: 30px;
    margin-top: 30px;
  }
  .qa-imgBox .qa-imgBox-title {
    font-size: 15px;
    padding-bottom: 8px;
  }
  .qa-imgWrap {
    position: relative;
  }
  .qa-imgWrap.qa-img1 {
    padding-top: calc(
      (100% + 80px) * 0.312
    ); /*(100% + 両端余白分) * 画像縦横比*/
  }
  .qa-imgWrap.qa-img2 {
    padding-top: calc(
      (100% + 80px) * 0.358
    ); /*(100% + 両端余白分) * 画像縦横比*/
  }
  .qa-imgWrap img {
    left: 50%;
    max-width: none;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: calc(100% + 80px);
  }
  .qa-imgBox .qa-imgBox-desc {
    font-size: 11px;
  }
}

/*PCとSPで表示変えたい場合（span）*/
.spSpan-ori {
  display: none;
}
@media (max-width: 599px) {
  .spSpan-ori {
    display: inline;
  }
}
