* {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

html {
  font-size: 1.30208333333vw;
}

@keyframes body {
  0% {
    opacity: 0;
  }
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  box-sizing: border-box;
  width: 100%;
  animation: body 1.2s ease-in;
}

.wrapper {
  width: 90%;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width:769px) {
  .wrapper {
    max-width: 641px;
  }
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

section {
  padding: 64px 0;
}

/* mainここから */
main {
  height: 57.29166666666667vh;
  background-image: url("../image/contact-background.png");
  background-size: cover;
  background-position: center;
}

@media (max-width:769px) {
  main {
    background-image: url("../image/contact-mobile-background.png");
    height: 89.84375vh;
  }
}

.mobile-menu {
  display: none;
}

@media (max-width:769px) {
  .mobile-menu {
    display: block;
    position: relative;
    z-index: 3;
  }
}

input[type="checkbox"] {
  position: fixed;
  left: -50vw;
}

input[type="checkbox"]:checked~aside {
  right: 0;
}

input[type="checkbox"]:checked~.back {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.open {
  position: fixed;
  right: 5vw;
  top: 5vh;
}

.drawer-open {
  width: 10vw;
  max-width: 50px;
  max-height: 59px;
}

.main-menu {
  background-color: #EFEFEF;
  width: 60vw;
  max-width: 480px;
  height: 100vh;
  max-height: 1024px;
  position: fixed;
  right: -480px;
  transition: all 0.2s;
}

.aside-wrapper {
  width: 85%;
  max-width: 352px;
  margin: 0 auto;
}

.drawer {
  display: flex;
  justify-content: space-between;
  margin: 5vh 0;
}

.drawer-logo {
  width: 30vw;
  max-width: 200px;
}

.drawer-close {
  width: 10vw;
  max-width: 45px;
  max-height: 60px;
}

.drawer-list li {
  width: 30vw;
  max-width: 155px;
  max-height: 68px;
  margin: 0 auto;
  margin-bottom: clamp(16px, 3vh, 32px);
}

.drawer-list li img {
  width: 100%;
}

.drawer-img {
  width: 20vw;
  max-width: 141px;
  margin: 64px auto 0;
}

.drawer-img img {
  width: 100%;
}

.header {
  display: flex;
  justify-content: space-between;
  padding-top: 56px;
}

.main-logo {
  width: 36.71875vw;
  max-width: 376px;
}

@media(max-width:769px) {
  .main-logo {
    width: 50vw;
    max-width: 298px;
  }
}

.main-logo img {
  width: 100%;
}

@media(max-width:769px) {
  .global-nav {
    display: none;
  }
}

.nav-list {
  display: flex;
}

.list-item {
  font-size: clamp(10px, 2.4rem, 24px);
  font-weight: 400;
  margin-left: 32px;
}

.list-item a {
  color: #fff;
  transition: all 0.25s;
}

main .list-item a:hover {
  color: #082C42;
}

footer .list-item a:hover {
  opacity: 0.5;
}

/* mainここまで */

/* contactここから */
#contact {
  background-color: #EFEFEF;
}

.contact-wrapper {
  max-width: 1080px;
}

@keyframes contact {
  0% {
    opacity: 0;
    transform: translateY(30%);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

h1 {
  font-size: clamp(12px, 1.8rem, 18px);
  font-weight: 400;
  text-align: center;
  margin-bottom: 64px;
  animation: contact .8s .8s ease-in forwards;
  opacity: 0;
}

@media(max-width:769px) {
  h1 {
    width: 80vw;
    max-width: 570px;
    margin-left: auto;
    margin-right: auto;
  }
}

.form-area {
  display: flex;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}

@media(max-width:769px) {
  .form-area {
    display: block;
    max-width: 641px;
  }
}

.border {
  width: 100%;
  max-width: 1080px;
  height: 1px;
  background-color: #707070;
  margin: 32px 0;
}

.form-area dt {
  font-size: clamp(16px, 2.4rem, 24px);
  font-weight: 400;
  width: 210px;
}

@media(max-width:769px) {
  .form-area dt {
    margin-bottom: 8px;
  }
}

span {
  color: #FF0000;
}

.message {
  width: 50vw;
  max-width: 720px;
  height: 320px;
  margin-left: clamp(28px, 10vw, 94px);
  font-size: clamp(16px, 2rem, 20px);
}

@media(max-width:769px) {
  .message {
    width: 100%;
    max-width: 641px;
    margin-left: 0;
    max-height: 320px;
  }
}

.contact-text {
  width: 40vw;
  max-width: 440px;
  height: 48px;
  margin-left: clamp(28px, 10vw, 94px);
  font-size: clamp(16px, 2rem, 20px);
}

@media(max-width:769px) {
  .contact-text {
    width: 100%;
    margin-left: 0;
  }
}

.contact-btn {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 64px;
  color: #000;
  background-color: #E2E3E1;
  width: 200px;
  padding: 18px 0;
  font-size: clamp(16px, 2.4rem, 24px);
  font-weight: 400;
  letter-spacing: 4px;
  border-radius: 8px;
  border: solid 1px #707070;
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: .3s;
}

.contact-btn:hover {
  color: #E2E3E1;
  background-color: #082C42;
  border: solid 1px #082C42;
  box-shadow: none;
}

@media(max-width:769px) {
  .contact-btn {
    width: 100%;
  }
}

/* contactここまで */

/* footerここから */
footer {
  background-color: #082C42;
  padding-top: 40px;
  padding-bottom: 32px;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-logo {
  width: 36.71875vw;
  max-width: 380px;
}

@media(max-width:769px) {
  .footer-logo {
    width: 45vw;
  }
}

.footer-logo img {
  width: 100%;
}

.footer-contents {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sns-icon {
  display: flex;
  margin-bottom: 64px;
}

@media(max-width:769px) {
  .sns-icon {
    margin-bottom: 0;
  }

  .sns-icon img {
    width: 10vw;
    max-width: 64px;
  }
}

.sns-icon li {
  margin-left: 24px;
}

/* footerここまで */