h2#cate,
h2#sub {
  display: none;
}

.school-area h5 {
  font-size: 26px;
  font-weight: bold;
  position: relative;
  line-height: 1.5;
  letter-spacing: 0.2em;
  margin: 60px 0 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  font-family: var(--inter);
}
@media screen and (max-width: 767px) {
  .school-area h5 {
    margin: 40px 0 15px;
    font-size: 18px;
  }
}
.school-area table {
  width: 100%;
  margin: 60px 0 30px;
}
@media screen and (max-width: 767px) {
  .school-area table {
    margin-top: 40px;
  }
}
.school-area table h5 {
  margin-bottom: 0 !important;
}
.school-area table th font,
.school-area table td font {
  display: block;
  margin-top: 15px;
  font-size: 15px;
}

.necessary {
  color: var(--red);
  font-size: 12px;
  padding-left: 3px;
}

#mailform {
  background: var(--white);
  padding: 40px 40px 10px;
  margin-bottom: 40px;
}
@media screen and (max-width: 900px) {
  #mailform {
    padding: 30px 2% 10px 5%;
  }
}
@media screen and (max-width: 767px) {
  #mailform {
    padding: 30px 5% 10px;
  }
}
#mailform dl {
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 767px) {
  #mailform dl {
    display: block;
  }
}
#mailform dl dt {
  width: 230px;
  margin-bottom: 30px;
  font-weight: bold;
  font-size: 16px;
  padding-top: 10px;
  letter-spacing: 0;
}
@media screen and (max-width: 767px) {
  #mailform dl dt {
    width: 100%;
    margin-bottom: 5px;
    padding-top: 0;
  }
}
#mailform dl dd {
  width: calc(100% - 230px);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 10px;
  font-size: 15px;
}
@media screen and (max-width: 767px) {
  #mailform dl dd {
    margin-bottom: 25px;
    width: 100%;
    font-size: 14px;
  }
}
#mailform dl dd:has(input[type=radio]) {
  gap: 0 2px;
}
#mailform dl dd input[type=submit] {
  cursor: pointer;
  margin: 0 10px;
  appearance: auto;
  user-select: none;
  align-items: flex-start;
  text-align: center;
  box-sizing: border-box;
  background-color: buttonface;
  color: buttontext;
  white-space: pre;
  padding-block: 1px;
  padding-inline: 6px;
  border-width: 1px;
  border-style: outset;
  border-color: buttonborder;
  border-image: initial;
  font-weight: normal;
  font-size: 13px;
  background: #efefef;
  border-radius: 3px;
}
@media screen and (max-width: 520px) {
  #mailform dl dd input[type=submit] {
    width: 50%;
    margin: 20px 0 0;
  }
}
#mailform dl dd div {
  width: 100%;
}
#mailform dl dd div.mb20 {
  margin: 5px 0 20px;
}
#mailform dl dd input[type=text],
#mailform dl dd input[type=tel],
#mailform dl dd input[type=number],
#mailform dl dd input[type=email] {
  position: relative;
  width: 75%;
  height: 45px;
  background-color: #f7f7f7;
  padding: 5px 15px;
  font-size: 16px;
  font-family: var(--noto-sans);
}
@media screen and (max-width: 767px) {
  #mailform dl dd input[type=text],
  #mailform dl dd input[type=tel],
  #mailform dl dd input[type=number],
  #mailform dl dd input[type=email] {
    width: 100%;
    height: 40px;
  }
}
#mailform dl dd .ime_off {
  width: 100px !important;
}
@media screen and (max-width: 767px) {
  #mailform dl dd .ime_off {
    width: 82px !important;
  }
}
#mailform dl dd select {
  height: 45px;
  background-color: #f7f7f7;
  -webkit-appearance: auto !important;
  appearance: auto !important;
  cursor: pointer;
  padding: 5px 10px;
}
@media screen and (max-width: 767px) {
  #mailform dl dd select {
    height: 40px;
  }
}
#mailform dl dd input[type=checkbox] {
  position: relative;
  width: 15px;
  height: 15px;
  border: 1px solid #333;
  padding: 0;
  margin-right: 3px;
  background: transparent;
  margin-bottom: 2px;
  cursor: pointer;
}
#mailform dl dd input[type=checkbox]:checked:before {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  transform: rotate(45deg);
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}
#mailform dl dd input[name=k_company],
#mailform dl dd input[name=k_factory],
#mailform dl dd input[name=k_address1],
#mailform dl dd input[name=k_address2],
#mailform dl dd input[name=email],
#mailform dl dd input[name=chkemail],
#mailform dl dd input[name=k_email],
#mailform dl dd input[name=k_chkemail] {
  width: 75% !important;
}
@media screen and (max-width: 767px) {
  #mailform dl dd input[name=k_company],
  #mailform dl dd input[name=k_factory],
  #mailform dl dd input[name=k_address1],
  #mailform dl dd input[name=k_address2],
  #mailform dl dd input[name=email],
  #mailform dl dd input[name=chkemail],
  #mailform dl dd input[name=k_email],
  #mailform dl dd input[name=k_chkemail] {
    width: 100% !important;
  }
}
#mailform dl dd input[name=email],
#mailform dl dd input[name=k_email] {
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  #mailform dl dd input[name=email],
  #mailform dl dd input[name=k_email] {
    margin-bottom: 15px;
  }
}
#mailform dl dd input[type=radio] {
  cursor: pointer;
  border: 1px solid #999;
  margin-right: 5px;
  border-radius: 100%;
  padding: 8px;
  position: relative;
  width: 10px;
  height: 10px;
}
#mailform dl dd input[type=radio]:checked:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 10px;
  height: 10px;
  background-color: var(--red);
  border-radius: 100%;
}

