@charset "UTF-8";
@media (min-width: 841px) {
  .pc-only {
    display: inline-block;
  }
  .sp-only {
    display: none;
  }
}
@media (max-width: 840px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline-block;
  }
}
.f-l__common-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  width: inherit;
  height: auto;
}
.f-l__common-section {
  padding: 70px 0;
}
@media screen and (max-width: 840px) {
  .f-l__common-inner {
    max-width: 100%;
    min-width: 100px;
    padding: 0 20px;
  }
}
@media screen and (max-width: 600px) {
  .f-l__common-inner {
    max-width: 100%;
    min-width: 100px;
    padding: 0 20px;
  }
  .f-l__common-section {
    padding: 50px 0;
  }
}

.cf {
  clear: both;
}

.f__common-text_left {
  text-align: left;
}
.f__common-text_center {
  text-align: center;
}
.f__common-text_right {
  text-align: right;
}
.f__common-text_bold {
  font-weight: 700;
}
.f__common-text_underline {
  text-decoration: underline;
}
.f__common-text_highlighter {
  background: linear-gradient(transparent 75%, var(--rseisan-accent) 75%);
  background-position: 0 1.3em;
}
.f__common-text_annotation {
  font-size: 10px;
}
.f__common-text_nowrap {
  display: inline-block;
}
.f__common-color_seisan {
  color: var(--rseisan-primary);
}
.f__common-color_meisai {
  color: var(--rmeisai-primar);
}
.f__common-color_seikyu {
  color: var(--rseikyu-primar);
}
.f__common-color_hanbai {
  color: var(--rhanbai-primar);
}
.f__common-color_kintai {
  color: var(--rmeisai-primar);
}
.f__common-bgcolor_blue {
  background-color: var(--rseisan-bg-sub-03);
}
.f__common-bgcolor_blue_brand {
  background-color: var(--rseisan-primary);
}
.f__common-bgcolor_gray {
  background-color: var(--gray-bg-02);
}
.f__common-bgcolor_white {
  background-color: #fff;
}

/* =================================================
 * サイド
 * ================================================= */
.p__form-contact-box {
  background-color: var(--rcloud-bg-sub-03);
}
.p__form-contact-form {
  background-color: var(--gray-09);
}

/* =================================================
 * functionページ専用 reset & HubSpot新フォーム調整
 * ================================================= */
:root {
  /* ブランドカラー */
  --primary: #464646;
  --main-gray-bg01: #e6e6e6;
  --main-gray-bg02: #f6f6f6;
  --main-color-gb01: #4382fd;
  --main-color-gb02: #134fbf;
  --sub-bg01: #8db5ff;
  --sub-bg02: #bfd5fe;
  --sub-bg03: #eef4fe;
  --cta: #ff850a;
  --accent: #fcd456;
  --black: #323232;
  --white: #fff;
  /* ===== HubSpot form CSS variables (global) ===== */
  --hsf-global__font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, Meiryo, YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
  --hsf-global__font-size: 16px;
  --hsf-global__color: var(--black);
  --hsf-global-error__color: #ed6c56;
  /* Spacing */
  --hsf-row__vertical-spacing: 0;
  --hsf-module__vertical-spacing: 7px;
  /* Buttons */
  --hsf-button__background-color: var(--primary);
  --hsf-button__border-radius: 5px;
  --hsf-button__padding: 22px 0;
  --hsf-button__box-shadow: none;
  --hsf-button__width: 187px;
  --hsf-button__height: 63px;
  /* Background */
  --hsf-background__background-color: var(--white) fff;
  --hsf-background__padding: 0 0 20px;
  /* Alerts */
  --hsf-erroralert__font-size: 12px;
  --hsf-infoalert__font-size: 14px;
  --hsf-infoalert__color: #d93025;
  /* Field common */
  --hsf-heading__color: var(--primary);
  --hsf-field-label__font-size: 16px;
  --hsf-field-label__color: var(--black);
  --hsf-field-label-requiredindicator__color: var(--white);
  --hsf-field-description__color: var(--black);
  --hsf-field-input__background-color: var(--white);
  --hsf-field-input__placeholder-color: rgba(81, 99, 131, 0.64);
  --hsf-field-input__border-color: #d2d2d2;
  --hsf-field-input__border-width: 1px;
  --hsf-field-input__border-style: solid;
  --hsf-field-input__border-radius: 3px;
  /* Field textarea */
  --hsf-field-textarea__background-color: #fafafa;
  --hsf-field-textarea__placeholder-color: #d2d2d2;
  --hsf-field-textarea__border-color: #d2d2d2;
  --hsf-field-textarea__border-width: 1px;
  --hsf-field-textarea__border-style: solid;
  --hsf-field-textarea__border-radius: 5px;
  --hsf-field-textarea__padding: 20px;
  /* Field checkbox / radio */
  --hsf-field-checkbox__padding: ;
  --hsf-field-checkbox__background-color: var(--white);
  --hsf-field-checkbox__color: var(--white);
  --hsf-field-checkbox__border-color: var(--main-gray-bg01);
  --hsf-field-checkbox__border-width: 1px;
  --hsf-field-checkbox__border-style: solid;
  /* Field radio */
  --hsf-field-radio__border-color: var(--main-gray-bg01);
  --hsf-default-field-radio__border-color: var(--main-gray-bg01);
  /* Progress bar */
  --hsf-progressbar-progressLine__background-color: var(--primary);
}

