/* ------------------------------------------------------------- */
/* contact-form                                                  */
/* ------------------------------------------------------------- */
.lower-mv.contact {
  background-image: url(../img/contact/contact_lower_mv.jpg);
}

.contact-form .lead-txt {
  line-height: 1.8;
  margin-bottom: 50px;
}

.contact-form__ttl {
  color: #e60416;
  font-size: 30px;
  font-weight: 700;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: solid 1px #dddddd;
}

@media (max-width: 768px) {
  .contact-form__ttl {
    font-size: 20px;
  }
}

.contact-form table {
  text-align: left;
  width: 100%;
}

.contact-form table th,
.contact-form table td {
  padding: 14px 30px;
  vertical-align: middle;
}

@media (max-width: 768px) {

  .contact-form table th,
  .contact-form table td {
    padding: 0;
    border: 0;
    display: block;
    width: 100%;
  }
}

.contact-form table th {
  width: 340px;
  padding: 14px 0 14px 25px;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .contact-form table th {
    font-size: 18px;
    width: 100%;
    padding-left: 10px;
  }
}

.contact-form table th.v-top {
  vertical-align: top;
}

.contact-form table th .wrapper {
  position: relative;
}

.contact-form table th .wrapper::after {
  position: absolute;
  right: 20px;
  top: calc(50% - 13px);
  content: '必須';
  color: #ffffff;
  background-color: #e60416;
  padding: 3px 17px;
  font-size: 14px;
}

.contact-form.contact-form_eng table th .wrapper::after{
  content: 'Required' !important;
  font-size: 12px;
  padding: 4px 8px;
}

.contact-form table th .wrapper.optional::after {
  content: '任意';
  color: #ffffff;
  background-color: #787878;
}

.contact-form.contact-form_eng table th .wrapper.optional::after{
  content: 'Optional' !important;
  font-size: 12px;
}

.contact-form table input,
.contact-form table select,
.contact-form table textarea {
  padding: 17px 10px;
  border: solid 1px #e0e6ee;
  outline: 0;
  resize: none;
  cursor: text;
  font-size: 16px;
}

.contact-form table .select-wrap {
  position: relative;
  display: inline-block;
  margin: 10px 0;
}

.contact-form table .select-wrap::after {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 30%;
  content: url(../image/aside_catalog_link_arw.png);
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  font-size: 15px;
  width: 20px;
  height: 20px;
  display: block;
  text-align: center;
}

.contact-form table select {
  position: relative;
  width: 200px;
  cursor: pointer;
}

.contact-form table select::-ms-expand {
  display: none;
}

.contact-form table .address>select {
  margin: 10px 0;
}

.contact-form table .add-flex>input {
  margin: 0 10px;
}

.contact-form table .txt_box {
  line-height: 2;
  font-size: 15px;
}

.contact-form table .big {
  width: 100%;
}

.contact-form table .name_flex input:not(:last-child) {
  margin-right: 10px;
}

.contact-form .radio {
  padding-left: 10px;
  margin: 12px 0;
}

.contact-form .radio-btn {
  display: none;
}

.contact-form .radio label {
  display: block;
  font-size: 15px;
}

.contact-form .radio label:not(:last-child) {
  margin-bottom: 12px;
}

.contact-form .radio-btn+label {
  padding-left: 70px;
  position: relative;
  margin-right: 33px;
}

.contact-form .submit-btn {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .contact-form .submit-btn {
    width: 50%;
  }

  .contact-form .submit-btn__wrap::before {
    left: 15%;
  }
}

@media (max-width: 500px) {
  .contact-form .submit-btn {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .contact-form .contact-form td {
    padding: 0;
  }

  .contact-form select,
  .contact-form .textarea,
  .contact-form input,
  .contact-form .contact-form .big {
    width: 100%;
  }

  .contact-form table select {
    width: 100%;
  }

  .contact-form .name_flex input {
    width: 43vw;
  }

  .contact-form .address .address-num {
    width: 29vw;
  }

  .contact-form th::after,
  .contact-form th.optional::after {
    position: unset;
    margin-left: 18px;
  }

  .contact-form .name_flex {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}

.name_flex span:first-child input {
  margin-right: 10px;
}

.add-flex p {
  margin: 0 10px;
}

.agree {
  text-align: center;
}

.box_scroll {
  box-sizing: border-box;
  width: 100%;
  overflow: auto;
  height: 180px;
  border: 1px solid #eee;
  text-align: left;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 10px;

}

.box_scroll .contents_text.koumoku,
.box_scroll h4 {
  font-weight: bold;
  font-size: 18px;
  margin: 0 0 20px;
}

.box_scroll .contents_text {
  margin: 0 0 20px;
  font-size: 13.5px;
  color: #555;
  line-height: 1.6;
}

.box_scroll .contents_text.text-r {
  text-align: end;
}

.box_scroll .contents_text.text-r a {
  color: #3577C1;
  text-decoration: underline;
}

.box_scroll ul li {
  text-indent: -1em;
  padding-left: 1em;
}

.box_scroll ul li::before {
  content: '-';
  color: #999999;
  margin-right: 15px;
}

.DL_douiText {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 100;
}

.DL_line {
  margin-top: 20px;
}

.DL_line th {
  padding: 20px 0 14px;
}


.name_flex span:first-child input {
  margin-right: 10px;
}

.add-flex p {
  margin: 0 10px;
}

.agree {
  text-align: center;
}

.doui .formErrorContent {
  text-align: center;
}

.doui_wrap {
  margin-top: 15px;
}

/* フォーム分割時に追記 */

/* フォーム一覧 */

.contact-list .lead-txt{
  line-height: 1.8;
}

.contact-list_wrap{
  padding: 60px 0;
}

.contact-list_wrap:nth-of-type(3n){
  background: #f1f1f1;
}

.contact-list ul{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 40px;
}

.contact-list ul li{
  width: 48%;
  margin-right: 4%;
  margin-bottom: 20px;
  border: 1px solid #cbcbcb;
  background: #FFF;
  position: relative;
}

.contact-list ul li:nth-of-type(2n){
  margin-right: 0;
}

.contact-list ul li:nth-last-of-type(-n+2){
  margin-bottom: 0;
}

.contact-list ul li a{
  display: flex;
  padding: 10px;
  align-items: center;
}

.contact-list ul li small{
  font-size: 11px;
  color: #AAA;
  display: block;
  margin-top: 10px;
}

.contact-list ul li figure{
  width: 30%;
}

.contact-list ul li p{
  margin-left: 2%;
  width: 68%;
}

.contact-icon_arrow-right{
  display: block;
  width: 30px;
  height: 8px;
  border-bottom: 2px solid #cbcbcb;
  border-right: 2px solid #cbcbcb;
  transform: skew(45deg);
  position: absolute;
  right: 20px;
  bottom: 20px;
}

@media (max-width:768px){

  .contact-list ul li{
    width: 100%;
    margin: 0 0 20px 0 !important;
  }

  .contact-list ul li:last-of-type{
    margin-bottom: 0 !important;
  }
}

@media (max-width:500px){
  .contact-list .ttl__txt{
    font-size: 22px;
  }

  .contact-icon_arrow-right{
    width: 20px;
    right: 10px;
    bottom: 10px;
  }
}

.turnstile-area{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  gap: 10px;
}

.turnstile-area .cf-turnstile{
  display: inline-block;
}

@media (max-width:768px){
  .turnstile-area{
    flex-direction: column;
    margin-top: 20px;
  }
}