.dermapen_effect {
  margin-bottom: 70px;
}

.note_downtime_inner th {
  text-align: left!important;
}
.note_downtime_inner td {
  vertical-align: bottom;
}


/* 治療の流れ */
.loopBox {
  margin-bottom: 57px;
}

.h3_loopbox {
  font-size: 30px;
  margin-bottom: 54px;
}

.boxTopInner {
  font-size: 30px;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.loopBoxGold {
  color: #BBA171;
  padding-right: 30px;
}

.set2 {
  margin-bottom: 130px;
}

.whiteBtn.active {
  background-color: #fff;
  color: #333;
}

.blackBtn.active {
  color: #333;
  background-color: #fff;
}

.h3GreyBoxImg {
  width: 17px;
  height: 26px;
  margin-right: 20px;
}

.h3GreyBox {
  font-size: 30px !important;
  color: #333333;
  margin-bottom: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 
.greyBox {
  padding: 55px 0 0px;
} */

.greyBoxImg img {
  width: 100%;
}

.greyBox h2 {
  font-size: 30px;
}

.greyBox p {
  font-size: var(--font-size20);
  line-height: var(--lineHeight);
}

.greyBoxP {
  display: flex;
  flex-flow: wrap;
  gap: 2%;
  font-size: 26px;
  margin: 50px 30px 0 calc(30px + 15%);
}

.greyBoxP p {
  width: 46%;
  text-indent: -1rem;
  /* text-align: center; */
  &:nth-child(2n + 1) {
    width: 40%;
  }
  &:nth-child(2n) {
    width: 55%;
  }
}

.innerSP .displayNonePc {
  display: none;
}

.picUpPrice h3 {
  font-size: 27px;
}
.picUpPrice h2 {
  /* font-size: var(--h3-font); */
  font-size: 30px;
}

.greyContent_text {
  font-size: 30px;
  margin-bottom: 50px;
}



.faceImg {
  width: 193px;
}

.faceImg img {
  width: 100%;
}

.faceImg_flex {
  display: flex;
  justify-content: space-around;
  margin: 40px auto 0;
}

.faceImg_text {
  text-align: center;
  line-height: 12px;
  margin-top: 13px;
}

@media screen and (min-width: 768px) {
  .faceImg_text {
    font-size: 22px !important;
  }
}

.faceImg_text span {
  font-size: 18px;
  display: block;
  line-height: 1.2;
}

.parent-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;

}

.hospital_flex {
  max-width: 784px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
}

.hospital_description {
  text-align: center;
  padding-top: 20px;
}

.hospital_flex.oneCol {
  display: flex;
  justify-content: center;
}

.hospital_flex:not(.oneCol) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
}

.hospitalBtnA {
  color: white;
}

.hospitalBtn {
  background-color: #036EA8;
  width: 248px;
  font-size: 30px;
  text-align: center;
  padding: 21px 24px;
  margin: 16px 12px 0;
}

.note_downtime {
  margin-top: 70px;
  margin-inline: 20px;
  background-color: #fff;
  padding-bottom: 52px;
}

.tableText {
  color: var(--primary-color4);
  font-size: 26px;
  text-align: center;
  font-weight: bold;
  padding: 42px 0 0
}

.tableText h2 {
  font-size: 30px;
}

.note_downtime tr {
  font-size: 20px;
}

.note_downtime th {
  text-align: right;
  width: 195px;
  vertical-align: top;
  padding: 2px 0 2px 28px;
}

.note_downtime td {
  width: calc(100% - 195px);
  padding: 2px 74px 2px 28px;
}

.cochira {
  color: #036EA8;
  text-decoration: underline;
}

/* picUpPrice */
.priceComponent {
  padding: 50px 70px 0;
}

.priceComponent h3 {
  /* padding-bottom: 30px; */
  font-size: 28px;
}

.priceComponent p {
  /* font-size: calc(100vw / var(--viewport) * 28); */
  font-size: 20px;
}

.priceButton {
  padding-right: 70px;
}

@media screen and (min-width: 768px) {

  .boxTopInner img {
    padding: 0 23px 0 6px;
    margin-bottom: 8px;
  }

  .rightBoxInner p {
    padding-left: 40px;
    font-size: 20px;
    line-height: var(--lineHeight);
  }
  
  .priceButton {
    padding-right: 70px;
  }
  
  .priceButton.button {
    justify-content: end;
  }
  
  .priceButton .list-btn {
    width: max-content;
  }
}

.hospital_txt  p {
  color: #666666;
}

