:root {
    --bg: #F9F9F9;
    --surface: #ffffff;
    --card: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --primary: #ED6217;
    --primary-dark: #c24f14;
    --primary2: #F39832;
    --accent: #ffb36b;
    --border: #e5e7eb;
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --chip: #fff2e8;
    --chip-text: #c2410c;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: #fff;
    padding: 16px 24px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.logo-text-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.logo-text-note {
    font-size: 10px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 2px;
}

.logo-text-sub {
    font-size: 13px;
    opacity: 0.92;
    margin-top: 2px;
    line-height: 1.2;
}

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.95);
    transition: width 0.2s ease;
}

.site-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    z-index: 1101;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.22);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 1090;
}

.site-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 340px);
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px 0 0 20px;
    box-shadow: -10px 0 28px rgba(15, 23, 42, 0.12);
    transform: translateX(110%);
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px 14px;
    background: rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    color: #0f172a;
}

.drawer-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.drawer-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.drawer-nav {
    padding: 10px 12px 14px;
    display: grid;
    gap: 6px;
}

.drawer-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.drawer-nav a::after {
    content: "›";
    font-size: 18px;
    color: rgba(15, 23, 42, 0.45);
}

.no-margin {
    margin: 0;
}

body.drawer-open {
    overflow: hidden;
}

body.drawer-open .drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.drawer-open .site-drawer {
    transform: translateX(0);
}

body.drawer-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.drawer-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

body.drawer-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.72);
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 8px 22px rgba(100, 116, 139, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
    z-index: 1050;
}

.back-to-top::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid #9ca3af;
    border-left: 2px solid #9ca3af;
    transform: translateY(3px) rotate(45deg);
}

.back-to-top:hover {
    background: rgba(248, 250, 252, 0.9);
}

.back-to-top.is-visible {
    opacity: 0.7;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:focus-visible {
    outline: 2px solid rgba(148, 163, 184, 0.55);
    outline-offset: 2px;
}

.panel {
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 18px;
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 11px 14px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    filter: brightness(.95);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #f3f4f6;
    color: #111827;
}

.site-footer {
    position: relative;
    color: #fff;
    padding: 40px 20px 22px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    box-shadow: var(--shadow);
    margin-top: auto;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 0 4px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0.75;
    margin: 0 0 4px;
}

.footer-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
}

.footer-note {
    font-size: 13px;
    opacity: 0.88;
    margin: 0 0 10px;
}

.footer-address {
    font-style: normal;
    line-height: 1.8;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.footer-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-org {
    justify-self: start;
}

.footer-contact {
    min-width: 260px;
    text-align: center;
    justify-self: center;
}

.footer-commission {
    justify-self: center;
    align-self: center;
}

.footer-commission-link {
    display: block;
    line-height: 0;
}

.footer-commission img {
    width: min(230px, 40vw);
    height: auto;
    display: block;
    opacity: 0.8;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.footer-tel {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    color: #fff;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    align-items: center;
    margin-left: 230px;
}

.footer-contact-title {
    font-size: 13px;
    letter-spacing: 0.08em;
    opacity: 0.9;
    font-weight: 700;
}

.footer-contact-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.3;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    font-size: 14px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-contact-link:hover,
.footer-contact-link:visited,
.footer-contact-link:active,
.footer-contact-link:focus {
    color: #fff;
    opacity: 1;
}

.footer-contact-link-tel {
    font-size: 14px;
    letter-spacing: 0.02em;
}

.footer-contact-link-mail {
    font-size: 14px;
}

.footer-contact-hours {
    font-size: 12px;
    opacity: 0.88;
    font-weight: 600;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 14px;
    text-align: center;
}

.footer-bottom small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .footer-org,
    .footer-contact,
    .footer-commission {
        justify-self: center;
        text-align: center;
    }

    .footer-contact {
        width: 100%;
    }

    .footer-tel {
        width: min(420px, 100%);
        margin-left: 0;
    }

    .footer-commission img {
        width: min(230px, 60vw);
    }
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .site-header {
        padding: 14px 16px;
    }

    .logo-text-title {
        font-size: 16px;
    }

    .logo-text-sub {
        font-size: 12px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
    }

    .footer-tel {
        width: 100%;
        text-align: center;
        align-items: center;
        max-width: 100%;
        margin-left: 0;
    }

    .footer-contact-link {
        max-width: 100%;
    }

    .footer-commission img {
        width: min(210px, 70vw);
    }
}


* {
    box-sizing: border-box;
}

main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px 60px;
}

