.contact {
  padding-top: 80px;
}

@media screen and (max-width: 767px) {
  .contact {
    padding-top: 10%;
    padding-left: 5%;
    padding-right: 5%;
  }
}

.contact h2 {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .contact h2 {
    margin-bottom: 5%;
  }
}

.contact p {
  line-height: 1.5;
}

.contact .contact_content {
  margin-top: 40px;
}

.contact .contact_content table {
  width: 100%;
}

.contact .contact_content table th {
  width: 30%;
  text-align: left;
  font-weight: 600;
  line-height: 1.5;
  padding: 10px 0;
}

@media screen and (max-width: 767px) {
  .contact .contact_content table th {
    padding-bottom: 0;
  }
}

.contact .contact_content table th span.req {
  display: inline-block;
  background-color: #1b365d;
  color: #fff;
  font-weight: 500;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 2px;
  margin-right: 8px;
}

.contact .contact_content table td {
  padding: 10px 0;
}

@media screen and (max-width: 767px) {
  .contact .contact_content table td {
    padding-top: 5px;
  }
}

.contact .contact_content table td span.mwform-checkbox-field.horizontal-item {
  display: inline-block !important;
  width: 48% !important;
  margin-left: 0 !important;
}

.contact .contact_content table td .mwform-checkbox-field input {
  margin-top: 6px;
}

.contact .contact_content table td input[type=text],
.contact .contact_content table td textarea,
.contact .contact_content table td input[type=email] {
  border: 2px #ccc solid;
  padding: 12px 10px;
  width: 100%;
  font-size: 1.4rem;
}

.contact .contact_content table td input[type=text].helf,
.contact .contact_content table td textarea.helf,
.contact .contact_content table td input[type=email].helf {
  width: 50%;
}

.contact .contact_content table td input[type=radio] {
  margin-top: 6px;
}

.contact .contact_content table td select {
  padding: 10px;
}

.contact .contact_content table td .flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.contact .contact_content table td .flex > div {
  width: 50%;
}

.contact .contact_content table td .flex > div:nth-child(1) {
  padding-right: 10px;
}

.contact .contact_content table td .flex > div:nth-child(2) {
  padding-left: 10px;
}

.contact .contact_content table td .note {
  display: inline-block;
  padding: 8px 5px;
  color: #666;
}

.contact .contact_content table td .hasCalendar {
  background-image: url(../img/common/icon_calendar.png);
  background-repeat: no-repeat;
  background-position: right 10px center;
}

@media screen and (max-width: 767px) {
  .contact .contact_content table th, .contact .contact_content table td {
    display: block;
    width: 100%;
  }
}

.contact .contact_content .mw_wp_form_confirm table td .flex {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.contact .contact_content .mw_wp_form_confirm table td .flex > div {
  width: auto;
}

.contact .contact_content .mw_wp_form_confirm table td .flex > div div:nth-child(2) {
  padding-left: 0;
}

.contact .contact_content .mw_wp_form_confirm table td .note {
  display: none;
}

.contact .contact_content .mw_wp_form_confirm .agree {
  display: none;
}

.contact .agree {
  background-color: #efefef;
  padding: 30px;
  text-align: center;
  margin-top: 30px;
}

@media screen and (max-width: 767px) {
  .contact .agree {
    margin-top: 10px;
  }
}

.contact .agree input[type=checkbox] {
  margin-top: 6px;
}

.contact .agree a {
  color: #1b365d;
  text-decoration: underline;
}

.contact .submit_btn {
  margin: 40px 0 80px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .contact .submit_btn {
    margin: 5% 0 10%;
  }
}

.contact .submit_btn button {
  position: relative;
}

.contact .submit_btn button:after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-bottom: 2px #fff solid;
  border-right: 2px #fff solid;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  position: absolute;
  right: 5%;
  top: calc(50% - 6px);
}

.contact .submit_btn button[name=submitConfirm] {
  cursor: pointer;
  background-color: #1b365d;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  border: none;
  padding: 16px 3em;
  letter-spacing: 0.1em;
  min-width: 400px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .contact .submit_btn button[name=submitConfirm] {
    min-width: auto;
    width: 100%;
  }
}

.contact .submit_btn button[name=submitBack] {
  cursor: pointer;
  border: 1px #1b365d solid;
  color: #1b365d;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  border: none;
  padding: 16px 3em;
  letter-spacing: 0.1em;
  min-width: 400px;
  text-align: center;
  margin-top: 40px;
}

.contact .submit_btn button[name=submitBack]:after {
  border-color: #1b365d;
  right: auto;
  left: 5%;
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
}

@media screen and (max-width: 767px) {
  .contact .submit_btn button[name=submitBack] {
    min-width: auto;
    width: 100%;
  }
}

.contact .submit_btn button[name=mwform_bsubmit-618] {
  cursor: pointer;
  background-color: #1b365d;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  border: none;
  padding: 16px 3em;
  letter-spacing: 0.1em;
  min-width: 400px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .contact .submit_btn button[name=mwform_bsubmit-618] {
    min-width: auto;
    width: 100%;
  }
}