/* ===== Container ===== */
.m_form-hs {
  width: 100%;
  position: relative;
}

@media screen and (max-width: 768px) {
  .m_form-hs__wrapper {
    width: 100%;
  }
  .m_form-hs {
    width: 100%;
  }
}
/* Title pill */
.m_form-hs .m_form-hs__h2 {
  position: relative;
  display: inline-block;
  font-size: 18px;
  padding: 12px 60px;
  border-radius: 30px;
  line-height: 1.4;
  background: var(--primary);
  color: var(--white);
  left: 50%;
  transform: translateX(-50%);
  top: 24px;
}

@media screen and (max-width: 768px) {
  .m_form-hs .m_form-hs__h2 {
    font-size: 16px;
    padding: 10px 30px;
    top: 19px;
  }
}
.m_form-hs .m_form-hs__h2::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border: 11px solid transparent;
  border-bottom-width: 0;
  border-top: 15px solid var(--primary);
}

/* ===== HubSpot form HTML (inside iframe host container) ===== */
.m_form-hs .hs-form-html .hsfc-FieldLabel {
  position: relative;
  font-weight: bold;
  font-size: 16px;
  color: var(--primary) !important;
  cursor: default;
  display: flex;
  font-weight: 700;
  justify-content: flex-start;
  line-height: 1.3;
  margin-bottom: 5px;
  padding-top: 8px;
  position: relative;
  text-align: left;
  width: 100%;
}