.visitor-error-main {
    min-height: calc(100vh - 320px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.visitor-error-panel {
    width: min(760px, 100%);
    text-align: center;
    padding: 40px 28px;
}

.visitor-error-status {
    font-size: 40px;
    line-height: 1;
    margin: 0;
    font-weight: 900;
    color: var(--primary);
}

.visitor-error-title {
    margin: 12px 0 10px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
}

.visitor-error-message {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.visitor-error-actions {
    margin-top: 26px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.search-shell {
    background: var(--card);
    border-radius: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 36px;
}

.search-head {
    text-align: center;
    margin-bottom: 28px;
}

.search-head-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.search-head-sub {
    font-size: 14px;
    color: var(--muted);
}

.search-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    margin: 24px 0 16px;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.search-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 12px 22px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    color: var(--muted);
    transition: .2s;
}

.search-tab:hover {
    background: #fff5eb;
}

.search-tab::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #6b7280;
    border-bottom: 2px solid #6b7280;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-left: 2px;
}

.search-tab-active {
    background: #ffffff;
    color: #a8550f;
    font-weight: 800;
    box-shadow: 0 1px 4px rgba(242, 140, 40, 0.12);
}

.search-tab-active:hover {
    background: #ffffff;
}

.main-visual-wrap {
    width: 100%;
    margin-bottom: 0;
}

.main-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #e7d8ca;
    border-bottom: 1px solid #e7d8ca;
    border-radius: 22px;
    background: #f3f3f3;
}

.main-visual>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-page .top-main-visual>img {
    object-position: center 31%;
}

.main-visual-cta {
    position: absolute;
    left: clamp(72px, 9vw, 120px);
    bottom: clamp(44px, 6.5vw, 80px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.main-visual-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: clamp(360px, 40vw, 490px);
    min-height: clamp(72px, 8vw, 90px);
    padding: 16px 24px;
    border-radius: 14px;
    border: 1px solid #ea7d18;
    background: rgba(242, 140, 40, 0.96);
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-size: clamp(28px, 3vw, 38px);
    letter-spacing: 0.02em;
    line-height: 1.2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.main-visual-cta-btn:hover {
    transform: translateY(-2px);
    background: #dd771f;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.main-visual-cta-btn:focus-visible {
    outline: 3px solid #fb923c;
    outline-offset: 2px;
}

.main-visual-cta-btn-info {
    background: rgba(97, 189, 229, 0.98);
    border-color: #4da8d2;
    color: #ffffff;
}

.main-visual-cta-btn-info:hover {
    background: #4faed8;
}

.top-stats {
    max-width: 900px;
    margin: 28px auto 0;
    padding: 18px 24px;
    border: 1px solid #e7d8ca;
    border-radius: 14px;
    text-align: center;
}

.top-stats-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #4a3b2d;
}

.top-stats-text strong {
    color: #ea7d18;
}

.top-stats-updated {
    display: inline-block;
    margin-left: 4px;
    font-size: 12px;
    color: #8a7a68;
}

.search-shell>.search-form-card {
    margin-top: 35px;
    padding: 24px;
    border: 1px solid #e7d8ca;
    border-radius: 22px;
    background: #fff7ef;
}

.search-shell>.search-form-card .search-tabs:first-child {
    margin-top: 0;
}

.search-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-row > * {
    min-width: 0;
}

.search-pane {
    display: none;
}

.search-pane.is-visible {
    display: block;
}

.input-text {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 999px;
    border: 1px solid #ddd0c4;
    padding: 14px 18px;
    font-size: 15px;
    outline: none;
    background: #fff;
}

.input-text:focus {
    border-color: #f4b26f;
    box-shadow: 0 0 0 4px rgba(242, 140, 40, 0.15);
}

.input-select {
    display: block;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 999px;
    min-height: 48px;
    line-height: 1.4;
    padding-right: 40px;
    color: #333538;
    /* iOS Safariはappearanceをネイティブのままにするとselectの高さ指定や選択済みテキストが正しく描画されない不具合があるため、appearance:noneにして矢印を自前描画する */
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

.input-select:disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

.feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #e6d7c7;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: .2s;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.feature-chip-text {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    line-height: 1.4;
}

.feature-chip:hover {
    background: #fff8f1;
}

.feature-chip input {
    margin: 0;
}

.hint {
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
}

.keyword-label {
    font-size: 22px;
    font-weight: 700;
    margin-top: 24px;
    color: var(--muted);
}

.btn-search {
    width: 250px;
    border: none;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    white-space: nowrap;
}

.btn-search:hover {
    filter: brightness(.95);
    transform: translateY(-1px);
}

.section {
    margin-top: 36px;
}

.section h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.quick-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.quick-item {
    border: 1px solid #eee2d7;
    background: #fff7ef;
    border-radius: 18px;
    padding: 16px;
    cursor: pointer;
    text-align: left;
    transition: .2s;
    text-decoration: none;
    color: inherit;
}

.quick-item:hover {
    background: #f3f0eb;
    transform: translateY(-2px);
}

.quick-item span {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.quick-item strong {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.new-jobs-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.job-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #ddd;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.job-card-link .job-main {
    padding: 16px;
}

.job-card-link h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.4;
}

.job-card-link::before {
    content: "";
    display: block;
    height: 10px;
    background: #ffd1a6;
}

.job-meta {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #555;
}

.job-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.5;
}

.job-meta-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: block;
}

