/* お知らせ・お知らせ詳細のページ見出し。Figma PC 1759:17485 (1512×624) / SP 2043:13450 (375×276)。
   PC の寸法は --news-u（1512px 幅で 1px、768〜1511px は幅に比例して縮む）で書く。 */
.news-hero{position:relative;container-type:inline-size;--news-u:min(1px,calc(100cqw / 1512));color:var(--agria-ink)}
.news-hero__media{position:absolute;inset:0;overflow:clip;pointer-events:none}
.news-hero__smoke{position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;width:calc(679*var(--news-u));height:calc(624*var(--news-u))}
/* 煙模様は 1024×1024 の素材を 624×679 に引き伸ばし、-90度回転＋上下反転して 679×624 に置く（Figma の変形どおり）。 */
.news-hero__smoke img{flex:none;width:calc(624*var(--news-u));height:calc(679*var(--news-u));max-width:none;transform:rotate(-90deg) scaleY(-1)}
/* 写真の枠は Figma どおり中央から左 347・幅 1101（1512px 幅では右端に 2px の白が残る。TOP 枠が 1510px 幅のため）。 */
.news-hero__photo{position:absolute;top:0;left:calc(50% - 347*var(--news-u));width:max(calc(1101*var(--news-u)),calc(50% + 345*var(--news-u)));height:calc(424*var(--news-u));overflow:hidden}
/* 既定の写真は Figma の切り抜き（1991×769 を 1513.65×584.61 に縮め、左 -412.32・上 -142.29）。1512px より広い画面では枠の右端まで届くように拡大する。 */
.news-hero__photo img{position:absolute;left:calc(-412.32*var(--news-u));top:calc(-142.29*var(--news-u));width:max(calc(1513.65*var(--news-u)),calc(100% + 412.32*var(--news-u)));height:auto;max-width:none}
/* 差し替えた写真は比率が分からないので、枠いっぱいに中央で切り抜く。 */
.news-hero__photo--custom img{left:0;top:0;width:100%;height:100%;object-fit:cover}
.news-hero__inner{position:relative;box-sizing:border-box;width:min(100%,1512px);height:calc(624*var(--news-u));margin-inline:auto;padding:calc(148*var(--news-u)) 0 0 calc(177*var(--news-u))}
.news-hero__heading{margin:0;font-weight:400}
.news-hero__title{display:flex;align-items:center;height:calc(140*var(--news-u));font-family:var(--agria-latin);font-size:calc(80*var(--news-u));line-height:calc(139.4*var(--news-u));letter-spacing:.15em;color:var(--agria-gray);white-space:nowrap}
/* Chrome は Figma より文字を 1px 上に描くので、中央揃えの枠の上に 2 足して 1 下げる（お知らせも同じ）。 */
.news-hero__title-text{flex:none;padding-top:calc(2*var(--news-u))}
/* 斜線: 67×90 の枠の中央で、長さ 112.201 の線を 126.67度回す。字間の末尾ぶん（.15em＝12）を引いて文字との間隔を 21 にする。 */
.news-hero__slash{flex:none;display:flex;align-items:center;justify-content:center;width:calc(67*var(--news-u));height:calc(90*var(--news-u));margin-left:calc(9*var(--news-u))}
.news-hero__slash-line{flex:none;width:calc(112.201*var(--news-u));height:1px;background:var(--agria-ink);transform:rotate(126.67deg) translateY(-.5px)}
.news-hero__subtitle{display:flex;align-items:center;height:calc(50*var(--news-u));padding-top:calc(2*var(--news-u));font-family:var(--agria-serif);font-size:calc(33*var(--news-u));line-height:calc(49.4*var(--news-u));letter-spacing:.15em;white-space:nowrap}
@media (max-width:767px){
  .news-hero{--news-u:1px}
  .news-hero__smoke{left:-367px;width:679px;height:657px}
  .news-hero__smoke img{width:657px;height:679px}
  .news-hero__photo{left:43.22px;right:0;width:auto;height:250.03px}
  /* SP の写真は Figma で 1101×424 の画像を 583.59×249.75 に（横だけ約90%に縮めて）置いてある。そのとおりに再現する。 */
  .news-hero__photo img{left:-157.45px;top:.275px;width:583.59px;height:249.75px}
  .news-hero__photo--custom img{left:0;top:0;width:100%;height:100%}
  .news-hero__inner{width:auto;height:276px;padding:231.95px 10px 0}
  .news-hero__title{height:24.064px;font-size:30px;line-height:30px;text-shadow:0 0 85px rgba(255,255,255,.25)}
  .news-hero__title-text{padding-top:0}
  .news-hero__slash{width:17.914px;height:24.064px;margin-left:46px}
  /* SP の斜線は長さ 30・太さ 0.383721。 */
  .news-hero__slash-line{width:30px;transform:rotate(126.67deg) translateY(-.19px) scaleY(.383721)}
  .news-hero__subtitle{display:block;height:auto;margin-top:4.056px;padding-top:0;font-size:14px;line-height:20px;white-space:normal}
}
/* 469px より広い SP 幅では写真が右端に届かないので、枠いっぱいに切り抜く表示へ切り替える。 */
@media (min-width:470px) and (max-width:767px){
  .news-hero__photo img{top:0;width:calc(100% + 157.45px);height:100%;object-fit:cover;object-position:50% 100%}
  .news-hero__photo--custom img{left:0;width:100%;object-position:50% 50%}
}
