@charset "UTF-8";
/* Recruit page - stylesheet */

/* ヘッダーをファーストビュー内に配置 */
body.recruit-page header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    background-color: transparent;
}

body.recruit-page header .header-menu {
    background-color: transparent;
}

body.recruit-page header .header-nav-item {
    color: #ffffff;
}

body.recruit-page header .header-nav-item:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* エントリーはこちら - 青色（半透明ぼかし） */
body.recruit-page header .header-entry {
    color: #ffffff;
    background-color: rgba(31, 133, 181, 0.2);
    border: 2px solid rgba(31, 133, 181, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 2px 4px rgba(31, 133, 181, 0.5), 0 0 8px rgba(31, 133, 181, 0.3);
    font-weight: bold;
}

body.recruit-page header .header-entry:hover {
    color: #ffffff;
    background-color: rgba(31, 133, 181, 0.8);
    border-color: #1f85b5;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* CFGマーケティング - 黄色（半透明ぼかし） */
body.recruit-page header .header-cfg {
    color: #ffffff;
    background-color: rgba(196, 195, 25, 0.2);
    border: 2px solid rgba(196, 195, 25, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 2px 4px rgba(196, 195, 25, 0.5), 0 0 8px rgba(196, 195, 25, 0.3);
    font-weight: bold;
}

body.recruit-page header .header-cfg:hover {
    color: #ffffff;
    background-color: rgba(196, 195, 25, 0.8);
    border-color: #c4c319;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body.recruit-page header .header-nav-bar {
    background-color: rgba(255, 255, 255, 0.3);
}

body.recruit-page header .hamburger span {
    background-color: #ffffff;
}

body.recruit-page main {
    margin-top: 0;
}

/* ファーストビュー + メッセージ */
.recruit-fv {
    position: relative;
    width: 100%;
    margin-top: 0;
    overflow: visible;
    background: linear-gradient(135deg, #1f85b5 0%, #21a4dc 27%, #edea39 72%, #c4c319 95%);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* モバイルでは背景固定を無効化（パフォーマンス対策） */
@media (max-width: 767px) {
    .recruit-fv {
        background-attachment: scroll;
    }
}

.fv-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    min-height: 600px;
    color: #ffffff;
    position: relative;
    z-index: 1;
    margin-left: 8%;
}

/* 線は文字の縦幅のみ（100vhに伸びない）・グラデーション */
.fv-wrapper-inner {
    position: relative;
    padding: 50px;
}

.fv-wrapper-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(
        180deg,
        rgba(33, 164, 220, 1) 0%,
        rgba(237, 234, 57, 1) 43.91%,
        rgba(255, 255, 255, 1) 82.54%,
        rgba(255, 255, 255, 1) 100%
    );
}

.fv-title {
    margin: 0 0 20px;
    font-size: 6rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.fv-subtitle {
    margin: 0;
    font-size: 3.6rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    opacity: 0.9;
}

.fv-message {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.fv-message .inner {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.fv-message .ttl {
    display: inline-block;
    position: relative;
    margin-top: 0;
    margin-bottom: 24px;
    font-family: "dnp-shuei-gothic-kin-std", sans-serif;
}

.fv-message .ttl-j {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 7rem;
    text-align: center;
    font-weight: bold;
    letter-spacing: .05em;
}

.fv-message .ttl-e {
    position: absolute;
    top: -55%;
    left: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.2);
    font-size: 18rem;
    line-height: .9;
    text-align: center;
    white-space: nowrap;
}

.fv-message .message-content {
    margin-top: 60px;
    text-align: center;
}

.fv-message .message-content .content {
    margin-bottom: 30px;
    color: #ffffff;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.6;
}

.fv-message .message-content .text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    line-height: 2;
}

/* 共通セクション */
.recruit-attraction,
.recruit-work,
.recruit-flow,
.recruit-office,
.recruit-requirements {
    padding: 100px 0;
}

.recruit-attraction .inner,
.recruit-work .inner,
.recruit-flow .inner,
.recruit-office .inner,
.recruit-requirements .inner {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 当社で働く魅力 */
.attraction-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.attraction-item {
    padding: 40px 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attraction-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.attraction-item h3 {
    margin: 0 0 20px;
    color: #0065a1;
    font-size: 2.4rem;
    font-weight: bold;
}

.attraction-item p {
    margin: 0;
    color: #666666;
    font-size: 1.6rem;
    line-height: 1.8;
}

/* 仕事内容 */
.recruit-work {
    background-color: #f8f9fa;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.work-item {
    padding: 40px 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.work-item h3 {
    margin: 0 0 20px;
    color: #0065a1;
    font-size: 2.4rem;
    font-weight: bold;
}

.work-item p {
    margin: 0;
    color: #666666;
    font-size: 1.6rem;
    line-height: 1.8;
}

/* 仕事の流れ */
.recruit-flow {
    background-color: #ffffff;
}

.flow-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.flow-item {
    position: relative;
    padding: 40px 20px;
    text-align: center;
}

.flow-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f85b5 0%, #21a4dc 27%, #edea39 72%, #c4c319 95%);
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 60px;
    text-align: center;
}

.flow-item h3 {
    margin: 0 0 15px;
    color: #222222;
    font-size: 2rem;
    font-weight: bold;
}

.flow-item p {
    margin: 0;
    color: #666666;
    font-size: 1.5rem;
    line-height: 1.8;
}

/* オフィス紹介 */
.recruit-office {
    background-color: #f8f9fa;
}

.office-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.office-item {
    padding: 40px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.office-item h3 {
    margin: 0 0 20px;
    color: #0065a1;
    font-size: 2.4rem;
    font-weight: bold;
}

.office-item p {
    margin: 0;
    color: #666666;
    font-size: 1.6rem;
    line-height: 2;
}

/* 募集要項 */
.recruit-requirements {
    background-color: #f5f7f9;
}

.requirements-list {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.requirement-item {
    padding: 0;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 101, 161, 0.08);
    overflow: hidden;
    border: 1px solid #e8ecf0;
}

.requirement-item-title {
    margin: 0;
    padding: 28px 40px 24px;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #0065a1 0%, #1f85b5 100%);
    letter-spacing: 0.02em;
}

.requirement-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    color: #333333;
    font-size: 1.6rem;
    line-height: 1.9;
}

/* 概要エリア（職種・勤務地・給与など） */
.requirement-summary {
    padding: 32px 28px 32px 40px;
    border-right: 1px solid #e8ecf0;
    background-color: #fafbfc;
}

.requirement-details {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.requirement-detail-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    align-items: start;
    margin: 0;
    padding: 0;
}

.requirement-details dt {
    margin: 0;
    padding: 6px 12px;
    background-color: #0065a1;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 6px;
    width: fit-content;
}

.requirement-details dd {
    margin: 0;
    padding: 0;
    color: #555555;
    font-size: 1.5rem;
    line-height: 1.8;
}

.requirement-details dd:last-of-type {
    margin-bottom: 0;
}

/* 詳細ブロック（仕事内容・アピールポイントなど） */
.requirement-blocks {
    padding: 32px 40px 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}

.requirement-block {
    padding: 0;
}

.requirement-block-title {
    margin: 0 0 12px;
    padding: 0 0 8px;
    color: #0065a1;
    font-size: 1.6rem;
    font-weight: bold;
    border-bottom: 2px solid #e0e8f0;
    letter-spacing: 0.02em;
}

.requirement-block-body {
    margin: 0;
    padding: 0;
    color: #555555;
    font-size: 1.5rem;
    line-height: 1.9;
}

.no-requirements {
    padding: 80px 20px;
    color: #999999;
    font-size: 1.8rem;
    text-align: center;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px dashed #ddd;
}

/* エントリーボタン */
.recruit-entry {
    padding: 100px 0;
    background-color: #f8f9fa;
}

/* sec05のスタイルを継承（page.cssから） */
.recruit-entry .sec05 .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 85vw;
    margin: 0 auto;
    padding: 64px 72px;
    overflow: hidden;
    border-radius: 17px;
}

.recruit-entry .sec05 .wrapper::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    border-radius: 17px;
    background: linear-gradient(
        77.83deg,
        rgba(31, 133, 181, .5) 0%,
        rgba(33, 164, 220, .5) 27%,
        rgba(237, 234, 57, .5) 72%,
        rgba(196, 195, 25, .5) 95%
    );
    content: "";
}

.recruit-entry .sec05 .wrapper > * {
    position: relative;
    z-index: 1;
}

.recruit-entry .sec05 .wrapper h2 {
    color: #ffffff;
    font-size: 2rem;
    line-height: 1.5;
}

.recruit-entry .sec05 .btn {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: fit-content;
    height: fit-content;
    padding: 30px 55px;
    overflow: hidden;
    border-radius: 120px;
    background-color: #ffffff;
    color: #4d6d90;
    font-size: 1.8rem;
    transition: background-color .3s ease, transform .3s ease;
}

.recruit-entry .sec05 .btn .arrow {
    display: inline-block;
    position: relative;
    z-index: 2;
    width: 80px;
    height: 8px;
    margin-left: 15px;
}

.recruit-entry .sec05 .btn .arrow::before {
    position: absolute;
    top: -1px;
    left: 0;
    z-index: 1;
    width: 70px;
    height: 10px;
    background-color: #ffffff1f;
    content: "";
    transition: width .45s cubic-bezier(.4, 0, .2, 1),
    opacity .45s cubic-bezier(.4, 0, .2, 1);
    backdrop-filter: blur(25px);
}

.recruit-entry .sec05 .btn .arrow::after {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 3;
    transform: translateY(-50%);
    width: 80px;
    height: 1px;
    background-color: #4d6d90;
    content: "";
    transition: width .45s cubic-bezier(.4, 0, .2, 1),
    background-color .45s cubic-bezier(.4, 0, .2, 1);
}

.recruit-entry .sec05 .btn .triangle {
    position: absolute;
    top: 50%;
    right: 11%;
    z-index: 4;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #4d6d90;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1),
    border-left-color .45s cubic-bezier(.4, 0, .2, 1);
}

.recruit-entry .sec05 .btn .btn-text {
    position: absolute;
    right: 4%;
    width: 17%;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1),
    filter .45s cubic-bezier(.4, 0, .2, 1);
    animation: border-animation 15s infinite linear;
    filter: brightness(0) saturate(100%)
    invert(39%) sepia(47%) saturate(391%)
    hue-rotate(170deg) brightness(94%) contrast(89%);
}

.recruit-entry .sec05 .btn .btn-text text {
    font-weight: 700;
    font-size: 9px;
    letter-spacing: 0;
    fill: #4d6d90;
}

/* ホバーエフェクト（PCのみ） */
@media (min-width: 1026px) {
    .recruit-entry .sec05 .btn:hover {
        transform: translateY(-6px);
    }

    .recruit-entry .sec05 .btn:hover .arrow::after {
        background-color: #1f4f7a;
        width: 100px;
    }

    .recruit-entry .sec05 .btn:hover .arrow::before {
        width: 100px;
    }

    .recruit-entry .sec05 .btn:hover .triangle {
        transform: translate(10px, -50%);
        border-left-color: #1f4f7a;
    }

    .recruit-entry .sec05 .btn:hover .btn-text {
        transform: rotate(360deg);
        filter: brightness(0) saturate(100%)
        invert(20%) sepia(47%) saturate(391%)
        hue-rotate(170deg) brightness(94%) contrast(89%);
    }
}

@keyframes border-animation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ==================================================
    タブレット（768〜1025px）
================================================== */
@media (max-width: 1025px) and (min-width: 768px) {
    body.recruit-page header {
        position: absolute;
    }

    .fv-wrapper {
        height: 100vh;
        min-height: 500px;
    }

    .fv-title {
        font-size: 4.5rem;
    }

    .fv-subtitle {
        font-size: 2rem;
    }

    .fv-message {
        height: 100vh;
        min-height: 500px;
    }

    .recruit-attraction,
    .recruit-work,
    .recruit-flow,
    .recruit-office,
    .recruit-requirements {
        padding: 80px 0;
    }

    .fv-message .inner,
    .recruit-attraction .inner,
    .recruit-work .inner,
    .recruit-flow .inner,
    .recruit-office .inner,
    .recruit-requirements .inner {
        width: 90%;
    }

    .fv-message .ttl-j {
        font-size: 5rem;
    }

    .fv-message .ttl-e {
        top: -38%;
        font-size: 12rem;
    }

    .fv-message .message-content {
        margin-top: 50px;
    }

    .fv-message .message-content .content {
        font-size: 2.5rem;
    }

    .fv-message .message-content .text {
        font-size: 1.6rem;
    }

    .attraction-list,
    .work-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 50px;
    }

    .flow-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-top: 50px;
    }

    .office-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 50px;
    }

    .requirements-list {
        margin-top: 50px;
    }

    .requirement-content {
        grid-template-columns: 1fr;
    }

    .requirement-summary {
        border-right: none;
        border-bottom: 1px solid #e8ecf0;
        padding: 28px 40px;
    }

    .requirement-blocks {
        padding: 28px 40px 40px;
    }

    .recruit-entry {
        padding: 80px 0;
    }

    .recruit-entry .sec05 .wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 50px 40px;
    }

    .recruit-entry .sec05 .wrapper h2 {
        font-size: 1.8rem;
        text-align: center;
    }
}

