/* Theme Name: theme-blog
Author: RyoIwamoto
Desctiption: DemoSite blog theme
Version: 1 */

@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Sacramento&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Caveat&display=swap");

.main-p-table {
  padding: 30px 0 80px 0;
  position: relative;
}
.main-p-table > p {
  text-align: center;
}

@media screen and (max-width: 768px) {
  .main-p-table {
    display: block;
    width: 100%;
  }
}

table {
  /*min-width: 800px;*/
  border-collapse: collapse;
  border-spacing: 0;
}

@media screen and (max-width: 768px) {
  table {
    display: block;
    min-width: 300px;
  }
}

@media screen and (max-width: 900px) {
  tr {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

.require {
  font-size: smaller;
  font-weight: lighter;
  color: red;
}

.require_th {
  text-align: left;
  padding-left: 15px;
  font-size: 17px;
}

@media screen and (max-width: 768px) {
  .require_th {
    display: block;
    max-width: 300px;
  }
}

.length-l {
  width: 85%;
  height: 25px;
  border: 2px solid gray;
  border-radius: 3px;
}

.length-lt {
  resize: none;
  width: 85%;
  height: 120px;
  border: 2px solid gray;
  border-radius: 3px;
}
.length-m {
  width: 50%;
  height: 25px;
  border: 2px solid gray;
  border-radius: 3px;
}

td {
  text-align: left;
  padding-left: 15px;
}

.wpcf7-textarea {
  font-size: 20px;
  padding: 5px;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  th {
    display: block;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  td {
    display: block;
    width: 90%;
  }
}

.submit {
  font-size: 17px;
  font-weight: normal;
  padding: 5px 50px;
  position: absolute;
  top: 450px;
  margin: 0 auto;
  border: 2px solid gray;
  box-sizing: border-box;
  margin-top: 80px;
}

@media screen and (max-width: 768px) {
  .submit {
    position: absolute;
    top: 820px;
    left: 30%;
  }
}

.submit:hover {
  /* box-shadow: 1px 1px 3px gray;
  transform: translate(0, -5px); */
  background-color: #cccccc;
  transition-duration: 0.3s;
}