/* ------------------------------------
// top_vi
------------------------------------ */
/* ------------------------------------
// tab
------------------------------------ */
.tab {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 2rem;
}
.tab dl {
  opacity: 0.8;
  transition: 0.3s;
  display: grid;
  grid-template-columns: max-content 1fr;
  color: #FFF;
}
.tab dl dt {
  background: #3BA8D1;
  padding: 0.5rem 1rem;
  font-size: clamp(2rem, 2.4vw, 3.4rem);
  font-family: "Sofia Sans", sans-serif;
  border-radius: 10px 0 0 0;
}
.tab dl dd {
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  background: #7CBDC8;
  font-size: clamp(1.8rem, 1.8vw, 2.6rem);
  display: flex;
  align-items: center;
  border-radius: 0 10px 0 0;
}
.tab dl dd span {
  font-size: clamp(1.4rem, 1.4vw, 2rem);
}
.tab dl dd:after {
  content: "";
  width: 7px;
  height: 14px;
  display: block;
  mask: url(/lib/img/cmn/icon_arrow_01.svg) no-repeat center/contain;
  background: #FFF;
  align-self: center;
  margin-right: 1rem;
}
.tab a:hover dl {
  opacity: 1;
}
.tab .skin dl dt {
  background: #D39948;
}
.tab .skin dl dd {
  background: #E9C043;
}
.tab .current a {
  pointer-events: none;
}
.tab .current dl {
  opacity: 1;
}
.tab .current dl dt {
  padding: 1.25rem 1rem;
}
.tab .current dl dd::after {
  transform: rotate(90deg);
}
@media screen and (max-width: 768px) {
  .tab {
    display: flex;
    gap: 1rem;
    width: fit-content;
    margin: 0 auto;
  }
  .tab dl dt {
    padding: 0.5rem 1rem 0.5rem 1rem;
    font-size: 1.8rem;
  }
  .tab dl dd {
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    background: #7CBDC8;
    font-size: 1.6rem;
    gap: 0.5rem;
  }
  .tab dl dd span {
    display: none;
  }
  .tab dl dd:after {
    content: "";
    width: 7px;
    height: 14px;
    display: block;
    mask: url(/lib/img/cmn/icon_arrow_01.svg) no-repeat center/contain;
    background: #FFF;
    align-self: center;
    margin-right: 1rem;
  }
}

/* ------------------------------------
// innerlink
------------------------------------ */
#innerlink {
  background: url(/lib/img/treatment/bg_innerlink.webp) repeat;
  position: relative;
  padding: 5rem 0 5rem;
  /* categoryPanel */
  /* targetcase */
  /* treatment_skin(overwight) */
}
#innerlink::before {
  content: "";
  width: 100%;
  height: 28px;
  background: url(/lib/img/treatment/bg_innerlink.webp) repeat;
  mask: url(/lib/img/cmn/separate_nami_01.svg) repeat-x bottom/cover;
  display: block;
  position: absolute;
  bottom: -28px;
  left: 0;
}
@media screen and (max-width: 768px) {
  #innerlink {
    padding-bottom: 2rem;
  }
  #innerlink::before {
    height: 14px;
    bottom: -14px;
  }
}
#innerlink > div {
  margin: 0 auto;
  width: 100%;
}
@media screen and (min-width: calc(1000px + 2rem)) {
  #innerlink > div {
    width: 75%;
    min-width: 1000px;
  }
}
#innerlink .categoryPanel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.4vw, 2rem);
  width: fit-content;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
