@charset "UTF-8";
/* CSS Document */
* {
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
}
html {
  font-family: 'Noto Serif JP', serif;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {
  display: none;
}
body {
  background: #222;
}
section {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}
img {
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
}
::selection {
  background: #F6C324;
  color: #ffffff;
}
.br::before {
  content: "\A";
  white-space: pre;
}
h2 span {
  opacity: 0;
}
h2.random span {
  animation: appear 1s ease-out forwards;
}
h2.random span:nth-child(2n) {
  animation-delay: 1.5s;
}
h2.random span:nth-child(2n+1) {
  animation-delay: 1.25s;
}
h2.random span:nth-child(3n+1) {
  animation-delay: 1s;
}
.slide {
  overflow: hidden;
  display: inline-block;
}
.slide_inner {
  display: inline-block;
}
.slide_left {
  opacity: 0;
}
.slide_lr {
  animation: slide_text_x100 1.3s forwards;
  animation-delay: 1s;
  opacity: 0;
}
.slide_rl {
  animation: slide_text_x-100 1.3s forwards;
  animation-delay: 1s;
  opacity: 0;
}
#loading {
  width: 100vw;
  height: 100vh;
  color: #FFF;
  background: #05263B;
  position: fixed;
  z-index: 1000;
  overflow: hidden;
}
#loading_logo {
  width: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.loaded #window_l, .loaded #window_r {
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  transform: scaleX(1);
}
.loaded #window_l {
  right: 50%;
  background: #05263B;
  animation: window_l 1.2s ease-in-out forwards;
}
.loaded #window_r {
  left: 50%;
  background: #05263B;
  animation: window_r 1.2s ease-in-out forwards;
}
#container {
  height: 100vh;
  opacity: 0;
  transition: all 3s;
  position: relative;
}
.loaded #container {
  opacity: 1;
}
#mv {
  color: #fff;
  background: rgba(0, 0, 0, 70%);
}
.loaded #mv .cover {
  height: 100vh;
  background: #05263B;
  display: inline-block;
  overflow: hidden;
  opacity: 0;
  position: absolute;
  z-index: 1;
}
.loaded #mv .cover:nth-child(1) {
  bottom: 0;
  animation: mv_border1 .3s linear forwards;
  animation-delay: 3.3s;
}
.loaded #mv .cover:nth-child(2) {
  top: 0;
  animation: mv_border2 .3s linear forwards;
  animation-delay: 3.6s;
}
#video_area {
  position: fixed;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
}
#video {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 197.77777778vh;
  height: 56.25vw;
  min-height: 100%;
  min-width: 100%;
}
#video.hide {
	opacity: 0;
}
#nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 0;
  z-index: 2;
}
#logo {
  width: 40px;
}
#nav_item {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
#nav_item a {
  color: #FFF;
  text-decoration: none;
  position: relative;
  display: inline-block;
}
#nav_item a::after {
  content: '';
  background: #F6C324;
  position: absolute;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
#nav_item a:hover {
  color: #F6C324;
  text-decoration: none;
  transition: .5s;
}
#nav_item a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}
#mv_copy {
  position: absolute;
  top: 0;
  left: 0;
}
#typing1, #typing2 {
  display: flex;
  overflow: hidden;
}
.loaded #typing1 span, .loaded #typing2 span {
  transform: translateY(110%);
  display: block;
  animation: 3s typing forwards linear;
}
.loaded #typing1 span:nth-child(1) {
  animation-delay: 1s;
}
.loaded #typing1 span:nth-child(2) {
  animation-delay: 1.1s;
}
.loaded #typing1 span:nth-child(3) {
  animation-delay: 1.2s;
}
.loaded #typing1 span:nth-child(4) {
  animation-delay: 1.3s;
}
.loaded #typing1 span:nth-child(5) {
  animation-delay: 1.4s;
}
.loaded #typing2 span:nth-child(1) {
  animation-delay: 2s;
}
.loaded #typing2 span:nth-child(2) {
  animation-delay: 2.1s;
}
.loaded #typing2 span:nth-child(3) {
  animation-delay: 2.2s;
}
.loaded #typing2 span:nth-child(4) {
  animation-delay: 2.3s;
}
.loaded #typing2 span:nth-child(5) {
  animation-delay: 2.4s;
}
.loaded #typing2 span:nth-child(6) {
  animation-delay: 2.5s;
}
#scroll {
  position: absolute;
}
.loaded #scroll::before {
  content: "";
  background: #FFF;
  border-radius: 50%;
  position: absolute;
  animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
}
#scroll::after {
  content: "";
  background: #FFF;
  position: absolute;
}
#scroll span {
  position: absolute;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}
