.underlayer-heading{
    display: none;
}

.cmn-cnt__main.--cmn-page{
    margin-top: 50px;
}

button{
    padding: 13px 17px;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 0px !important;
}

button:hover{
    opacity: 0.6;
    transition: 0.3s;
}

.layout-ttl {
    display: none;
}
.layout__side {
    display: none;
}
.breadcrumb{
    margin-bottom: 20px;
}

.floating-button-content{
    display: none !important;
}
.floating-button-content02{
    display: none !important;
}

.top-image{
    display: none;
}

.chat-container{
    width: 100%;
    /*border: 1px solid #ddd;*/
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    margin-top:0px ;
}

.chat-header{
    overflow: hidden;
    background-image: url('/js/js/job_interview/img/job_interview-titel_pc.png');
    background-size: cover;
    aspect-ratio: 400 / 27;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 1024px){
    .chat-header{
        height: 85px;
    }
}

h2.ai_title{
    margin: 10px 0 8px;
    color: white;
    font-size: 23px;
}

@media (max-width: 1024px){
   h2.ai_title{
        margin:0px;
    }
}


.history-box{
    display: flex; 
    position: relative;
    margin-top: -1px;
    padding-bottom: 20px;
}
.single-information .layout__main__inner {
    max-width: 1024px;
}
.video-box{
    position: relative;
    width: 100%;
    height: calc(98vh - 280px);
    margin: 0;
    overflow: hidden;
}

.video-box video{
    position: absolute;
    top: 0%;
    left:-34%;
    width: 183%;
    height: auto;
}

.chat-box{
    width: 100%;
    height: calc(98vh - 280px);
    overflow-y: auto;
    padding: 15px ;
    background-color: white;
}

.chat-message{
    margin: 20px 5px 35px;
    padding: 25px 23px 21px;
    border-radius: 10px;
    max-width: 85%;
    clear: both;
}

.chat-message.bot{
    background-color:#4d4d4d;
    margin-right: auto;
    text-align: left;
    line-height: 24px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    font-family:'Shippori Mincho B1';
    font-size: 1.556rem;
    color: white;
}


.chat-message.user{
    background-color:#1db4df;
    text-align: left;
    font-weight: 400;
    color: white;
    font-family:'Shippori Mincho B1';
    padding: 14px 20px;
    margin: 25px 5px 35px;
    margin-left: auto;
}

.chat-input{
    align-items: center;
    background-color: #ffffff;
    /*border-top: 1px solid #ddd;*/
    margin-top: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.chat-area{
    background: #eeeeee;
    display: flex;
    align-items: center;
    width: 100%;
    height: 75px;
}



.chat-input #micButton{
    border: none;
    cursor: pointer;
    margin-right: 2px;
    height: 75px;
}

.chat-input #micButton img{
    width: 35px;
}

#user-input{
    flex: 1;
    padding: 14px 10px 2px 18px;
    border: none;
    border-right: 1px solid #ddd;
    overflow-y: scroll;
    resize: none;
    background-color: white;
    height: 75px;
    font-weight: 400;
    max-height: 75px;
}
#user-input::placeholder{
	color:#bbb;
}
#user-input:disabled{
    background-color:#e6e6e6 ;
}
#user-input:disabled::placeholder{
   font-size:0;
}

.modal{
    display: none;
    position: fixed;
    z-index: 8888;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: hidden !important;
    /*animation: fadeIn 0.7s cubic-bezier(0.33, 1, 0.68, 1) forwards;*/
}

.modal-content{
    background-color: #fefefe;
    margin: 180px auto;
    padding: 19px;
    border: 1px solid #888;
    width: 100%;
    max-width: 500px;
    border-radius: 5px;
    font-family:'Shippori Mincho B1';
}

.modal-content p.modal-title{
	text-align: center;
	font-weight: bold;
    font-size: 16px;
}

.modal-content p{
    margin: 16px 0px;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.05em;
    line-height: 1.5em;
}
.modal-content .modal-text-point{
    background: #f5f5f5;
    border: solid #eaeaea 1px;
    padding: 12px;
}
.modal-content .modal-img01_sp{
    margin:10px auto;
    display: none;
}
.modal-content .modal-img01_pc{
    margin:10px auto;
}
.close{
    color: #aaa;
    float: right;
    font-size: 18px;
    font-weight: bold;
}

