@charset "UTF-8";
/* ---- a.css ---- */
/* a real photo inside a round icon frame */
.str__ic img.str__icph { width: 100%; height: 100%; object-fit: cover; }
/* no-image placeholder for news rows: the official logo on a pale plane */
.ph-brand { display: grid; place-items: center; width: 100%; height: 100%; background: var(--pale); }
.ph-brand img { width: 72%; height: auto; object-fit: contain; }
.sus__ph { aspect-ratio: 16 / 9; }
.cert__logo img[data-local] { mix-blend-mode: multiply; }
@media (max-width: 640px) { .cpt .sh__lb { display: flex; justify-content: center; } }
@media (max-width: 640px) { .flow__ph { width: min(66%, 260px); } }

/* ---- business.css ---- */
/* business.html (bsn-) */
.bsn-biz .biz__body { grid-template-rows: auto auto auto 1fr auto; }
.bsn-biz__pts { margin-top: 18px; font-size: var(--fs-small); color: var(--ink); }
.bsn-biz__pts li { line-height: 1.75; }
.bsn-biz__pts li + li { margin-top: 6px; }
.bsn-pnav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bsn-pnav a { background: var(--pale); }
@media (max-width: 1024px) { .bsn-pnav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bsn-pnav { grid-template-columns: minmax(0, 1fr); } }

