.btn-foundation {
  --ht: 60;
  z-index: 1;
  position: relative;
  height: calc(1px * var(--ht));
  background-color: #fff
}

.btn-foundation a {
  text-decoration: none;
  color: #000;
}

.btn-foundation.-mini {
  width: 232px
}

.btn-foundation.-per100 {
  width: 100%
}

.btn-foundation button {
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background-color: transparent;
  cursor: pointer
}

.btn-foundation a,
.btn-foundation button {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 1px solid #000
}

.btn-foundation-tri {
  stroke: #000;
  fill: #ffd000;
  stroke-width: 1;
  position: absolute;
  top: 0px;
  left: -1px;
  width: calc(1px * var(--ht) / 2);
  height: calc(1px * var(--ht));
  overflow: visible
}

.btn-foundation-tri svg {
  width: calc(1px * var(--ht) / 2);
  height: calc(1px * var(--ht));
  overflow: visible
}

.btn-foundation-tri:after {
  display: block;
  position: absolute;
  top: calc(1px * var(--ht) / 2 - 2px);
  right: -1px;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background-color: #000;
  content: ""
}

.btn-foundation .text {
  font-weight: 700;
  font-size: 16px;
  line-height: 2
}

.btn-foundation .dotted {
  display: block;
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background-color: #000
}

.btn-foundation .dotted:nth-of-type(1) {
  top: -1px;
  left: -1px
}

.btn-foundation .dotted:nth-of-type(2) {
  top: -1px;
  right: -1px
}

.btn-foundation .dotted:nth-of-type(3) {
  bottom: -1px;
  left: -1px
}

.btn-foundation .dotted:nth-of-type(4) {
  right: -1px;
  bottom: -1px
}