.modal-buttons{
    display: flex;
    justify-content: center;
    margin: 20px auto;
    width: 60%;
    gap: 15px;
}

#closeModalBtn{
    background-color:#9b9a9a;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

#closeModalBtn:hover{
    opacity:0.6;
    transition: 0.6s;
}

.modal{
    display: none;
    position: fixed;
    /*z-index: 1;*/
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.close{
    color: #aaa;
    float: right;
    font-size: 20px;
    font-weight: bold;
}

.close:hover, .close:focus{
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-show{
    display: block;
}


#job_interview{
    width: 100%;
    max-width: 1360px;
    margin: min(12rem, calc(120 / 12.4 * 1vw)) auto;
    padding: 0 calc(min(40px, calc(40 / 12.8* 1vw)));
    margin-bottom: min(6rem, calc(60 / 12.4 * 1vw));
}

#startBtn{
    background: #1aa2c8;
    color: white;
    padding: 15px 20px;
    border: none;
    cursor: pointer;
}



#sendButton{
    padding: 16px 19px;
    height: 75px;
    background-color:#3eb4d8 ;
}

#sendButton:disabled {	
    background: #e6e6e6;
    cursor: not-allowed;	
}

#sendButton img{
    height: 35px;
    width: auto;
}


@media (max-width:1200px){
.video-box video {
    left: -50%;
    width: 215%;
}
}

@media (max-width:1024px){
    .cta-floating{
        display: none;
    }
    .chat-message.bot{
        font-size: 1.4rem !important;
        line-height: 1.5em !important;
    }
    .chat-message.user{
        font-size: 1.6rem;
        line-height: 2em;
    }
    #job_interview{
        padding: 0 4%;
    }
    .chat-container{
        width: 100%;
        margin: 0;
        height: 73vh;
        display: flex;
        flex-direction: column;
        max-height: 800px;/*563px;*/
    }
    .history-box{
        /*flex-direction: column;*/
        display: flex;
        flex-direction: row;
        height: calc(82vh - 60px);
        position: relative;
    }
    .video-box{
        overflow: hidden;
        width: 100%;
        height: 100%;
        margin: 0;
        position: relative;
    }
    .video-box video{
        top:0%;/
    }
    .video-box video{
    left: -56%;
    width: 230%;
    height: auto;
    }
    .chat-box{
        width: 100%;
        height: 40vh;
        position:relative
        /*bottom: 0;
        left: 0;*/
        background-color: rgba(255, 255, 255, 0);
        overflow-y: auto;
        max-height: 400px;
    }
    #user-input{
        font-size: 16px;
        line-height: 20px;
    }
    #sendButton{
        padding-right: 17px;
    }
}
@media (max-width: 820px){
    .history-box{
        flex-direction: column;
        height: calc(82vh - 60px);
        position: relative;
    }
    .video-box{
        width: 100%;
        height: 40%;
        margin: 0;
        position: relative;
        top: 0;
        left: 0;
    }
    .video-box video {
        top: 0%;
    }
    .video-box video{
        left: 0%;
        width: 105%;
    }
    .chat-box{
        width: 100%;
        height: 30vh;
        position: relative;
        bottom: 0;
        left: 0;
        background-color: rgba(255, 255, 255, 0);
        overflow-y: auto;
        /*max-height: 231px;*/
    }
    .chat-message.bot{
        margin: 20px 5px 20px;
    }
    .chat-message.bot{
        font-size: 1.4rem !important;
        line-height: 1.5em !important;
    }
    .chat-message.bot::before{
        top: -9px;
        padding: 5px 13px;
        font-size: 13px;
    }
}