/* 必須マークの並び替え */
.m_form-hs .hs-form-html [data-hsfc-id=Renderer] .hsfc-FieldLabel > span {
  align-items: center;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

/* 必須マークの見た目 */
.m_form-hs .hs-form-html .hsfc-FieldLabel__RequiredIndicator {
  align-items: center;
  background-color: var(--main-color-gb02);
  border-radius: 3px;
  color: transparent;
  font-size: 73%;
  margin: 1px 4px 0;
  padding: 0 12px 3px;
  position: relative;
}

.m_form-hs .hs-form-html .hsfc-FieldLabel__RequiredIndicator:after {
  color: var(--white);
  content: "必須";
  display: block;
  font-size: 11px;
  text-align: center;
  position: absolute;
  top: 1px;
  left: 2px;
  width: 25px;
}

/* リッチテキスト */
.m_form-hs .hs-form-html .hsfc-RichText p {
  color: var(--black);
  font-size: 14px;
}

/* ステップ枠 */
.m_form-hs .hs-form-html .hsfc-Step .hsfc-Step__Content {
  position: relative;
  z-index: 10;
  border-radius: 10px;
  padding: 25px 25px 30px;
  background-color: var(--gray-09);
}

@media screen and (max-width: 768px) {
  .m_form-hs .hs-form-html .hsfc-Step .hsfc-Step__Content {
    padding: 0 20px 40px;
    border-radius: 0;
  }
}
/* ラジオ */
.m_form-hs .hs-form-html .hsfc-RadioFieldGroup__Options {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 768px) {
  .m_form-hs .hs-form-html .hsfc-RadioFieldGroup__Options {
    flex-direction: column;
    gap: 4px;
  }
}
/* セレクトボックス */
.m_form-hs .hs-form-html .hsfc-DropdownInput {
  max-width: 240px;
}

.m_form-hs .hs-form-html .hsfc-DropdownInput__Caret {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
}

.m_form-hs .hs-form-html .hsfc-DropdownInput__Caret > span {
  position: relative;
  border-top: unset;
  width: unset;
  height: unset;
  display: unset;
  vertical-align: unset;
  border-left: unset;
  border-right: unset;
}

.m_form-hs .hs-form-html .hsfc-DropdownInput__Caret > span::after {
  border-right: 1px solid #706d6d;
  border-top: 1px solid #706d6d;
  content: "";
  display: block;
  height: 6px;
  position: absolute;
  right: 0px;
  top: -4px;
  transform: rotate(135deg);
  width: 6px;
}

/* チェック/ラジオのラベル */
.m_form-hs .hs-form-html .hsfc-RadioFieldGroup__Options label,
.m_form-hs .hs-form-html .hsfc-CheckboxFieldGroup__Options label {
  font-weight: 500 !important;
  color: var(--black) !important;
}

/* プレースホルダー */
.m_form-hs .hs-form-html .hsfc-DateInput.hsfc-DateInput--placeholder {
  font-weight: 400;
}

/* プログレスバー（テキスト非表示） */
.m_form-hs .hs-form-html .hsfc-ProgressBar__Text {
  display: none;
}

/* エラーメッセージ */
.m_form-hs .hs-form-html .hsfc-ErrorAlert {
  position: relative;
  color: var(--hsf-global-error__color);
}

/* 次/前ボタンの行高微調整 */
.m_form-hs .hs-form-html .button-item--previous,
.m_form-hs .hs-form-html .button-item--next {
  line-height: 1;
}

/* 入力フォーカス/状態 */
.m_form-hs .hs-form-html .hsfc-RadioInput:checked:after {
  background-color: var(--primary) !important;
}

.m_form-hs .hs-form-html input:focus {
  border-color: var(--main-gray-bg01) !important;
  box-shadow: 0 0 3px var(--hsf-field-radio__border-color, var(--hsf-field-input__border-color, var(--hsf-default-field-radio__border-color)));
}

.m_form-hs .hs-form-html input[aria-required=true][aria-invalid=true] {
  background: #fff1f3;
  border-color: #ffdadf;
  box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
}

/* バリッド時のチェック演出 */
.m_form-hs .hs-form-html input[aria-required=true][aria-invalid=false].hsfc-TextInput.valid-input {
  position: relative !important;
}

.m_form-hs .hs-form-html input[aria-required=true][aria-invalid=false].hsfc-TextInput.valid-input::after {
  content: "";
  position: absolute;
  top: 25px;
  right: 27px;
  width: 9px;
  height: 7px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
  z-index: 999;
  display: block;
}

/* ===== Buttons ===== */
.m_form-hs .hs-form-html button[type=submit] {
  background: var(--cta) !important;
  border: 3px solid #fff;
  border-radius: 4px;
  border-radius: 1000px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  color: var(--white);
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin: 20px auto 0;
  max-width: 500px;
  outline: 0;
  padding: 22px 20px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
}

.m_form-hs .hs-form-html button[type=submit]:hover {
  background-color: var(--white) !important;
  border: 3px solid var(--cta);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
  color: var(--cta);
  transform: scale(1.03);
}

@media screen and (max-width: 768px) {
  .m_form-hs .hs-form-html button[type=submit] {
    font-size: 18px;
    padding: 14px 20px;
  }
  .m_form-hs .hs-form-html .hsfc-NavigationRow__Buttons {
    flex-direction: column;
  }
  .m_form-hs .hs-form-html .hsfc-TextareaInput {
    padding: 10px;
    line-height: 1.2;
    min-height: 6em;
  }
  .m_form-hs .hs-form-html button.hsfc-Button.button-item--previous {
    width: 100%;
    max-width: 280px;
  }
}
/* Checkboxes */
.m_form-hs .hs-form-html .hsfc-CheckboxInput {
  border: 1px solid #b7b6b6;
  border-radius: 0;
  border-radius: 3px;
  height: 20px;
  width: 20px;
}

[data-hsfc-id=Renderer] .hsfc-CheckboxInput:checked {
  background-color: #0075ff !important;
}

/* Progress bar */
.m_form-hs .hs-form-html .hsfc-ProgressBar__Progress {
  background-color: var(--main-gray-bg02);
  border: 1px solid var(--main-gray-bg01);
}

/* ベース：ラベルにポップアップ用の疑似要素を仕込む（普段は非表示） */
[data-hsfc-id$=Field] > .hsfc-FieldLabel {
  position: relative;
}

[data-hsfc-id$=Field] > .hsfc-FieldLabel::after,
[data-hsfc-id$=Field] > .hsfc-FieldLabel::before {
  position: absolute;
  right: 0;
  opacity: 0;
  visibility: hidden;
  /* displayではなくvisibilityで管理 */
  pointer-events: none;
  content: "";
  z-index: 100;
}

/* 吹き出し本体 */
[data-hsfc-id$=Field] > .hsfc-FieldLabel::after {
  top: -15px;
  padding: 14px 15px;
  font-size: 12px;
  line-height: 1;
  color: var(--black);
  background: var(--accent);
  border-radius: 4px;
  left: 0;
  right: unset;
}

/* 三角 */
[data-hsfc-id$=Field] > .hsfc-FieldLabel::before {
  bottom: -12px;
  left: 11px;
  width: 0;
  height: 0;
  border: 9px solid transparent;
  border-top-color: var(--accent);
}

/* --- ここから対象別：末尾一致で安全に狙う --- */
/* Eメール */
[data-hsfc-id$=Field]:has(> input[name$="/email"], > input[name=email]):focus-within > .hsfc-FieldLabel::after {
  content: "メールアドレスを入力してください";
  animation: popupStayFade 5s ease-out forwards;
}

[data-hsfc-id$=Field]:has(> input[name$="/email"], > input[name=email]):focus-within > .hsfc-FieldLabel::before {
  animation: popupStayFade 5s ease-out forwards;
}

/* 電話 */
[data-hsfc-id$=Field]:has(> input[name$="/phone"], > input[name=phone]):focus-within > .hsfc-FieldLabel::after {
  content: "日中繋がりやすい電話番号を記入してください";
  animation: popupStayFade 5s ease-out forwards;
}

[data-hsfc-id$=Field]:has(> input[name$="/phone"], > input[name=phone]):focus-within > .hsfc-FieldLabel::before {
  animation: popupStayFade 5s ease-out forwards;
}

/* 会社名 */
[data-hsfc-id$=Field]:has(> input[name$="/rakuraku_company"], > input[name="/rakuraku_company"]):focus-within > .hsfc-FieldLabel::after {
  content: "お勤め先の会社名を記入してください";
  animation: popupStayFade 5s ease-out forwards;
}

[data-hsfc-id$=Field]:has(> input[name$="/rakuraku_company"], > input[name=rakuraku_company]):focus-within > .hsfc-FieldLabel::before {
  animation: popupStayFade 5s ease-out forwards;
}

/* 5秒表示→フェードアウト */
@keyframes popupStayFade {
  0% {
    opacity: 0;
    visibility: visible;
    transform: translateY(-4px);
  }
  10% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  70% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}/*# sourceMappingURL=p-form-contact.css.map */