@charset "UTF-8";
/* A Modern CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul[role=list], ol[role=list] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

img, picture {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  background-color: #69123B;
  font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 1.4;
}

p {
  margin: 0 0 20px 0;
}

sup {
  display: inline-block;
  position: relative;
  top: 5px;
  margin-left: 4px;
  margin-right: 4px;
  font-size: 20px;
}

.wrapper {
  width: calc(100% - 40px);
  max-width: 900px;
  background: #fff;
  padding: 20px;
  font-size: 20px;
  margin: 0 20px 60px 20px;
}
@media screen and (min-width: 600px) {
  .wrapper {
    margin-right: auto;
    margin-left: auto;
  }
}

.bottom-nav {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
          flex-direction: column;
  -webkit-align-items: center;
          align-items: center;
  -webkit-justify-content: center;
          justify-content: center;
}
@media screen and (min-width: 600px) {
  .bottom-nav {
    -webkit-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
}

.title {
  font-size: 20px;
  color: #fff;
  padding: 10px 20px;
  border: 1px solid #fff;
  max-width: 600px;
  text-align: center;
  font-weight: bold;
  margin: 40px 20px 20px 20px;
  border-radius: 100px;
}
@media screen and (min-width: 600px) {
  .title {
    font-size: 32px;
    height: 70px;
    line-height: 70px;
    margin: 40px auto 20px auto;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.sub-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 4px;
}

.table {
  width: 100%;
  text-align: left;
  margin: 10px 0;
}
.table tr {
  display: block;
}
@media screen and (min-width: 600px) {
  .table tr {
    display: table-row;
  }
}
.table th, .table td {
  padding-bottom: 5px;
  display: block;
}
@media screen and (min-width: 600px) {
  .table th, .table td {
    display: table-cell;
    vertical-align: top;
  }
}
.table th {
  white-space: nowrap;
  font-weight: normal;
  padding-right: 10px;
  font-weight: bold;
}
.table td {
  width: 100%;
}

input[type=text], input[type=email] {
  width: 100%;
  display: inline-block;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid #231916;
  font-size: 20px;
  padding: 2px 10px;
}

select {
  width: 100%;
  display: inline-block;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid #231916;
  font-size: 20px;
  padding: 2px 10px;
}

textarea {
  width: 100%;
  display: inline-block;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid #231916;
  font-size: 20px;
  padding: 2px 10px;
  height: 130px;
}

label {
  display: inline-block;
  margin-right: 40px;
}

.submit {
  display: inline-block;
  border: none;
  text-align: center;
  font-size: 20px;
  color: #000;
  background: #DA9100;
  height: 40px;
  line-height: 40px;
  width: 100%;
  max-width: 300px;
  transition: 0.25s;
  padding: 0 10px;
}
.submit:link, .submit:hover, .submit:active, .submit:focus {
  text-decoration: none;
}
.submit:hover {
  opacity: 0.8;
}
@media screen and (min-width: 600px) {
  .submit {
    width: 200px;
  }
}

.back {
  display: inline-block;
  border: 1px solid #231916;
  text-align: center;
  font-size: 20px;
  color: #000;
  background: #fff;
  height: 40px;
  line-height: 40px;
  max-width: 300px;
  transition: 0.25s;
  padding: 0 10px;
  margin-top: 20px;
}
.back:link, .back:hover, .back:active, .back:focus {
  text-decoration: none;
}
.back:hover {
  opacity: 0.6;
}
@media screen and (min-width: 600px) {
  .back {
    margin-top: 0;
    margin-right: 20px;
  }
}

.formErrorContent {
  background: #ff0004;
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
  padding: 4px 10px;
}
.formErrorContent::after {
  content: "";
  position: absolute;
  border: 10px solid transparent;
  border-bottom-color: #ff0004;
  border-top-width: 0;
  margin-left: -10px;
  top: -10px;
  left: 20px;
}

.inquiry-type {
  position: relative;
}
.inquiry-type .formError {
  position: absolute !important;
  display: inline !important;
  top: auto !important;
  bottom: 0px !important;
  left: 0 !important;
}
.inquiry-type .formErrorContent {
  position: absolute;
  display: inline-block !important;
  white-space: nowrap;
}
