/* ===== 認定衛生士ページ専用CSS ===== */

.cert-fv {
  position: relative;
  width: 100vw;
  height: 570px;
  min-height: 570px;
  background: #000102;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.cert-fv-inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  position: relative;
}

.cert-fv::before {
  content: '';
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, #011037 100%);
  z-index: 1;
}

.cert-fv-bg {
  position: absolute;
  left: -212px;
  top: -115px;
  width: 1736px;
  height: 1629px;
  object-fit: cover;
  z-index: 1;
}

.cert-fv-ellipse {
  position: absolute;
  left: 318px;
  top: 351px;
  width: 803px;
  height: 878.56px;
  z-index: 2;
  pointer-events: none;
}

.cert-fv-content {
  position: absolute;
  left: 180px;
  top: 165px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: auto;
}

.cert-fv-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.5em;
  letter-spacing: 5%;
  color: #fff;
  margin: 0;
  text-align: left;
}

.cert-fv-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 5%;
  color: #fff;
  margin: 0;
  text-align: left;
}

.cert-fv-gradient {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 122px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(217,217,217,0) 0%, rgba(96,210,255,0.2) 100%);
}

.cert-message, .cert-partner, .cert-conditions, .cert-seminar {
  width: 100vw;
  margin: 0 auto 40px auto;
  padding: 80px 0;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.cert-message-inner, .cert-partner-inner, .cert-conditions-inner, .cert-seminar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 180px;
}

.cert-message {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  align-items: stretch;
  gap: 63px;
  background: radial-gradient(ellipse at 50% 50%, #224195 0%, #011037 100%);
}

.cert-message-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.cert-message-header {
  margin-bottom: 24px;
}

.cert-section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.5em;
  letter-spacing: 5%;
  color: #fff;
  margin: 0;
  text-align: left;
}

.cert-section-underline {
  width: 33px;
  height: 4px;
  background: #C6BA94;
  margin-top: 8px;
  margin-bottom: 0;
  display: block;
}

.cert-section-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5em;
  letter-spacing: 5%;
  color: #fff;
  margin: 0;
  text-align: left;
}

.cert-partner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
  background: #0B1220;
  padding: 80px 0;
  width: 100vw;
}

.cert-partner-inner {
  display: flex;
  align-items: center;
  gap: 54px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 180px;
  width: 100%;
}

.cert-partner-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.cert-partner-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  width: 331px;
}

.cert-partner-photo {
  width: 273px;
  height: 323px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(90deg, #0B1220 0%, #173EA9 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 15px 0 0 23px;
  margin-bottom: 8px;
}

.cert-partner-img-photo {
  width: 292px;
  height: 366px;
  object-fit: contain;
  object-position: bottom;
  border-radius: 24px;
  display: block;
}

.cert-partner-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
}

.cert-partner-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5em;
  letter-spacing: 5%;
  color: #fff;
  margin-bottom: 8px;
  text-align: right;
}

.cert-partner-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5em;
  letter-spacing: 5%;
  color: #fff;
  text-align: right;
}

.cert-conditions-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  margin-top: 32px;
  width: 100%;
}

.cert-condition {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px 24px 24px 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  box-sizing: border-box;
}
.cert-condition a {
  color: #8aaaff;
  text-decoration: underline;
}
.cert-condition a:hover {
  text-decoration: none;
}

.cert-condition-icon {
  width: 63px;
  height: 63px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.cert-condition:nth-child(1) .cert-condition-icon {
  background: url('../images/podium.svg') center/contain no-repeat;
}

.cert-condition:nth-child(2) .cert-condition-icon {
  background: url('../images/editor_choice.svg') center/contain no-repeat;
}

.cert-condition:nth-child(3) .cert-condition-icon {
  background: url('../images/oral_disease.svg') center/contain no-repeat;
}

.cert-condition:nth-child(4) .cert-condition-icon {
  background: url('../images/devices.svg') center/contain no-repeat;
}

.cert-condition-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5em;
  letter-spacing: 5%;
  color: #fff;
  text-align: left;
  margin-bottom: 8px;
}

.cert-condition-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5em;
  letter-spacing: 5%;
  color: #fff;
  text-align: left;
}

.cert-fv-bg-tooth-mobile {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  opacity: 1;
  pointer-events: none;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .cert-fv {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    height: 570px;
    min-height: 570px;
    background: #000102;
    overflow: hidden;
  }
  
  .cert-fv-inner {
    padding: 0;
  }
  
  .cert-fv-ellipse {
    position: absolute;
    left: 13px;
    top: 450px;
    width: 365px;
    height: 399px;
    z-index: 2;
    pointer-events: none;
  }
  
  .cert-fv-content {
    position: absolute;
    left: 25px;
    top: 200px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 3;
    width: 340px;
    max-width: 90vw;
  }
  
  .cert-fv-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 5%;
    color: #fff;
    text-align: left;
    margin: 0;
  }
  
  .cert-fv-lead {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 5%;
    color: #fff;
    text-align: left;
    margin: 0;
  }
  
  .cert-fv-bg-tooth-mobile {
    display: block;
  }
  
  .cert-fv-ellipse {
    z-index: 3;
  }
  
  .cert-fv-content {
    z-index: 4;
  }
  
  .cert-message, .cert-partner, .cert-conditions, .cert-seminar {
    padding: 24px 0;
    border-radius: 0;
  }
  
  .cert-message-inner, .cert-partner-inner, .cert-conditions-inner, .cert-seminar-inner {
    padding: 0 24px;
  }
  
  .cert-section-title {
    font-size: 24px;
    line-height: 1.5em;
    letter-spacing: 5%;
    margin-bottom: 8px;
    padding: 0 8px;
  }
  
  .cert-section-text {
    font-size: 14px;
    line-height: 1.5em;
    letter-spacing: 5%;
    margin-bottom: 16px;
    padding: 0 8px;
  }
  
  .cert-conditions-list {
    gap: 6px;
    margin-top: 16px;
    padding: 0 4px;
  }
  
  .cert-condition {
    padding: 12px 8px;
    border-radius: 8px;
    gap: 8px;
  }
  
  .cert-condition-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
  }
  
  .cert-condition-title {
    font-size: 16px;
    margin-bottom: 4px;
  }
  
  .cert-condition-desc {
    font-size: 12px;
  }
  
  .cert-partner {
    flex-direction: column;
    gap: 16px;
    padding: 80px 0;
    border-radius: 0;
  }
  
  .cert-partner-inner {
    flex-direction: column;
    gap: 40px;
    padding: 0 16px;
  }
  
  .cert-partner-photo {
    width: 260px;
    height: 320px;
    padding: 0;
    margin-bottom: 8px;
  }
  
  .cert-partner-img-photo {
    width: 260px;
    height: 320px;
    object-fit: contain;
    object-position: bottom;
    transform: none;
  }
  
  .cert-partner-title-block {
    align-items: flex-end;
    gap: 4px;
  }
  
  .cert-partner-title {
    font-size: 14px;
    margin-bottom: 4px;
    text-align: left;
  }
  
  .cert-partner-right {
    align-items: center;
  }
  
  .cert-partner-name {
    font-size: 20px;
    text-align: left;
  }
  
  .cert-section-underline {
    width: 24px;
    height: 3px;
    margin-top: 4px;
    margin-left: 8px;
  }
}
