:root {
  --main-font-size: 14px;
  --min-font-size: 12px;
  --human-image-size: 150px;
}

/*******************************
    TOPページ
*******************************/
.title1{
    font-size: var(--main-font-size);
}
#sp_interview_wrapper h1{
    margin-bottom: 20px;
}
#sp_interview_wrapper h1 img{
    width: 100%;
}
#sp_interview_wrapper h1 + p{
    font-size: var(--main-font-size);
    margin-bottom: 80px;
    padding: 15px 40px;
    font-weight: normal;
    letter-spacing: 0.05em;
    border: 2px dotted #2980b9;
}
#sp_interview_wrapper .flex_box{
    display: flex;
    background: #eee;
    padding: 30px;
    border-radius: 40px;
    margin-bottom: 60px;
    background: url(../img/sp/sp_interview/bg_sp_interview_top.webp) #f2f6fb;
    background-size: cover;
    position: relative;
}
#sp_interview_wrapper .flex_box:last-child{
    margin-bottom: 0;
}
#sp_interview_wrapper .topimg img{
    width: var(--human-image-size);
    height: var(--human-image-size);
    border-radius: 100%;
    object-fit: cover;
    border: 12px solid rgba(255,255,255,0.4);
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.1));
}
#sp_interview_wrapper .list_box {
    margin-left: 20px;
}
#sp_interview_wrapper .list_box .logoimg{
    position: absolute;
    top: -40px;
    right: 30px;
}
#sp_interview_wrapper .list_box .logoimg img{
    padding: 5px 26px;
    border-radius: 6px;
    background: #fff;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.1));
}
#sp_interview_wrapper .list_box h2{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}
#sp_interview_wrapper .list_box h2 .title{
    background: url(../img/sp/sp_interview/ico_sp_interview_accent.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: 0px 0px;
    padding-left: 20px;
    padding-top: 20px;
    margin-left: -20px;
}
#sp_interview_wrapper .list_box p{
    font-size: var(--main-font-size);
    margin-bottom: 20px;
}
#sp_interview_wrapper #btn_animation .btn {
    position: relative;
    display: block;
    padding: 15px;
    background: #404C5C;
    color: #fff !important;
    font-size: var(--main-font-size);
    line-height: 1;
    border-radius: 6px;
    width: 180px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    margin-left: auto;
}
#sp_interview_wrapper #btn_animation .btn:hover {
    text-decoration: none;
    color: #fbfbfb;
}
#sp_interview_wrapper #btn_animation .btn::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fbfbfb;
    animation: btn_animation 2.5s ease-in-out infinite;
}
@keyframes btn_animation {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}
#sp_interview_wrapper .fade-item {
  opacity: 0;
  transform: translateY(70px); /* ← 初期位置：下にズレてる */
  transition: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}
#sp_interview_wrapper .fade-item.show {
  opacity: 1;
  transform: translateY(0); /* ← 元の位置に戻る（上へ） */
}


/*******************************
    各企業ページ
*******************************/
#sp_interview_details *{
    margin: 0;
	padding: 0;
	/*font-family: 'メイリオ', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic';*/
    font-size: var(--main-font-size);
	line-height: 1.8;
}
#sp_interview_details h1{
    padding: 10px 20px;
    background-color: #404C5C;
    margin-bottom: 60px;
}
#sp_interview_details h1 span {
    border-left: 3px solid #fff;
    padding: 0 0 0 20px;
    color: #fff;
    font-size: 16px;
}
#sp_interview_details .interviewTop{
    display: flex;
    padding: 40px 30px;
    background: #f2f6fb;
    border-radius: 40px;
    position: relative;
    margin-bottom: 40px;
    background: url(../img/sp/sp_interview/bg_sp_interview_top.webp) #f2f6fb;
    background-size: cover;
}
#sp_interview_details .interviewTop .topimg img{
    width: var(--human-image-size);
    height: var(--human-image-size);
    border-radius: 100%;
    object-fit: cover;
    border: 12px solid rgba(255, 255, 255, 0.4);
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.1));
}
#sp_interview_details .interviewTop .data{
    padding-left: 40px;
}
#sp_interview_details h2{
    margin-bottom: 20px;
    background: url(../img/sp/sp_interview/ico_sp_interview_accent.png);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: 0px 0px;
    margin-left: -18px;
}
#sp_interview_details h2 span{
    display: inline-block;
    font-size: 21px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.5;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(90deg, #00c6ff, #0052d4, #006400);
    background-size: 200% 100%;
    padding-left: 18px;
    padding-top: 18px;
    animation: gradientMove 4s linear infinite;
}
@keyframes gradientMove  {
    0% {background-position: 100% 0;}
    50% {background-position: 0 100%;}
    100% {background-position: 100% 0;}
}
#sp_interview_details .interviewTop .data .logo,
#sp_interview_details .interviewBottom .data .logo{
    position: absolute;
    right: 30px;
    top: -40px;
}
#sp_interview_details .interviewTop .data .logo img,
#sp_interview_details .interviewBottom .data .logo img{
    padding: 5px 26px;
    border-radius: 6px;
    background: #fff;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.1));
}
#sp_interview_details .interviewTop .data .company a,
#sp_interview_details .interviewBottom .data .company a{
    color:#333;
    font-size: 20px;
    font-weight: bold;
}
#sp_interview_details .interviewTop .data dl,
#sp_interview_details .interviewBottom .data dl{
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}
#sp_interview_details .interviewTop .data dt,
#sp_interview_details .interviewBottom .data dt{
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
}
#sp_interview_details .interviewTop .data dt span,
#sp_interview_details .interviewBottom .data dt span{
    font-size: var(--min-font-size);
    font-weight: normal;
}
#sp_interview_details .interviewTop .data dd,
#sp_interview_details .interviewBottom .data dd{
    padding-left: 20px;
    font-size: var(--min-font-size);
    color: #888;
}
#sp_interview_details .btn {
	display: flex;
    margin-bottom: 30px;
    padding-bottom: 30px;
}
#sp_interview_details .btn a {
	display: block;
	padding: 4px 10px;
	text-align: center;
	font-size: var(--min-font-size);
	flex: 1;
}
/*　「企業ページへ」　*/
#sp_interview_details .btn a.comBt {
	border: 1px solid #0070E0;
	color: #0070E0;
    background: #fff;
}
#sp_interview_details .btn a.comBt:hover {
	background-color: #0070E0;
	color: #fff;
}
/*　「この企業に投票」　*/
#sp_interview_details .btn a.voteBt {
	margin-left: 10px;
	border: 1px solid #EC7D1C;
	color: #EC7D1C;
    background: #fff;
}
#sp_interview_details .btn a.voteBt:hover {
	background-color: #EC7D1C;
	color: #fff;
}
#sp_interview_details .interviewTop .btn{
    border-bottom: 1px dashed #ccc;
}

