@charset "utf-8";
/* IRMAILバイオ 資料請求フォーム共通CSS。
   共通CSSを変えずに、フォーム専用のスタイルを適用する。 */ :root {
  --ir-green: #25883e;
  --ir-bright: #43aa62;
  --ir-dark: #1e703b;
  --ir-ink: #263e30;
  --ir-muted: #607666;
  --ir-line: #d6e6db;
  --ir-canvas: #f2f7f3;
}
html {
  min-height: 100%
}
body.irmail-form-page {
  background: var(--ir-canvas);
  overflow-x: clip;
  color: var(--ir-ink)
}
body.irmail-form-page #wrapper {
  background: transparent
}
body.irmail-form-page #form.ir-form-layout {
  width: min(1120px, calc(100% - 32px));
  max-width: 1120px;
  margin: 0 auto 64px;
  padding: 0;
  height: auto;
  background: transparent
}
body.irmail-form-page #seikyu_wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible
}
body.irmail-form-page #mainForm.ir-form-modern {
  width: 100%;
  max-width: none;
  background: transparent;
  color: var(--ir-ink);
  font-size: 16px;
  line-height: 1.7;
  overflow: visible
}
body.irmail-form-page #mainForm.ir-form-modern *, body.irmail-form-page #mainForm.ir-form-modern *::before, body.irmail-form-page #mainForm.ir-form-modern *::after {
  box-sizing: border-box
}
/* ヒーロー：文字はコンテンツ幅、背景は画面幅いっぱい */
.ir-form-modern .ir-hero {
  position: relative;
  isolation: isolate;
  padding: 48px 0px;
  color: #fff;
  background: transparent;
  margin: 0 0 0
}
.ir-form-modern .ir-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background: radial-gradient(circle at 82% 12%, rgba(255, 255, 255, .16), transparent 20%), linear-gradient(115deg, #22783d 0%, #329651 48%, #65b879 100%)
}
.ir-form-modern .ir-hero__title {
  display: block;
  position: static;
  color: #fff;
  border: 0;
  padding: 0;
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.45;
  font-weight: 700
}
.ir-form-modern .ir-hero__title::after {
  content: none;
  display: none
}
.ir-form-modern .ir-hero__rule {
  height: 2px;
  background: rgba(255, 255, 255, .63);
  margin-bottom: 17px
}
.ir-form-modern .ir-hero__issue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap
}
.ir-form-modern .ir-hero__issue p {
  margin: 0;
  color: #fff;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  line-height: 1.6
}
.ir-form-modern .ir-hero__issue .ir-hero__deadline {
  font-size: 16px
}
.ir-form-modern .ir-steps {
  display: flex;
  gap: 0;
  justify-content: space-between;
  margin: 0 0 23px;
  padding: 16px 24px;
  background: #fff;
  border: 1px solid var(--ir-line);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 8px rgba(16, 67, 35, .035)
}
.ir-form-modern .ir-steps span {
  display: block;
  color: #446653;
  font-size: 14px;
  flex: 1;
  text-align: center;
  border-right: 1px solid #dae8dd
}
.ir-form-modern .ir-steps span:last-child {
  border-right: none
}
.ir-form-modern .ir-steps b {
  color: var(--ir-green);
  font-size: 12px;
  margin-right: 7px
}
/* 3ステップの白いカード */
.ir-form-modern .ir-card {
  margin: 0 0 22px;
  padding: 25px 27px 29px;
  background: #fff;
  border: 1px solid var(--ir-line);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(38, 79, 49, .055)
}
.ir-form-modern .ir-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px
}
.ir-form-modern .ir-card__heading {
  display: flex;
  align-items: center;
  gap: 10px
}
.ir-form-modern .ir-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 29px;
  background: var(--ir-green);
  border-radius: 5px;
  color: white;
  font-weight: 700;
  font-size: 13px
}
.ir-form-modern .ir-card__title {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: #205633;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.5;
  position: static
}
.ir-form-modern .ir-card__title::after {
  display: none;
  content: none
}
.ir-form-modern .ir-card__count {
  color: var(--ir-muted);
  font-size: 14px
}
.ir-form-modern .ir-card__intro {
  margin: 0 0 21px;
  color: #587263;
  font-size: 15px;
  line-height: 1.8
}
/* 商品情報 */
.ir-form-modern .ir-products {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 11px
}
.ir-form-modern .ir-product {
  display: block;
  min-width: 0;
  border: 1px solid #d8e5d9;
  border-radius: 9px;
  background: #fff;
  overflow: hidden
}
.ir-form-modern .ir-product__info {
  padding: 15px 18px 13px;
  min-width: 0
}
.ir-form-modern .ir-product__heading {
  display: flex;
  gap: 3px 7px;
  flex-wrap: wrap;
  align-items: baseline;
  min-width: 0
}
.ir-form-modern .ir-product__company {
  font-size: 16px;
  font-weight: 600;
  color: #2e4433;
  overflow-wrap: anywhere
}
.ir-form-modern .ir-product__name {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #247f43;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
  min-width: 0
}
.ir-form-modern .ir-product__name:hover {
  color: #145e2e;
  opacity: 1;
  text-decoration: underline
}
.ir-form-modern .ir-product__name img {
  align-self: center;
  display: inline-block;
  flex: none;
  width: 18px;
  height: auto;
  vertical-align: middle
}

