@charset "utf-8";

/* /corp/document/service/direct/ 向けレイアウト上書き（共通 service.css は変更しない） */

@media screen and (min-width: 1200px) {
  /* Bizフォーム同様: 資料説明を相対的に狭く、入力欄を広く */
  .document-max-size .container-fluid>.row {
    grid-template-columns: minmax(0, 1fr) 640px;
  }

  .col-md-8 {
    min-width : 0;
    overflow-x: hidden;
  }

  .col-md-4 {
    max-width : 640px;
    min-width : 0;
    overflow-x: hidden;
  }
}

@media only screen and (min-width: 1200px) {
  .sticky__inner {
    width    : 100%;
    max-width: 560px;
    min-width: 0;
  }

  /* Marketoのインライン幅でカラムが壊れないようにする */
  .form-service .mktoForm,
  #content_area_right .mktoForm {
    width     : 100% !important;
    max-width : 100% !important;
    min-width : 0 !important;
    box-sizing: border-box !important;
  }

  #content_area_right .mktoForm .mktoFormRow,
  #content_area_right .mktoForm .mktoFormCol,
  #content_area_right .mktoForm .mktoFieldWrap,
  #content_area_right .mktoForm .mktoField,
  #content_area_right .mktoForm input,
  #content_area_right .mktoForm select,
  #content_area_right .mktoForm textarea,
  #content_area_right .mktoForm .mktoLogicalField {
    max-width : 100% !important;
    box-sizing: border-box !important;
  }
}

.mktoForm .mktoFormCol {
  margin-bottom: 10px !important;
}