@charset "UTF-8";
/*======================================================= 
 採用サイト　キャラクタースタイル
=======================================================*/
.top-pan{
    position: relative;
    border-bottom: 20px solid #EB2B2B;
    padding-top: 80px;
}
.top-block{
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    z-index: 1;
}
.slash {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-weight: bold;
}
.slash::before,
.slash::after {
  content: "";
  width: 25px;
  height: 2px;
  background-color: #000;
  margin: 0px 4px 4px;
}
.slash::before {
  transform: rotate(55deg);
}
.slash::after {
  transform: rotate(-55deg);
}
.pan-name{
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    color: #EB2B2B;
}
.pan-name span{
    font-size: 0.5em;
}
.profile-btn{
    display: block;
    position: relative;
    width: 200px;
    height: 200px;
    background-color: #EB2B2B;
    color: #fff;
    border-radius: 50%;
    margin: 20px auto 0 auto;
}
.profile-btn:hover{
    color: #fff;
}
.profile-btn span{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    font-weight: bold;
}
.profile-btn::after{
    position: absolute;
    font-family: "Font Awesome 5 Free";
    content: '\f0d7';
    font-size: 20px;
    font-weight: bold;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}
/* 流れるパンちゃん文字 */
.pan-container {
    position: absolute;
    width: 100%;
    height: 10rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    bottom: 0;
}
.wrapper {
    display: flex;
    animation: loop-pan-text 200s linear infinite;
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Shippori+Mincho:wght@400;800&family=Special+Gothic+Expanded+One&family=Zen+Maru+Gothic:wght@900&display=swap');
.double-pan-content {
    display: inline-block;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 10rem;
    font-weight: bold;
    color: #f59595;
    white-space: nowrap;
}
@keyframes loop-pan-text {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.profile-block{
    position: relative;
    background-image: url(/assets/img/recruit/character/grid.png);
    padding-top: 100px;
}
.profile{
    position: relative;
    background-color: #fff;
    border: 5px solid #EB2B2B;
    border-radius: 10px;
    padding: 60px 30px 50px 30px;
}
.profile-title{
    position: absolute;
    top: -1.5em;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 1.5em;
    font-weight: bold;
    background-color: #fff;
    border: 5px solid #EB2B2B;
    border-radius: 50px;
    padding: 10px 50px;
}
.profile table{
    background-color: #EB2B2B;
    color: #fff;
}
.profile table tr{
    border-bottom: 2px solid #fff;
}
.profile table th, .profile table td{
    font-weight: bold;
    padding-left: 30px;
    height: 90px;
    text-align: left;
}

/* パンちゃんカー */
.pan-car-bottom{
    position: relative;
    height: 200px;
}
.bottom-img{
    position: absolute;
    bottom: 0;
    width: 100%;
}
.demo_stage{
    position: absolute;
    width: 100%;
    height: 150px;
    bottom: 0px;
    display: block;
}
.demo_item{
	width: 150px;
    aspect-ratio: 4/3;
    background-image: url(/assets/img/recruit/character/pan_car.png);
    background-size: 100% 100%;
    background-position: 0 0;
    background-repeat: no-repeat;
    display: block;
}
.demo_wrap{
    position: absolute;
    bottom: 0;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    animation-duration: 30s;
    animation-iteration-count: 1;
	margin-right: -25px;
}
.demo_wrap[data-order="left"] {
    animation-name: GoLeft;
}
.demo_wrap[data-order="right"] {
    animation-name: GoRight;
}
[data-order="right"] > .demo_item {
    transform: rotateY(180deg);
}
@keyframes GoLeft {
    0% {
        right: 10%;
    }
    100% {
        right: 90%;
    }
}
@keyframes GoRight {
    0% {
        right: 90%;
    }
    100% {
        right: 10%;
    }
}

.bottom-pan{
    background-color: #EB2B2B;
    padding: 70px 0 80px 0;
}
.bottom-pan-block{
    position: relative;
}
.pan-text{
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 50px;
}
.bottom-pan img{
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 150px;
}

/*950px以下*/
@media screen and (max-width: 950px){
    .profile-btn{
        width: 150px;
        height: 150px;
    }
    .double-pan-content{
        font-size: 7rem;
    }
    .pan-car-bottom{
        height: 150px;
    }
    .demo_item{
        width: 120px;
    }
}

/*750px以下*/
@media screen and (max-width: 750px){
    h1{
        font-size: 30px;
    }
    .top-block{
        gap: 15px;
    }
    .top-pan{
        padding-top: 50px;
    }
    .pan-name{
        font-size: 2.3em;
    }
    .profile-btn {
        width: 110px;
        height: 110px;
        margin: 0 auto;
    }
    .double-pan-content{
        font-size: 5rem;
    }
    .profile{
        padding: 50px 30px 30px 30px;
    }
    .profile-title{
        font-size: 1.2em;
        padding: 10px 30px;
    }
    .profile table th, .profile table td{
        padding-left: 20px;
        height: 70px;
    }
    .pan-car-bottom{
        height: 120px;
    }
    .demo_item{
        width: 90px;
    }
    .bottom-pan{
        padding: 50px 0;
    }
    .pan-text{
        padding: 30px 90px 30px 30px;
    }
    .bottom-pan img{
        max-width: 110px;
    }
}

/*480px以下*/
@media screen and (max-width: 480px){
    h1{
        font-size: 22px;
    }
    .top-pan{
        padding-top: 30px;
    }
    .pan-name{
        font-size: 1.8em;
    }
    .profile-btn {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    .profile-block{
        padding-top: 80px;
    }
    .profile{
        border: 3px solid #EB2B2B;
        padding: 40px 15px 15px 15px;
    }
    .profile-title{
        font-size: 1em;
        border: 3px solid #EB2B2B;
    }
    .profile table th, .profile table td{
        padding-left: 15px;
    }
    .pan-text{
        padding: 30px 90px 30px 15px;
    }
    .bottom-pan img{
        max-width: 100px;
    }
}