/* ==================================================
   H&L /job/ page
   現在公開中の styles.css のヘッダー・メニュー・フッターを
   ベースに、求職者向けページ用スタイルを追加
================================================== */

:root {
    --hl-pink: #E85298;
    --hl-pink-dark: #da3280;
    --hl-pink-light: #ffc8f6;
    --hl-text: #111111;
    --hl-gray: #666666;
    --hl-light: #faf7f9;
    --hl-border: #e6e6e6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
    font-size: 16px;
    letter-spacing: 0.8px;

    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 100%;
    min-height: 100vh;
}

/*全要素の横幅計算を統一*/
*,
*::before,
*::after{
    box-sizing: border-box;
}

button,
input {
    font: inherit;
}

button {
    letter-spacing: inherit;
}

/* =========================
   共通ヘッダー
========================= */

.logo {
    background-color: #fff;
}
.header_job_cta{
    display: none;
}
.header_bottom {
    background-color: var(--hl-pink);
    box-shadow: 0 3px 5px #db1571;
}

header .logo img {
    height: 50px;
}

.hamburger {
    display: block;
    width: 30px;
    height: 24px;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1001;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #4d4b4c;
    margin: 5px 0;
    transition: 0.4s;
    transform-origin: center;
}

.menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: var(--hl-pink);
    transform: translateX(100%);
    transition: 0.5s;
    padding-top: 60px;
    z-index: 999;
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu ul li {
    position: relative;
}

.menu ul li a {
    display: block;
    width: 100%;
    padding: 10px 15px;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.menu ul li a,
.menu ul li a.has_submenu {
    cursor: pointer;
}

.menu ul li ul.submenu {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.menu ul li ul.submenu li {
    border: none;
}

.menu.active {
    transform: translateX(0);
}

/* 現在ページを少し目立たせる */
.job_nav > a {
    font-weight: 700;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(405deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.black_bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: #111;
    opacity: 0;
    visibility: hidden;
    transition: all .6s;
    cursor: pointer;
}

.nav_open .black_bg {
    opacity: .8;
    visibility: visible;
}

/* =========================
   /job/ 共通
========================= */
.job_section {
    padding: 82px 0;
}

.section_en {
    margin: 0 0 6px;
    color: var(--hl-pink);
    text-align: center;
    font-size: 0.78rem;
    font-weight: bold;
    letter-spacing: 0.22em;
}

.job_section h2,
.job_consult h2 {
    margin: 0;
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.45;
    font-weight: bold;
}

.section_lead {
    max-width: 720px;
    margin: 20px auto 42px;
    text-align: center;
    color: #555;
}

.section_note {
    margin: 18px 0 0;
    text-align: center;
    color: #777;
    font-size: 0.75rem;
}

/* =========================
   ファーストビュー
========================= */

.job_hero {
    background-color: var(--hl-pink);
    color: #fff;
    text-align: center;
}

.container{
    width: 80%;
    margin: 0 auto;
}

.job_hero .container {
    padding-top: 86px;
    padding-bottom: 88px;
}

.hero_kicker {
    margin: 0 0 24px;
    font-size: 1.1rem;
    font-weight: bold;
}

.job_hero h1 {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3.8rem);
    line-height: 1.45;
    font-weight: bold;
}

.job_hero h1 span {
    display: inline-block;
    border-bottom: 4px solid #fff;
}

.hero_text {
    margin: 28px 0 30px;
    font-size: 1rem;
}

.main_cta {
    display: inline-block;
    min-width: 310px;
    padding: 16px 34px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    transition: opacity .25s;
}

.main_cta:hover {
    opacity: .82;
}

.hero_note {
    margin: 10px 0 0;
    font-size: 0.75rem;
}

/* =========================
   お仕事を探す
========================= */

.job_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.job_card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 18px 20px;
    border: 1px solid var(--hl-border);
    background: #fff;
    color: var(--hl-text);
    font-weight: bold;
    cursor: pointer;
    transition: .25s;
}

.job_card:hover {
    border-color: var(--hl-pink);
    color: var(--hl-pink);
    transform: translateY(-2px);
}

.job_arrow {
    color: var(--hl-pink);
    font-size: 1.2rem;
}

/* =========================
   働き方
========================= */

.work_style,
.flow_section {
    background: var(--hl-light);
}

.style_cards {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.style_card {
    background: #fff;
    border-top: 4px solid var(--hl-pink);
    padding: 28px 24px;
}

.style_no {
    color: var(--hl-pink);
    font-size: 0.75rem;
    font-weight: bold;
}

.style_card h3 {
    margin: 5px 0 8px;
    font-size: 1.25rem;
}

.style_card p {
    margin: 0;
    color: var(--hl-gray);
    font-size: 0.88rem;
}

/* =========================
   H&Lのサポート
========================= */

.support_list {
    max-width: 820px;
    margin: 42px auto 0;
}

.support_item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
}

.support_no {
    color: var(--hl-pink);
    font-size: 0.8rem;
    font-weight: bold;
}

.support_item h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.support_item p {
    margin: 0;
    color: #555;
}

/* =========================
   FLOW
========================= */

.flow_list {
    max-width: 760px;
    margin: 42px auto 0;
}

.flow_item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    background: #fff;
    border-left: 5px solid var(--hl-pink);
    padding: 23px 24px;
}