@media screen and (max-width: 767px) {
  .hospital_txt p {
    font-size: calc(100vw / var(--viewport)* 24)!important;
  }
  .hospital_txt {
    margin-top: calc(100vw / var(--viewport)* 50);
    padding: 0 calc(100vw / var(--viewport)* 26);
  }

  .boxTopInner {
    /* font-size: calc(100vw / var(--viewport) * 30); */
    font-size: 18px;
    margin-bottom: calc(100vw / var(--viewport) * 16);
  }

  .rightBoxInner p {
    font-size: calc(100vw / var(--viewport) * 28);
    margin-top: calc(100vw / var(--viewport) * 24);
  }

  .h3GreyBox {
    font-size: calc(100vw / var(--viewport) * 34) !important;
    margin-bottom: calc(100vw / var(--viewport) * 28);
    text-align: center;
  }

  .greyBox {
    padding: calc(100vw / var(--viewport) * 32) 0 calc(100vw / var(--viewport) * 45);
  }

  .innerSP {
    padding: 0 20px;
  }

  .innerSP .displayNonePc {
    display: block;
  }

  .loopBox {
    margin-bottom: calc(100vw / var(--viewport)* 80);
  }

  .h3_loopbox {
    /* font-size: calc(100vw / var(--viewport) * 32); */
    font-size: 20px;
    text-align: center;
    margin-bottom: calc(100vw / var(--viewport) * 40);
  }

  .greyBoxP {
    margin: 50px 30px 0;
    font-size: calc(100vw / var(--viewport) * 70) 0 0;
    gap: 0;
  }

  .picUpPrice h3 {
    /* font-size: calc(100vw / var(--viewport) * 36); */
    font-size: 18px;
    text-align: center;
  }

  .greyBox h2 {
    font-size: 20px;
  }

  .greyBox p {
    font-size: calc(100vw / var(--viewport) * 28);
  }

  .priceComponent {
    padding: 0;
    margin-top: calc(100vw / var(--viewport) * 28);
  }

  .priceComponent p {
    font-size: calc(100vw / var(--viewport) * 28);
  }

  .picUpPrice h2 {
    font-size: 20px;
  }

  .greyContent_text {
    /* font-size: calc(100vw / var(--viewport) * 32); */
    font-size: 20px;
    /* margin-top: calc(100vw / var(--viewport) * 80); */
    text-align: center;
  }

  .faceImg_flex {
    margin: calc(100vw / var(--viewport) * 30) auto 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .faceImg_text {
    font-size: calc(100vw / var(--viewport) * 30);
    margin-bottom: calc(100vw / var(--viewport) * 60);
  }

  .faceImg_textSP {
    margin-bottom: calc(100vw / var(--viewport) * 0);
  }

  .faceImg_text span {
    font-size: calc(100vw / var(--viewport) * 26);
  }

  .hospital_flex {
    justify-content: center;
    flex-wrap: nowrap;
  }

  .hospitalBtn {
    font-size: calc(100vw / var(--viewport) * 24);
    text-align: center;
    width: calc(100vw / var(--viewport) * 190);
    padding: calc(100vw / var(--viewport) * 18) 0;
    margin: calc(100vw / var(--viewport) * 20) calc(100vw / var(--viewport) * 10) 0;
  }

  .note_downtime {
    margin-top: calc(100vw / var(--viewport) * 60);
    background-color: #fff;
    padding-bottom: calc(100vw / var(--viewport) * 42);
  }

  .tableText {
    /* font-size: calc(100vw / var(--viewport) * 28); */
    font-size: 20px;
    padding: calc(100vw / var(--viewport) * 50) 0 calc(100vw / var(--viewport) * 26);
  }

  .tableText h2 {
    /* font-size: calc(100vw / var(--viewport) * 28); */
    font-size: 20px;
  }

  .faceImg {
    width: calc(100vw / var(--viewport) * 247);
  }

  .faceImg img {
    width: 100%;
  }

  .hospital_flex {
    width: calc(100vw / var(--viewport) * 610);
  }

  .note_downtime tr {
    font-size: calc(100vw / var(--viewport) * 22);
  }

  .note_downtime th {
    text-align: right;
    width: calc(100vw / var(--viewport) * 174);
    vertical-align: top;
    padding: 0 0 0 calc(100vw / var(--viewport) * 20);
  }

  .note_downtime td {
    padding: 0 calc(100vw / var(--viewport) * 20) 0 calc(100vw / var(--viewport) * 30);
  }

  .beforeImg img,
  .afterImg img {
    width: 100%;
  }

  .afterImg {
    padding-left: calc(100vw / var(--viewport) * 15);
  }

  .beforeImg {
    padding-right: calc(100vw / var(--viewport) * 15);
  }

  .h3GreyBoxImg {
    width: calc(100vw / var(--viewport) * 19);
    height: calc(100vw / var(--viewport) * 28);
    margin-right: calc(100vw / var(--viewport) * 20);
    margin-bottom: calc(100vw / var(--viewport) * 2);
  }

  .greyBoxP p {
    font-size: calc(100vw / var(--viewport)* 28);
    line-height: var(--lineHeight);
    &:nth-child(2n + 1) {
      width: 100%;
    }
    &:nth-child(2n) {
      width: 100%;
    }
  }
}

.effect_picture{
  width: 100%;
}

.effect {
  padding-top: 100px;
}

.effect h2 {
 padding-bottom: 30px;
}

h2 {
  text-align: center;
}

.featureParent{
  background-color: #F5F5F5;
  padding: 100px 0;
  margin: 100px 0;
}

/* first */
.featureParent:has(+ .featureParent) {
  margin-bottom: 0;
  padding-bottom: 50px;
}
/*  last */
.featureParent + .featureParent {
  margin-top: 0;
  padding-top: 50px;
}
/* inner */
.featureParent + .featureParent:has(+ .featureParent) {
  margin-block: 0;
  padding-block: 50px;
}

h3 {
  text-align: center;
}

.featureh2 {
  padding-top: 100px;
  margin-bottom: 50px;
}

.featureh3 {
  border-bottom: #BBA171 solid;
  padding-bottom: 10px;
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 28px;
}

.priceComponent .priceContent__Table.w100 .tableheadline {
  background: #333;
  color: #fff;
  width: 100%;
  text-align: left;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 40px;
}

.tableheadline {
  font-size: 20px;
  font-weight: 600;
  line-height: 2em;
  text-align: center;
  border-bottom: 1px solid #707070;
  padding-bottom: 7px;
}

.priceContent__Table {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #707070;
}

.tableheadline {
  width: 100%;
}

.priceContent__Table.w100 .tablehead {
  width: 250px;
}

.priceContent__TableWrapper.full {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  row-gap: 20px;
  padding: 25px 0;
}

.priceContent__TableWrapper.full:last-of-type {
  padding-bottom: 0;
}

.priceContent__Table .tabledata {
  position: relative;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  border-bottom: 1px solid #707070;
}

.priceContent__Table .tablehead {
  width: 150px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #707070;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-content: center;
  border-bottom: 1px solid #707070;
}

.priceContent__Table.noLabel .tabledata .number {
  flex: 1;
  padding-right: 79px;
  font-family: "din-2014";
  font-weight: 400;
  text-align: right;
  display: inline-block;
  font-size: 20px;
}

.priceContent__Table.w100 .tablerow {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 53px;
  display: flex;
}

.priceContent__Table.w100 .tableheadline span {
  display: block;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.3;
  color: #fff;
}

.tableheadline span br {
  display: none;
}

.featureh2 .displayNonePc {
  display: none;
}

@media screen and (max-width: 979px) {
  .priceContent__Table.w100 .tablerow {
    min-height: 41px;
  }

  .priceContent__Table.noLabel .tablehead {
    width: 50%;
  }

  .priceContent__Table .tabledata {
    width: 100px;
    font-size: 12px;
  }

  .priceContent__Table.noLabel .tabledata .number {
    padding-right: 12.308vw;
    width: 4em;
    font-size: 15px;
  }

  .priceContent__TableWrapper.full {
    row-gap: 8vw;
  }
  
  .priceContent__TableWrapper.onecolumn {
    width: 100%;
    max-width: 640px;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
  }

  .paddingBottom130 .button .list-btn {
    width: 90% !important;
  }
  
  .priceButton {
    justify-content: center;
    padding-right: 0;
  }

  .priceButton .list-btn {
    width: 90%;
  }
}

@media screen and (max-width: 768px) {
  .effect {
    padding-top: 20px;
  }

  .effect h2 {
    padding-top: 10px;
    margin-bottom: 10px;
  }

  .priceContent__Table .tablehead {
      font-size: 12px;
  }

  .featureParent{
    padding: 35px 0 50px;
    margin: 50px 0;
  }

  .featureh3 {
    font-size: 18px;
    margin-top: 20px;
  }

  .featureh2 br {
    display: none;
  }

  .featureh2 .displayNonePc {
    display: block;
  }

  .priceComponent .priceContent__Table.w100 .tableheadline {
    padding-left: 15px;
  }

  .tableheadline span br {
    display: block;
  }
}

.hospital_txt {
  text-align: center;
  margin-top: 16px;

  @media screen and (max-width: 768px) {
    text-align: left;
  }
}

.swiper-pagination {
  text-align: center;
  margin-top: 30px;
}

.swiper-pagination-bullet {
  background: gray;
  opacity: 0.5;
  width: 8px;
  height: 8px;
  margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 15px) !important;
  border-radius: 50%;
  display: inline-block;
}

.swiper-pagination-bullet-active {
  background: blue;
  opacity: 1;
}

@media screen and (max-width: 386px) {
  .innerSP .displayNonePc--386 {
    display: none;
  }
}

@media screen and (max-width: 400px) {
  .innerSP .displayNonePc--400 {
    display: none;
  }
}

@media screen and (max-width: 446px) {
  .innerSP .displayNonePc--446 {
    display: none;
  }
}
