@charset "utf-8";

:root {
    --border-color-appeals: #f5f5f5;
    --border-color-joblistings: #f5f5f5;

    --bg-color-appeals: #f5f5f5;
    --bg-color-joblistings: #f5f5f5;

    --post-color-appeals: #fff;
    --post-color-joblistings: #fff;

    --tag-color-joblistings: #637BE5;

    --title-font-color: #637BE5;
}

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
    font-family: 'Roboto', 'Noto Sans JP', 'Inter', sans-serif;
    

    @media screen and (max-width: 768px) {
        overflow-x: hidden !important;

    }
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

/* ここまで ユーザー エージェント スタイルシート 無効用*/

#upload-bg {
    background: transparent;
    z-index: 1;
}

#upload {
    text-align: center;
    color: #000000;
    z-index: 2;
}

#loader-bg {
    margin-top: 10em;
    background: transparent;
    z-index: 1;
}

#loader {
    text-align: center;
    color: #000000;
    z-index: 2;
}


body {
    padding: 0;
    color: #333 !important;
    font-weight: 4003 !important;
    font-family: "Kdam Thmor Pro" 3 !important;
    font-size: 1rem !important;
    /*IE(Internet Explorer)・Microsoft Edgeへの対応*/
    -ms-overflow-style: none;
    /*Firefoxへの対応*/
    scrollbar-width: none;
}

/*Google Chrome、Safariへの対応*/
body::-webkit-scrollbar {
    display: none;
}


.split-container {
    overflow: hidden;
    display: flex;


    @media screen and (max-width: 1300px) {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        width: 100%;
        height: 100vh;
    }
}

#split_left {
    width: 50%;
    height: 100vh;
    /* 高さを画面いっぱいに */
    display: flex;
    /* 初期は非表示 */
    flex-direction: column;
    background-color: var(--bg-color-appeals);
    align-items: center;
    overflow: auto;
    /* スクロール可能にする */
    transition: all 0.3s ease-in-out;

    /* 境界線を追加 */
    border-right: 3px solid #ccc;
    /* わかりやすいグレーのライン */

    /*IE(Internet Explorer)・Microsoft Edgeへの対応*/
    -ms-overflow-style: none;
    /*Firefoxへの対応*/
    scrollbar-width: none;

    @media screen and (max-width: 1300px) {
        display: flex;
        width: 100%;
    }
}

/*Google Chrome、Safariへの対応*/
#split_left::-webkit-scrollbar {
    display: none;
}


#split_right {
    width: 50%;
    height: 100vh;
    /* 高さを画面いっぱいに */
    display: flex;
    /* 初期は非表示 */
    flex-direction: column;
    background-color: var(--bg-color-appeals);
    align-items: center;
    overflow: auto;
    /* スクロール可能にする */
    transition: all 0.3s ease-in-out;
    /*IE(Internet Explorer)・Microsoft Edgeへの対応*/
    -ms-overflow-style: none;
    /*Firefoxへの対応*/
    scrollbar-width: none;

    @media screen and (max-width: 1300px) {
        display: none;
        width: 100%;
    }
}

/*Google Chrome、Safariへの対応*/
#split_right::-webkit-scrollbar {
    display: none;
}

.timeline-title1,
.timeline-title2 {
    display: block;
    font-size: 20px;
    padding: 10px;
    text-align: center;

    @media screen and (max-width: 1300px) {
        display: none;
    }
}


.pulldown_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: -20px;
}

/* ボタンのデザイン */
.accordion_button {
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    padding: 10px;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
}


.accordion_button.active {
    background-color: #0056b3;
}



/* PC版（2列×2列で表示、ボタンは下） */
.pulldown_wrap {
    display: flex;
    flex-wrap: wrap;
    /* 折り返し */
    gap: 10px;
    /* 余白 */
    margin-bottom: 10px;
    max-width: 600px;
    /* レイアウトが崩れないよう制限 */

    margin: 0 auto;
    /* 横方向の中央揃え */
    justify-content: center;
    /* 内部要素も中央に */
    align-items: center;
    /* 高さを揃える */
}

