.box-ph {
  width: 100%;
  overflow: hidden;
}
.box-ph img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
}

#staff .content .profile {
  display: flex;
  flex-direction: column;
  margin-bottom: 5vh;
  justify-content: center;
}
#staff .content .profile:nth-of-type(1) .profile_career p:nth-of-type(2) {
  padding-top: 1vh;
}
@media (min-width: 1200px) {
  #staff .content .profile {
    flex-direction: row;
    gap: 3vw;
  }
}
@media (max-width: 1199px) {
  #staff .content .profile {
    flex-direction: column;
    align-items: center;
    gap: 2vh;
  }
}
#staff .content .profile .profile_name {
  position: relative;
  flex-basis: calc(50% - 1.5vw);
}
#staff .content .profile .profile_name div {
  position: absolute;
  top: 1em;
  left: 1em;
  writing-mode: vertical-rl;
  text-shadow: 2px 2px 1px #FFF;
}
@media (max-width: 576px) {
  #staff .content .profile .profile_name div {
    position: relative;
    writing-mode: initial;
    text-shadow: none;
    top: 0;
    left: 0;
    text-align: center;
  }
}
#staff .content .profile .profile_name img {
  width: 100%;
  height: auto;
}
#staff .content .profile .profile_name h3, #staff .content .profile .profile_name p {
  font-family: Noto serif JP;
}
#staff .content .profile .profile_name p {
  font-size: clamp(1.8rem, 1vw, 2.4rem);
  font-weight: bold;
  color: #48241E;
}
#staff .content .profile .profile_name h3 {
  font-size: clamp(2.8rem, 3vw, 3.8rem);
}
#staff .content .profile .profile_name h4 {
  font-family: "Arsenal", sans-serif;
}
#staff .content .profile .profile_career {
  flex-basis: calc(50% - 1.5vw);
}
@media (max-width: 1199px) {
  #staff .content .profile .profile_career {
    width: 100%;
  }
}
#staff .content .profile .profile_career h5, #staff .content .profile .profile_career p {
  margin-bottom: 2.5vh;
}
#staff .content .profile .profile_career p {
  font-size: clamp(1.4rem, 1vw, 1.8rem);
}
#staff .content .profile .profile_career h5 {
  color: #48241E;
  font-size: clamp(1.8rem, 1vw, 2.4rem);
  font-weight: bold;
  border-bottom: 3px solid #48241E;
  display: block;
}

#clinic .treatments {
  display: flex;
  margin: 5vh 0;
  gap: 3em;
}
@media (max-width: 820px) {
  #clinic .treatments {
    flex-direction: column;
  }
}
#clinic .treatments div {
  flex-basis: calc(50% - 1.5em);
}
#clinic .treatments h2 {
  font-size: clamp(2.4rem, 2vw, 3.2rem);
  font-family: Noto serif JP;
  padding-bottom: 1em;
}
#clinic .treatments p {
  font-size: clamp(1.4rem, 1vw, 1.8rem);
}
#clinic .pickup {
  display: flex;
  margin-bottom: 5vh;
  flex-direction: row;
  gap: 2vw;
}
@media (max-width: 1199px) {
  #clinic .pickup {
    flex-direction: column;
  }
}
#clinic .pickup img {
  flex-basis: 30%;
  height: auto;
}
@media (max-width: 1199px) {
  #clinic .pickup img {
    flex-basis: 100%;
  }
}
#clinic .pickup div {
  flex: 1;
}
#clinic .pickup h3 {
  font-size: clamp(2.4rem, 2vw, 3.2rem);
  font-family: Noto serif JP;
  padding-bottom: 1em;
}
#clinic .pickup p {
  font-size: clamp(1.4rem, 1vw, 1.8rem);
}
#clinic .pickup a {
  font-size: clamp(1.4rem, 1vw, 1.8rem);
}
#clinic .succeed {
  background-image: url(/../assets/img/handshake.webp);
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: stretch;
  flex-direction: row;
  justify-content: flex-start;
}
@media (max-width: 820px) {
  #clinic .succeed {
    justify-content: center;
  }
}
#clinic .succeed div {
  color: #FFF;
  padding: max(2rem, 2.5vw) max(2rem, 2.5vw);
  text-shadow: 3px 3px 3px #000;
  display: flex;
  align-items: flex-start;
  flex-direction: row-reverse;
}
#clinic .succeed div h4 {
  font-family: Noto serif JP;
  font-size: clamp(2.8rem, 3vw, 5rem);
  writing-mode: tb;
  margin: 0 auto;
}
#clinic .succeed div h4 span {
  font-family: Noto serif JP;
  writing-mode: lr;
}
#clinic .succeed div p {
  font-size: clamp(1.4rem, 1vw, 1.8rem);
  writing-mode: tb;
  color: #FFF;
}

