@charset "utf-8";

body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
/* ------------------------
共通CSS　navi footer その他
--------------------------- */
.hero-image{
    width: 100%;
}
.hero-text {
    text-align: center;
}
.link-wrap{
    text-align: center;
}

.link-wrap a{
    color: #fff;
    background-color: #8A0104;
    padding: 0.4em 6em;
    border-radius: 20px;
    font-size: 12px;
}
.recruit-link a{
    color: #333333;
    background-color: #fff;
}
/* 画像PC　SPの切り替え */
/* PCで表示 */
.partition,
.merit{
    display: block;
    width: 100%;
}
.sp-partition,
.sp-merit,
.sp-support-image
{
    display: none;
}

/* SPで表示 */
@media screen and (max-width: 767px) {
    .partition,
    .merit,
    .support-image{
        display: none;
    }
    .sp-partition,
    .sp-support-image,
    .sp-merit{
        display: block;
        width: 100%;
    }
    .link-wrap a{
        color: #fff;
        background-color: #8A0104;
        padding: 0.4em 4em;
        border-radius: 20px;
        font-size: 12px;
    }
}


h2{
    width: 50%;
    height: 25px;
    background: transparent linear-gradient(180deg, #D6D6D600 0%, #D8C9C0 100%) 0% 0% no-repeat padding-box;
    opacity: 1;
} 
h3{
    font-size: 14px!important;
    line-height: 2.2em;
}
@media screen and (max-width: 767px) {
    h3{
        font-size: 12px!important;
        line-height: 2.2em;
    }
}
/* ---動画--- */
#video-area{
    position: relative;
    z-index: 10;/*最背面に設定*/
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
}

#video {
    /*天地中央配置*/
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 177.77777778vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
    min-height: 100%;
    min-width: 100%;
}
@media screen and (max-width: 767px) {
    #video-area{
            grid-row: 2;
    }
}

/* 左固定ヘッダーのロゴテキストレイアウト */
.top-header-inner{
    display: grid;
    grid-template-rows: 100%;
    gap: 10%;
    height: 100%;
    justify-items: center;
}
.top-logowrap{
    display: grid;
    grid-template-rows: 20% 10% 70%;
    gap: 0;
    justify-items: center;
    z-index: 20000;
}
/* ------------------------
hero コンテンツ
--------------------------- */
.hero-vertical{
    writing-mode: vertical-rl;
    font-size: 14px;
    color: #fff;
    letter-spacing: 0.5em;
    line-height: 2em;
    background: none!important;
    min-height: 300px;
    margin-top: 2em;
}

@media screen and (max-width: 767px) {
    .writemode_os{
        position: relative;
    }
    .hero-vertical {
        writing-mode: vertical-rl;
        font-size: 14px;
        color: #fff;
        letter-spacing: 0.3em;
        line-height: 2em;
        /* width: 100%; */
        min-height: auto;
        margin: auto;
        /* ここから配置指定 */
        position: absolute;
        top: 50%;
        left: 50%;
        /* 自身のサイズ半分だけ戻す */
        transform: translate(-50%, -50%);
        /* 文字が改行しないように念のため */
        white-space: nowrap;
    }
       .sp-hero-text{
        display: grid;
        grid-template-rows: 40% 60%!important;
        background: #8A0104;
        align-items: center;
    }
}

/* ------------------------
message コンテンツ
--------------------------- */
.message-inner{
    display: grid;
    gap: 3em;
}
.message-title{
    justify-self: center;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.07em;
}
.image-wrap{
    display: grid;
    grid-template-columns: 47% 47%;
    gap: 6%;
    width: 80%;
}
.message-text-wrap{
    display: grid;
    align-items: center;
    gap: 15%;
}
@media screen and (max-width: 767px) {
    .image-wrap{
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        width: 95%;
        height: max-content;
        margin: auto;
    }
    .message-title{
        justify-self: center;
        font-weight: 700;
        font-size: 16px;
        text-align: center;
    }
    .message-text-wrap{
        display: grid;
        align-items: center;
        gap: 30px;
    }
}
    
/* ------------------------
interview コンテンツ
--------------------------- */
.interview-inner{
    display: grid;
    gap: 3em;
}
.int-image-wrap{
    display: grid;
    gap: 20%;
    width: 100%;
    justify-items: center;
}
@media screen and (max-width: 767px) {
    .int-image-wrap{
        display: grid;
        gap: 30px;
        width: 100%;
        justify-items: center;
    }
}