h2 {
  font-weight: 500;
}
.sub {
  line-height: 1;
}
.sub::before {
  content: "―";
  margin-right: 5vw;
}
.sub::after {
  content: "―";
  margin-left: 5vw;
}
#works {
  background: #EEE;
}
#company {
  background: #0D659D;
}
#contact {
  background: #05263B;
}
footer {
  color: #FFF;
  text-align: center;
  background-color: #222;
}
@keyframes slide_text_x100 {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide_text_x-100 {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes window_l {
  0% {
    transform-origin: right;
    transform: scaleX(1);
  }
  50% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}
@keyframes window_r {
  0% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
@keyframes mv_border1 {
  0% {
    bottom: 100vh;
    left: 21.3vh;
    opacity: 1;
  }
  100% {
    bottom: 0;
    left: -270px;
    opacity: 1;
  }
}
@keyframes mv_border2 {
  0% {
    top: 100vh;
    right: 22vh;
    opacity: 1;
  }
  100% {
    top: 0;
    right: -260px;
    opacity: 1;
  }
}
@keyframes typing {
  0% {
    transform: translateY(110%);
  }
  10% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes circlemove {
  0% {
    bottom: 66px;
  }
  100% {
    bottom: -5px;
  }
}
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
button[type=submit] {
  display: block;
}
#contact h2 {
  color: #fff;
}
#contact p {
  color: #fff;
}
.attention {
  color: #F6C324;
}
input[type="text"], input[type="email"], textarea {
  border: none;
}
input[type="text"]:valid, input[type="email"]:valid, textarea:valid {
  background-color: #E0FFFC;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  background-color: #fff;
}
#checkbox {
  display: none;
}
#checkboxParts {
  color: #fff;
  position: relative;
  cursor: pointer;
  cursor: hand;
}
#checkboxParts::before {
  content: "";
  display: block;
  background-color: #fff;
  border: 1px solid #999;
  cursor: pointer;
  cursor: hand;
}
#checkbox:checked + #checkboxParts::after {
  content: "";
  display: block;
  transform: rotate(40deg);
  border-bottom: 7px solid #d01137;
  border-right: 7px solid #d01137;
}
button[type=submit][disabled] {
  background-color: #ddd;
}
button[type=submit][disabled]:hover {
  background-color: #ddd;
  cursor: default;
}
button[type=submit] {
  color: #fff;
  border: solid 2px #fff;
  border-radius: 5px;
  background-color: #0ABAB5;
  transition: .5s;
}
button[type=submit]:hover {
  background-color: #FFBF00;
  transition: .5s;
  cursor: pointer;
  cursor: hand;
}
.content {
  margin: 0 auto;
}
.modal {
  display: none;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
}
.modal__bg {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
}
.modal__content {
  background: #eee;
  border-radius: 5px;
}
.js-modal-open {
  color: #fff;
  text-decoration: none;
  border-bottom: solid 1px #FFF;
  padding-bottom: 2px;
}
.js-modal-open:hover {
  color: #F6C324;
  text-decoration: none;
  border-bottom: solid 1px #F6C324;
  padding-bottom: 2px;
  transition: .5s;
}
#modal__scroll {
  overflow-y: scroll;
  border: solid 1px #bbb;
  border-radius: 3px;
}
.closeBtn {
  text-decoration: none;
}
.modal__content h3 {
  text-align: center;
}
.modal__content dt {
  font-weight: bold;
}
.modal__content li {
  list-style: none;
}
.modal__content li::before {
  content: "・";
}
@media screen and (min-width:600px) {
  .loaded #mv .cover {
    width: 200px;
    transform: skewX(155deg);
  }
  .loaded #mv .cover:nth-child(1) {
    left: -270px;
  }
  .loaded #mv .cover:nth-child(2) {
    right: -260px;
  }
  #logo {
    padding: 30px 30px 30px 45px;
  }
  #nav_item {
    padding: 30px;
    font-size: 18px;
  }
  #nav_item a {
    padding: 0 15px;
  }
  #nav_item a::after {
    width: 80%;
    height: 1px;
    bottom: -8px;
    left: 10%;
  }
  #mv_copy {
    margin-top: 40vh;
    margin-left: 20vw;
    font-size: 55px;
    font-weight: 500;
  }
  #scroll {
    padding: 0 22px;
    right: 0;
    bottom: 40px;
    z-index: 2;
  }
  .loaded #scroll::before {
    width: 10px;
    height: 10px;
    left: -14px;
    bottom: 0;
  }
  #scroll::after {
    width: 2px;
    height: 70px;
    left: -10px;
    bottom: 0;
  }
  #scroll span {
    left: 0;
    bottom: 14px;
    z-index: 2;
  }
  h2 {
    font-size: 100px;
  }
  .sub {
    font-size: 40px;
    position: absolute;
    top: 200px;
    left: 0;
    right: 0;
  }
  footer {
    padding: 30px 0;
  }
  footer img {
    width: 50px;
  }
  #works h2 {
    margin: 50px auto 170px;
    color: #555;
    text-align: center;
  }
  #works .sub {
    color: #AAA;
    text-align: center;
  }
  #works .works {
    width: 100%;
    height: 22vh;
    position: relative;
    opacity: 0;
  }
  #works .works::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: -100px;
    left: 0;
    border-left: solid 100vw transparent;
    opacity: 0;
  }
  #works .works.appear:nth-of-type(1) {
    background-color: #DDD;
    animation: appear 1s ease-in forwards;
    animation-delay: 1s;
  }
  #works .works.appear:nth-of-type(1)::before {
    border-bottom: solid 100px #ddd;
    animation: appear 1s ease-in forwards;
    animation-delay: 1s;
  }
  #works .works.appear:nth-of-type(2) {
    background-color: #FFF;
    animation: appear 1s ease-in forwards;
    animation-delay: 2s;
  }
  #works .works.appear:nth-of-type(2)::before {
    border-bottom: solid 100px #FFF;
    animation: appear 1s ease-in forwards;
    animation-delay: 2s;
  }
  #works .works.appear:nth-of-type(3) {
    background-color: #DDD;
    animation: appear 1s ease-in forwards;
    animation-delay: 3s;
  }
  #works .works.appear:nth-of-type(3)::before {
    border-bottom: solid 100px #DDD;
    animation: appear 1s ease-in forwards;
    animation-delay: 3s;
  }
  #works .works.appear:nth-of-type(3)::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0px;
    left: 0;
    border-left: solid 100vw transparent;
    border-bottom: solid 100px #EEE;
    opacity: 0;
    animation: appear 1s ease-in forwards;
    animation-delay: 2s;
  }
  .works h3 {
    padding: 0 60px;
    font-size: 30px;
    color: #333;
    transform: rotate(-3deg);
  }
  .works h3 span {
    margin-right: 10px;
  }
  .works p {
    padding: 0 60px;
    font-size: 20px;
    color: #444;
    transform: rotate(-3deg);
  }
  #company h2 {
    margin: 50px auto 100px;
    color: #FFF;
    text-align: center;
  }
  #company .sub {
    color: #AAA;
    text-align: center;
  }
  #company #table {
    opacity: 0;
  }
  #company #table.appear {
    margin: 0 auto;
    font-size: 20px;
    color: #EEE;
    border-spacing: 10px;
    animation: appear 1s ease-out forwards;
    animation-delay: 1.5s
  }
  #company #table tr th {
    text-align: left;
    padding-right: 20px;
  }
  #company #map {
    opacity: 0;
  }
  #company #map.appear {
    width: 100vw;
    height: 50vh;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    animation: appear 1s ease-out forwards;
    animation-delay: 2s
  }
  #map iframe, #map object, #map embed {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    transition: all 0.7s ease;
  }
  #map iframe:hover, #map object:hover, #map embed:hover {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
  }
  #contact h2 {
    margin: 50px auto 150px;
    color: #FFF;
    text-align: center;
  }
  #contact .sub {
    color: #AAA;
    text-align: center;
  }
  #contact .text {
    font-size: 20px;
    text-align: center;
    opacity: 0;
  }
  #contact .text.appear {
    animation: appear 1s ease-in forwards;
    animation-delay: 1s;
  }
  #contactForm {
    width: 720px;
    margin: 50px auto;
    opacity: 0;
  }
  #contactForm.appear {
    animation: appear 1s ease-in forwards;
    animation-delay: 1.5s;
  }
  input[ type="text"], input[type="email"], textarea {
    font-family: 'Noto Serif JP', serif;
    width: 700px;
    margin: 10px 0;
    padding: 10px;
    font-size: 20px;
    border-radius: 5px;
  }
  input[ type="text"]:focus, input[type="email"]:focus, textarea:focus {
    outline: solid 3px #F6C324;
  }
  textarea {
    height: 150px;
  }
  #contactCheck {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 20px;
    text-align: center;
  }
  #checkboxParts {
    padding-left: 40px;
    font-size: 20px;
  }
  #checkboxParts::before {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 5px;
    left: 0;
  }
  #checkbox:checked + #checkboxParts::after {
    position: absolute;
    top: -7px;
    left: 3px;
    width: 13px;
    height: 23px;
    transition: .5s;
  }
  button[type=submit] {
    font-family: 'Noto Serif JP', serif;
    width: 500px;
    height: 90px;
    margin: 50px auto;
    font-size: 26px;
  }
  .modal__content {
    width: 70%;
    height: 50vh;
    padding: 5vw;
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #modal__scroll {
    margin-top: 30px;
    height: 40vh;
    padding: 10px;
  }
  .closeBtn {
    margin-right: 3vw;
    font-size: 40px;
    position: absolute;
    top: 1vw;
    right: 0;
  }
  .modal__content p {
    font-size: 16px;
  }
  .modal__content h3 {
    font-size: 30px;
  }
  .modal__content dt {
    margin-top: 30px;
    font-size: 20px;
  }
  .modal__content dd {
    font-size: 16px;
  }
  #modal__company {
    margin-top: 20px;
  }
}
@media screen and (max-width:600px) {
  #nav {
    z-index: 9999;
  }
  .openbtn {
    width: 50px;
    height: 50px;
    margin: 20px;
    background: #05263B;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    z-index: 9999;
  }
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
    background: #fff;
    width: 45%;
  }
  .openbtn span:nth-last-of-type(1) {
    top: 13px;
  }
  .openbtn span:nth-last-of-type(2) {
    top: 19px;
  }
  .openbtn span:nth-last-of-type(3) {
    top: 25px;
  }
  .openbtn span:nth-last-of-type(3)::after {
    content: "MENU";
    position: absolute;
    top: 5px;
    left: -4px;
    color: #fff;
    font-size: 0.6rem;
    text-transform: uppercase;
  }
  .openbtn.active span:nth-last-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }
  .openbtn.active span:nth-last-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-last-of-type(3) {
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
  .openbtn.active span:nth-last-of-type(3)::after {
    content: "CLOSE";
    transform: translateY(0) rotate(-45deg);
    top: 5px;
    left: 4px;
  }
  .loaded #mv .cover {
    width: 200px;
    transform: skewX(155deg);
  }
  .loaded #mv .cover:nth-child(1) {
    left: -270px;
  }
  .loaded #mv .cover:nth-child(2) {
    right: -260px;
  }
  #logo {
    padding: 3vh;
  }
  #nav_item {
    position: fixed;
    z-index: 9998;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    background: #222;
    transition: all .6s;
  }
  #nav_item.active {
    right: 0;
  }
  #nav_item #item_list {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 9999;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3vh;
    text-align: center;
  }
  #nav_item a {
    margin: 5vh 0;
  }
  #nav_item a::after {
    width: 80%;
    height: 1px;
    bottom: -8px;
    left: 10%;
  }
  #mv_copy {
    margin-top: 38vh;
    margin-left: 9vh;
    font-size: 5vh;
    font-weight: 500;
  }
  #scroll {
    padding: 0 16px;
    right: 0;
    bottom: 32px;
    z-index: 2;
  }
  .loaded #scroll::before {
    width: 8px;
    height: 8px;
    left: -11px;
    bottom: 0;
  }
  #scroll::after {
    width: 2px;
    height: 70px;
    left: -8px;
    bottom: 0;
  }
  #scroll span {
    left: 0;
    bottom: 16px;
    z-index: 2;
  }
  h2 {
    font-size: 6vh;
  }
  .sub {
    font-size: 3vh;
    position: absolute;
    top: 14vh;
    left: 0;
    right: 0;
  }
  footer {
    padding: 3vh 0;
  }
  footer img {
    width: 5vh;
  }
  #works h2 {
    margin: 5vh auto 18vh;
    color: #555;
    text-align: center;
  }
  #works .sub {
    color: #AAA;
    text-align: center;
  }
  #works .works {
    width: 100%;
    height: 21vh;
    position: relative;
    opacity: 0;
  }
  #works .works::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: -100px;
    left: 0;
    border-left: solid 100vh transparent;
    opacity: 0;
  }
  #works .works.appear:nth-of-type(1) {
    background-color: #DDD;
    animation: appear 1s ease-in forwards;
    animation-delay: 1s;
  }
  #works .works.appear:nth-of-type(1)::before {
    border-bottom: solid 100px #ddd;
    animation: appear 1s ease-in forwards;
    animation-delay: 1s;
  }
  #works .works.appear:nth-of-type(2) {
    background-color: #FFF;
    animation: appear 1s ease-in forwards;
    animation-delay: 1.5s;
  }
  #works .works.appear:nth-of-type(2)::before {
    border-bottom: solid 100px #FFF;
    animation: appear 1s ease-in forwards;
    animation-delay: 1.5s;
  }
  #works .works.appear:nth-of-type(3) {
    background-color: #DDD;
    animation: appear 1s ease-in forwards;
    animation-delay: 2s;
  }
  #works .works.appear:nth-of-type(3)::before {
    border-bottom: solid 100px #DDD;
    animation: appear 1s ease-in forwards;
    animation-delay: 2s;
  }
  #works .works.appear:nth-of-type(3)::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0px;
    left: 0;
    border-left: solid 100vh transparent;
    border-bottom: solid 100px #EEE;
    opacity: 0;
    animation: appear 1s ease-in forwards;
    animation-delay: 2s;
  }
  .works h3 {
    padding: 0 1.5vh;
    font-size: 2vh;
    color: #333;
    transform: rotate(-5deg);
  }
  .works h3 span {
    margin-right: 3vw;
  }
  .works p {
    padding: 0 2.5vh;
    font-size: 1.5vh;
    color: #444;
    transform: rotate(-5deg);
  }
  #company h2 {
    margin: 5vh auto 7vh;
    color: #FFF;
    text-align: center;
  }
  #company .sub {
    color: #AAA;
    text-align: center;
  }
  #company #table {
    opacity: 0;
  }
  #company #table.appear {
    margin: 0 auto;
    font-size: 1.4vh;
    color: #EEE;
    border-spacing: 1vh;
    animation: appear 1s ease-out forwards;
    animation-delay: 1.5s
  }
  #company #table tr th {
    text-align: left;
    padding-right: 1vh;
  }
  #company #map {
    opacity: 0;
  }
  #company #map.appear {
    width: 100vw;
    height: 60vh;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    animation: appear 1s ease-out forwards;
    animation-delay: 2s
  }
  #map iframe, #map object, #map embed {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    transition: all 0.7s ease;
  }
  #map iframe:hover, #map object:hover, #map embed:hover {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
  }
  #contact h2 {
    margin: 5vh auto 10vh;
    color: #FFF;
    text-align: center;
  }
  #contact .sub {
    color: #AAA;
    text-align: center;
  }
  #contact .text {
    font-size: 1.3vh;
    text-align: center;
    opacity: 0;
  }
  #contact .text.appear {
    animation: appear 1s ease-in forwards;
    animation-delay: 1s;
  }
  #contactForm {
    margin: 7vh auto;
    opacity: 0;
  }
  #contactForm.appear {
    animation: appear 1s ease-in forwards;
    animation-delay: 1.5s;
  }
  input[ type="text"], input[type="email"], textarea {
    font-family: 'Noto Serif JP', serif;
    width: 80%;
    margin: 10px 5%;
    padding: 3% 5%;
    font-size: 2vh;
    border-radius: 5px;
  }
  input[ type="text"]:focus, input[type="email"]:focus, textarea:focus {
    outline: solid 3px #F6C324;
  }
  textarea {
    height: 15vh;
  }
  #contactCheck {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 4vh;
    text-align: center;
  }
  #checkboxParts {
    padding-left: 4vh;
    font-size: 2vh;
  }
  #checkboxParts::before {
    width: 2vh;
    height: 2vh;
    position: absolute;
    top: 1vh;
    left: 0;
  }
  #checkbox:checked + #checkboxParts::after {
    position: absolute;
    top: .1vh;
    left: .5vh;
    width: 1vh;
    height: 2vh;
    transition: .5s;
  }
  button[type=submit] {
    font-family: 'Noto Serif JP', serif;
    width: 70%;
    height: 8vh;
    margin: 5vh auto;
    font-size: 2.5vh;
  }
  .modal__content {
    width: 80%;
    height: 70vh;
    padding: 2vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #modal__scroll {
    margin-top: 2vh;
    height: 62vh;
    padding: 1vh;
  }
  .closeBtn {
    margin-right: 2vh;
    font-size: 4vh;
    position: absolute;
    top: .5vh;
    right: 0;
  }
  .modal__content p {
    font-size: 1vh;
  }
  .modal__content h3 {
    font-size: 2vh;
  }
  .modal__content dt {
    margin-top: 3vh;
    font-size: 1.5vh;
  }
  .modal__content dd {
    font-size: 1vh;
  }
  #modal__company {
    margin-top: 3vh;
  }
}