#access .content .accessmap {
  display: flex;
  gap: 3vw;
  margin-bottom: 5vh;
}
@media (max-width: 1600px) {
  #access .content .accessmap {
    flex-direction: column;
    gap: 5vh;
  }
}
#access .content .accessmap svg {
  flex-basis: 50%;
}
#access .content .accessmap svg .cls-1 {
  fill: #48241E;
}
#access .content .accessmap svg .cls-2 {
  fill: #333;
}
#access .content .accessmap svg .cls-3 {
  fill: #c2f0d4;
}
#access .content .accessmap svg .cls-4 {
  fill: #d9d9d9;
}
#access .content .accessmap .mapinfo div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
#access .content .accessmap .mapinfo div svg {
  flex-basis: 5vh;
}
#access .content .accessmap .mapinfo div svg .cls-1 {
  fill: #eec5da;
}
#access .content .accessmap .mapinfo div svg .cls-2 {
  fill: #48241E;
}
#access .content .accessmap .mapinfo div svg .cls-3 {
  fill: #c00e54;
}
#access .content .accessmap .mapinfo div svg .cls-4 {
  fill: #11959e;
}
#access .content .accessmap .mapinfo div svg .cls-5 {
  fill: #c04470;
}
#access .content .accessmap .mapinfo div svg .cls-6 {
  fill: #d78aab;
}
#access .content .accessmap .mapinfo div h4 {
  font-size: clamp(2rem, 2vw, 3.2rem);
  flex: 1;
  color: #48241E;
}
#access .content .accessmap .mapinfo table tr:not(:first-child) td {
  color: #009ca6;
}
#access .content .accessmap .mapinfo table tr:not(:first-child) td span {
  color: #c00e54;
}
#access .content .accessmap .mapinfo .schedule {
  color: #009ca6;
}
#access .content .accessmap .mapinfo .schedule span {
  color: #c00e54;
}
#access .content div div {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 2em;
}
#access .content div table {
  width: 100%;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  color: #48241E;
  background-color: #fff;
}
#access .content div table th,
#access .content div table td {
  padding: 1em 0;
}
#access .content div table th {
  width: 30%;
  border-right: solid 1px #48241E;
  border-bottom: solid 1px #48241E;
}
#access .content div table td {
  border-bottom: solid 1px #48241E;
}
#access .content div table td:nth-child(8) {
  border-right: none;
}
#access .content div table tr:nth-child(3) th,
#access .content div table tr:nth-child(3) td {
  border-bottom: none;
}
#access .content .directions {
  text-align: center;
  display: flex;
  gap: 2rem;
}
@media (max-width: 1199px) {
  #access .content .directions {
    flex-direction: column;
  }
}
#access .content .directions h4 {
  font-size: 1.4rem;
}
#access .content address {
  font-size: clamp(1.6rem, 1vw, 2rem);
  font-weight: bold;
  line-height: 2;
  text-align: justify;
    color:#48241E;
}

#ladies .content .gyntop {
  margin-bottom: 5vh;
}
#ladies .content .gyntop h2 {
  color: #48241E;
  font-family: "02Ryusenkei-BK";
  font-size: clamp(2.6rem, 2vw, 3.6rem);
  padding: 1em 0;
}
#ladies .content .gyntop p {
  font-size: clamp(1.4rem, 1vw, 1.8rem);
}
#ladies .content .excerptsec {
  display: flex;
  flex-wrap: wrap;
  gap: 3em;
  margin-bottom: 5vh;
}
#ladies .content .excerptsec .case-block {
  flex-basis: calc(100% - 1em);
  padding: max(2em, 2.5vw);
  color: #48241E;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #FFF;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  gap: max(2em, 2.5vh);
}
#ladies .content .excerptsec .case-block h2, #ladies .content .excerptsec .case-block h3 {
  padding: 0;
  color: #48241E;
  font-family: Noto serif JP;
}
#ladies .content .excerptsec .case-block h2 {
  font-size: clamp(2rem, 1vw, 2.8rem);
  word-break: keep-all;
}
@media (max-width: 820px) {
  #ladies .content .excerptsec .case-block h2 {
    word-break: break-all;
  }
}
#ladies .content .excerptsec .case-block .readmore {
  background-color: #917c78;
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 1em 0;
  color: #FFF;
  z-index: 1;
  position: relative;
}
#ladies .content .excerptsec .case-block .readmore::before {
  content: "";
  z-index: -1;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #48241E;
  transform-origin: center right;
  transform: scaleX(0);
  transition: transform 0.25s ease-in-out;
}
#ladies .content .excerptsec .case-block .readmore:hover::before {
  transform-origin: center left;
  transform: scaleX(1);
}

