@charset "UTF-8";

.page-main_image.page-present_mv {
  background-image: url("../img/head-contact.jpg");
}
.present {
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
  padding: 6em 0;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.present *,
.present *::before,
.present *::after {
  box-sizing: border-box;
}
.present_intro p + p {
  margin-top: 1.25em;
}
.present_intro p.present_signature {
  margin-top: 4rem;
}
.present_heading {
  margin: 1.75em 0;
  font-size: clamp(1.25rem, 1rem + 0.7vw, 1.625rem);
  font-weight: 600;
  line-height: 1.6;
}
.present_signature {
  text-align: right;
}
.present_form {
  margin-top: 3em;
}
.present .mshoninstyle,
.present .msh-form,
.present .mshoninregists,
.present .msh-table {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}
.present .tcolor001 h2 {
  margin: 0 0 1em;
  padding: 0.75em 1em;
  border-left: 4px solid var(--maincolor);
  background: #fff;
  color: #010101;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
}
.present .tcolor001 table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 1em 0 0;
  background: #fff;
  font: inherit;
}
.present .tcolor001 tbody tr {
  display: table-row;
  margin: 0;
  padding: 0;
}
.present .tcolor001 tbody th,
.present .tcolor001 tbody td {
  display: table-cell;
  padding: 1.5em;
  border: 1px solid #cbcbcb;
  text-align: left;
  vertical-align: middle;
  color: #010101;
  font: inherit;
}
.present .tcolor001 tbody th {
  width: 30%;
  background: #eeeeee;
  font-weight: 600;
}
.present .tcolor001 tbody td {
  width: 70%;
  background: #fff;
}
.present .red {
  color: var(--maincolor);
}
.present .present_names {
  display: flex;
  gap: 1em;
}
.present .present_name {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 0.5em;
}
.present .mshoninregists label {
  float: none;
  width: auto;
  margin: 0;
  text-align: left;
}
.present .present_name label {
  flex-shrink: 0;
  white-space: nowrap;
}
.present .tcolor001 input[type="text"] {
  display: inline-block;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  height: auto;
  padding: 0.75em;
  border: 1px solid #888;
  border-radius: 5px;
  background: #fff;
  color: #010101;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}
.present .present_name input[type="text"] {
  flex: 1 1 0;
}
.present .tcolor001 td > .red {
  display: block;
  margin-top: 0.5em;
  font-size: 0.875rem;
}
.present .tcolor001 .center {
  padding-top: 3em;
  text-align: center;
}
.present .tcolor001 input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  min-height: 48px;
  margin: 0 auto;
  padding: 1em 0.75em;
  border: 1px solid var(--maincolor);
  border-radius: 5px;
  background: var(--maincolor);
  color: #fff;
  font: inherit;
  font-size: clamp(11px, 3vw, 16px);
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  text-shadow: none;
  white-space: normal;
  cursor: pointer;
  transition: filter 0.3s;
}
.present .tcolor001 input[type="submit"]:hover {
  background: var(--maincolor);
  border-color: var(--maincolor);
  filter: brightness(114%);
}
.present input:focus-visible,
.present a:focus-visible {
  outline: 3px solid #165ba8;
  outline-offset: 3px;
}
.present .tcolor001 input[type="text"]:focus {
  border-color: #444;
  outline: none;
  box-shadow: none;
}
.present_notes {
  margin-top: 3em;
  font-size: 0.875rem;
  line-height: 1.8;
}
.present_notes p {
  padding-left: 1em;
  text-indent: -1em;
}
.present_notes p + p {
  margin-top: 0.75em;
}
@media screen and (max-width: 768px) {
  .present {
    padding: 4em 0;
  }
}
@media screen and (max-width: 767px) {
  .present .tcolor001 h2 {
    font-size: 20px;
  }
  .present .tcolor001 input[type="submit"] {
    font-size: clamp(14px, 3vw, 16px);
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .present .tcolor001 table,
  .present .tcolor001 tbody,
  .present .tcolor001 tbody tr,
  .present .tcolor001 tbody th,
  .present .tcolor001 tbody td {
    display: block;
    width: 100%;
  }
  .present .tcolor001 tbody th,
  .present .tcolor001 tbody td {
    padding: 1em;
  }
  .present .tcolor001 tbody td {
    border-top: 0;
  }
  .present .mshoninregists .tcolor001 table tbody tr > th,
  .present .mshoninregists .tcolor001 table tbody tr > td {
    border-radius: 0;
  }
  .present .tcolor001 table {
    border-radius: 0;
  }
  .present .tcolor001 tbody tr + tr {
    margin-top: 0;
  }
  .present .tcolor001 tbody tr + tr > th {
    border-top: 0;
  }
  .present .present_names {
    gap: 0.75em;
  }
  .present .present_name {
    flex-direction: column;
    align-items: stretch;
    gap: 0.375em;
  }
  .present .present_name input[type="text"] {
    flex: 0 0 auto;
    min-width: 100%;
  }
  .present_intro p.present_signature {
    margin-top: 2.5rem;
  }
  .present .tcolor001 .center {
    padding-top: 2em;
  }
  .present_notes {
    margin-top: 2em;
  }
}
