/* English-only layout adjustments; shared Japanese files remain unchanged. */
html[lang="en"] body {font-family: Arial, "Noto Sans JP", sans-serif;}
html[lang="en"] main {overflow-wrap: break-word;}
html[lang="en"] main h2, html[lang="en"] main h3, html[lang="en"] main h4 {line-height:1.5;letter-spacing:normal;}
html[lang="en"] #menubar nav a {letter-spacing:normal;}
html[lang="en"] table {overflow-wrap:anywhere;}
html[lang="en"] .lp-hero-description {line-height:1.8;}
html[lang="en"] .en-required {display:inline-block!important;margin-left:.7em;font-size:.7em;color:#fff;background:#b90000;padding:1px 6px;}
html[lang="en"] #form_submit_button:disabled {white-space:normal;max-width:100%;cursor:default;opacity:.65;}
@media(max-width:900px) {
 html[lang="en"] #menubar nav a {font-size:.85em;}
}
@media(max-width:700px) {
 html[lang="en"] main h2 {font-size:1.65em;}
 html[lang="en"] main h3 {font-size:1.3em;}
 html[lang="en"] .lp-hero-cycle {line-height:1.7;}
 html[lang="en"] .table_02 td:nth-child(2)::before {content:"What happens at each step";}
 html[lang="en"] .table_02 td:nth-child(3)::before {content:"Purpose";}
 html[lang="en"] .table_02 td:nth-child(4)::before {content:"Connection to the next step";}
 html[lang="en"] .table_11 td:nth-child(1)::before {content:"What it can tell us";}
 html[lang="en"] .table_11 td:nth-child(2)::before {content:"What it cannot tell us";}
 html[lang="en"] .table_12 td:nth-child(1)::before {content:"Chronological age at sample collection";}
 html[lang="en"] .table_12 td:nth-child(2)::before {content:"GlycanAge Measurement Result";}
 html[lang="en"] .image-viewer__header {flex-wrap:wrap;gap:8px;}
 html[lang="en"] .image-viewer__header button {white-space:nowrap;}
}

@media(max-width:700px){html[lang="en"] .image-viewer__help {font-size:12px;line-height:1.5;}html[lang="en"] .image-viewer__actions {flex-shrink:0;}}


/* English inquiry form: labels, fields and required badges. */
html[lang="en"] form#mail_form {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}
html[lang="en"] form#mail_form dl dt .en-required {
  display: table !important;
  margin: 8px 0 0 auto;
  padding: 3px 8px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: normal;
  color: #fff;
  border-radius: 3px;
  white-space: nowrap;
}
html[lang="en"] form#mail_form .en-name-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 580px;
}
html[lang="en"] form#mail_form .en-name-field {min-width: 0;}
html[lang="en"] form#mail_form .en-name-field label {
  display: block;
  margin: 0 0 6px;
}
html[lang="en"] form#mail_form .en-name-field input {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
@media screen and (max-width: 1000px) {
  html[lang="en"] form#mail_form dl dt .en-required {margin-left: 0;}
}
@media screen and (max-width: 600px) {
  html[lang="en"] form#mail_form .en-name-grid {grid-template-columns: minmax(0, 1fr);}
}

/* Keep English content within the available viewport width. */
html[lang="en"] #wrapper > .container {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
html[lang="en"] .lp .lp-image-placeholder {
  width: 100%;
  max-width: 100%;
}
html[lang="en"] form#mail_form input[type="url"] {
  width: calc(100% - 4% - 2px);
  max-width: 580px;
  padding: 7px 2%;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fafafa;
  font: inherit;
}
html[lang="en"] main table th {
  white-space: normal;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
