.page-template-page-portio-development-course,
.page-template-portio-development-course {
  --pdc-bg: var(--wp--preset--color--paper);
  --pdc-text: var(--wp--preset--color--ink);
  --pdc-line: var(--wp--preset--color--line-gray);
  --wp--preset--color--line-strong: var(--pdc-line);
  --wp--preset--color--line-light: var(--pdc-line);
  background: var(--pdc-bg);
  color: var(--pdc-text);
}

.portio-development-course,
.portio-development-course p,
.portio-development-course li,
.portio-development-course a,
.portio-development-course .pdp-h2,
.portio-development-course .pdp-sub,
.portio-development-course .pdp-breadcrumb,
.portio-development-course .pdp-lead p {
  color: var(--pdc-text);
}

.portio-development-course .pdp-sub::after,
.portio-development-course .wp-block-separator {
  border-color: var(--pdc-line);
}

.page-template-page-portio-development-course .pdp-header::after {
  display: none !important;
}

.portio-development-course .pdp-section--intro .pdp-h2::after,
.portio-development-course .pdp-section--intro .pdp-sub::after {
  content: none;
}

.portio-development-course .pdp-section--intro .pdp-sub {
  margin: 0;
}

.portio-development-course .pdp-section--uteri {
  margin-bottom: 240px;
}

.portio-development-course .pdp-spcourse__content {
  font-family: var(--wp--preset--font-family--zenoldmincho);
  font-size: 18px;
  letter-spacing: 0.3em;
  line-height: 3.2;
  margin-bottom: 1em;
  text-align: left;
}

.portio-development-course .pdp-section--merit {
  max-width: 1080px;
  margin-bottom: 180px;
  text-align: left;
}

.portio-development-course .pdp-section--merit h2,
.portio-development-course .pdp-section--merit .pdp-sub {
  text-align: left;
}

.portio-development-course .pdp-section--merit .pdp-sub {
  margin-bottom: 50px;
}

.portio-development-course .pdp-section--merit .pdp-sub::after {
  margin: 40px 0 0;
}

.portio-development-course ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.portio-development-course .pdp-section--merit ul li {
  display: flex;
  align-items: center;
  gap: 0 !important;
  column-gap: 0 !important;
  margin-bottom: 15px;
  line-height: 1.8;
}

.pdp-section--merit ul li .num {
  display: flex;
  align-items: center;
  white-space: nowrap;
  min-width: 80px;
  font-size: 40px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  margin-right: 15px;
}

.pdp-section--merit ul li .num::after {
  content: "";
  display: block;
  width: 220px;
  height: 1px;
  background: var(--wp--preset--color--line-gray);
  margin: 0 24px 0 14px;
}

.portio-development-course .pdp-section--merit ul li .text {
  font-family: var(--wp--preset--font-family--zenoldmincho);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.4em;
  flex: 1;
}

.portio-development-course .pdp-section--merit ul li::before {
  content: none !important;
}

.portio-development-course .pdp-section--recommended {
  max-width: 1080px;
  margin-bottom: 100px;
  text-align: right;
}

.portio-development-course .pdp-section--recommended h2,
.portio-development-course .pdp-section--recommended .pdp-sub {
  text-align: right;
}

.portio-development-course .pdp-section--recommended .pdp-sub::after {
  margin: 40px 0 0 auto;
}

.pdp-section--recommended .pdp-spcourse__content {
  max-width: 515px;
  margin: 0 auto;
}

.portio-development-course .pdp-section--recommended .pdp-spcourse__content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.portio-development-course .pdp-section--recommended .pdp-spcourse__content li {
  position: relative;
  padding: 0 0 25px 30px;
  margin: 0 0 22px;
  letter-spacing: 0.3em;
  line-height: 1.9;
}

.portio-development-course .pdp-section--recommended .pdp-spcourse__content li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 30%;
  transform: translateY(-50%);
  font-size: 14px;
}

.portio-development-course .pdp-section--recommended .pdp-spcourse__content li::after {
  content: "";
  display: block;
  width: 490px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 1px solid var(--wp--preset--color--line-gray);
}

/* Price */
.portio-development-course .pdp-section--price {
  margin-bottom: 120px;
}

