:root {
  --ink: #161616;
  --ink-2: #4f4e49;
  --ink-3: #6b6b66;
  --line: #e7e6e0;
  --line-2: #f0efea;
  --fill: #f6f5f1;
  --paper: #ffffff;
  --page: #f6f5f1;
  --yellow: #ffc20e;
  --yellow-d: #f4b600;
  --font:
    "Inter", "Noto Sans JP", -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI",
    Meiryo, system-ui, sans-serif;
  --tp-head-h: 64px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: var(--tp-head-h);
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.8;
}
a {
  color: var(--ink);
}
.tp a:focus-visible {
  outline: 3px solid var(--yellow-d);
  outline-offset: 3px;
}
.tp-in {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}
.tp-ico {
  width: 13px;
  height: 13px;
  margin-left: 4px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tp-head {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.tp-bar-in {
  display: flex;
  align-items: center;
  height: var(--tp-head-h);
}
.tp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
}
.tp-logo img {
  display: block;
  border-radius: 9px;
}

.tp-form-sec {
  padding: 64px 0 96px;
}
.tp-form-head {
  text-align: center;
}
.tp-en {
  margin: 0 0 8px;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.4;
}
.tp-form-ttl {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.tp-doc {
  max-width: 860px;
  margin: 32px auto 0;
  padding: 48px 56px 52px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  font-size: 15.5px;
  line-height: 1.95;
  overflow-wrap: break-word;
}
.tp-doc > :first-child {
  margin-top: 0;
}
.tp-doc h2 {
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--yellow);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}
.tp-doc p {
  margin: 0 0 12px;
}
.tp-doc ol,
.tp-doc ul {
  margin: 0 0 12px;
  padding-left: 1.5em;
}
.tp-doc li + li {
  margin-top: 6px;
}
.tp-doc li > ul {
  margin: 6px 0 0;
}
.tp-doc a {
  font-weight: 700;
}
.tp-doc-table {
  width: 100%;
  margin: 8px 0 16px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.7;
}
.tp-doc-table th,
.tp-doc-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.tp-doc-table th {
  background: var(--fill);
  font-weight: 700;
}
.tp-doc-table tbody th {
  width: 30%;
}
.tp-doc .tp-doc-date {
  margin: 36px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  text-align: right;
}
.tp-doc-dl {
  display: grid;
  grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  margin: 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  font-size: 14.5px;
  line-height: 1.8;
}
.tp-doc-dl > dt,
.tp-doc-dl > dd {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.tp-doc-dl > dt {
  background: var(--fill);
  font-weight: 700;
}
.tp-doc-dl > dd {
  border-left: 1px solid var(--line);
}

.tp-foot {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.tp-foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.tp-foot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tp-foot-a {
  color: var(--ink-2);
  font-size: 13px;
  text-decoration: none;
}
.tp-foot-a:hover,
.tp-foot-a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tp-foot-copy {
  margin: 0;
  color: var(--ink-3);
  font-size: 12.5px;
}

.tp-hold {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 100dvh;
  padding: 24px;
  text-align: center;
}
.tp-hold-logo {
  display: block;
  border-radius: 24px;
}
.tp-hold-name {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.3;
}
.tp-hold-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-nf {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 100dvh;
  padding: 24px;
  text-align: center;
}
.tp-nf-code {
  margin: 0;
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
}
.tp-nf-t {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}
.tp-nf-p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
}
.tp-nf-btn {
  margin-top: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.tp-nf-btn:hover {
  background: var(--yellow-d);
}

@media (max-width: 599px) {
  .tp-in {
    padding: 0 16px;
  }
  .tp-form-sec {
    padding: 36px 0 56px;
  }
  .tp-form-ttl {
    font-size: 26px;
  }
  .tp-doc {
    margin-top: 24px;
    padding: 24px 18px 28px;
    border-radius: 16px;
    font-size: 15px;
  }
  .tp-doc h2 {
    margin-top: 32px;
    font-size: 18px;
  }
  .tp-doc-table {
    font-size: 13.5px;
  }
  .tp-doc-table th,
  .tp-doc-table td {
    padding: 8px;
  }
  .tp-doc-table tbody th {
    width: auto;
    white-space: nowrap;
  }
  .tp-doc-rows,
  .tp-doc-rows tbody,
  .tp-doc-rows tr,
  .tp-doc-rows td {
    display: block;
  }
  .tp-doc-rows thead {
    display: none;
  }
  .tp-doc-rows tr {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
  }
  .tp-doc-rows tr + tr {
    margin-top: 10px;
  }
  .tp-doc-rows td {
    padding: 8px 12px;
    border: 0;
  }
  .tp-doc-rows td:first-child {
    background: var(--fill);
    font-weight: 700;
  }
  .tp-doc-dl {
    grid-template-columns: minmax(0, 1fr);
  }
  .tp-doc-dl > dt {
    padding-bottom: 6px;
    border-bottom: 0;
  }
  .tp-doc-dl > dd {
    padding-top: 8px;
    border-left: 0;
  }
  .tp-foot-in {
    flex-direction: column;
    align-items: flex-start;
  }
}