.job-desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #333;
}

.job-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-chip {
    background: var(--chip);
    color: var(--chip-text);
    border-radius: 999px;
    border: 1px solid #fed7aa;
    padding: 4px 8px;
    font-size: 11px;
}

.section-title {
    font-size: 28px;
    margin: 0 0 10px;
    line-height: 1.3;
}

#faq-title {
    scroll-margin-top: 96px;
}

#howto-feature {
    scroll-margin-top: 96px;
}

.section-sub {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.section-howto-feature {
    margin-top: 20px;
    padding: 28px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid #f0ddca;
    box-shadow: 0 18px 40px rgba(149, 83, 26, 0.1);
}

.feature-flow {
    margin-top: 24px;
    display: grid;
    gap: 40px;
}

.feature-flow-row {
    position: relative;
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 22px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #f3e5d7;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-flow-row:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%) rotate(45deg);
    width: 18px;
    height: 18px;
    border-right: 3px solid #f28c28;
    border-bottom: 3px solid #f28c28;
    z-index: 1;
}

.feature-flow-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(149, 83, 26, 0.12);
}

.feature-flow-visual {
    position: relative;
    border-radius: 20px;
    padding: 18px;
    display: grid;
    place-items: center;
    min-height: 170px;
}

.feature-flow-visual img {
    position: relative;
    z-index: 1;
    width: clamp(150px, 18vw, 200px);
    height: clamp(120px, 14vw, 150px);
    object-fit: contain;
    display: block;
}

.feature-flow-step {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #9a3412;
    background: #fff1e2;
    border: 1px solid #f4cfa6;
    margin-bottom: 10px;
}

.feature-flow-text h4 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.45;
    color: #1f2937;
}

.feature-flow-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: #4b5563;
}

.faq-wrap {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid #ead7c4;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 700;
    font-size: 15px;
    color: #2d2f34;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 24px;
    line-height: 1;
    color: #9a3412;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-answer {
    padding: 0 18px 16px;
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.9;
    padding-top: 15px;
    border-top: 1px solid #f1e7dc;
}

.faq-answer-emphasis {
    color: #2d2f34;
    font-weight: 700;
}

main.contents-main {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 20px 48px;
}

.page-head {
    margin-bottom: 18px;
}

.page-title {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 800;
    color: #1f2937;
}

.page-sub {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.content-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.content-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 16px;
}

.content-row {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(180px, 0.9fr) minmax(260px, 1.1fr);
    gap: 14px;
    align-items: center;
}

