/*---------------------------------------------
    common
---------------------------------------------*/
/*---------------------------------------------
    main img
  ---------------------------------------------*/
.mv {
  align-items: center;
  background: url(../images/mv_contact.jpg) no-repeat;
  background-position: bottom;
  background-size: cover;
  display: flex;
  height: 400px;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  width: 100%;
}
@media screen and (max-width: 820px) {
  .mv {
    height: 180px;
  }
}
.mv .page-title {
  background: rgba(0, 82, 165, 0.65);
  color: #fff;
  display: inline-block;
  font-size: 3.6rem;
  padding: 2px 50px 0;
}
@media screen and (max-width: 820px) {
  .mv .page-title {
    font-size: 2.4rem;
  }
}

/*---------------------------------------------
    main
---------------------------------------------*/
#main {
  background: #d9e2f3;
  padding-bottom: 40px;
}

/*---------------------------------------------
    contact
---------------------------------------------*/
.contact {
  margin: 0 auto;
  max-width: 780px;
  padding-bottom: 16px;
  padding-top: 40px;
  width: 86%;
}
.contact .section-ttl {
  margin-bottom: 16px;
}
.contact .inner {
  margin: 0 auto;
}
.contact .inner .txt {
  margin-bottom: 16px;
}
.contact .inner dl {
  margin-bottom: 0;
}
.contact .inner dl.col1 {
  width: 100%;
}
.contact .inner dl.col2 {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.contact .inner dl.col2 dt {
  width: 20%;
}
.contact .inner dl.col2 dd {
  position: relative;
  width: calc(80% - 16px);
}
.contact .inner dl.col2 dd input, .contact .inner dl.col2 dd textarea {
  border: #0073bd solid 2px;
}
.contact .inner dl.col2 dd input[type=text], .contact .inner dl.col2 dd textarea {
  border-radius: 6px;
  padding: 8px;
  width: 100%;
}
.contact .inner dl dt {
  background: #0073bd;
  color: #fff;
  padding: 4px 0;
  text-align: center;
}
.contact .inner dl dt .req {
  font-size: 1.2rem;
}
.contact .inner dl dd ul {
  display: flex;
  flex-wrap: wrap;
  padding: 16px;
}
.contact .inner dl dd ul li {
  margin-bottom: 8px;
  width: 50%;
}
@media screen and (min-width: 821px) {
  .contact .inner dl dd ul li {
    width: 33.3333333333%;
  }
}
.contact .inner dl dd .note {
  bottom: -16px;
  color: #595757;
  display: block;
  font-size: 1rem;
  left: 0;
  position: absolute;
}
.contact .inner p.note {
  background: #e83828;
  color: #fff;
  margin: 0 auto 16px;
  max-width: 360px;
  padding: 8px;
  text-align: center;
}
.contact .inner .consent {
  margin-bottom: 24px;
  text-align: center;
}
.contact .inner input[type=submit],
.contact .inner button {
  background: #fff;
  border: #e83828 solid 2px;
  border-radius: 6px;
  color: #e83828;
  display: block;
  font-weight: bold;
  margin: 0 auto;
  padding: 8px;
  width: 240px;
}
.contact .inner input[type=submit]:disabled {
  cursor: default;
}

.modal:target {
  opacity: 1;
  scale: 1;
  transition: opacity 0.5s;
}

.close {
  color: black;
  cursor: pointer;
  font-size: 24px;
  position: absolute;
  right: 20px;
  text-decoration: none;
  top: 20px;
  transform: translate(50%, -50%);
}

.modal-window {
  background-color: #fff;
  border-radius: 5px;
  display: none;
  height: 60vh;
  left: 50%;
  overflow: auto;
  padding: 40px 24px;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  z-index: 11;
}

.modal-open {
  cursor: pointer;
  text-decoration: underline;
}
.modal-open:hover {
  text-decoration: none;
}

.modal-content .title {
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  line-height: 1.2em;
  margin-bottom: 16px;
}
.modal-content .txt {
  margin-bottom: 1em;
}
.modal-content dt {
  font-weight: bold;
}
.modal-content dd {
  margin-bottom: 1em;
}
.modal-content dd .contact_box {
  margin-bottom: 1em;
  margin-top: 1em;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.modal-window .button-close {
  align-items: center;
  background-color: #0167AD;
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  margin: 0 auto;
  width: 148px;
}

.section-ttl {
  color: #0073bd;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 16px;
  position: relative;
  text-align: center;
}
@media screen and (min-width: 821px) {
  .section-ttl {
    font-size: 3.6rem;
  }
}

.btn {
  text-decoration: underline;
}

.formTable {
  margin: 0 auto 40px;
  max-width: 580px;
  width: 100%;
}
.formTable tr {
  border-bottom: 1px solid #0073bd;
}
.formTable tr:first-child {
  border-top: 1px solid #0073bd;
}
.formTable tr th {
  padding: 4px 8px;
}
.formTable tr td {
  padding: 4px 8px;
}

.button-wrap {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.button-wrap button {
  margin: 0 !important;
}
.button-wrap button[type=button] {
  background: #e83828;
  color: #fff;
}