.flow_step {
    color: var(--hl-pink);
    font-size: 0.75rem;
    font-weight: bold;
}

.flow_item h3 {
    margin: 0 0 4px;
    font-size: 1.15rem;
}

.flow_item p {
    margin: 0;
    color: var(--hl-gray);
    font-size: 0.88rem;
}

.flow_line {
    width: 2px;
    height: 24px;
    margin: 0 auto;
    background: var(--hl-pink);
}

/* =========================
   FAQ
========================= */

.faq_list {
    max-width: 820px;
    margin: 42px auto 0;
    border-top: 1px solid #ddd;
}

.faq_list details {
    border-bottom: 1px solid #ddd;
}

.faq_list summary {
    position: relative;
    padding: 22px 48px 22px 10px;
    list-style: none;
    font-weight: bold;
    cursor: pointer;
}

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

.faq_list summary::after {
    content: "＋";
    position: absolute;
    right: 12px;
    top: 15px;
    color: var(--hl-pink);
    font-size: 1.5rem;
}

.faq_list details[open] summary::after {
    content: "−";
}

.faq_list details p {
    margin: 0;
    padding: 0 10px 22px;
    color: #555;
}

/* =========================
   お仕事相談
========================= */

.job_consult {
    padding: 82px 0 100px;
    background: var(--hl-pink);
    color: #fff;
}

.section_en_white {
    color: #fff;
}

.consult_lead {
    margin: 20px auto 36px;
    text-align: center;
}

.job_form {
    width: 100%;
    max-width: 660px;
    margin: 0 auto ;
    padding: 30px;
    box-sizing: border-box;
    color: #111111;
    background-color: #fff;
}

.form_group + .form_group {
    margin-top: 20px;
}

.job_form label {
    display: block;
    margin-bottom: 7px;
    font-weight: bold;
}

.required {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    background: var(--hl-pink);
    color: #fff;
    font-size: 0.65rem;
    vertical-align: middle;
}

.job_select_buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.job_select_buttons button {
    padding: 11px 6px;
    border: 1px solid #ccc;
    background: #fff;
    color: #111;
    font-weight: bold;
    cursor: pointer;
}

.job_select_buttons button.active {
    border-color: var(--hl-pink);
    background: var(--hl-pink);
    color: #fff;
}

.job_form input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    color: #111;
}

.job_form input:focus {
    outline: 2px solid rgba(232, 82, 152, .25);
    border-color: var(--hl-pink);
}

