:root {
  --base: #F7F7F7;
  --bk: #1D1D1D;
  --white: #fffff9;
  --accentcolor:#a02310;
  --light_gray: #D9D9D9;
  --jp-font: "Noto Sans JP", sans-serif;
  --jp-font-weight-Thin: 100;
  --jp-font-weight-ExtraLight: 200;
  --jp-font-weight-Light: 300;
  --jp-font-weight-Regular: 400;
  --jp-font-weight-Medium: 500;
  --jp-font-weight-SemiBold: 600;
  --jp-font-weight-Bold: 700;
  --jp-font-weight-ExtraBold: 800;
  --jp-font-weight-Black: 900;
  --en-font: "Roboto", sans-serif;
  --en-font-weight-Thin: 100;
  --en-font-weight-ExtraLight: 200;
  --en-font-weight-Light: 300;
  --en-font-weight-Regular: 400;
  --en-font-weight-Medium: 500;
  --en-font-weight-SemiBold: 600;
  --en-font-weight-Bold: 700;
  --en-font-weight-ExtraBold: 800;
  --en-font-weight-Black: 900;
} 

.contact-message {
  text-align: center;
  font-size: 14px;
  line-height: 2;
  margin-bottom: 50px;
  color: var(--bk);
}

.message-notice {
  color: var(--accentcolor);
  font-size: 14px;
}

.essential {
  background: var(--accentcolor);
  color: var(--white);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 100vh;
  font-weight: normal;
  margin: 0 10px;
  -webkit-border-radius: 100vh;
  -moz-border-radius: 100vh;
  -ms-border-radius: 100vh;
  -o-border-radius: 100vh;
}

.contact-area {
  background: var(--base);
  margin: 100px auto;
  max-width: 1040px;
}

.contact-table {
  width: 100%;
}

.table-list {
  display: flex;
  justify-content: space-between;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
  width: 100%;
  margin-bottom: 40px;
}

.table-list th {
  font-size: 1.6rem;
  color: var(--bk);
  font-weight: bold;
  width: 250px;
  text-align: left;
}

.table-list-address {
  flex-wrap: wrap;
}

.table-list-address .input-area {
  margin-bottom: 10px;
}

.input-area {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
  padding: 0 10px;
  border: none;
  width: 550px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid #c4c4c4;
}

.table-list td {
  font-size: 13px;
  width: calc(100% - 250px);
}

input::placeholder {
  color: #bfbfbf;
  font-size: 12px;
  font-weight: bold;
}

textarea {
  border: none;
  width: 550px;
  height: 200px;
  padding: 0;
  border: 1px solid #c4c4c4;
  resize: vertical; /* 横方向のみサイズを固定する */
}

textarea::placeholder {
  color: #bfbfbf;
  font-size: 12px;
}

input[type="text"] {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.contact-area .text {
  font-size: 13px;
  text-align: center;
  margin-bottom: 100px;
}

.contact-area .text a {
  color: #000;
  border-bottom: 1px solid #000;
  transition: all .3s;
  text-decoration: none;
}

.contact-area .text a:hover {
  border-bottom: 1px solid #777;
  padding-bottom: 5px;
  color: #777;
}

.submit-button {
  box-sizing: border-box;
  position: relative;
  display: block;
  margin: 30px auto 0;
  background-color: var(--bk);
  cursor: pointer;
  border: 1px solid var(--bk);
  font-size: 1.6rem;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  line-height: 1.5;
  outline: none;
  -webkit-transition: all .3s;
  transition: all .5s;
  padding: 20px 100px;
  border-radius: 100vh;
  -webkit-border-radius: 100vh;
  -moz-border-radius: 100vh;
  -ms-border-radius: 100vh;
  -o-border-radius: 100vh;
}

.submit-button:hover {
  background: var(--white);
  color: var(--accentcolor);
  border: 1px solid var(--accentcolor);
}


@media(max-width:1200px) {
  .contact-area {
      width: 80%;
  }
}

@media(max-width:1024px) {
  .table-list th {
      width: 180px;
  }

  .table-list td {
      width: 100%;
  }

  .input-area {
      width: 500px;
      height: 40px;
  }

  textarea {
      width: 500px;
      height: 200px;
  }

  .contact-message {
      margin-bottom: 30px;
  }

  .contact-area .text {
      margin-bottom: 30px;
  }
}


@media(max-width:834px) {
  .contact-area {
      margin: 64px auto;
  }

  .check-box label {
      width: 100%;
  }

  .input-area {
      width: 100%;
      height: 30px;
  }

  textarea {
      width: 100%;
      height: 200px;
  }

  .table-list {
      flex-wrap: wrap;
      margin-bottom: 20px;
  }

  .table-list th {
      font-size: 12px;
      width: 200px;
      margin-bottom: 10px;
  }

  .table-list td {
      font-size: 12px;
  }

  .table-list td {
      width: 100%;
  }

  .contact-message {
      font-size: 13px;
  }

  .contact-area .text {
      font-size: 13px;
  }
}

@media (max-width:640px) {
  .contact-message {
      text-align: center;
  }

  .contact-area .text {
      text-align: left;
  }
}

@media(max-width:320px) {
  .input-area {
      width: 100%;
  }

  textarea {
      width: 100%;
  }
}