@charset "utf-8";
:root{
    --color-black: #262626;
    --color-white: #fffefc;
    --color-orange-derk: #E74322;
    --color-orange-light: #E57411;
    --color-green-light: #3aaa8a;
    --color-green-dark: #2f6223;
    --color-red-dark: #CA1717;
    --color-red-light: #E60013;
    --color-beige-light: #FCF9e7;
    --color-beige-dark: #F4f1e2;
}

.nav__item{
    color: var(--color-black);
}

.section__mainTitle{
    margin-top: 64px;
}

/* 店主メッセージ */
.recruit__message{
    padding: 0 9.8% 0 9.8%;
    margin-bottom: 100px;
}

.section__message{
    font-size: 2.4rem;
    font-weight: 600;
    margin: 100px auto 8px;
    text-align: center;
}

.section__subTitle{
    text-align: center;
}

.image-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 13px;                     
    margin-bottom: 5px;
}

.main-img {
    flex: 2;
}

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

.sub-img {
    flex: 1;
}

.sub-img img {
    width: 100%;
    height: auto;
    display: block;
}
.tensyu__name{
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 40px;
}

.furigana{
    font-size: 0.7rem;
    font-weight: 200;
    margin-left: 9px;
}

.recruit__txt{
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    line-height: 1.73;
    line-break: strict;
    text-align: justify;
}

/* 店主メッセージ　600px */
@media screen and (min-width: 600px){
    .recruit__txt{
        font-size: 1.3rem;
    }
}

/* 店主メッセージ　pc　1025px */
@media screen and (min-width: 1025px){
    .recruit__message{
        padding-bottom: 140px;
    }

    .section__message{
        font-size: 5.5rem;
        margin: 120px auto 21px;
    }

    .section__message, 
    .section__subTitle {
        text-align: center;
        width: 100%;
        display: block;
    }

    .message-container {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        gap: 12.5vw; /* 画像と文章の間の距離 */
        max-width: 75vw;
        margin: 82px auto 0;
    }

    /* 左側の幅を400pxに固定 */
    .message-left {
        flex: 0 0 27.7vw;
    }

    /* 右側の文章を広げる */
    .message-right {
        flex: 1;
        text-align: left;
    }

    /* 以前のグリッド指定が残っていたら削除するか、以下でリセット */
    .recruit__message {
        display: block !important; /* グリッドを解除 */
    }

    .sub-img {
        display: none;
    } 

    .recruit__txt{
        font-size: 1.7rem;
        line-height: 1.57;
    }

    .tensyu__name{
        font-size: 2.7rem;
        margin-bottom: 0;
    }

    .furigana{
        font-size: 1rem;
        font-weight: 300;
    }
}

/* パートアルバイト */
.requirements-section{
    padding:0 9.8% 0 ;
}

.decorative-title {
    text-align: center;
    font-size: 2.4rem;
    position: relative;
    display: table;
    margin: 0 auto 70px;
    padding: 0 25px 15px;
    font-weight: 500;
}

/* 中央の赤い線 */
.decorative-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 25px;
    right: 25px;
    height: 1px;
    background-color: var(--color-orange-derk);
}

/* 左側の丸 */
.decorative-title::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 15px;
    width: 7px;
    height: 7px;
    background-color: var(--color-orange-derk);
    border-radius: 50%;
}

/* 右側の丸（中のspanを使って作る） */
.decorative-title span::after {
    content: "";
    position: absolute;
    bottom: -3px;
    right: 15px;
    width: 7px;
    height: 7px;
    background-color: var(--color-orange-derk);
    border-radius: 50%;
}

/* 募集要項のテーブル形式 */
.requirements-table {
    max-width: 600px;
    margin: 0 auto;
}

.requirements-table dt {
    font-weight: 500;
    padding-top: 31px;
    font-size: 1.4rem;
    margin-bottom: 14px;
    letter-spacing: 0.03em;
}

.requirements-table dd {
    margin-left: 0;
    padding-bottom: 31px;
    border-bottom: 1px dashed var(--color-orange-derk);
    font-size: 1.3rem;
    line-height: 1.5;
    letter-spacing: 0.03em;
}

/* ボタン */
.btn-apply{
    position: relative;
    text-align: center;
    justify-content: center;
    margin: 60px auto 100px;
    color: var(--color-white);
    font-size: 1.8rem;
    background-color: var(--color-red-light);
    border: 1px solid var(--color-red-light);
    padding: 18px 8% 18px 10.1% ;
    border-radius: 50px;
    width: 48.2vw;
    display: flex;
    gap: 14px;
}

.btn-apply:active{
    background: var(--color-white);
    color: var(--color-red-light);
}

/* ボタン　タブレット　769px*/
@media screen and (min-width: 769px){
    .btn-apply{
        margin-top: 100px;
        font-size: 2.7rem;
        padding: 18px 8% 18px 10.1% ;
        width: 37vw;
        gap: 32px;
    }
}

