.pharmacy-wrapper {
  padding: 0 var(--space-16);
}
.pharmacy__desc {
  margin-bottom: var(--space-40);
  text-align: center;
}
.pharmacy__btn-top {
  margin-bottom: var(--space-40);
}
.pharmacy__btn-top a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 32px;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 48px 24px 8px;
  border-radius: 10px;
  border-right: 5px solid var(--color-accent-yellow);
  border-bottom: 5px solid var(--color-accent-yellow);
  background-color: #ED9021;
  color: var(--color-white);
  font-size: 44px;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}
.pharmacy__btn-top a:after {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  background-image: url(../../assets/img/support-center/icon-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}
.pharmacy__btn-top a:hover {
  background-color: var(--color-accent-yellow);
}


.pharmacy__btn-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: var(--space-16);
  row-gap: 24px;
}
.pharmacy__btn-bottom a {
  position: relative;
  width: 340px;
  max-width: 100%;
  height: auto;
  padding: var(--space-16) 0 32px 0;
  border-radius: 10px;
  border-right: 5px solid #F5D562;
  border-bottom: 5px solid #F5D562;
  background-color: var(--color-accent-yellow);
  color: var(--color-white);
  font-size: 24px;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.3;
  transition: all 0.3s ease;
}
.pharmacy__btn-bottom a:after {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  background-image: url(../../assets/img/support-center/icon-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}
.pharmacy__btn-bottom a:hover {
  background-color: #FFD024;
}

.pharmacy__btn-link {
  margin-top: 80px;
}
.pharmacy__btn-link a {
  display: block;
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 0;
  border: 1px solid #ff8d4f;
  background-color: var(--color-white);
  color: #ff8d4f;
  font-size: var(--fs-20);
  text-align: center;
  transition: all 0.3s ease;
}
.pharmacy__btn-link a:hover {
  background-color: #ff8d4f;
  color: var(--color-white);
}
.pharmacy__btn-link a:after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  margin-bottom: 3px;
  border-top: 2px solid #ff8d4f;
  border-right: 2px solid #ff8d4f;
  transform: rotate(45deg);
  transition: border-color 0.3s ease;
}
.pharmacy__btn-link a:hover:after {
  border-color: var(--color-white);
}

.hidden-pc {
  display: none;
}

@media (max-width: 640px) {
  #subPage .pharmacy__desc p {
    line-height: 1.6;
  }
  .pharmacy__btn-top {
    margin-bottom: 24px;
  }
  .pharmacy__btn-top a {
    width: 100%;
    height: 136px;
    padding-bottom: 4px;
    font-size: 36px;
  }
  .pharmacy__btn-bottom a {
    width: 100%;
    height: 136px;
    font-size: 21px;
  }

  .pharmacy__btn-link {
    margin-top: var(--space-40);
    margin-bottom: 80px;
  }

  .pharmacy__btn-link a {
    font-size: var(--fs-18);
  }

  .hidden-pc {
    display: block;
  }
}
/* taxonomy-office-category.php の直書き<style>から移植 (2026-06-04) */
#column {
  display: flex;
}
.msgBox {
  margin-bottom: 60px;
}
.msgBox strong {
  font-weight: bold;
}
.msgBox p {
  margin-bottom: var(--space-16);
}

#address dl dt .title-label {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 6px;
  background-color: #579235;
  border-radius: 4px;
  color: white;
  font-size: var(--fs-14);
  line-height: 1.5;
  letter-spacing: 0.1em;
  transform: translateY(-3px);
}
#address .tooltip {
  display: none;
  position: absolute;
  top: 80px;
  left: 40px;
  width: 300px;
  height: auto;
  padding: var(--space-16);
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .16);
  font-size: var(--fs-14);
  line-height: 1.6;
}
#address a:hover .tooltip {
  display: block;
  color: var(--color-text);
  z-index: 9999;
}
@media (max-width: 640px) {
  #column {
    flex-direction: column-reverse;
  }

  #address dl dt .title-label {
    transform: translateY(0);
  }
  #address .tooltip {
    top: 40px;
    left: 24px;
  }
}

/* 20231013 追加 */
.menuList.noChild a:hover::after {
  transform: none;
}