@media (max-width:767px){
    .layout__main__inner{
        display: block;
        box-sizing: border-box;
    }
    .cta-floating{
        display: none;
    }
    .layout__side {
        display: none;
    }
    .footer__top{
        display: none;
    }
    .footer{
        display: none;
    }
    .breadcrumb{
        margin-bottom:0px;
    }
    .modal-content{
        margin: 100px auto;
        position: absolute;
        top: 1%; 
    }
    .modal-buttons{
        width: 86%;
    }
    .modal-show{
        display: flex ;
        position: fixed;
        justify-content: center;
        align-items: center;
    }
    h2.ai_title{
        margin: 4px;
        font-size: 15px;
    }
    .chat-container{
        width: 100%;
        margin: 0;
        height: 92vh;
        display: flex;
        flex-direction: column;
        /*max-height: 563px;*/
    }
    .chat-container{
        height: 87vh;
    }
    .chat-header{
        width: 100%;
        background-image: url('/js/js/job_interview/img/job_interview-titel_sp.png');
        aspect-ratio: 705 / 101;
        height: auto;
    }
    .history-box{
        margin-top: 0px;
        padding: 0px;
    }
    .chat-message.user{
        font-size: 1.4rem !important;
        line-height: 1.5em !important;
        margin: 6px 0 6px auto;
    }
    .chat-input{
        width: 93%;
        display: inline-flex;
        /*flex-direction: column;*/
        align-items: center;
        background-color: #ffffff;
        border-top: 1px solid #ddd;
        gap: 0;
        margin: 0 15px;
    }
    .stop-button{
        margin-bottom: 15px;
    }
    .modal-show{
        display: flex;
        position: fixed;
        justify-content: center;
        align-items: center;
    }
    .layout-ttl{
        display: none;
    }
    #user-input{
        font-size:16px;
        line-height: 1.2em;
    }
    #user-input:disabled{
        background-color:#e6e6e6;
    }
    #job_interview{
        margin-bottom: min(8rem, calc(80/7.5*1vw));
        width:auto;
        padding: 0;
    }
    #closeModalBtn{
        height: 54px;
        font-size: 15px;
    }
    #startBtn{
        font-size: 15px;
        height: 54px;
    }
    #sendButton{
        padding-right: 17px;
    }
    #micButton{
        margin-right: 1px;
        padding-left: 17px;
        padding-bottom: 7px;
    }
}
@media (max-width:585px){
    #user-input{
        padding: 9px 10px 2px;
    }

}

@media (max-width:520px){
    .modal-content{
        top: 0%;
        max-width: 350px;
    }
}

@media (max-width:480px){
    .modal-img01_sp{
        display: block !important;
    }
    .modal-img01_pc{
        display: none;
    }

    .modal-content {
       display: block;
    }
    .chat-message.bot{
        padding: 25px 13px 21px;
    }
    .chat-box{
        height: 40vh;
    }
}

@media (max-width:390px){
    .modal-content{
        max-width: 335px;
    }
    .modal-buttons {
      gap: 10px;
    }
    .modal-buttons button {
      padding: 13px 10px !important;
    }
    #user-input{
        padding: 10px 5px 10px 10px;
        font-size: 16px;
        height: 60px;
        max-height: 60px;
    }
    button{
        padding: 13px 16px;
    }
    #sendButton{
        padding: 14px;
    }
    .chat-area{
        height: 60px;
    }
    .chat-input #micButton{
        height: 60px;
        padding-left: 8px;
        padding-right: 9px;
    }
    #sendButton{
        height: 60px;
        padding: 14px 16px 9px;
    }
    #sendButton img{
        height: 25px;
    }
    .chat-input #micButton img{
        height: 25px;
    }
}



@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


#talk_stop {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px;
}

.start-session{
    flex-direction: column;
    position: fixed;
    z-index: 9999;
    left: 0;
    bottom: 0;
    top: 8%;
    width: 100%;
    /*height: 100%;*/
    overflow-y: auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    transition: opacity 0.3s ease; 
    scrollbar-width: none;
}

/*2024.11.25 ポップアップ追加*/
.popup {
    width: 100%;
    height: 100%;
    overflow: visible;
    display: flex;
    justify-content: center;
    z-index: 9999;
}

.popup2{
    width: 100%;
    height: 50%;
    /*overflow: auto;*/
    display: flex;
    justify-content: center; 
    z-index: 9999;
}

