@keyframes slide1 {
  0% {
    transform: translateX(100%)
  }

  to {
    transform: translateX(-100%)
  }
}

@keyframes slide2 {
  0% {
    transform: translateX(0)
  }

  to {
    transform: translateX(-200%)
  }
}

@keyframes AnimationTitle {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

input,
select,
textarea {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif
}

.ad-form .black {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 20
}

.ad-form .black.dis {
  display: block
}

.ad-form .sotuList {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  position: fixed;
  z-index: 21;
  width: 800px;
  height: 400px;
  padding: 30px;
  background-color: #FFF;
  border-radius: 20px
}

@media screen and (max-width: 840px) {
  .ad-form .sotuList {
    width: 90%;
    height: 300px
  }
}

.ad-form .sotuList.dis {
  display: block
}

.ad-form .sotuList .close {
  cursor: pointer;
  position: absolute;
  width: 50px;
  height: 50px;
  top: -20px;
  right: -20px;
  background-color: #FFF;
  border-radius: 50%
}

.ad-form .sotuList .close:before,
.ad-form .sotuList .close:after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  width: 30px;
  height: 2px;
  background-color: #676767;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  -moz-transform: translate(-50%, -50%) rotate(45deg);
  -ms-transform: translate(-50%, -50%) rotate(45deg);
  -o-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg)
}

.ad-form .sotuList .close:after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  -moz-transform: translate(-50%, -50%) rotate(-45deg);
  -ms-transform: translate(-50%, -50%) rotate(-45deg);
  -o-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg)
}

.ad-form .list {
  height: 100%;
  overflow-y: scroll
}

.ad-form .list .flexBox {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid #c9c9c9
}

.ad-form .list .flexBox:first-child {
  border-top: 1px solid #c9c9c9
}

.ad-form .list .flexBox:nth-child(2n) {
  background-color: #f6f6f6
}

@media screen and (max-width: 767px) {
  .ad-form .list .flexBox:nth-child(2n) {
    background-color: #FFF
  }
}

.ad-form .list .flexBox .inBox {
  width: 50%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap
}

.ad-form .list .flexBox .inBox:hover,
.ad-form .list .flexBox .inBox:active {
  background-color: #FFFBE9 !important
}

@media screen and (max-width: 767px) {
  .ad-form .list .flexBox .inBox {
    width: 100%
  }

  .ad-form .list .flexBox .inBox:first-child {
    border-bottom: 1px solid #c9c9c9;
    background-color: #f6f6f6
  }
}

@media screen and (max-width: 767px) {
  .ad-form .list .flexBox .inBox.fis {
    background-color: #FFF;
    border-bottom: none
  }
}

@media screen and (max-width: 767px) {
  .ad-form .list .flexBox .inBox.dis {
    display: none
  }
}

.ad-form .list .flexBox .inBox .lBox {
  width: 60%;
  text-align: center;
  padding: 10px 0
}

.ad-form .list .flexBox .inBox .rBox {
  width: 40%;
  text-align: center;
  padding: 10px 0
}

.ad-form #content {
  padding: 0 0 100px
}

.ad-form #content .inner {
  max-width: 980px
}

.ad-form #content .contactBox p {
  text-align: center;
  padding: 0 0 0.5em;
  line-height: 200%
}

@media screen and (max-width: 520px) {
  .ad-form #content .contactBox p {
    text-align: left;
    font-size: 14px
  }

  .ad-form #content .contactBox p br {
    display: none
  }
}

.ad-form #content .contactBox p.tx {
  padding: 1em 0
}

.ad-form #content .contactBox p.tx span {
  background-color: #bd4132;
  color: #FFF;
  font-size: 12px;
  border-radius: 5px;
  padding: 3px 5px;
  margin: 0 5px 0 0
}

.ad-form #content .contactBox p.link a {
  color: #123e79;
  text-decoration: underline
}

.ad-form #content .contactBox p.link a:hover {
  text-decoration: none
}

.ad-form #content .form {
  padding: 50px 0 0 0
}

.ad-form #content .formBox {
  padding: 60px 0 0 0
}

@media screen and (max-width: 520px) {
  .ad-form #content .formBox {
    padding: 20px 0px 0
  }
}

@media screen and (max-width: 520px) {
  .ad-form #content .formBox .inner {
    padding: 0
  }
}

.ad-form #content .wpcf7-response-output {
  display: none
}

.ad-form #content input,
.ad-form #content select,
.ad-form #content textarea {
  padding: 3px
}