/* 科研費申請用・総合カタログ希望があるときは下記使う */
/*
.ir-form-modern .ir-product__options {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  column-gap: 16px;
  row-gap: 11px;
  padding: 13px 17px;
  background: #f2f8f3;
  min-width: 0
}
*/
/* ↑ここまで↑ */

/* 通常は下記使う */
.ir-form-modern .ir-product__options {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    column-gap: 46px;
    row-gap: 11px;
    padding: 13px 17px;
    background: #f2f8f3;
    min-width: 0;
}

.ir-form-modern .ir-product__options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  font-weight: 400;
  font-size: 13px;
  color: #344d3d;
  line-height: 1.55;
  white-space: nowrap;
  cursor: pointer
}
.ir-form-modern .ir-product__options input {
  width: 16px;
  height: 16px;
  flex: none;
  margin: 0;
  accent-color: #228746
}
.ir-form-modern .ir-product__toggle {
  display: none
}
/* プレゼント */
.ir-form-modern .ir-gifts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px
}
.ir-form-modern .ir-gift {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 22px 21px;
  margin: 0;
  border: 1px solid #d1e3d4;
  border-radius: 9px;
  background: #f3f9f4;
  cursor: pointer;
  min-width: 0;
  transition: border-color .15s, background .15s
}
.ir-form-modern .ir-gift:has(input:checked) {
  border-color: #2e9251;
  background: #eaf7ed;
  box-shadow: 0 0 0 1px #2e9251 inset
}
.ir-form-modern .ir-gift__top {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  color: #277945;
  font-size: 16px
}
.ir-form-modern .ir-gift__top input {
  width: 18px;
  height: 18px;
  accent-color: #25883e;
  margin: 0
}
.ir-form-modern .ir-gift__top b {
  font-size: 17px
}
.ir-form-modern .ir-gift__count {
  margin-left: auto;
  padding: 2px 9px;
  background: #dbeee0;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #236839
}
.ir-form-modern .ir-gift__visual {
  font-size: 39px;
  line-height: 1.4;
  align-self: center;
  padding: 12px 0 5px
}
.ir-form-modern .ir-gift strong {
  font-size: 17px;
  color: #304a36;
  line-height: 1.6
}
.ir-form-modern .ir-gift__detail {
  font-size: 15px;
  color: #5b6f5f
}
.ir-form-modern .ir-gift-no {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 17px 0 0;
  cursor: pointer;
  font-size: 15px;
  color: #42604a
}
.ir-form-modern .ir-gift-no input {
  width: 16px;
  height: 16px;
  accent-color: #25883e;
  margin: 0
}
.ir-form-modern .ir-gift-notice {
  font-size: 13px;
  color: #64746a;
  line-height: 1.85;
  border-top: 1px solid #e1e9e2;
  margin-top: 20px;
  padding-top: 16px
}
.ir-form-modern .ir-gift-notice b {
  color: #385a3f
}
.ir-form-modern .ir-gift-notice p {
  margin: 8px 0 0
}
.ir-form-modern .ir-gift-notice a {
  color: #257c43
}
/* お客様情報：旧フォームのnameやidは変えずに見た目のみ */
.ir-form-modern .seikyu, .ir-form-modern .inq, .ir-form-modern .inq-box {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  float: none;
  border: 0
}
.ir-form-modern .inq.inq-box {
  display: grid;
  grid-template-columns: minmax(0, 225px) minmax(0, 1fr);
  align-items: stretch;
  gap: 0
}
.ir-form-modern .inq-pattern2a, .ir-form-modern .inq-pattern3a {
  grid-column: 1;
  background: #f4f8f5;
  border-bottom: 1px solid #e0eae2;
  padding: 16px 14px;
  margin: 0;
  font-size: 15px;
  color: #304c36;
  line-height: 1.65;
  min-height: 62px
}
.ir-form-modern .inq-pattern2b, .ir-form-modern .inq-pattern3b {
  grid-column: 2;
  border-bottom: 1px solid #e0eae2;
  padding: 11px 14px;
  min-width: 0;
  min-height: 62px;
  width: 100%;
  margin: 0;
  background: #fff
}
.ir-form-modern .inq.inq-box > p {
  grid-column: 1/-1;
  font-size: 13px;
  line-height: 1.8;
  margin: 18px 0 0;
  color: #607366
}
.ir-form-modern .inq-pattern2a .red, .ir-form-modern .inq-pattern3a .red {
  display: inline-block;
  margin-left: 7px;
  color: #b84647;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap
}
.ir-form-modern .inq-pattern2b input[type=text], .ir-form-modern .inq-pattern3b input[type=text], .ir-form-modern .inq-pattern2b select, .ir-form-modern .inq-pattern3b select, .ir-form-modern textarea {
  max-width: 100%;
  min-height: 41px;
  height: auto;
  border: 1px solid #cddbd0;
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
  padding: 8px 10px;
  font-size: 15px;
  color: #2e4935;
  line-height: 1.5;
  margin: 0
}
.ir-form-modern .inq-pattern2b input.full, .ir-form-modern .inq-pattern2b select.half, .ir-form-modern textarea.full {
  width: 100%
}
.ir-form-modern .inq-pattern3b input.one-third {
  width: 27%;
  min-width: 70px;
  max-width: 140px
}
.ir-form-modern .inq-pattern2b input:focus, .ir-form-modern .inq-pattern3b input:focus, .ir-form-modern .inq-pattern2b select:focus, .ir-form-modern textarea:focus {
  outline: 2px solid #8acda0;
  outline-offset: 1px;
  border-color: #4fa36a
}
.ir-form-modern .inq-pattern2b input[name^="役職名"] {
  margin-top: 8px
}
.ir-form-modern .inq-pattern2b span, .ir-form-modern .inq-pattern3b span {
  font-size: 12px
}
.ir-form-modern .ir-submit {
  display: flex;
  justify-content: center;
  margin: 30px 0 10px
}
.ir-form-modern .ir-submit button {
  min-height: 61px;
  width: min(380px, 100%);
  padding: 13px 24px;
  border-radius: 7px;
  border: 0;
  background: #288e49;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(41, 123, 60, .16)
}
.ir-form-modern .ir-submit button:hover {
  background: #1a753a
}
/* エラー表示 */
.ir-form-modern .ir-error {
  padding: 11px 14px;
  margin: 10px 0 15px;
  color: #a52c3b;
  background: #fff4f4;
  border: 1px solid #e8a6ab;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600
}
.ir-form-modern [hidden] {
  display: none !important
}
.ir-form-modern .ir-has-error input, .ir-form-modern .ir-has-error select {
  border-color: #d9686d !important;
  background: #fffafa !important
}
.ir-form-modern .ir-field-error {
  margin: 7px 0 0;
  color: #ad3941;
  font-size: 13px;
  line-height: 1.5
}
/* フッター・ヘッダーの元の配置維持。フォーム限定のbody背景のみ設定 */
@media(max-width:767.98px) {
  body.irmail-form-page #form.ir-form-layout {
    width: calc(100% - 22px);
    margin-bottom: 45px
  }
  .ir-form-modern .ir-hero {
    padding: 24px 9px 25px
  }
  .ir-form-modern .ir-hero__issue p {
    font-size: 15px
  }
  .ir-form-modern .ir-hero__issue .ir-hero__deadline {
    font-size: 14px
  }
  .ir-form-modern .ir-steps {
    padding: 12px 3px;
    margin-bottom: 15px
  }
  .ir-form-modern .ir-steps span {
    font-size: 11px;
    padding: 0 3px;
    line-height: 1.4
  }
  .ir-form-modern .ir-steps b {
    display: block;
    font-size: 10px;
    margin: 0 0 3px
  }
  .ir-form-modern .ir-card {
    padding: 18px 14px 20px;
    border-radius: 9px;
    margin-bottom: 16px
  }
  .ir-form-modern .ir-card__title {
    font-size: 19px !important
  }
  .ir-form-modern .ir-card__intro {
    font-size: 14px;
    margin-bottom: 14px
  }
  .ir-form-modern .ir-product__info {
    padding: 13px 12px 12px
  }
  .ir-form-modern .ir-product__company {
    font-size: 14px
  }
  .ir-form-modern .ir-product__name {
    font-size: 15px
  }
  .ir-form-modern .ir-product__toggle {
    display: block;
    margin: 11px 0 0;
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #cce4d3;
    border-radius: 5px;
    background: #f1f8f3;
    color: #267c41;
    text-align: left;
    font-size: 13px;
    cursor: pointer
  }
  .ir-form-modern .ir-product__options {
    display: none
  }
  .ir-form-modern .ir-product__options.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 13px
  }
  .ir-form-modern .ir-product__options label {
    font-size: 13px;
    white-space: normal
  }
  .ir-form-modern .ir-gifts {
    gap: 10px
  }
  .ir-form-modern .ir-gift {
    padding: 12px 12px 14px;
    gap: 6px
  }
  .ir-form-modern .ir-gift__top {
    gap: 5px;
    flex-wrap: wrap
  }
  .ir-form-modern .ir-gift__count {
    margin-left: 0;
    font-size: 12px
  }
  .ir-form-modern .ir-gift__visual {
    font-size: 30px
  }
  .ir-form-modern .ir-gift strong {
    font-size: 14px
  }
  .ir-form-modern .ir-gift__detail {
    font-size: 13px
  }
  .ir-form-modern .inq.inq-box {
    display: block
  }
  .ir-form-modern .inq-pattern2a, .ir-form-modern .inq-pattern3a {
    padding: 11px 4px 5px;
    min-height: 0;
    border: 0;
    background: #fff;
    font-size: 14px
  }
  .ir-form-modern .inq-pattern2b, .ir-form-modern .inq-pattern3b {
    padding: 5px 4px 14px;
    min-height: 0
  }
  .ir-form-modern .inq-pattern3b input.one-third {
    min-width: 0;
    width: 25%;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 14px
  }
  .ir-form-modern .ir-submit button {
    font-size: 16px;
    min-height: 56px
  }
}
@media(max-width:390px) {
  .ir-form-modern .ir-gifts {
    grid-template-columns: minmax(0, 1fr);
  }
  .ir-form-modern .ir-gift__visual {
    display: none;
  }
}
/* =========================================================
   フォーム横幅の安定化（Ver.2）
   旧サイト共通CSSとの競合・小画面での横はみ出しを防止。
   ヘッダー・フッターや送信処理は変更しない。
   ========================================================= */