@media (max-width: 820px){
    .popup2{
        height: 31%;
    }
}


.popup-content {
    font-family: 'Shippori Mincho B1' !important;
    position: relative;
    width: 100%;
    max-width: 510px;
    width: 500px;
    height: 500px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
    /*border: solid 1px #79554866;*/
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    background-image: url('/js/js/job_interview/img/job_interview-popup-text.png');
    background-repeat: no-repeat;
    background-size: contain;
    box-sizing: content-box;
}

.popup-content2{
    font-family: 'Shippori Mincho B1' !important;
    position: relative;
    width: 100%;
    max-width: 500px;
    width: 500px;
    max-height: 133px;
   /* height: 133px;*/
    aspect-ratio: 497 / 134;
    box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    background-image: url(/js/job_interview/img/job_interview-popup2_back.jpg); 
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    transition: background-size 0.3s cubic-bezier(0.34, 0.34, 0.34, 0.34);
    background-size: 100% auto;
    box-sizing: content-box;
}
/*.popup-content2:hover {
    transform:scale(1.2,1.2);
    transition:1s all;
  }*/


@media (max-width: 520px){
    .popup-content2{
    /*background-size: contain;*/    
    max-width: 350px;
    max-height: 92px;
    }
}
@media (max-width: 380px){
    .popup-content2{
    max-width: 320px;
    max-height: 85px;
    }
}


.first_choose_button{
    background-color: blue;
    position: absolute;
    top: 29%;
    left: 43%;
    padding: 15px 43px;
}
@media (max-width: 520px){
    .first_choose_button{
        padding: 10px 17px;
        font-size: 13px;
    } 
}

.popup-content2:hover button#switchPersonButton {
    opacity: 1.0;
    background-color:black ;
    transition: 0.3s !important;
  }

button#switchPersonButton::before{
    position: absolute;
    width: 100%;
    top: 27%;
    left: 0;
    transition: all 0.5s ease;
    color: #fff;
    transform: translateY(100%);
    opacity: 0;
    font-family: 'Shippori Mincho B1';
}

button#switchPersonButton::after{
    position: absolute;
    width: 100%;
    top: 25%;
    left: 0;
    transform: translateY(0);
    opacity: 0;
    transition: all 0.5s ease;
    color: #fff;
    font-family: 'Shippori Mincho B1';
}


.popup_button{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    z-index: 9999;
}

.button-content{
    position: relative;
    width: 100%;
    border-radius: 10px;
    text-align: center;
}

.back_button{
    background-color: white;
    color: #555555;
    font-family: 'Shippori Mincho B1';
    padding: 9px 80px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px !important;
}

.back_button:hover{
    background-color: #cfcfcf;
}

.inline-logo{
    vertical-align: -0.5em;
}


@media (max-width: 520px) {
    .popup-content {
        max-width: 350px;
        max-height: 400px;
    }

    .popup-text1 {
        line-height: 1.7;
    }

    .inline-logo {
        width: 39%;
    }
}

@media (max-width: 380px) {
    .popup-content {
        max-width: 320px;
        max-height: 380px;
    }
}

.popup-wrapper {
    position: absolute;
    top: 45%;
    left: 11.5%;
    z-index: 2;
}

@media (max-width: 520px) {
    .popup-wrapper {
        top: 37%;
        left: 0%;
        right: 0%;
    }
}

@media (max-width: 380px) {
    .popup-wrapper {
        left: 0;
        right: 0;
    }
}

.popup-Textimg img {
    width: 65%;
}



.popup-Aiimg {
    width: 38%;
    display: block;
    margin: 10px auto 0;
}

.popup-backimg_sp {
    display: none;
}

@media (max-width: 520px) {
    .popup-backimg_cp {
        display: none;
    }

    .popup-backimg_sp {
        display: block;
        position: absolute;
        top: -2%;
    }
}

.popup-text1 {
    font-size: 16px;
    line-height: 2.0;
    color: #1a100d;
    margin: 20px auto;
    font-weight: 700;
    font-family: 'Shippori Mincho B1';
    margin: 40px auto 20px;
}

