/* ==========================================================================
   RECRUIT PAGE — [think_recruit] — Scrollspy Layout
   ========================================================================== */

.tr-wrapper {
    color: #e0e0e0;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
    min-height: 100vh;
}

/* =========================================
   PER-SECTION TAB NAV
   ========================================= */
.tr-section-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 60px;
}

.tr-section-nav-inner {
    display: flex;
    flex: 1;
    border: 1px solid rgba(255,255,255,0.25);
}

.tr-snav-link {
    flex: 1;
    display: block;
    text-align: center;
    color: #ccc;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 14px 8px;
    text-decoration: none;
    border-right: 1px solid rgba(255,255,255,0.25);
    transition: background 0.2s, color 0.2s;
}

.tr-snav-link:last-child {
    border-right: none;
}

.tr-snav-link:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
    text-decoration: none;
}

.tr-snav-link.current {
    background: #dddedd;
    color: #1a1c18;
    font-weight: 500;
}

.tr-nav-inquiry {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 12px;
}

.tr-nav-inquiry a {
    color: #ccc;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.tr-nav-inquiry a:hover { color: #cc0000; }

.tr-nav-icon {
    color: #cc0000;
    font-size: 14px;
}

/* =========================================
   CONTENT SECTIONS
   ========================================= */
.tr-content-wrap {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.tr-section {
    max-width: 920px;
    margin: 0 auto;
    padding: 60px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tr-section:last-child {
    border-bottom: none;
    padding-bottom: 120px;
}

/* Section Title */
.tr-section-title {
    text-align: center;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 30px;
}

.tr-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 50px;
}

/* ---- Message ---- */
.tr-message-body {
    text-align: center;
    font-size: 15px;
    line-height: 2.2;
    color: #ccc;
    padding-bottom: 40px;
}

.tr-signoff {
    text-align: right;
    font-size: 11px;
    color: #888;
    letter-spacing: 3px;
}

/* ---- Gallery (Mosaic Layout 1-2-5-2-1) ---- */
.tr-gallery-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 0; /* No gaps for continuous mosaic */
}

.tr-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Row 1: 1 image (full width) */
.tr-gallery-item:nth-child(1) { grid-column: 1 / span 10; grid-row: 1; height: 500px; }

/* Row 2: 2 images (half width) */
.tr-gallery-item:nth-child(2) { grid-column: 1 / span 5; grid-row: 2; height: 350px; }
.tr-gallery-item:nth-child(3) { grid-column: 6 / span 5; grid-row: 2; height: 350px; }

/* Row 3 Cluster: 5 images (2 stacked left, 1 large center, 2 stacked right) */
.tr-gallery-item:nth-child(4) { grid-column: 1 / span 3; grid-row: 3; height: 250px; }
.tr-gallery-item:nth-child(5) { grid-column: 1 / span 3; grid-row: 4; height: 250px; }
.tr-gallery-item:nth-child(6) { grid-column: 4 / span 4; grid-row: 3 / span 2; height: 500px; }
.tr-gallery-item:nth-child(7) { grid-column: 8 / span 3; grid-row: 3; height: 250px; }
.tr-gallery-item:nth-child(8) { grid-column: 8 / span 3; grid-row: 4; height: 250px; }

/* Row 4: 2 images (half width) */
.tr-gallery-item:nth-child(9) { grid-column: 1 / span 5; grid-row: 5; height: 350px; }
.tr-gallery-item:nth-child(10) { grid-column: 6 / span 5; grid-row: 5; height: 350px; }

/* Row 5: 1 image (full width) */
.tr-gallery-item:nth-child(11) { grid-column: 1 / span 10; grid-row: 6; height: 500px; }

/* Any extra images */
.tr-gallery-item:nth-child(n+12) { grid-column: span 5; height: 350px; }

/* ---- Table Subheader ---- */
.tr-table-subheader {
    text-align: center;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 40px;
    color: #ddd;
}

.tr-highlight { color: #cc0000; }

/* ---- Requirements Table ---- */
.tr-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.25);
}

.tr-table th,
.tr-table td {
    padding: 22px 20px;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.9;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tr-table th {
    width: 180px;
    min-width: 140px;
    text-align: left;
    font-weight: 400;
    color: #fff;
    background: rgba(0, 0, 0, 0.20);
}

.tr-table td {
    color: #bbb;
}

/* ---- Warning Box ---- */
.tr-warning-box {
    border: 1px solid #cc0000;
    padding: 20px 30px;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #ddd;
}

/* ---- Table Footer ---- */
.tr-table-footer {
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

/* ---- Inquiry Nav Button ---- */
.tr-snav-inquiry-btn {
    color: #ccc;
    text-decoration: none;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: color 0.2s;
}
.tr-snav-inquiry-btn:hover {
    color: #cc0000;
    text-decoration: none;
}

/* ---- Inquiry Section ---- */
.tr-inquiry-section {
    text-align: center;
}

.tr-inquiry-icon {
    font-size: 56px;
    color: #cc0000;
    margin-bottom: 20px;
    line-height: 1;
    display: block;
}

.tr-inquiry-subtitle {
    font-size: 16px;
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 6px;
}

.tr-inquiry-subtitle small {
    font-size: 13px;
    color: #aaa;
}

.tr-inquiry-note {
    font-size: 13px;
    color: #888;
    margin-bottom: 40px;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
    padding-bottom: 30px;
}

.tr-inquiry-address-box {
    background: rgba(0,0,0,0.35);
    max-width: 520px;
    margin: 0 auto;
    padding: 35px 40px;
    line-height: 2;
}

.tr-inquiry-zip {
    font-size: 14px;
    color: #aaa;
}

.tr-inquiry-addr {
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
}

.tr-inquiry-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
}

.tr-inquiry-email a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.tr-inquiry-email a:hover {
    color: #cc0000;
}

/* =========================================
   MOBILE
   ========================================= */
@media screen and (max-width: 768px) {
    .tr-section-nav {
        flex-direction: column;
    }

    .tr-section-nav-inner {
        flex-wrap: wrap;
    }

    .tr-snav-link {
        flex: 1 1 50%;
        padding: 12px 4px;
        font-size: 11px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .tr-nav-inquiry {
        padding: 10px 16px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .tr-gallery-grid {
        grid-template-columns: 1fr;
    }

    .tr-gallery-item:nth-child(n) {
        grid-column: 1;
        height: 250px;
    }

    .tr-table th {
        display: block; width: 100%; padding-bottom: 4px;
    }

    .tr-table td {
        display: block; width: 100%; padding-top: 4px; padding-left: 20px;
    }
}