body.irmail-form-page {
  margin: 0;
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}
body.irmail-form-page #wrapper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
}
body.irmail-form-page #form.ir-form-layout {
  display: block;
  min-width: 0;
  box-sizing: border-box;
  width: min(960px, calc(100% - 32px)) !important;
  max-width: 960px !important;
  margin: 0 auto 80px !important;
  padding: 0 !important;
  height: auto !important;
}
body.irmail-form-page #seikyu_wrapper, body.irmail-form-page #mainForm.ir-form-modern {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
body.irmail-form-page #mainForm.ir-form-modern .ir-hero, body.irmail-form-page #mainForm.ir-form-modern .ir-steps, body.irmail-form-page #mainForm.ir-form-modern .ir-card, body.irmail-form-page #mainForm.ir-form-modern .ir-products, body.irmail-form-page #mainForm.ir-form-modern .ir-product, body.irmail-form-page #mainForm.ir-form-modern .ir-product__options, body.irmail-form-page #mainForm.ir-form-modern .ir-gifts, body.irmail-form-page #mainForm.ir-form-modern .inq.inq-box {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
/* 商品名の長い行は自然に折り返す。PDFアイコンの不自然な縦割れを防止 */
body.irmail-form-page #mainForm.ir-form-modern .ir-product__name {
  display: inline;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}