#Gynlower .content h3 {
  --baloon-color: #48241E;
  position: relative;
  border-bottom: 3px solid var(--baloon-color);
  padding: 0.5em 0;
  margin: 5vh 0;
  color: #48241E;
}
#Gynlower .content h3:before, #Gynlower .content h3:after {
  position: absolute;
  content: "";
  left: 1em;
  width: 0;
  height: 0;
  border-width: 14px 12px 0;
  border-style: solid;
}
#Gynlower .content h3:before {
  bottom: -14px;
  border-color: var(--baloon-color) transparent transparent;
}
#Gynlower .content h3:after {
  bottom: -10px;
  border-color: #FFF8F4 transparent transparent;
}
#Gynlower .content .cause,
#Gynlower .content .insp,
#Gynlower .content .rx {
  padding: 1em 0;
  position: relative;
}
#Gynlower .content .cause li,
#Gynlower .content .insp li,
#Gynlower .content .rx li {
  padding: 1em 0 1em 3em;
  background-color: #FFF;
  color: #333;
}
#Gynlower .content .cause li:not(:last-child),
#Gynlower .content .insp li:not(:last-child),
#Gynlower .content .rx li:not(:last-child) {
  margin-bottom: 1em;
}
#Gynlower .content .cause li:before,
#Gynlower .content .insp li:before,
#Gynlower .content .rx li:before {
  position: absolute;
  width: 2em;
  left: 0;
}
#Gynlower .content .cause li:before {
  content: url("../../assets/img/shock.svg");
}
#Gynlower .content .insp li:before {
  content: url("../../assets/img/insp.svg");
}
#Gynlower .content .rx li:before {
  content: url("../../assets/img/rx.svg");
}
#Gynlower .content .rx li.meds:before {
  content: url("../../assets/img/meds.svg");
}
#Gynlower .content .rx li.surg:before {
  content: url("../../assets/img/surg.svg");
}
#Gynlower .content .rx li.hosp:before {
  content: url("../../assets/img/hosp.svg");
}
#Gynlower .reservation_of {
  overflow: hidden;
  margin: 3vh 0 2vh;
}
#Gynlower .reservation_of .reservation {
  background-image: url(/assets/img/reservation_img.webp);
  height: 25vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: 0.3s;
}
#Gynlower .reservation_of .reservation:hover {
  opacity: 0.9;
  transform: scale(1.03);
}
#Gynlower .reservation_of .reservation a {
  width: 100%;
  height: 100%;
  display: inline-block;
}
#Gynlower .reservation_of .reservation p {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: clamp(1.6rem, 1vw, 2rem);
  font-weight: bold;
  text-align: center;
  padding: 1em;
  backdrop-filter: blur(10px);
  color: #FFF;
}

#mental .content div {
  background: #fff;
  padding: 3rem;
  border-radius: 25px;
  margin-bottom: 5vh;
}
#mental .content #case1 {
  margin-top: 5vh;
}
#mental .content h2 {
  font-size: clamp(3rem, 1vw, 4rem);
}
#mental .content h3 {
  font-size: clamp(2rem, 1vw, 3.2rem);
  border-bottom: 3px dotted #48241E;
  text-indent: -1em;
  padding-left: 1em;
}
#mental .content h4 {
  font-size: clamp(1.8rem, 1vw, 2rem);
  padding: 1em 0;
  color: #48241E;
}
#mental .content h5 {
  padding-top: 1em;
  font-size: 1.6rem;
  color: #009ca6;
  display: inline-block;
  position: relative;
}
#mental .content h5::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #48241E;
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}
#mental .content h5:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
#mental .content h5::after {
  background-color: #009ca6;
}
#mental .content ul {
  display: flex;
}
@media (max-width: 820px) {
  #mental .content ul {
    flex-direction: column;
  }
}
#mental .content ul li {
  color: #333;
  flex-basis: 33.3333333333%;
}

#sitemap .content ul {
  margin-left: 2em;
}
#sitemap .content ul li {
  text-indent: 1em;
  list-style: disc;
  line-height: 2.3em;
}
#sitemap .content ul ul li {
  list-style: circle;
}

#notfound .content {
  margin-top: 7vh;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background-image: url(/../assets/img/clinic_main_01.webp);
}
#notfound .content h1 {
  font-size: 8rem;
  color: #48241E;
  font-family: "Arsenal";
}
#notfound .content h2 {
  font-family: "Arsenal";
}
#notfound .content p {
  padding-top: 2vh;
  font-family: "Noto serif JP";
  font-weight: bold;
}
#notfound .content button {
  margin-top: 2vh;
  border-radius: 10px;
  background-color: #dad3d2;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}
#notfound .content button:hover {
  opacity: 0.7;
  transform: scale(1.02);
}
#notfound .content button a {
  padding: 1.5em;
  font-size: 1.2rem;
  font-weight: 900;
  color: #333;
  font-family: "Noto Serif JP";
}
#notfound .content h1,
#notfound .content h2,
#notfound .content p,
#notfound .content button {
  animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
@keyframes fadeup {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}