.form_submit {
    width: 100%;
    margin-top: 28px;
    padding: 16px 20px;
    border: 0;
    background: #111;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}

.form_submit:hover {
    opacity: .85;
}

.form_note {
    margin: 10px 0 0;
    text-align: center;
    color: #777;
    font-size: 0.7rem;
}

.form_message {
    margin-top: 15px;
    padding: 13px;
    background: #f9edf3;
    color: #7b244c;
    text-align: center;
    font-size: 0.85rem;
}

.other_contact {
    margin-top: 36px;
    text-align: center;
}

.other_contact_title {
    margin: 0;
    font-size: 0.8rem;
}

.consult_tel {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.consult_time {
    margin: 0 0 20px;
    font-size: 0.8rem;
}

.line_button {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* =========================
   共通フッター
========================= */

#footer {
    width: 100%;
    background-color: var(--hl-pink-light);
}

.footer_area {
    padding-top: 0.5rem;
}

.footer_contact {
    display: flex;
    margin: 2rem 5%;
}

.footer_contact_inner1 {
    margin: 0 auto;
    padding: 0;
    display: table;
    width: 90%;
}

.footer_contact_inner2 {
    width: 10%;
}

.f_contact_box2 {
    padding-right: 20rem;
}

.f_contact_box {
    display: table-cell;
}

footer .f_contact_box img {
    display: block;
    letter-spacing: 3px;
    height: 30px;
}

.f_contact_text01 {
    font-size: 1rem;
}

.f_contact_text02 {
    margin: 5px 0 0;
    font-size: 1rem;
}

.f_telno {
    font-size: 2.5rem;
    font-weight: bold;
    font-style: normal;
    letter-spacing: 1px;
    color: var(--hl-pink);
    text-decoration: none;
}

.f_time {
    margin-left: -7px;
    font-size: 1rem;
    vertical-align: text-bottom;
}

.bold {
    font-weight: bold;
    color: #4d4b4c;
}

.f_line {
    padding-top: 80px;
}

.copyright {
    background: var(--hl-pink);
    color: #fff;
    text-align: center;
}

.copyright p {
    margin: 0;
    padding: 4px 10px;
}

.fixed_job_cta {
    display: none;
    border-radius: 10px;
}

/* =========================
   PC
========================= */

@media (min-width: 768px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .logo {
        padding: 10px 0 10px 5%;
    }

    /* header_top */
    .header_top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
    }
    /* PCではナビ内のお仕事リンクを非表示 */
    .mobile_job_nav {
        display: none !important;
    }
    /* PC右上のお仕事CTA */
    .header_job_cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin-right: 5%;
        padding: 11px 24px;

        background: var(--hl-pink);
        color: #fff;

        text-decoration: none;
        font-size: 0.9rem;
        font-weight: bold;
        
        border-radius: 6px;
        
        transition:background-color 0.2s,transform 0.2s;
    }
    .header_job_cta:hover {
        background: var(--hl-pink-dark);
        transform: translateY(-1px);
    }
    .hamburger {
        display: none;
    }

    .menu {
        position: relative;
        width: 100%;
        transform: none;
        height: auto;
        padding-top: 0;
        background-color: transparent;
    }

    .menu ul {
        display: flex;
        list-style-type: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .accordion {
         display: table;
        align-self: auto;
        flex: 1;
        border-right: 1px solid #fff;
        min-width: 0;
        vertical-align: middle;
        text-decoration: none;/*ホバー時色変え*/
        
        background-color: transparent; /* 初期背景 */
        transition: background-color 0.3s ease; /* ふんわり切り替え */
    }

    .accordion:hover {
        background-color: var(--hl-pink-dark);
    }

    .job_nav {
        background-color: #d63e84;
    }

    .menu ul li a {
        display: table-cell;
        text-align: center;
        color: #fff;
    }

    .menu ul li ul.submenu {
        position: absolute;
        background-color: #fff;
        display: none;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: none;
        overflow: visible;
    }

    .menu ul li:hover ul.submenu {
        display: block;
    }

    .menu ul li ul.submenu li a {
        display: block;
        color: var(--hl-pink);
        transition: color 0.3s ease;
    }

    .menu ul li ul.submenu li a:hover {
        color: #bd3f7a;
    }

    main {
        margin-top: 116px;
    }
}

/* =========================
   モバイル
========================= */

@media (max-width: 767px) {
    body {
        padding-bottom: 68px;
    }

    .logo {
        padding: 10px 0 10px 3%;
    }

    .header_job_cta {
        display: none;
    }

    .mobile_job_nav {
        display: block;
    }

    .menu ul {
        display: block;
        margin: 0;
        padding: 0;
    }

    .menu ul li a {
        color: #fff;
        text-align: left;
        border-bottom: 1px solid #fff;
        box-sizing: border-box;
    }

    .job_nav {
        padding: 10px 12px;
    }

    .job_nav > a {
        border: 2px solid #fff !important;
        padding: 10px 12px !important;
        background: rgba(255,255,255,.10);
    }

    .menu ul li ul.submenu li a {
        padding-left: 35px;
        font-size: 0.95rem;
        background-color: rgba(255, 255, 255, 0.2);
        border-bottom: 1px dashed #fff;
        color: #fff;
        text-align: left;
    }

    .menu ul li ul.submenu.open {
        display: block;
        max-height: 300px;
    }

    .job_section {
        padding: 64px 0;
    }

    .container{
        width: 88%;
        max-width: 100%;
        margin-left:auto;
        margin-right: auto;

        padding-top: 54px;
        padding-bottom: 58px;

        box-sizing: border-box;
    }

    .hero_kicker {
        font-size: 1rem;
    }

    .job_hero h1 {
        font-size: 2rem;
    }

    .hero_text {
        font-size: 0.88rem;
    }

    .pc_only {
        display: none;
    }

    .main_cta {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .job_cards {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .job_card {
        min-height: 66px;
        padding: 15px 13px;
        font-size: 0.9rem;
    }

    .style_cards {
        grid-template-columns: 1fr 1fr;
        gap: 11px;
    }

    .style_card {
        padding: 22px 17px;
    }

    .style_card h3 {
        font-size: 1.05rem;
    }

    .support_item {
        grid-template-columns: 44px 1fr;
        gap: 10px;
    }

    .support_item h3 {
        font-size: 1.05rem;
    }

    .support_item p {
        font-size: 0.88rem;
    }

    .flow_item {
        grid-template-columns: 74px 1fr;
        gap: 10px;
        padding: 20px 16px;
    }

    .flow_item h3 {
        font-size: 1rem;
    }

    .job_form {
        max-width: 100%;
        padding: 22px 18px;
    }

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

    .consult_tel {
        font-size: 1.7rem;
    }

    /* 現在のモバイルフッターを踏襲 */
    #footer {
        background-color: var(--hl-pink-light);
    }

    .footer_area {
        padding: 3% 0;
    }

    .footer_contact {
        display: flex;
        flex-direction: column;
        text-align: center;
        margin: 0;
    }

    .footer_contact_inner1 {
        margin: 0 auto;
        padding: 0;
        display: block;
        width: auto;
    }

    .footer_contact_inner2 {
        width: auto;
    }

    .f_contact_box {
        display: block;
    }

    .f_contact_box2 {
        padding-right: 0;
    }

    .footer_contact p {
        margin: 0;
    }

    footer .f_contact_box img {
        height: 30px;
        padding-bottom: 10px;
        margin: 0 auto;
    }

    .f_contact_text01 {
        font-size: 0.75rem;
    }

    .f_contact_text02 {
        margin: 5px 0 0;
        font-size: 0.75rem;
    }

    .f_telno {
        font-size: 1.5rem;
        font-weight: bold;
        letter-spacing: 1px;
        color: var(--hl-pink);
        font-style: normal;
    }

    .f_time {
        font-size: 0.75rem;
        vertical-align: text-bottom;
    }

    .f_line {
        padding: 10px;
    }

    .fixed_job_cta {
        display: block;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 10px;
        z-index: 90;
        padding: 14px 12px;
        background: #111;
        color: #fff;
        text-align: center;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: bold;
        box-shadow: 0 4px 18px rgba(0,0,0,.25);
    }
}

@media (max-width: 430px) {
    .style_cards {
        grid-template-columns: 1fr;
    }

    .job_section h2,
    .job_consult h2 {
        font-size: 1.75rem;
    } 
}

/* 個人情報保護方針の同意チェック */
.job_form .privacy_check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin: 20px 0 0;
}

.job_form .privacy_check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;

    padding: 0;
    margin: 0;

    flex-shrink: 0;

    accent-color: #E85298;
    cursor: pointer;
}
/*テキスト*/
.job_form .privacy_check label {
    display:inline;
    margin: 0;

    font-size: 14px;
    font-weight:normal;
    line-height: 1.6;

    cursor: pointer;
}

