:root {
  --container: 980px;
  --space: 40px;
  --font-size: 16px;
  --color-rd: #da0d05;
  --color-bl: #135e96;
  --color-bn: #563403;
  --color-bk: #343434;
  --color-wt: #fff;
  --color-gy: #b2afaf;
}
@media (width <= 768px) {
  :root {
    --space: 20px;
    --font-size: 14px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: inherit;
  color: inherit;
  background: none;
  background-repeat: no-repeat;
  background-size: contain;
  outline-width: 2px;
  outline-color: var(--color-bn);
  outline-style: none;
}
@media (any-hover: hover){
  *:focus-visible {
    outline-style: solid;
  }
}
a {
  text-decoration-line: none;
}
@media (width <= 425px) {
  a {
    overflow-wrap: anywhere;
    word-break: break-all;
  }
}

html {
  text-size-adjust: 100%;
  font-family: 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: var(--font-size);
  line-height: 1.5;
  color: var(--color-bk);
  background-color: var(--color-wt);
  cursor: default;
}

@media (width > 425px) {
  *:has(> wbr){
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}
@media (width <= 768px) {
  .md-none {
    display: none;
  }
}

.l-header {
  margin-bottom: 10px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.l-header__logo {
  padding-top: 1.5em;
  display: grid;
  place-content: center;
  gap: .15em;
  position: relative;
}
.l-header__logo-copy {
  margin: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-bn);
  text-align: center;
  display: block;
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
}
.l-header__logo-img {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.l-main {
  display: block;
}

.p-thanks {
  width: calc(100% - var(--space) * 2);
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  line-height: 2;
}
.p-thanks__texts {
  text-align: center;
}
@media (width <= 425px) {
  .p-thanks__texts {
    text-align: left;
  }
}
.p-thanks__texts p:has(+ p) {
  margin-bottom: 1em;
}
.p-thanks__texts a {
  color: var(--color-bl);
  text-decoration-line: underline;
}
@media (any-hover: hover){
  .p-thanks__texts a:is(:hover, :focus-visible) {
    text-decoration-line: none;
  }
}
.p-thanks__buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}
@media (width <= 425px) {
  .p-thanks__buttons {
    gap: 20px;
  }
}
.p-thanks__buttons a {
  min-width: calc((1em + 1.5em) + 1em + 1em + 1px * 2 + 1em * 9);
  padding: 0.6em 1em 0.5em 1.5em;
  color: var(--color-rd);
  font-size: 14px;
  line-height: 1.3;
  border: 1px solid var(--color-rd);
  border-radius: 30px;
  background-color: var(--color-wt);
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  outline-offset: 3px;
  position: relative;
  transition: background-color 0.3s linear;
}
.p-thanks__buttons a::after {
  content: '';
  display: inline-block;
  width: 1.2em;
  height: auto;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  background-image: url("/assets/images/icon/btn_arrow_red.svg");
  background-position: center;
}
@media (any-hover: hover) {
  .p-thanks__buttons a:hover {
    color: var(--color-wt);
    background-color: var(--color-rd);
  }
  .p-thanks__buttons a:hover::after {
    filter: grayscale(1) brightness(100);
  }
}

.l-footer {
  margin-top: 50px;
  padding-top: 1em;
  padding-bottom: 1em;
  line-height: 1;
}
.l-footer__copyright {
  width: calc(100% - var(--space) * 2);
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  color: var(--color-gy);
  text-align: center;
  display: block;
}