/* ボタン　pc　1025px*/
@media screen and (min-width: 1025px){
    .btn-apply{
        margin: 100px auto 240px;
        width: 32vw;
        padding: 30px 8% 30px 10.1% ;
        font-weight: 500;
        gap: 41px;
    }

    .btn-apply:hover{
    background: var(--color-white);
    color: var(--color-red-light);
}
}

/* パートアルバイト　1025px */
@media screen and (min-width: 1025px){
    .decorative-title{
        font-size: 3.4vw;
        margin: 0 auto 82px;
    }

    .requirements-table {
        max-width: 700px;
        margin: 0 auto;
    }

    .requirements-table dt {
        font-size: 2.2rem;
    }

    .requirements-table dd {
        font-size: 1.8rem;
        padding-left: 180px;
    }

    .requirements__list {
        max-width: 700px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 120px 1fr;
        column-gap: 0;
    }

    .requirements__list dt,
    .requirements__list dd {
        padding: 40px 0;
        border-bottom: 1px solid var(--color-orange-derk);
        line-height: 1.67;
        margin: 0;
    }

    .requirements__list dd {
        padding-left: 180px; 
    }
}

/* 採用の流れ */
.section-title{
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 60px;
}

.flow-section{
    padding:0 9.8% 0 ;
}

.flow-container {
    margin: 0 auto;
    justify-content: center;
}

.flow-step {
    position: relative;
    padding-bottom: 82px;
    width: 83.7vw; 
    margin: 0 auto;
}

.flow-step:last-child {
    padding-bottom: 0;
}

/* 3つのドット */
.flow-step::after {
    content: "";
    position: absolute;
    bottom: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 13px;
    height: 40px;
    background-image: radial-gradient(#FFC812 40%, transparent 45%);
    background-size: 13px 13px;
    background-repeat: repeat-y;
}

.flow-step:last-child::after {
    display: none;
}

.step-label {
    position: absolute;
    top: -22px;
    left: -25px;
    z-index: 10;
    width: 56px;
    height: 56px;
    background-color: var(--color-orange-derk);
    border-radius: 40px 40px 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
}

.step-text{
    font-size: 1.1rem;
}

.step-num{
    font-size: 2.1rem;
    font-weight: 400;
    margin-top: 2px;
}

.step-card {
    background-color: var(--color-beige-light);
    border: 1px solid var(--color-orange-derk);
    padding: 12px 0 12px;
    text-align: center;
    justify-content: center;
    width: 83.7vw;
    margin: 0 auto;
    width: 100%;
}

.step-card img{
    width: 65px;
    margin-bottom: 21px;
}

.step__title{
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.step__txt{
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    line-height: 1.45;
}

/*採用の流れ　600px */
@media screen and (min-width: 600px){
    .step-card {
        display: flex;
        flex-direction: row-reverse; 
        justify-content: space-between;
        align-items: center;
        background-color: var(--color-beige-light);
        border: 1px solid var(--color-orange-derk);
        padding: 30px 25px;
        width: 83.7vw;
        margin: 0 auto;
        text-align: left;
        padding: 49px;
    }

    .step-card img{
        width: 100px;
        margin: 0;
    }

    .step-content {
        flex: 1;
    }

}

@media screen and (min-width: 769px ){
    .step-card img{
        width: 12.2vw;
    }

    .step__title{
        font-size: 2.4rem;
    }

    .step__txt{
        font-size: 1.4rem;
    }

    .flow-step {
        width: 69.4vw; 
    }

    .step-card {
        padding: 49px;
        max-width: 69.4vw;
    }
}

@media screen and (min-width: 1025px){
    .section-title{
        font-size: 3.8vw;
        margin-bottom: 82px;
    }

    .flow-step {
        width: 55.5vw; 
}

    .step-card {
        width: 55.5vw;
    }

    .step__title{
        font-size: 2.4rem;
    }

    .step__txt{
        font-size: 1.4rem;
    }
}

/* 流れる文字 */
.wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
    padding-top: 12px;
}

.loop_text {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 14vw;
    overflow: hidden;
    padding-left: 20px;
    font-family: 'dnp-shuei-gothic-gin-std', 'sans-serif';
    font-weight: 600;
    line-height: 1.1;
}

.yellowten {
    font-weight: 400;
    color: #FFC812;
    text-shadow: 1px 1px 0 var(--color-black),
        -1px 1px 0 var(--color-black),
        -1px -1px 0 var(--color-black),
        1px -1px 0 var(--color-black);
}

.loop_text:nth-child(odd) {
    animation: loop 50s -25s linear infinite;
}

.loop_text:nth-child(even) {
    animation: loop2 50s linear infinite;
}

.akusyu{
    font-size: 6.4vw;
}

@keyframes loop {
    0% {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes loop2 {
    0% {
        transform: translateX(0);
    }

    to {
        transform: translateX(-200%);
    }
}

/* 流れる文字　600px */
@media screen and (min-width: 600px) {
    .loop_text {
        font-size: 10vw;
    }
}

@media screen and (min-width: 1025px) {
    .loop_text {
        font-size: 8vw;
    }

    .wrapper {
        padding-top: 54px;
    }

    .akusyu{
        font-size: 3.4vw;
    }
}