#innerlink .categoryPanel li {
  width: clamp(20rem, 15.3vw, 22rem);
  text-align: center;
  border: 3px solid #FFF;
  background: #DEEBED;
  aspect-ratio: 1/1;
  padding: 76% 2rem 1rem 2rem;
  display: grid;
  gap: 0;
  position: relative;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.06);
}
#innerlink .categoryPanel li .image {
  position: absolute;
  left: 18%;
  top: 10%;
  margin-bottom: 1.5rem;
  width: 64%;
}
#innerlink .categoryPanel li span {
  font-weight: 500;
  color: #3BA8D1;
}
@media screen and (max-width: 768px) {
  #innerlink .categoryPanel {
    display: grid;
    grid-template-columns: 1fr;
  }
  #innerlink .categoryPanel li {
    width: 100%;
    display: grid;
    grid-template-columns: 25% 1fr;
    aspect-ratio: auto;
    padding: 1rem 1rem;
  }
  #innerlink .categoryPanel li .image {
    width: auto;
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 0;
  }
  #innerlink .categoryPanel li span {
    align-self: center;
    font-size: clamp(1.8rem, 5.3vw, 2rem);
  }
}
#innerlink .targetcase {
  background: #FFF;
  padding: 5rem;
  margin: 0 5rem;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.06);
  position: relative;
}
#innerlink .targetcase:before, #innerlink .targetcase::after {
  content: "";
  width: 24px;
  aspect-ratio: 24/48;
  display: block;
  position: absolute;
  top: -2rem;
}
#innerlink .targetcase::before {
  left: 1rem;
  background: url(/lib/img/cmn/icon_pin_01.webp) no-repeat top/contain;
}
#innerlink .targetcase::after {
  right: 1rem;
  background: url(/lib/img/cmn/icon_pin_02.webp) no-repeat top/contain;
}
#innerlink .targetcase ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10em, 1fr));
  gap: 1.5rem 0;
}
#innerlink .targetcase ul a,
#innerlink .targetcase ul span {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 0.25rem;
}
#innerlink .targetcase ul a:before,
#innerlink .targetcase ul span:before {
  content: "";
  width: 5px;
  height: 10px;
  display: block;
  mask: url(/lib/img/cmn/icon_arrow_01.svg) no-repeat center/contain;
  background: #3BA8D1;
  align-self: center;
  transform: rotate(90deg);
}
#innerlink .targetcase ul a {
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  #innerlink .targetcase {
    padding: 3rem 2rem 1rem;
    margin: 0 10px;
  }
  #innerlink .targetcase:before, #innerlink .targetcase::after {
    content: "";
    width: 15px;
    aspect-ratio: 24/48;
    display: block;
    position: absolute;
    top: -1rem;
  }
  #innerlink .targetcase ul {
    display: block;
    overflow: hidden;
  }
  #innerlink .targetcase ul li {
    float: left;
    white-space: nowrap;
    padding: 0 1.5rem 0 0;
    margin-bottom: 1rem;
  }
}
#innerlink #treatment_skin {
  position: relative;
}
#innerlink #treatment_skin hgroup p {
  background: #D39948;
}
#innerlink #treatment_skin hgroup h3 {
  background: #E9C043;
}
#innerlink #treatment_skin .categoryPanel li {
  background: #F9F2DF;
}
#innerlink #treatment_skin .categoryPanel li span {
  color: #D39948;
}
#innerlink #treatment_skin .targetcase ul a::before,
#innerlink #treatment_skin .targetcase ul span::before {
  background: #D39948;
}
#innerlink #treatment_skin .targetcase ul a.zekka,
#innerlink #treatment_skin .targetcase ul span.zekka {
  grid-template-columns: 24px 1fr;
}
#innerlink #treatment_skin .targetcase ul a.zekka:before,
#innerlink #treatment_skin .targetcase ul span.zekka:before {
  width: 20px;
  height: 20px;
  transform: none;
  mask: url(/lib/img/cmn/virus.svg) no-repeat center/contain;
  background: #3BA8D1;
}
#innerlink #treatment_skin .link a {
  background: #E9C043;
}
#innerlink #treatment_skin .link a:hover {
  background: #D39948;
}

/* ------------------------------------
// #otolaryngologyDetail
------------------------------------ */
#otolaryngologyDetail {
  background: rgba(222, 235, 237, 0.4);
  padding: 10rem 2rem;
}
#otolaryngologyDetail > section + section {
  margin-top: 5rem;
}
#otolaryngologyDetail .widephoto {
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(2rem, 7.3vw, 10.5rem) 2rem;
  position: relative;
}
@media screen and (min-width: calc(1000px + 2rem)) {
  #otolaryngologyDetail .widephoto {
    width: 75%;
    min-width: 1000px;
  }
}
#otolaryngologyDetail .widephoto img {
  border: 4px solid #84CDD9;
}
#otolaryngologyDetail .widephoto:before {
  content: "";
  width: 100%;
  height: 6rem;
  display: block;
  background: #DDEEF0;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}
#otolaryngologyDetail .detail {
  background: #FFF;
  padding: 3rem;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  grid-template-areas: "report line medic";
  gap: 2rem;
  position: relative;
}
@media screen and (min-width: calc(1000px + 2rem)) {
  #otolaryngologyDetail .detail {
    width: 75%;
    min-width: 1000px;
  }
}
#otolaryngologyDetail .detail:after {
  grid-area: line;
  content: "";
  width: 2px;
  height: 100%;
  display: block;
  border-right: 2px dotted #5183C4;
}
#otolaryngologyDetail .detail h3 {
  text-align: center;
  font-size: clamp(1.6rem, 1.4vw, 2rem);
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: #84CDD9;
  color: #FFF;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