@media (max-width: 520px) {
    .popup-text1 {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .popup-text1 {
        font-size: 13px;
    }
}

.button-box{
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 28px;
    height: 30px;
    background: #000;
    /* border-radius: 2px; */
    display: grid;
    place-items: center;
    transition: 0.3s ease-in-out;
}
#firstContact:hover{
    opacity: 1;
}
#firstContact:hover .arrow{
    right: 15px;
}

.arrow::after {
    content: url('/wp-content/themes/recruit_theme/assets/img/cmn/entry_btn_icon.svg');
    position: absolute;
    top: 53%;
    left: 44%;
    transform: translate(-40%, -50%);
}

#firstContact,#switchPersonButton,#returnButton,#pauseButton,#sendButton,#closeModalBtn,#startBtn,.btn-ok,.btn-cancel{
    transition: 0.3s;
}


button#firstContact {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 2px;
    /*display: inline-block;*/
    width: 80%;
    color: white;
    border: none;
    font-size: 19px;
    cursor: pointer;
    letter-spacing: 4px;
    background-color: #1aa2c8;
}


@media (max-width: 520px) {
    button#firstContact {
        padding: 15px 85px;
    }
}

@media (max-width: 380px) {
    button#firstContact {
        font-size: 17px;
    }
}

.popup-text2 {
    font-size: 15px;
    color: #1a100d;
    margin-top: 15px;
    font-weight: 700;
    background-color: white;
    padding: 10px 40px 15px;
    font-family: 'Shippori Mincho B1';
}

@media (max-width: 520px) {
    .popup-text2 {
        font-size: 12px;
        padding: 10px 10px 15px;
        margin-top: 5px;
        font-weight: 500;
    }
}

.speech-bubble{
    position: absolute;
    top: 15%;
    right: 22%;
    z-index: 2;
    width: 20%;
}
@media (max-width: 520px){
    .speech-bubble{
        top:17%;
        left: 60%;
    }
}

.modal-content{
    border-radius: 10px;
}

button{
    border-radius:9px;
}


    /* loader-overlay：グレーの透明グラデーション背景とフェード用の transition */
    .loader-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(128,128,128,0.6), rgba(128,128,128,0.8));
      animation: backgroundFlow 10s ease infinite;
      z-index: 1000;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 1;                   /* 初期状態は表示 */
      transition: opacity 1.0s ease; /* 1.0秒でフェード */
      pointer-events: none;
    }
    @keyframes backgroundFlow {
      0% {
        background: linear-gradient(135deg, rgba(128,128,128,0.6), rgba(128,128,128,0.8));
      }
      50% {
        background: linear-gradient(135deg, rgba(128,128,128,0.8), rgba(128,128,128,0.6));
      }
      100% {
        background: linear-gradient(135deg, rgba(128,128,128,0.6), rgba(128,128,128,0.8));
      }
    }
    
    /* ローダー部分：グラデーション付き Blob アニメーション（ベースカラー #0a4883） */
    .loader-animation {
      /*width: 120px;
      height: 120px;*/
      width: 240px;
      height: 240px;
      border-radius: 50%;
      animation: blob 2s ease-in-out infinite;
    }
    @keyframes blob {
      0% {
        border-radius: 50%;
        transform: scale(1) translate(0, 0);
      }
      25% {
        border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%;
        transform: scale(1.1) translate(5px, -5px);
      }
      50% {
        border-radius: 40% 60% 30% 70% / 60% 40% 70% 30%;
        transform: scale(0.9) translate(-5px, 5px);
      }
      75% {
        border-radius: 55% 45% 65% 35% / 45% 55% 35% 65%;
        transform: scale(1.07) translate(5px, 5px);
      }
      100% {
        border-radius: 50%;
        transform: scale(1) translate(0, 0);
      }
    }
    
    /* hidden クラス：opacity を 0 に変更してフェードアウト */
    .loader-overlay.hidden {
      opacity: 0;
    }


    /* ローディングテキストのスタイル */
    .loader-text {
      position: absolute;  /* ローダー内で絶対位置 */
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      margin: 0;
      font-size: 24px;
      color: #ffffff;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
      pointer-events: none;  /* テキストが操作を妨げないように */
      animation: textPulse 2s ease-in-out infinite;
    }
    @keyframes textPulse {
      0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
      50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.8; }
    }

