*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:where([hidden]:not([hidden='until-found'])) {
  display: none !important;
}

:where(html) {
  -webkit-text-size-adjust: none;
  color-scheme: dark light;
}

@supports not (min-block-size: 100dvb) {
  :where(html) {
    block-size: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  :where(html:focus-within) {
    scroll-behavior: smooth;
  }
}

:where(body) {
  block-size: 100%;
  block-size: 100dvb;
  line-height: 1.5;
  font-family: system-ui,sans-serif;
  -webkit-font-smoothing: antialiased;
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role='button'], [role='option']) {
  cursor: pointer;
}

:where(:disabled) {
  cursor: not-allowed;
}

:where(label:has( > input:disabled), label:has( + input:disabled)) {
  cursor: not-allowed;
}

:where(button) {
  border-style: solid;
}

:where(a) {
  text-underline-offset: .2ex;
}

:where(ul, ol) {
  list-style: none;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}

:where(img, picture, svg) {
  max-inline-size: 100%;
  block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

:where(h1, h2, h3) {
  line-height: calc(1em + 0.5rem);
}

:where(hr) {
  border: none;
  border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}

:where(:focus-visible) {
  outline: 2px solid var(--focus-color, Highlight);
  outline-offset: 2px;
}

:where(.visually-hidden:not(:focus, :active, :focus-within, .not-visually-hidden)) {
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body#links {
  text-size-adjust: 100%;
  background-image: url("../img/bg.jpg");
  background-size: cover;
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: normal;
  font-style: normal;
}

body#links .inner {
  background-image: url("../img/750_1200.jpg");
  background-size: cover;
  width: 100%;
  max-width: 750px;
  margin: auto;
  padding: 50px 0 100px;
}

body#links .inner.short_height {
  height: 100%;
}

body#links .sp {
  display: none;
}

body#links h1 {
  color: #5f534b;
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.6);
  padding: 20px;
}

body#links .icon {
  text-align: center;
  max-width: 50px;
  width: 15%;
  margin: 0 auto 20px;
}

body#links .btns {
  display: grid;
  place-content: center;
  text-align: center;
  margin: 10% 0;
  gap: 30px;
  padding: 0 20px;
}

body#links .btns li a {
  font-size: clamp(16px, 2vw, 22px);
  color: #fff;
  display: inline-block;
  text-decoration: none;
  padding: 6% 30px 5%;
  background: linear-gradient(45deg, rgba(168, 123, 65, 0.7), rgba(168, 89, 65, 0.7));
  border-radius: 50px;
  width: 100%;
  font-weight: 500;
  border: solid 2px #fff;
  white-space: pre;
  transition: .2s;
}

body#links .btns li a:hover {
  transition: .2s;
  color: #a85941;
  border: solid 2px #a85941;
  background: rgba(255, 255, 255, 0.8);
}

@media screen and (max-width: 750px) {
  .sp {
    display: block !important;
  }
}
