/* 全体のスタイル */
body {
    margin: 0;
    padding: 0;
    /* background-color: #f5f5f5; */
    color: #333;
}

main {
    padding-top: 10vh;
}

/*-------------------------------*/
/* ヒーローセクション（トップ画像） */
/*-------------------------------*/
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.hero .img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 100%;
    /* object-fit: cover; */
    background-size: cover;
    background-position: center;
}

.hero-title {
    position: absolute;
    top: 5%;
    left: 5%;
    width:30%;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    /* border-radius: 10px; */
}

.hero-title-right {
    position: absolute;
    top: 5%;
    right: 5%;
    width:30%;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    /* border-radius: 10px; */
}

.hero-title-left {
    position: absolute;
    top: 5%;
    left: 5%;
    width:30%;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    /* border-radius: 10px; */
}

.hero-text-phrase {
    position: absolute;
    font-size: 1.5rem;
    /* transform: translate(-100%, -100%); */
    color: white;
    /* text-align: center; */
    /* background: rgba(0, 0, 0, 0.5); */
    padding: 20px;
    /* border-radius: 10px; */
}

.hero-text-phrase h3 {
    font-size: 1.7rem;
}

/* インタビューページ#2用 */
.hero .img.employee_inteview2 {
    background-image: url("../images/profile2.jpg");
}

.img.employee_inteview2 .hero-text-phrase {
    top: 50%;
    left: 20%;
    width:40%;
}

/* インタビューページ#3用 */
.hero .img.employee_inteview3 {
    background-image: url("../images/profile3.jpeg");
}

.img.employee_inteview3 .hero-text-phrase {
    top: 70%;
    left: 10%;
    width:40%;
}

/* インタビューページ#5用 */
.hero .img.employee_inteview5 {
    background-image: url("../images/profile5.jpeg");
}

.img.employee_inteview5 .hero-text-phrase {
    top: 70%;
    left: 55%;
    width:40%;
    color: #333;
}

.img.employee_inteview5 .hero-text {
    left:20%;
}

