/* vi
------------------------------------ */
.vi {
  background-image: url(../img/medical/vi.webp);
}

/* medical
------------------------------------ */
section + * {
  margin-top: 60px;
}
section .medical_basic {
  display: grid;
  grid-template-columns: auto 41.3%;
  gap: 0 20px;
}
section .medical_basic .image {
  grid-column: 2/3;
  grid-row: 1/span 2;
}
section .medical_basic .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
section .medical_basic hgroup {
  grid-column: 1/2;
  grid-row: 1/2;
  border-radius: 20px 20px 0 0;
  display: flex;
  gap: 0 40px;
  align-items: center;
}
section .medical_basic hgroup .icon {
  width: clamp(17px, 12.1vw, 174px);
  aspect-ratio: 1/1;
  border-radius: 20px 0 20px 0;
  display: grid;
  place-content: center;
}
section .medical_basic hgroup .icon::before {
  content: "";
  background-repeat: no-repeat;
  background-size: 100% auto;
}
section .medical_basic hgroup h2 {
  font-size: 2.6rem;
  font-weight: 500;
}
section .medical_basic .detail {
  grid-column: 1/2;
  grid-row: 2/3;
  border-radius: 0 0 20px 20px;
  padding: 45px 55px;
}
section .medical_basic.even {
  grid-template-columns: 41.3% auto;
}
section .medical_basic.even .image {
  grid-column: 1/2;
}
section .medical_basic.even hgroup,
section .medical_basic.even .detail {
  grid-column: 2/3;
}
section#general .medical_basic hgroup {
  background: #f9fcfd;
}
section#general .medical_basic hgroup .icon {
  background: #99cdde;
}
section#general .medical_basic hgroup .icon::before {
  width: clamp(8px, 5.8vw, 83px);
  aspect-ratio: 166/140;
  background-image: url(../img/medical/general_icon.webp);
}
section#general .medical_basic .detail {
  background: #f9fcfd;
}
section#prevent .medical_basic hgroup {
  background: #f8f5fc;
}
section#prevent .medical_basic hgroup .icon {
  background: #c3b1d7;
}
section#prevent .medical_basic hgroup .icon::before {
  width: clamp(8px, 5.8vw, 83px);
  aspect-ratio: 166/140;
  background-image: url(../img/medical/prevent_icon.webp);
}
section#prevent .medical_basic .detail {
  background: #f8f5fc;
}
section#periodontal .medical_basic hgroup {
  background: #f1fcfb;
}
section#periodontal .medical_basic hgroup .icon {
  background: #9dd0ce;
}
section#periodontal .medical_basic hgroup .icon::before {
  width: clamp(7px, 5vw, 72px);
  aspect-ratio: 144/140;
  background-image: url(../img/medical/periodontal_icon.webp);
}
section#periodontal .medical_basic .detail {
  background: #f1fcfb;
}
section#child .medical_basic hgroup {
  background: #fdf9fb;
}
section#child .medical_basic hgroup .icon {
  background: #edbfda;
}
section#child .medical_basic hgroup .icon::before {
  width: clamp(7px, 4.6vw, 66px);
  aspect-ratio: 133/140;
  background-image: url(../img/medical/child_icon.webp);
}
section#child .medical_basic .detail {
  background: #fdf9fb;
}
section#child .photo {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
section#child .photo > * img {
  border-radius: 20px;
}
section .medical_advance {
  border-radius: 20px;
  display: grid;
  grid-template-columns: auto 41.3%;
  grid-template-rows: max-content auto 1fr;
}
section .medical_advance hgroup {
  grid-column: 1/2;
  grid-row: 1/2;
  display: flex;
  gap: 0 40px;
  align-items: center;
  position: relative;
}
section .medical_advance hgroup::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
  aspect-ratio: 1/1;
  background-image: radial-gradient(circle at 100% 100%, transparent 20px, #fff 21px);
  transform: rotate(90deg);
}
section .medical_advance hgroup .icon {
  width: clamp(17px, 12.1vw, 174px);
  aspect-ratio: 1/1;
  border-radius: 20px 0 20px 0;
  display: grid;
  place-content: center;
}
section .medical_advance hgroup .icon::before {
  content: "";
  background-repeat: no-repeat;
  background-size: 100% auto;
}
section .medical_advance hgroup h2 {
  font-size: 2.6rem;
  font-weight: 500;
}
section .medical_advance .detail {
  grid-column: 1/2;
  grid-row: 2/4;
  padding: 45px 55px 0;
}
section .medical_advance .image {
  grid-column: 2/3;
  grid-row: 1/3;
  border-left: solid 20px #fff;
  border-bottom: solid 20px #fff;
  border-radius: 0 0 0 20px;
  background: #fff;
  position: relative;
}
section .medical_advance .image::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4rem;
  width: 20px;
  aspect-ratio: 1/1;
  background-image: radial-gradient(circle at 100% 100%, transparent 20px, #fff 21px);
  transform: rotate(90deg);
}
section .medical_advance .image img {
  border-radius: 20px;
}
section .medical_advance .specific {
  grid-column: 1/span 2;
  grid-row: 4/5;
  padding: 45px 55px 55px 55px;
}
section .medical_advance .specific .price h3 {
  font-weight: 500;
  margin-bottom: 1em;
}
section .medical_advance .specific .price table {
  border-radius: 20px;
  border: solid 1px #f7d296;
  overflow: hidden;
  width: 100%;
  border-spacing: 0;
}
section .medical_advance .specific .price table th,
section .medical_advance .specific .price table td {
  padding: 1.2em 1em;
  text-align: center;
}
section .medical_advance .specific .price table th.boldline,
section .medical_advance .specific .price table td.boldline {
  border-bottom-width: 3px;
}
section .medical_advance .specific .price table tbody th {
  background: #f7d296;
  color: #fff;
  border-bottom: solid 1px #fff;
  font-weight: 500;
  width: 37%;
}
section .medical_advance .specific .price table tbody th.noline {
  border-bottom: none;
}
section .medical_advance .specific .price table tbody td {
  border-right: solid 1px #f7d296;
  border-bottom: solid 1px #f7d296;
  background: #fff;
}
section .medical_advance .specific .price table tbody td:last-child {
  border-right: none;
  white-space: nowrap;
}
section .medical_advance .specific .price table tbody tr:last-child th,
section .medical_advance .specific .price table tbody tr:last-child td {
  border-bottom: none;
}
section .medical_advance.even {
  grid-template-columns: 41.3% auto;
}
section .medical_advance.even hgroup {
  grid-column: 2/3;
}
section .medical_advance.even hgroup::after {
  right: auto;
  left: 0;
  transform: rotate(0);
}
section .medical_advance.even hgroup .icon {
  border-radius: 0 0 20px 0;
}
section .medical_advance.even .detail {
  grid-column: 2/3;
}
section .medical_advance.even .image {
  grid-column: 1/2;
  border-left: none;
  border-right: solid 20px #fff;
  border-radius: 0 0 20px 0;
}
section .medical_advance.even .image::after {
  right: auto;
  left: 0;
  transform: rotate(0);
}
section#oralsurgery .medical_advance {
  background: #f9fdfb;
}
section#oralsurgery .medical_advance hgroup .icon {
  background: #a7d4c2;
}
section#oralsurgery .medical_advance hgroup .icon::before {
  width: clamp(9px, 6.3vw, 90px);
  aspect-ratio: 180/180;
  background-image: url(../img/medical/oralsurgery_icon.webp);
}
section#oralsurgery .medical_advance .specific dl.surgery {
  display: grid;
  grid-template-columns: minmax(180px, auto) auto;
  align-items: start;
  gap: 20px 40px;
  margin-bottom: 40px;
}
section#oralsurgery .medical_advance .specific dl.surgery dt {
  text-align: center;
  background: #a7d4c2;
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  padding: 0.5em 0.5em;
}
section#oralsurgery .medical_advance .specific dl.surgery dd {
  align-self: center;
}
section#cosmetic .medical_advance {
  background: #fffff8;
}
section#cosmetic .medical_advance hgroup .icon {
  background: #f7d296;
}
section#cosmetic .medical_advance hgroup .icon::before {
  width: clamp(7px, 4.7vw, 67px);
  aspect-ratio: 67/70;
  background-image: url(../img/medical/cosmetic_icon.webp);
}
section#implant .medical_advance {
  background: #fafbfd;
}
section#implant .medical_advance hgroup .icon {
  background: #9db2df;
}
section#implant .medical_advance hgroup .icon::before {
  width: clamp(7px, 4.5vw, 65px);
  aspect-ratio: 65/70;
  background-image: url(../img/medical/implant_icon.webp);
}
section#implant .medical_advance .specific .price table {
  border-color: #9db2df;
}
section#implant .medical_advance .specific .price table tbody th {
  background: #9db2df;
}
section#implant .medical_advance .specific .price table tbody td {
  border-color: #9db2df;
}
section#invisalign .medical_advance {
  background: #fefbfa;
}
section#invisalign .medical_advance hgroup .icon {
  background: #ecb9ab;
}
section#invisalign .medical_advance hgroup .icon::before {
  width: clamp(11px, 7.4vw, 106px);
  aspect-ratio: 106/47;
  background-image: url(../img/medical/invisalign_icon.webp);
}
section#invisalign .medical_advance .specific .price table {
  border-color: #ecb9ab;
}
section#invisalign .medical_advance .specific .price table tbody th {
  background: #ecb9ab;
}
section#invisalign .medical_advance .specific .price table tbody td {
  border-color: #ecb9ab;
}
section#preortho .medical_advance {
  background: #f6faf9;
}
section#preortho .medical_advance hgroup .icon {
  background: #a1daca;
}
section#preortho .medical_advance hgroup .icon::before {
  width: clamp(10px, 6.9vw, 100px);
  aspect-ratio: 100/60;
  background-image: url(../img/medical/preortho_icon.webp);
}
section#preortho .medical_advance .specific .price table {
  border-color: #a1daca;
}
section#preortho .medical_advance .specific .price table tbody th {
  background: #a1daca;
}
section#preortho .medical_advance .specific .price table tbody td {
  border-color: #a1daca;
}
section#whitening .medical_advance {
  background: #fff9f5;
}
section#whitening .medical_advance hgroup .icon {
  background: #f8bc91;
}
section#whitening .medical_advance hgroup .icon::before {
  width: clamp(9px, 6.2vw, 89px);
  aspect-ratio: 89/70;
  background-image: url(../img/medical/whitening_icon.webp);
}
section#whitening .medical_advance .specific .price table {
  border-color: #f8bc91;
}
section#whitening .medical_advance .specific .price table tbody th {
  background: #f8bc91;
}
section#whitening .medical_advance .specific .price table tbody td {
  border-color: #f8bc91;
}
section#whitening .medical_advance .specific .bnr {
  margin-top: 40px;
  display: block;
  background: url(../img/medical/bg_whitening_bnr.webp) no-repeat center center/cover;
  border-radius: 20px;
  padding: 20px;
  overflow: hidden;
  position: relative;
}
section#whitening .medical_advance .specific .bnr::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 75%);
}
section#whitening .medical_advance .specific .bnr .campaign {
  background: #fff;
  border-radius: 20px;
  text-align: center;
  padding: 35px 20px 20px;
  transition: 0.3s;
}
section#whitening .medical_advance .specific .bnr .campaign dt {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.3;
}
section#whitening .medical_advance .specific .bnr .campaign dd {
  font-size: 4rem;
  font-weight: 700;
}
section#whitening .medical_advance .specific .bnr:hover::after {
  left: 100%;
  transition: left 0.6s ease-out;
}
section#dentures .medical_advance {
  background: #f5eef9;
}
section#dentures .medical_advance hgroup .icon {
  background: #d0abe1;
}
section#dentures .medical_advance hgroup .icon::before {
  width: clamp(7px, 4.5vw, 65px);
  aspect-ratio: 65/70;
  background-image: url(../img/medical/dentures_icon.webp);
}
section#dentures .medical_advance .specific .price table {
  border-color: #d0abe1;
}
section#dentures .medical_advance .specific .price table tbody th {
  background: #d0abe1;
}
section#dentures .medical_advance .specific .price table tbody td {
  border-color: #d0abe1;
}
@media screen and (max-width: 768px) {
  section + * {
    margin-top: 3rem;
  }
  section .medical_basic {
    display: block;
  }
  section .medical_basic .image {
    padding: 2rem 2rem 0;
  }
  section .medical_basic .image img {
    max-height: 25rem;
    border-radius: 1rem;
  }
  section .medical_basic hgroup {
    border-radius: 1rem 1rem 0 0;
    gap: 0 2rem;
  }
  section .medical_basic hgroup .icon {
    width: 30%;
    border-radius: 1rem 0 1rem 0;
  }
  section .medical_basic hgroup h2 {
    font-size: 1.8rem;
  }
  section .medical_basic .detail {
    border-radius: 0 0 1rem 1rem;
    padding: 2rem;
  }
  section#general .medical_basic {
    background: #f9fcfd;
  }
  section#general .medical_basic hgroup .icon::before {
    width: 5.3rem;
  }
  section#prevent .medical_basic {
    background: #f8f5fc;
  }
  section#prevent .medical_basic hgroup .icon::before {
    width: 4.3rem;
  }
  section#periodontal .medical_basic {
    background: #f1fcfb;
  }
  section#periodontal .medical_basic hgroup .icon::before {
    width: 4.5rem;
  }
  section#child .medical_basic {
    background: #fdf9fb;
  }
  section#child .medical_basic hgroup .icon::before {
    width: 4rem;
  }
  section#child .photo {
    margin-top: 2rem;
    display: block;
  }
  section#child .photo > * + * {
    margin-top: 2rem;
  }
  section#child .photo > * img {
    border-radius: 1rem;
  }
  section .medical_advance {
    border-radius: 1rem;
    display: block;
  }
  section .medical_advance hgroup {
    gap: 0 2rem;
  }
  section .medical_advance hgroup::after {
    display: none;
  }
  section .medical_advance hgroup .icon {
    width: 30%;
    border-radius: 1rem 0 1rem 0;
  }
  section .medical_advance hgroup h2 {
    font-size: 1.8rem;
  }
  section .medical_advance .detail {
    padding: 2rem;
  }
  section .medical_advance .image {
    border: none;
    background: none;
    border-radius: 0;
    padding: 2rem 2rem 0;
  }
  section .medical_advance .image::after {
    display: none;
  }
  section .medical_advance .image img {
    border-radius: 1rem;
  }
  section .medical_advance .specific {
    padding: 2rem;
  }
  section .medical_advance .specific .price h3 {
    font-size: 1.5rem;
  }
  section .medical_advance .specific .price .tbl_scr {
    overflow-x: auto;
  }
  section .medical_advance .specific .price .tbl_scr table {
    border-radius: 1rem;
    width: 170%;
  }
  section .medical_advance .specific .price .tbl_scr table tbody th {
    width: 35%;
  }
  section .medical_advance.even hgroup .icon {
    border-radius: 1rem 0 1rem 0;
  }
  section .medical_advance.even .image {
    border-radius: 0;
  }
  section#oralsurgery .medical_advance hgroup .icon::before {
    width: 6rem;
  }
  section#oralsurgery .medical_advance .specific dl.surgery {
    display: block;
    margin-bottom: 2rem;
  }
  section#oralsurgery .medical_advance .specific dl.surgery dt {
    border-radius: 1rem;
    margin-bottom: 1rem;
  }
  section#oralsurgery .medical_advance .specific dl.surgery dd {
    margin-bottom: 2.5rem;
  }
  section#cosmetic .medical_advance hgroup .icon::before {
    width: 4.2rem;
  }
  section#implant .medical_advance hgroup .icon::before {
    width: 3.5rem;
  }
  section#invisalign .medical_advance hgroup .icon::before {
    width: 6.6rem;
  }
  section#preortho .medical_advance hgroup .icon::before {
    width: 5.5rem;
  }
  section#whitening .medical_advance hgroup .icon::before {
    width: 5.5rem;
  }
  section#whitening .medical_advance .specific .bnr {
    margin-top: 3rem;
    border-radius: 1rem;
    padding: 1.5rem;
  }
  section#whitening .medical_advance .specific .bnr .campaign {
    border-radius: 1rem;
    padding: 1rem;
  }
  section#whitening .medical_advance .specific .bnr .campaign dt {
    font-size: 1.6rem;
  }
  section#whitening .medical_advance .specific .bnr .campaign dd {
    font-size: 3rem;
  }
  section#dentures .medical_advance hgroup .icon::before {
    width: 3.5rem;
  }
}