/*プライバシーポリシーリンク*/
.job_form .privacy_check a {
    color: #E85298;
    text-decoration: underline ;
    text-underline-offset: 2px;
}

/* =========================
   転職・お仕事開始の希望時期
========================= */

.job_form .timing_field {
    border: 0;
    padding: 0;
    margin: 20px 0 0;
    min-width: 0;
}

.job_form .timing_field legend {
    display: block;
    margin: 0 0 10px;
    padding: 0;
    font-weight: bold;
}

/* 選択肢全体 */
.job_form .timing_options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

/* 各選択肢 */
.job_form .timing_option {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

/* 既存の .job_form input の影響を打ち消す */
.job_form .timing_option input[type="radio"] {
    position: absolute;
    opacity: 0;

    width: 1px;
    height: 1px;
    min-width: 1px;

    margin: 0;
    padding: 0;

    pointer-events: none;
}

/* ボタン本体 */
.job_form .timing_option span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;
    box-sizing: border-box;

    padding: 10px 8px;

    border: 1px solid #ccc;
    background: #fff;
    color: #111;

    font-size: 14px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;

    cursor: pointer;

    transition:
        background-color 0.2s,
        border-color 0.2s,
        color 0.2s;
}

/* 選択中 */
.job_form .timing_option input[type="radio"]:checked + span {
    background: var(--hl-pink);
    border-color: var(--hl-pink);
    color: #fff;
}

/* フォーカス時 */
.job_form .timing_option input[type="radio"]:focus-visible + span {
    outline: 3px solid rgba(232, 82, 152, 0.3);
    outline-offset: 2px;
}

/* PC */
@media (min-width: 768px) {
    .job_form .timing_options {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/*スパム対策用の非表示項目*/
.job_honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* チェックボックスをブラウザ標準表示に戻す */
.job_form .privacy_check input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: auto;

    position: static;
    opacity: 1;

    pointer-events: auto;

    width: 18px;
    height: 18px;

    padding: 0;
    margin: 0;

    cursor: pointer;

    accent-color: var(--hl-pink);
}