/* ------------------------
support コンテンツ
--------------------------- */
.support{
    height: 45vh;
    min-height: 450px;
}
.support-inner{
    display: grid;
    grid-template-columns: 30% 40% 30%;
    grid-template-rows: 100%;
    align-items: center;
}
.support-hedding{
    background-color: #4A0103;
    display: grid;
    justify-items: center;
    height: 100%;
    padding: 18% 10%;
}
.support-title{
    background: none;
    width: 100%;
    font-size: 18px;
}
.support-hedding h2,
.support-hedding h3{
    color:#fff
}

.support-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 767px) {
    .support{
        height: auto;
        min-height: auto;
    }
    .support-inner{
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 30% 40% 30%;
        align-items: center;
    }
    .support-hedding{
        background-color: #4A0103;
        display: grid;
        justify-items: center;
        height: 100%;
        padding: 15% 5%;
        gap: 20px;
    }
}

/* ------------------------
recruit コンテンツ
--------------------------- */
.recruit-container{
    background: #F4F4F4;
    padding: 5em;
    width: 80%;
    max-width: 1200px;
    min-width: 450px;
    margin: auto;
    padding-bottom: 15%;
}
.recruit-inner{
    display: grid;
    gap: 3em;
}
.recruit-image{
    width: 100%;
}
/* .api-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
} */
 @media screen and (max-width: 1200px) {
    .recruit-container {
        background: #F4F4F4;
        padding: 2em;
        width: 90%;
        max-width: 1200px;
        min-width: auto;
        margin: auto;
        padding-bottom: 15%;
    }
    .job-listing{
        width: 48%;
        /* margin: auto; */
        display: grid;
        justify-items: center;
    }
}

 @media screen and (max-width: 767px) {
    .recruit-container{
        background: none;
        padding: 0;
        width: 80%;
        max-width: 1200px;
        min-width: 100%;
        margin-top: 15dvh;
        padding-bottom: 15%;
    }
 }

/* ------------------------
求人原稿API section
--------------------------- */
#job-list-container{
    /* display: grid;
    grid-template-columns: 45% 45%;
    gap: 10%; */
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}
#job-list-container:has(.job-listing:nth-child(1):last-child) {
  justify-content: flex-start; /* カードが1個だけなら左寄せ */
}
.job-wrapper{
    width: 100%;

}
.job-listing{
    width: 40%;
    /* margin: auto; */
    display: grid;
    justify-items: center;
}

.job-listing img{
    width: 100%;
    height: 100%;
    max-height: 320px;
    min-height: 260px;
    object-fit: cover;
}
.job-content{
    display: grid;
    gap: 3%;
    height: auto;
    width: 100%;
    /* padding-top: 8%; */
    /* padding-bottom: 14%; */
    margin-top: 20px;
}
.job-message{
  font-size: 14px;
  width: 100%;
  background: none;
  height: auto;
}
.link-wrap{
  align-self: baseline;
}
.job-meta,.job-title{
    font-size: 14px;
    background: none;
    width: 100%;
    height: auto;
}
.job-title{
    font-size: 18px;
    font-weight: bold;
    color: #4A0103;
    border-bottom: 1px solid #4A0103;
    width: fit-content;
    padding-bottom: 0.2em;
}

.joblink-wrap{
    text-align: right;
    margin-left: auto;
}
.joblink-wrap a{
    color: #333333;
    background-color: #fff;
    padding: 0.4em 3em;
    border-radius: 20px;
    font-size: 12px;
}
@media screen and (max-width: 767px) {
    #job-list-container{
        /* display: grid;
        grid-template-columns: 45% 45%;
        gap: 10%; */
        display: block;

        width: 100%;

    }
    .job-content{
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        height: fit-content;
        margin-top: 0;
        margin-bottom: 60px;
    }
    .job-listing img{
        width: 100%;
        height: 100%;
        max-height: auto;
        min-height: auto;
        object-fit: cover;
    }
  .job-listing {
    grid-template-columns: 100%;
    width: 95%;
    margin: 0 auto;
  }
  .job-message{
    font-size: 12px;
    height: auto;
  }
  .job-meta{
    font-size: 12px;
    width: 100%;
    height: auto;
  }
  .job-title{
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    height: auto;
  }
}
