@charset "UTF-8";

.page-header {
  position: relative;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  right: 10%;
  bottom: -15px;
  width: 380px;
  height: 380px;
  background-image: url("../img/common/square_blue.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.3;
  transform-origin: center;
  z-index: 2;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #b0d8ff;
  width: 98%;
  height: 20vh;
  border-radius: 0 15px 15px 0;
  z-index: 0;
}

/* 白いタイトルボックス */
.page-header-content {
  position: relative;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 50px;
  width: 90%;
  max-width: 1280px;
  z-index: 1;
}

/* タイトル */
.page-header-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

/* パンくず */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #536caa;
  font-size: 0.9rem;
}
.breadcrumb a {
  color: #536caa;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  color: #536caa;
  border-color: #536caa;
}

@media (max-width: 1000px) {
  .page-header::before {
    right: 0;
    width: 350px;
    height: 350px;
  }
  .page-header-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-header {
    height: 200px;
  }
  .page-header::before {
    width: 250px;
    height: 250px;
  }
  .page-header-content {
    padding: 30px;
  }
  .page-header-content h1 {
    font-size: 1.8rem;
  }
  .breadcrumb {
    font-size: 0.7rem;
  }
}

.sub-page-contents {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 0;
  gap: 100px;
}

.sub-page-content {
  width: 85%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .sub-page-content {
    width: 90%;
  }
}

.spc-title-wrap {
  position: relative;
  padding: 50px 0 40px 0;
}

.spc-title-en {
  position: absolute;
  top: 40px;
  left: -90px;
  transform: translateY(-50%);
  font-size: 8rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.05);
  z-index: 0;
  pointer-events: none;
  display: inline;
  white-space: nowrap;
}
.spc-title {
  position: relative;
  font-size: 2rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
}

.spc-title::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 3px;
  background-color: #536caa;
  margin-right: 10px;
  position: relative;
}

.spc-title::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  width: 3px;
  height: 3px;
  background-color: #536caa;
  transform: translate(-10px, -0.5px);
}

.spc-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0 10px;
}

.spc-body-wrap {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
}

.spc-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.spc-img-box {
  position: relative;
  border-radius: 15px;
  overflow: visible;
}

/* 左下方向にずらしたピンク背景 */
.spc-img-box::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100%;
  height: 100%;
  background-color: #b0d8ff;
  border-radius: 15px;
  z-index: 0;
}

.spc-img-box img {
  position: relative;
  display: block;
  width: 200px;
  height: auto;
  border-radius: 15px;
  z-index: 1;
}

.spc-sub-title {
  display: flex;
  align-items: center;
  margin: 25px 0;
}
.spc-sub-title::before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 30px;
  background-color: #536caa;
  margin-right: 10px;
}

@media (max-width: 1000px) {
  .spc-title-en {
    font-size: 6rem;
  }
  .spc-title {
    font-size: 1.8rem;
  }
  .spc-body {
    gap: 20px;
  }
  .spc-body-wrap {
    flex-direction: column;
    gap: 25px;
    padding-bottom: 25px;
  }
}
@media (max-width: 768px) {
  .sub-page-contents {
    padding: 50px 0;
    gap: 50px;
  }
  .spc-title-en {
    font-size: 5rem;
    left: -45px;
  }
  .spc-title {
    font-size: 1.6rem;
  }
}
@media (max-width: 500px) {
  .spc-img-wrap {
    flex-direction: column;
    align-items: center;
  }
}

.table-container {
  width: 100%;
  overflow-x: scroll;
  margin: 25px 0 5px 0;
}

table {
  width: 1260px;
  border-collapse: collapse;
  background-color: #fff;
}

th,
td {
  border: 1px solid #ccc;
  padding: 20px 30px;
  vertical-align: top;
}

th {
  background-color: #b0d8ff;
}

.pgs-table ul {
  margin: 0;
  padding-left: 20px;
}

.pgs-table td.category {
  text-align: center;
  vertical-align: middle;
  width: 150px;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: auto;
  gap: 25px;
}
.steps-box-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.steps-box {
  position: relative;
}
.steps-box::before {
  content: "";
  position: absolute;
  bottom: -15px;
  right: -20px;
  width: 100%;
  height: 100%;
  background-color: #b0d8ff;
  border-radius: 15px;
  z-index: 0;
}
.steps-box img {
  position: relative;
  display: block;
  width: 235px;
  height: 230px;
  border-radius: 15px;
  z-index: 1;
  object-fit: cover;
}

.steps-arrow {
  width: 0;
  height: 0;
  display: inline-block;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 30px solid #536caa;
  vertical-align: middle;
  z-index: 3;
}

@media (max-width: 1000px) {
  .steps {
    flex-direction: column;
  }
  .steps-arrow {
    transform: rotate(90deg);
  }
}
@media (max-width: 428px) {
  .steps-box img {
    width: 200px;
    height: 200px;
  }
}

.graph-img-container {
  width: 100%;
  overflow-x: scroll;
  border: solid 1px #536caa;
  border-radius: 15px;
  display: flex;
}

.graph-img {
  width: 100%;
  min-width: 680px;
}

.graph-3-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px 0;
}
.graph-3-img-box {
  position: relative;
  border-radius: 15px;
}

.graph-3-img-box::before {
  content: "";
  position: absolute;
  bottom: -15px;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: #b0d8ff;
  border-radius: 15px;
  z-index: 0;
}

.graph-3-img-box img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  z-index: 1;
}