#sp_interview_details section{
    border-bottom: 1px solid #eee;
    margin-bottom: 80px;
}
#sp_interview_details section h3{
    position: relative;
	padding-bottom: 10px;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 40px;
    background-image: linear-gradient(90deg, #2980b9 0 20%, #ccd5db 20%);
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: bottom;
}
#sp_interview_details section .interview_cf{
    margin-bottom: 40px;
}
#sp_interview_details section .interview_cf .float-left-img,
#sp_interview_details section .interview_cf .float-right-img{
    max-width: 320px;
    border-radius: 20px;
}
#sp_interview_details section .interview_cf .float-left-img{
    float: left;
    margin: 0 20px 20px 0;
}
#sp_interview_details section .interview_cf .float-right-img{
    float: right;
    margin: 0 0 20px 20px;
}
#sp_interview_details section .interview_cf::after {
  content: "";
  display: block;
  clear: both;
}
#sp_interview_details .interviewBottom{
    padding: 40px;
    border-radius: 40px;
    position: relative;
    margin-bottom: 40px;
    background: url(../img/sp/sp_interview/bg_sp_interview_top.webp) #f2f6fb;
    background-size: cover;
}
#sp_interview_details .interviewBottom .btn{
    margin-bottom: 0;
    padding-bottom: 0;
}

.hide{
    visibility: hidden;
}

/* sp */
@media screen and (max-width: 768px) {

    #sp_interview_wrapper h1 + p{
        margin: 16px 16px 60px;
        padding: 10px 20px;
        text-align: justify;
        font-size: 1.3rem;
        line-height: 1.5;
    }
    #sp_interview_wrapper .flex_box {
        display: block;
        margin: 0 20px 60px;
        padding: 15px 15px 30px;
        position: relative;
        border-radius: 20px;
    }
    #sp_interview_wrapper .list_box {
        margin-left: 0;
    }
    #sp_interview_wrapper .list_box h2 {
        flex-direction: column-reverse;
        margin-bottom: 15px;
        padding-top: 40px;
    }
    /*
    #sp_interview_wrapper .list_box h2 .logoimg {
        margin-top: 20px;
        text-align: center;
    }*/
    #sp_interview_wrapper .btn_box {
        position: relative;
    }
    #sp_interview_wrapper .list_box p {
        margin-bottom: 20px;
    }
    #sp_interview_wrapper .topimg img,
    #sp_interview_details .interviewTop .topimg img{
        position: absolute;
        top: -55px;
        left: -20px;
        width: 90px;
        height: 90px;
        border: 10px solid rgba(255,255,255,0.4);
    }
    #sp_interview_wrapper #btn_animation .btn {
       width: 100%;
    }
    #sp_interview_wrapper .list_box h2 .title {
        margin-left: 0;
        padding-left: 0;
    }
    #sp_interview_wrapper .list_box .logoimg {
        right: 20px;
    }

    /*******************************
        各企業ページ
    *******************************/
    #sp_interview_details .interviewTop,
    #sp_interview_details .interviewBottom{
        display: block;
        margin: 0 20px 60px;
        padding: 15px 20px 30px;
        position: relative;
        border-radius: 20px;
    }
    #sp_interview_details h1{
        padding: 10px;
        line-height: 1;
    }
    #sp_interview_details h1 span {
        font-size: 14px;
        padding: 0 0 0 10px;
    }
    #sp_interview_details .interviewTop .data {
        padding-left: 0;
    }
    #sp_interview_details .interviewTop .data .logo, 
    #sp_interview_details .interviewBottom .data .logo {
        right: 20px;
    }
    #sp_interview_details h2 {
        background-position: 10px 40px;
    }
    #sp_interview_details h2,
    #sp_interview_details .interviewBottom .company {
        padding-top: 40px;
    }
    #sp_interview_details h2 span {
        font-size: 20px;
    }
    #sp_interview_details section{
        padding: 0 20px;
    }
    #sp_interview_details section .interview_cf .float-right-img,
    #sp_interview_details section .interview_cf .float-left-img{
        float: none;
        max-width: none;
        width: 100%;
        margin: 0 0 20px;
    }
    #back_btn {
        text-align: center;
    }
    #sp_interview_details .interviewBottom{
        margin-bottom: 50px !important;
    }

}