/* Marketo メルマガフォーム専用。トップページで style.css の後に読み込む。 */

.p-top__sectionTitle--mailMag {
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0 0 26px 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    top:15px;
}
@media screen and (max-width: 768px) {
    .p-top__sectionTitle--mailMag {
        text-align: center;
        margin-bottom: 0;
        margin-top: 0;
        padding: 0 0 18px 0;
        color: #333;
        font-size: 20px;
        font-weight: 700;
        top: 15px;
    }
}
.p-top__sectionTitle--mailMag-sub {
    text-align: center;
    margin-bottom: 0;
    letter-spacing: inherit;
    font-weight: 600;
    position: relative;
    top:16px;
    margin-top: 18px;
}
@media screen and (max-width: 480px) {
  .p-top__sectionTitle--mailMag-sub {
    font-size: 14px;
    white-space: nowrap !important;
    margin-top: 5px;
  }
}
.p-top__mailMagazine {
    background-color: #fff;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0px;
    width: 680px;
    box-sizing: border-box;
    height: 431px;
    margin: 40px auto 0;
    border-radius: 8px;
}

/* メールアドレスのラベルと入力欄の間隔 */
.p-top__mailMagazine-form #LblEmail {
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
.p-top__mailMagazine-form #LblEmail {
    margin-bottom: 5px;
}
}

/* メールアドレスのラベルと入力欄の間隔 */
.p-top__mailMagazine-form #Email {
  margin-top: 5px;
}

/* メールアドレスのラベルと入力欄の間隔 */


.p-top__mailMagazine-form #Lbltodouhuken_online_mojirethu {
  position: relative;
  top: -9px;
  margin-bottom: -5px !important;
}

@media screen and (max-width: 768px) {
  .p-top__mailMagazine-form #Lbltodouhuken_online_mojirethu {
    top: -5px;
  }
}

/* セレクト：通常の文字設定 */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"] {
    font-weight: 400 !important;
    color: #666 !important;
}

/* 未選択時：「都道府県を選択」だけグレー */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"]:invalid {
    color: #666 !important;
}

/* プレースホルダーの選択肢もグレー */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"] option[value=""] {
    color: #666 !important;
    font-weight: 400 !important;
}

/* ほかの都道府県は #333 */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"] option:not([value=""]) {
    color: #333 !important;
    font-weight: 400 !important;
}

/* ほかの都道府県は #333 */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"]:valid {
    color: #333 !important;
    font-weight: 400 !important;
}
/* @media screen and (min-width: 767px) {
  .p-top__mailMagazine {
    width: calc(100% - 32px);
  }
} */

.p-top__mailMagazine-form #LblmktoCheckbox_134207_0 a {
    margin-right: 5px !important;
}


@media screen and (max-width: 768px) {
  .p-top__mailMagazine {
     width: calc(100% - 32px);
    height: 415px;
    margin: 10px auto 0;
  }
}

/* Marketoが指定するインラインフォントより本文の共通フォントを優先 */
.p-top__mailMagazine-form,
.p-top__mailMagazine-form :is(div, span, p, a, label, input, select, textarea, button) {
  font-family: "Noto Sans JP", sans-serif !important;
}

/* Marketoが指定するインラインフォントより本文の共通フォントを優先 */
.p-top__mailMagazine-form {
  width: 100%;
  max-width: 477px;
  margin: 0 auto;
}

/* Marketoが指定するインラインフォントより本文の共通フォントを優先 */
.p-top__mailMagazine-form .mktoRequiredField .mktoAsterix {
  display: none !important;
}

/* Marketoが指定するインラインフォントより本文の共通フォントを優先 */
.p-top__mailMagazine-form #Lbltodouhuken_online_mojirethu,
.p-top__mailMagazine-form #LblEmail span {
  display: block !important;
  font-size: 16px !important;
  margin-bottom: 5px !important;
  color: #333 !important;
  font-weight: 600 !important;
}

/* Marketoが指定するインラインフォントより本文の共通フォントを優先 */
.p-top__mailMagazine-form input[type=email],
.p-top__mailMagazine-form select.mktoField {
  width: 100% !important;
  padding: 6px 0.3em !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  min-height: 38px !important;
}