.ad-form #content input:focus,
.ad-form #content select:focus,
.ad-form #content textarea:focus {
  outline: none
}

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

  .ad-form #content input,
  .ad-form #content select,
  .ad-form #content textarea {
    width: 100%
  }
}

.ad-form #content input.title,
.ad-form #content select.title,
.ad-form #content textarea.title {
  display: none
}

.ad-form #content input[type="text"],
.ad-form #content input[type="number"],
.ad-form #content input[type="email"],
.ad-form #content input[type="date"],
.ad-form #content input[type="tel"],
.ad-form #content textarea,
.ad-form #content select {
  border: 1px solid #dbdbdb;
  background-color: #FFF;
  border-radius: 5px;
  padding: 10px;
  width: 100%;
  -webkit-appearance: none
}

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

  .ad-form #content input[type="text"],
  .ad-form #content input[type="number"],
  .ad-form #content input[type="email"],
  .ad-form #content input[type="date"],
  .ad-form #content input[type="tel"],
  .ad-form #content textarea,
  .ad-form #content select {
    width: 100%;
    font-size: 12px
  }
}

.ad-form #content input[type="date"] {
  min-height: 38px;
  text-align: left
}

.ad-form #content input[type="number"] {
  -webkit-appearance: none;
  width: 100px;
  text-align: center
}

.ad-form #content textarea {
  width: 100%
}

@media screen and (max-width: 1024px) {
  .ad-form #content textarea {
    width: 100%
  }
}

.ad-form #content textarea.comment,
.ad-form #content textarea.mokuteki,
.ad-form #content textarea.yosan,
.ad-form #content textarea.sankou_site,
.ad-form #content textarea.soudan,
.ad-form #content textarea.kadai {
  max-height: 120px
}

@media screen and (max-width: 520px) {
  .ad-form #content .postcode {
    width: 30% !important
  }
}

.ad-form #content .flexBox {
  flex-wrap: nowrap
}

@media screen and (max-width: 767px) {
  .ad-form #content .flexBox {
    flex-wrap: wrap
  }
}

.ad-form #content .flexBox .in {
  width: 25%
}

@media screen and (max-width: 767px) {
  .ad-form #content .flexBox .in {
    width: 100%;
    padding: 5px 0
  }

  .ad-form #content .flexBox .in p {
    width: 100%
  }
}

.ad-form #content .flexBox .in:first-child p span {
  width: 70%
}

.ad-form #content .flexBox .in:nth-child(2) {
  width: 45%
}

@media screen and (max-width: 767px) {
  .ad-form #content .flexBox .in:nth-child(2) {
    width: 100%
  }
}

.ad-form #content .flexBox .in:nth-child(3) {
  width: 35%
}

@media screen and (max-width: 767px) {
  .ad-form #content .flexBox .in:nth-child(3) {
    width: 100%
  }
}

.ad-form #content .flexBox .in:nth-child(3) p {
  display: block
}

.ad-form #content .flexBox .in:nth-child(3) p span {
  cursor: pointer;
  color: #123e79;
  text-decoration: underline
}

.ad-form #content .flexBox .in p {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  gap: 0 10px
}

@media screen and (max-width: 767px) {
  .ad-form #content .flexBox .in p {
    flex-wrap: wrap
  }
}

.ad-form #content .flexBox .in p span {
  width: 50%
}

@media screen and (max-width: 767px) {
  .ad-form #content .flexBox .in p span {
    width: 70%
  }
}

.ad-form #content .flexBox .in p span.wpcf7-not-valid-tip {
  width: 200px !important
}

.ad-form #content .flexBox .in p span.tx {
  width: auto
}

@media screen and (max-width: 767px) {
  .ad-form #content .flexBox .in p span.tx {
    width: 100%;
    padding: 0 0 10px
  }
}

.ad-form #content .flexBox .in p span input {
  width: 100%
}

.ad-form #content input[type="radio"] {
  width: auto;
  margin: 0 5px 0 0
}

.ad-form #content input[type="checkbox"] {
  display: inline-block;
  width: auto;
  margin: 0 !important;
  width: 20px;
  height: 20px;
  top: 5px;
  position: relative
}

.ad-form #content label {
  margin: 0 10px 0 0
}

@media screen and (max-width: 520px) {
  .ad-form #content label {
    margin: 0
  }
}