body.irmail-form-page #mainForm.ir-form-modern .ir-product__name img {
  display: inline-block;
  width: 18px;
  max-width: 18px;
  height: auto;
  margin-left: 4px;
  vertical-align: middle;
}
body.irmail-form-page #mainForm.ir-form-modern .ir-product__heading {
  min-width: 0;
  max-width: 100%;
}
/* 入力欄は親要素からはみ出さない */
body.irmail-form-page #mainForm.ir-form-modern .inq-pattern2a, body.irmail-form-page #mainForm.ir-form-modern .inq-pattern2b, body.irmail-form-page #mainForm.ir-form-modern .inq-pattern3a, body.irmail-form-page #mainForm.ir-form-modern .inq-pattern3b {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.irmail-form-page #mainForm.ir-form-modern input[type="text"], body.irmail-form-page #mainForm.ir-form-modern select, body.irmail-form-page #mainForm.ir-form-modern textarea {
  max-width: 100%;
  box-sizing: border-box;
}
@media screen and (max-width: 767.98px) {
  body.irmail-form-page #form.ir-form-layout {
    width: calc(100% - 22px) !important;
    max-width: none !important;
    margin-bottom: 45px !important;
  }
  body.irmail-form-page #mainForm.ir-form-modern .ir-hero {
    padding-left: 12px;
    padding-right: 12px;
  }
  body.irmail-form-page #mainForm.ir-form-modern .ir-steps {
    padding-left: 8px;
    padding-right: 8px;
  }
}
/* ========================================
   お客様情報のレイアウト崩れ修正
======================================== */
/* PC：項目名と入力欄を2列にする */
@media screen and (min-width: 768px) {
  body.irmail-form-page #mainForm.ir-form-modern .inq.inq-box {
    display: grid !important;
    grid-template-columns: 225px minmax(0, 1fr);
    gap: 0;
    width: 100% !important;
  }
}
/* 左側：項目名 */
body.irmail-form-page #mainForm.ir-form-modern .inq.inq-box > .inq-pattern2a, body.irmail-form-page #mainForm.ir-form-modern .inq.inq-box > .inq-pattern3a {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 62px;
  margin: 0 !important;
  padding: 14px 16px !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box;
  background: #f4f8f5;
  border-bottom: 1px solid #e0eae2;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
