/* Marketo Forms Custom Styles */
.mktoForm {
    width: 100% !important;
  }
  .mktoForm .mktoOffset {
    display: none;
  }
  .mktoForm .mktoFormRow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  @media screen and (max-width: 767px) {
    .mktoForm .mktoFormRow {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
    }
  }
  .mktoForm .mktoFormCol {
    width: 100%;
    margin-bottom: 20px !important;
  }
  .mktoForm .mktoFormCol + .mktoFormCol {
    margin-left: 30px;
  }
  @media screen and (max-width: 767px) {
    .mktoForm .mktoFormCol + .mktoFormCol {
      margin-left: 0;
    }
  }
  .mktoForm .mktoFieldWrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-preferred-size: 1;
    flex-basis: 1;
    width: 100%;
  }
  .mktoForm .mktoGutter {
    display: none;
  }
  .mktoForm .mktoLabel {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    width: 100% !important;
  }
  .mktoForm .mktoRequiredField .mktoLabel:after {
    content: "必須";
    margin-left: 10px;
    background-color: #999;
    font-weight: 400;
    display: inline-block;
    color: #fff;
    padding: 2px 5px;
    line-height: 1.4;
    font-size: 11px;
  }
  .mktoForm .mktoAsterix {
    display: none !important;
  }
  
  /* Text inputs and textareas only - exclude checkbox and radio */
  .mktoField:not([type="checkbox"]):not([type="radio"]) {
    background-color: #fff;
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 0.375rem; /* rounded-md */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    font-size: 14px !important;
    width: 100% !important;
    height: 2.5rem !important; /* h-10 = 40px */
    padding: 0.625rem 0.75rem !important; /* py-2.5 px-3 */
  }
  .mktoField[type="textarea"],
  textarea.mktoField {
    height: auto !important;
    min-height: 6rem !important;
  }
  .mktoField:not([type="checkbox"]):not([type="radio"]):focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: #3b82f6; /* blue-500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }
  
  /* Checkbox and Radio specific styles */
  .mktoField[type="checkbox"],
  .mktoField[type="radio"] {
    width: auto !important;
    height: auto !important;
    margin-right: 0.5rem;
    vertical-align: middle;
  }
  .mktoField::-webkit-input-placeholder {
    color: #999;
  }
  .mktoField::-moz-placeholder {
    color: #999;
  }
  .mktoField:-ms-input-placeholder {
    color: #999;
  }
  .mktoField::-ms-input-placeholder {
    color: #999;
  }
  .mktoField::placeholder {
    color: #999;
  }
  
  .mktoHtmlText {
    width: 100% !important;
  }
  .mktoHtmlText div {
    text-align: center !important;
  }
  .mktoHtmlText a {
    text-decoration: underline;
    color: #222 !important;
  }
  .mktoHtmlText span {
    font-size: 12px !important;
    text-align: center;
  }
  
  .mktoButtonWrap {
    margin-left: 0 !important;
  }
  
  .mktoButtonRow {
    text-align: center !important;
    width: 100%;
  }
  
  .mktoButton {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    background-color: #b91c1c; /* red-700 */
    color: #fff !important;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 14px; /* text-base */
    line-height: 1.25;
    text-decoration: none !important;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem; /* rounded */
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.06), 0px 1px 3px 0px rgba(0, 0, 0, 0.1); /* shadow-sm */
    -webkit-transition: background-color 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out;
    cursor: pointer;
  }
  .mktoButton:hover {
    background-color: #991b1b !important; /* red-800 */
    color: #fff !important;
  }
  .mktoButton:disabled {
    background-color: #d1d5db !important; /* gray-300 */
    cursor: not-allowed !important;
  }
  .mktoButton:disabled:hover {
    background-color: #d1d5db !important; /* gray-300 */
  }
  
  .mktoForm .mktoError .mktoErrorMsg {
    background-image: none !important;
    background-color: #EF3340 !important;
    text-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border-color: #EF3340 !important;
  }
  
  .mktoForm .mktoError .mktoErrorArrow {
    background-color: #EF3340 !important;
    border-color: #EF3340 !important;
  }
  
  .mktoForm .mktoCheckboxList,
  .mktoForm .mktoRadioList {
    width: 100% !important;
  }
  .mktoForm .mktoCheckboxList .mktoField,
  .mktoForm .mktoRadioList .mktoField {
    width: auto !important;
    height: auto !important;
    margin-top: 2px;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }
  .mktoForm .mktoCheckboxList > label,
  .mktoForm .mktoRadioList > label {
    margin: 0 0 10px 20px !important;
  }