/* Marketoが指定するインラインフォントより本文の共通フォントを優先 */

.mktoForm input[type=text],
.mktoForm input[type=url],
.mktoForm input[type=email],
.mktoForm input[type=tel],
.mktoForm input[type=number],
.mktoForm input[type=date],
.mktoForm select.mktoField,
.mktoForm textarea.mktoField {
    -webkit-appearance: none;
    background-color: #fff;
    line-height: 1.5em;
    color: #000;
    border: 1px solid #aeb0b6;
    padding: 0.2em 0.3em;
    min-height: 1.9em;
    border-radius: 6px;
}

/* Marketoが指定するインラインフォントより本文の共通フォントを優先 */

.p-top__mailMagazine-form .mktoButtonRow {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  position: relative;
  top:-5px;
}
@media screen and (max-width: 768px) {
.p-top__mailMagazine-form .mktoButtonRow{
  position: relative;
  }
}

/* Marketoが指定するインラインフォントより本文の共通フォントを優先 */

.p-top__mailMagazine-form .mktoButtonRow .mktoButtonWrap {
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative;
  top: -15px;
}

/* Marketoが指定するインラインフォントより本文の共通フォントを優先 */

.mktoForm input[type="text"],
.mktoForm input[type="url"],
.mktoForm input[type="email"],
.mktoForm input[type="tel"],
.mktoForm input[type="number"],
.mktoForm input[type="date"],
.mktoForm select.mktoField,
.mktoForm textarea.mktoField {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
/* メールアドレス・配信エリアの背景 */
.p-top__mailMagazine-form .mktoFormRow:has(input[name="Email"]),
.p-top__mailMagazine-form .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) {
    width: 632px !important;
    height: 106px !important;
    box-sizing: border-box !important;
    background-color: #F2FAFE  !important;
    padding: 25px 20px !important;
    margin: 0 !important;
    /* position: static !important; */
    transform: translateX(-12%) !important;
    position: relative !important;
}
/* メールアドレス・配信エリアの背景 */

.mktoForm .mktoRadioList > label,
.mktoForm .mktoCheckboxList > label {
    margin-left: 0 !important;
}
/* メールアドレス・配信エリアの背景 */
.p-top__mailMagazine-form .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) {
    transform: translateX(-12%) translateY(-5px) !important;
}
@media screen and (max-width: 768px) {
    .p-top__mailMagazine-form .mktoFormRow:has(input[name="Email"]),
.p-top__mailMagazine-form .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) {
        width: 352px !important;
        height: 100px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        transform: none !important;
        position: relative;
        top: -7px;
    }
}


/* メールアドレスと配信エリアの間の区切り線 */
.p-top__mailMagazine-form
.mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) {
    position: relative;
}


/* メールアドレスと配信エリアの間の区切り線 */

.p-top__mailMagazine-form
.mktoFormRow:has(select[name="todouhuken_online_mojirethu"])::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 608px;
    max-width: 100%;
    border-top: 1px solid #EEEEEE;
    box-sizing: border-box;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .p-top__mailMagazine-form
    .mktoFormRow:has(select[name="todouhuken_online_mojirethu"])::before {
        width: 336px;
    }
}

@media screen and (max-width: 375px) {
    .p-top__mailMagazine-form
    .mktoFormRow:has(select[name="todouhuken_online_mojirethu"])::before {
        width: 280px;
    }
}



/* 個人情報欄の区切り線を中央に配置 */
.p-top__mailMagazine-form .mktoFormRow:has(input[name="Personal_information_consent"]) {
    position: relative !important;
    width: 100% !important;
    margin-top: 15px !important;
    padding-top: 12px !important;
    border-top: none !important;
}



/* 個人情報欄の区切り線を中央に配置 */

.p-top__mailMagazine-form .mktoFormRow:has(input[name="Personal_information_consent"])::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 632px !important;
    max-width: none !important;
    height: 0;
    border-top: 1px solid #ccc;
    box-sizing: border-box;
}

