#header {
  display: flex;
  justify-content: space-between;
  padding: 30px 50px 30px 50px;
  align-items: center;
  position: static;
}
#header #mobile-menu-opener:hover {
  cursor: pointer;
}
#header nav#top-menu {
  display: none;
}
#header nav#top-menu #mobile-menu-closer {
  display: none;
}
#header nav#top-menu #social-icon {
  display: none;
}
#header nav#top-menu.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #8a909a;
  z-index: 100;
}
#header nav#top-menu.open .nav-list {
  flex-grow: 1;
}
#header nav#top-menu.open #mobile-menu-closer {
  display: flex;
  justify-content: end;
  --line-size: 32px;
  --half-line-size: calc(var(--line-size) / 2);
}
#header nav#top-menu.open #mobile-menu-closer .button {
  width: var(--line-size);
  height: var(--line-size);
  position: relative;
  margin: 20px 20px;
}
#header nav#top-menu.open #mobile-menu-closer .button .line {
  position: absolute;
  width: var(--line-size);
  height: 0.5px;
  background: white;
  transform-origin: left top;
}
#header nav#top-menu.open #mobile-menu-closer .button:active .line {
  background: grey;
}
#header nav#top-menu.open #mobile-menu-closer .button .line:first-child {
  transform: translate(var(--half-line-size), var(--half-line-size)) rotate(45deg) translateX(calc(-1 * var(--half-line-size)));
}
#header nav#top-menu.open #mobile-menu-closer .button .line:last-child {
  transform: translate(var(--half-line-size), var(--half-line-size)) rotate(-45deg) translateX(calc(-1 * var(--half-line-size)));
}
#header nav#top-menu.open #social-icon {
  display: flex;
  margin: 40px;
  gap: 10px;
}
#header nav#top-menu.open #social-icon img {
  width: 35px;
}
#header nav#top-menu.open ol, #header nav#top-menu.open ul {
  list-style: none;
  margin: 50px 0;
}
#header nav#top-menu.open .nav-item {
  color: white;
  display: block;
  padding: 0 0 24px;
  margin: 0;
}
#header nav#top-menu.open .nav-item a {
  text-decoration: none;
  color: white;
}
@media screen and (min-width: 600px) {
  #header #mobile-menu-opener {
    display: none;
  }
  #header nav#top-menu {
    display: block;
  }
  #header nav#top-menu ol, #header nav#top-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  #header nav#top-menu .nav-item {
    position: relative;
    color: #37383C;
    font-size: 12px;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 600;
    font-style: normal;
  }
  #header nav#top-menu .nav-item a {
    text-decoration: none;
    color: #333333;
  }
  #header nav#top-menu .nav-item a::after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #64AD80, transparent);
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s;
  }
  #header nav#top-menu .nav-item a:hover::after {
    transform: scale(1, 1);
  }
  #header nav#top-menu .nav-item:last-of-type:after {
    content: "";
    width: 1px;
    height: 23px;
    background-color: #E5E5E5;
    position: absolute;
    left: -10px;
    top: -3px;
  }
}

#footer img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
}
#footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}
#footer nav a {
  color: #333333;
  font-size: 10px;
}
#footer nav ol, #footer nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
}
#footer nav img {
  width: 25px;
}

@media screen and (min-width: 600px) {
  #footer img {
    width: 50%;
  }
  #footer a {
    font-size: 10px;
  }
  #footer nav {
    justify-content: right;
    margin: 0 120px 0 0;
  }
  #footer nav img {
    width: 30px;
  }
}
#contact #tel {
  border-bottom: solid 1px #EBEFEF;
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: right;
}
#contact #tel div {
  margin: 0 30px;
}
#contact #tel div .contact-label {
  font-size: 16px;
  margin: 20px 0 0;
}
#contact #tel div .phone-number {
  font-size: 14px;
  margin: 0 0 20px;
  text-decoration: none;
  color: #37383C;
}
#contact .hidden {
  display: none;
}
#contact #success-message, #contact #validation {
  width: 100%;
  margin: 30px auto;
  padding: 30px 5vw;
  text-align: center;
}
#contact #success-message h1, #contact #validation h1 {
  font-size: 20px;
}
#contact #success-message p, #contact #validation p {
  font-size: 12px;
}
@media screen and (min-width: 900px) {
  #contact #success-message, #contact #validation {
    width: 900px;
  }
}
#contact #success-message {
  border-top: 2px solid #7adf7a;
  border-bottom: 2px solid #7adf7a;
  color: #4cad4c;
  background: #b9ffb9;
}
@media screen and (min-width: 900px) {
  #contact #success-message {
    border: 2px solid #7adf7a;
  }
}
#contact #validation {
  border-top: 2px solid #ab0000;
  border-bottom: 2px solid #ab0000;
  color: #ab0000;
  background: #ff9595;
}
@media screen and (min-width: 900px) {
  #contact #validation {
    border: 2px solid #ab0000;
  }
}
#contact #form {
  padding-top: 56px;
  margin: 50px 8vw;
}
#contact #form .form-input, #contact #form .form-textarea {
  width: 100%;
}
#contact #form .form-fieldset, #contact #form .form-agree {
  width: 90%;
  margin: 0 auto;
}
#contact #form .form-fieldset {
  padding-top: 30px;
}
#contact #form .form-input {
  height: 56px;
  padding: 10px 10px 10px;
  border: solid 2px #EBEFEF;
  border-radius: 3px;
  font-size: 15px;
}
#contact #form .form-label {
  font-size: small;
  font-weight: 600;
}
#contact #form .form-textarea {
  height: 270px;
  resize: none;
  padding: 20px 23px;
  border: solid 2px #EBEFEF;
}
#contact #form .form-agree {
  display: flex;
  background-color: #EBEFEF;
  margin-top: 30px;
  padding: 25px;
  color: #333333;
  font-size: 18px;
}
#contact #form .form-agree label {
  font-size: 13px;
}
#contact #form .form-agree label a {
  color: darkcyan;
}
#contact #form input[type=submit] {
  background: #809CC9;
  color: white;
  margin: 50px auto;
}
#contact #form input[type=submit]:hover {
  background: #90b0e5;
}
@media screen and (min-width: 900px) {
  #contact #tel div .contact-label {
    font-size: 20px;
  }
  #contact #tel div .phone-number {
    font-size: 14px;
  }
  #contact #form {
    margin: 50px 15vw;
  }
  #contact #form .form-fieldset, #contact #form .form-agree {
    width: 60%;
  }
}

/*# sourceMappingURL=contact.css.map */