/* プルダウンを2列にする */
.pulldown_container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media screen and (max-width: 500px) {
    .pulldown_wrap {
        gap: 0;
        /* 余白 */
        margin-bottom: 0;
        max-width: 500px;
        /* レイアウトが崩れないよう制限 */
    }

    /* プルダウンを2列にする */
    .pulldown_container {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
}



/* PC版：ボタンは下に配置 */
.button {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.button>button:disabled {
    background-color: #dae1fd !important;
    border: 1px solid #dae1fd !important;

}



.container_text {
    margin-top: 15px;
    padding: 5px 20px;
    width: 50px;
}

.pulldown {
    margin-top: 10px;
    width: 150px;
    height: 30px;
    border: 1px solid #637BE5;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;

    @media screen and (max-width: 1300px) {
        width: 150px;
    }
}


/* 共通ボタンデザイン */
#appeal_submit,
#appeal_del {
    background-color: #669ffc;
    /* 薄い青 */
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 18px;
    color: #fff;
    border: 1px solid #A5C7FF;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    cursor: pointer;
    display: inline-block;
    min-width: 120px;
    min-height: 45px;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
    margin: 5px 15px;
    /* ボタン同士の間隔を広げる */
}

/* ホバー（カーソルが乗った時） */
#appeal_submit:hover,
#appeal_del:hover {
    background-color: #2c72ec;
    /* ホバー時に少し濃い青 */
    transform: scale(1.05);
    /* 少し拡大してわかりやすく */
}

/* クリック時のアニメーション */
#appeal_submit:active,
#appeal_del:active {
    transform: scale(0.95);
    /* 押した感じを出す */
}

/* ボタンの間隔をスマホでも統一 */
@media screen and (max-width: 1300px) {

    #appeal_submit,
    #appeal_del {
        padding: 5px 15px;
    }
}


#joblisting_submit,
#joblisting_del {
    background-color: #669ffc;
    /* 薄い青 */
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 18px;
    color: #fff;
    border: 1px solid #A5C7FF;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    cursor: pointer;
    display: inline-block;
    min-width: 120px;
    min-height: 45px;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
    margin: 5px 15px;
    /* ボタン同士の間隔を広げる */
}

/* ホバー（カーソルが乗った時） */
#joblisting_submit:hover,
#joblisting_del:hover {
    background-color: #2c72ec;
    /* ホバー時に少し濃い青 */
    transform: scale(1.05);
    /* 少し拡大してわかりやすく */
}

/* クリック時のアニメーション */
#joblisting_submit:active,
#joblisting_del:active {
    transform: scale(0.95);
    /* 押した感じを出す */
}

/* ボタンの間隔をスマホでも統一 */
@media screen and (max-width: 1300px) {

    #joblisting_submit,
    #joblisting_del {
        padding: 5px 15px;
    }
}


.result {
    margin-top: 0px;
}

#result_jobseekerappeals {
    max-width: 600px;
    width: 100%;
    margin-top: 30px;
}

#result_joblistings {
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
}

/* 投稿全体（上と下にラインを入れる） */
.appeal_wrapper,
.appeal_pr {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: var(--post-color-appeals);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);

    border-top: 10px solid var(--border-color-appeals);

}



.appeal_pr {
    cursor: pointer;
}

.joblisting_pr,
.appeal_pr {
    text-decoration: none;
    color: #333 !important;

}

.joblisting_wrapper,
.joblisting_pr {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: var(--post-color-appeals);

    border-top: 10px solid var(--border-color-appeals);
}

/*アピール投稿*/
.jobseeker_icon {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
}

.jobseeker_icon>img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ddd;
    object-fit: scale-down;
}

.jobseeker_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.appeal-del-btn {

    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    color: #666;
    transition: color 0.2s ease-in-out;

}

.appeal-del-btn:hover {
    transform: scale(1.2);
    /* 1.2倍に拡大 */
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

/* 投稿画像（横幅100%で表示、角丸なし）*/
/*.appeal-img {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    width: 100%; /* 親要素いっぱいに広げる */
/*}*/

/*.appeal-img > img {
    width: 100%;  /* 横幅を100%に */
/*height: auto; /* 縦横比を保つ */
/*max-width: none; /* 制限を解除 */
/*object-fit: cover; /* 画像を適切に調整 */
/*border-radius: 0; /* **角を丸めない** */
/*}*/


/* 仮追加スクロール全体のラッパー */
/* 横スクロールラッパー */
/* 左右の矢印ボタン */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: none;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    display: none;
}

/* PC版だけ表示 */
@media screen and (min-width: 1300px) {

    .arrow-btn {
        display: block;
    }
}

/* 左 */
.prev-btn {
    left: 10px;
    font-size: 15px;
}

/* 右 */
.next-btn {
    right: 10px;
    font-size: 15px;
}


/* 全体ラッパー */
.appeal-scroll-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 中身のトラック */
.appeal-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100%;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
    /* Firefox用 */
    -ms-overflow-style: none;
    /* IE10+用 */
}