#otolaryngologyDetail .detail h3:before {
  content: "";
  width: 3.1rem;
  aspect-ratio: 1;
  background: url(/lib/img/cmn/icon_report.webp) no-repeat center/contain;
}
#otolaryngologyDetail .detail .medical h3 {
  background: #3BA8D1;
}
#otolaryngologyDetail .detail .medical h3:before {
  background-image: url(/lib/img/cmn/icon_medic.webp);
}
#otolaryngologyDetail .detail_vac {
  background: #FFF;
  padding: 3rem;
  margin: 0 auto;
  width: 100%;
}
@media screen and (min-width: calc(1000px + 2rem)) {
  #otolaryngologyDetail .detail_vac {
    width: 75%;
    min-width: 1000px;
  }
}
#otolaryngologyDetail .detail_vac dl {
  margin-top: 3rem;
}
#otolaryngologyDetail .detail_vac dl dt {
  background: #84CDD9;
  color: #FFF;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
#otolaryngologyDetail .detail_vac dl dt::before {
  content: "";
  width: 3rem;
  aspect-ratio: 1;
  background: url(/lib/img/cmn/icon_vaccine.webp) no-repeat center/contain;
}
#otolaryngologyDetail .detail_vac dl dd {
  padding: 2rem 0;
  border-bottom: 2px dotted #84CDD9;
}
#otolaryngologyDetail .detail_vac dl dd + dt {
  margin-top: 3rem;
}
@media screen and (max-width: 768px) {
  #otolaryngologyDetail {
    padding: 10rem 2rem;
  }
  #otolaryngologyDetail .detail {
    grid-template-columns: 1fr;
    grid-template-areas: "report" "line" "medic";
    padding: 2rem 1rem;
  }
  #otolaryngologyDetail .detail:after {
    grid-area: line;
    content: "";
    width: 100%;
    height: 2;
    display: block;
    border-bottom: 2px dotted #5183C4;
    border-right: none;
  }
}
#otolaryngologyDetail .topic {
  background: #FFF;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 40%);
  grid-template-areas: "report photo" "medical photo";
  gap: 2rem 3rem;
}
#otolaryngologyDetail .topic .report {
  grid-area: report;
}
#otolaryngologyDetail .topic .photo {
  grid-area: photo;
}
#otolaryngologyDetail .topic .medical {
  grid-area: medical;
  border: 2px solid #3BA8D1;
}
#otolaryngologyDetail .topic .medical p {
  padding: 1rem 2rem;
}
#otolaryngologyDetail .topic .medical h3 {
  text-align: center;
  font-size: clamp(1.6rem, 1.4vw, 2rem);
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: #3BA8D1;
  color: #FFF;
  font-weight: 700;
}
#otolaryngologyDetail .topic .medical h3:before {
  content: "";
  width: 3.1rem;
  aspect-ratio: 1;
  background: url(/lib/img/cmn/icon_medic.webp) no-repeat center/contain;
}
@media screen and (max-width: 768px) {
  #otolaryngologyDetail .topic {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "photo" "report" "medical";
    gap: 2rem 3rem;
    padding: 2rem 1rem;
  }
  #otolaryngologyDetail .topic .photo {
    max-width: 350px;
    margin: 0 auto;
  }
}
#otolaryngologyDetail #zekka {
  background: #F0ECDD;
  border-top: 6px solid #EFC86C;
  padding: 5rem 1rem 1rem;
  margin: 5rem auto;
  width: 100%;
}
@media screen and (min-width: calc(1000px + 2rem)) {
  #otolaryngologyDetail #zekka {
    width: 75%;
    min-width: 1000px;
  }
}
@media screen and (max-width: 768px) {
  #otolaryngologyDetail #zekka {
    padding: 3rem 1rem 1rem;
  }
}
#otolaryngologyDetail #zekka hgroup.htype02:after {
  border-color: #EFC86C;
}
#otolaryngologyDetail #zekka .topic .medical {
  border-color: #EFC86C;
}
#otolaryngologyDetail #zekka .topic .medical h3 {
  background: #EFC86C;
}
#otolaryngologyDetail #laser {
  background: #F0DEDD;
  border-top: 6px solid #F08983;
  padding: 5rem 1rem 1rem;
  margin: 5rem auto;
  width: 100%;
}
@media screen and (min-width: calc(1000px + 2rem)) {
  #otolaryngologyDetail #laser {
    width: 75%;
    min-width: 1000px;
  }
}
@media screen and (max-width: 768px) {
  #otolaryngologyDetail #laser {
    padding: 3rem 1rem 1rem;
  }
}
#otolaryngologyDetail #laser hgroup.htype02::before {
  background: #F08983;
}
#otolaryngologyDetail #laser hgroup.htype02:after {
  border-color: #F08983;
}
#otolaryngologyDetail #laser .topic .medical {
  border-color: #F08983;
}
#otolaryngologyDetail #laser .topic .medical h3 {
  background: #F08983;
}