div.small {
  font-size: 14px;
}
@media screen and (max-width: 767px) {
  div.small {
    font-size: 13px;
  }
}

h3.subt.first {
  margin-top: 0 !important;
  font-size: 32px;
  font-weight: bold;
  position: relative;
  line-height: 1.5;
  letter-spacing: 0.2em;
  margin: 60px 0;
  font-family: var(--inter);
}
@media screen and (max-width: 767px) {
  h3.subt.first {
    font-size: 22px;
    letter-spacing: 0.15em;
    margin: 40px 0;
  }
}
h3.subt.first:after {
  content: "";
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  width: 60px;
  height: 8px;
  background-color: var(--red);
}
@media screen and (max-width: 767px) {
  h3.subt.first:after {
    top: calc(100% + 10px);
    width: 2.1em;
    height: 6px;
    left: 2px;
  }
}
h3.subt.last {
  font-size: 26px;
  font-weight: bold;
  position: relative;
  line-height: 1.5;
  letter-spacing: 0.2em;
  margin: 60px 0 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
  font-family: var(--inter);
}
@media screen and (max-width: 767px) {
  h3.subt.last {
    margin: 40px 0 15px;
    font-size: 18px;
  }
}

#std2m h5,
#std3m h5,
#std4m h5,
#std5m h5 {
  position: relative;
  font-size: 110%;
  font-weight: bold;
  padding-bottom: 2px;
  padding-top: 2px;
  padding-left: 15px;
  clear: both;
  border-left-width: 4px;
  border-left-style: solid;
  border-left-color: var(--line) ccc;
  margin-top: 20px;
  margin-right: 30px;
  margin-bottom: 10px;
  border-bottom: none;
  letter-spacing: 1px;
}

input[type=button] {
  margin: 0 10px;
  appearance: auto;
  user-select: none;
  align-items: flex-start;
  text-align: center;
  box-sizing: border-box;
  background-color: buttonface;
  color: buttontext;
  white-space: pre;
  padding-block: 1px;
  padding-inline: 6px;
  border-width: 1px;
  border-style: outset;
  border-color: buttonborder;
  border-image: initial;
  font-weight: normal;
  font-size: 13px;
  background: #efefef;
  border-radius: 3px;
}