.ad-form #content .hissu,
.ad-form #content .nini {
  border-radius: 5px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transform: translate(0%, -50%);
  -moz-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  -o-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  left: auto;
  width: auto;
  right: 10px;
  padding: 0px 10px;
  line-height: 180%;
  color: #FFF;
  font-size: 12px;
  background-color: #bd4132
}

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

  .ad-form #content .hissu,
  .ad-form #content .nini {
    right: auto;
    position: relative;
    top: auto;
    left: auto;
    -webkit-transform: translate(0%, 0%);
    -moz-transform: translate(0%, 0%);
    -ms-transform: translate(0%, 0%);
    -o-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
    margin: 0 0 0 5px
  }
}

.ad-form #content .nini {
  background-color: #04837D
}

@media screen and (max-width: 1240px) {
  .ad-form #content .form {
    padding: 0 20px
  }
}

@media screen and (max-width: 520px) {
  .ad-form #content .form {
    padding: 0
  }
}

.ad-form #content table {
  margin: 0 auto 50px;
  border: none;
  width: 100%
}

@media screen and (max-width: 1260px) {
  .ad-form #content table {
    width: 100%
  }
}

@media screen and (max-width: 767px) {
  .ad-form #content table {
    margin-bottom: 0
  }
}

.ad-form #content table th {
  text-align: left;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  width: 25%;
  background-color: #FFF;
  border: none
}

@media screen and (max-width: 1110px) {
  .ad-form #content table th {
    width: 30%
  }
}

@media screen and (max-width: 768px) {
  .ad-form #content table th {
    width: 100%;
    border-bottom: none;
    padding: 20px 10px 0 0px
  }

  .ad-form #content table th p {
    font-size: 14px !important
  }

  .ad-form #content table th p br {
    display: none
  }
}

.ad-form #content table td {
  font-size: 16px;
  width: 75%;
  border: none
}

@media screen and (max-width: 1110px) {
  .ad-form #content table td {
    width: 70%
  }
}

@media screen and (max-width: 520px) {
  .ad-form #content table td {
    width: 100%;
    font-size: 14px;
    padding: 5px 10px !important
  }
}

.ad-form #content table td p {
  line-height: 180%
}

@media screen and (max-width: 767px) {
  .ad-form #content table td p {
    padding: 5px 0
  }
}

.ad-form #content table td p.mini {
  font-size: 14px;
  padding: 0
}

@media screen and (max-width: 767px) {
  .ad-form #content table td p.mini {
    color: #989898;
    font-size: 12px
  }
}

.ad-form #content table td .in {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 3px 0
}

.ad-form #content table td .in p {
  padding: 0 5px
}

.ad-form #content table td .in:first-child p:first-child,
.ad-form #content table td .in:nth-child(2) p:first-child {
  min-width: 100px
}

.ad-form #content table tr th,
.ad-form #content table tr td {
  padding: 20px;
  border-bottom: 1px solid #ededed
}

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

  .ad-form #content table tr th,
  .ad-form #content table tr td {
    border-bottom: none;
    display: block;
    width: 100%;
    padding: 5px 0
  }
}

.ad-form #content table tr th p,
.ad-form #content table tr td p {
  line-height: 21px
}

@media screen and (max-width: 768px) {
  .ad-form #content table tr th {
    padding: 20px 0 0 0
  }
}

@media screen and (max-width: 768px) {
  .ad-form #content table tr td {
    border-bottom: 1px solid #ededed;
    padding: 0 0 20px !important
  }
}

.ad-form #content table tr:last-child th,
.ad-form #content table tr:last-child td {
  border-bottom: none
}

@media screen and (max-width: 520px) {
  .ad-form #content .wpcf7-validates-as-date {
    margin: 0 0 5px
  }
}

.ad-form #content .wpcf7-radio .wpcf7-list-item {
  margin: 0 1em 0 0
}

.ad-form #content .wpcf7-checkbox.kikkake {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap
}

.ad-form #content .wpcf7-checkbox.kikkake .wpcf7-list-item {
  width: 25%;
  margin: 0;
  padding: 5px 0
}

@media screen and (max-width: 1024px) {
  .ad-form #content .wpcf7-checkbox.kikkake .wpcf7-list-item {
    padding: 0 0 2px;
    width: 100%;
    font-size: 15px
  }
}

.ad-form #content .kakunin th {
  padding: 15px
}

.ad-form #content .wpcf7-not-valid-tip {
  font-size: 14px
}

.ad-form #content .privacyCh {
  font-size: 16px;
  padding: 0 20px
}

@media screen and (max-width: 520px) {
  .ad-form #content .privacyCh {
    font-size: 14px;
    padding: 20px
  }
}

.ad-form #content .privacyCh h2,
.ad-form #content .privacyCh h3 {
  text-align: center;
  font-size: 24px;
  padding: 0 0 30px
}

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

  .ad-form #content .privacyCh h2,
  .ad-form #content .privacyCh h3 {
    font-size: 18px
  }
}

