
@charset "utf-8";

/* =========================================
   Dermatology page
========================================= */
.page-dermatology{
  padding: 80px 0 120px;
  background: #eef2f5;
}

.page-dermatology .container{
  max-width: 1280px;
}

.dermatology-page__panel{
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(10, 35, 66, .10);
  padding: 56px 56px 60px;
}

/* intro */
.derma-intro{
  margin-bottom: 40px;
}

.derma-intro__grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}

.derma-intro__eyebrow{
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #256fb2;
  font-weight: 600;
}

.derma-intro__title{
  margin: 0 0 22px;
  font-size: 34px;
  line-height: 1.5;
  color: #0a3f73;
  font-weight: 700;
}

.derma-intro__lead p{
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 2.1;
  color: #334155;
}

.derma-intro__lead p:last-child{
  margin-bottom: 0;
}

.derma-intro__links{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.derma-chipLink{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #f3f8fe;
  border: 1px solid #d4e3f3;
  color: #0a3f73;
  font-size: 14px;
  font-weight: 700;
  transition: .25s ease;
}

.derma-chipLink:hover{
  background: #e6f1fb;
}

.derma-intro__visual{
  position: relative;
  min-height: 420px;
}

.derma-intro__visualMain{
  height: 100%;
  min-height: 420px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.9), rgba(255,255,255,0) 38%),
    linear-gradient(135deg, #dfeefe 0%, #b9daf8 45%, #edf6fe 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 18px 40px rgba(0, 98, 178, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.derma-intro__visualMain::before,
.derma-intro__visualMain::after{
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
}

.derma-intro__visualMain::before{
  width: 210px;
  height: 210px;
  top: 28px;
  right: 26px;
}

.derma-intro__visualMain::after{
  width: 120px;
  height: 120px;
  bottom: 46px;
  left: 28px;
}

.derma-intro__visualMain span{
  position: relative;
  z-index: 1;
  font-family: "Zen Old Mincho", serif;
  font-size: 38px;
  line-height: 1.4;
  letter-spacing: .1em;
  color: #0a3f73;
}

.derma-intro__card{
  position: absolute;
  left: -24px;
  bottom: 28px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 18px 40px rgba(10, 35, 66, .12);
  backdrop-filter: blur(8px);
}

.derma-intro__card p{
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #1f3344;
  font-weight: 600;
}

.derma-anchor{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(243,248,254,.92);
  border: 1px solid #d7e5f3;
  backdrop-filter: blur(8px);
}

.derma-anchor a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d7e5f3;
  color: #0a3f73;
  font-size: 14px;
  font-weight: 700;
  transition: .25s ease;
}

.derma-anchor a:hover{
  background: #0062b2;
  border-color: #0062b2;
  color: #fff;
}

/* sections */
.derma-section{
  scroll-margin-top: 220px;
}

.derma-section + .derma-section{
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid #e4edf6;
}

.derma-section__grid{
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}

.derma-section--reverse .derma-section__grid{
  grid-template-columns: 1fr 380px;
}

.derma-section--reverse .derma-section__body{
  order: 1;
}

.derma-section--reverse .derma-section__media{
  order: 2;
}

.derma-section__media{
  margin: 0;
}

.derma-section__ph{
  position: relative;
  height: 100%;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(10, 35, 66, .10);
}

.derma-section__ph::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(255,255,255,.74), rgba(255,255,255,0) 44%),
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0) 60%);
}

.derma-section__ph::after{
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.35);
}