.contact.thanks {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media screen and (max-width: 767px) {
  .contact.thanks {
    padding-top: 10%;
    padding-bottom: 10%;
  }
}

.contact.thanks h2 {
  margin-bottom: 30px;
}

.contact.thanks p {
  margin-bottom: 15px;
}

.contact.thanks .contact_content {
  margin-top: 0;
}

.contact.thanks a {
  color: #1b365d;
  text-decoration: underline;
}
/*# sourceMappingURL=contact.css.map */

.tenken_shaken {
  width: 74%;
  margin: 0 0 2em
}
.tenken_shaken h3 {
  font-size: 22px;
  margin: 0 0 0.2em;
  font-weight: bold
}
.tenken_shaken h4 {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 0.2em
}
.tenken_shaken p {
  margin: 0 0 1em
}
.tenken_shaken dl {
  border-bottom: 1px solid #000;
  padding: 0 0 0.3em;
  display: flex;
  justify-content: space-between;
  margin: 0 0 0.3em
}
.tenken_shaken dl dt {
  font-size: 20px;
  line-height: 1
}
.tenken_shaken dl dd {
  font-size: 20px;
  line-height: 1
}
.tenken_shaken .shashubetsu {
  border-bottom: 1px solid #000;
  padding: 0 0 0.3em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 0 0.3em
}
.tenken_shaken .shashubetsu .shashubetsu1 {
  width: 50%;
  font-size: 20px;
  line-height: 1.4;
  text-align: left
}
.tenken_shaken .shashubetsu .shashubetsu2 {
  width: 50%;
  font-size: 20px;
  line-height: 1.4;
  text-align: right
}
.tenken_shaken ul {}
.tenken_shaken ul li {
  list-style: none;
  margin: 0;
  line-height: 1.4
}
@media screen and (max-width: 767px) {
.tenken_shaken {
  width: 99%;
  margin: 0 auto 2em
}
.tenken_shaken h3 {
  font-size: 22px;
  margin: 0 0 0.5em;
  font-weight: bold
}
.tenken_shaken h4 {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 0.3em
}
.tenken_shaken p {
  margin: 0 0 1em
}
.tenken_shaken dl {
  border-bottom: 1px solid #000;
  padding: 0 0 0.3em;
  display: flex;
  justify-content: space-between;
  margin: 0 0 0.3em
}
.tenken_shaken dl dt {
  font-size: 20px;
  line-height: 1
}
.tenken_shaken dl dd {
  font-size: 20px;
  line-height: 1
}
.tenken_shaken .shashubetsu {
  border-bottom: 1px solid #000;
  padding: 0 0 0.3em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 0 0.3em
}
.tenken_shaken .shashubetsu .shashubetsu1 {
  width: 60%;
  font-size: 20px;
  line-height: 1.4;
  text-align: left
}
.tenken_shaken .shashubetsu .shashubetsu2 {
  width: 40%;
  font-size: 20px;
  line-height: 1.4;
  text-align: right
}
.tenken_shaken ul {}
.tenken_shaken ul li {
  list-style: none;
  margin: 0.4em 0;
  line-height: 1.2
}
}
/* 共通スタイル */
.shaken_tenken_table {
  margin: 0 0 1em
}
.shaken_tenken_table_scroll{
  overflow-x: auto; /* 横スクロールを有効化 */
  -webkit-overflow-scrolling: touch; /* iOSのスムーズスクロール */
}
.shaken_tenken_table table {
  width: 100%;
  border-collapse: collapse;
  position: relative; /* stickyを使うために必要 */
}
.shaken_tenken_table th {
  border: 1px solid #ccc;
  padding: 0.1em 0.2em!important;
  text-align: center!important;
  white-space: nowrap;
  background-color: #eee!important;
}
.shaken_tenken_table td {
  border: 1px solid #ccc;
  padding: 0.1em 0.2em!important;
  text-align: center!important;
  white-space: nowrap;
}

/* ヘッダーの固定 */
.shaken_tenken_table th {
  position: sticky;
  top: 0;
  background-color: #eee; /* 固定時の背景色 */
  z-index: 2; /* 固定の優先度を上げる */
}
/* 1列目の固定 */
.shaken_tenken_table td:first-child,
.shaken_tenken_table th:first-child {
  position: sticky;
  left: 0;
  background-color: #fff; /* 固定時の背景色 */
  z-index: 1; /* ヘッダーより低く設定 */
}

/* メディアクエリでスマホ表示時の調整 */
@media screen and (max-width: 767px) {
  .shaken_tenken_table_scroll {
    overflow-x: auto; /* 横スクロールを有効化 */
  }
  .shaken_tenken_table table {
    min-width: 600px; /* スクロール用に適切な最小幅を設定 */
  }
  .shaken_tenken_table th,
.shaken_tenken_table td {
  display: table-cell!important
}
}