/* ------------------------------------
// #dematologyDetail
------------------------------------ */
#dematologyDetail {
  background: rgba(241, 236, 225, 0.4);
  padding: 10rem 2rem;
}
#dematologyDetail .discriptionBox {
  border: 10px solid #F0ECDD;
  background: #FFF;
  padding: 2rem;
  margin: 0 auto;
  width: 100%;
}
@media screen and (min-width: calc(1000px + 2rem)) {
  #dematologyDetail .discriptionBox {
    width: 75%;
    min-width: 1000px;
  }
}
#dematologyDetail .imageRayout01 {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 40%);
  gap: 3rem;
  margin-bottom: 5rem;
}
#dematologyDetail .imageRayout01 p {
  align-self: center;
}
#dematologyDetail .imageRayout02 {
  position: relative;
  padding-bottom: 7.3190789474rem;
  border-bottom: 3px dotted #E9C043;
}
#dematologyDetail .imageRayout02:after {
  content: "";
  width: 6rem;
  aspect-ratio: 304/445;
  display: block;
  position: absolute;
  bottom: -4.3914473684rem;
  left: calc(50% - 3rem);
  background: url(/lib/img/cmn/kozuchichan_02.webp) no-repeat center/contain;
}
#dematologyDetail .imageRayout02:before {
  content: "";
  height: 8.7828947368rem;
  aspect-ratio: 1;
  display: block;
  position: absolute;
  bottom: -4.3914473684rem;
  left: calc(50% - 4.5rem);
  background: #FFF;
}
#dematologyDetail .imageRayout03 {
  position: relative;
  padding-bottom: 7.3190789474rem;
  border-bottom: 3px dotted #E9C043;
  display: grid;
  grid-template-columns: minmax(260px, 40%) 1fr;
  gap: 3rem;
  margin-top: 6rem;
}
#dematologyDetail .imageRayout03 p {
  align-self: center;
}
#dematologyDetail .imageRayout03:after {
  content: "";
  width: 6rem;
  aspect-ratio: 304/445;
  display: block;
  position: absolute;
  bottom: -4.3914473684rem;
  left: calc(50% - 3rem);
  background: url(/lib/img/cmn/kozuchichan_01.webp) no-repeat center/contain;
}
#dematologyDetail .imageRayout03:before {
  content: "";
  height: 8.7828947368rem;
  aspect-ratio: 1;
  display: block;
  position: absolute;
  bottom: -4.3914473684rem;
  left: calc(50% - 4.5rem);
  background: #FFF;
}
#dematologyDetail .imageRayout04 {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 40%);
  gap: 3rem;
  margin-top: 6rem;
}
#dematologyDetail .imageRayout04 p {
  align-self: center;
}
#dematologyDetail .imageRayout04 .photo {
  order: 2;
}
@media screen and (max-width: 768px) {
  #dematologyDetail {
    padding: 5rem 2rem;
  }
  #dematologyDetail .imageRayout01 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
  }
  #dematologyDetail .imageRayout01 .photo {
    max-width: 350px;
    margin: 0 auto;
  }
  #dematologyDetail .imageRayout02 {
    position: relative;
    padding-bottom: 4.3914473684rem;
  }
  #dematologyDetail .imageRayout03,
  #dematologyDetail .imageRayout04 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 6rem;
  }
  #dematologyDetail .imageRayout03 p,
  #dematologyDetail .imageRayout04 p {
    order: 1;
  }
  #dematologyDetail .imageRayout03 .photo,
  #dematologyDetail .imageRayout04 .photo {
    order: 2;
    max-width: 350px;
    margin: 0 auto;
  }
}