.derma-section__ph span{
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #0a3f73;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}

.derma-section__ph--blue{ background: linear-gradient(135deg, #d9edff 0%, #9dcfff 100%); }
.derma-section__ph--pink{ background: linear-gradient(135deg, #ffe1ee 0%, #ffc2da 100%); }
.derma-section__ph--beige{ background: linear-gradient(135deg, #fde9dc 0%, #f7cdb7 100%); }
.derma-section__ph--green{ background: linear-gradient(135deg, #e0f5ea 0%, #b2e1c9 100%); }
.derma-section__ph--violet{ background: linear-gradient(135deg, #e8e4ff 0%, #c9c3ff 100%); }
.derma-section__ph--aqua{ background: linear-gradient(135deg, #def8fb 0%, #afeaf1 100%); }
.derma-section__ph--orange{ background: linear-gradient(135deg, #ffe7d8 0%, #ffc89d 100%); }

.derma-section__eyebrow{
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #256fb2;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

.derma-section__title{
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.45;
  color: #0a3f73;
  font-weight: 700;
}

.derma-section__text p{
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 2.05;
  color: #334155;
}

.derma-section__text p:last-child{
  margin-bottom: 0;
}

.derma-list{
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.derma-list li{
  position: relative;
  margin: 0 0 10px;
  padding-left: 1.2em;
  font-size: 16px;
  line-height: 2;
  color: #334155;
}

.derma-list li::before{
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: #256fb2;
  font-weight: 700;
}

.derma-subcard{
  margin-top: 22px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: #f8fbfe;
  border: 1px solid #dce9f5;
}

.derma-subcard h3{
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.5;
  color: #0a3f73;
  font-weight: 700;
}

.derma-subcard p{
  margin: 0 0 12px;
}

.derma-subcard p:last-child{
  margin-bottom: 0;
}

@media (max-width: 1100px){
  .dermatology-page__panel{
    padding: 40px 32px 44px;
  }

  .derma-intro__grid,
  .derma-section__grid,
  .derma-section--reverse .derma-section__grid{
    grid-template-columns: 1fr;
  }

  .derma-section--reverse .derma-section__body,
  .derma-section--reverse .derma-section__media{
    order: initial;
  }

  .derma-intro__visual{
    min-height: 360px;
  }

  .derma-intro__visualMain{
    min-height: 360px;
  }

  .derma-intro__card{
    left: 20px;
    bottom: 20px;
  }
}

@media (max-width: 767px){
  .page-dermatology{
    padding: 48px 0 80px;
  }

  .page-dermatology .container{
    width: min(100%, calc(100% - 28px));
  }

  .dermatology-page__panel{
    padding: 24px 16px 28px;
    border-radius: 14px;
  }

  .derma-intro{
    margin-bottom: 24px;
  }

  .derma-intro__title{
    font-size: 26px;
    line-height: 1.55;
  }

  .derma-intro__lead p{
    font-size: 15px;
    line-height: 1.95;
  }

  .derma-intro__links{
    gap: 8px;
    margin-top: 22px;
  }

  .derma-chipLink{
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .derma-intro__visual{
    min-height: 280px;
  }

  .derma-intro__visualMain{
    min-height: 280px;
    border-radius: 20px;
  }

  .derma-intro__visualMain span{
    font-size: 28px;
  }

  .derma-intro__card{
    position: static;
    margin-top: 14px;
    padding: 16px 16px 14px;
    border-radius: 14px;
  }

  .derma-intro__card p{
    font-size: 14px;
    line-height: 1.8;
  }

  .derma-anchor{
    position: static;
    gap: 8px;
    margin-bottom: 24px;
    padding: 14px;
    border-radius: 14px;
  }

  .derma-anchor a{
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .derma-section{
    scroll-margin-top: 100px;
  }

  .derma-section + .derma-section{
    margin-top: 24px;
    padding-top: 24px;
  }

  .derma-section__grid{
    gap: 20px;
  }

  .derma-section__ph{
    min-height: 220px;
    border-radius: 18px;
  }

  .derma-section__title{
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .derma-section__text p,
  .derma-list li{
    font-size: 15px;
    line-height: 1.9;
  }

  .derma-subcard{
    margin-top: 16px;
    padding: 16px 16px 14px;
    border-radius: 14px;
  }

  .derma-subcard h3{
    font-size: 18px;
  }
}


/* =========================
   Dermatology page update
========================= */
.derma-intro__grid{
  grid-template-columns: 1fr;
}

.derma-subttl{
  margin: 34px 0 14px;
  padding-left: 18px;
  position: relative;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
  color: #0a3f73;
}

.derma-subttl::before{
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 6px;
  height: 1.2em;
  border-radius: 999px;
  background: #256fb2;
}

.derma-minittl{
  margin: 24px 0 10px;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
  color: #256fb2;
}

.derma-checkGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
  margin: 26px 0 30px;
  border-top: 1px dashed #cfd8e3;
}

.derma-checkItem{
  position: relative;
  padding: 22px 0 22px 40px;
  border-bottom: 1px dashed #cfd8e3;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 500;
  color: #143a54;
}

.derma-checkItem::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 18px;
  width: 22px;
  height: 22px;
  border: 1px solid #d7d8c8;
  border-radius: 6px;
  background: #f6f4ec;
  color: #2ba7a7;
  font-size: 15px;
  line-height: 20px;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 767px){
  .derma-subttl{
    margin: 26px 0 12px;
    padding-left: 14px;
    font-size: 22px;
  }

  .derma-subttl::before{
    width: 4px;
  }

  .derma-minittl{
    margin: 18px 0 8px;
    font-size: 17px;
  }

  .derma-checkGrid{
    grid-template-columns: 1fr;
    gap: 0;
    margin: 20px 0 24px;
  }

  .derma-checkItem{
    padding: 16px 0 16px 34px;
    font-size: 15px;
    line-height: 1.75;
  }

  .derma-checkItem::before{
    top: 13px;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 18px;
  }
}


/* =========================
   Dermatology page update 02
========================= */
.derma-section__grid,
.derma-section--reverse .derma-section__grid{
  grid-template-columns: 1fr;
}

.derma-section__media{
  display: none;
}

.derma-checkLead{
  margin: 20px 0 12px;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
  color: #143a54;
}

@media (max-width: 767px){
  .derma-checkLead{
    margin: 16px 0 10px;
    font-size: 16px;
    line-height: 1.75;
  }
}


/* =========================
   Dermatology page update 03
========================= */
.derma-intro__grid{
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.derma-intro__visual{
  position: relative;
  min-height: 430px;
}

.derma-intro__visualMain{
  min-height: 430px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(10, 35, 66, .12);
  background:
    linear-gradient(180deg, rgba(10,63,115,.08), rgba(10,63,115,.18)),
    url("https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
}

.derma-anchor{
  top: 128px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 42px;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(247,250,253,.96), rgba(238,245,251,.96));
  border: 1px solid #dce7f1;
  box-shadow: 0 16px 32px rgba(10, 35, 66, .08);
  backdrop-filter: blur(10px);
}

.derma-anchor a{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f2eee8;
  border: none;
  color: #0a304d;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}

.derma-anchor a::after{
  content: "↓";
  display: inline-block;
  margin-left: 10px;
  font-size: 16px;
  line-height: 1;
  color: #0f7ac7;
  transform: translateY(-1px);
}

.derma-anchor a:hover{
  transform: translateY(-1px);
  background: #0062b2;
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 98, 178, .18);
}

.derma-anchor a:hover::after{
  color: #fff;
}

.derma-section__grid,
.derma-section--reverse .derma-section__grid{
  grid-template-columns: 380px 1fr;
  gap: 44px;
}

.derma-section--reverse .derma-section__grid{
  grid-template-columns: 1fr 380px;
}

.derma-section--reverse .derma-section__body{
  order: 1;
}

.derma-section--reverse .derma-section__media{
  order: 2;
}

.derma-section__media{
  display: block;
  margin: 0;
}

.derma-section__ph{
  min-height: 340px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(10, 35, 66, .12);
  background-size: cover;
  background-position: center;
}

.derma-section__ph::before,
.derma-section__ph::after,
.derma-section__ph span{
  display: none;
}

.derma-section__ph--tinea{
  background-image: linear-gradient(180deg, rgba(10,63,115,.08), rgba(10,63,115,.18)), url("https://images.unsplash.com/photo-1584467735871-b6c6a5e2f4ba?auto=format&fit=crop&w=1000&q=80");
}
.derma-section__ph--wart{
  background-image: linear-gradient(180deg, rgba(10,63,115,.08), rgba(10,63,115,.18)), url("https://images.unsplash.com/photo-1556228578-8c89e6adf883?auto=format&fit=crop&w=1000&q=80");
}
.derma-section__ph--rosacea{
  background-image: linear-gradient(180deg, rgba(10,63,115,.08), rgba(10,63,115,.18)), url("https://images.unsplash.com/photo-1556228720-195a672e8a03?auto=format&fit=crop&w=1000&q=80");
}
.derma-section__ph--pustulosis{
  background-image: linear-gradient(180deg, rgba(10,63,115,.08), rgba(10,63,115,.18)), url("https://images.unsplash.com/photo-1519823551278-64ac92734fb1?auto=format&fit=crop&w=1000&q=80");
}
.derma-section__ph--atopic{
  background-image: linear-gradient(180deg, rgba(10,63,115,.08), rgba(10,63,115,.18)), url("https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?auto=format&fit=crop&w=1000&q=80");
}
.derma-section__ph--molluscum{
  background-image: linear-gradient(180deg, rgba(10,63,115,.08), rgba(10,63,115,.18)), url("https://images.unsplash.com/photo-1512436991641-6745cdb1723f?auto=format&fit=crop&w=1000&q=80");
}
.derma-section__ph--psoriasis{
  background-image: linear-gradient(180deg, rgba(10,63,115,.08), rgba(10,63,115,.18)), url("https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=1000&q=80");
}

@media (max-width: 1100px){
  .derma-intro__grid,
  .derma-section__grid,
  .derma-section--reverse .derma-section__grid{
    grid-template-columns: 1fr;
  }

  .derma-section--reverse .derma-section__body,
  .derma-section--reverse .derma-section__media{
    order: initial;
  }

  .derma-anchor{
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px){
  .derma-intro__visual{
    min-height: 240px;
  }

  .derma-intro__visualMain{
    min-height: 240px;
    border-radius: 18px;
  }

  .derma-anchor{
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    margin: 0 -4px 24px;
    padding: 10px 4px 12px;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
  }

  .derma-anchor a{
    flex: 0 0 auto;
    min-height: 54px;
    padding: 0 16px;
    font-size: 14px;
  }

  .derma-anchor a::after{
    margin-left: 8px;
    font-size: 14px;
  }

  .derma-section__media{
    display: block;
  }

  .derma-section__ph{
    min-height: 210px;
    border-radius: 18px;
  }
}


/* =========================
   Dermatology page update 05
========================= */
.derma-anchor{

  top: 128px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 42px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.derma-anchor a{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 14px 0 32px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: #0a304d;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.derma-anchor a::after{
  content: none;
}

.derma-anchor a::before{
  content: "↓";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #0f7ac7;
  font-size: 16px;
  line-height: 1;
}

.derma-anchor a:hover{
  transform: none;
  background: transparent;
  color: #0062b2;
  box-shadow: none;
}

.derma-checkItem{
  display: flex;
  align-items: center;
  padding: 22px 0 22px 38px;
}

.derma-checkItem::before{
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 0;
  background: #eef2f5;
  color: #0062b2;
  font-size: 14px;
  line-height: 20px;
}

.derma-checkLead{
  position: relative;
  padding-left: 1em;
}

.derma-checkLead::before{
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: #0062b2;
  font-weight: 700;
}

@media (max-width: 1100px){
  .derma-anchor{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px){
  .derma-anchor{
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    margin: 0 0 24px;
    padding: 0;
    overflow: visible;
  }

  .derma-anchor a{
    min-height: 48px;
    padding: 0 10px 0 28px;
    font-size: 14px;
    line-height: 1.45;
    white-space: normal;
  }

  .derma-anchor a::before{
    left: 6px;
    font-size: 14px;
  }

  .derma-checkItem{
    padding: 16px 0 16px 32px;
  }

  .derma-checkItem::before{
    width: 18px;
    height: 18px;
    font-size: 13px;
    line-height: 18px;
  }

  .derma-checkLead{
    padding-left: 0.95em;
  }
}

/* =========================
   Dermatology page update 06
========================= */
.derma-intro__content{
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.derma-anchor{
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 42px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.derma-anchor a{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 12px 0 28px;
  background: #0062b2;
  color: #fff;
  border: none;
  border-radius: 999px;
  box-shadow: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}

.derma-anchor a::after{
  content: none;
}

.derma-anchor a::before{
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid rgba(255,255,255,.85);
}

.derma-anchor a:hover{
  background: #0a4f89;
  color: #fff;
}

.derma-checkGrid{
  grid-template-columns: 1fr;
  gap: 0;
}

.derma-checkItem{
  display: flex;
  align-items: center;
  padding: 18px 0 18px 36px;
}

@media (max-width: 1100px){
  .derma-anchor{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px){
  .derma-anchor{
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 24px;
  }

  .derma-anchor a{
    min-height: 44px;
    padding: 0 10px 0 24px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    white-space: normal;
  }

  .derma-anchor a::before{
    left: 9px;
    border-left-width: 3.5px;
    border-right-width: 3.5px;
    border-top-width: 5px;
  }

  .derma-checkGrid{
    grid-template-columns: 1fr;
  }

  .derma-checkItem{
    padding: 14px 0 14px 32px;
    font-size: 15px;
    line-height: 1.75;
  }
}


/* =========================================
   Cosmetic Dermatology page
========================================= */
.page-cosmetic-dermatology .dermatology-page__panel{
  overflow: hidden;
}

.cosmetic-intro__grid{
  grid-template-columns: 1fr;
  gap: 46px;
  align-items: center;
}

.cosmetic-intro__visual{
  position: relative;
  min-height: 500px;
}

.cosmetic-intro__mainImage,
.cosmetic-intro__subImage{
  margin: 0;
  background: #f7f9fc;
  border: 1px solid #dbe7f4;
  box-shadow: 0 18px 36px rgba(10, 35, 66, .10);
  overflow: hidden;
}

.cosmetic-intro__mainImage{
  position: absolute;
  inset: 0 0 40px 56px;
  border-radius: 28px;
  padding: 28px;
}

.cosmetic-intro__subImage{
  position: absolute;
  width: 180px;
  border-radius: 24px;
  padding: 18px;
  background: #ffffff;
}

.cosmetic-intro__subImage--a{
  left: 0;
  top: 32px;
}

.cosmetic-intro__subImage--b{
  right: 22px;
  bottom: 0;
}

.cosmetic-intro__visual img,
.cosmetic-photoCard img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cosmetic-anchor{
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.cosmetic-anchor a{
  min-height: 56px;
  white-space: normal;
}

.cosmetic-device__grid{
  grid-template-columns: 400px 1fr;
  gap: 48px;
  align-items: start;
}

.derma-section--reverse.cosmetic-device .cosmetic-device__grid{
  grid-template-columns: 1fr 400px;
}

.cosmetic-device__media{
  display: block;
  align-self: start;
}

.cosmetic-photoCard{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 28px;
  border-radius: 28px;
  background: #f8fafc;
  border: 1px solid #dbe7f4;
  box-shadow: 0 18px 36px rgba(10, 35, 66, .10);
}

.cosmetic-photoCard--led{
  background: linear-gradient(180deg, #fff8f8 0%, #f8fafc 100%);
}

.cosmetic-device__subname{
  margin: -6px 0 18px;
  font-size: 16px;
  line-height: 1.6;
  color: #256fb2;
  font-weight: 700;
}

.cosmetic-stepCard{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.cosmetic-stepCard__item{
  padding: 22px 20px;
  border-radius: 18px;
  background: #f8fbfe;
  border: 1px solid #dce9f5;
}

.cosmetic-stepCard__item h3{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.6;
  color: #0a3f73;
}

.cosmetic-stepCard__item p{
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #334155;
}

.cosmetic-cardSection .derma-section__title{
  margin-bottom: 14px;
}

.cosmetic-simpleCard{
  padding: 34px 36px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe7f4;
  box-shadow: 0 14px 28px rgba(10, 35, 66, .06);
}

.cosmetic-agaGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cosmetic-agaItem{
  padding: 22px 22px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dce9f5;
}

.cosmetic-agaItem p{
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: #334155;
}

@media (max-width: 1100px){
  .cosmetic-intro__grid,
  .cosmetic-device__grid,
  .derma-section--reverse.cosmetic-device .cosmetic-device__grid{
    grid-template-columns: 1fr;
  }

  .cosmetic-intro__visual{
    min-height: 420px;
  }

  .cosmetic-anchor{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cosmetic-stepCard,
  .cosmetic-agaGrid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px){
  .cosmetic-intro__grid{
    gap: 24px;
  }

  .cosmetic-intro__visual{
    min-height: 320px;
  }

  .cosmetic-intro__mainImage{
    inset: 0 0 28px 30px;
    border-radius: 18px;
    padding: 18px;
  }

  .cosmetic-intro__subImage{
    width: 112px;
    border-radius: 14px;
    padding: 10px;
  }

  .cosmetic-intro__subImage--a{
    top: 18px;
  }

  .cosmetic-intro__subImage--b{
    right: 8px;
  }

  .cosmetic-anchor{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cosmetic-photoCard{
    min-height: 240px;
    padding: 16px;
    border-radius: 18px;
  }

  .cosmetic-device__subname{
    margin-bottom: 12px;
    font-size: 14px;
  }

  .cosmetic-stepCard{
    gap: 12px;
    margin-top: 18px;
  }

  .cosmetic-stepCard__item{
    padding: 16px 14px;
    border-radius: 14px;
  }

  .cosmetic-stepCard__item h3{
    font-size: 16px;
  }

  .cosmetic-stepCard__item p,
  .cosmetic-agaItem p{
    font-size: 14px;
    line-height: 1.85;
  }

  .cosmetic-simpleCard{
    padding: 22px 16px;
    border-radius: 16px;
  }

  .cosmetic-agaItem{
    padding: 16px 14px 14px;
    border-radius: 14px;
  }
}


/* ===== Cosmetic dermatology page adjustments (2026-04-23) ===== */
.cosmetic-anchor{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cosmetic-device__subname{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
  padding: 8px 18px;
  border: 1px solid #c9d9ea;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.cosmetic-stepNote{
  margin-top: 20px;
  padding: 24px 24px 22px;
  border-radius: 18px;
  background: #f8fbfe;
  border: 1px solid #dce9f5;
}

.cosmetic-stepNote p{
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.9;
  color: #334155;
}

.cosmetic-stepNote p:last-child{
  margin-bottom: 0;
}

.cosmetic-stepNote__list{
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.cosmetic-stepNote__list li{
  position: relative;
  margin: 0 0 10px;
  padding-left: 1.2em;
  font-size: 15px;
  line-height: 1.9;
  color: #334155;
}

.cosmetic-stepNote__list li::before{
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: #256fb2;
  font-weight: 700;
}

#propetia,
#zagallo,
#pelobaum,
#bosley{
  scroll-margin-top: 220px;
}

@media (max-width: 1100px){
  .cosmetic-anchor{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px){
  .cosmetic-anchor{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cosmetic-device__subname{
    font-size: 16px;
    padding: 7px 14px;
    margin-bottom: 16px;
  }

  .cosmetic-stepNote{
    margin-top: 16px;
    padding: 18px 16px;
    border-radius: 14px;
  }

  .cosmetic-stepNote p,
  .cosmetic-stepNote__list li{
    font-size: 14px;
    line-height: 1.85;
  }

  #propetia,
  #zagallo,
  #pelobaum,
  #bosley{
    scroll-margin-top: 100px;
  }
}


/* ===== Cosmetic dermatology page adjustments (2026-04-23 tranexamic) ===== */
.cosmetic-stepCard__item--full{
  grid-column: 1 / -1;
}

.cosmetic-stepCard--tranexamicInfo .cosmetic-stepCard__item p + p{
  margin-top: 8px;
}

.cosmetic-photoCard--empty{
  min-height: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 767px){
  .cosmetic-stepCard--tranexamicInfo .cosmetic-stepCard__item p + p{
    margin-top: 6px;
  }
}

@media (max-width: 767px){
  .cosmetic-device .derma-section__media,
  .derma-section--reverse.cosmetic-device .derma-section__media{
    order: 1;
  }

  .cosmetic-device .derma-section__body,
  .derma-section--reverse.cosmetic-device .derma-section__body{
    order: 2;
  }
}


/* ===== Cosmetic dermatology page adjustments (2026-04-23 incremental) ===== */
.cosmetic-anchor{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cosmetic-stepCard--azelaicInfo{
  margin-top: 24px;
}

.cosmetic-stepCard--azelaicInfo .cosmetic-stepCard__item h3{
  margin-bottom: 12px;
}

.cosmetic-photoCard--empty{
  min-height: 320px;
  background: transparent;
  border: 1px dashed #dbe7f4;
  box-shadow: none;
}

@media (max-width: 1100px){
  .cosmetic-anchor{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px){
  .cosmetic-anchor{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ===== Cosmetic dermatology page adjustments (2026-04-23 update 03) ===== */
.cosmetic-photoCard--empty{
  background: transparent;
  border: 1px dashed #dbe7f4;
  box-shadow: none;
}

.cosmetic-stepCard--tretinoinInfo .cosmetic-stepCard__item{
  display: flex;
  align-items: center;
}

.cosmetic-stepCard--tretinoinInfo .cosmetic-stepCard__item p{
  margin: 0;
}

.cosmetic-stepNote--tretinoin{
  margin-top: 18px;
}


/* ===== Cosmetic dermatology page adjustments (2026-04-23 追記) ===== */
.cosmetic-stepNote h3{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.6;
  color: #0a3f73;
}




/* =========================================
   Inspection page
========================================= */
.page-inspection .inspection-intro__grid{
  grid-template-columns: 1fr;
  gap: 0;
}

.inspection-lead__heading{
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
  color: #0a3f73;
}

.inspection-flow{
  margin: 0 0 44px;
  padding: 44px 40px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f8fbfd 0%, #eef4f7 100%);
  border: 1px solid #d9e5ec;
}

.inspection-flow__title{
  margin: 0 0 28px;
  text-align: center;
  font-size: 34px;
  line-height: 1.5;
  font-weight: 700;
  color: #0a3f73;
}

.inspection-flow__title::after{
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: #b8d7de;
}

.inspection-flow__list{
  display: grid;
  gap: 12px;
}

.inspection-flow__item{
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
  background: #eef2f5;
}

.inspection-flow__step{
  display: flex;
  align-items: center;
  padding: 22px 18px;
  background: #0b8595;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.inspection-flow__body{
  display: flex;
  align-items: center;
  padding: 22px 26px;
  color: #334155;
  font-size: 16px;
  line-height: 1.95;
}

.inspection-flow__arrow{
  width: 0;
  height: 0;
  margin: -6px auto -2px;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 18px solid #8fc8d0;
}

.inspection-anchor{
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inspection-anchor a{
  white-space: normal;
}

.inspection-section .derma-section__title{
  margin-bottom: 20px;
}

.inspection-patchflow{
  margin-top: 34px;
  padding: 44px 40px;
  border-radius: 28px;
  background: #fbfbfb;
}

.inspection-patchflow__head{
  margin-bottom: 28px;
}

.inspection-patchflow__title{
  margin: 0;
  font-size: 32px;
  line-height: 1.5;
  font-weight: 700;
  color: #0a3f73;
  text-align: center;
}

.inspection-patchflow__timeline{
  display: grid;
  gap: 0;
}

.inspection-patchflow__row{
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 32px;
}

.inspection-patchflow__marker{
  position: relative;
  display: flex;
  justify-content: center;
}

.inspection-patchflow__row:not(:last-child) .inspection-patchflow__marker::after{
  content: "";
  position: absolute;
  top: 76px;
  bottom: -18px;
  left: 50%;
  width: 2px;
  background: #e5bf97;
  transform: translateX(-50%);
}

.inspection-patchflow__num{
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  border: 1.5px solid #e5bf97;
  background: #fff;
  display: grid;
  place-items: center;
  color: #e39a47;
  font-size: 22px;
  font-weight: 700;
}

.inspection-patchflow__content{
  padding: 8px 0 42px;
  border-bottom: 1px dashed #d8d8d8;
}

.inspection-patchflow__row:last-child .inspection-patchflow__content{
  padding-bottom: 0;
  border-bottom: none;
}

.inspection-patchflow__content h3{
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 700;
  color: #0a3f73;
}

.inspection-patchflow__content p{
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 2;
  color: #334155;
}

.inspection-patchflow__content p:last-child{
  margin-bottom: 0;
}

.inspection-note{
  margin-top: 34px;
  padding: 24px 28px;
  border-radius: 20px;
  background: #f8fbfe;
  border: 1px solid #d8e5f2;
}

.inspection-note__label{
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .12em;
  color: #256fb2;
}

.inspection-note__text{
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: #334155;
  font-weight: 500;
}

@media (max-width: 1100px){
  .inspection-anchor{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .inspection-flow__item,
  .inspection-patchflow__row{
    grid-template-columns: 1fr;
  }

  .inspection-flow__step,
  .inspection-flow__body{
    padding: 18px 20px;
  }

  .inspection-patchflow__marker{
    justify-content: flex-start;
    margin-bottom: 8px;
  }

  .inspection-patchflow__row:not(:last-child) .inspection-patchflow__marker::after{
    display: none;
  }
}

@media (max-width: 767px){
  .inspection-lead__heading{
    font-size: 20px;
    margin-bottom: 12px;
  }

  .inspection-flow{
    margin-bottom: 24px;
    padding: 24px 16px;
    border-radius: 18px;
  }

  .inspection-flow__title{
    font-size: 26px;
    margin-bottom: 22px;
  }

  .inspection-flow__item{
    border-radius: 14px;
    overflow: hidden;
  }

  .inspection-flow__step{
    padding: 15px 16px;
    font-size: 16px;
  }

  .inspection-flow__body{
    padding: 15px 16px;
    font-size: 15px;
    line-height: 1.85;
  }

  .inspection-flow__arrow{
    border-left-width: 12px;
    border-right-width: 12px;
    border-top-width: 16px;
  }

  .inspection-anchor{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inspection-patchflow{
    margin-top: 24px;
    padding: 24px 16px;
    border-radius: 18px;
  }

  .inspection-patchflow__head{
    margin-bottom: 20px;
  }

  .inspection-patchflow__title{
    font-size: 24px;
  }

  .inspection-patchflow__timeline{
    gap: 18px;
  }

  .inspection-patchflow__num{
    width: 56px;
    height: 56px;
    font-size: 20px;
  }

  .inspection-patchflow__content{
    padding: 0 0 18px;
  }

  .inspection-patchflow__content h3{
    font-size: 18px;
    margin-bottom: 10px;
  }

  .inspection-patchflow__content p,
  .inspection-note__text{
    font-size: 15px;
    line-height: 1.9;
  }

  .inspection-note{
    margin-top: 24px;
    padding: 18px 16px;
    border-radius: 14px;
  }
}


/* ===== Tretinoin step list UI ===== */
.tretinoin-stepList{
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tretinoin-stepList__item{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 28px;
}

.tretinoin-stepList__item:last-child{
  padding-bottom: 0;
}

/* 縦の繋ぎ線 */
.tretinoin-stepList__item:not(:last-child)::before{
  content: "";
  position: absolute;
  left: 17px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background: #b8d7e8;
}

.tretinoin-stepList__badge{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1d7ab8;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.tretinoin-stepList__text{
  padding-top: 6px;
  font-size: 16px;
  line-height: 1.7;
  color: #1a2e44;
  font-weight: 700;
}

/* 注記リスト */
.tretinoin-noteList{
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tretinoin-noteList li{
  position: relative;
  padding-left: 2.2em;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.85;
  color: #5a7085;
}

.tretinoin-noteList li:last-child{
  margin-bottom: 0;
}

.tretinoin-noteList li::before{
  content: "※" counter(note-counter);
  counter-increment: note-counter;
  position: absolute;
  left: 0;
  color: #5a7085;
}

.tretinoin-noteList{
  counter-reset: note-counter;
}

@media (max-width: 767px){
  .tretinoin-stepList__badge{
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 7px;
  }

  .tretinoin-stepList__item:not(:last-child)::before{
    left: 15px;
    top: 42px;
  }

  .tretinoin-stepList__text{
    font-size: 15px;
  }

  .tretinoin-noteList li{
    font-size: 13px;
  }
}

/* ===== Step list with body text (peeling etc.) ===== */
.tretinoin-stepList__body{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.tretinoin-stepList__desc{
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: #4a6478;
}

/* withBodyのとき縦線を本文まで伸ばす */
.tretinoin-stepList--withBody .tretinoin-stepList__item:not(:last-child){
  padding-bottom: 32px;
}

.tretinoin-stepList--withBody .tretinoin-stepList__item:not(:last-child)::before{
  top: 44px;
}

@media (max-width: 767px){
  .tretinoin-stepList__desc{
    font-size: 14px;
  }
}

/* ===== LED Point cards ===== */
.led-pointList{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 22px;
}

.led-pointCard{
  padding: 24px 24px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(10, 35, 66, .08);
  border: 1px solid #e8eef5;
}

.led-pointCard__badge{
  display: inline-block;
  padding: 4px 10px;
  border-radius: 5px;
  background: #0062b2;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
  margin-bottom: 14px;
}

.led-pointCard__title{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  color: #0062b2;
}

.led-pointCard__text{
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #4a6478;
}

@media (max-width: 767px){
  .led-pointCard{
    padding: 20px 18px;
  }

  .led-pointCard__title{
    font-size: 18px;
  }

  .led-pointCard__text{
    font-size: 14px;
  }
}

/* led-pointCard: バッジなしのとき title の上余白をリセット */
.led-pointCard__title:first-child{
  margin-top: 0;
}
