@charset "UTF-8";

:root {
  color-scheme: dark;
  --background: #1b1c1d;
  --panel: #222324;
  --text: #f5f5f1;
  --muted: #a8a9a7;
  --accent: #fffa00;
  --line: #3a3b3b;
  --rail-width: 250px;
  --english: "Oswald", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 14px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--accent); color: #171717; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 20px; background: var(--accent); color: #171717; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); color: #171717; }

/* The TOP page's central brand panel becomes a persistent side navigation. */
.site-rail { position: fixed; inset: 0 auto 0 0; z-index: 5; display: flex; flex-direction: column; width: var(--rail-width); height: 100vh; height: 100dvh; padding: 42px 28px 24px; overflow-y: auto; background: #191a1b url("/images/home-bg.png") repeat-y center top; border-right: 1px solid #343535; }
.brand { display: block; text-align: center; }
.brand img { width: 164px; margin: 0 auto; }
.brand > span { display: block; margin-top: 15px; color: #b8b9b6; font-size: 10px; letter-spacing: .04em; white-space: nowrap; }
.site-nav { display: grid; gap: 0; margin-top: 42px; }
.site-nav > a { position: relative; display: block; padding: 15px 14px; font-family: var(--english); font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: .06em; border-top: 1px solid #3b3c3d; }
.site-nav > a:last-child { border-bottom: 1px solid #3b3c3d; }
.site-nav > a > span { display: block; margin-top: 6px; color: #aaa; font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 10px; font-weight: 400; letter-spacing: .04em; }
.site-nav b { float: right; font-size: 13px; font-weight: 400; }
.site-nav > a[aria-current="page"] { color: var(--accent); }
.site-nav > a[aria-current="page"]::before { position: absolute; top: 18px; bottom: 18px; left: 0; width: 2px; background: var(--accent); content: ""; }
.rail-footer { margin-top: auto; padding-top: 38px; text-align: center; }
.rail-phone { display: block; font-family: var(--english); font-size: 23px; font-weight: 400; letter-spacing: .04em; white-space: nowrap; }
.rail-phone > span { margin-right: 5px; color: var(--muted); font-size: 13px; }
.social-links { display: flex; justify-content: center; gap: 13px; margin: 19px 0 23px; }
.social-links a:hover { opacity: .7; }
.social-links img { width: 23px; height: 23px; object-fit: contain; }
.group-link { display: block; max-width: 170px; margin: 0 auto; }
.group-link img { width: 100%; height: auto; }
.rail-caption { margin-top: 20px; color: #aaa; font-family: var(--english); font-size: 9px; letter-spacing: .1em; }
.company-main { margin-left: var(--rail-width); }

/* Reuse the bridge and plant photography from the TOP page. */
.company-hero { position: relative; min-height: 520px; overflow: hidden; isolation: isolate; background: #222; }
.hero-photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-repeat: no-repeat; }
.hero-photo-bridge { right: 39%; background-image: url("/images/home-img-linex.png"); background-position: center 47%; }
.hero-photo-plant { left: 61%; background-image: url("/images/home-img-insta.png"); background-position: center 55%; border-left: 1px solid #555; }
.company-hero::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .36), transparent 75%), linear-gradient(0deg, rgba(0, 0, 0, .3), transparent 60%); content: ""; }
.hero-content { padding: 32px clamp(32px, 5vw, 80px) 52px; }
.breadcrumb { display: flex; gap: 14px; align-items: center; margin-bottom: 57px; color: #ccc; font-family: var(--english); font-size: 10px; letter-spacing: .13em; }
.breadcrumb > span:last-child { color: #fff; }
.eyebrow { color: var(--accent); font-family: var(--english); font-size: 11px; font-weight: 400; letter-spacing: .18em; }
.company-hero .eyebrow::before { display: inline-block; width: 28px; height: 2px; margin: 0 12px 3px 0; background: var(--accent); content: ""; }
.company-hero h1 { margin-top: 17px; font-family: var(--english); font-size: clamp(68px, 6.4vw, 100px); font-weight: 500; line-height: 1.05; letter-spacing: .025em; }
.company-hero h1 > span { display: block; margin-top: 24px; font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 17px; font-weight: 500; letter-spacing: .22em; }
.hero-caption { margin-top: 20px; color: #c5c5c3; font-size: 11px; letter-spacing: .2em; }
.hero-scroll { position: absolute; right: 32px; bottom: 34px; display: flex; gap: 18px; align-items: center; font-family: var(--english); font-size: 10px; letter-spacing: .13em; }
.hero-scroll > span:last-child { color: var(--accent); font-size: 22px; }
.section-nav { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(32px, 5vw, 80px); border-bottom: 1px solid var(--line); background: #202122; }
.section-nav a { display: flex; gap: 18px; align-items: center; min-height: 76px; padding: 15px 22px; border-right: 1px solid var(--line); font-size: 12px; }
.section-nav a:first-child { padding-left: 0; }
.section-nav a:last-child { padding-right: 0; border-right: 0; }
.section-nav a > span { color: var(--accent); font-family: var(--english); font-size: 12px; }
.section-nav b { margin-left: auto; color: var(--muted); font-size: 16px; font-weight: 400; }

.company-section { padding: 80px clamp(32px, 5vw, 80px); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; gap: 18px; margin-bottom: 44px; }
.section-number { color: var(--accent); font-family: var(--english); font-size: 13px; letter-spacing: .06em; white-space: nowrap; }
.section-heading h2 { font-family: var(--english); font-size: clamp(28px, 2.6vw, 40px); font-weight: 400; line-height: 1.2; letter-spacing: .04em; }
.section-heading h2 > span { display: inline-block; margin-left: 24px; color: #bcbdb9; font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 11px; font-weight: 400; letter-spacing: .1em; vertical-align: middle; }
.about-layout { display: grid; grid-template-columns: minmax(220px, .85fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 64px); }
.about-message { font-size: clamp(23px, 2.2vw, 34px); font-weight: 600; line-height: 1.9; letter-spacing: .05em; }
.about-message em { color: var(--accent); font-style: normal; }
.about-copy { color: #c6c7c4; font-size: 14px; line-height: 2.15; }
.about-copy p + p { margin-top: 20px; }
.facilities-section { background: var(--panel); }
.facility-feature { display: grid; grid-template-columns: 1.45fr 1fr; align-items: stretch; margin-bottom: 30px; background: #1b1c1d; }
.facility-feature > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.facility-info { align-self: center; padding: 32px; }
.facility-info h3 { margin-top: 14px; font-size: 21px; font-weight: 500; line-height: 1.8; letter-spacing: .02em; }
.facility-role { margin-top: 22px; color: #ccc; font-size: 12px; line-height: 1.9; }
.facility-address { margin-top: 16px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.text-link { display: inline-flex; gap: 30px; margin-top: 26px; padding-bottom: 7px; border-bottom: 1px solid #62635e; font-size: 11px; }
.text-link > span { color: var(--accent); }
.facility-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.facility-photo { min-width: 0; }
.facility-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #171819; }
.facility-photo figcaption { margin-top: 12px; color: #c6c7c4; font-size: 11px; letter-spacing: .04em; }
.more-facilities { margin-top: 32px; }
.more-facilities summary { display: flex; align-items: center; justify-content: space-between; width: 260px; min-height: 49px; margin: 0 auto; padding: 12px 18px; border: 1px solid #60615d; cursor: pointer; font-size: 12px; list-style: none; }
.more-facilities summary::-webkit-details-marker { display: none; }
.more-facilities summary:hover { color: var(--accent); border-color: var(--accent); }
.details-icon { position: relative; width: 12px; height: 12px; margin-left: 20px; }
.details-icon::before, .details-icon::after { position: absolute; inset: 5px 0 auto; height: 1px; background: var(--accent); content: ""; }
.details-icon::after { transform: rotate(90deg); }
.more-facilities[open] .details-icon::after { transform: none; }
.when-open, .more-facilities[open] .when-closed { display: none; }
.more-facilities[open] .when-open { display: inline; }
.additional-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; row-gap: 28px; }

.company-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; line-height: 2; }
.company-table th, .company-table td { padding: 23px 0; border-top: 1px solid var(--line); vertical-align: top; }
.company-table tr:last-child > * { border-bottom: 1px solid var(--line); }
.company-table th { width: 23%; padding-right: 26px; color: #adada9; font-size: 12px; font-weight: 400; }
.company-table td { color: #e0e0dc; }
.company-table dl, .company-table ul { margin: 0; }
.company-table dt { font-weight: 500; }
.company-table dd { margin: 5px 0 22px; color: var(--muted); }
.company-table dd:last-child { margin-bottom: 0; }
.company-table ul { padding-left: 1.2em; }
.company-table a { border-bottom: 1px solid #62635e; }
.company-table a > span { margin-left: 4px; color: var(--accent); }
.company-footer { padding: 48px clamp(32px, 5vw, 80px) 24px; background: #171819; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-name { margin-top: 12px; font-size: 12px; }
.footer-main address { margin-top: 12px; color: var(--muted); font-size: 11px; font-style: normal; line-height: 1.9; }
.footer-phone { font-family: var(--english); font-size: clamp(23px, 2.7vw, 36px); font-weight: 400; letter-spacing: .03em; white-space: nowrap; }
.footer-phone > span { margin-right: 9px; color: var(--accent); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--english); letter-spacing: .04em; }
.footer-bottom small { max-width: 440px; color: #9b9c99; font-size: 9px; line-height: 1.8; }
.footer-bottom > a { font-size: 10px; white-space: nowrap; }
.footer-bottom > a > span { margin-left: 12px; color: var(--accent); font-size: 16px; }

@media (min-width: 1700px) {
  .company-section { padding-right: max(80px, calc((100vw - var(--rail-width) - 1180px) / 2)); padding-left: max(80px, calc((100vw - var(--rail-width) - 1180px) / 2)); }
}

@media (max-width: 1100px) {
  :root { --rail-width: 210px; }
  .site-rail { padding: 32px 20px 22px; }
  .brand img { width: 145px; }
  .brand > span { font-size: 9px; }
  .site-nav { margin-top: 34px; }
  .rail-phone { font-size: 21px; }
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-message br:nth-child(2) { display: none; }
  .facility-feature { grid-template-columns: 1.2fr 1fr; }
  .facility-info { padding: 24px; }
  .facility-info h3 { font-size: 18px; }
  .facility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .section-nav a { gap: 10px; padding-right: 12px; padding-left: 12px; font-size: 11px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 20px; }
  .site-rail { position: relative; inset: auto; width: 100%; height: auto; padding: 20px 24px 0; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line); background-size: 100% auto; }
  .brand { display: flex; gap: 20px; align-items: center; text-align: left; }
  .brand img { width: 85px; margin: 0; }
  .brand > span { margin: 0; font-size: 10px; }
  .site-nav { grid-template-columns: .6fr 1fr 1.1fr .9fr; gap: 14px; margin-top: 20px; }
  .site-nav > a { padding: 12px 0 15px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .01em; white-space: nowrap; }
  .site-nav > a:last-child { border-bottom: 0; }
  .site-nav > a > span { display: none; }
  .site-nav > a[aria-current="page"]::before { inset: auto 0 0; width: auto; height: 2px; }
  .rail-footer { display: none; }
  .company-main { margin-left: 0; }
  .company-hero { min-height: 465px; }
  .hero-content { padding: 24px 26px 42px; }
  .breadcrumb { margin-bottom: 46px; }
  .company-hero h1 { font-size: clamp(61px, 12vw, 82px); }
  .company-hero h1 > span { margin-top: 23px; font-size: 15px; }
  .hero-photo-bridge { right: 30%; background-position: 55% center; }
  .hero-photo-plant { left: 70%; }
  .hero-scroll { right: 24px; bottom: 24px; }
  .hero-scroll > span:first-child { display: none; }
  .section-nav { padding: 0 24px; }
  .section-nav a { flex-wrap: wrap; column-gap: 8px; row-gap: 3px; min-height: 74px; padding: 14px 10px; font-size: 10px; }
  .section-nav a > span { flex-basis: 100%; font-size: 10px; }
  .section-nav b { display: none; }
  .company-section { padding: 52px 24px; }
  .section-heading { gap: 12px; margin-bottom: 28px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading h2 > span { display: block; margin: 10px 0 0; font-size: 10px; }
  .section-number { font-size: 11px; }
  .about-layout { gap: 26px; }
  .about-message { font-size: 25px; line-height: 1.85; }
  .about-message br:nth-child(2) { display: initial; }
  .about-copy { font-size: 14px; line-height: 2.1; }
  .facility-feature { grid-template-columns: 1fr; margin-bottom: 24px; }
  .facility-feature > img { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .facility-info { padding: 26px 24px; }
  .facility-info h3 { font-size: 21px; }
  .facility-grid { gap: 20px 14px; }
  .facility-photo figcaption { margin-top: 8px; font-size: 10px; }
  .more-facilities summary { width: min(100%, 280px); }
  .company-table th, .company-table td { padding: 18px 0; }
  .company-table th { width: 31%; padding-right: 18px; font-size: 11px; }
  .company-table td { font-size: 12px; overflow-wrap: anywhere; }
  .company-footer { padding: 36px 24px 22px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-phone { font-size: 30px; }
  .footer-bottom { align-items: flex-start; gap: 18px; margin-top: 28px; }
  .footer-bottom small { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a { transition: none; }
}

@media print {
  :root { color-scheme: light; --text: #111; --muted: #444; --accent: #111; --line: #ccc; }
  body, .company-section, .company-footer, .facility-feature { color: #111; background: #fff; }
  .site-rail, .section-nav, .hero-scroll, .breadcrumb, .footer-bottom > a, .more-facilities { display: none; }
  .company-main { margin: 0; }
  .company-hero { min-height: 0; color: #111; background: #fff; }
  .hero-photo, .company-hero::after { display: none; }
  .hero-content { padding: 24px; }
  .company-hero h1 { font-size: 44px; }
  .company-section { padding: 30px 24px; }
  .about-copy, .company-table td, .facility-role, .facility-photo figcaption { color: #333; }
  .facility-feature, tr { break-inside: avoid; }
}