.portio-development-course .pdp-section--price .pdp-sub {
  margin-bottom: 34px;
}

.portio-development-course .pdp-price__card {
  --leader-len: 109px;
  --leader-shift: 12px;
  max-width: 478px;
  margin: 0 auto 55px;
  padding: 70px 32px;
  border: 1px solid var(--wp--preset--color--line-gray);
}

.portio-development-course .pdp-price__card:last-child {
  margin: 0 auto;
}

.portio-development-course .pdp-price__title {
  margin: 0;
  text-align: center;
  font-family: var(--wp--preset--font-family--mplus);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .06em;
}

.portio-development-course .pdp-price__caption {
  margin: 2px 0 70px;
  text-align: center;
  font-size: 15px;
  font-family: var(--wp--preset--font-family--zenoldmincho);
  letter-spacing: .1em;
}

/* リスト */
.portio-development-course .pdp-price__list {
  width: 378px;
  font-size: 18px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.portio-development-course .pdp-price__row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}

.portio-development-course .pdp-price__row:last-child {
  padding-bottom: 0;
}

.portio-development-course .pdp-price__label {
  display: flex;
  align-items: center;
  font-family: var(--wp--preset--font-family--mplus);
  white-space: nowrap;
}

.portio-development-course .pdp-price__value {
  font-family: var(--wp--preset--font-family--zenoldmincho);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}

.portio-development-course .pdp-price__label::after {
  content: "";
  flex: 0 0 var(--leader-len);
  width: var(--leader-len);
  height: 1px;
  background: var(--wp--preset--color--line-gray);
  margin: 0 var(--leader-shift);
}

.portio-development-course .note {
  margin: 34px 0 0 0;
  padding: 0;
  font-size: 12px;
  font-family: var(--wp--preset--font-family--zenoldmincho);
  text-align: center;
  text-decoration-line: underline;
  text-decoration-color: var(--wp--preset--color--line-gray);
  letter-spacing: .1em;
}

.portio-development-course .pdp-price__card .kichi-url {
  margin: 2px 0 0 0;
  padding: 0;
  font-size: 12px;
  font-family: var(--wp--preset--font-family--zenoldmincho);
  text-align: center;
  letter-spacing: .1em;
}

.portio-development-course .pdp-price__card .kichi-url a {
  text-decoration: none;
}

.portio-development-course .pdp-section--option-price {
  margin-bottom: 120px;
}

/* 下線の色（見出しサブのライン） */
.portio-development-course .pdp-section--option .pdp-sub::after,
.portio-development-course .pdp-section--option-price .pdp-sub::after {
  content: "";
  display: block;
  margin: 20px auto 0;
  border-bottom: 1px solid var(--pdc-line);
}

.portio-development-course .pdp-section--option .pdp-sub::after {
  width: 540px;
}

.portio-development-course .pdp-option__grid {
  display: flex;
  gap: 0;
  justify-content: center;
}

.portio-development-course .pdp-section--option .pdp-opt__title {
  margin: 0;
  text-align: center;
  font-family: var(--wp--preset--font-family--mplus);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .06em;
}

.portio-development-course .pdp-option__grid .pdp-price__card {
  flex: 0 1 465px;
}

.portio-development-course .pdp-option__desc p {
  font-family: var(--wp--preset--font-family--zenoldmincho);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.2em;
  margin: 0;
}

.portio-development-course .pdp-option__price {
  --leader-len: 160px;
}

.portio-development-course .pdp-price__row {
  justify-content: center;
}