/* 右側：入力欄 */
body.irmail-form-page #mainForm.ir-form-modern .inq.inq-box > .inq-pattern2b, body.irmail-form-page #mainForm.ir-form-modern .inq.inq-box > .inq-pattern3b {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  height: auto !important;
  min-height: 62px;
  margin: 0 !important;
  padding: 11px 14px !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box;
  border-bottom: 1px solid #e0eae2;
}
/* スマホ：項目名と入力欄を縦並び */
@media screen and (max-width: 767.98px) {
  body.irmail-form-page #mainForm.ir-form-modern .inq.inq-box {
    display: block !important;
  }
  body.irmail-form-page #mainForm.ir-form-modern .inq.inq-box > .inq-pattern2a, body.irmail-form-page #mainForm.ir-form-modern .inq.inq-box > .inq-pattern3a {
    min-height: 0;
    padding: 12px 4px 5px !important;
    background: #fff;
    border-bottom: 0;
  }
  body.irmail-form-page #mainForm.ir-form-modern .inq.inq-box > .inq-pattern2b, body.irmail-form-page #mainForm.ir-form-modern .inq.inq-box > .inq-pattern3b {
    min-height: 0;
    padding: 5px 4px 14px !important;
  }
}
/* ============================================================
   お客様情報：QMAILと同じ「項目名 → 入力欄」の縦並び
   Vol.59以降も共通使用可。入力項目・name/value・JSには変更なし。
   （過去のgrid指定・共通CSSの幅指定を、このセクションだけ無効化）
   ============================================================ */
