@charset "UTF-8";

/*===================================================

// パシフィックコンサルタンツ（株）メルマガフォーム
// 20251113 改修
// mailmagazine3_insight-style.css

===================================================*/
#frm_forminput {
  font-size: 14px;
  line-height: 1.7;
  color: #fff;
}

#frm_forminput input[type="text"],
#frm_forminput select,
#frm_forminput textarea {
  border: none;
  width: 100%;
  box-shadow: none;
  background: #fff;
  border-radius: 2px;
  height: 40px;
  font-family: "Noto Sans JP", Verdana, Roboto, 'Droid Sans', Meiryo, 'ＭＳ Ｐゴシック', 'Hiragino Kaku Gothic ProN', sans-serif;
}

#frm_forminput div.container {
  background: transparent;
  color: #fff;
  padding: 0 10px 0 0;
}

@media screen and (max-width: 768px) {
  #frm_forminput div.container {
    padding: 0;
  }
}

#frm_forminput div.wrapper {
  background: transparent;
}

/* 非表示 */
#frm_forminput .required_msg,
#frm_forminput .privacy-text-master,
#frm_forminput .privacy_policy {
  display: none;
}

/* エラーメッセージ */
#frm_forminput div.message {
  padding: 0;
  margin-bottom: 5px;
  background: transparent;
  color: #E93232;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
}

/*----*/
#frm_forminput table.items {
  width: 100%;
}

#frm_forminput table.items tr.item {
  display: flex;
  flex-wrap: wrap;
  border-bottom: none;
  padding: 10px 0;
}

@media screen and (max-width: 768px) {
  #frm_forminput table.items tr.item {
    display: block;
    padding: 0 0 15px 0;
  }
}

#frm_forminput table.items td {
  padding: 0;
}

#frm_forminput table.items td.label {
  width: 170px;
  flex-shrink: 0;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0 10px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

@media screen and (max-width: 768px) {
  #frm_forminput table.items td.label {
    padding: 0;
    margin-bottom: 4px;
    width: 100%;
    text-align: left;
    justify-content: flex-start;
    font-size: 14px;
  }
}

#frm_forminput table.items td.value {
  width: calc(100% - 170px);
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  #frm_forminput table.items td.value {
    width: 100%;
  }
}

#frm_forminput table.items td.comment {
  width: 100%;
}

#frm_forminput table.items td.label span.required {
  background: #E93232;
  color: #fff;
  display: inline-block;
  padding: 3px;
  font-size: 12px;
  line-height: 1;
  margin-left: 5px;
}

#frm_forminput table.items td.label span.required::before {
  content: "必須";
}

@media screen and (max-width: 768px) {
  #frm_forminput table.items td.label span.required {
    font-size: 11px;
  }
}

#frm_forminput table.items td.value span.label_name {
  width: 1em;
  margin: 0 5px 0 0;
  padding: 0;
}

#frm_forminput table.items td.value input+span.label_name {
  margin-left: 5px;
}

/* 部署名がなぜかtextareaのため高さを調整 */
#frm_forminput table.items td.value textarea[name="division_only"] {
  height: 40px;
}

/* プライバシーポリシー last-childで判別する */
#frm_forminput table.items tr.item:last-child td.label {
  width: 280px;
  padding: 0;
}

@media screen and (max-width: 768px) {
  #frm_forminput table.items tr.item:last-child {
    display: flex;
  }

  #frm_forminput table.items tr.item:last-child td.label {
    width: auto;
    margin: 0;
  }
}

#frm_forminput table.items tr.item:last-child td.label+td.value {
  width: calc(100% - 280px);
  padding-left: 10px;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  #frm_forminput table.items tr.item:last-child td.label+td.value {
    width: auto;
  }
}

#frm_forminput .privacy_policy {
  padding: 0;
  margin: 0;
}

#frm_forminput .privacy_policy a {
  color: #fff;
  text-decoration: underline;
}

/*-----*/
#frm_forminput div.button_area {
  margin-top: 10px;
}

input#lf_form_submit_button {
  width: 100%;
  height: 56px;
  background: transparent;
  border-radius: 0;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

@media screen and (max-width: 768px) {
  input#lf_form_submit_button {
    height: 48px;
    font-size: 16px;
    padding: 0;
  }
}

input#lf_form_submit_button:hover {
  background: #fff;
  color: #131416;
}

/* 確認画面 */
.consult-mail-confirm {
  margin-bottom: 10px;
}
#frm_formconfirm p {
  margin: 0;
}
#frm_formconfirm table {
  width: 100%;
  border-collapse: collapse;

}
#frm_formconfirm td {
  line-height: 1.4;
  padding: 12px 0;
  border-bottom: 1px solid #ccc;
}

#frm_formconfirm td.label {
  width: 160px;
  padding-right: 10px;
  color: #999;
}

#frm_formconfirm td.value {}


#frm_formconfirm .button_area {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 10px;
}

#button_confirm_back,
#button_confirm_submit {
  height: 56px;
  padding: 0 20px;
  background: transparent;
  border-radius: 0;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
#button_confirm_back {
  border: none;
}
#button_confirm_submit {
  border: 2px solid #fff;
}


@media screen and (max-width: 768px) {
  #button_confirm_back,
  #button_confirm_submit {
    height: 48px;
    font-size: 16px;
    padding: 0 20px;
  }
}

#button_confirm_submit {
  width: ;
}

#button_confirm_back:hover,
#button_confirm_submit:hover {
  background: #fff;
  color: #131416;
}

/* 完了画面 */

/* 英語版の調整 */
html[lang="en"] #frm_forminput table.items td.value span.label_name {
  font-size: 12px;
  line-height: 1.2;
  width: 40px;
  flex-shrink: 0;
  margin: 0 3px 0 0;
}

html[lang="en"] #frm_forminput table.items td.value input+span.label_name {
  margin-left: 10px;
}

html[lang="en"] #frm_forminput table.items td.label span.required::before {
  content: "Required";
  white-space: nowrap;
}

html[lang="en"] #frm_forminput table.items tr.item:last-child {
  display: flex;
}

html[lang="en"] #frm_forminput table.items tr.item:last-child td.label {
  width: auto;
}

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

  html[lang="en"] #frm_forminput table.items tr.item:last-child td.label {
    width: 100%;
  }
}

@media print, screen and (min-width: 769px) {
  html[lang="en"] #frm_formconfirm td.label {
    width: auto;
  }

  html[lang="en"] #frm_forminput table.items tr.item:last-child td.label+td.value {
    width: auto;
  }
}