@charset "UTF-8";
#root {
  color: #000;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background-color: #ededed;
  padding: 10px;
}
#root * {
  outline: 0;
  box-sizing: border-box;
}
#root ul {
  list-style: none;
  padding-left: 0;
}
#root .app {
  max-width: 850px;
  border-radius: 10px;
  background-color: #fff;
  margin: auto;
  padding: 10px;
}
@media (min-width: 660px) {
  #root .app {
    padding: 25px;
  }
}

#head {
  width: 100%;
  margin: 30px auto;
  text-align: center;
}
#head h1 {
  margin-top: 10px;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 32px;
}
@media (min-width: 660px) {
  #head h1 {
    font-size: 2.4rem;
  }
}
#head ul#stepbar {
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 32px;
}
#head ul#stepbar li {
  width: 100%;
  position: relative;
  border: solid 1px #000;
}
@media (min-width: 660px) {
  #head ul#stepbar li {
    width: 20%;
  }
}
#head ul#stepbar li:last-child {
  overflow: hidden;
}
#head ul#stepbar li > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 24px;
  color: #fff100;
  background-color: #000;
  font-size: 75%;
}
#head ul#stepbar li.current > div {
  background-color: #fff100;
}
#head ul#stepbar li.current > div::after {
  content: "";
  display: block;
  position: absolute;
  right: -20px;
  width: 20px;
  height: 100%;
  border-right: none;
  border-left: solid 10px #fff100;
  border-top: solid 12px transparent;
  border-bottom: solid 12px transparent;
  z-index: 10;
}
#head ul#stepbar li.current > div span {
  color: #000;
}

#foot {
  width: 100%;
  font-size: 0.8rem;
}
#foot .copyright {
  text-align: center;
}

#main {
  width: 100%;
}
#main ul.caution {
  list-style: disc;
  margin-left: 1.25rem;
}
#main form {
  width: 100%;
  font-size: 90%;
}
#main form ul[data-grouptitle] {
  padding: 32px 16px 24px 16px;
  position: relative;
  border: solid 1px rgba(0, 0, 0, 0.125);
  border-radius: 4px;
  margin-top: 40px;
}
#main form ul[data-grouptitle]::before {
  content: attr(data-grouptitle);
  position: absolute;
  display: inline-block;
  top: -16px;
  left: 24px;
  padding: 0px 10px;
  font-size: 1.3rem;
  font-weight: bold;
  background-color: #fff;
  font-style: italic;
}
#main form ul[data-grouptitle] > li {
  margin-bottom: 16px;
}
#main form ul[data-grouptitle] > li:last-child {
  margin-bottom: 0px;
}
#main form .fieldlabel {
  font-weight: bold;
  margin-bottom: 4px;
}
#main form .fieldlabel.required::after {
  content: "【必須】";
  color: #f33;
  margin-left: 3px;
  font-size: 0.7rem;
}
#main form .note {
  font-size: 85%;
  margin-bottom: 4px;
  padding-left: 4px;
  border-left: solid 2px rgba(0, 0, 0, 0.125);
}
#main form .note.important {
  font-size: 100%;
  font-weight: bold;
  color: #f33;
}
#main form .feedback input[type=checkbox] {
  display: none;
}
#main form .feedback input[type=checkbox]:checked + div {
  display: none;
}
#main form .feedback div {
  font-size: 90%;
  color: #f33;
  background-color: rgba(255, 51, 51, 0.2);
  padding: 2px 5px;
}
#main form .inputgroup {
  display: flex;
  gap: 2px;
}
#main form textarea,
#main form select,
#main form button,
#main form input:not([type=checkbox]):not([type=radio]) {
  width: 100%;
  padding: 3px 5px;
  margin: 1px 0px;
  border: solid 1px rgba(0, 0, 0, 0.25);
  border-radius: 3px;
}
#main form textarea:invalid,
#main form select:invalid,
#main form button:invalid,
#main form input:not([type=checkbox]):not([type=radio]):invalid {
  background-color: rgba(255, 241, 0, 0.1);
}
#main form textarea:focus,
#main form select:focus,
#main form button:focus,
#main form input:not([type=checkbox]):not([type=radio]):focus {
  /* font-size: 120%; */
}
#main form input[type=checkbox] + label,
#main form input[type=radio] + label {
  margin-right: 0.5rem;
}
#main form input[type=checkbox]#ishousemate:checked ~ input,
#main form input[type=radio]#ishousemate:checked ~ input {
  display: none;
}
#main form input[type=checkbox]#ishousemate:not(:checked) ~ input,
#main form input[type=radio]#ishousemate:not(:checked) ~ input {
  display: block;
}
#main form input[type=checkbox]#relation_other:checked ~ #relation_free,
#main form input[type=radio]#relation_other:checked ~ #relation_free {
  display: block;
}
#main form input[type=checkbox]#relation_other:not(:checked) ~ #relation_free,
#main form input[type=radio]#relation_other:not(:checked) ~ #relation_free {
  display: none;
}
#main form button {
  width: 100%;
  border: none;
  line-height: 2.5rem;
  color: #000;
  background-color: #fff100;
  border: solid 1px rgba(0, 0, 0, 0.25);
}
#main form button:hover {
  background-color: rgba(255, 241, 0, 0.8);
}
#main form:invalid button[type=submit] {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.25);
  cursor: default;
  box-shadow: none;
}
#main form .policy_link,
#main form .terms_link {
  display: block;
}
#main .historyback {
  display: inline-block;
  text-decoration: underline;
  margin-top: 10px;
  cursor: pointer;
}
#main .confirmtable {
  font-size: 87.5%;
  margin-bottom: 24px;
  border-bottom: dashed 1px rgba(0, 0, 0, 0.5);
}
#main .confirmtable table {
  width: 100%;
  border-collapse: collapse;
}
#main .confirmtable table td {
  padding: 16px 0px;
  vertical-align: top;
  border-top: dashed 1px rgba(0, 0, 0, 0.25);
}
#main .confirmtable table td:first-child {
  white-space: nowrap;
}
#main .confirmtable table td img {
  max-width: 100%;
}
#main .confirmtable table td .alert {
  color: #f33;
  background-color: rgba(255, 51, 51, 0.2);
  font-weight: bold;
  padding: 2px;
}
#main .message {
  text-align: center;
  margin: 40px 0px;
}
#main .message .error {
  color: #f33;
}
#main .message .contact {
  font-size: 80%;
}
#main .message .pr {
  -o-object-fit: cover;
     object-fit: cover;
}
#main .message .pr img {
  max-width: 100%;
}
/* チェックボックスと文言の横並び・縦中央揃え */
#main form .checkbox_item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
#main form .checkbox_item input[type="checkbox"] {
  flex-shrink: 0;
  cursor: pointer;
  margin: 0;
}
#main form .checkbox_item label {
  cursor: pointer;
  line-height: 1.4;
  margin: 0;
}
#main form .checkbox_item label .nobrk {
  display: inline-block;
}
/* 学校名と学年グループ */
#main form .inputgroup.school_group {
  gap: 8px;
}

#main form .inputgroup.school_group input[name="entry[school_name]"] {
  flex: 1;
}

/* 学年入力欄と「年」の横並び */
#main form .inputgroup.school_group .year_wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

#main form .inputgroup.school_group .year_wrap input[type="number"] {
  width: 80px;
  text-align: center;
}

#main form .inputgroup.school_group .year_wrap .unit {
  font-size: 0.9rem;
  white-space: nowrap;
}/*# sourceMappingURL=main.css.map */