.ad-form #content .privacyCh p {
  padding: 0 0 1em;
  text-align: center
}

@media screen and (max-width: 768px) {
  .ad-form #content .privacyCh p {
    font-size: 14px;
    text-align: left
  }
}

.ad-form #content .privacyCh a {
  text-decoration: underline
}

.ad-form #content .privacyCh .chBox {
  position: relative;
  padding: 10px 0 0 0
}

.ad-form #content .privacyCh .chBox p {
  display: flex;
  justify-content: center;
  align-content: center;
  line-height: 100%
}

@media screen and (max-width: 520px) {
  .ad-form #content .privacyCh .chBox p {
    font-size: 12px
  }
}

.ad-form #content .privacyCh .chBox .hissu {
  -webkit-transform: translate(0%, 0%);
  -moz-transform: translate(0%, 0%);
  -ms-transform: translate(0%, 0%);
  -o-transform: translate(0%, 0%);
  transform: translate(0%, 0%);
  position: relative;
  top: auto;
  left: auto;
  right: auto
}

@media screen and (max-width: 520px) {
  .ad-form #content .privacyCh .chBox .hissu {
    font-size: 10px
  }
}

.ad-form #content .privacyCh label {
  position: relative
}

.ad-form #content .privacyCh input[type="checkbox"] {
  width: 15px;
  height: 15px;
  top: 3px;
  margin: 0 7px 0 0 !important;
  position: relative
}

.ad-form #content .submitArea {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0 0 0
}

@media screen and (max-width: 767px) {
  .ad-form #content .submitArea {
    padding: 0
  }
}

.ad-form #content .submitArea .in,
.ad-form #content .submitArea .mo {
  width: 300px;
  margin: 0 10px
}

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

  .ad-form #content .submitArea .in,
  .ad-form #content .submitArea .mo {
    width: 100%;
    margin: 5px 0 0
  }
}

.ad-form #content .submitArea p {
  display: flex;
  justify-content: center;
  padding: 0
}

.ad-form #content .submitArea p .wpcf7-submit,
.ad-form #content .submitArea p .modoru {
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  border: 2px solid #123e79;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 280px;
  padding: 16px 5px;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  background-color: #123e79;
  color: #FFF;
  border-radius: 50px
}

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

  .ad-form #content .submitArea p .wpcf7-submit,
  .ad-form #content .submitArea p .modoru {
    padding: 19px 5px
  }
}

.ad-form #content .submitArea p .wpcf7-submit:hover,
.ad-form #content .submitArea p .modoru:hover {
  opacity: 1;
  background: #fff;
  color: #123e79;
  letter-spacing: 0.15em
}

.ad-form #content .submitArea p .wpcf7-submit:disabled,
.ad-form #content .submitArea p .modoru:disabled {
  opacity: 0.5;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out
}

.ad-form #content .submitArea p .disable {
  border: 2px solid #123e79
}

.ad-form #content .submitArea p .wpcf7-spinner {
  display: none
}

.contact.confirm #content .tx {
  text-align: center
}

@media screen and (max-width: 520px) {
  .contact.confirm #content .tx {
    text-align: left
  }

  .contact.confirm #content .tx br {
    display: none
  }
}

.contact.thanks #content {
  min-height: 100px
}

.contact.thanks #content .contactComplete {
  text-align: center
}

@media screen and (max-width: 520px) {
  .contact.thanks #content .contactComplete {
    text-align: left
  }
}

.contact.thanks #content .contactComplete .title {
  font-size: 60px;
  font-weight: 700;
  text-align: center;
  padding: 80px 0 50px
}

@media screen and (max-width: 520px) {
  .contact.thanks #content .contactComplete .title {
    font-size: 24px;
    padding: 30px 0 20px
  }
}

.contact.thanks #content .contactComplete .tx1 {
  font-size: 16px;
  font-weight: 600;
  line-height: 250%
}

.contact.thanks #content .contactComplete .c {
  text-align: center;
  padding: 100px 0
}

.contact.thanks #content .contactComplete .c a {
  text-decoration: underline;
  color: #123e79
}

.contact.thanks #content .contactComplete .c a:hover {
  text-decoration: none
}

.personalform.thanks .inner,
.corporationform.thanks .inner {
  max-width: 1000px
}

.personalform.thanks .inner .btn,
.corporationform.thanks .inner .btn {
  text-align: center
}

.personalform.thanks .inner .btn a,
.corporationform.thanks .inner .btn a {
  display: inline-block;
  width: 300px
}