.portio-development-course .pdp-price__label {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.portio-development-course .pdp-price__label::after {
  content: "";
  flex: 0 0 var(--leader-len);
  width: var(--leader-len);
  height: 1px;
  background: var(--pdc-line);
  margin: 0 12px;
}

.portio-development-course .pdp-section--option .pdp-opt__card {
  --leader-len: 109px;
  --leader-shift: 12px;
  max-width: 478px;
  margin: 0 60px 0 0;
  padding: 60px;
  border: 1px solid var(--wp--preset--color--line-gray);
}

.portio-development-course .pdp-section--option .pdp-opt__card:last-child {
  margin: 0;
}

.portio-development-course .pdp-section--option {
  max-width: 990px;
  margin-bottom: 60px;
}

.portio-development-course .pdp-section--option .pdp-opt__caption {
  margin: 2px 0 40px;
  text-align: center;
  font-size: 15px;
  font-family: var(--wp--preset--font-family--zenoldmincho);
  letter-spacing: .1em;
}

.pdp-section--option-price .pdp-h2 {
  font-size: 30px;
}

.pdp-section--option-price .pdp-sub {
  font-size: 15px;
  margin-bottom: 60px;
}

.pdp-section--option-price .pdp-sub::after {
  width: 167px;
}

.portio-development-course .pdp-section--option-price .pdp-price__label::after {
  width: 109px;
  flex: 0 0 109px;
  margin: 0 40px;
}

.portio-development-course .pdp-section--others {
  max-width: 1080px;
  margin-bottom: 124px;
  text-align: left;
}

.pdp-section--others .pdp-h2,
.pdp-section--others .pdp-sub {
  text-align: left;
}

.pdp-section--others .pdp-sub {
  margin: 0 0 60px 0;
}

.pdp-section--others .pdp-sub::after {
  margin: 40px 0 0;
}

.portio-development-course .pdp-others__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.portio-development-course .pdp-others__row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 0;
}

.portio-development-course .pdp-others__row:first-child {
  margin-bottom: 40px;
}

.portio-development-course .pdp-others__label {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--wp--preset--font-family--mplus);
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.portio-development-course .pdp-others__row {
  --leader-len: 115px;
  --leader-gap: 60px;
}

.portio-development-course .pdp-others__label::after {
  content: "";
  flex: 0 0 var(--leader-len);
  width: var(--leader-len);
  height: 1px;
  margin: 0 var(--leader-gap);
  background-image: repeating-linear-gradient(to right,
      var(--pdc-line) 0 2px,
      transparent 2px 6px);
}

.portio-development-course .pdp-others__value {
  flex: 1;
  font-family: var(--wp--preset--font-family--zenoldmincho);
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: .35em;
}

.portio-development-course .pdp-section--others .note {
  margin: 5px 0 0 0;
  text-align: left;
}

.portio-development-course .pdp-section--reservation {
  max-width: 1117px;
  margin-bottom: 100px;
}

.portio-development-course .pdp-section--reservation .pdp-h2,
.portio-development-course .pdp-section--reservation .pdp-sub {
  text-align: right;
}

.portio-development-course .pdp-section--reservation .pdp-sub {
  margin: 0 0 30px 0;
}

.portio-development-course .pdp-section--reservation .pdp-sub::after {
  content: "";
  display: block;
  width: 540px;
  margin: 20px 0 0 auto;
  border-bottom: 1px solid var(--pdc-line);
}

.portio-development-course .pdp-resv__list {
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  text-align: left;
  counter-reset: step;
  max-width: 1117px;
}

.portio-development-course .pdp-resv__step {
  position: relative;
  counter-increment: step;
  width: 1117px;
  min-height: 206px;
  margin: 0 auto 86px;
  padding: 35px 0 35px 88px;
  background: rgba(255,255,255,0.3);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid rgba(255,255,255,.35);
  color: var(--pdc-text);
}

.portio-development-course .pdp-resv__step:last-child {
  margin: 0 auto;
}

.portio-development-course .pdp-resv__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 116%;
  left: 50%;
  transform: translateX(-50%);
  bottom: -26px;
  width: 0;
  height: 0;
  border-left: 75.5px solid transparent;
  border-right: 75.5px solid transparent;
  border-top: 26px solid #A1A1A1;
}

.portio-development-course .pdp-resv__title {
  position: relative;
  margin: 0 0 42px;
  font-size: 30px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
}

.portio-development-course .pdp-resv__title::before {
  content: "";
  position: absolute;
  left: -56px;
  top: .3em;
  width: 28px;
  height: 28px;
  transform: rotate(45deg);
  background: #555;
}

.portio-development-course .pdp-resv__title::after {
  content: counter(step);
  position: absolute;
  left: -56px;
  top: .45em;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #FFF;
}

.portio-development-course .pdp-resv__desc {
  font-family: var(--wp--preset--font-family--zenoldmincho);
  font-size: 18px;
  font-weight: 700;
  margin-left: -60px;
  line-height: 2.0;
  letter-spacing: .35em;
  text-decoration-line: underline;
  text-decoration-color: var(--wp--preset--color--line-gray);
}