body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: transparent !important;
}
/* 項目名は入力欄の上。QMAILと同じように背景色・左列をなくす */
body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box > .inq-pattern2a, body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box > .inq-pattern3a {
  display: block !important;
  grid-column: auto !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 18px 0 7px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #304c36;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 700;
  text-align: left;
  white-space: normal !important;
  word-break: normal !important;
}
/* 項目名のすぐ下に入力欄。旧版の2列・高さ固定を解除 */
body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box > .inq-pattern2b, body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box > .inq-pattern3b {
  display: block !important;
  grid-column: auto !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left;
}
/* QMAILの入力サイズ・余白に合わせつつ、IRMAILの緑を維持 */
body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box input[type="text"], body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box select, body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box textarea {
  box-sizing: border-box !important;
  max-width: 100% !important;
  min-width: 0;
  min-height: 49px;
  height: auto;
  padding: 12px 14px;
  border: 1px solid #cddbd0;
  border-radius: 6px;
  background: #fff;
  color: #2e4935;
  font-size: 16px;
  line-height: 1.55;
  box-shadow: none;
  vertical-align: middle;
}
body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box input.full, body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box textarea.full {
  width: 100% !important;
}
body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box select.half {
  display: block;
  width: min(100%, 440px) !important;
}
body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box input.one-third {
  width: min(26%, 145px) !important;
  min-width: 0 !important;
  padding-left: 6px;
  padding-right: 6px;
}
body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box input[name^="役職名"] {
  margin-top: 8px;
}
body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box input:focus, body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box select:focus, body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box textarea:focus {
  border-color: #329651;
  outline: none;
  box-shadow: 0 0 0 3px rgba(40, 142, 73, .12);
}
body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box > p.midashi-S {
  margin: 24px 0 5px !important;
  padding: 0;
  font-size: 13px;
  line-height: 1.85;
  color: #607366;
}
body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box .red {
  color: #b84647;
  font-size: 13px;
  font-weight: 700;
}
@media screen and (max-width: 767.98px) {
  body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box > .inq-pattern2a, body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box > .inq-pattern3a {
    font-size: 14px;
    margin-top: 16px !important;
  }
  body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box input.one-third {
    width: 27% !important;
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* ==========================================================
   郵便番号を1欄で入力（既存の送信形式は3桁+4桁のまま）
   旧フォームCSSによる one-third の幅指定には影響させない。
   ========================================================== */
body.irmail-form-page #mainForm.ir-form-modern .ir-card--customer .inq.inq-box input.ir-postcode-input {
  display: block;
  width: min(100%, 350px) !important;
  max-width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
}
