/* Shared feedback for navigation, photo cards and calls to action. */
.hokuyu :is(.text-link, .quiet-link, .service-page-link, .company-text-link,
    .company-map-link, .news-back, .footer-top nav a, .site-header nav a) {
    transition: color .2s ease, background-color .2s ease;
}
.hokuyu :is(.work h3, .report-card h2, .service-title-link) {
    transition: color .2s ease;
}
/* Keep existing reading-link underlines stationary; never draw a new line on hover. */
.hokuyu :is(.work:hover, .work:focus-visible) h3,
.hokuyu :is(.report-card:hover, .report-card:focus-visible) h2,
.hokuyu .service-item:hover .service-title-link,
.hokuyu .service-title-link:is(:hover, :focus-visible),
.hokuyu .footer-top nav a:is(:hover, :focus-visible) {
    text-decoration: none;
}
.hokuyu :is(.work:hover, .work:focus-visible) h3,
.hokuyu :is(.report-card:hover, .report-card:focus-visible) h2,
.hokuyu .service-item:hover .service-title-link,
.hokuyu .service-title-link:is(:hover, :focus-visible),
.hokuyu :is(.text-link, .service-page-link, .company-text-link, .company-map-link,
    .news-back):is(:hover, :focus-visible) {
    color: var(--accent);
}
.hokuyu .link-arrow { transition: transform .2s ease; }
.hokuyu a:is(:hover, :focus-visible) .link-arrow { transform: translateX(3px); }

/* Room to finish viewing the photographs before choosing the next page. */
.hokuyu .works-archive { padding-top: 48px; padding-bottom: 104px; }
.hokuyu .works-archive > .pagination { margin-top: 48px; }
.hokuyu .pagination .nav-links,
.hokuyu .news-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.hokuyu .pagination .page-numbers,
.hokuyu .news-pagination .page-numbers:not(ul) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 9px 13px;
    margin: 0;
    border: 1px solid var(--line);
    background-color: var(--paper);
    color: var(--ink);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.hokuyu .pagination .page-numbers.current,