/* Chrome, Safari用 */
.appeal-track::-webkit-scrollbar {
    display: none;
}


/* 1つずつアイテム */
.appeal-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    align-items: center;

}

/* 中のimgやvideo */
.appeal-item img,
.appeal-item video {
    width: 100%;
    height: auto;
}

/* インジケータ（ドット） */
.appeal-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.appeal-indicator .dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.appeal-indicator .dot.active {
    background: #333;
}


/* 各画像の枠 */
.appeal-img,
.appeal-img2 {
    flex: 0 0 100%;
    /* 横幅100%、折り返さない */
    height: auto;
    /* 縦はお好みで調整 */
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 実際の画像 */
.appeal--video video {
    width: 95%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* 各画像の枠 */
.appeal-video {
    flex: 0 0 100%;
    /* 横幅100%、折り返さない */
    height: auto;
    /* 縦はお好みで調整 */
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 実際の画像 */
.appeal-img img,
.appeal-img2 img {
    width: 95%;
    height: 100%;
    object-fit: scale-down;
    border-radius: 0;
    max-height: 400px;
}


.appeal_message {
    padding: 5px;
    padding-left: 30px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.appeal_message>p {
    font-family: "ROBOTO";
    overflow: hidden;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    /* 改行する */
}

.icons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.icons-left,
.icons-right {
    display: flex;
    align-items: center;
    gap: 7px;
}


.nickname-wrapper {
    display: block;
    /* ★縦並びにする */
}

.nickname {
    font-size: 18px;
    /* 名前のフォントサイズ */
    font-weight: bold;
    margin-bottom: 2px;
    /* 名前と時間の間に少しスペース */
}

.appeal_create_at {
    font-size: 14px;
    /* 時間のフォントサイズ */
    color: gray;
    /* 目立ちすぎない色 */
}


.liked {
    color: red !important;
}

/* アイコンサイズ */
.icons-right>span,
.icons-left>span {
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: color 0.2s ease-in-out;
}

.icons-right>span:hover,
.icons-left>span:hover {
    transform: scale(1.2);
    /* 1.2倍に拡大 */
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.want_it_industry-icon {
    padding-left: 5px;
    max-width: 35px;
    max-height: 35px;
    overflow: hidden;
    object-fit: contain;
}

.want_it_industry-icon>img {
    width: 100%;
    object-fit: contain;
}

.country-icon {
    max-width: 35px;
    max-height: 35px;
    overflow: hidden;
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0.1px solid #ddd;
    /* 日本の国旗のような背景が白だと同化してしまう国旗対策 */
}

.country-icon>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/*広告*/
.pr_text {
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
}

.pr_name {
    text-decoration: none;
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

.job_image_src {
    margin-top: 10px;
}

/*
**コメント系
*/

.jobseeker-appeals-comment {
    position: fixed;
    border-radius: 25px 25px 0px 0px;
    height: 100%;
    max-height: 800px;
    margin: auto;
    max-width: 500px;
    background-color: rgb(255, 255, 255);
    border: #efeeee solid 0.5px;
    width: 100%;
    bottom: 0;
    left: 20%;
    display: none;

    body {
        font-family: Arial, sans-serif;
        background: url("background.jpg") no-repeat center center/cover;
        /* 背景画像 */
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100svh;
    }

    /* メインコンテナ */
    .body-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100svh;
    }

    /* ログインフォームの外枠 */
    .container {
        background: rgba(255, 255, 255, 0.9);
        /* 半透明の白 */
        padding: 40px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        text-align: center;
        width: 400px;
    }

    /* フォーム内のコンテンツ */
    .box {
        width: 100%;
    }

    /* ヘッダー（企業ログイン） */
    .content-header {
        font-size: 15px;
        font-weight: bold;
        margin-bottom: 20px;
    }

    /* 入力フィールド */
    .input-field {
        text-align: left;
        margin-bottom: 15px;
    }

    .input-header a {
        font-size: 14px;
        font-weight: bold;
        color: #333;
        display: block;
        margin-bottom: 5px;
    }

    .input-box {
        width: 100%;
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 16px;
        transition: 0.3s;
    }

    /* 入力フィールドのエラーメッセージ */
    .input-message {
        color: red;
        font-size: 14px;
        margin-top: 5px;
    }

    /* パスワード表示のチェックボックス */
    #show_password {
        cursor: pointer;
    }

    label[for="show_password"] {
        font-size: 14px;
        cursor: pointer;
    }

    /* ログインボタン */
    .submitBtn {
        width: 100%;
        padding: 14px;
        background-color: #1877f2;
        color: white;
        font-size: 18px;
        font-weight: bold;
        border: none;
        border-radius: 25px;
        cursor: not-allowed;
        transition: background 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .submitBtn:not(:disabled) {
        cursor: pointer;
        background-color: #166fe5;
    }

    .submitBtn:not(:disabled):hover {
        background-color: #145dbf;
    }

    /* ログイン失敗メッセージ */
    .warning {
        color: red;
        font-size: 14px;
        margin-top: 10px;
    }

    /* ヘルプリンク */
    .loginhelp {
        margin-top: 15px;
    }

    .loginhelp a {
        display: block;
        font-size: 14px;
        color: #1877f2;
        text-decoration: none;
        margin-bottom: 5px;
    }

    .loginhelp a:hover {
        text-decoration: underline;
    }

    /* スマホ版（コンパクトなデザインにする） */
    @media screen and (max-width: 1000px) {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 25px 25px 0 0;
        overflow-y: auto;
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
        z-index: 9999;

        body {
            background: #f0f2f5;
            align-items: flex-start;
        }

        .container {
            width: 100%;
            max-width: 360px;
            box-shadow: none;
            border-radius: 0;
            padding: 30px;
        }

        .submitBtn {
            font-size: 16px;
        }
    }

    /* スマホ版（コンパクトなデザインにする） */
    @media screen and (max-width: 500px) {
        width: 90%;
        height: 80%;
    }
}

.result {
    padding-bottom: 150px;
}

.btn-right {
    font-size: 18px;
    text-align: center;
    padding-top: 20px;
}

.comment_area {
    display: flex;
    flex-direction: column-reverse;
    overflow: auto;
    overflow-y: scroll;
    /*スクロールバー非表示（IE・Edge）*/
    -ms-overflow-style: none;
    /*スクロールバー非表示（Firefox）*/
    scrollbar-width: none;
    /*高さ 要調整*/
    max-height: 83%;

    @media screen and (max-width: 1400px) {
        max-height: 79%;
    }

}

.comment-icon-btn,
.like-icon-btn {
    width: 40px;
    height: 40px;
    font-size: 24px !important;
    line-height: 40px !important;
    text-align: center;
}

.comment {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    margin: 10px 10px 0px 10px;
    flex-direction: column;
}

.comment_main {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.comment_icon {
    cursor: pointer;
}

.comment_icon>img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 100px;
    overflow: hidden;
    border: #efeeee solid 0.5px;

}

.comment_box {
    padding: 10px 10px 10px 10px;
    border-radius: 15px;
    background-color: #efeeee;
    overflow: hidden;
    overflow-wrap: normal;
    width: 100%;
}

.comment_name {
    font-weight: bolder;
}

.comment_text {
    padding-left: 5px;
}

.comment_create {
    padding-left: 80px;
}

.dummy_input {
    padding: 10px;
    height: 8%;
}

.input-comment {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.input-container {
    height: 50px;
    max-width: 480px;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f9f9f9;
    border-top: 1px solid #ccc;
    display: flex;
    align-items: center;
    padding: 10px;

    @media screen and (max-width: 500px) {
        max-width: 85%;
    }

}

.input-container input {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.input-container button {
    margin-left: 10px;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.input-container button:hover {
    background-color: #0056b3;
}



/*求人*/
.joblisting_title {
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
}

.joblisting_img {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
    /* 親要素いっぱいに広げる */
}

.joblisting_img>img {
    width: 100%;
    /* 横幅を100%に */
    height: auto;
    /* 縦横比を保つ */
    max-width: none;
    /* 制限を解除 */
    object-fit: cover;
    /* 画像を適切に調整 */
    border-radius: 0;
    /* **角を丸めない** */
}

.joblisting_message {
    margin-top: 10px;
    padding: 10px;
}

.joblisting_message>p {
    white-space: pre-wrap;
    /* 改行する */
}

.joblisting_ken-icon {
    margin-top: 10px;
    display: flex;
}

/* 企業　icon */
.point-icon {
    margin-top: 10px;
    display: flex;
    color: #fff;
    padding: 10px;
}

.point-icon p {
    text-align: center;
    border-radius: 5px;
    margin-right: 5px;
    width: 100%;
    padding: 5px;
    background-color: #637BE5;
}

/*tab*/

.tab-btn {
    display: none;

    @media screen and (max-width: 1300px) {
        display: flex;
        width: 100%;
    }
}

.tab-btn>button {
    border: none;
    background-color: transparent;
    font-size: 20px;
}

#toggleButton1 {
    width: 50%;
    background-color: var(--bg-color-appeals);
}

#toggleButton2 {
    width: 50%;
    background-color: var(--bg-color-joblistings);
}

.tab-btn button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    width: 50%;
    border: none;
    color: #000000;
    background-color: #f0f0f0;
    font-size: 20px;
    cursor: pointer;
    border-radius: 0;
    /* 角丸をなくす */
    position: relative;
}

/* アクティブ状態のボタン（下にライン） */
.tab-btn button.active {
    background-color: #e0e0e0;
    /* 選択中の背景色 */
    color: #007BFF;
}

/* アクティブなボタンの下にラインを追加 */
.tab-btn button.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 3px;
    /* 下線の位置調整 */
    width: 100%;
    height: 4px;
    /* 太めのライン */
    background-color: #007BFF;
    border-radius: 2px;
}

.tab-btn button::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 8px;
    /* 文字との間隔 */
}


/* アイコンを `::before` で表示 */
#toggleButton1::before,
#toggleButton2::before {
    content: "";
    display: inline-block;
    width: 24px;
    /* アイコンサイズ */
    height: 24px;
    background-size: cover;
    background-position: center;
    margin-right: 8px;
    transition: filter 0.3s ease-in-out;
    /* 色変更をスムーズに */
}

#toggleButton1::before {
    background-image: url("../image/ui/talent-icon.png");
    /* 人材アイコン */
}

#toggleButton2::before {
    background-image: url("../image/ui/job-icon.png");
    /* 求職アイコン */
}

