:root {
  --font-family-NotoSansJP: "Noto Sans JP", sans-serif;
  --max-width-1720px: 1720px;
  --max-width-1920px: 1920px;
  --max-height: 1080px;
  font-size: 10px;
}

.success-message-text {
  display: none;
}

.header-innerColorScroll {
  color: #000;
  font-family: var(--font-family-NotoSansJP);
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  transition: color 0.4s ease-out;
  background-color: #ffffffe6;
}

h1 {
  text-align: center;
}

.form-group {
  margin: 12px;
}

.form-group label {
  display: block;
  padding: 8px;
}

.form-group input {
  display: block;
  margin: 0 auto;
  width: 280px;
  height: 30px;
}

.alert-msg {
  font-size: 12px;
  width: 280px;
  max-width: 80vw;
  color: #d41010;
  background-color: #fbe6e6;
  border-radius: 3px;
  line-height: 1.5;
  padding: 5px 10px;
  margin: 5px auto;
}

.hidden {
  display: none;
}

.shown {
  display: block;
}

.badge {
  display: inline-block;
  font-size: 10px;
  margin: 0 10px;
  padding: 0 8px;
  vertical-align: 2px;
  line-height: 14px;
  color: #d41010;
  background-color: #fbe6e6;
  border-radius: 3px;
}

.form-group-bottun {
  padding: 15px 30px;
}

/* ヘッダー */
.header {
  position: relative;
  height: 28rem;
  background: #000 url(../img/bg_main.png) center / cover;
  margin: auto;
}

.header-logo {
  height: 68px;
  display: flex;
  align-items: center;
}

.header-container {
  max-width: var(--max-width-1720px);
  width: 100%;
  height: 100%;
  margin: auto;
}

/* ヘッダー全体 */
.header-inner {
  margin: 0 auto;
  display: flex;
  width: 100%;
  position: fixed;
  padding: 1rem 2vw;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  justify-content: space-between;
  align-items: center;
}

/* ヘッダー文字設定 */
.header-inner {
  color: #fff;
  font-family: var(--font-family-NotoSansJP);
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  transition: color 0.4s ease-out;
}

/* フォーム */

.red {
  color: #f00;
  text-align: center;
  font-family: var(--font-family-NotoSansJP);
  font-size: 1.4rem;
}

.header-title {
  color: #fff;
  text-align: center;
  font-family: var(--font-family-NotoSansJP);
  font-size: 4rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  width: 100%;
  padding: 11rem;
}

.contact-text1 {
  padding-top: 5rem;
  color: #242424;
  text-align: center;
  font-family: var(--font-family-NotoSansJP);
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.contact-text2 {
  padding-top: 2rem;
  text-align: center;
  color: #242424;
  font-family: var(--font-family-NotoSansJP);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.Form {
  margin-top: 5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
  padding: 0 3vw;
}
@media screen and (max-width: 480px) {
  .Form {
    margin-top: 40px;
  }
}
.Form-Item {
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 480px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.Form-Item-Label {
  width: 100%;
  max-width: 130px;
  color: #071873;
  font-family: var(--font-family-NotoSansJP);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}
.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #5bc8ac;
  color: #fff;
  font-size: 14px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}
.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Btn {
  border-radius: 50px;
  margin-top: 10rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #242424;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}
@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}

.Form-Item-caution {
  margin-top: 5rem;
}

.Form-Item-cautiontext {
  overflow-y: scroll;
  height: 20rem;
  margin: 1rem;
  border: 1px solid #848484;
  padding: 2rem;
}

.Form-Item-cautiontext-2 {
  overflow-y: scroll;
  height: 30rem;
  margin: 1rem;
  border: 1px solid #848484;
  padding: 2rem;
}

.Form-Item-cautiontext-2::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.Form-Item-cautiontext-2::-webkit-scrollbar-thumb {
  background: #848484;
  border-radius: 5px;
}

.text-1rem-bottom {
  padding-bottom: 1rem;
}

.Form-Item-cautiontext-2 p {
  color: #242424;
  font-family: var(--font-family-NotoSansJP);
  font-size: 1.6rem;
}

.Form-Item-cautiontext2 {
  margin-top: 1rem;
  color: #242424;
  text-align: center;
  font-family: var(--font-family-NotoSansJP);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.Form-Item-cautiontext::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.Form-Item-cautiontext::-webkit-scrollbar-thumb {
  background: #848484;
  border-radius: 5px;
}

.Form-Item-bold {
  color: #242424;
  font-family: var(--font-family-NotoSansJP);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  padding-top: 1.5rem;
}

.Form-Item-cautiontext p {
  color: #242424;
  font-family: var(--font-family-NotoSansJP);
  font-size: 1.6rem;
  line-height: 1.5;
}

.Form-Btn:hover {
  /*ボタンの形状*/
  border-color: transparent;
  color: #fff;
  /*背景の色と形状*/
  background: #071873;
  background-size: 200% auto;
  background-position: right center;
}
/* フッター */

.footer {
  margin-top: 15rem;
  height: 128px;
  background: #242424;
  display: flex;
  justify-content: center;
}

.footer-container {
  display: flex;
  width: 1620px;
  height: 128px;
  align-items: center;
  padding: 0 2rem;
}

.footer-text {
  color: #fff;
  text-align: right;
  font-family: var(--font-family-NotoSansJP);
  font-size: 1.8rem;
  font-weight: 400;
  margin-left: auto;
}

.footer-corporate-logo {
  margin-right: 4rem;
}

.footer-SNS-logo {
  display: flex;
  align-items: center;
}

.footer-SNS-logo a {
  margin-left: 3rem;
  width: 24px;
  height: 24px;
}
.footer-SNS-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.footer-logos {
  display: flex;
}

/* ラップトップ */
@media only screen and (min-width: 976px) and (max-width: 1280px) {
  :root {
    font-size: 9px;
  }

  .footer-corporate-logo {
    margin-right: -7rem;
  }

  .footer-corporate-logo img {
    max-width: 80%;
  }

  .footer-SNS-logo {
    max-width: 80%;
  }
}

/* タブレット */
@media only screen and (max-width: 975px) {
  :root {
    font-size: 8px;
  }
  .header-logo img {
    width: 28rem;
  }

  .header-logo {
    height: 52px;
  }

  .footer-container {
    flex-direction: column;
    justify-content: center;
  }

  @media screen and (max-width: 375px) {
    .footer {
      margin-top: 5rem;
    }

    .footer-container {
      flex-direction: column;
      justify-content: center;
    }

    .footer-text {
      font-size: 1.4rem;
      margin-top: 1rem;
    }
  }
}
