.tp-pf-main {
  padding: 56px 16px 96px;
  background: var(--page);
}
.tp-pf-hd {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.tp-pf-ttl {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
}
.tp-pf-lead {
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.9;
}
.tp-pf-lead span {
  display: block;
  text-wrap: balance;
  word-break: auto-phrase;
}
.tp-pf-card {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 36px 44px 40px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--paper);
  box-shadow:
    0 1px 2px rgba(22, 22, 22, 0.04),
    0 14px 40px rgba(22, 22, 22, 0.05);
}
.tp-pf-form {
  display: grid;
  gap: 22px;
}
.tp-pf-row2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.tp-pf-fld {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.tp-pf-l {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 14.5px;
  font-weight: 700;
}
.tp-pf-req,
.tp-pf-opt {
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.6;
}
.tp-pf-req {
  background: #fdeeec;
  color: var(--red);
}
.tp-pf-opt {
  background: var(--line-2);
  color: var(--ink-2);
}
.tp-pf-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.tp-pf-area {
  display: block;
  min-height: 180px;
  padding: 12px 14px;
  line-height: 1.7;
  resize: vertical;
}
.tp-pf-input::placeholder {
  color: #a9a8a2;
}
.tp-pf-input:focus-visible {
  border-color: var(--ink);
  outline: 3px solid var(--yellow);
  outline-offset: 1px;
}
.is-invalid .tp-pf-input {
  border-color: var(--red);
}
.tp-pf-err {
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}
.tp-pf-note {
  margin: 0;
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.7;
}
.tp-pf-top {
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fdeeec;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}
.tp-pf-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tp-pf-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 14px;
  cursor: pointer;
}
.tp-pf-choice input,
.tp-pf-chk input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
}
.tp-pf-choice:has(input:checked) {
  border-color: var(--ink);
  background: var(--yellow-l);
  font-weight: 700;
}
.tp-pf-other {
  display: none;
}
.tp-pf-set:has(input[value="その他"]:checked) .tp-pf-other {
  display: block;
}
.tp-pf-chk {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.tp-pf-chk + .tp-pf-err {
  text-align: center;
}
.tp-pf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.tp-pf-send {
  width: 320px;
  max-width: 100%;
  margin: 4px auto 0;
  cursor: pointer;
  font-family: inherit;
}
.tp-pf-send:disabled {
  opacity: 0.6;
  cursor: default;
}
.tp-pf-done {
  display: grid;
  gap: 18px;
  margin-top: 0;
  text-align: center;
}
.tp-pf-done p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.9;
}
@media (max-width: 640px) {
  .tp-pf-main {
    padding-top: 36px;
    padding-bottom: 56px;
  }
  .tp-pf-card {
    padding: 28px 20px 32px;
  }
  .tp-pf-row2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .tp-pf-ttl {
    font-size: 24px;
  }
}

.tp-dl-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  grid-template-areas:
    "head form"
    "box form";
  grid-template-rows: auto 1fr;
  gap: 28px 48px;
  max-width: 1124px;
  margin: 0 auto;
  align-items: start;
}
.tp-dl-head {
  grid-area: head;
}
.tp-dl-head .tp-en {
  margin: 0 0 6px;
  text-align: left;
}
.tp-dl-ttl {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.4;
}
.tp-dl-lead {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.9;
}
.tp-dl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.tp-dl-tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 8px;
  border-radius: 99px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 800;
}
.tp-dl-tags svg {
  flex: none;
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 50%;
  background: var(--ink);
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tp-dl-fig {
  display: block;
  width: 100%;
  height: auto;
  margin: 22px 0 0;
}
.tp-dl-box {
  grid-area: box;
  padding: 24px 28px 26px;
  border-radius: 16px;
  background: var(--paper);
}
.tp-dl-box h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.tp-dl-box ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.tp-dl-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.tp-dl-box li svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 4px;
  border-radius: 50%;
  background: var(--yellow);
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tp-dl-card {
  grid-area: form;
  max-width: none;
  margin: 0;
  padding: 32px 32px 34px;
}
.tp-dl-card .tp-pf-form {
  gap: 16px;
}
.tp-dl-card .tp-pf-send {
  width: 100%;
}
.tp-dl-card .tp-pf-note {
  text-align: center;
}
.tp-dl-done .tp-dl-done-fig {
  display: block;
  width: 100%;
  height: auto;
}
.tp-dl-done .tp-pf-send + .tp-pf-send {
  margin-top: -6px;
}
@media (max-width: 960px) {
  .tp-dl-in {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "form"
      "box";
    grid-template-rows: auto;
    max-width: 640px;
  }
}
@media (max-width: 640px) {
  .tp-dl-ttl {
    font-size: 24px;
  }
  .tp-dl-card {
    padding: 26px 20px 28px;
  }
  .tp-dl-box {
    padding: 20px 20px 22px;
  }
}

.tp-pr {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 24px 16px;
  overflow: hidden;
}
.tp-pr-bg {
  position: fixed;
  inset: -24px;
  background: url("/top/pre-bg.jpg") left top / cover no-repeat;
  filter: blur(5px);
}
.tp-pr::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(22, 22, 22, 0.42);
}
.tp-pr-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  padding: 30px 40px 30px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.tp-pr-ttl {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}
.tp-pr-lead {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}
.tp-pr-lead .tp-nb {
  text-wrap: balance;
}
.tp-pr-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.tp-pr .tp-pf-fld {
  gap: 6px;
}
.tp-pr .tp-pf-input {
  min-height: 44px;
}
.tp-pr-agree {
  margin: 2px 0 0;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.7;
}
.tp-pr .tp-pr-agree a {
  color: var(--ink);
}
.tp-pr .tp-pf-send {
  width: 100%;
  height: 52px;
  margin: 0;
  border-radius: 999px;
  font-size: 17px;
}
.tp-pr-ts {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 65px;
}
.tp-pr-after {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 13.5px;
  text-align: center;
}
.tp-pr .tp-pr-after a,
.tp-pr .tp-pr-hint a {
  color: var(--ink);
}
.tp-pr-ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--yellow);
}
.tp-pr-ic svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tp-pr-hint {
  display: grid;
  gap: 6px;
  margin: 22px 0 0;
  padding: 14px 16px 14px 32px;
  border-radius: 12px;
  background: var(--fill);
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.7;
}
.tp-pr-done .tp-pf-send {
  margin-top: 24px;
}
@media (max-width: 600px) {
  .tp-pr {
    padding: 24px 12px;
  }
  .tp-pr-card {
    padding: 28px 22px;
  }
  .tp-pr-ttl {
    font-size: 21px;
  }
}
