@charset "UTF-8";

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

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

===================================================*/
/* reset */
html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Verdana, Roboto, 'Droid Sans', Meiryo, 'ＭＳ Ｐゴシック', 'Hiragino Kaku Gothic ProN', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/*-----*/
html {
  font-size: 62.5%;
  overflow-y: auto !important;
  overflow-x: hidden;
  scrollbar-color: #555 transparent;
  scrollbar-width: thin;
}

body {
  background: transparent !important;
  font-family: "Noto Sans JP", Verdana, Roboto, 'Droid Sans', Meiryo, 'ＭＳ Ｐゴシック', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-size: 1.4rem;
  line-height: 1.7;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  word-break: break-word;
  overflow-x: hidden;
  width: 100%;
}

#frm_forminput input[type="text"],
#frm_forminput select,
#frm_forminput textarea {
  border: none;
  width: 100%;
  box-shadow: none;
  background: #fff;
  border-radius: 2px;
  height: 4rem;
  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;
}

html.device--sp #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: 1.3rem;
  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;
}

html.device--sp #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: 17rem;
  flex-shrink: 0;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0 1rem 0 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
}

html.device--sp #frm_forminput table.items td.label {
  padding: 0;
  margin-bottom: .4rem;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  font-size: 1.4rem;
}

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

html.device--sp #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: 1.2rem;
  line-height: 1;
  margin-left: .5rem;
}

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

html.device--sp #frm_forminput table.items td.label span.required {
  font-size: 1.1rem;
}

#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: 28rem;
  padding: 0;
}

html.device--sp #frm_forminput table.items tr.item:last-child {
  display: flex;
}

html.device--sp #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% - 28rem);
  padding-left: 1rem;
  font-size: 1.6rem;
}

html.device--sp #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: 5.6rem;
  background: transparent;
  border-radius: 0;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

html.device--sp input#lf_form_submit_button {
  height: 4.8rem;
  font-size: 1.6rem;
  padding: 0;
}

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

/* 確認画面 */
.consult-mail-confirm {
  margin-bottom: 1rem;
}
#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: 16rem;
  padding-right: 1rem;
  color:#999;
}

#frm_formconfirm td.value {}


#frm_formconfirm .button_area {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 1rem;
}

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

html.device--sp #button_confirm_back,
html.device--sp #button_confirm_submit {
  height: 4.8rem;
  font-size: 1.6rem;
  padding: 0 2rem;
}

#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: 1.2rem;
  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;
}

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

html[lang="en"].device--pc #frm_formconfirm td.label {
  width: auto;
}

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