@media screen and (max-width: 375px) {
    .p-top__mailMagazine-form .mktoFormRow:has(input[name="Personal_information_consent"])::before {
        width: 352px !important;
        max-width: 100% !important;
        top: -3px !important;
    }
}
@media screen and (max-width: 768px) {
    .p-top__mailMagazine-form .mktoFormRow:has(input[name="Personal_information_consent"])::before {
        width: 352px !important;
        max-width: 100% !important;
        top: -3px !important;
    }
}



/* 個人情報欄の区切り線を中央に配置 */


.mktoForm .mktoLogicalField {
  position: relative;
  top: -25px;
}
@media screen and (max-width: 768px) {
  .p-top__mailMagazine-form .mktoFormRow:has(input[name="Personal_information_consent"]) {
    padding-top: 0 !important;
  }
  .p-top__mailMagazine-form .mktoLogicalField:has(input[name="Personal_information_consent"]) {
    position: relative;
    top: -13px;
  }
}
@media screen and (max-width: 440px) {
  .p-top__mailMagazine-form .mktoLogicalField:has(input[name="Personal_information_consent"]) {
    top: -7px;
  }
}
@media screen and (min-width: 769px) {
  /* .p-top__mailMagazine-form .mktoButtonRow {
    top: 0;
  } */
  .p-top__mailMagazine-form .mktoLogicalField:has(input[name="Personal_information_consent"]) {
    position: relative;
    top: -25px;
  }
  /* .p-top__mailMagazine-form .mktoButtonRow {
    top: 0;
  } */
  .p-top__mailMagazine-form .mktoButtonRow .mktoButtonWrap {
    top: -27px;
  }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .p-top__mailMagazine-form .mktoLogicalField:has(input[name="Personal_information_consent"]) {
    top: -13px !important;
  }
}

/* メールアドレス・配信エリアのラベル */
.p-top__mailMagazine-form #LblEmail span,
.p-top__mailMagazine-form #Lbltodouhuken_online_mojirethu {
    color: #333 !important;
    font-weight: 500 !important;
}

/* 項目の幅と配置を調整 */
.p-top__mailMagazine-form .mktoFormRow:has(input[name="Email"]) .mktoFieldWrap,
.p-top__mailMagazine-form .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) .mktoFieldWrap {
    float: none !important;
    width: 467px !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Marketo標準の余白を解除 */
.p-top__mailMagazine-form .mktoFormRow:has(input[name="Email"]) .mktoOffset,
.p-top__mailMagazine-form .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) .mktoOffset,
.p-top__mailMagazine-form .mktoFormRow:has(input[name="Email"]) .mktoGutter,
.p-top__mailMagazine-form .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) .mktoGutter {
    display: none !important;
}

/* ラベルと入力欄の配置 */
.p-top__mailMagazine-form .mktoFormRow:has(input[name="Email"]) .mktoFieldWrap,
.p-top__mailMagazine-form .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) .mktoFieldWrap {
    float: none !important;
    width: 467px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* メール・配信エリアの入力欄 */
.p-top__mailMagazine-form input[name="Email"],
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"] {
    display: block !important;
    width: 467px !important;
    max-width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
    margin: 0 !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    border: 1px solid #aeb0b6 !important;
    border-radius: 6px !important;

    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

/* メールアドレス：通常時・フォーカス時・入力後も青 */
.p-top__mailMagazine-form input[name="Email"],
.p-top__mailMagazine-form input[name="Email"]:focus,
.p-top__mailMagazine-form input[name="Email"]:active,
.p-top__mailMagazine-form input[name="Email"]:valid,
.p-top__mailMagazine-form input[name="Email"].mktoInvalid,
.p-top__mailMagazine-form input[name="Email"].mktoInvalid:focus {
    border: 1px solid #0089D4 !important;
    border-color: #0089D4 !important;
    border-style: solid !important;
    outline: none !important;
    box-shadow: none !important;
}


/* ========================================
   配信エリア：ボーダー
   初期状態：グレー
======================================== */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"] {
    border: 1px solid #DDD !important;
    border-color: #DDD !important;
    outline: none !important;
    box-shadow: none !important;
}

/* フォーカス中：青 */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"]:focus {
    border-color: #0089D4 !important;
}

/* 選択後：フォーカスが外れても青 */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"]:valid {
    border-color: #0089D4 !important;
}


