:root {
  --pg-slant: 48px;
  --pg-pad: 112px;
  --pg-brand: linear-gradient(120deg, #042366 0%, #0071BC 44%, #662D91 73%, #9E005D 90%, #ED1E79 100%);
  --pg-band: linear-gradient(135deg, #042366 0%, #0071BC 44%, #662D91 100%);
  --pg-mail: linear-gradient(120deg, #F15A24 0%, #F7931E 51%, #FBB03B 100%);
}

@media (max-width: 639px) {
  :root {
    --pg-slant: 24px;
    --pg-pad: 64px;
  }
}

@counter-style pg-circled {
  system: fixed;
  symbols: "①" "②" "③" "④" "⑤" "⑥" "⑦" "⑧" "⑨" "⑩" "⑪" "⑫" "⑬" "⑭" "⑮" "⑯" "⑰" "⑱" "⑲" "⑳";
  suffix: " ";
  fallback: decimal;
}

#main *,
#main *::before,
#main *::after {
  box-sizing: border-box;
}

:where(#main) :where(h1, h2, h3, p, dl, dd, ul, ol) {
  margin: 0;
}

:where(#main) :where(ul, ol) {
  padding: 0;
  list-style: none;
}

:where(.pg-fv, .pg-sec) :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #0071BC;
  outline-offset: 3px;
}

.pg-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.pg-nb {
  display: inline-block;
}

.pg-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pg-fv {
  position: relative;
  z-index: 1;
  padding: 64px 0 calc(64px + var(--pg-slant));
  background: var(--pg-band);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pg-slant)), 0 100%);
  color: #FFFFFF;
}

.pg-fv__en {
  margin: 0 0 16px;
  font-family: "Noto Sans JP", Manrope, sans-serif;
  font-size: 35px;
  line-height: 1.5;
  font-weight: 700;
  color: #FFFFFF;
}

.pg-fv__title {
  font-size: 56px;
  line-height: 1.5;
  font-weight: 700;
  color: #FFFFFF;
}

.pg-fv__lead {
  max-width: 38em;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 2;
  color: #FFFFFF;
  text-wrap: pretty;
}

.pg-fv__crumb {
  margin: 40px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #FFFFFF;
}

.pg-fv__crumb a,
.pg-fv__crumb a:hover {
  color: inherit;
}

.pg-sec {
  padding: var(--pg-pad) 0;
  background: #FFFFFF;
  color: #000000;
}

.pg-sec--gray {
  background: #F2F2F2;
}

.pg-fv + .pg-sec {
  margin-top: calc(var(--pg-slant) * -1);
  padding-top: calc(var(--pg-pad) + var(--pg-slant));
}

.pg-h2 {
  scroll-margin-top: 96px;
  font-size: 35px;
  line-height: 1.5;
  font-weight: 700;
  color: #002060;
}

.pg-h2--center {
  text-align: center;
}

.pg-btn,
.pg-btn:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 28px;
  border: 0;
  border-radius: 5px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.pg-btn:hover {
  opacity: 0.9;
}

.pg-btn:disabled,
.pg-btn:disabled:hover {
  opacity: 0.5;
  cursor: not-allowed;
}

.pg-btn--line,
.pg-btn--line:hover {
  background: #06C755;
  color: #FFFFFF;
}

.pg-btn--mail,
.pg-btn--mail:hover {
  background: var(--pg-mail);
  color: #FFFFFF;
}

.pg-btn--outline,
.pg-btn--outline:hover {
  display: inline-flex;
  min-width: 240px;
  border: 1px solid #002060;
  background: #FFFFFF;
  color: #002060;
}

.pg-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 24px;
  border-radius: 5px;
  background: #FFFFFF;
}