/* ==================================================
    モバイル（〜767px）
================================================== */
@media (max-width: 767px) {
    body.recruit-page header {
        position: absolute;
    }

    .fv-wrapper {
        height: 100vh;
        min-height: 400px;
    }

    .fv-title {
        font-size: 3rem;
    }

    .fv-subtitle {
        font-size: 1.6rem;
    }

    .fv-message {
        height: 100vh;
        min-height: 400px;
    }

    .recruit-attraction,
    .recruit-work,
    .recruit-flow,
    .recruit-office,
    .recruit-requirements {
        padding: 60px 0;
    }

    .fv-message .inner,
    .recruit-attraction .inner,
    .recruit-work .inner,
    .recruit-flow .inner,
    .recruit-office .inner,
    .recruit-requirements .inner {
        width: 92%;
    }

    .fv-message .ttl {
        margin-bottom: 16px;
    }

    .fv-message .ttl-j {
        font-size: 3rem;
    }

    .fv-message .ttl-e {
        top: -32%;
        font-size: 7.5rem;
    }

    .fv-message .message-content {
        margin-top: 40px;
    }

    .fv-message .message-content .content {
        margin-bottom: 20px;
        font-size: 2rem;
    }

    .fv-message .message-content .text {
        font-size: 1.5rem;
        line-height: 1.8;
    }

    .attraction-list,
    .work-list {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .attraction-item,
    .work-item {
        padding: 30px 20px;
    }

    .attraction-item h3,
    .work-item h3 {
        font-size: 2rem;
    }

    .attraction-item p,
    .work-item p {
        font-size: 1.5rem;
    }

    .flow-list {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    .flow-item {
        padding: 30px 15px;
    }

    .flow-number {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        line-height: 50px;
    }

    .flow-item h3 {
        font-size: 1.8rem;
    }

    .flow-item p {
        font-size: 1.4rem;
    }

    .office-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .office-item {
        padding: 30px 20px;
    }

    .office-item h3 {
        font-size: 2rem;
    }

    .office-item p {
        font-size: 1.5rem;
    }

    .requirements-list {
        margin-top: 40px;
        gap: 36px;
    }

    .requirement-content {
        grid-template-columns: 1fr;
    }

    .requirement-item-title {
        padding: 22px 20px 20px;
        font-size: 1.9rem;
    }

    .requirement-summary {
        padding: 24px 20px 20px;
        border-right: none;
        border-bottom: 1px solid #e8ecf0;
    }

    .requirement-details {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .requirement-detail-row {
        grid-template-columns: 100px 1fr;
        gap: 10px;
    }

    .requirement-details dt {
        font-size: 1.2rem;
        padding: 5px 10px;
    }

    .requirement-details dd {
        font-size: 1.4rem;
    }

    .requirement-blocks {
        padding: 20px 20px 28px;
        gap: 24px;
    }

    .requirement-block-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .requirement-block-body {
        font-size: 1.4rem;
    }

    .recruit-entry {
        padding: 60px 0;
    }

    .recruit-entry .sec05 .wrapper {
        flex-direction: column;
        gap: 25px;
        padding: 40px 25px;
    }

    .recruit-entry .sec05 .wrapper h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .recruit-entry .sec05 .btn {
        padding: 25px 40px;
        font-size: 1.6rem;
    }

    .recruit-entry .sec05 .btn .arrow {
        width: 60px;
        margin-left: 10px;
    }
}