/* ========================================
   配信エリア：文字色
   未選択時：#666
======================================== */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"]:invalid {
    color: #333 !important;
    font-weight: 400 !important;
}

/* 選択後：#333 */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"]:valid {
    color: #333 !important;
    font-weight: 400 !important;
}

/* 選択肢一覧：#333 */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"] option {
    color: #333 !important;
    font-weight: 400 !important;
}

/* プレースホルダー：#666 */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"] option[value=""] {
    color: #333 !important;
    font-weight: 400 !important;
}

/* メールアドレスの入力文字 */
.p-top__mailMagazine-form input[name="Email"] {
    color: #0089D4 !important;
}

/* メール・配信エリアのラベルと入力欄をまとめて右へ移動 */
.p-top__mailMagazine-form .mktoFormRow:has(input[name="Email"]) .mktoFieldWrap,
.p-top__mailMagazine-form .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) .mktoFieldWrap {
    position: relative !important;
    left: 55px !important;
    top: -5px !important;
}

@media screen and (max-width: 768px) {
    /* SP：メールアドレス・配信エリアの位置調整 */
    .p-top__mailMagazine-form .mktoFormRow:has(input[name="Email"]) .mktoFieldWrap,
.p-top__mailMagazine-form .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) .mktoFieldWrap {
        left: 5px !important;
        top: -5px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}
@media screen and (max-width: 768px) {
    .p-top__mailMagazine-form .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) {
        top: -12px;
    }
}

@media screen and (max-width: 768px) {
    /* 配信エリアのラベルと入力欄を少し上へ */
    .p-top__mailMagazine-form
    .mktoFormRow:has(select[name="todouhuken_online_mojirethu"])
    .mktoFieldWrap {
        top: -15px !important;
    }
}
@media screen and (max-width: 768px) {
    .p-top__mailMagazine-form input[name="Email"],
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"] {
        width: 328px !important;
        max-width: 100% !important;
        height: 36px !important;
        min-height: 36px !important;
        box-sizing: border-box !important;
    }
}

@media screen and (max-width: 375px) {
    #mktoForm_11670 input#Email,
#mktoForm_11670 select#todouhuken_online_mojirethu {
        width: 100px !important;
        min-width: 260px !important;
        max-width: 200px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        box-sizing: border-box !important;
        display: block !important;
    }
}
@media screen and (max-width: 375px) {
    #mktoForm_11670 input#Email,
#mktoForm_11670 select#todouhuken_online_mojirethu {
        transform: translateX(-9px) !important;
    }
}


/* .p-top__mailMagazine-form .mktoButtonRow .mktoButtonWrap {
  margin-left: 141.5px !important;
}
@media screen and (max-width: 767px) {
  .p-top__mailMagazine-form .mktoButtonRow .mktoButtonWrap {
    margin-left: 130px !important;
  }
}
@media screen and (max-width: 480px) {
  .p-top__mailMagazine-form .mktoButtonRow .mktoButtonWrap {
    margin-left: 61px !important;
  }
}
@media screen and (max-width: 375px) {
  .p-top__mailMagazine-form .mktoButtonRow .mktoButtonWrap {
    margin-left: 50.5px !important;
  }
} */
.p-top__mailMagazine-form .mktoButtonWrap.mktoInset .mktoButton {
    width: 128px !important;
    height: 44px;
    color: #666;
    background-color: #B7E5F8 !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 8px  !important;
    border: none !important;
    font-weight: bold !important;
    font-size: 16px !important;
    border-radius: 4px;
    white-space: nowrap !important;
    word-break: keep-all !important;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .p-top__mailMagazine-form .mktoButtonWrap.mktoInset .mktoButton {
        position: relative !important;
    }
}
@media screen and (max-width: 768px) {
    .p-top__mailMagazine-form .mktoCheckboxList input[name="Personal_information_consent"] {
        position: relative !important;
        top: 15px !important;
    }
}
@media only screen and (max-width: 768px) {
    .mktoForm .mktoRadioList,
.mktoForm .mktoCheckboxList {
       position: relative !important;
        top: 5px !important;
    }
  }