.hokuyu .news-pagination .page-numbers.current {
    border-color: var(--ink);
    background-color: var(--ink);
    color: var(--paper);
}
.hokuyu .pagination a.page-numbers:is(:hover, :focus-visible),
.hokuyu .news-pagination a.page-numbers:is(:hover, :focus-visible) {
    background-color: #edf0e7;
    border-color: #78816d;
}
.hokuyu .pagination .page-numbers.dots { border-color: transparent; background: none; }
.hokuyu .pagination a:focus-visible,
.hokuyu .news-pagination a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
@media (max-width: 700px) {
    .hokuyu .works-archive { padding-top: 32px; padding-bottom: 72px; }
    .hokuyu .works-archive > .pagination { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
    .hokuyu a .link-arrow { transform: none !important; transition: none; }
}

/* Group the company identity above the rule; keep the legal line independent. */
.hokuyu .footer-top { align-items: flex-start; }
.hokuyu .footer-identity { flex: 0 1 360px; min-width: 0; }
.hokuyu .footer-brand { display: inline-block; line-height: 1.7; }
.hokuyu .footer-address {
    margin: 10px 0 0;
    max-width: 29em;
    font-size: 14px;
    line-height: 1.9;
    color: #ecefe6;
    letter-spacing: .03em;
}
.hokuyu .footer-bottom { display: block; text-align: center; margin-top: 32px; }
.hokuyu .footer-bottom small { display: block; margin: 0; width: 100%; }
/* The caption belongs to the photo above it, with a clear pause before the next row. */
.hokuyu :is(#works, .works-archive) .works-grid--editorial { row-gap: 64px; }
@media (min-width: 701px) and (max-width: 1100px) {
    .hokuyu .footer-top { flex-wrap: wrap; }
    .hokuyu .footer-top nav { order: 3; width: 100%; margin-left: 0; }
    .hokuyu .back-top { margin-left: auto; }
}
@media (min-width: 701px) and (max-width: 1050px) {
    .hokuyu :is(#works, .works-archive) .works-grid--editorial { row-gap: 56px; }
}
@media (max-width: 700px) {
    .hokuyu .footer-identity { flex: 1; }
    .hokuyu .footer-address { margin-top: 8px; }
    .hokuyu .footer-bottom { margin-top: 28px; }
    .hokuyu :is(#works, .works-archive) .works-grid--editorial { row-gap: 48px; }
}

/* Editorial scale: section labels support the existing semantic headings. */
.hokuyu .section-label { align-items: flex-start; gap: 0; border: 0; }
.hokuyu .section-label .dot { display: none; }
.hokuyu .section-label > p {
    font-size: clamp(32px, 2.6vw, 40px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .015em;
}
.hokuyu .section-label small {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: .04em;
}
.hokuyu :is(.service-kicker, .works-page-label, .work-detail-label,
    .news-heading .news-label, .cp-eyebrow, .ct-eyebrow,
    .company-section-heading .company-label, .shared-contact-cta > div > p:first-child) {
    font-size: clamp(32px, 2.6vw, 40px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .015em;
}
.hokuyu :is(.cp-eyebrow, .ct-eyebrow) > span {
    display: block; margin: 12px 0 0; font-size: 15px; line-height: 1.7;
}
/* C: deliberate page actions, separate from photo links, navigation and forms. */
.hokuyu :is(.text-link, .quiet-link, .service-page-link, .company-text-link,
    .news-back, .works-all-link, .contact-cta-button, .nav-contact) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    min-height: 54px !important;
    padding: 14px 24px !important;
    gap: 0;
    border: 1px solid currentColor !important;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    text-align: center;
    text-decoration: none !important;
    box-shadow: none;
    transition: background-color .28s ease, color .28s ease,
        border-color .28s ease, transform .28s ease !important;
}
.hokuyu .service-meta .service-detail { margin-left: 0; }
.hokuyu .works-all-link { display: flex; width: 300px; margin-inline: auto; }
.hokuyu :is(.contact, .concept, .cp-next, .shared-contact-cta)
    :is(.quiet-link, .text-link, .contact-cta-button) { color: var(--paper); }
.hokuyu :is(.text-link, .quiet-link, .service-page-link, .company-text-link,
    .news-back, .works-all-link, .contact-cta-button, .nav-contact) .link-arrow { display: none !important; }
.hokuyu :is(.text-link, .quiet-link, .service-page-link, .company-text-link,
    .news-back, .works-all-link, .contact-cta-button, .nav-contact)::after { content: none; }
.hokuyu :is(.text-link, .quiet-link, .service-page-link, .company-text-link,
    .news-back, .works-all-link, .contact-cta-button, .nav-contact):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
    background-color: var(--accent);
    border-color: var(--accent) !important;
    color: #fff;
}
@media (hover: hover) {
    .hokuyu :is(.text-link, .quiet-link, .service-page-link, .company-text-link,
        .news-back, .works-all-link, .contact-cta-button, .nav-contact):hover {
        background-color: var(--accent);
        border-color: var(--accent) !important;
        color: #fff;
        transform: translateY(-3px);
    }
}
@media (max-width: 700px) {
    .hokuyu .section-label > p,
    .hokuyu :is(.service-kicker, .works-page-label, .work-detail-label,
        .news-heading .news-label, .cp-eyebrow, .ct-eyebrow,
        .company-section-heading .company-label, .shared-contact-cta > div > p:first-child) {
        font-size: clamp(26px, 7.2vw, 32px);
    }
    .hokuyu .section-label small { margin-top: 9px; font-size: 14px; }
    .hokuyu :is(.text-link, .quiet-link, .service-page-link, .company-text-link,
        .news-back, .works-all-link, .contact-cta-button, .nav-contact) { padding: 13px 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .hokuyu :is(.text-link, .quiet-link, .service-page-link, .company-text-link,
        .news-back, .works-all-link, .contact-cta-button, .nav-contact) {
        transition: none !important; transform: none !important;
    }
}

/* The consultation entry follows C; the remaining navigation stays text based. */
.hokuyu .site-header nav .nav-contact {
    border: 1px solid var(--ink);
    color: var(--ink);
    background: transparent;
    padding: 12px 18px !important;
    min-height: 48px !important;
}
.hokuyu .site-header nav .nav-contact:focus-visible {
    background: var(--accent); color: #fff; border-color: var(--accent);
}
@media (hover: hover) {
    .hokuyu .site-header nav .nav-contact:hover {
        background: var(--accent); color: #fff; border-color: var(--accent);
    }
}

/* MV consultation action replaces the former scroll cue. */
.hokuyu .hero-copy .contact-cta-button { color: #fff; margin-top: 30px; }
@media (hover: hover) {
    .hokuyu .hero-copy .contact-cta-button:hover { color: #fff; }
}
@media (max-width: 700px) {
    .hokuyu .hero-copy .contact-cta-button { margin-top: 24px; }
}

/* Japanese catch copy: sans-serif sections, a restrained Mincho only for MV. */
.hokuyu :is(.intro-editorial h2, .intro-content h2) {
    font-family: inherit;
    font-weight: 500;
}
.hokuyu .hero h1 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
    font-size: clamp(45.76px, 5.896vw, 93.28px);
    font-weight: 400;
    line-height: 1.32;
    letter-spacing: .04em;
}
@media (max-width: 700px) {
    .hokuyu .hero h1 {
        font-size: clamp(31.68px, 9.152vw, 59.84px);
        line-height: 1.35;
        letter-spacing: .025em;
    }
}

/* Work types are metadata labels, not additional buttons inside a linked card. */
.hokuyu .work-caption .work-type-label,
.hokuyu .work-detail-type {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    padding: 2px 7px;
    border: 1px solid #d5b9aa;
    border-radius: 0;
    background: #f2ece5;
    color: #93401f;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .02em;
    vertical-align: top;
}
.hokuyu .work-caption .work-type-label { margin-bottom: 4px; }
@media (max-width: 700px) {
    .hokuyu .work-caption .work-type-label,
    .hokuyu .work-detail-type { font-size: 11px; }
}

/* Two business types, recognizable at a glance while retaining their text. */
.hokuyu .work-caption .work-type-label,
.hokuyu .work-detail-type {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.hokuyu .work-caption .work-type-label--reform,
.hokuyu .work-detail-type.work-type-label--reform {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