.title-col,
.media-col {
    min-width: 0;
}

.panel-title {
    margin: 0 0 10px;
    font-size: 20px;
    color: #111827;
}

.panel-text {
    margin: 0 0 12px;
    color: #4b5563;
    line-height: 1.7;
    font-size: 14px;
}

.embed-frame {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.pdf-thumb {
    display: block;
    width: auto;
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.video-frame {
    width: 100%;
    max-width: 320px;
    height: 180px;
    object-fit: cover;
}

.links {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.meta-row {
    margin-top: 6px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}

.placeholder-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 200px;
    min-height: 96px;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    color: #6b7280;
    font-size: 12px;
    background: #f9fafb;
    padding: 8px;
    text-align: center;
}

.empty-box {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    padding: 16px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #f0c7a1;
    background: #fff6ef;
    color: #9a3412;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.link-btn:hover {
    background: #ffe9d8;
    transform: translateY(-1px);
}

main.results-main {
    padding: 20px;
    width: auto;
    max-width: none;
    margin: 0;
}

.layout {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.top-panel {
    padding: 16px;
}

.results-lead {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #666d7b;
    letter-spacing: .02em;
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.toggle-search-btn {
    border-radius: 999px;
    border: 1px solid #e5ded4;
    background: #f9f5f0;
    color: #7a4b19;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.toggle-search-btn span.icon {
    font-size: 14px;
}

.results-headline {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px;
}

.results-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.results-title {
    margin: 0;
    font-size: 16px;
    color: #111827;
}

.results-count {
    margin-top: 0;
    color: var(--muted);
    font-size: 13px;
}

.sort-row {
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
}

.sort-row select {
    padding: 7px 34px 7px 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 13px;
    /* macOS Safariはselectをネイティブのまま描画すると他ブラウザ・他OSと見た目が大きく異なるため、appearance:noneにして矢印を自前描画する */
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

.search-panel {
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
    display: none;
}

.search-panel.is-open {
    display: block;
}

.search-panel-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #4b5563;
}

.field {
    margin-bottom: 10px;
    min-width: 0;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.field>label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 15px;
}

.field>.field-label-placeholder {
    visibility: hidden;
}

.field input:not([type="checkbox"]),
.field select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 16px;
    background: #fff;
    outline: none;
}

.field select {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 34px;
    /* macOS Safariはselectをネイティブのまま描画すると他ブラウザ・他OSと見た目が大きく異なるため、appearance:noneにして矢印を自前描画する */
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

.field input:not([type="checkbox"]):focus,
.field select:focus {
    border-color: #f4b26f;
    box-shadow: 0 0 0 2px rgba(242, 140, 40, 0.2);
}

.search-row input {
    flex: 1;
}

.results-main .search-row {
    display: flex;
    gap: 8px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    min-height: 50px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.chip input {
    margin: 0;
}

.search-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.btn-ghost {
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: #111827;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.search-actions .btn-search,
.search-actions .btn-ghost {
    flex: 1;
    text-align: center;
    text-decoration: none;
}

.search-summary {
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

.results-panel {
    padding: 16px;
}

.top-row {
    align-items: center;
}

.top-row .sort-row {
    min-height: 34px;
}

.results-panel .job-main {
    padding: 0;
    min-width: 0;
}

.job-list {
    display: grid;
    gap: 14px;
}

.job-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    border: 2px solid var(--border);
    background: #fff;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

.job-photo {
    background: linear-gradient(135deg, #ffd8be, #ffb15e);
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    width: min(320px, 100%);
    height: auto;
    min-height: 0;
    justify-self: start;
    align-self: start;
    display: flex;
    align-items: flex-end;
    padding: 10px;
    color: #7c2d12;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    max-width: 100%;
    box-sizing: border-box;
}

.job-photo.job-photo--image {
    aspect-ratio: 16 / 9;
    width: min(320px, 100%);
    height: auto;
    min-height: 0;
    justify-self: start;
    align-self: start;
    padding: 0;
    background-image: var(--job-thumbnail);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
    text-indent: -9999px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #D9D9D9;
}

.job-photo-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.job-top-row {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 14px;
    align-items: start;
    margin-bottom: 8px;
    min-width: 0;
}

.job-top-row>* {
    min-width: 0;
}

.job-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.btn-apply {
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 14px 20px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    width: min(360px, 100%);
    min-width: 220px;
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 720px) {
    .results-panel .btn-apply {
        min-width: 0;
        width: 100%;
    }
}

.btn-apply:hover {
    filter: brightness(.95);
    transform: translateY(-1px);
}

.results-panel .job-main h3 {
    margin: 0 0 6px;
    font-size: 20px;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.job-meta-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
}

.job-meta-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    line-height: 1.5;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 17px;
}

.job-meta-line>span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.job-meta-list .job-meta-icon {
    width: 16px;
    height: 16px;
    margin-top: 5px;
}

.job-meta-label {
    font-weight: 700;
    margin-right: 2px;
}

.job-meta-line.job-meta-line--full {
    grid-column: 1 / -1;
}

.results-panel .job-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 6px;
    color: #374151;
    white-space: pre-line;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    min-height: calc(1.7em * 3);
    word-break: break-word;
}

.results-panel .job-desc.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    min-height: auto;
}

.job-readmore-row {
    min-height: 1.8em;
    margin-bottom: 10px;
}

.btn-readmore {
    padding: 0;
    font-size: 12px;
    color: #374151;
    border: 0;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 2px;
    border-radius: 0;
    cursor: pointer;
}

.results-panel .job-chips {
    gap: 6px;
    margin: 0;
}

.results-panel .mini-chip {
    background: var(--chip);
    color: var(--chip-text);
    border-radius: 999px;
    border: 1px solid #fed7aa;
    padding: 8px 14px;
    font-size: 13px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.job-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.results-pagination {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.results-pagination-top {
    margin-top: 0;
    margin-bottom: 18px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-btn,
.page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #f2d1b2;
    background: #fff;
    color: #9a3412;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.page-btn:hover,
.page-number:hover {
    background: #fff3e7;
    transform: translateY(-1px);
}

.page-number.is-active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.page-btn.is-disabled {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
    border-radius: 14px;
    border: 1px dashed var(--border);
    background: #fff;
    font-size: 14px;
}

main.form-main,
main.summary-main {
    max-width: 880px;
    margin: 0 auto;
    padding: 20px 20px 32px;
}

main.form-main .panel,
main.summary-main .panel {
    min-width: 0;
    max-width: 100%;
}

main.form-main .field-input .cf-turnstile {
    display: inline-block;
    max-width: 100%;
    transform-origin: left top;
}

.job-info {
    margin-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 14px;
}

.apply-job-info {
    border-bottom: 0;
    padding-bottom: 0;
    display: grid;
    gap: 12px;
}

.info-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
}

.info-card-title {
    margin: 0 0 10px;
    font-size: 15px;
    color: #111827;
    font-weight: 800;
}

.info-row {
    margin: 0 0 8px;
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.info-row:last-child {
    margin-bottom: 0;
}

.office-message {
    white-space: pre-line;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.office-message * {
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
}

.office-message.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

.office-readmore-row {
    margin: 6px 0 10px;
}

.btn-office-toggle {
    padding: 0;
    font-size: 13px;
    color: #374151;
    border: 0;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 2px;
    border-radius: 0;
    cursor: pointer;
}

.info-label {
    display: inline-block;
    min-width: 94px;
    color: #4b5563;
    font-weight: 700;
}

.job-title {
    margin: 0 0 8px;
    font-size: 18px;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.job-title-link {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 100%;
    vertical-align: middle;
    text-decoration: underline;
    color: #2563eb;
    line-height: 1.2;
}

.job-title-link:hover {
    color: #1d4ed8;
}

.job-title-text {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
}

.external-icon {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}

.form-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
}

.field-input {
    margin-bottom: 14px;
}

.field-input label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 6px;
}

.field-input input,
.field-input textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 20px;
    background: #fff;
    color: #4b5563;
}

.field-input textarea {
    min-height: 240px;
    resize: vertical;
}

.help {
    margin-top: 6px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.privacy-link-wrap {
    margin: 30px 16px;
}

.privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.privacy-link:hover {
    color: #1d4ed8;
    transform: translateY(-1px);
    text-decoration: underline;
}

.contact-note {
    margin: 14px 0 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: #334155;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 12px;
    line-height: 1.6;
}

.job-contact {
    font-size: 20px;
    font-weight: 700;
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
}

.job-contact .contact-value {
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
}

.job-contact .contact-label {
    font-weight: 700;
    color: #4b5563;
    min-width: 66px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    max-width: 100%;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    transition: transform 0.1s ease;
}

.contact-link span {
    text-decoration: underline;
    display: inline-block;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-link:hover {
    transform: translateY(-1px);
}

.contact-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

.field-input input:focus,
.field-input textarea:focus {
    border-color: #f4b26f;
    box-shadow: 0 0 0 2px rgba(242, 140, 40, 0.18);
    outline: none;
}

.actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.apply-actions .btn-primary {
    flex: 1;
    min-height: 54px;
    font-size: 18px;
    padding: 12px 20px;
}

.apply-actions .btn-secondary {
    min-height: 54px;
    font-size: 16px;
    padding: 12px 50px;
}

.error-box {
    margin-bottom: 12px;
    font-size: 13px;
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 8px 10px;
}

.section-title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
}

.summary,
.summary-complete {
    display: grid;
    gap: 14px;
}

.summary {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
}

.summary-row {
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.summary-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.item-label {
    display: block;
    font-size: 13px;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 6px;
}

.item-value {
    font-size: 16px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}

.notice,
.notice-complete {
    font-size: 13px;
    color: #4b5563;
    background: #f9fafb;
    border: 1px solid var(--border);
    padding: 12px 14px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.notice {
    margin-top: 16px;
    border-radius: 10px;
    line-height: 1.7;
}

.contact-company {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #111827;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-address {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: #374151;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

main.complete-main {
    max-width: 880px;
    margin: 0 auto;
    padding: 28px 20px 36px;
    display: flex;
    justify-content: center;
}

.panel-complete {
    width: 100%;
    text-align: center;
    border-radius: 20px;
}

.success-title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text);
}

.success-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: var(--muted);
}

.section-title-complete {
    margin: 28px 0 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.complete-job-info {
    margin-top: 8px;
    text-align: center;
    min-width: 0;
    max-width: 100%;
}

.complete-job-info .office-readmore-row {
    text-align: center;
}

.complete-job-info .job-title {
    margin-bottom: 10px;
}

.complete-job-info .job-desc {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.7;
    color: #374151;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.complete-job-info .job-contact {
    margin: 6px 0;
    display: block;
    font-size: 16px;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.complete-job-info .job-contact .contact-label {
    min-width: 0;
}

.complete-job-info .job-contact .contact-value {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.summary-complete {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    margin-top: 8px;
    text-align: center;
}

.notice-complete {
    margin-top: 18px;
    border-radius: 12px;
    line-height: 1.8;
    text-align: left;
}

.ok {
    color: #166534;
    font-weight: 700;
}

.ng {
    color: #b91c1c;
    font-weight: 700;
}

.actions-center {
    margin-top: 22px;
    display: flex;
    justify-content: center;
}

.complete-back-btn {
    min-width: 320px;
}

main.privacy-main {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.privacy-content {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 34px 26px;
}

.privacy-content h1 {
    font-size: 28px;
    margin: 0 0 18px;
    border-bottom: 2px solid #f5d7b5;
    padding-bottom: 12px;
}

.privacy-content h2 {
    font-size: 18px;
    margin: 30px 0 10px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 7px;
}

.privacy-content p,
.privacy-content li {
    font-size: 15px;
    line-height: 1.9;
    color: #374151;
}

.privacy-content ol {
    padding-left: 1.8em;
    margin: 0;
}

.privacy-contact {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 10px;
}

@media (max-width: 1200px) {
    .new-jobs-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .new-jobs-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    main {
        padding: 20px 14px 40px;
    }

    .visitor-error-main {
        min-height: auto;
        padding-top: 20px;
    }

    .visitor-error-panel {
        padding: 28px 18px;
    }

    .visitor-error-status {
        font-size: 34px;
    }

    .search-tabs {
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .search-shell {
        padding: 22px;
        border-radius: 22px;
    }

    .search-head-title {
        font-size: 24px;
    }

    .search-tab {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        font-size: 16px;
        padding: 10px 6px;
        gap: 3px;
    }

    .search-tab::after {
        width: 6px;
        height: 6px;
        border-right-width: 1.5px;
        border-bottom-width: 1.5px;
        margin-left: 5px;
    }

    .search-row {
        flex-direction: column;
        align-items: stretch;
    }

    .feature-chips {
        width: 100%;
    }

    .quick-list {
        grid-template-columns: 1fr;
    }

    .btn-search {
        width: 100%;
    }

    .search-shell>.search-form-card {
        margin-top: 20px;
        padding: 16px;
    }

    .main-visual {
        width: 100%;
        aspect-ratio: auto;
        border: none;
        border-radius: 0;
        overflow: visible;
        background: transparent;
    }

    .main-visual>img {
        height: auto;
        aspect-ratio: 16 / 9;
        border: 1px solid #e7d8ca;
        border-radius: 16px;
    }

    .main-visual-cta {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 12px;
        gap: 10px;
        align-items: stretch;
    }

    .main-visual-cta-btn {
        width: 100%;
        min-width: 0;
        min-height: 58px;
        padding: 12px 14px;
        font-size: clamp(19px, 4.8vw, 24px);
    }

    .search-shell>.search-form-card {
        border-radius: 16px;
    }

    .section-howto-feature {
        padding: 18px;
        border-radius: 20px;
    }

    .feature-flow-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-flow-visual {
        min-height: 150px;
    }

    .section-title {
        font-size: 24px;
    }

    .page-title {
        font-size: 24px;
    }

    .content-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .results-main .top-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .results-headline {
        margin-left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
    }

    .results-summary {
        width: 100%;
    }

    .results-title {
        font-size: 18px;
    }

    .results-count {
        font-size: 14px;
    }

    .sort-row {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px;
    }

    .sort-row select {
        width: 100%;
    }

    .video-frame,
    .pdf-thumb,
    .placeholder-box {
        max-width: 100%;
    }

    main.privacy-main {
        padding: 24px 14px 40px;
    }

    .privacy-content {
        padding: 24px 16px;
    }
}

@media (max-width: 720px) {
    main.form-main,
    main.summary-main {
        padding: 16px 14px 28px;
    }

    main.form-main .panel,
    main.summary-main .panel {
        padding: 14px;
    }

    .job-card {
        grid-template-columns: 1fr;
    }

    .job-top-row {
        grid-template-columns: 1fr;
    }

    .job-photo,
    .job-photo.job-photo--image {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .job-meta-list {
        grid-template-columns: 1fr;
        margin-bottom: 10px;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .privacy-link-wrap {
        margin: 22px 0 10px;
    }

    .search-actions {
        flex-direction: column;
    }

    .actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .actions-center .btn {
        width: 100%;
        min-width: unset;
    }

    .apply-job-info .job-contact {
        display: grid;
        grid-template-columns: 72px 1fr;
        align-items: start;
        gap: 8px;
    }

    .apply-job-info .job-contact .contact-label {
        min-width: 0;
        line-height: 1.7;
    }

    .apply-job-info .job-contact .contact-value {
        min-width: 0;
    }

    .apply-job-info .job-contact .contact-link {
        width: 100%;
        gap: 8px;
        padding: 4px 0;
    }

    .complete-job-info .job-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        margin: 10px 0;
    }

    .complete-job-info .job-contact .contact-value {
        width: 100%;
    }

    .complete-job-info .job-contact .contact-link {
        justify-content: center;
        width: 100%;
        padding: 2px 0;
    }
}

@media (max-width: 360px) {
    main.form-main .field-input .cf-turnstile {
        transform: scale(0.84);
    }
}

@media (min-width: 721px) {
    .job-card {
        padding: 20px;
        gap: 16px;
    }

    .results-panel .job-main h3 {
        font-size: 24px;
        margin-bottom: 10px;
        color: var(--muted);
    }

    .job-top-row {
        grid-template-columns: minmax(280px, 380px) 1fr;
        gap: 18px;
        margin-bottom: 12px;
    }

    .job-photo,
    .job-photo.job-photo--image {
        width: min(380px, 100%);
    }

    .results-panel .job-chips {
        gap: 10px;
    }

    .results-panel .mini-chip {
        font-weight: 700;
    }

    .job-meta-list {
        gap: 20px;
    }

    .results-panel .job-desc {
        font-size: 15px;
    }

    .btn-readmore {
        font-size: 14px;
    }

    .btn-apply {
        width: min(450px, 100%);
        padding: 16px 24px;
        font-size: 18px;
    }
}

@media (max-width: 520px) {
    .new-jobs-list {
        grid-template-columns: 1fr;
    }
}

main.contents-main {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 20px 48px;
}

.page-head {
    margin-bottom: 18px;
}

.page-title {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 800;
    color: #545454;
}

.content-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.content-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #fffdf9 0%, #fff6ea 100%);
    border: 1px solid #f5d6b9;
    border-radius: 26px;
    box-shadow: 0 16px 34px rgba(161, 98, 7, 0.12);
    padding: 24px;
}

.card-title {
    margin: 0 0 14px;
    font-size: clamp(22px, 2.9vw, 30px);
    line-height: 1.35;
    color: #545454;
    letter-spacing: 0.01em;
    max-width: 1000px;
    text-align: center;
}

.card-title.sub {
    font-size: clamp(18px, 2.3vw, 26px);
}

.hero-media-wrap {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f1dfcc;
    background: #ffffff;
    padding: 12px;
    max-width: 820px;
    margin: 0 auto;
}

.hero-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    border-radius: 12px;
    background: #111827;
    border: 0;
}

.card-grid-two {
    display: grid;
    grid-template-columns: minmax(220px, 0.95fr) minmax(280px, 1.35fr);
    gap: 18px;
    align-items: start;
}

.media-block {
    background: #ffffff;
    border: 1px solid #f1dfcc;
    border-radius: 16px;
    padding: 14px;
}

.media-label {
    margin: 0 0 10px;
    font-size: 13px;
    color: #b45309;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pdf-thumb {
    display: block;
    width: 100%;
    border-radius: 12px;
    border: 0;
    object-fit: cover;
    background: #fff;
}

.video-frame {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    border: 1px solid #f3e1cf;
    background: #fff;
}

.leaflet-card .media-block {
    height: 100%;
}

.leaflet-card .media-block:last-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.leaflet-card .media-block:last-child .media-label {
    align-self: flex-start;
}

.leaflet-card .card-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.leaflet-card .card-grid-two .media-block:first-child {
    grid-column: 1;
}

.leaflet-card .card-grid-two .media-block:last-child {
    grid-column: 2;
}

.leaflet-card .pdf-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
}

.leaflet-card .video-frame {
    width: 92%;
    max-width: none;
    margin: auto;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center center;
    background: #111827;
}

.thumb-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.thumb-link {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #f0decb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thumb-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
}

.thumb-link img {
    display: block;
    width: 82%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #ffffff;
    padding: 8px;
    margin: 10px auto 0;
}

.thumb-caption {
    margin: 0;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.45;
    background: #fffdfa;
}

@media (max-width: 900px) {
    .page-title {
        font-size: 24px;
    }

    .card-grid-two {
        grid-template-columns: 1fr;
    }

    .thumb-links {
        grid-template-columns: 1fr;
    }

    .hero-media {
        min-height: 220px;
    }

    .leaflet-card .pdf-thumb,
    .leaflet-card .video-frame {
        height: auto;
    }

    .leaflet-card .pdf-thumb {
        aspect-ratio: 1 / 1;
        padding: 8px;
    }

    .leaflet-card .card-grid-two {
        grid-template-columns: 1fr;
    }

    .leaflet-card .card-grid-two .media-block:first-child,
    .leaflet-card .card-grid-two .media-block:last-child {
        grid-column: auto;
    }

    .leaflet-card .video-frame {
        max-height: none;
        aspect-ratio: 16 / 9;
    }
}