@charset "utf-8";
/* ---------------------------------------------
求人詳細
--------------------------------------------- */
p, table th, table td, table td p {
    font-size: 1.5rem;
}

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

/* 企業情報 */
.detail-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.status-tags {
    display: flex;
    gap: 5px;
}
.status-tag {
    display: inline-block;
    padding: 2px 6px;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
}
.status-tag.new { background: #E55F56; }
.status-tag.staff { background: #5EA2EF; }
.status-tag.tyokusetsu { background: #2EB782; }
.status-tag.agent { background: #F0AF35; }
/* .status-tag.other { background: #EEF0F5; color: #282f38; } */
.job-no {
    color: #7C7F85;
    font-size: 1.2rem;
    letter-spacing: 0.14em;
}

.detail-wrap {
    padding-top: 10px;
    padding-bottom: 30px;
    color: #20304a;
}
.detail-company-name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.summary-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.summary-item {
    display: flex;
    align-items: center;
    min-width: 0;
    line-height: 1.45;
}
.value-icon {
    flex: 0 0 28px;
    position: relative;
}
.value-icon::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.jobtype::before { content: url(../img/occupation.png); }
.salary::before { content: url(../img/icon_money.png); }
.worklocation::before { content: url(../img/icon_location.png); }

.recruit-detail-page .hashtag_list .hashtag {
    font-size: 1.2rem;
}

/* 気になるリストへ保存・問合せボタン */
.cta-row {
    text-align: center;
    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.cta-row a {
    display: inline-block;
    position: relative;
    font-size: 1.6rem;
    text-align: center;
    text-decoration: none;
    max-width: 300px;
    width: 100%;
    padding: 20px 30px;
    font-weight: 700;
    border: solid 2px #D12D9C;
    box-sizing: border-box;
    background: #D12D9C;
    color: #fff;
}
.cta-row a::before {
    content: "";
    position: absolute;
    top: 0;
    right: 12px;
    bottom: 0;
    margin: auto;
    vertical-align: middle;
    width: 8px;
    height: 8px;
    border-top: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.cta-row a.save {
    background: #fff;
    color: #D12D9C;
}
.cta-row a.save::before {
    border-top: 2px solid #D12D9C;
    border-right: 2px solid #D12D9C;
}
.cta-row a:hover {
    background: #B92088;
    border: solid 2px #B92088;
}
.cta-row a.save:hover {
    color: #fff;
}
.cta-row a.save:hover::before {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

/* section共通 */
section {
    padding-bottom: 30px;
}
h2 span {
    line-height: 1.6;
}

/* アピールポイント */
.appeal-box {
    background: #F6F7FA;
    padding: 30px;
}
.appeal-scroll {
    overflow-y: auto;
    max-height: 260px;
    line-height: 1.6;
}
.appeal-scroll p {
    font-size: 1.6rem;
}
.appeal-box p:last-of-type {
    margin-bottom: 0;
}

.job-info-box td p {
    line-height: 1.5;
    margin-bottom: 0.35em;
}

.job-info-box td p:last-of-type {
    margin-bottom: 0;
}

.detail-lines__item {
    margin: 0 0 0.45em;
    line-height: 1.6;
}

.detail-lines__item:last-child {
    margin-bottom: 0;
}

.detail-lines__item--spacer {
    min-height: 0.9em;
}

.detail-lines__item--heading {
    margin-top: 1.2em;
    margin-bottom: 0.45em;
}

.detail-lines__item--heading:first-child {
    margin-top: 0;
}

.detail-skill-block {
    margin-top: 1.2em;
}

.detail-skill-block__title {
    font-weight: 700;
    margin-bottom: 0.45em;
}

.detail-skill-block__row {
    margin-bottom: 0.35em;
    line-height: 1.5;
}

.detail-skill-block__row:last-child {
    margin-bottom: 0;
}

.detail-skill-block__label {
    font-weight: 700;
}

.detail-labeled-line {
    margin-bottom: 0.35em;
    line-height: 1.5;
}

.detail-labeled-line:last-child {
    margin-bottom: 0;
}

.detail-labeled-line__label {
    font-weight: 700;
}

.success-secret-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    align-items: start;
}

.success-secret-item {
    text-align: left;
    align-self: start;
}

.success-secret-item summary {
    display: block;
    list-style: none;
    cursor: pointer;
}

.success-secret-item summary::marker,
.success-secret-item summary::-webkit-details-marker {
    display: none;
}

.success-secret-item summary span {
    position: relative;
    display: block;
    width: 100%;
    min-height: 66px;
    padding: 15px 48px 15px 15px;
    background: #f0f3f8;
    color: #6a778a;
    border-right: 1px solid #e0e4ea;
    border-bottom: 1px solid #e5e9ef;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.5;
}

.success-secret-item.is-active summary span {
    background: #00255c;
    color: #fff;
}

.success-secret-item summary span::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #01265d;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.success-secret-item[open] summary span::after {
    content: "\2212";
}

.success-secret-item.is-active summary span::after {
    color: #fff;
}

.success-secret-description {
    margin: 5px 0 10px;
    padding: 0;
    color: #1f2d3d;
    font-size: 1.6rem;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .success-secret-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .success-secret-item summary span {
        min-height: 0;
        padding: 12px 42px 12px 12px;
        font-size: 1.5rem;
    }

    .success-secret-item summary span::after {
        right: 14px;
        font-size: 1.8rem;
    }
}

/* 求人広告専用のポイント表示 */
.jobad-highlight-box {
}
.jobad-media-section {
    padding-bottom: 30px;
}
.jobad-media-layout {
    display: grid;
    grid-template-columns: 500px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.jobad-gallery-column {
    min-width: 0;
}
.jobad-gallery {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.jobad-gallery-item {
    display: flex;
    align-items: stretch;
}
.jobad-gallery-item img {
    width: 100%;
    height: 375px;
    display: block;
    object-fit: cover;
}
.jobad-gallery .swiper-pagination {
    position: static;
    margin-top: 12px;
}
.jobad-appeal-section {
    margin: 0;
}
.jobad-appeal-box {
    background: #fff;
    border: 4px solid #ededed;
    padding: 22px 24px;
}
.jobad-appeal-box .appeal-scroll {
    max-height: 160px;
}

@media screen and (max-width: 820px) {
    .success-secret-card {
        padding: 18px;
    }

    .jobad-media-layout {
        display: block;
    }

    .jobad-gallery {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .jobad-appeal-section {
        margin-top: 24px;
    }

    .jobad-appeal-box {
        padding: 20px;
    }

    .jobad-appeal-box .appeal-scroll p {
        font-size: 1.4rem;
    }

    .jobad-gallery-item img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

/* 求人情報・会社概要 */
.company-info-section,
.related-section,
.location-section {
    margin-top: 48px;
}
.info-table th {
    background: #e4ecf6;
    text-align: left;
    width: 220px;
}
.info-table th, .info-table td {
    padding: 20px;
    border: 1px solid #d8d8d8;
    vertical-align: top;
}
.info-table th {
    width: 220px;
    background: #fff;
    color: #2d3137;
    font-weight: 700;
    text-align: left;
    background: #e4ecf6;
}

.detail-note {
    margin: -35px 0 80px;
    text-align: right;
    color: #2d3137;
    font-size: 1.4rem;
    font-weight: 700;
}

/* 新規登録・ログイン */
.auth-section {
    margin-top: 44px;
    text-align: center;
}
.auth-lead {
    display: block;
    font-size: 2.2rem;
    margin: 0 auto 10px;
}
.auth-sublead {
    margin: 0 auto 30px;
}
.auth-section-inner {
    background: #F6F7FA;
    padding: 30px;
}
.auth-note {
    margin: 0 auto 34px;
    color: #0B4A8B;
    font-size: 1.8rem;
    line-height: 1.6;
    font-weight: 700;
}
.auth-lead br {
    display: none;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}
.auth-card {
    background-color: #fff;
    padding: 30px 34px 34px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.auth-card-title {
    font-size: 2rem;
    line-height: 1.3;
    text-align: center;
    padding: 0;
    border: 0;
    margin: 0 auto 10px;
}
.auth-card-title::before {
    content: none;
}
.auth-card-subtitle {
    min-height: 3.2em;
    margin: 0 auto 14px;
    color: #4f5b6b;
    font-size: 1.5rem;
    line-height: 1.6;
    text-align: center;
}
.auth-card-subtitle a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.auth-divider {
    height: 1px;
    margin-bottom: 20px;
    background: #ececec;
}
.register-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 36px;
}
.login-copy {
    margin-bottom: 30px;
}
.form-horizontal fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
.form-field {
    text-align: left;
    margin-bottom: 18px;
}
.form-label {
    display: block;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #111;
    font-size: 1.7rem;
    font-weight: 800;
}
.form-input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid #cfcfcf !important;
    -moz-appearance: none;
    -moz-border-radius: 7px;
    border-radius: 0;
    min-height: 44px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    color: #3b4048;
    font-size: 1.5rem;
}
.register-button, .login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-align: center;
    text-decoration: none;
    padding: 10px 30px 10px 20px;
    font-weight: 700;
    box-sizing: border-box;
    line-height: 1.6;
    position: relative;
}
.register-button {
    border: solid 2px transparent;
    background: #D12D9C;
    color: #fff;
}
.login-button {
    border: 2px solid #5a8ecc;
    background: #fff;
    color: #5a8ecc;
}
/* arrow */
.register-button::before,
.login-button::before {
    content: "";
    position: absolute;
    top: 0;
    right: 12px;
    bottom: 0;
    margin: auto;
    vertical-align: middle;
    width: 4px;
    height: 4px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}
.register-button::before {
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}
.login-button::before {
    border-top: 2px solid #5a8ecc;
    border-right: 2px solid #5a8ecc;
}
.register-button:hover::before,
.login-button:hover::before {
    right: 8px;
}
.auth-links {
    margin-top: 30px;
    display: grid;
    gap: 10px;
    justify-content: end;
}
.auth-links a {
    display: block;
    padding-right: 10px;
    text-align: right;
    position: relative;
    color: #0b2f7a;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.auth-links a::before {
    content: '>';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}

/* 新着求人・関連求人 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
}
.related-card, .story-card {
    display: block;
    background-color: #F6F7FA;
    padding: 28px 28px 30px;
    text-decoration: none;
    color: #13233a;
}
.card-title, .story-title {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.5;
    display: block;
    margin-bottom: 14px;
}
.related-card:hover .card-title,
.story-card:hover .story-title {
    color: #D12D9C;
    text-decoration: underline;
}

.card-salary,
.story-salary {
    font-size: 1.5rem;
    font-weight: bold;
    color: #D12D9C;
    margin-bottom: 0;
}
.card-meta, .story-meta {
    color: #757e8f;
    font-size: 1.4rem;
    margin-bottom: 0;
}

/* 転職事例 */
.story-badge {
    display: inline-block;
    padding: 2px 6px;
    margin-right: 10px;
    background-color: #5A8ECC;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

/* 勤務地 */
.location-inner {
    padding: 30px;
    background: #fff;
    border: 4px solid #ececec;
}
.location-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}
.location-item {
    display: block;
    width: 100%;
    border: 0;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    color: #20304a;
    -webkit-text-fill-color: #20304a;
    font: inherit;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    padding-left: 12px;
    position: relative;
}
.location-item::before {
    content: '>';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.location-item:hover {
    color: #D12D9C;
    text-decoration: underline;
}

@media screen and (max-width: 780px) {
    p, table th, table td, table td p {
        font-size: 1.4rem;
    }

    /* 企業情報 */
    .detail-status {
        margin-bottom: 12px;
    }
    .detail-company-name {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }
    #container.lower_layer h1.detail-title {
        font-size: 1.7rem;
    }
    .recruit-detail-page .hashtag_list .hashtag {
        font-size: 1.1rem;
    }

    /* アピールポイント */
    .appeal-box {
        padding: 20px;
    }
    
    /* 気になるリストへ保存・問合せボタン */
    .cta-row {        
        padding: 30px 0;
        gap: 12px;
    }
    .cta-row a {
        font-size: 1.5rem;
        padding: 16px 20px;
    }

    /* 求人情報・会社概要 */
    .appeal-scroll p {
        font-size: 1.4rem;
    }
    .info-table th, .info-table td {
        display: block;
        width: 100%;
        padding: 10px;
    }

    /* 新規登録・ログイン */
    .auth-section {
        margin-bottom: 45px
    }
    .auth-lead {
        font-size: 1.8rem;
        margin: 0 auto 10px;
    }
    .auth-lead br {
        display: block;
    }
    .auth-sublead {
        margin-bottom: 20px;
    }
    .auth-section-inner {
        padding: 20px;
    }
    .auth-note {
        margin: 0 auto 24px;
        font-size: 1.5rem;
    }
    .auth-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .auth-card {
        padding: 20px 20px 30px;
        min-height: 0;
    }
    .auth-card-subtitle {
        min-height: auto;
    }
    .register-box {
        padding-top: 0;
    }
    .auth-links a {
        font-size: 1.3rem;
    }
    
    /* 新着求人・関連求人 */
    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .related-card, .story-card {
        padding: 20px;
    }
    .card-title, .story-title {
        margin-bottom: 15px;
    }

    /* 勤務地 */
    .location-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 520px) {
    /* 勤務地 */
    .location-inner {
        padding: 25px 20px;
    }
    .location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
