:root {
    --navy: #112338;
    --ink: #172b3b;
    --muted: #52636b;
    --green: #326858;
    --line: #dce4e3;
    --wash: #f1f5f4;
    --gutter: clamp(1.25rem, 5.6vw, 5.5rem);
    --sans: Inter, "Helvetica Neue", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    color: var(--ink);
    background: #fff;
    font-family: var(--sans);
    line-height: 1.65;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.4; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
[lang="en"] { font-family: Inter, "Helvetica Neue", "Segoe UI", Roboto, sans-serif; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

.shell {
    width: min(100% - var(--gutter) * 2, 1280px);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 5;
    top: .75rem;
    left: 1rem;
    padding: .75rem 1rem;
    transform: translateY(-180%);
    background: white;
}
.skip-link:focus { transform: translateY(0); }

.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner {
    display: flex;
    min-height: 88px;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}
.brand img { width: 106px; height: auto; object-fit: contain; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem clamp(1rem, 3vw, 2.8rem); padding: 0; list-style: none; }
.site-nav a {
    display: block;
    border-bottom: 2px solid transparent;
    padding-block: .6rem .45rem;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current] { border-color: var(--green); color: var(--green); }
.menu-toggle {
    border: 1px solid var(--line);
    background: white;
    padding: .55rem .8rem;
    color: var(--ink);
    font: inherit;
    font-size: .8125rem;
    cursor: pointer;
}

.hero, .page-heading-photo {
    color: white;
    background-color: var(--navy);
    background-image: linear-gradient(90deg, rgba(9, 23, 40, .94), rgba(12, 29, 49, .65) 49%, rgba(12, 29, 49, .14)), url("img/recycling-facility.jpg");
    background-size: cover;
    background-position: center;
}
.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: clamp(34rem, 47vw, 47rem);
    padding-block: 4rem;
}
.hero-en {
    display: block;
    font-size: clamp(3.1rem, 8.3vw, 8.3rem);
    font-weight: 300;
    line-height: .98;
    letter-spacing: -.055em;
}
.hero-ja {
    display: block;
    margin-top: 1.6rem;
    font-size: clamp(1.1rem, 2vw, 1.75rem);
    letter-spacing: .09em;
}
.arrow-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: .85rem;
    font-weight: 700;
    text-decoration: none;
}
.arrow-link::after { content: ""; width: .55rem; height: .55rem; border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg); }
.hero-link { margin-top: 2rem; border-bottom: 1px solid #d1dcdf; }
.hero-link:hover { color: #c2e9db; }

.section { padding-block: clamp(3.5rem, 8vw, 7.5rem); }
.business, .news-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 7vw, 7rem); }
.section-label {
    display: block;
    margin-bottom: .8rem;
    color: var(--green);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.section h2 { font-size: clamp(1.45rem, 3.15vw, 2.8rem); letter-spacing: .025em; }
.business-detail { align-self: end; }
.business-detail p, .prose { color: var(--muted); line-height: 2; }
.business-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.business-links a { border-block: 1px solid var(--line); padding-inline: .25rem .6rem; }
.business-links a:hover { color: var(--green); border-color: var(--green); }

.news { background: var(--wash); }
.news-layout { grid-template-columns: minmax(0, .52fr) minmax(0, 1fr); }
.news-content h3 { padding-block: .5rem; }
.news-list { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.news-list li {
    display: flex;
    gap: .5rem 1.5rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
}
.news-list time { color: var(--green); font-size: .9rem; font-weight: 600; white-space: nowrap; }

.page-heading { background-color: var(--wash); padding-block: clamp(3rem, 7vw, 6.75rem); }
.page-heading-photo { background-color: var(--navy); padding-block: clamp(4rem, 9vw, 9rem); }
.page-en {
    display: block;
    font-size: clamp(3rem, 7vw, 6.8rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.055em;
}
.page-heading h1 { margin-top: 1rem; font-size: clamp(1.05rem, 2vw, 1.4rem); letter-spacing: .1em; }
.company { display: grid; gap: 2rem; }
.company-row {
    display: grid;
    grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
    gap: 1rem clamp(1.5rem, 6vw, 6rem);
    border-top: 1px solid var(--line);
    padding-top: 2rem;
}
.company-row h2, .location h2 { font-size: clamp(1.25rem, 2.4vw, 2rem); }
.prose, .material-body, .location-details { overflow-wrap: anywhere; }
.prose p + p, .material-body p + p { margin-top: 1em; }

.materials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.6vw, 2.2rem); }
.material { border: 1px solid var(--line); background: white; }
.material-media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--wash);
}
.material-placeholder { color: var(--muted); font-size: .8rem; }
.material-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--wash); }
.material-body { padding: clamp(1rem, 2vw, 1.65rem); }
.material-body h2 { font-size: 1.2rem; }
.material-body p { margin-top: .7rem; color: var(--muted); }

.locations { display: grid; gap: 3rem; }
.location { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.5rem clamp(1.5rem, 5vw, 4.5rem); }
.address-list { margin-top: 1.3rem; border-top: 1px solid var(--line); }
.address-list div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .5rem; padding-block: .9rem; border-bottom: 1px solid var(--line); }
.address-list dt { font-weight: 700; }
.address-list dd { color: var(--muted); }
.location-map { width: 100%; height: clamp(19rem, 36vw, 27rem); border: 0; background: var(--wash); }

.site-footer { padding-top: clamp(2rem, 5vw, 4rem); background: var(--navy); color: white; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem 2rem; padding-bottom: 2rem; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.footer-brand { font-weight: 700; font-size: 1.15rem; }
.footer-brand span, .footer-inner p, .copyright { display: block; color: #c7d4dc; font-size: .8rem; font-weight: 400; }
.footer-brand span { margin-top: .35rem; }
.footer-tel { font-size: 1.25rem; }
.copyright { border-top: 1px solid #ffffff38; padding-block: 1rem; }

@media (max-width: 900px) {
    .materials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .header-inner { min-height: 66px; flex-wrap: wrap; gap: 0 .75rem; padding-block: .65rem; }
    .brand { gap: .45rem; font-size: .875rem; }
    .brand img { width: 79px; }
    .site-nav { flex-basis: 100%; padding-top: .5rem; }
    .site-nav ul { padding-block: .35rem; }
    .hero { background-position: 62% center; }
    .hero-inner { min-height: clamp(29rem, 78vw, 35rem); }
    .business, .news-layout, .company-row, .location { grid-template-columns: minmax(0, 1fr); }
    .news-list li { flex-direction: column; }
}

@media (max-width: 490px) {
    .materials { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .reveal-in { animation: reveal-in .55s ease-out both; }
    @keyframes reveal-in {
        from { opacity: .65; transform: translateY(12px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