.blue-text {
  color: #536caa;
  font-weight: bold;
}
.apply-box-wrap {
  display: flex;
  justify-content: space-between;
}
.apply-box {
  width: 45%;
  min-height: 300px;
  border: solid 1px #536caa;
  border-radius: 15px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#box-1::before {
  content: "";
  position: absolute;
  top: 55px;
  right: -65px;
  width: 280px;
  height: 280px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.3;
  transform-origin: center;
  z-index: 0;
  background-image: url(../img/sub_page/icon/phone_email.png);
}
#box-2::before {
  content: "";
  position: absolute;
  top: 70px;
  right: -35px;
  width: 240px;
  height: 240px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.3;
  transform-origin: center;
  z-index: 0;
  background-image: url("../img/sub_page/icon/approved_document.png");
}
.apply-box h4 {
  background-color: #536caa;
  color: #fff;
  border-radius: 15px 15px 0 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.apply-box p,
.pdf-link {
  padding: 30px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.pdf-wrap {
  display: flex;
  gap: 10px;
}
.pdf-wrap img {
  width: 50px;
  height: 50px;
}
.pdf-wrap a {
  color: #536caa;
  text-decoration-line: underline;
  transition: color 0.3s ease;
}
.pdf-wrap a:hover {
  color: #b6d0ff;
}

@media (max-width: 1000px) {
  .apply-box-wrap {
    flex-direction: column;
    gap: 25px;
  }
  .apply-box {
    width: 100%;
  }
  .apply-box p,
  .pdf-link {
    padding: 20px;
    gap: 40px;
  }
}

/* pgt-m_sr.php */
.columns {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}
.column {
  flex: 1;
}
.spc-body ul {
  margin: 0;
  padding-left: 20px;
}

.spc-img-wrap span {
  display: block;
  text-align: center;
  font-weight: bold;
  width: 100%;
  margin-top: 20px;
}
.apply-box-full {
  width: 45%;
  min-height: 300px;
  border: solid 1px #536caa;
  border-radius: 15px;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.apply-box-full h4 {
  background-color: #536caa;
  color: #fff;
  border-radius: 15px 15px 0 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.apply-box-full p {
  padding: 30px;
}
.apply-box-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  padding-top: 30px;
}

@media (max-width: 1000px) {
  .columns {
    display: block;
  }
}
@media (max-width: 768px) {
  .apply-box-contact {
    flex-direction: column;
  }
}

/* gender_selection.php */
.sub-page-btn-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}
.sub-page-btn {
  background-color: #fff;
  border-radius: 10px;
  border: solid 1px #536caa;
  margin: auto;
  padding: 10px 30px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sub-page-btn .arrow-right {
  border-color: #536caa;
  transition: all 0.4s ease;
}

.sub-page-btn:hover {
  background-color: #536caa;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(83, 108, 170, 0.4);
}
.sub-page-btn:hover p {
  color: #fff;
}
.sub-page-btn:hover .arrow-right {
  border-color: #fff;
}

/* surrogacy.php */
.program-wrap {
  display: flex;
  justify-content: space-between;
}
.programs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.program {
  display: flex;
  gap: 10px;
}
.program-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #536caa;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.program p {
  margin: 3px 0;
}
.program-mail-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
#program-img {
  max-width: 450px;
  width: 50%;
  height: 100%;
}
#program-img-sp {
  display: none;
}
.fee-details {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.fee-details ul {
  margin-top: 10px;
}
#only-img {
  width: 350px;
}

@media (max-width: 1000px) {
  .program-wrap {
    flex-direction: column;
  }
  #program-img {
    display: none;
  }
  #program-img-sp {
    display: block;
    margin-top: 40px;
  }
  .fee_details {
    width: 100%;
    margin-bottom: 40px;
  }
}

@media (max-width: 428px) {
  .program-number {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #536caa;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  #only-img {
    width: 200px;
  }
}

/* sperm-donation.php */
.fee-details-surrogacy {
  border: solid 2px #536caa;
  background-color: #fff;
  border-radius: 15px;
  padding: 15px;
  margin-top: 20px;
}
.fee-details-surrogacy span {
  font-size: 0.8rem;
}

/* nipt.php */
.nipt-table td.category {
  text-align: center;
  vertical-align: middle;
  width: 200px;
}
.br-ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#nipt-img {
  width: 100%;
  max-width: 1000px;
}

/* prenatal-wgs-amnio-cv.php */
#prenatal-wgs-img {
  width: 280px;
}
#prenatal-wgs-img-en {
    width: 350px;
}

.gt-img-wrap {
  display: flex;
  flex-direction: column;
}
.gt-img-wrap a {
  font-size: 0.8rem;
  text-decoration: underline;
}

/* genetic-testing.php */
.gt-img-btn-wrap {
  justify-content: start;
  margin-top: 20px;
}
.gt-img-btn {
  margin: 0;
}

/* monogenic-disorder.php */
.gt-md-img-wrap {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}
.gt-md-img-wrap a {
  font-size: 0.8rem;
  text-decoration: underline;
}
#genetic-testing-img {
  width: 100%;
  max-width: 650px;
}
.md-numbers {
  display: flex;
  gap: 10px;
}
.md-programs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
}
.md-programs p {
  padding-left: 40px;
}
.source-site-link {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}
.source-site-link a {
  text-decoration: underline;
  transition: color 0.3s ease;
}
.source-site-link a:hover {
  color: #929292;
}

/* polygenic-disorder.php */
.pd-body {
  margin-top: 15px;
  padding-left: 15px;
}
.bb-line {
  border-bottom: 2px dotted #ccc;
  margin-bottom: 40px;
  padding-bottom: 40px;
}

/* lgbtq-programs.php */
.lgbtq-btn-wrap {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}
.lgptq-card {
  flex-direction: row;
  align-items: center;
  height: 130px;
}
.lgbtq-text {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .lgbtq-btn-wrap {
    flex-direction: column;
    align-items: center;
  }
}


.mail-link-text {
  font-weight: bold;
  text-decoration: underline;
}
.under-line {
  text-decoration: underline;
}