/* 有効状態：配信申込みボタン */
.p-top__mailMagazine-form .mktoButtonWrap.mktoInset .mktoButton:not(.is-inactive):not(:disabled) {
    background-color: #0089d4 !important;
    background-image: none !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 4px;
}
/* 有効状態：配信申込みボタン */

.p-top__mailMagazine-form .mktoErrorMsg {
    white-space: nowrap !important;
}
/* 有効状態：配信申込みボタン */
.p-top__mailMagazine-form .mktoForm .mktoError .mktoErrorMsg,
.p-top__mailMagazine-form .mktoError .mktoErrorMsg {
    max-width: 30em !important;
}

/* エラー表示全体を前面に */
.p-top__mailMagazine-form .mktoError {
    z-index: 9999 !important;
}

/* エラー表示全体を前面に */
.p-top__mailMagazine-form .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) {
    position: relative !important;
    z-index: 2 !important;
}
/* エラーメッセージ */
.p-top__mailMagazine-form .mktoError .mktoErrorMsg {
    position: relative !important;
    z-index: 10000 !important;
    max-width: 30em !important;
    white-space: nowrap !important;
}
/* フォームの各行の重なり順を調整 */
.p-top__mailMagazine-form .mktoFormRow {
    position: relative !important;
    z-index: 1 !important;
}

/* エラーが表示されている行を最前面に */
.p-top__mailMagazine-form .mktoFormRow:has(.mktoError) {
    z-index: 100 !important;
}

/* エラーメッセージ */
.p-top__mailMagazine-form .mktoError {
    z-index: 999999 !important;
}

/* エラーメッセージ */

.p-top__mailMagazine-form .mktoError .mktoErrorMsg {
    max-width: 30em !important;
    white-space: nowrap !important;
}

/* チェックボックスの位置と見た目を固定 */
.p-top__mailMagazine-form .mktoCheckboxList input[name="Personal_information_consent"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-block !important;
    position: relative !important;
    top: 4px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 0 6px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    vertical-align: middle !important;
}

/* チェック時の青背景 */
.p-top__mailMagazine-form .mktoCheckboxList input[name="Personal_information_consent"]:checked {
    background: #0089d4 !important;
    border-color: #0089d4 !important;
}

/* 白いチェックマーク */
.p-top__mailMagazine-form .mktoCheckboxList input[name="Personal_information_consent"]:checked::after {
    content: "" !important;
    position: absolute !important;
    left: 5px !important;
    top: 1px !important;
    width: 5px !important;
    height: 9px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}
/* 個人情報チェックボックスのラベル位置 */
.p-top__mailMagazine-form .mktoCheckboxList input[type="checkbox"] + label {
    position: relative !important;
}

/* 通常時のチェックボックス */
.p-top__mailMagazine-form .mktoCheckboxList input[type="checkbox"] + label:before {
    background: #fff !important;
    border: 1px solid #ccced2 !important;
    box-shadow: none !important;
}

/* チェック時：青背景 */
.p-top__mailMagazine-form .mktoCheckboxList input[type="checkbox"]:checked + label:before {
    background: #0089d4 !important;
    border-color: #0089d4 !important;
    box-shadow: none !important;
}

/* チェック時：白いチェックマーク */
.p-top__mailMagazine-form .mktoCheckboxList input[type="checkbox"]:checked + label:after {
    content: "✓" !important;
    position: absolute !important;
    left: -1.5em !important;
    top: 0 !important;
    width: 1em !important;
    height: 1em !important;
    color: #fff !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 13px !important;
    font-weight: bold !important;
    line-height: 1em !important;
    text-align: center !important;
    pointer-events: none !important;
}
@media screen and (max-width: 768px) {
    .p-top__mailMagazine-form .mktoCheckboxList input[name="Personal_information_consent"] {
        top: 19px !important;
    }
}
/* ラベルは元の位置を維持 */
.p-top__mailMagazine-form .mktoCheckboxList label {
    position: static !important;
}

/* Marketoの同意チェック本体だけを文字位置に合わせて下げる */
#mktoForm_11670 .mktoLogicalField input[type="checkbox"][name="Personal_information_consent"] {
    transform: translateY(3.5px) !important;
}

