@charset "UTF-8";

.main-section a {
  color: #176db6;
}
.main-section a:hover {
  opacity: .6;
}

.section-header h2 {
  font-size: 34px;
  text-align: center;
}
.text-notice {
  margin-top: 2em;
}

.section-text-content, .form-inner {
  margin: 55px auto 0;
  padding: 0 10px;
  max-width: 625px;
  font-size: 16px;
}

.form {
  margin-top: 150px;
}
.form-select {
  padding-bottom: 130px;
  border-bottom: 2px solid #176db6;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.form-inner {
  margin-top: -80px;
}

.inquiry-type {
  display: flex;
  justify-content: space-between;
}
.inquiry-type-item {
  display: none;
}
.inquiry-type-item + label {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: #176db6;
  width: 48%;
  max-width: 280px;
  height: 60px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  transition: .3s;
  cursor: pointer;
}
.inquiry-type-item:disabled + label {
  cursor: default;
}
.inquiry-type-item:checked + label {
  height: 80px;
  background-color: #fff;
  color: #176db6;
  border: 2px solid #176db6;
  border-bottom: 2px solid #fff;
  border-radius: 6px 6px 0 0;
  cursor: default;
}
#dispmsg {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  padding: 18px 0;
  min-height: 175px;
  transition: .5s;
}
#dispmsg.error {
  border: 2px solid #ec0000;
  border-radius: 6px;
  color: #ec0000;
}
#dispmsg p {
  width: 100%;
  text-align: center;
}
#dispmsg .default-button a {
  margin-top: 20px;
}
#dispmsg .reload {
  margin-top: 20px;
  text-align: right;
  font-size: 12px;
}
#dispmsg .reload a {
  color: #176db6;
}
.inquiry-list {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.inquiry-list > *:nth-child(n+5) {
  margin-top: 32px;
}
.inquiry-category {
  padding-top: 14px;
  width: 200px;
}
.inquiry-category.required::after {
  content: '必須';
  display: inline-block;
  margin-top: 1px;
  margin-left: 4px;
  font-size: 12px;
  color: #ec0000;
}
.inquiry-input {
  width: calc(100% - 200px);
}
.attach [type="file"] {
  margin: 14px 0;
}
.default-input {
  padding-left: 30px;
  border: 1px solid #c0c0c0;
  width: 100%;
  height: 60px;
  box-sizing: border-box;
}
.default-input::placeholder {
  color: #c0c0c0;
}
select.default-input {
  background: url(../images/inquiry/select.svg) no-repeat;
  background-size: 33px 33px;
  background-position: calc(100% - 10px) center;
}
textarea.default-input {
  padding: 17px 30px;
  height: 300px;
}
[name="submit"] {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px auto 0;
  width: 240px;
  height: 60px;
  background: #000;
  color: #fff;
  transition: .3s opacity;
}
[name="submit"]:hover {
  opacity: .6;
  cursor: pointer;
}
.checking {
  overflow: hidden;
}
.form-check {
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: .3s opacity, .3s background;
}
.checking .form-check {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  min-width: 320px;
  height: 100vh;
  background: rgba(0,0,0,.7);
  opacity: 1;
  overflow-x: scroll;
  z-index: 9999;
}
.checking .check-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 20px 0;
  padding: 0 20px;
  width:90%;
  max-width: 640px;
  background: #fff;
}
.checking .check-inner .notice {
  padding: 20px 0;
  width: 100%;
  color: #176db6;
  text-align: center;
}
.checking .check-inner .notice span {
  display: inline-block;
}
.checking .check-list {
  max-height: 60vh;
  overflow-y: scroll;
}
.checking .check-list .mincho {
  margin-top: 24px;
  width: 100%;
  font-size: 24px;
  text-align: center;
}
.checking .check-list > dl {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 10px 0 0;
  max-width: 500px;
}
.checking .check-list > dl > dt {
  padding-right: 20px;
  width: 200px;
}
.checking .check-list > dl > dd {
  width: calc(100% - 200px);
}
.checking .check-inner .inquiry-list {
  margin: 0;
  padding: 32px 40px 32px;
}
.checking .check-list > dl > *:nth-child(n+3) {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #c0c0c0;
}
.checking .submit {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  background-color: #fff;
  max-width: 640px;
}
.checking .submit input[name="submit2"], .checking .return {
  padding: 8px 0;
  border: 2px solid #000;
  width:100%;
  max-width: 200px;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  transition: .3s opacity;
}
.checking .submit input[name="submit2"] {
  margin-left: 10px;
  background-color: #000;
  color: #fff;
}
.checking .return {
  margin-right: 10px;
  background-color: #fff;
  color: #000;
}
.checking .submit input[name="submit2"]:hover, .checking .return:hover {
  opacity: .6;
}
@media all and (max-width: 599px) {
  .main-copy-ttl {
    letter-spacing: -1px;
    white-space: nowrap;
  }
  .main-section {
    margin-top: 0;
  }
  .section-header h2 {
    padding: 20px;
    font-size: 20px;
  }
  .section-header h2 span {
    display: inline-block;
  }
  .section-text-content, .form-inner {
    padding: 0 33px;
    margin-top: 30px;
    font-size: 15px;
    line-height: 1.75;
  }
  .text-notice {
    font-size: 13px;
  }

  .form {
    margin-top: 55px;
  }
  .form-select {
    padding-bottom: 90px;
    font-size: 15px;
  }
  .form-inner {
    margin-top: -70px;
  }
  .inquiry-type-item:checked + label {
    height: 70px;
  }
  .inquiry-type-item + label {
    flex-direction: column;
    height: 56px;
    font-size: 16px;
    padding: 0 10px;
    line-height: 1.4;
  }
  #dispmsg {
    margin: 10px auto;
    padding: 10px 16px;
    min-height: auto;
  }
  .inquiry-list {
    flex-direction: column;
  }
  .inquiry-category {
    padding-top: 0;
    width: 100%;
  }
  .inquiry-input {
    padding-top: 0;
    width: 100%;
  }
  .default-input {
    padding-left: 10px;
    height: 48px;
    font-size: 16px;
  }
  .inquiry-list > *:nth-child(n+5) {
    margin-top: 0;
  }
  .inquiry-list dd:nth-child(n+3) + dt {
    margin-top: 10px!important;
  }

  select.default-input {
    background-size: 24px 24px;
    background-position: calc(100% - 10px) 13px;
  }
  textarea.default-input {
    padding: 12px 10px;
    height: 178px;
  }
  [name="submit"] {
    margin-top: 30px;
    width: 180px;
    height: 43px;
  }
  .checking .check-inner .notice {
    padding: 15px 0;
    font-size: 13px;
  }
  .checking .check-inner .mincho {
    margin-top: 9px;
    font-size: 18px;
  }
  .checking .check-list > dl > dt {
    width: 100%;
    font-size: 13px;
    color: #888;
  }
  .checking .check-list > dl > dt::after {
    content: '：';
  }
  .checking .check-list > dl > dd {
    width: 100%;
  }
  .checking .check-list > dl > *:nth-child(n+3) {
    border-top: none;
  }
  .checking .check-list > dl > *:nth-child(n+3) {
    margin-top: 0;
    padding-top: 0;
  }
  .checking .check-list > dl > dd + dt {
    margin-top: 8px!important;
    padding-top: 8px!important;
    border-top: 1px solid #c0c0c0!important;
  }
  .checking .submit {
    padding: 15px 0;
  }
  .checking .submit input[name="submit2"], .checking .return {
    font-size: 15px;
  }
}
