.line_one dl dd {
  line-height: .45rem;
}

.line_one dl dt::after {
  content: " ";
  display: block;
  margin: .25rem 0 0 0;
  width: 40px;
  height: 4px;
  background: #004A96;
}

.line_one .l dl {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.line_one .r img {
  display: block;
  width: 100%;
}

.four_unit {
  display: flex;
  flex-wrap: wrap;
  margin: .75rem 0 0 0 !important;
}

.four_unit li h4 {
  margin: 0 1rem 0 0;
  font-size: 18px;
  white-space: nowrap;
}

.four_unit li div {
  line-height: .4rem;
  font-size: 18px;
}

.four_unit li {
  width: 50%;
}

.four_unit li {
  display: flex;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.four_unit li:nth-child(2),
.four_unit li:nth-child(4) {
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-right: none;
}

.rails_two {
  padding: 1.25rem 0;
  color: #fff;
}

.rails_twobox {
  background-image: url(../image/contact/背景\ \(45\).png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.rails_two .l h4 {
  margin: 0 0 .75rem 0;
}

.rails_two .l div {
  line-height: .5rem;
}

.rails_two .r {
  width: 15%;
}

.rails_two .r a {
  display: block;
  padding: .3125rem 0;
  width: 100%;
  text-align: center;
  color: #004A96 !important;
  background-color: #fff;
}

.rails_two .r a:hover {
  color: #fff !important;
  background-color: #004A96;
  border: 1px solid #fff;
  transition: all 0.6s;
}

.form_box {
  padding: 1rem 0;
  background-color: #F5F8FB;
}

.form_box h4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.form_box h4::after {
  content: " ";
  display: block;
  margin: .25rem 0 .5rem 0;
  width: 40px;
  height: 4px;
  background: #004A96;
}

.line_box input {
  margin: 0 0 .5rem 0;
  padding: .3125rem .5rem;
  width: 45%;
  background-color: #fff;
  border: none;
  outline: none;
  font-size: 16px;
  box-sizing: border-box;
}

.line_box input::placeholder {
  font-size: 16px;
}

.form_box textarea {
  margin: 0 0 .5rem 0;
  padding: .3125rem .5rem;
  box-sizing: border-box;
  outline: none;
  resize: none;
  width: 100%;
  font-size: 16px;
  border: none;
}

.form_box textarea::placeholder {
  font-size: 16px;
}

.form_box button {
  display: block;
  margin: 0 auto;
  padding: .25rem 0;
  width: 20%;
  font-size: 16px;
  color: #fff;
  background: #004A96;
  border: none;
}

.map_box {
  padding: 1rem 0 1.5rem 0;
}

@media screen and (max-width: 1680px) {}

@media screen and (max-width: 1600px) {}

@media screen and (max-width: 1440px) {}

@media screen and (max-width: 1366px) {}

@media screen and (max-width: 1280px) {}

@media screen and (max-width: 1024px) {}

@media screen and (max-width: 980px) {
  .four_unit li div {
    line-height: 1.5;
  }

  .four_unit li {
    padding: 20px;
    width: 100%;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .four_unit li:nth-child(2),
  .four_unit li:nth-child(4) {
    padding: 20px;
  }

  .four_unit {
    flex-wrap: wrap;
  }

  .line_one dl dd {
    line-height: 1.5;
  }

  .rails_two .l div {
    line-height: 1.5;
  }

    .form_box h4::after {
      margin: 10px 0;
    }
}

@media screen and (max-width: 768px) {}

@media screen and (max-width: 640px) {

  .form_box button {
    width: 25%;
  }

  .rails_two .l {
    margin: 0 0 20px 0;
    width: 100%;
  }

  .rails_two {
    flex-wrap: wrap;
  }

  .four_unit li div {
    margin: 15px 0 0 0;
    width: 100%;
  }

  .four_unit li {
    flex-wrap: wrap;
  }

  .line_one .l {
    margin: 0 0 15px 0;
    width: 100%;
  }

  .line_one {
    flex-wrap: wrap;
  }

    .line_one dl dt::after {
      margin: 10px 0;
    }

            .line_one .r {
              margin: 0 auto;
            }

                        .rails_two .r {
                          width: 25%;
                        }
}

@media screen and (max-width: 375px) {}