/* アクティブ時にアイコンの色を変える */
.tab-btn button.active::before {
    filter: brightness(0) saturate(100%) invert(40%) sepia(99%) saturate(2130%) hue-rotate(201deg) brightness(95%) contrast(85%);
}


/*bg switch*/
.switching_bg {
    background-color: transparent;

    @media screen and (max-width: 1300px) {
        background-color: var(--bg-color-joblistings);
    }
}

.hidden {
    visibility: hidden
}

/*not found*/
.not_found_text {
    font-weight: bolder;
    font-size: 32px;
}

.disabled-btn {
    background-color: #1e3d5e !important;
}


/* アコーディオン */
/* アコーディオン（初期状態は閉じている） */
#pulldown_jobseekerappeals,
#pulldown_joblistings {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;

}

/* 開いたときのスタイル（JavaScriptで動的に適用するため、ここでは `max-height` を指定しない） */
#pulldown_jobseekerappeals.is-open,
#pulldown_joblistings.is-open {
    display: block;
    visibility: visible;
}

/* トグルボタン */
#toggle_appeals,
#toggle_appeals2 {
    background-color: #ffffff;
    color: #1b1b1b;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* 矢印を右端に配置 */
    width: 100%;
    text-align: left;
    margin-bottom: 10px;

    /* 上下にラインを追加 */
    border-top: solid 1px #c7c7c7;
    border-bottom: solid 1px #c7c7c7;
}

