/* 品牌正文独立排版；不影响首页、公共导航与页脚。 */
.subpage .brand-content { min-width: 0; font-size: 14px; line-height: 1.9; color: #171918; }
.subpage .brand-content :where(h2, h3),
.subpage.brand-jobs-page main :where(h2, h3),
.subpage.brand-contact-page main h2 { font-size: 17px; line-height: 1.6; letter-spacing: .02em; }
.subpage .brand-content h2 { margin: 0 0 16px; }
.subpage .brand-content h3 { margin: 0 0 12px; font-size: 15px; }
.subpage .brand-content p { margin: 0 0 14px; font-size: 14px; line-height: 1.9; }
.subpage .brand-content figure { margin: 0; min-width: 0; }
.subpage .brand-content img { max-width: 100%; height: auto; }
.subpage .brand-cms { min-width: 0; overflow-wrap: anywhere; }
.subpage .brand-cms img:not([src]), .subpage .brand-cms img[src=""] { display: none; }
.subpage .brand-company-intro,
.subpage .brand-company-section,
.subpage .brand-research-section { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.subpage .brand-company-intro > figure img { width: 100%; display: block; }
.subpage .brand-company-section,
.subpage .brand-research-section { padding-block: 40px; border-top: 1px solid #e5e1da; }
.subpage .brand-company-modules { margin-top: 40px; }
.subpage .brand-company-section figure img,
.subpage .brand-research-section figure img { display: block; width: 100%; object-fit: contain; }
.subpage .brand-company-purpose { grid-template-columns: minmax(0, 860px); }
.subpage .brand-honors { padding-top: 32px; border-top: 1px solid #e5e1da; }
.subpage .brand-honor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.subpage .brand-honor-grid a { display: flex; justify-content: center; align-items: center; min-height: 180px; height: 100%; padding: 12px; border: 1px solid #eeeae3; }
.subpage .brand-honor-grid img { width: 100%; max-height: 300px; object-fit: contain; display: block; }
.subpage .brand-history { border-top: 1px solid #e5e1da; }
.subpage .brand-year { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 40px; padding-block: 32px; border-bottom: 1px solid #e5e1da; }
.subpage .brand-year > h2 { margin: 0; color: #987748; font-size: 17px; font-weight: 500; line-height: 1.4; }
.subpage .brand-month { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 20px; margin-bottom: 18px; }
.subpage .brand-month:last-child { margin-bottom: 0; }
.subpage .brand-month > h3 { margin: 0; padding-top: 2px; font-size: 14px; color: #746349; }
.subpage .brand-month:not(:has(> h3)) > div { grid-column: 1 / -1; }
.subpage .brand-month p:last-child { margin-bottom: 0; }
.subpage .brand-technologies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid #e5e1da; }
.subpage .brand-tech { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 24px; padding-block: 32px; border-bottom: 1px solid #e5e1da; }
.subpage .brand-tech-visual { display: grid; justify-items: center; align-content: start; gap: 14px; }
.subpage .brand-index { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 1px solid #d8c9b1; font-size: 24px; line-height: 1; color: #987748; }
.subpage .brand-tech h2 { margin-bottom: 12px; }
.subpage .brand-tech p { font-size: 13px; line-height: 1.9; margin-bottom: 0; }
.subpage .brand-research-section:first-child { border-top: 0; padding-top: 0; }
.subpage .brand-research-section:last-child { padding-bottom: 0; }
.subpage .brand-contact-details,
.subpage .brand-recruitment-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 36px; font-style: normal; padding-block: 24px; border-block: 1px solid #e5e1da; margin: 0 0 32px; }
.subpage .brand-contact-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.subpage .brand-contact-details > div,
.subpage .brand-recruitment-contact > div { min-width: 0; }
.subpage .brand-contact-details h2,
.subpage .brand-recruitment-contact h2 { margin: 0 0 10px; font-size: 15px; }
.subpage .brand-contact-details a,
.subpage .brand-recruitment-contact a { font-size: 14px; overflow-wrap: anywhere; text-underline-offset: 4px; }
.subpage .brand-contact-address { grid-column: 1 / -1; }
.subpage .brand-contact-address p { margin: 0; font-size: 14px; line-height: 1.9; }
.subpage.brand-contact-page .form-layout { padding-top: 32px; gap: 40px; }
.subpage.brand-contact-page .partner-band h2 { margin-top: 0; }
.subpage .brand-job-list { border-top: 1px solid #e5e1da; }
.subpage .brand-job { padding-block: 28px; border-bottom: 1px solid #e5e1da; }
.subpage .brand-job-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.subpage .brand-job-heading h2 { margin: 0; font-size: 17px; }
.subpage .brand-job-heading h2 a { text-decoration: none; }
.subpage .brand-job-heading > a { flex-shrink: 0; font-size: 13px; }
.subpage .brand-job-facts { display: flex; flex-wrap: wrap; gap: 16px 36px; margin: 0 0 16px; }
.subpage .brand-job-facts > div { min-width: 100px; }
.subpage .brand-job-facts dt { font-size: 13px; color: #666b67; margin-bottom: 4px; }
.subpage .brand-job-facts dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.subpage .brand-job-description { border-top: 1px solid #eeeae3; padding-top: 12px; }
.subpage .brand-job-description summary { cursor: pointer; font-size: 14px; }
.subpage .brand-job-description[open] summary { margin-bottom: 16px; }
.subpage .brand-job-detail { max-width: 1040px; margin-inline: auto; }
.subpage .brand-job-detail > .brand-job-facts { padding-block: 20px; border-block: 1px solid #e5e1da; margin-bottom: 32px; }
.subpage .brand-job-body { margin-bottom: 32px; }
.subpage .brand-job-body h2 { margin: 0 0 16px; }
@media (max-width: 900px) {
  .subpage .brand-company-intro, .subpage .brand-company-section, .subpage .brand-research-section { gap: 28px; }
  .subpage .brand-technologies { gap: 0 28px; }
  .subpage .brand-tech { grid-template-columns: 80px minmax(0, 1fr); gap: 18px; }
  .subpage .brand-honor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 640px) {
  .subpage .brand-company-intro, .subpage .brand-company-section, .subpage .brand-research-section { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .subpage .brand-company-section, .subpage .brand-research-section { padding-block: 28px; }
  .subpage .brand-company-modules { margin-top: 28px; }
  .subpage .brand-honor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .subpage .brand-honor-grid a { min-height: 130px; padding: 8px; }
  .subpage .brand-honor-grid img { max-height: 210px; }
  .subpage .brand-year { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 24px; }
  .subpage .brand-month { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }
  .subpage .brand-technologies { grid-template-columns: minmax(0, 1fr); }
  .subpage .brand-tech { padding-block: 24px; }
  .subpage .brand-contact-details, .subpage .brand-recruitment-contact { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 20px; }
  .subpage .brand-job-facts { gap: 14px 24px; }
  .subpage .brand-job-facts > div { flex: 1 1 120px; }
  .subpage .brand-job-heading { gap: 16px; }
}