.disclaimer{
    margin-top: 9px;
    font-size: 12px;
    color: #4c4c4c !important;
}
@media (max-width: 767px){
    .disclaimer{
    font-size: 10px;
    letter-spacing: 0.005em;
    margin: 5px 15px;
    }
}


#micButton.mic_active  {
  position: relative;
  cursor: pointer;
  display: block;
}

#micButton.mic_active::before, #micButton.mic_active::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  border: 1px solid #1da1f2;
  border-radius: 50%;
  box-sizing: border-box;
  pointer-events: none;
  animation: pulsate 2s linear infinite;
}

#micButton.mic_active::after {
  animation-delay: 1s;
}

@keyframes pulsate {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
  }
  /* 旧 .modal-content → 新 .warn-return-content */
  .warn-return-content {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 524px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
  }

  .warn-return-content h3{
    margin: 20px 0 10px;
    font-weight: bold;
    font-family: 'Shippori Mincho B1';
  }

  .warn-return-content p{
    font-size: 14px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    padding: 10px 15px;
    text-align: left;
    font-weight: 600;
    font-family: 'Shippori Mincho B1';
  }

#warnReturnModal button{
    padding: 8px 32px;
}
  
  .modal-close {
    position: absolute;
    top: 10px; right: 10px;
    cursor: pointer;
    font-size: 1.2em;
  }
  .modal-buttons2 {
    display: flex;
    justify-content: center;
    font-size: 14px !important;
    margin: 20px auto;
    width: 60%;
    gap: 15px;
  }
  @media (max-width: 767px){
   .modal-buttons2{
    width: 86%;
   } 
  }
  @media (max-width: 390px){
    #job_interview{
        margin-top: -10px;
    }
    .modal-buttons2{
     gap: 10px;
    } 
    .modal-buttons2 button{
        padding: 8px 25px !important;
    }
   }
  .btn-cancel, .btn-ok {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }


/*終了ボタン後のポップアップ*/
  .confirm-end-modal {
    position: fixed;
    z-index: 10000;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
  }
  .confirm-end-content {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 524px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    text-align: center;
    position: relative;
  }
  .close-confirm {
    position: absolute; 
    top: 2px; 
    right: 13px;
    font-size: 22px; 
    cursor: pointer;
  }
  .confirm-end-content h3 {
    margin: 20px 0 10px;
    font-weight: bold;
  }
  .confirm-end-content p {
    font-size: 14px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    padding: 10px 15px;
    text-align: left;
    font-weight: 600;
  }
  .confirm-buttons {
    display: flex; 
    justify-content: center;
    margin: 20px auto;
    width: 60%;
    gap: 15px;
  }
  @media (max-width: 490px){
    .confirm-buttons{
        width: 90%;
    }
  }

  .start-session.dialog-started {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    z-index: 1 !important;
    display: none !important;
}

/* 完全に除去されたことを示すクラス */
.start-session.completely-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

  
/*Footer以下非表示*/
.fr-entry,
.ft-menu,
.ft-sns,
.ft-co,
.ft-breadcrumb, 
.cmn-entry{
    display: none !important;
}

.ft {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
}

.ft-name {
    text-align: center !important;
    margin-bottom: 20px !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto 10px;
}

.ft-name__frame{
    margin: 15px auto 0;
}

.ft-company{
    display: none;
}

.ft__wrap {
    display: block !important;
    gap: 3rem 0 !important;
    grid-template: none !important;
}


/*一人版cssは以下を適用*/
.popup2,
#warnReturnModal,
#returnButton,
#pauseButton,
.chat-message.bot::before{
     display: none !important; 
    }

.stop-button { 
    justify-content: flex-end; gap: 12px; 
}

.chat-box{
    padding: 0 15px 15px;
}

.start-session{
   top: 20%; 
}

 @media (max-width: 820px){
.video-box{
        height: 40%;
    }
}    