/* 矢印アイコン */
#toggle_arrow,
#toggle_arrow2 {
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
}

/* 開いた時の矢印の回転 */
#toggle_appeals.is-open #toggle_arrow #toggle_appeals2.is-open #toggle_arrow2 {
    transform: rotate(90deg);
}


@media screen and (max-width: 500px) {

    html,
    body {
        height: auto;
        /* ← スクロールできるようにする */
        overflow-y: auto;
        /* ← スクロール有効にする */
        -webkit-overflow-scrolling: touch;
        /* ← Safariのスムーズスクロール */
        position: static;
        ;
        overflow-x: hidden;
        /* 横スクロール禁止 */
        width: 100%;
    }

    .split-container {
        height: auto;
        overflow: visible;
        /* ← 中のスクロール解除 */
    }

    #split_left,
    #split_right {
        height: auto;
        min-height: 100vh;
        /* ← スクロール可能な高さを確保 */
        overflow: visible;
    }

    .result {
        overflow: visible;
        /* ← ここも解除しないと分離スクロールになる */
    }

    .tab-btn button {
        padding: 5px 5px;
        width: 45%;
        font-size: 18px;

    }

    .hide-scroll-margin {
        margin-top: -40px !important;
    }

}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 400px;
    text-align: center;
  }
  
  .modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .btn-secondary {
    padding: 8px 16px;
    background-color: #ccc;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .btn-danger {
    padding: 8px 16px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .bottom-loading{
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .bottom-loading>img{
    width: 20px; 
    height: 20px;
  }