@media screen and (min-width: 768px) {
  body main.contact article section {
    padding-bottom: 100px;
  }
  body main.contact article section hgroup {
    text-align: center;
  }
  body main.contact article section hgroup h1 {
    color: #E60012;
  }
  body main.contact article section dl.form_item {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 30px;
    font-size: 15px;
  }
  body main.contact article section dl.form_item > dt {
    padding-left: 60px;
    width: 260px;
    box-sizing: border-box;
  }
  body main.contact article section dl.form_item > dt span {
    margin-left: -60px;
    width: 50px;
    height: 30px;
    display: block;
    border-radius: 5px;
    background: #E60012;
    float: left;
    text-align: center;
    line-height: 30px;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
  }
  body main.contact article section dl.form_item > dd {
    width: calc(100% - 270px);
  }
  body main.contact article section .btns {
    margin: 0 auto;
    padding-top: 100px;
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }
  body main.contact article section .btns p.submit.back input[type=submit] {
    background: #ffffff;
    border: 1px solid #000000;
    color: #000000;
  }
  body main.contact article section .btns p.submit input[type=submit] {
    width: 240px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    box-sizing: border-box;
    overflow: hidden;
    background: #E60012;
    line-height: 180%;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
  }
  body main.contact article section.input form {
    display: block;
  }
  body main.contact article section.input form input[type=text],
  body main.contact article section.input form input[type=tel],
  body main.contact article section.input form input[type=email],
  body main.contact article section.input form textarea,
  body main.contact article section.input form select,
  body main.contact article section.input form .scroll {
    padding: 5px 20px;
    width: 100%;
    height: 40px;
    display: block;
    box-sizing: border-box;
    border-radius: 5px;
    background: #F0F0F0;
    overflow: hidden;
  }
  body main.contact article section.input form textarea {
    padding: 20px;
    height: 200px;
    max-height: 200px;
  }
  body main.contact article section.input form select {
    cursor: pointer;
  }
  body main.contact article section.input form .scroll {
    margin-bottom: 30px;
    padding: 20px;
    height: 290px;
    overflow-x: hidden;
    overflow-y: scroll;
  }
  body main.contact article section.input form .scroll p {
    margin-bottom: 30px;
  }
  body main.contact article section.input form .scroll a {
    text-decoration: underline;
  }
  body main.contact article section.input form .scroll a:hover {
    text-decoration: none;
  }
  body main.contact article section.input form .checkbox {
    position: relative;
    overflow: hidden;
  }
  body main.contact article section.input form .checkbox input[type=checkbox] {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: -9999px;
    z-index: 0;
  }
  body main.contact article section.input form .checkbox input[type=checkbox] + label {
    padding: 0 20px 0 40px;
    display: inline-block;
    cursor: pointer;
    position: relative;
  }
  body main.contact article section.input form .checkbox input[type=checkbox] + label span {
    display: block;
  }
  body main.contact article section.input form .checkbox input[type=checkbox] + label span.icon {
    width: 30px;
    height: 30px;
    display: block;
    border-radius: 5px;
    border: 1px solid #E6E6E6;
    box-sizing: border-box;
    background: #FAFAFA;
    position: absolute;
    top: 0;
    left: 0;
  }
  body main.contact article section.input form .checkbox input[type=checkbox] + label span.icon:before {
    content: "";
    width: 23px;
    height: 12px;
    display: block;
    background: url("../image/contact/icon_input_checkbox.svg") no-repeat center center/contain;
    position: absolute;
    top: calc(50% - 6px);
    left: calc(50% - 11.5px);
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transform-origin: bottom center;
    transform-style: preserve-3d;
    transition-property: clip-path;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 0ms;
  }
  body main.contact article section.input form .checkbox input[type=checkbox]:checked + label span.icon:before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  body main.contact article section.input form .error {
    display: block;
    line-height: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #E60012;
  }
  body main.contact article section.complete p.text {
    margin-bottom: 100px;
    text-align: center;
    line-height: 160%;
    font-size: 18px;
  }
  body main.contact article section.complete p.gotop a {
    margin: 0 auto;
    width: 240px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    box-sizing: border-box;
    overflow: hidden;
    background: #E60012;
    line-height: 180%;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
  }
}
@media screen and (max-width: 767px) {
  body main.contact article section {
    padding-bottom: 100px;
  }
  body main.contact article section hgroup {
    padding-top: 15px;
    text-align: center;
  }
  body main.contact article section hgroup h1 {
    margin-bottom: 50px;
    color: #E60012;
  }
  body main.contact article section dl.form_item {
    margin-bottom: 20px;
    line-height: 30px;
    font-size: 15px;
  }
  body main.contact article section dl.form_item > dt {
    margin-bottom: 12px;
    box-sizing: border-box;
    line-height: 20px;
  }
  body main.contact article section dl.form_item > dt span {
    margin-right: 10px;
    width: 30px;
    height: 20px;
    display: block;
    border-radius: 5px;
    background: #E60012;
    float: left;
    text-align: center;
    line-height: 20px;
    font-size: 10px;
    font-weight: 500;
    color: #ffffff;
  }
  body main.contact article section .btns {
    margin: 0 auto;
    padding-top: 50px;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  body main.contact article section .btns p.submit.back input[type=submit] {
    background: #ffffff;
    border: 1px solid #000000;
    color: #000000;
  }
  body main.contact article section .btns p.submit input[type=submit] {
    width: 220px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    box-sizing: border-box;
    overflow: hidden;
    background: #E60012;
    line-height: 180%;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
  }
  body main.contact article section.input form {
    display: block;
  }
  body main.contact article section.input form input[type=text],
  body main.contact article section.input form input[type=tel],
  body main.contact article section.input form input[type=email],
  body main.contact article section.input form textarea,
  body main.contact article section.input form select,
  body main.contact article section.input form .scroll {
    padding: 5px 10px;
    width: 100%;
    height: 40px;
    display: block;
    box-sizing: border-box;
    border-radius: 5px;
    background: #F0F0F0;
    overflow: hidden;
  }
  body main.contact article section.input form textarea {
    padding: 20px;
    height: 200px;
    max-height: 200px;
  }
  body main.contact article section.input form select {
    cursor: pointer;
  }
  body main.contact article section.input form .scroll {
    margin-bottom: 25px;
    padding: 10px;
    height: 320px;
    overflow-x: hidden;
    overflow-y: scroll;
    line-height: 180%;
    font-size: 10px;
  }
  body main.contact article section.input form .scroll p {
    margin-bottom: 18px;
  }
  body main.contact article section.input form .scroll a {
    text-decoration: underline;
  }
  body main.contact article section.input form .scroll a:hover {
    text-decoration: none;
  }
  body main.contact article section.input form .checkbox {
    position: relative;
    overflow: hidden;
  }
  body main.contact article section.input form .checkbox input[type=checkbox] {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: -9999px;
    z-index: 0;
  }
  body main.contact article section.input form .checkbox input[type=checkbox] + label {
    padding: 0 20px 0 40px;
    display: inline-block;
    cursor: pointer;
    position: relative;
  }
  body main.contact article section.input form .checkbox input[type=checkbox] + label span {
    display: block;
  }
  body main.contact article section.input form .checkbox input[type=checkbox] + label span.icon {
    width: 30px;
    height: 30px;
    display: block;
    border-radius: 5px;
    border: 1px solid #E6E6E6;
    box-sizing: border-box;
    background: #FAFAFA;
    position: absolute;
    top: 0;
    left: 0;
  }
  body main.contact article section.input form .checkbox input[type=checkbox] + label span.icon:before {
    content: "";
    width: 23px;
    height: 12px;
    display: block;
    background: url("../image/contact/icon_input_checkbox.svg") no-repeat center center/contain;
    position: absolute;
    top: calc(50% - 6px);
    left: calc(50% - 11.5px);
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transform-origin: bottom center;
    transform-style: preserve-3d;
    transition-property: clip-path;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-delay: 0ms;
  }
  body main.contact article section.input form .checkbox input[type=checkbox]:checked + label span.icon:before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  body main.contact article section.input form .error {
    display: block;
    line-height: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #E60012;
  }
  body main.contact article section.complete p.text {
    margin-bottom: 100px;
    text-align: center;
    line-height: 160%;
    font-size: 18px;
  }
  body main.contact article section.complete p.gotop a {
    margin: 0 auto;
    width: 240px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    box-sizing: border-box;
    overflow: hidden;
    background: #E60012;
    line-height: 180%;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
  }
}