/* English text lengths; retain the original site layout and breakpoints. */
html[lang="en"] body { font-family: "Poppins", "NotoSansJP", Arial, sans-serif; }
html[lang="en"] .all_catch, html[lang="en"] .all_text2, html[lang="en"] .all_text3,
html[lang="en"] .description, html[lang="en"] .contact_form { overflow-wrap: break-word; word-break: normal; }
html[lang="en"] .info-table td, html[lang="en"] .spec-table td { word-break: normal !important; overflow-wrap: anywhere; }
html[lang="en"] .detail-table th { font-size: clamp(10px, 0.9vw, 14px); line-height: 1.45; white-space: normal; }
html[lang="en"] .detail-table { min-width: 700px; }
html[lang="en"] .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
html[lang="en"] #header .nav_lists a { letter-spacing: 0; }
html[lang="en"] .contact_form dt { line-height: 1.5; }
html[lang="en"] .contact_form .req { white-space: nowrap; }
html[lang="en"] .index-about .catch-copy,
html[lang="en"] .index-service .catch-copy,
html[lang="en"] .index-product .catch-copy { word-break: normal; }
@media (max-width: 767px) {
  html[lang="en"] .all_under_pagetitle ._title_ja { font-size: clamp(24px, 6vw, 38px); overflow-wrap: anywhere; }
  html[lang="en"] .contact_form dt { flex-wrap: wrap; }
  html[lang="en"] .detail-table th { font-size: 11px; }
}

/* English contact form labels. */
.contact_page .contact_form dt .req {
    width: auto;
    height: auto;
    min-height: 1.5em;
    padding: 0.12em 0.5em;
    margin-left: 0.65em;
    line-height: 1.25;
    vertical-align: middle;
}

.contact_page .contact_form ._address {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.contact_page .contact_form ._address label {
    white-space: nowrap;
}

.contact_page .contact_form ._address #zip {
    width: 100%;
    max-width: calc(5.34rem - 34px);
    min-width: 0;
}

.contact_page .contact_form ._address #addr {
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: 0;
}

@media (max-width: 768px) {
    .contact_page .contact_form ._address {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .contact_page .contact_form ._address #zip {
        max-width: 100%;
    }

    /* Keep each recruitment label and its value together on narrow screens. */
    .guidelines_page .guidelines .guidelines_acc ._child {
        padding: 20px clamp(14px, 5vw, 24px);
    }

    .guidelines_page .guidelines_acc .info-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        padding: 12px 0;
    }

    .guidelines_page .guidelines_acc .info-table th,
    .guidelines_page .guidelines_acc .info-table td {
        display: block;
        width: auto;
        min-width: 0;
        padding: 0;
        border-bottom: 0;
        line-height: 1.6;
        white-space: normal;
        overflow-wrap: break-word;
    }

    /* Keep the date and category in the same positions for every news row. */
    .news_page .news_all_lists .news_all_btn ._arrow {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        align-items: start;
        column-gap: clamp(12px, 4vw, 24px);
        padding-right: 0.54rem;
        box-sizing: border-box;
    }

    .news_page .news_all_lists .news_all_detail {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 6px;
        max-width: none;
    }

    .news_page .news_all_lists .news_all_detail ._date,
    .news_page .news_all_lists .news_all_detail ._cat {
        white-space: nowrap;
    }

    .news_page .news_all_lists .news_all_title {
        min-width: 0;
        overflow-wrap: break-word;
    }
}
