@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: 14px!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;
  line-height: 1.2;
}
.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: 13px;
    width: 100%;
    height: auto;
  }
  .job-title{
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    height: auto;
  }
}




/* =====================================================
   NEW SHOP / 中津店
   Mobile First
===================================================== */

.newshop {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 70px auto 90px;
    padding: 50px 0 65px;
    overflow: hidden;
    isolation: isolate;

    background-color: #f8f4ec;
    background-image: url("../img/index/washi_sp.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    color: #17120f;
    font-family: "Zen Old Mincho", "Yu Mincho", serif;
}

.newshop-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
}

/* =========================================
   セクションタイトル
========================================= */

.newshop-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    width: 100%;
    margin: 0 auto 35px;
    padding: 0 20px;

    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-align: center;
}

.newshop-section-title::before,
.newshop-section-title::after {
    content: "";
    display: block;
    width: 45px;
    height: 1px;
    background-color: #b89569;
}

/* =========================================
   メインコンテンツ / SP
========================================= */

.newshop-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 店舗写真 */

.newshop-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.newshop-image img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

/* 店舗情報 */

.newshop-info {
    position: relative;
    width: 100%;
    padding: 0 22px;
}

/* =========================================
   NEW OPEN
========================================= */

.newshop-opening {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.newshop-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    width: 65px;
    min-height: 100px;
    padding: 10px 5px;

    background-color: #92000b;
    color: #fff;
}

.newshop-year {
    font-size: 12px;
}

.newshop-month {
    font-size: 24px;
    line-height: 1.5;
}

.newshop-end {
    font-size: 15px;
}

.newshop-opening-title {
    min-width: 0;
}

.newshop-number {
    font-size: clamp(30px, 9vw, 45px);
    font-weight: 600;
    line-height: 1.1;
}

.newshop-english {
    color: #92000b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 7vw, 40px);
    line-height: 1.2;
    white-space: nowrap;
}

/* =========================================
   キャッチコピー・説明
========================================= */

.newshop-catch {
    margin-bottom: 15px;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.02em;
}
h3.newshop-catch {
    font-size: 20px !important;
    font-weight: 900;
}

.newshop-description {
    margin-bottom: 20px;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.9;
}

.newshop-pc-br {
    display: none;
}

/* =========================================
   店舗情報テーブル
========================================= */

.newshop-details {
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid #c5a57e;
}

.newshop-details-row {
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-bottom: 4px;
}

.newshop-details-row dt {
    padding: 8px 5px;
    background-color: rgba(205, 185, 158, 0.65);

    font-size: 12px;
    text-align: center;
}

.newshop-details-row dd {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* =========================================
   店長紹介 / SP
========================================= */

.newshop-manager {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;

    margin-top: 45px;
    padding: 0 22px;
}

/* 店長丸型写真 */

.newshop-manager-image {
    flex-shrink: 0;
    width: 190px;
    height: 190px;
    overflow: hidden;
    border-radius: 50%;
}

.newshop-manager-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

/* 店長コメント */

.newshop-manager-content {
    width: 100%;
    max-width: 480px;
}

.newshop-manager-label {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 12px;

    color: #92000b;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.newshop-manager-label::after {
    content: "";
    width: 40px;
    height: 1px;
    background-color: #c5a57e;
}

/* 店長タイトル / SP */
h3.newshop-manager-title {
    margin-bottom: 12px;
    font-size: 18px !important;
    font-weight: 600;
}

.newshop-manager-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.95;
    letter-spacing: 0.02em;
}

.newshop-manager-name {
    width: fit-content;
    min-width: 190px;
    margin: 18px 0 0 auto;
    padding: 7px 20px;

    background-color: rgba(205, 175, 135, 0.65);

    font-size: 14px;
    font-weight: 600;
    text-align: center;
}


/* =====================================================
   PC / 768px以上
===================================================== */