/* Marketoの同意チェック本体だけを文字位置に合わせて下げる */
#mktoForm_11670 #mktoCheckbox_134207_0 + label::before,
#mktoForm_11670 #mktoCheckbox_134207_0 + label::after {
    translate: 0 3.5px !important;
}
@media screen and (max-width: 768px) {
    #mktoForm_11670 .mktoLogicalField input[type="checkbox"][name="Personal_information_consent"] {
        transform: translate(4px, 3.5px) !important;
    }
    #mktoForm_11670 #mktoCheckbox_134207_0 + label::before,
#mktoForm_11670 #mktoCheckbox_134207_0 + label::after {
        translate: 4px 3.5px !important;
    }
}

/* Marketoの同意チェック本体だけを文字位置に合わせて下げる */

.p-top__mailMagazine-form input.mktoField.mktoInvalid,
.p-top__mailMagazine-form textarea.mktoField.mktoInvalid,
.p-top__mailMagazine-form select.mktoField.mktoInvalid,
.p-top__mailMagazine-form .mktoLogicalField.mktoInvalid {
  border: transparent 1px solid !important;
}

/* Marketoの同意チェック本体だけを文字位置に合わせて下げる */
.p-top__mailMagazine-form .mktoRequired {
  font-size: 14px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
}

/* Marketoの同意チェック本体だけを文字位置に合わせて下げる */
.p-top__mailMagazine-form .mktoForm .mktoFormRow {
  display: flex !important;
  justify-content: center !important;
}

/* Marketoの同意チェック本体だけを文字位置に合わせて下げる */
.p-top__mailMagazine-form input[type=checkbox] + label,
.p-top__mailMagazine-form input[type=radio] + label {
  position: relative;
}

/* Marketoの同意チェック本体だけを文字位置に合わせて下げる */
.p-top__mailMagazine-form input[type=checkbox] + label:before,
.p-top__mailMagazine-form input[type=radio] + label:before {
  content: "";
  position: absolute;
  width: 1em;
  height: 1em;
  margin-left: -1.5em;
  line-height: 1em;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  border: 1px solid #ccced2;
  background: #fff;
}

/* Marketoの同意チェック本体だけを文字位置に合わせて下げる */
.p-top__mailMagazine-form input[type=checkbox] + label:before {
  box-shadow: none !important;
  border-radius: 2px !important;
}

/* Marketoの同意チェック本体だけを文字位置に合わせて下げる */
.p-top__mailMagazine-form input[type=checkbox]:checked + label:before {
  content: "✓";
}

/* Marketoの同意チェック本体だけを文字位置に合わせて下げる */
.p-top__mailMagazine-form input[type=checkbox]:checked + label:before,
.p-top__mailMagazine-form input[type=radio]:checked + label:before {
  text-align: center;
}

/* Marketoの同意チェック本体だけを文字位置に合わせて下げる */
.p-top__mailMagazine-form input[type=checkbox]:checked + label:before {
  color: #0089d4;
}
@media screen and (max-width: 480px) {
  .p-top__mailMagazine-form .mktoFormCol .mktoLabel {
    text-align: left !important;
    width: 100% !important;
  }
  .p-top__mailMagazine-form .mktoFormRow .mktoField {
    clear: left !important;
  }
  .p-top__mailMagazine-form select.mktoField {
    height: auto !important;
  }
  .p-top__mailMagazine-form .mktoFieldWrap {
    float: none !important;
  }
}
@media screen and (max-width: 768px) {
  .p-top__mailMagazine-form {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
    .p-top__mailMagazine-form #LblmktoCheckbox_134207_0 a {
        padding-right: 0 !important;
    }
}

/* 都道府県の標準矢印を非表示 */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: none !important;
    background: #fff !important;
}

/* IE系の標準矢印を非表示 */
.p-top__mailMagazine-form select[name="todouhuken_online_mojirethu"]::-ms-expand {
    display: none !important;
}


/* 矢印を配置する親要素 */
.p-top__mailMagazine-form
.mktoFormRow:has(select[name="todouhuken_online_mojirethu"])
.mktoFieldWrap {
    position: relative !important;
}