.hero-text {
    position: absolute;
    top: 95%;
    left: 95%;
    width:17%;
    transform: translate(-100%, -100%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 17px;
    /* border-radius: 10px; */
}

.hero-text h1 {
    margin: 10px 0 5px;
    font-size: 2rem;
}

.hero-text h2 {
    font-weight: normal;
    font-size: 1.2rem;
}

/*----------------------*/
/* インタビューセクション */
/*----------------------*/
.interview {
    max-width: 80vw;
    margin: 50px auto;
    padding: 20px;
}

.interview-content {
    margin-bottom: 20px;
    position: relative;
    overflow: visible !important;
}

.interview-content p {
    margin: 0.5rem 0;
}

p {
    line-height: 1.5;
}

.interview-content-top {
    padding: 1rem 0;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.interview-content-top p,
.interview-content-top span,
.interview-content-top .smoothText,
.interview-content-top .smoothTextTrigger {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.interview-content-top *:focus {
    outline: none !important;
}

/* インタビューのブロック */
.interview-block {
    display: flex;
    align-items: center;
    margin: 20px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    padding: 20px;
    /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
}

.interview-block.center,
.interview-block.left,
.interview-block.right {
    width: 100%;
}

/* インタビューページ#2用 */
.interview-block#interview21 {
    background-image: url("../images/interview21.jpeg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}
.interview-block#interview22 {
    background-image: url("../images/interview22.jpg");
    background-size: 40vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}

/* インタビューページ#3用 */
.interview-block#interview31 {
    background-image: url("../images/interview31.jpeg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview32 {
    background-image: url("../images/interview32.jpeg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}
.interview-block#interview33 {
    background-image: url("../images/interview33.jpeg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview34 {
    background-image: url("../images/interview34.jpeg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}
.interview-block#interview35 {
    background-image: url("../images/interview35.jpeg");
    background-size: 30vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#schedule3 {
    background-image: url("../images/schedule3.jpg");
    background-size: 60vw auto;
    background-position: center center;
    background-repeat: no-repeat;
    height: 40vw;
}

/* インタビューページ#5用 */
.interview-block#interview51 {
    background-image: url("../images/interview51.jpeg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}

/* インタビューページ#6用 */
.hero .img.employee_inteview6 {
    background-image: url("../images/profile6.jpg");
}

.img.employee_inteview6 .hero-text-phrase {
    top: 70%;
    left: 55%;
    width:40%;
    color: white;
}

.img.employee_inteview6 .hero-text {
    left:20%;
}

.interview-block#interview61 {
    background-image: url("../images/interview61.jpg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}
.interview-block#interview62 {
    background-image: url("../images/interview62.jpg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview63 {
    background-image: url("../images/interview63.jpg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview64 {
    background-image: url("../images/interview64.jpg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview65 {
    background-image: url("../images/interview65.jpg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}

/* インタビューページ#8用 */
.hero .img.employee_inteview8 {
    background-image: url("../images/profile8.jpg");
}

.img.employee_inteview8 .hero-text-phrase {
    top: 77%;
    left: 55%;
    width:40%;
    color: white;
}

.img.employee_inteview8 .hero-text {
    left:25%;
}

.interview-block#interview81 {
    background-image: url("../images/interview81.jpg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview82 {
    background-image: url("../images/interview82.jpg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}
.interview-block#interview83 {
    background-image: url("../images/interview83.jpg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}

/* インタビューページ#9用 */
.hero .img.employee_inteview9 {
    background-image: url("../images/profile9.jpg");
}

.img.employee_inteview9 .hero-text-phrase {
    top: 77%;
    left: 45%;
    width:53%;
    color: white;
    background: rgba(0, 0, 0, 0.3);
}

.img.employee_inteview9 .hero-text {
    left:25%;
}

.interview-block#interview91 {
    background-image: url("../images/interview91.jpg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview92 {
    background-image: url("../images/interview92.jpg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}
.interview-block#interview93 {
    background-image: url("../images/interview93.jpg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview94 {
    background-image: url("../images/interview94.jpg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}

/* インタビューページ#10用 */
.hero .img.employee_inteview10 {
    background-image: url("../images/profile10.jpg");
}

.img.employee_inteview10 .hero-title {
    left:55%;
    width:40%;
}

.img.employee_inteview10 .hero-text-phrase {
    top: 50%;
    left: 5%;
    width:45%;
    color: white;
    background:rgba(0, 0, 0, 0.3);
}

.img.employee_inteview10 .hero-text {
    right:15%;
}

/* 画像ありブロックのみ個別指定 */
.interview-block#interview101 {
    background-image: url("../images/interview101.jpg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview102 {
    background-image: url("../images/interview102.jpg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}
.interview-block#interview103 {
    background-image: url("../images/interview103.jpg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview104 {
    background-image: url("../images/interview104.jpg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}

/* インタビューページ#11用 */
.hero .img.employee_inteview11 {
    background-image: url("../images/profile11.jpeg");
}

.img.employee_inteview11 .hero-title {
    left:5%;
    width:40%;
}

.img.employee_inteview11 .hero-text-phrase {
    top: 45%;
    left: 30%;
    width:55%;
    color: white;
    background: rgba(0, 0, 0, 0.3);
}

.img.employee_inteview11 .hero-text {
    left:25%;
}

/* 画像ありブロックのみ個別指定 */
.interview-block#interview111 {
    background-image: url("../images/interview111.jpeg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview112 {
    background-image: url("../images/interview112.jpeg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}

/* インタビューページ#12用 */
.hero .img.employee_inteview12 {
    background-image: url("../images/profile12.jpg");
}

.img.employee_inteview12 .hero-title {
    left:5%;
    width:40%;
}

.img.employee_inteview12 .hero-text-phrase {
    top:45%;
    left: 5%;
    width:40%;
    color: white;
    background: rgba(0, 0, 0, 0.3);
}

.img.employee_inteview12 .hero-text {
    left:92%;
}

/* 画像ありブロックのみ個別指定 */
.interview-block#interview121 {
    background-image: url("../images/interview121.jpg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview122 {
    background-image: url("../images/interview122.jpg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}
.interview-block#interview123 {
    background-image: url("../images/interview123.jpg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview124 {
    background-image: url("../images/interview124.jpg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}
.interview-block#interview125 {
    background-image: url("../images/interview125.jpg");
    background-size: 35vw auto;
    background-position: right center;
    background-repeat: no-repeat;
}
.interview-block#interview126 {
    background-image: url("../images/interview126.jpg");
    background-size: 35vw auto;
    background-position: left center;
    background-repeat: no-repeat;
}

/* 画像サイズを画面半分に設定（角丸なし） */
/* .interview-block img {
    /* width: 50%;
    height: 350px;
    object-fit: cover;
} */

/* テキストコンテンツ */
.text-content {
    width: 50%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    border: none;
    outline: none;
}

.text-content:focus {
    outline: none;
}

/* 左右交互のレイアウト */
.left {
    flex-direction: row;
}

.right {
    flex-direction: row-reverse;
}

.center {
    flex-direction: column;
}

.center .text-content {
    width: 100% !important;
    margin: 0 !important;
    padding: 30px;
}

/* タイトルのスタイル */
.text-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: navy;
}

.text-content h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: bold;
}

/* スクロール時のアニメーション */
.visible {
    opacity: 1;
    transform: translateY(0);
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px auto;
    width: 80%;
}

.back-btn {
    width: 30%;
    padding: 10px 20px;
    background: navy;
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    margin-right: auto;
}

.home-btn {
    width: 30%;
    padding: 10px 20px;
    background: navy;
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    margin: 0 10px;
}

.next-btn {
    width: 30%;
    padding: 10px 20px;
    background: navy;
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    margin-left: auto;
}

.back-btn.disabled,
.next-btn.disabled {
    background: #e0e0e0 !important;
    color: #666 !important;
    pointer-events: none !important;
    opacity: 0.85;
    border: 1px solid #bbb !important;
    cursor: default !important;
}

/* SPサイズ用のスタイル */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
    }

    .hero .img {
        width: 100%;
     }

    h1 {
        font-size: 1rem;
    }

    .hero-title {
        width: 60%;
    }

    .hero-title-right {
        width: 60%;
    }

    .hero-text-phrase {
        writing-mode: vertical-rl;
        text-orientation: upright;
        font-size: 1rem;
        color: white;
    }

    .hero-text-phrase h3 {
        font-size: 1.4rem;
    }

    /* インタビューページ#2用 */
    .img.employee_inteview2 .hero-text-phrase {
        left: 5%;
        right: auto;
        top: 50%;
        width: auto;
    }

    /* インタビューページ#3用 */
    .img.employee_inteview3 .hero-text-phrase {
        left: 3%;
        right: auto;
        top: 50%;
        width: auto;
    }

    /* インタビューページ#5用 */
    .img.employee_inteview5 .hero-text-phrase {
        left: auto;
        right: 2%;
        top: 35%;
        width: auto;
    }

    /* インタビューページ#5用 */
    .img.employee_inteview5 .hero-text {
        left: 45%;
    }

    /* インタビューページ#6用 */
    .img.employee_inteview6 .hero-text-phrase {
        left: auto;
        right: 2%;
        top: 35%;
        width: auto;
    }

    /* インタビューページ#6用 */
    .img.employee_inteview6 .hero-text {
        left: 45%;
    }

    /* インタビューページ#8用 */
    .img.employee_inteview8 .hero-text-phrase {
        left: auto;
        right: 7%;
        top: 35%;
        width: auto;
    }

    .img.employee_inteview8 .hero-text {
        left: 45%;
    }

    /* インタビューページ#9用 */
    .img.employee_inteview9 .hero-title {
        top:1%;
        left: 1%;
    }

    .img.employee_inteview9 .hero-text-phrase {
        left: auto;
        right: 7%;
        top: 30%;
        width: auto;
    }

    .img.employee_inteview9 .hero-text {
        left: 45%;
    }

    /* インタビューページ#10用 */
    .img.employee_inteview10 .hero-text-phrase {
        left: 7%;
        right: auto;
        top: 22%;
        width: auto;
        background: rgba(0, 0, 0, 0.3);
    }
    .img.employee_inteview10 .hero-text {
        left:95%;
    }
    .img.employee_inteview10 .hero-title {
        left:35%;
        width:60%;
    }

    /* インタビューページ#11用 */
    .img.employee_inteview11 .hero-title {
        width:60%;
    }
    .img.employee_inteview11 .hero-text-phrase {
        left: 7%;
        right: auto;
        top: 30%;
        width: auto;
    }
    .img.employee_inteview11 .hero-text {
        left: 95%;
    }
    
    /* インタビューページ#12用 */
    .img.employee_inteview12 .hero-title {
        width:60%;
    }

    .img.employee_inteview12 .hero-text-phrase {
        left: 7%;
        right: auto;
        top: 30%;
        width: auto;
    }
    .img.employee_inteview12 .hero-text {
        left: 95%;
    }

    .hero-text {
        width: 40%;
        padding:15px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text h2 {
        font-size: 1rem;
    }

    .interview {
        max-width: 100vw;
        margin: 20px auto;
        padding: 10px;
    }

    .interview-block {
        flex-direction: column;
        background-size: 100% auto !important;
        background-position: top center !important;
        padding-top: 70vw;
    }

    .interview-block#interview62 {
        padding-top: 130vw;
    }

    .interview-block#interview102 {
        padding-top: 120vw;
    }

    .interview-block#interview103 {
        padding-top: 120vw;
    }

    .interview-block#interview125 {
        padding-top: 120vw;
    }

    .interview-block#interview126 {
        padding-top: 120vw;
    }

    .interview-block.center {
        padding-top: 0;
    }

    .interview-block img {
        width: 100%;
        height: auto;
    }

    .text-content {
        width: 100%;
        padding: 10px;
        margin-top: 20px;
    }

    .center .text-content {
        padding: 10px;
    }

    .text-title-content {
        width: 100%;
        padding: 10px;
    }

    .button-container {
        flex-direction: column;
    }

    .back-btn, .home-btn, .next-btn {
        width: 100%;
        margin: 10px 0;
    }

    .interview-block#interview31 {
        padding-top: 100vw;
    }

    .interview-block#interview35 {
        padding-top: 125vw;
    }

    .interview-block .text-content {
        position: relative;
        z-index: 2;
    }

    /* インタビューページ#2用 */
    .hero .img.employee_inteview2 {
        background-image: url("../images/profile2-sp.jpg");
    }
    
    .interview-block#interview22 {
        background-image: url("../images/interview22-sp.jpg");
        background-position: top center;
        background-repeat: no-repeat;
        background-size: 100%;
        padding-top: 200vw;
    }

    /* インタビューページ#3用 */
    .hero .img.employee_inteview3 {
        background-image: url("../images/profile3-sp.jpeg");
    }

    .interview-block#schedule3 {
        background-image: url("../images/schedule3-sp.jpg");
        background-position: top center;
        background-repeat: no-repeat;
        background-size: 100%;
        padding-top: 170vw;
    }

    /* インタビューページ#5用 */
    .hero .img.employee_inteview5 {
        background-image: url("../images/profile5-sp.jpeg");
    }

    /* インタビューページ#6用 */
    .hero .img.employee_inteview6 {
        background-image: url("../images/profile6-sp.jpg");
    }
    /* インタビューページ#8用 */
    .hero .img.employee_inteview8 {
        background-image: url("../images/profile8-sp.jpg");
    }
    /* インタビューページ#9用 */
    .hero .img.employee_inteview9 {
        background-image: url("../images/profile9-sp.jpg");
    }
    /* インタビューページ#10用 */
    .hero .img.employee_inteview10 {
        background-image: url("../images/profile10-sp.jpg");
    }
    /* インタビューページ#11用 */
    .hero .img.employee_inteview11 {
        background-image: url("../images/profile11-sp.jpeg");
    }
    /* インタビューページ#12用 */
    .hero .img.employee_inteview12 {
        background-image: url("../images/profile12-sp.jpg");
    }
}

.smoothText,
.smoothTextTrigger {
    outline: none;
}

.smoothText:focus,
.smoothTextTrigger:focus {
    outline: none;
}

.interview-content-top * {
    text-align: center;
    font-weight: bold;
}

/* インタビューセクション全体のスタイル */
.interview *,
.interview-content-top *,
.interview-block *,
.text-content *,
.rucruitment *,
.interview-content * {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.interview *:focus,
.interview-content-top *:focus,
.interview-block *:focus,
.text-content *:focus,
.rucruitment *:focus,
.interview-content *:focus {
    outline: none !important;
}