@media screen and (min-width: 768px) {

    .newshop {
        width: 90%;
        max-width: 1200px;
        margin: 80px auto 100px;
        padding: 40px 0 65px;
        background-image: url("../img/index/washi.jpg");
    }

    .newshop-section-title {
        gap: 20px;
        margin-bottom: 30px;
        width: 50%;
    }
    h3.newshop-manager-title {
        font-size: 20px !important;
    }
    .newshop-section-title::before,
    .newshop-section-title::after {
        width: 90px;
    }

    /* =====================================
       店舗写真＋情報
    ===================================== */

    .newshop-content {
        position: relative;
        display: block;
        min-height: 430px;
    }

    /* 右側店舗写真 */

    .newshop-image {
        position: absolute;
        top: 0;
        right: 0;
        width: 56%;
        height: 100%;
        z-index: 0;
        /* 写真の左端を自然に透明化 */
        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.15) 8%,
            rgba(0, 0, 0, 0.45) 18%,
            rgba(0, 0, 0, 0.8) 30%,
            #000 45%
        );
            mask-image: linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.15) 8%,
            rgba(0, 0, 0, 0.45) 18%,
            rgba(0, 0, 0, 0.8) 30%,
            #000 45%
        );
    }

    .newshop-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* 左側グラデーション */

    /* .newshop-image::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;

        background: linear-gradient(
            to right,
            #f8f4ec 0%,
            rgba(248, 244, 236, 0.9) 8%,
            rgba(248, 244, 236, 0) 25%
        );

        pointer-events: none;
    } */

    /* 左側情報 */

    .newshop-info {
        position: relative;
        z-index: 2;
        width: 48%;
        padding: 15px 0 0 7%;
    }

    .newshop-opening {
        gap: 16px;
        margin-bottom: 22px;
    }

    .newshop-date {
        width: 72px;
        min-height: 115px;
    }

    .newshop-year {
        font-size: 13px;
    }

    .newshop-month {
        font-size: 28px;
    }

    .newshop-end {
        font-size: 17px;
    }

    .newshop-number {
        font-size: clamp(35px, 4.2vw, 58px);
    }

    .newshop-english {
        font-size: clamp(30px, 3.8vw, 53px);
    }


    h3.newshop-catch {
        font-size: clamp(18px, 1.85vw, 22px) !important;
        line-height: 1.7;
        font-weight: 1000;
    }
    .newshop-description {
        font-size: 14px;
        line-height: 1.9;
    }

    .newshop-pc-br {
        display: inline;
    }

    .newshop-details-row {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 12px;
    }

    .newshop-details-row dt,
    .newshop-details-row dd {
        font-size: 14px;
        font-weight: 600;
    }

    /* =====================================
       店長紹介
    ===================================== */

    .newshop-manager {
        position: relative;
        z-index: 2;

        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 28px;

        width: 85%;
        margin-top: -5px;
        padding: 0 0 0 5%;
    }

    .newshop-manager-image {
        width: clamp(150px, 17vw, 220px);
        height: clamp(150px, 17vw, 220px);
    }

    .newshop-manager-content {
        flex: 1;
        max-width: 470px;
    }

    .newshop-manager-label {
        font-size: 14px;
    }

    .newshop-manager-title {
        font-size: 23px;
    }

    .newshop-manager-text {
        font-size: 13px;
        line-height: 1.9;
    }

    .newshop-manager-name {
        font-size: 14px;
    }

}


/* =====================================================
   大型PC / 1200px以上
===================================================== */

@media screen and (min-width: 1200px) {

    .newshop {
        padding: 45px 0 75px;
    }

    .newshop-content {
        min-height: 470px;
    }

    .newshop-info {
        padding-left: 8%;
    }

    .newshop-manager {
        gap: 35px;
        padding-left: 6%;
        margin-top: 30px;
    }

    .newshop-manager-text {
        font-size: 14px;
    }

}