.portio-development-course .pdp-section--reservation .note {
  margin: 10px 0 0 -60px;
  text-align: left;
}

.portio-development-course .pdp-section--reservation .note a {
  margin-right: 10px;
}

.pdp-followbar {
  display: none;
}

@media (max-width:767px) {
  .portio-development-course .pdp-section--uteri {
    max-width: 270px;
    margin-bottom: 80px;
  }

  .portio-development-course .pdp-spcourse__content {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
  }

  .portio-development-course .pdp-section--merit {
    max-width: 354px;
    margin-bottom: 100px;
    text-align: center;
  }
  
  .portio-development-course .pdp-section--merit h2,
  .portio-development-course .pdp-section--merit .pdp-sub {
    text-align: center;
  }

  .portio-development-course .pdp-section--merit .pdp-sub::after {
    margin: 20px auto 30px;
  }

  .pdp-section--merit ul li .num {
    font-size: 20px;
    margin-right: 0;
  }
  
  .pdp-section--merit ul li .num::after {
    width: 56px;
    height: 1px;
    margin: 0 12px;
  }
  
  .portio-development-course .pdp-section--merit ul li .text {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
    text-align: left;
  }

  .portio-development-course .pdp-section--recommended {
    max-width: 257px;
    text-align: center;
    margin-bottom: 100px;
  }

  .portio-development-course .pdp-section--recommended h2,
  .portio-development-course .pdp-section--recommended .pdp-sub {
    text-align: center;
  }

  .portio-development-course .pdp-section--recommended .pdp-sub {
    margin: 0 0 30px 0;
  }
  
  .portio-development-course .pdp-section--recommended .pdp-sub::after {
    margin: 20px 0 0 auto;
  }

  .portio-development-course .pdp-section--recommended .pdp-spcourse__content li {
    padding: 0 0 18px 18px;
    margin: 0 0 18px;
    letter-spacing: 0.18em;
  }

  .portio-development-course .pdp-section--recommended .pdp-spcourse__content li::before {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
  }
  .portio-development-course .pdp-section--recommended .pdp-spcourse__content li::after {
    width: 257px;
  }

  .portio-development-course .pdp-section--price .pdp-sub {
    margin-bottom: 60px;
  }

  .portio-development-course .pdp-section--price {
    max-width: 300px;
    margin-bottom: 100px;
  }

  .portio-development-course .pdp-price__title {
    font-size: 15px;
  }

  .portio-development-course .pdp-price__card {
    padding: 30px;
  }
  
  .portio-development-course .pdp-price__caption {
    margin: 0 0 30px;
    font-size: 8px;
  }

  .portio-development-course .pdp-price__list {
    width: 257px;
  }

  .portio-development-course .pdp-price__row {
    padding-bottom: 20px;
  }

  .portio-development-course .pdp-price__label {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
  }

  .portio-development-course .pdp-price__value {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
  }

  .portio-development-course .pdp-price__card {
    --leader-len: 54px;
    margin: 0 auto 30px;
  }
  .portio-development-course .note {
    margin: 15px 0 0 0;
    font-size: 8px;
    letter-spacing: .02em;
  }
  
  .portio-development-course .pdp-price__card .kichi-url {
    font-size: 8px;
  }

  .portio-development-course .pdp-section--option {
    max-width: 270px;
    margin-bottom: 30px;
  }

  .portio-development-course .pdp-option__grid {
    display: block;
    text-align: center;
  }

  .portio-development-course .pdp-section--option .pdp-opt__card {
    display: inline-block;
    text-align: center;
    --leader-len: 109px;
    --leader-shift: 12px;
    max-width: 233px;
    margin: 0 0 30px 0;
    padding: 30px;
  }

  .portio-development-course .pdp-section--option .pdp-opt__title {
    font-size: 15px;
  }

  .portio-development-course .pdp-section--option .pdp-opt__caption {
    margin: 0 0 20px;
    text-align: center;
    font-size: 8px;
  }

  .portio-development-course .pdp-option__desc p {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
    letter-spacing: 0.12em;
  }
  
  .pdp-section--option-price .pdp-h2 {
    font-size: 15px;
  }

  .pdp-section--option-price .pdp-sub {
    font-size: 8px;
    margin-bottom: 30px;
  }

  .portio-development-course .pdp-section--option-price .pdp-sub::after {
    width: 84px;
    margin: 10px auto 0;
  }

  .portio-development-course .pdp-section--option-price .pdp-price__label::after {
    margin: 0 15px;
  }

  .portio-development-course .pdp-section--option-price .pdp-price__row {
    justify-content: flex-start;
  }
  
  .portio-development-course .pdp-section--others {
    max-width: 350px;
    margin-bottom: 100px;
    text-align: center;
  }

  .pdp-section--others .pdp-h2,
  .pdp-section--others .pdp-sub {
    text-align: center;
  }

  .pdp-section--others .pdp-sub::after {
    margin: 20px auto 0;
  }

  .pdp-section--others .pdp-sub {
    margin: 0 0 60px 0;
  }

  .portio-development-course .pdp-others__list {
    margin: 0;
  }

  .portio-development-course .pdp-others__row {
    text-align: left;
  }

  .portio-development-course .pdp-others__row:first-child {
    margin-bottom: 30px;
  }

  .portio-development-course .pdp-others__label {
    width: 136px;
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
  }

  .portio-development-course .pdp-others__label::after {
    flex: 0 0 46px;
    width: 46px;
    margin: 0 8px;
    background-image: repeating-linear-gradient(to right,
        var(--pdc-line) 0 2px,
        transparent 2px 4px);
  }

  .portio-development-course .pdp-others__value {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
    letter-spacing: 0.3em;
  }

  .portio-development-course .pdp-section--others .note {
    text-align: left;
  }

  .portio-development-course .pdp-section--reservation {
    max-width: 345px;
    margin-bottom: 30px;
  }
  
  .portio-development-course .pdp-section--reservation .pdp-h2,
  .portio-development-course .pdp-section--reservation .pdp-sub {
    text-align: center;
  }
  
  .portio-development-course .pdp-section--reservation .pdp-sub::after {
    width: 270px;
    margin: 20px auto;
  }

  .portio-development-course .pdp-resv__list {
    max-width: 345px;
  }

  .portio-development-course .pdp-resv__step {
    width: 345px;
    min-height: 103px;
    margin: 0 auto 42px;
    padding: 10px 15px;
    text-align: center;
  }

  .portio-development-course .pdp-resv__title {
    margin: 0 0 20px;
    font-size: 15px;
    text-align: center;
    position: relative;
  }

  .portio-development-course .pdp-resv__title::before,
  .portio-development-course .pdp-resv__title::after {
    width: 14px;
    height: 14px;
  }

  .portio-development-course .pdp-resv__list .pdp-resv__title::after {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
  }

  .portio-development-course .pdp-resv__list li:first-child .pdp-resv__title::before,
  .portio-development-course .pdp-resv__list li:first-child .pdp-resv__title::after {
    left: 28%;
  }

  .portio-development-course .pdp-resv__list li:nth-child(2) .pdp-resv__title::before,
  .portio-development-course .pdp-resv__list li:nth-child(2) .pdp-resv__title::after {
    left: 33%;
  }

  .portio-development-course .pdp-resv__list li:nth-child(3) .pdp-resv__title::before,
  .portio-development-course .pdp-resv__list li:nth-child(3) .pdp-resv__title::after {
    left: 16%;
  }

  .portio-development-course .pdp-resv__list li:nth-child(4) .pdp-resv__title::before,
  .portio-development-course .pdp-resv__list li:nth-child(4) .pdp-resv__title::after {
    left: 31%;
  }

  .portio-development-course .pdp-resv__desc {
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
    line-height: 2.0;
    letter-spacing: .2em;
    margin: 0 auto;
  }

  .portio-development-course .pdp-section--reservation .note {
    margin: 2px auto;
  }

  .portio-development-course .pdp-section--reservation .note a {
    margin-right: 0;
    display: block;
  }

  .portio-development-course .pdp-resv__step:not(:last-child)::after {
    top: 115%;
    bottom: -26px;
    border-left: 30.5px solid transparent;
    border-right: 30.5px solid transparent;
    border-top: 11px solid #858585;
  }
}