.form_btn {
  display: flex;
  justify-content: center;
  gap: 0 20px;
}
@media screen and (max-width: 767px) {
  .form_btn {
    gap: 0;
    flex-direction: column;
  }
}
.form_btn input[type=submit],
.form_btn input[type=reset] {
  width: 260px;
  height: 60px;
  background-color: var(--white);
  border-radius: 6px;
  color: var(--red) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  line-height: 1.5;
  box-shadow: 0 0 12px #bbb;
  transition: box-shadow 0.3s;
  position: relative;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.3;
  position: relative;
  text-align: center !important;
}
@media screen and (max-width: 767px) {
  .form_btn input[type=submit],
  .form_btn input[type=reset] {
    width: 230px;
    margin: 0 auto;
    font-size: 16px;
  }
}
.form_btn input[type=submit]:after,
.form_btn input[type=reset]:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  left: auto;
  bottom: auto;
  translate: 0 -50%;
  vertical-align: middle;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--red);
  border-right: 1px solid var(--red);
  transform: rotate(45deg);
  transition: right 0.15s linear;
}
@media (hover) {
  .form_btn input[type=submit]:hover,
  .form_btn input[type=reset]:hover {
    box-shadow: 0 0 3px #bbb;
  }
  .form_btn input[type=submit]:hover:after,
  .form_btn input[type=reset]:hover:after {
    right: 15px;
  }
}

.ssl_left {
  float: none;
  width: 100% !important;
  line-height: 1.8;
}
@media screen and (max-width: 767px) {
  .ssl_left {
    font-size: 15px;
  }
}
.ssl_left a {
  color: var(--red);
  position: relative;
  transition: opacity 0.3s;
}
.ssl_left a:after {
  content: "";
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--red);
  transition: opacity 0.1s linear, top 0.05s;
  pointer-events: none;
}
@media (hover) {
  .ssl_left a:hover {
    opacity: 0.8;
  }
  .ssl_left a:hover:after {
    opacity: 0;
    top: calc(100% + 4px);
  }
}

h5.thanks1-1 {
  border: none;
  font-size: 16px;
  font-weight: normal;
  margin: 0;
  padding: 0;
  margin-bottom: 30px;
  font-weight: bold;
}
h5.thanks1-1 font {
  color: var(--red) !important;
}
@media screen and (max-width: 767px) {
  h5.thanks1-1 {
    font-size: 15px;
  }
}

h5.thanks1-2 {
  border: none;
  font-size: 16px;
  font-weight: normal;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 767px) {
  h5.thanks1-2 {
    font-size: 15px;
  }
}

h5.thanks1-3 {
  border: none;
  font-size: 16px;
  font-weight: normal;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 767px) {
  h5.thanks1-3 {
    font-size: 15px;
  }
}

h5.thanks2-1 {
  border: none;
  font-size: 16px;
  font-weight: normal;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 767px) {
  h5.thanks2-1 {
    font-size: 15px;
  }
}

h5.thanks2-2 {
  border: none;
  font-size: 16px;
  font-weight: normal;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 767px) {
  h5.thanks2-2 {
    font-size: 15px;
  }
}

.ttl-privacy.subt.first {
  margin: 60px 0 !important;
}
@media screen and (max-width: 767px) {
  .ttl-privacy.subt.first {
    margin: 40px 0 !important;
  }
}
.ttl-privacy.subt.first:after {
  content: "";
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  width: 60px;
  height: 8px;
  background-color: var(--red);
}
@media screen and (max-width: 767px) {
  .ttl-privacy.subt.first:after {
    top: calc(100% + 10px);
    width: 2.1em;
    height: 6px;
    left: 2px;
  }
}

.conte-privacy {
  padding: 0 !important;
  background-color: transparent !important;
}

form .conte {
  padding: 0 !important;
  background-color: transparent !important;
}