.mousikomi_m {
  padding: 120px 0 60px 0;
}

.mousikomi_m h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

.mousikomi_m h2 span {
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-green);
}

.mousikomi_m .contents {
  margin-top: 120px;
  padding: 0 40px;
}

.mousikomi_m .contents .alert {
  font-size: 14px;
}

.mousikomi_m .contents form {
  display: flex;
  flex-direction: column;
}

.mousikomi_m .contents table {
  width: 100%;
  margin-top: 40px;
  border: 2px solid var(--color-grey);
  border-collapse: collapse;
}

.mousikomi_m .contents table tr {
  border: 2px solid var(--color-grey);
}

.mousikomi_m .contents table tr th {
  padding: 24px;
  margin: auto;
  background-color: var(--color-blue-light);
  font-weight: 700;
}

.mousikomi_m .contents table tr td {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.mousikomi_m .contents table tr .row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.mousikomi_m .contents table tr td input {
  height: 36px;
  padding: 4px 8px;
  border: 1px solid var(--color-black);
  border-radius: 2px;
}

.mousikomi_m .contents table tr td textarea {
  padding: 4px 8px;
  border: 1px solid var(--color-black);
  border-radius: 2px;
}

.mousikomi_m .contents table tr td .course,
.mousikomi_m .contents table tr td .sex {
  display: flex;
  align-items: center;
}

.mousikomi_m .contents table tr td .course + .course,
.mousikomi_m .contents table tr td .day + .day,
.mousikomi_m .contents table tr td .sex + .sex {
  margin-left: 32px;
}

.mousikomi_m .contents table tr td .m-8 {
  margin-left: 8px;
}

.mousikomi_m .contents table tr td select {
  padding: 4px 8px;
  border: 1px solid var(--color-black);
  border-radius: 2px;
}

.mousikomi_m .contents table tr td input:focus,
.mousikomi_m .contents table tr td textarea:focus {
  border: 1px solid var(--color-blue);
  border-radius: 2px;
}

.mousikomi_m .contents .submit {
  width: 50%;
  margin: 48px auto 0;
  padding: 24px 48px;
  border: none;
  background-color: var(--color-blue);
  color: var(--color-white);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
}

@media screen and (max-width: 480px) {
  .mousikomi_m h2 span {
    padding: 0 16px 4px 16px;
  }

  .mousikomi_m .contents {
    padding: 0 16px;
  }

  .mousikomi_m .contents table tr th,
  .mousikomi_m .contents table tr td {
    display: block;
    width: 100%;
    padding: 16px;
  }

  .mousikomi_m .contents table tr td input[type="text"],
  .mousikomi_m .contents table tr td textarea {
    width: 100%;
  }

  .mousikomi_m .contents table tr .row {
    display: block;
  }

  .mousikomi_m .contents table tr td .course + .course,
  .mousikomi_m .contents table tr td .day + .day,
  .mousikomi_m .contents table tr td .sex + .sex {
    margin: 8px 0 0 0;
  }
}