/* カスタム矢印（∨） */
.p-top__mailMagazine-form
.mktoFormRow:has(select[name="todouhuken_online_mojirethu"])
.mktoFieldWrap::after {
    content: "";
    position: absolute;
    top: 75%;
    right: 14px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #666;
    border-right: 2px solid #666;
    transform: translateY(-70%) rotate(135deg);
    pointer-events: none;
}

.p-top__mailMagazine-form .mktoFormRow a[href*="privacy_agreement"] {
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.p-top__mailMagazine-form input.mktoField.mktoInvalid {
    border: 1px solid #0089D4 !important;
}
@media screen and (min-width: 441px) and (max-width: 768px) {
  .p-top__mailMagazine #mktoForm_11670 .mktoFormRow:has(input[name="Email"]),
.p-top__mailMagazine #mktoForm_11670 .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) {
    width: 92% !important;
    max-width: 352px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  .p-top__mailMagazine #mktoForm_11670 .mktoFormRow:has(input[name="Email"]) .mktoFormCol,
.p-top__mailMagazine #mktoForm_11670 .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) .mktoFormCol,
.p-top__mailMagazine #mktoForm_11670 .mktoFormRow:has(input[name="Email"]) .mktoFieldWrap,
.p-top__mailMagazine #mktoForm_11670 .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) .mktoFieldWrap {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    left: 0 !important;
    box-sizing: border-box !important;
  }
  .p-top__mailMagazine #mktoForm_11670 label[for="Email"],
.p-top__mailMagazine #mktoForm_11670 label[for="todouhuken_online_mojirethu"] {
    display: block !important;
    float: none !important;
    width: 100% !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }
  .p-top__mailMagazine #mktoForm_11670 input[name="Email"],
.p-top__mailMagazine #mktoForm_11670 select[name="todouhuken_online_mojirethu"] {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
@media screen and (max-width: 768px) {
  .p-top__mailMagazine-form .mktoButtonRow .mktoButtonWrap {
    top: 0;
  }
}
@media screen and (min-width: 550px) and (max-width: 768px) {
  .p-top__mailMagazine-form .mktoButtonRow {
    top: -25px;
  }
}
@media screen and (min-width: 481px) and (max-width: 549px) {
  .p-top__mailMagazine-form .mktoButtonRow {
    top: -25px;
  }
}
@media screen and (max-width: 480px) {
  .p-top__mailMagazine-form .mktoButtonRow {
    position: relative !important;
    top: -3px !important;
  }
}
@media screen and (min-width: 480px) and (max-width: 540px) {
  .p-top__mailMagazine #mktoForm_11670 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  .p-top__mailMagazine #mktoForm_11670 .mktoFormRow:has(input[name="Email"]),
.p-top__mailMagazine #mktoForm_11670 .mktoFormRow:has(select[name="todouhuken_online_mojirethu"]) {
    float: none !important;
    clear: both !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media screen and (min-width: 481px) and (max-width: 506px) {
  .p-top__mailMagazine-form .mktoLogicalField:has(input[name="Personal_information_consent"]) {
    left: clamp(-30px, calc(120vw - 607.2px), 0px);
  }
}

/* Marketoの同意チェックはlabelの疑似要素が見た目を描画するため、inputと一緒に位置を調整 */
#mktoForm_11670 .mktoLogicalField input[type="checkbox"][name="Personal_information_consent"] {
  transform: translateY(2.5px) !important;
}

/* Marketoの同意チェックはlabelの疑似要素が見た目を描画するため、inputと一緒に位置を調整 */
#mktoForm_11670 #mktoCheckbox_134207_0 + label::before,
#mktoForm_11670 #mktoCheckbox_134207_0 + label::after {
  translate: 0 2.5px !important;
}
@media screen and (max-width: 768px) {
  #mktoForm_11670 .mktoLogicalField input[type="checkbox"][name="Personal_information_consent"] {
    transform: translate(4px, 2.5px) !important;
  }
  #mktoForm_11670 #mktoCheckbox_134207_0 + label::before,
#mktoForm_11670 #mktoCheckbox_134207_0 + label::after {
    translate: 4px 2.5px !important;
  }
}
