/*
 * SP contact Visual Master lock.
 * Source: backup/index.pre-phase1.html and the identical approved mobile
 * declarations in fv-performance65.css / fv-performance66.css.
 * The current single form DOM and all functional attributes remain untouched.
 */
@media (max-width: 600px) {
  body.sp-phase2-active #contact.pc-contact-v2 {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 390px !important;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #262626 !important;
    background: #fff !important;
    box-shadow: none !important;
    clip-path: none !important;
    font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  }

  body.sp-phase2-active #contact.pc-contact-v2 *,
  body.sp-phase2-active #contact.pc-contact-v2 *::before,
  body.sp-phase2-active #contact.pc-contact-v2 *::after {
    box-sizing: border-box;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-header {
    position: relative !important;
    inset: auto !important;
    width: 390px !important;
    max-width: 100%;
    height: 167px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    text-align: center;
    transform: none !important;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-header > span {
    display: block !important;
    position: absolute;
    left: 79px;
    top: 23px;
    width: 232px;
    height: 128px;
    background: rgba(255, 249, 211, .72);
    clip-path: polygon(0 48%, 45% 20%, 92% 6%, 70% 100%, 43% 75%);
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-header > span::before {
    content: "";
    position: absolute;
    left: 55px;
    top: 4px;
    width: 170px;
    height: 111px;
    border: 1px solid rgba(49, 178, 210, .16);
    clip-path: polygon(30% 0, 100% 40%, 72% 100%, 0 65%);
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-header h2 {
    position: relative;
    margin: 55px 0 0 !important;
    color: #262626 !important;
    font-size: 32px !important;
    font-weight: 900;
    line-height: 46px;
    letter-spacing: .2px;
    white-space: nowrap;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-header p {
    position: relative !important;
    width: 40px !important;
    margin: 0 auto !important;
    padding: 0 0 4px !important;
    border-bottom: 1px solid #555;
    color: #262626;
    font-family: Oswald, "Arial Narrow", sans-serif;
    font-size: 11px !important;
    font-weight: 300;
    line-height: 18px;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-lead {
    display: none;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-form {
    position: relative !important;
    inset: auto !important;
    display: block;
    width: 390px !important;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 29px 15px 52px !important;
    transform: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f3f3f3 !important;
    box-shadow: none !important;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row,
  body.sp-phase2-active #contact.pc-contact-v2 fieldset.pc-contact-row {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 360px !important;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 30px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row > label,
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row > legend {
    display: block;
    width: 100%;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: #262626;
    font-size: 18px !important;
    font-weight: 900;
    line-height: 25px !important;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row > label b,
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row > legend b {
    display: inline;
    margin-left: 12px;
    padding: 0;
    border-radius: 0;
    color: #b13b3b !important;
    background: transparent !important;
    font-size: 14px;
    font-weight: 800;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row > legend b.is-optional {
    color: #626262 !important;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row input[type="text"],
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row input[type="email"],
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row input[type="tel"],
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row input[type="url"],
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row select,
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row textarea {
    display: block;
    width: 360px !important;
    max-width: 100%;
    min-height: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 0 !important;
    outline: 0;
    color: #333;
    background: #fff !important;
    box-shadow: none;
    font: 500 17px/1.6 "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row input[type="text"],
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row input[type="email"],
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row input[type="tel"],
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row input[type="url"] {
    height: 60px;
    padding: 0 20px;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row input:focus,
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row select:focus,
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row textarea:focus {
    border-color: #31b2d2 !important;
    box-shadow: 0 0 0 2px rgba(49, 178, 210, .18);
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row-url small,
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-region-field small {
    display: block;
    margin-top: 8px;
    color: #b13b3b !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 19px;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-region-field,
  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-method-field {
    display: block;
    width: 100%;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-select-wrap {
    position: relative;
    width: 240px;
    max-width: 100%;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-select-wrap::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 25px;
    width: 0;
    height: 0;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    border-top: 9px solid #555;
    pointer-events: none;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row select {
    width: 240px !important;
    height: 58px;
    padding: 0 48px 0 20px;
    appearance: none;
    font-size: 17px;
    cursor: pointer;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-options {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-options label {
    position: relative;
    display: flex;
    min-height: 32px;
    align-items: center;
    color: #262626;
    font-size: 17px !important;
    font-weight: 500;
    line-height: 25px;
    cursor: pointer;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-options input[type="radio"] {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-options span {
    position: relative;
    padding-left: 31px;
    pointer-events: none;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-options span::before {
    content: "";
    position: absolute;
    left: 11.5px;
    top: 12.5px;
    width: 23px;
    height: 23px;
    border: 1px solid #aaa;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-options input:checked + span::after {
    content: "";
    position: absolute;
    left: 11.5px;
    top: 12.5px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #31b2d2;
    transform: translate(-50%, -50%);
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-row textarea {
    height: 200px;
    padding: 18px 20px;
    resize: vertical;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-method-field small {
    display: block;
    margin-top: 9px;
    color: #666;
    font-size: 12px;
    font-weight: 600;
    line-height: 19px;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-status {
    min-height: 20px;
    margin: 0 0 8px;
    color: #078ba7;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-privacy {
    display: flex;
    width: 360px;
    max-width: 100%;
    margin: 20px 0 12px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #262626;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    cursor: pointer;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-privacy input {
    width: 20px !important;
    height: 20px !important;
    min-height: 0 !important;
    margin: 0;
    accent-color: #078ba7;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-privacy a {
    color: #006f88 !important;
    text-underline-offset: 3px;
  }

  body.sp-phase2-active #contact.pc-contact-v2 .pc-contact-submit {
    display: block;
    width: 360px !important;
    max-width: 100%;
    height: 66px;
    min-height: 66px !important;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 4px solid #897d12;
    border-radius: 0 !important;
    color: #262626 !important;
    background: #ffe730 !important;
    box-shadow: none;
    font-size: 22px !important;
    font-weight: 900;
    line-height: 62px;
    cursor: pointer;
  }
}