.pg-tel__num,
.pg-tel__num:hover {
  display: inline-block;
  font-family: Manrope, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  color: #002060;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pg-tel__num,
  .pg-tel__num:hover {
    background: var(--pg-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.pg-tel__hours {
  font-size: 14px;
  line-height: 1.5;
  color: #000000;
}

.pg-ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 48px auto 0;
}

.pg-testnote {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 14px 20px;
  border: 1px solid #E0E0E0;
  border-left: 5px solid #F7931E;
  border-radius: 5px;
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  color: #002060;
  word-break: auto-phrase;
  text-wrap: balance;
}

.pg-testnote + .pg-form {
  margin-top: 16px;
}

.pg-thanks > .pg-testnote {
  margin: 0 auto 32px;
  text-align: left;
}

.pg-form {
  max-width: 800px;
  margin: 56px auto 0;
  padding: 48px;
  border-radius: 5px;
  background: #F8F8F8;
}

.pg-field {
  min-width: 0;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.pg-label {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: #002060;
}

.pg-req,
.pg-opt {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: 1px;
}

.pg-req {
  background: #042366;
  color: #FFFFFF;
}

.pg-opt {
  background: #E0E0E0;
  color: #000000;
}

.pg-sub {
  min-width: 0;
  margin: 0 0 12px;
}

.pg-sub:last-child {
  margin-bottom: 0;
}

.pg-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.pg-pair > .pg-sub {
  margin: 0;
}

.pg-input,
.pg-select,
.pg-textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #808080;
  border-radius: 5px;
  background-color: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
}

.pg-input,
.pg-select,
.pg-textarea,
.pg-check input {
  scroll-margin: 120px 0;
}

.pg-input::placeholder,
.pg-textarea::placeholder {
  color: #6B6B6B;
  opacity: 1;
}

.pg-input:focus-visible,
.pg-select:focus-visible,
.pg-textarea:focus-visible {
  border-color: #0071BC;
  outline-offset: 0;
}

.pg-input[aria-invalid="true"],
.pg-select[aria-invalid="true"],
.pg-textarea[aria-invalid="true"] {
  border-color: #B3261E;
  box-shadow: inset 0 0 0 1px #B3261E;
}

.pg-input--zip {
  max-width: 240px;
}

.pg-select {
  max-width: 360px;
  padding-right: 44px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23002060' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}

.pg-textarea {
  min-height: 200px;
  resize: vertical;
}

.pg-error {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: #B3261E;
}

.pg-error[hidden] {
  display: none;
}

.pg-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pg-check input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 10px 0 0;
  accent-color: #0071BC;
}

.pg-check label {
  display: block;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.9;
  color: #000000;
}

.pg-check .pg-req {
  margin: 0 8px 0 0;
}

.pg-check a,
.pg-check a:hover {
  color: #0071BC;
  text-decoration: underline;
}

.pg-actions {
  margin: 40px 0 0;
}

.pg-actions .pg-btn {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.pg-form__status {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: #B3261E;
  text-wrap: balance;
}

.pg-form__status:empty {
  display: none;
}

.pg-thanks {
  text-align: center;
}

.pg-thanks__lead {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
  color: #002060;
}

.pg-thanks__note {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 2;
  text-wrap: balance;
}

.pg-thanks .pg-ways {
  margin-top: 32px;
}

.pg-thanks__back {
  margin: 48px 0 0;
}

.pg-doc {
  max-width: 40em;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.95;
  color: #000000;
}

.pg-doc p,
.pg-doc li {
  word-break: auto-phrase;
  text-wrap: pretty;
}

.pg-doc p {
  margin: 0 0 1em;
}

.pg-doc h2 {
  margin: 48px 0 16px;
  padding-top: 40px;
  border-top: 1px solid #E0E0E0;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
  color: #002060;
  text-wrap: balance;
}

.pg-doc h3 {
  margin: 32px 0 8px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
  color: #002060;
  text-wrap: balance;
}

.pg-doc > :first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.pg-doc__list,
.pg-doc__bullets {
  margin: 0 0 1em;
  padding-left: 1.7em;
}

.pg-doc__list {
  list-style: decimal;
}

.pg-doc__list--circle {
  padding-left: 1.6em;
  list-style: pg-circled;
}

.pg-doc__list--roman {
  padding-left: 2.2em;
  list-style: lower-roman;
}

.pg-doc__bullets {
  list-style: disc;
}

.pg-doc li {
  margin: 0;
}

.pg-doc li + li {
  margin-top: 0.35em;
}

.pg-doc li > .pg-doc__list {
  margin: 0.35em 0 0;
}

.pg-doc__back {
  margin: 64px 0 0;
  text-align: center;
}

.pg-jobs {
  display: grid;
  gap: 24px;
}

.pg-job {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 24px 56px;
  align-items: start;
  padding: 40px;
  border-radius: 5px;
  background: #FFFFFF;
}

.pg-job__title {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
  color: #002060;
}

.pg-job__list {
  border-top: 1px solid #E0E0E0;
}

.pg-job__row {
  display: grid;
  grid-template-columns: minmax(0, 8em) minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #E0E0E0;
  font-size: 14px;
  line-height: 1.9;
}

.pg-job__row dt {
  font-weight: 700;
  color: #002060;
}

.pg-job__row dd {
  margin: 0;
  word-break: auto-phrase;
  text-wrap: pretty;
}

.pg-confirm {
  margin: 32px 0 0;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 700;
  color: #B3261E;
}

@media (max-width: 1023px) {
  .pg-fv__en {
    font-size: 22px;
  }

  .pg-fv__title {
    font-size: 44px;
  }
}

@media (max-width: 799px) {
  .pg-ways {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-job {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 639px) {
  .pg-inner {
    padding: 0 20px;
  }

  .pg-fv {
    padding: 40px 0 calc(40px + var(--pg-slant));
  }

  .pg-fv__en {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .pg-fv__title {
    font-size: 28px;
  }

  .pg-fv__lead {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.9;
  }

  .pg-fv__crumb {
    margin-top: 24px;
  }

  .pg-h2 {
    font-size: 24px;
  }

  .pg-form {
    margin-top: 40px;
    padding: 32px 20px;
  }

  .pg-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .pg-tel__num,
  .pg-tel__num:hover {
    font-size: 30px;
  }

  .pg-thanks__lead {
    font-size: 17px;
  }

  .pg-thanks__note {
    font-size: 14px;
    line-height: 1.9;
  }

  .pg-doc {
    font-size: 14px;
    line-height: 1.95;
  }

  .pg-doc h2 {
    margin-top: 40px;
    padding-top: 32px;
    font-size: 17px;
  }

  .pg-doc h3 {
    font-size: 14px;
  }

  .pg-job {
    padding: 28px 20px;
  }

  .pg-job__row {
    grid-template-columns: minmax(0, 4.5em) minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 359px) {
  .pg-h2 {
    font-size: 22px;
  }
}