/* ---- chemicals.css ---- */
/* chemicals.html (prefix chm-) */
.chm-res__t { font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.chm-res__list { margin-top: 24px; }
.chm-sub { margin: clamp(80px, 9vw, 128px) 0 clamp(32px, 4vw, 48px); text-align: center; font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
/* three-step flow: three columns down to tablets, one column on phones */
.flow.chm-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) and (min-width: 641px) {
  .flow.chm-flow { gap: 24px; }
  .chm-flow .flow__item { padding: 28px 16px 24px; }
  .chm-flow .flow__item:nth-child(2)::after { display: block; }
  .chm-flow .flow__item:not(:last-child)::after { right: -23px; }
}
@media (max-width: 640px) { .flow.chm-flow { grid-template-columns: minmax(0, 1fr); } }
.chm-trade.split { align-items: start; }
@media (max-width: 640px) { .chm-res__t { text-align: center; } }

/* ---- column.css ---- */
/* column.html (prefix clm-): cards sit on a white section, so they take the pale plane */
.clm-cards .ccard { background: var(--pale); }

/* ---- column-detail.css ---- */
/* column-detail.html (prefix cold-): no page hero, the article starts right under the header.
   A pale band behind the header and the title; the eye-catch image overlaps its lower edge. */
.cold-top { padding-top: calc(var(--hd-h) + 56px); isolation: isolate; }
.cold-top::before { content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: calc(var(--hd-h) + 400px); background: var(--pale); }
.cold-top .crumb { padding-top: 0; margin-bottom: 24px; }
.cold-art .art__toc a:hover { color: var(--blue); }
.cold-art .art__body h2 { scroll-margin-top: calc(var(--hd-h) + 32px); }
.cold-art .art__body figure img { aspect-ratio: 3 / 2; object-fit: cover; background: var(--pale); }
.cold-art .art__src > p:first-child { font-weight: 700; color: var(--ink-2); }
.cold-art .art__src .list-dot { margin-top: 6px; }
.cold-art .art__src .list-dot li + li { margin-top: 2px; }
.cold-art .art__src .list-dot + p { margin-top: 12px; }
.cold-btns { margin-top: 20px; }
@media (max-width: 640px) {
  .cold-top { padding-top: calc(var(--hd-h) + 36px); }
  .cold-top::before { height: calc(var(--hd-h) + 330px); }
}
/* ---- company.css ---- */
/* company.html (cmp-) */
/* in-page nav inside the page hero */
.cmp-pnav { width: min(100%, var(--w)); margin-inline: auto; padding-bottom: clamp(48px, 6vw, 88px); }
.cmp-pnav .pnav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .cmp-pnav .pnav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cmp-pnav .pnav { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cmp-pnav .pnav a { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 6px 10px 6px 6px; line-height: 1.45; }
  .cmp-pnav .pnav img { width: 44px; height: 44px; border-radius: 10px; }
  .cmp-pnav .pnav .more__arw { width: 28px; height: 28px; }
}

/* message: photo stays beside the long letter */
.cmp-msg__media { position: sticky; top: calc(var(--hd-h) + 40px); }
.cmp-msg__media .ph { aspect-ratio: 16 / 10; }
@media (max-width: 900px) { .cmp-msg__media { position: static; order: -1; } }

/* profile: photo + table */
.cmp-prof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cmp-prof__media { position: sticky; top: calc(var(--hd-h) + 40px); }
.cmp-prof__media .ph { aspect-ratio: 4 / 5; }
.cmp-prof .dl dd .list-dot li + li { margin-top: 2px; }
@media (max-width: 900px) {
  .cmp-prof { grid-template-columns: minmax(0, 1fr); }
  .cmp-prof__media { position: static; }
  .cmp-prof__media .ph { aspect-ratio: 16 / 10; }
}

/* philosophy cards on the blue band */
.cmp-phil .phil__item { color: var(--ink); display: grid; align-content: start; }
.cmp-phil__ic { width: 112px; height: 112px; border-radius: 50%; background: var(--pale); display: grid; place-items: center; overflow: hidden; margin-bottom: 18px; }
.cmp-phil__ic img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.cmp-phil .phil__t { font-size: var(--fs-h4); }
.cmp-phil .phil__item p.cmp-phil__lead { margin-top: 14px; font-size: 18px; font-weight: 900; line-height: 1.8; color: var(--blue); }
.cmp-phil .list-dot { margin-top: 14px; }
.cmp-phil .list-dot li { margin-top: 0; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.9; text-align: left; letter-spacing: .05em; }
.cmp-phil .list-dot li + li { margin-top: 8px; }
@media (max-width: 1024px) { .cmp-phil { max-width: 640px; margin-inline: auto; } }
@media (max-width: 640px) {
  .cmp-phil .phil__item { justify-items: center; text-align: center; padding: 28px 18px; }
  .cmp-phil .list-dot { text-align: left; justify-self: stretch; }
}

/* history: sticky photo beside the timeline */
.cmp-hist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cmp-hist__media { position: sticky; top: calc(var(--hd-h) + 40px); }
.cmp-hist__media .ph { aspect-ratio: 4 / 5; }
.cmp-hist .hist__row:first-child { border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .cmp-hist { grid-template-columns: minmax(0, 1fr); }
  .cmp-hist__media { position: static; }
  .cmp-hist__media .ph { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) { .cmp-hist .hist__row { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; } .cmp-hist .hist__y { font-size: 17px; } .cmp-hist .hist__row p { font-size: var(--fs-small); } }

/* information security policy */
.cmp-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cmp-sec__side .ph { aspect-ratio: 16 / 10; }
.cmp-sec__sign { margin-top: 24px; font-size: var(--fs-small); font-weight: 700; line-height: 1.9; text-align: right; }
.cmp-sec__h { font-weight: 900; font-size: var(--fs-h4); color: var(--blue); margin-bottom: 16px; }
.cmp-sec__body { background: var(--white); border-radius: var(--r-s); padding: clamp(28px, 3.4vw, 48px); }
.cmp-sec__body .list-dot li + li { margin-top: 14px; }
@media (max-width: 900px) { .cmp-sec { grid-template-columns: minmax(0, 1fr); } }

/* organization chart: the official chart on wide screens, a list on phones */
.cmp-org { margin-top: clamp(64px, 8vw, 112px); }
.cmp-org__head { display: grid; gap: 4px; margin-bottom: 28px; }
.cmp-org__en { font-family: var(--en); font-weight: 800; color: var(--blue); font-size: 15px; letter-spacing: .12em; }
.cmp-org__t { font-size: var(--fs-h3); font-weight: 900; line-height: 1.4; }
.cmp-org__fig { background: var(--white); border-radius: var(--r); padding: clamp(24px, 4vw, 56px); }
.cmp-org__fig img { width: 100%; height: auto; }
.cmp-org__sp { display: none; }
@media (max-width: 640px) {
  .cmp-org__head { justify-items: center; text-align: center; }
  
  
  .cmp-org__sp > :nth-child(1) { border-top: 0; }
  .cmp-org__sp > :last-child { border-bottom: 0; }
}

/* offices */
.cmp-sites .site { background: var(--pale); }
.cmp-sites .ph-brand { background: var(--white); }
.cmp-sites .ph-brand img { width: 78%; }
.cmp-sites__map { margin-top: 12px; font-size: 14px; }
.cmp-sites__map .more__arw { width: 28px; height: 28px; }
@media (max-width: 480px) { .cmp-sites .cmp-sites__logo { aspect-ratio: 3 / 1; } .cmp-sites__logo .ph-brand img { width: 62%; } }

/* numbers in two groups */
.cmp-num__h { display: flex; align-items: center; gap: 12px; font-size: var(--fs-h4); font-weight: 900; margin: 0 0 20px; }
.cmp-num__h::before { content: ''; width: 16px; height: 18px; background: var(--blue); -webkit-mask: var(--hex-pt) center / 100% 100% no-repeat; mask: var(--hex-pt) center / 100% 100% no-repeat; }
.cmp-num + .cmp-num__h { margin-top: 56px; }
.cmp-num__ph { border-radius: 50%; overflow: hidden; background: var(--white); }
.cmp-num__ph img { object-fit: cover; mix-blend-mode: normal; }
.cmp-num__logo { background: var(--pale); display: grid; place-items: center; }
.cmp-num__logo img { width: 88%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.cmp-num__pair { gap: 8px; line-height: 1.45; }
.cmp-num__pair + .cmp-num__pair { margin-top: 0; }
.cmp-num__pair small { font-size: 15px; font-weight: 900; color: var(--ink); align-self: center; }
.cmp-num__pair b { font-size: clamp(40px, 3.6vw, 52px); }
.cmp-num__note { margin-top: 24px; text-align: right; }
@media (max-width: 640px) { .cmp-num__h { justify-content: center; } .cmp-num__note { text-align: center; } }
/* phones: two compact cards per row so twelve figures stay short */
@media (max-width: 560px) {
  .cmp-num { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cmp-num .num__card { padding: 16px 10px 18px; border-radius: var(--r-s); }
  .cmp-num .num__lb { font-size: 16px; }
  .cmp-num .num__ic { width: 76px; height: 76px; }
  .cmp-num .num__v { gap: 4px; }
  .cmp-num .num__v b { font-size: 32px; }
  .cmp-num .num__v span { font-size: 14px; }
  .cmp-num .cmp-num__pair b { font-size: 26px; }
  .cmp-num .cmp-num__pair small { font-size: 12px; }
  .cmp-num .num__d { margin-top: 8px; font-size: 12px; line-height: 1.7; }
}

/* organisation chart drawn in HTML (crisp at every size; replaces the old picture) */
.cmp-orgc { --oc-line: #9FBCD3; background: var(--white); border-radius: var(--r); padding: clamp(28px, 4vw, 56px); }
.cmp-orgc ul { list-style: none; margin: 0; padding: 0; }
.cmp-orgc__top { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; padding-bottom: 40px; }
.cmp-orgc__ceo { grid-column: 2; position: relative; z-index: 1; margin: 0; padding: 16px 56px; border-radius: 14px; background: var(--ink); color: var(--white); font-size: 20px; font-weight: 900; letter-spacing: .3em; line-height: 1.4; }
/* line from the president down to the bar over the four divisions */
.cmp-orgc__top::after { content: ''; position: absolute; left: 50%; top: 50%; bottom: 0; width: 2px; margin-left: -1px; background: var(--oc-line); margin-top: -20px; }
.cmp-orgc__staff { grid-column: 3; position: relative; justify-self: start; margin-left: 56px; display: grid; gap: 8px; padding: 16px 18px; border-radius: 16px; background: var(--mint-pale); }
.cmp-orgc__staff::before { content: ''; position: absolute; right: 100%; top: 50%; width: 56px; height: 2px; background: var(--oc-line); margin-top: -20px; }
.cmp-orgc__lb { margin: 0; font-size: 13px; font-weight: 700; color: var(--mint-d); letter-spacing: .08em; line-height: 1.5; }
.cmp-orgc__staff ul { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-orgc__staff li { padding: 8px 16px; border-radius: 10px; background: var(--white); font-weight: 700; font-size: 15px; line-height: 1.5; white-space: nowrap; }
.cmp-orgc__hq { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 28px; }
.cmp-orgc__hq::before { content: ''; position: absolute; top: 0; left: calc(12.5% - 7.5px); right: calc(12.5% - 7.5px); height: 2px; background: var(--oc-line); }
.cmp-orgc__col { position: relative; }
.cmp-orgc__col::before { content: ''; position: absolute; left: 50%; top: -28px; width: 2px; height: 28px; margin-left: -1px; background: var(--oc-line); }
.cmp-orgc__hqt { margin: 0; padding: 14px 12px; border-radius: 14px; background: var(--blue); color: var(--white); text-align: center; font-size: 17px; font-weight: 900; line-height: 1.5; }
.cmp-orgc__units { position: relative; display: grid; gap: 10px; margin-top: 14px !important; padding-left: 22px !important; }
.cmp-orgc__units::before { content: ''; position: absolute; left: 8px; top: -14px; bottom: 22px; width: 2px; background: var(--oc-line); }
.cmp-orgc__units > li { position: relative; padding: 12px 14px; border-radius: 12px; background: var(--pale); font-weight: 700; font-size: 15px; line-height: 1.5; }
.cmp-orgc__units > li::before { content: ''; position: absolute; left: -14px; top: 23px; width: 14px; height: 2px; background: var(--oc-line); }
.cmp-orgc__sub { display: grid; gap: 6px; margin-top: 10px !important; }
.cmp-orgc__sub li { padding: 8px 12px; border-radius: 10px; background: var(--white); font-size: 14px; font-weight: 700; line-height: 1.5; }
@media (max-width: 1024px) {
  .cmp-orgc__hq { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .cmp-orgc__hq::before, .cmp-orgc__col::before { display: none; }
  .cmp-orgc__top { padding-bottom: 28px; }
  .cmp-orgc__top::after { display: none; }
}
@media (max-width: 640px) {
  .cmp-orgc { padding: 24px 18px; }
  .cmp-orgc__top { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; }
  .cmp-orgc__ceo, .cmp-orgc__staff { grid-column: 1; }
  .cmp-orgc__staff { margin-left: 0; justify-self: stretch; text-align: center; }
  .cmp-orgc__staff::before { display: none; }
  .cmp-orgc__staff ul { justify-content: center; }
  .cmp-orgc__hq { grid-template-columns: minmax(0, 1fr); }
}
.cmp-orgc .cmp-orgc__hq { padding-top: 28px; }
@media (max-width: 1024px) { .cmp-orgc .cmp-orgc__hq { padding-top: 0; } }

/* ---- contact.css ---- */
/* contact.html (prefix ctc-): phone numbers on the left, the form on the right */
.ctc-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.7fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.ctc-aside { position: sticky; top: calc(var(--hd-h) + 40px); }
.ctc-tels { margin-top: 28px; display: grid; gap: 14px; }
.ctc-tel { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; align-items: center; background: var(--pale); border-radius: var(--r-s); padding: 16px 20px 16px 16px; transition: background-color .25s; }
.ctc-tel:hover b { color: var(--blue-d); }
.ctc-tel__ph { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--white); }
.ctc-tel__ph img { width: 100%; height: 100%; object-fit: cover; }
.ctc-tel__ph img.ctc-tel__bldg { object-position: 20% 40%; }
.ctc-tel__body { display: grid; gap: 2px; line-height: 1.5; }
.ctc-tel__body small { font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: .04em; }
.ctc-tel__body b { font-family: var(--en); font-weight: 700; font-size: clamp(24px, 2.2vw, 30px); color: var(--blue); letter-spacing: .02em; line-height: 1.3; }
.ctc-tel__body span { font-size: 13px; color: var(--ink-3); }
.ctc-note { margin-top: 20px; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.9; }
.ctc-lead { margin-top: 16px; color: var(--ink-2); }
.ctc-lead em, .ctc-hint em { font-style: normal; margin: 0 4px; font-size: 12px; color: var(--white); background: var(--blue); padding: 2px 8px; border-radius: 6px; }
.ctc-form { margin-top: 32px; background: var(--pale); }
.ctc-form input[type="radio"], .ctc-form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--blue); margin: 0; flex: none; }
.ctc-hint { margin-top: 8px; }
.ctc-agree { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.ctc-agree a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) {
  .ctc-grid { grid-template-columns: minmax(0, 1fr); }
  .ctc-aside { position: static; }
  .ctc-tels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ctc-tels { grid-template-columns: minmax(0, 1fr); }
  .ctc-tel { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .ctc-tel__ph { width: 72px; height: 72px; }
  .ctc-form { padding: 24px 18px; }
}

/* ---- cosmetics.css ---- */
/* cosmetics.html (prefix cos-) */
.cos-tall { object-position: 50% 22%; }
.cos-list { margin-top: 28px; }
/* powder processing: one white row with a round illustration */
.cos-pw { margin-top: clamp(64px, 7vw, 104px); display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; background: var(--white); border-radius: var(--r); padding: clamp(28px, 3.4vw, 48px) clamp(24px, 4vw, 56px); }
.cos-pw__ic { width: 160px; height: 160px; border-radius: 50%; background: var(--pale); display: grid; place-items: center; overflow: hidden; }
.cos-pw__ic img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.cos-pw__en { font-family: var(--en); font-weight: 800; color: var(--blue); font-size: 14px; letter-spacing: .12em; }
.cos-pw__t { margin-top: 4px; font-size: var(--fs-h4); font-weight: 900; line-height: 1.5; }
.cos-pw__d { margin-top: 12px; color: var(--ink-2); }
/* graph figure */
.cos-fig { background: var(--pale); border-radius: var(--r); padding: clamp(20px, 3vw, 40px); }
.cos-fig img { width: 100%; height: auto; border-radius: 12px; background: var(--white); }
.cos-fig figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.cos-eff { margin-top: 28px; }
.cos-eff__t { font-size: var(--fs-h4); font-weight: 900; color: var(--blue); line-height: 1.5; }
.cos-eff__t ~ .cos-eff__t { margin-top: 28px; }
.cos-eff p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 640px) {
  .cos-pw { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .cos-pw__ic { width: 132px; height: 132px; }
  .cos-pw__d { text-align: left; }
  .cos-fig { margin-inline: calc(var(--gut) * -1 + 8px); padding: 12px; border-radius: var(--r-s); }
}

/* ---- hpapi.css ---- */
/* hpapi.html (高薬理活性物質製造施設) - all classes start with hpa- */
.page-hpapi main [id] { scroll-margin-top: calc(var(--hd-h) + 40px); }
/* centred heading: keep the column inside the screen so the long English title shrinks to fit on phones */
.hpa-sh { grid-template-columns: minmax(0, 1fr); }
/* a real photo inside the round icon frame */
.feat__ic img.hpa-icph { width: 100%; height: 100%; object-fit: cover; }
/* containment: the equipment list sits under the text, full width of the card */
.hpa-ct .list-dot { justify-self: stretch; text-align: left; font-size: var(--fs-small); }
.hpa-ct .list-dot li + li { margin-top: 4px; }
.hpa-ct .feat__ic { width: 132px; height: 132px; }
@media (min-width: 641px) { .hpa-ct .list-dot { columns: 2; column-gap: 24px; } .hpa-ct .list-dot li { break-inside: avoid; } }
.hpa-hist .hist__row { grid-template-columns: 80px minmax(0, 1fr); }
/* equipment: three cards per row with the photo on top (wide screens) */
@media (min-width: 1025px) {
  .hpa-eq3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hpa-eq3 .eq__card { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 18px; padding: 16px 16px 24px; }
  .hpa-eq3 .eq__ph { aspect-ratio: 16 / 10; }
  .hpa-eq3 .eq__card > div:last-child { padding-inline: 8px; }
}

/* ---- manufacturing.css ---- */
/* manufacturing.html (原薬の受託製造・設備一覧) - all classes start with mfg- */
.page-manufacturing main [id] { scroll-margin-top: calc(var(--hd-h) + 40px); }
.mfg-h { margin-top: 28px; margin-bottom: 12px; font-size: 18px; font-weight: 900; line-height: 1.6; color: var(--blue); letter-spacing: .06em; }
/* place name under a plant name */
.mfg-pl { display: block; font-size: 14px; font-weight: 700; color: var(--ink-3); letter-spacing: .06em; }
/* equipment: three cards per row with the photo on top (wide screens) */
@media (min-width: 1025px) {
  .mfg-eq3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mfg-eq3 .eq__card { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 18px; padding: 16px 16px 24px; }
  .mfg-eq3 .eq__ph { aspect-ratio: 16 / 10; }
  .mfg-eq3 .eq__card > div:last-child { padding-inline: 8px; }
}
@media (max-width: 640px) { .mfg-h { text-align: left; } }

/* ---- news.css ---- */
/* news.html (prefix nws-): a lower hero with a wide, short photo */
.nws-hero .pghero__media .ph { aspect-ratio: 2 / 1; }
@media (max-width: 900px) { .nws-hero .pghero__media .ph { aspect-ratio: 16 / 9; } }

/* ---- news-detail.css ---- */
/* news-detail.html (prefix nwd-): no page hero, the article starts right under the header.
   A pale band behind the header and the title; the eye-catch photo overlaps its lower edge. */
.nwd-top { padding-top: calc(var(--hd-h) + 56px); isolation: isolate; }
.nwd-top::before { content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: calc(var(--hd-h) + 330px); background: var(--pale); }
.nwd-top .crumb { padding-top: 0; margin-bottom: 24px; }
.nwd-art { margin-top: 8px; }
@media (max-width: 640px) {
  .nwd-top { padding-top: calc(var(--hd-h) + 36px); }
  .nwd-top::before { height: calc(var(--hd-h) + 250px); }
}
/* ---- pharma.css ---- */
/* pharma.html (医薬品事業・研究開発) - all classes start with phm- */
.page-pharma main [id] { scroll-margin-top: calc(var(--hd-h) + 40px); }
/* small block heading above a list */
.phm-h { margin-top: 32px; margin-bottom: 12px; font-size: 18px; font-weight: 900; line-height: 1.6; color: var(--blue); letter-spacing: .06em; }
.phm-p { margin-top: 16px; font-size: var(--fs-small); line-height: 1.9; color: var(--ink-2); }
/* in-page nav on a white section: tiles take the pale plane */
.phm-pnav a { background: var(--pale); }
/* drawings from the current site: white paper melts into the pale frame */
.phm-fig { background: var(--pale); border-radius: var(--r); padding: clamp(20px, 3vw, 44px); }
.phm-fig img { width: 100%; height: auto; mix-blend-mode: multiply; }
.phm-fig figcaption { margin-top: 14px; text-align: center; }
.sec--pale .phm-fig { background: var(--white); }
/* One-Stop: the drawing on PC/tablet, a step list on phones (the drawing's text is too small there) */
.phm-stage { display: none; }
@media (max-width: 640px) {
  .phm-scheme { display: none; }
  .phm-stage { display: grid; gap: 30px; }
  .phm-stage li { position: relative; background: var(--white); border-radius: var(--r-s); padding: 18px 22px; line-height: 1.8; font-weight: 700; }
  .phm-stage b { display: block; font-family: var(--en); font-weight: 800; font-size: 15px; letter-spacing: .12em; color: var(--blue); }
  .phm-stage li:not(:last-child)::after { content: ''; position: absolute; left: 50%; bottom: -25px; width: 20px; height: 20px; margin-left: -10px; background: var(--sky); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M3 6l8 10 8-10z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M3 6l8 10 8-10z'/%3E%3C/svg%3E") center / contain no-repeat; }
  .phm-stage li:last-child { background: var(--blue); color: var(--white); }
  .phm-stage li:last-child b { color: var(--white); }
}
/* drawing + table side by side */
.phm-sp { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.phm-figs { display: grid; gap: 20px; }
.phm-figs .phm-fig { padding: clamp(16px, 2.4vw, 32px); }
.phm-spec { font-size: var(--fs-body); gap: 8px 20px; margin-top: 0; }
.phm-hist .hist__row { grid-template-columns: 80px minmax(0, 1fr); }
@media (max-width: 900px) { .phm-sp { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .phm-h { text-align: left; } }

/* ---- privacy.css ---- */
/* privacy.html (prefix pvc-): heading and a photo on the left, the policy text on the right */
.pvc-hero .pghero__media .ph { aspect-ratio: 2 / 1; }
.pvc-hero .pghero__in { align-items: center; }
.pvc-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.9fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.pvc-side { position: sticky; top: calc(var(--hd-h) + 40px); }
.pvc-ph { margin-top: 32px; aspect-ratio: 4 / 3; }
.pvc-text { color: var(--ink-2); }
.pvc-h { margin-top: 48px; margin-bottom: 14px; font-size: var(--fs-h4); font-weight: 900; color: var(--blue); line-height: 1.6; }
.pvc-sign { margin-top: 48px; line-height: 1.9; }
.pvc-dl { grid-template-columns: 280px minmax(0, 1fr); }
.pvc-desk { margin-top: 32px; display: grid; gap: 8px; background: var(--white); border-radius: var(--r-s); padding: 24px 28px; }
.pvc-desk__t { font-weight: 900; line-height: 1.6; }
.pvc-desk__spec { margin-top: 0; font-size: var(--fs-body); }
.pvc-desk__spec dd a { color: var(--blue); font-family: var(--en); font-weight: 600; }
@media (max-width: 900px) {
  .pvc-grid { grid-template-columns: minmax(0, 1fr); }
  .pvc-side { position: static; }
  .pvc-ph { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .pvc-hero .pghero__media .ph { aspect-ratio: 16 / 9; }
  .pvc-dl { grid-template-columns: minmax(0, 1fr); }
}

/* ---- quality.css ---- */
/* quality.html (品質保証) - all classes start with qas- */
.page-quality main [id] { scroll-margin-top: calc(var(--hd-h) + 40px); }
/* centred heading: keep the column inside the screen so the long English title shrinks to fit on phones */
.qas-sh { grid-template-columns: minmax(0, 1fr); }
.qas-h {margin-bottom: 16px; font-size: 18px; font-weight: 900; line-height: 1.6; color: var(--blue); letter-spacing: .06em; }
/* ALCOA+ : nine short rows, two columns on wide screens */
.qas-alcoa__list b { display: block; font-family: var(--en); font-weight: 700; color: var(--ink); letter-spacing: .02em; line-height: 1.6; }
.qas-alcoa__list b small { margin-left: 10px; font-family: var(--jp); font-size: 13px; color: var(--blue); }
.qas-alcoa__list li { color: var(--ink-2); font-size: var(--fs-small); }
@media (min-width: 761px) {
  .qas-alcoa__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 48px; }
  .qas-alcoa__list li + li { margin-top: 0; }
}
/* a real photo inside the round icon frame */
.feat__ic img.qas-icph { width: 100%; height: 100%; object-fit: cover; }

/* ---- recruit.css ---- */
/* recruit.html (rct-) */
/* jobs: a real photo in each round frame */
.rct-feat .feat__item { padding: 20px 20px 32px; }
.rct-feat .feat__ic { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 14px; margin-bottom: 8px; }
.rct-feat .feat__ic img { width: 100%; height: 100%; object-fit: cover; }
.rct-feat .feat__d { padding-inline: 8px; }

/* numbers on the blue band: four cards in a row on wide screens */
.rct-num { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rct-num .num__card { padding: 24px 20px 28px; }
.rct-num .num__v b { font-size: clamp(44px, 4vw, 60px); }
.rct-num__ph { border-radius: 50%; overflow: hidden; }
.rct-num__ph img { object-fit: cover; mix-blend-mode: normal; }
.rct-num__pair { gap: 8px; line-height: 1.45; }
.rct-num__pair + .rct-num__pair { margin-top: 0; }
.rct-num__pair small { font-size: 15px; font-weight: 900; color: var(--ink); align-self: center; }
.rct-num .rct-num__pair b { font-size: clamp(36px, 3vw, 46px); }
.rct-num__note { margin-top: 24px; font-size: 13px; text-align: center; color: var(--white); }
@media (max-width: 1100px) { .rct-num { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* phones: two compact cards per row */
@media (max-width: 560px) {
  .rct-num { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rct-num .num__card { padding: 16px 10px 18px; border-radius: var(--r-s); }
  .rct-num .num__lb { font-size: 16px; }
  .rct-num .num__ic { width: 76px; height: 76px; }
  .rct-num .num__v { gap: 4px; }
  .rct-num .num__v b { font-size: 32px; }
  .rct-num .num__v span { font-size: 14px; }
  .rct-num .rct-num__pair b { font-size: 26px; }
  .rct-num .rct-num__pair small { font-size: 12px; }
  .rct-num .num__d { margin-top: 8px; font-size: 12px; line-height: 1.7; }
}

/* entry */
.rct-entry { margin-top: 28px; grid-template-columns: 140px minmax(0, 1fr); }
.rct-entry dt, .rct-entry dd { padding: 16px 0; }
.rct-btns { margin-top: 32px; flex-direction: column; align-items: stretch; max-width: 460px; }
.rct-btns .btn { min-width: 0; }
@media (max-width: 900px) { .rct-btns { max-width: none; } }
@media (max-width: 640px) { .rct-entry { grid-template-columns: minmax(0, 1fr); } .rct-entry dt { padding-bottom: 0; } .rct-entry dd { padding-top: 4px; } }

/* ---- sustainability.css ---- */
/* sustainability.html (sst-) */
/* top message: photo stays beside the letter */
.sst-msg__media { position: sticky; top: calc(var(--hd-h) + 40px); }
.sst-msg__media .ph { aspect-ratio: 16 / 10; }
@media (max-width: 900px) { .sst-msg__media { position: static; order: -1; } }
/* the letter holds a long English name; on phones a justified line around it would gape */
@media (max-width: 640px) { .sst-msg__text > p { text-align: left; } }

/* arrangement */
.sst-split__t { font-size: var(--fs-h3); font-weight: 900; line-height: 1.5; }
.sst-concept { margin-top: 20px; }
.sst-concept li { font-weight: 700; }
.sst-split__body { margin-top: 16px; }
@media (max-width: 640px) { .sst-split__t { text-align: center; } }

/* certifications and ratings: one card each */
.sst-ev { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sst-ev__item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; align-items: start; background: var(--mint-pale); border-radius: var(--r-s); padding: 28px; }
.sst-ev__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.sst-ev__logo { width: 112px; height: 112px; border-radius: 16px; background: var(--white); display: grid; place-items: center; overflow: hidden; }
.sst-ev__logo img { width: 84%; height: 84%; object-fit: contain; }
.sst-ev__logo--ill { border-radius: 50%; }
.sst-ev__logo--ill img { width: 88%; height: 88%; mix-blend-mode: multiply; }
.sst-ev__logo--ph { border-radius: 50%; }
.sst-ev__logo--ph img { width: 100%; height: 100%; object-fit: cover; }
.sst-ev__t { font-size: 19px; font-weight: 900; line-height: 1.55; }
.sst-ev__d { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.9; }
.sst-ev__list { margin-top: 12px; font-size: var(--fs-small); }
.sst-ev__list li { line-height: 1.8; }
.sst-ev__list li + li { margin-top: 6px; }
@media (max-width: 1024px) { .sst-ev { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .sst-ev__item { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 28px 22px; }
  .sst-ev__item > div { width: 100%; }
  .sst-ev__t { text-align: center; }
}

/* policies: photo + list */
.sst-pol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.sst-pol__media { position: sticky; top: calc(var(--hd-h) + 40px); }
.sst-pol__media .ph { aspect-ratio: 4 / 5; }
.sst-pol .dl { grid-template-columns: 250px minmax(0, 1fr); }
@media (max-width: 900px) {
  .sst-pol { grid-template-columns: minmax(0, 1fr); }
  .sst-pol__media { position: static; }
  .sst-pol__media .ph { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) { .sst-pol .dl { grid-template-columns: minmax(0, 1fr); } }
