html{
    scroll-behavior:smooth;
}

body {
    min-width: inherit;
    -webkit-text-size-adjust: none;
    font-size:15px;
    margin:0;
    padding:0;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    color:#252525;
}

div{
    box-sizing: border-box;
}
.red{color:red}

#header, #recruitfooter {
    width: 100%;
    height: auto;
    background-color: #B92C00;
    padding:0.5em;
}

#header .logo img {
    width:180px;
}
#recruitfooter .info img {
    width:180px;
}
#recruitfooter {
    text-align: center;
    color:#fff;
    font-size: 0.8em;
    padding:3em 0;
    margin-top:4em
}


#mikoimg_header{
    position: relative;
    width: 100%;
    height: 50vh;
    
}


.mikoimg_header_bg01{
    background-image: url(./imgs/img_header.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

.mikoimg_header_layer{
    z-index: 10;
    position: absolute;
    width:100%;
    height:40vh;
    bottom:-2px;
    background: linear-gradient(rgba(0,0,0,0) 25%, rgba(255,255,255,1) 75%);
}

.mikoimg_header_layer h1{
    position: absolute;
    font-size:30px;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: bold;
    color:#333;
    line-height: 1.6;
    bottom:0px;
    padding:0 20px;
    margin:0;
    text-align: left;
}

.miko_recruit_contents{
    width: 100%;
    max-width:1000px;
    margin:0 auto;
}

#miko_recruit .contentsInner {
    width: 90%;
    max-width: 900px;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-left: 0px;
    padding-right: 0px;
}

#miko_recruit h2 {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    margin-bottom: 30px;
    color: #333;
    font-size: 18px;
    font-weight: lighter;
    text-align: left;
    line-height: 1.6;
    padding-top:0px;
    margin:0;
    margin-bottom: 40px;
}

#miko_recruit h3{
    font-size:20px;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: bold;
    color:#333;
    line-height: 1.6;
    margin-top:20px;
    margin-bottom: 0px;
}

.lead_p{
    padding:1em;
    line-height:2;
    font-size:1.1em;
}

span.midashi-line{
    border-bottom: thin solid #333;
    display: inline-block;
    width: 1em;
    vertical-align: middle;
}

.img_miko01{
    width:100%;
    max-height: 600px;
    aspect-ratio: 9 / 6;
    overflow: hidden;
    margin:0 auto;
}
.img_miko01 img{
    width:100%;
    object-fit: cover;
    overflow: hidden;
    object-position: center bottom
}

#miko_recruit p{
    margin:0;
}

#miko_recruit hr{
   border: none;                 
  height: 1px;                 
  background-color: #B92C00;
    margin:40px 0
}

#miko_recruit .flexarea{
    display:flex;
    gap:5px
}

a.btn{
    border:#B92C00 1px solid;
    border-left:#B92C00 8px solid;
    background-color: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    display: block;
    padding:0.5em;
    flex:1;
    text-align: center;
    text-decoration: none;
    color:#333;
    font-size:17px;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: bold;
}

.shoku_box{
    border:#B92C00 1px solid;
    margin:2em auto;
    max-width:650px;
    
}
.shoku_box h5{
    border-left:#B92C00 8px solid;
    color:#333;
    font-size:20px;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: bold;
    letter-spacing: 3px;
    margin:0;
    padding:0.5em 0 0.5em 0.5em;
}
.shokuimg_main{
    width:100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.shokuimg_main img{
    width:100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden
}
.shokuimg_sub{
    display: grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:3px;
    margin-top:3px;
}
.shokuimg_sub > div img{
    width:100%;
    height:100%;
    object-fit: cover;
    display:block;
}
.shoku_desc{
    padding:1em;
}
.shoku_desc h6{
    color:#B92C00;
    font-size:1.1em;
    margin:0;
}
.shoku_desc p{
    margin:0.5em 0;
    text-align: justify
}

.btn{
    margin:1em auto;
    width:100%;
    max-width:400px;
}
.btn_kadomaru {
  display: flex;
    align-items: center;
    justify-content: center;
    width:100%;
    font-size: 18px;
    padding: 10px 22px;
    background-color: #B92C00;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 9999px; 
    box-sizing: border-box;
    text-align: center
}
.btn_kadomaru > span img{
    width:30px;
    height: auto;
    margin-right:0.5em;
}


.recruit_table{
    width:90%;
    max-width:1000px;
    margin:2em auto;
    border-top:1px solid #ccc;
}

.recruit_row{
    display:grid;
    grid-template-columns:180px 1fr;
    border-bottom:1px solid #ccc;
}

.recruit_th{
    padding:1em;
    background:#f5f2ed;
    font-weight:bold;
    display:flex;
    align-items:flex-start;
}

.recruit_td{
    padding:1em 1.2em;
    line-height:1.8;
}

.recruit_attention{
    color:#d00;
}


.recruit_time{
    padding:1em 1.2em;
}

.time_group{
    margin-bottom:1.5em;
}

.time_group h6{
    margin:0 0 0.5em;
    font-size:1em;
    font-weight:bold;
}

.time_row{
    display:grid;
    grid-template-columns:180px 1fr;
    gap:1em;
    padding:0.35em 0;
    border-bottom:1px dotted #ddd;
}

.time_row span:first-child{
    font-weight:bold;
}

.time_note{
    margin-top:0.5em;
}

.red{
    color:#d00;
}


/* スマホ */
@media screen and (max-width:600px){

    .recruit_time{
        padding:0.8em;
    }

    .time_row{
        grid-template-columns:1fr;
        gap:0.1em;
        padding:0.5em 0;
    }

    .time_row span:first-child{
        font-weight:bold;
    }

}



/* スマホ */
@media screen and (max-width: 600px){

    .recruit_table{
        width:96%;
        margin:1.5em auto;
    }

    .recruit_row{
        display:block;
    }

    .recruit_th{
        padding:0.6em 0.8em;
        /*border-left:5px solid #B92C00;*/
        background:#f5f2ed;
    }

    .recruit_td{
        padding:0.8em;
        line-height:1.8;
    }

}


/*アコーディオン*/
.recruit_accordion{
    width:90%;
    max-width:1000px;
    margin:2em auto;
}

.recruit_item{
    margin-bottom:0.8em;
    border:1px solid #ccc;
}

/* 見出し */
.recruit_item summary{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:1em 1.2em;
    background:#f5f2ed;
    border-left:6px solid #B92C00;
    cursor:pointer;
    list-style:none;
}

/* Chromeなどの標準三角を消す */
.recruit_item summary::-webkit-details-marker{
    display:none;
}

.recruit_title{
    font-size:1.15em;
    font-weight:bold;
}

/* ＋アイコン */
.recruit_icon{
    position:relative;
    width:18px;
    height:18px;
    flex-shrink:0;
}

.recruit_icon::before,
.recruit_icon::after{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:16px;
    height:2px;
    background:#B92C00;
    transform:translate(-50%,-50%);
}

.recruit_icon::after{
    transform:translate(-50%,-50%) rotate(90deg);
}

/* 開いている状態 */
.recruit_item[open] summary{
    border-bottom:1px solid #ccc;
}

.recruit_item[open] .recruit_icon::after{
    transform:translate(-50%,-50%) rotate(0deg);
}

.recruit_content{
    padding:0;
}


/* スマホ */
@media screen and (max-width:600px){

    .recruit_accordion{
        width:100%;
        margin:1.5em auto;
    }

    .recruit_item{
        margin-bottom:0.6em;
    }

    .recruit_item summary{
        padding:0.9em 1em;
        border-left-width:5px;
    }

    .recruit_title{
        font-size:1.05em;
    }

}

/*流れ*/
.recruit_flow_box{
    width:98%;
    max-width:1000px;
    margin:0 auto;
}
.recruit_flow{
    display:flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0.5em;
    border-bottom:thin #999 dashed;
}
.flow_num{
    font-size: 18px;
    font-weight: bold;
    margin-right:1.2em;
}
.flow_title{
    font-size: 18px;
    font-weight: bold;
}

.midashi_shoku{
    font-size:1.1em;
    display: block;
    font-weight:bold;
}

.close_btn a{
    display: block;
    width:300px;
    font-size: 15px;
    padding: 10px 22px;
    border:thin solid #B92C00;
    color: #B92C00;
    background-color:#f5f2ed;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    margin:4em auto 4em;
}
.caption{
    position: absolute;
    right:0;
    bottom:1em;
    background-color:rgba(0,0,0,0.7);
    font-size:0.8em;
    color:#fff;
    padding:0.3em;
}

.tel-link {
    pointer-events: auto;
    cursor: pointer;
  }
@media screen and (min-width: 540px) {
    .mikoimg_header_layer h1{
    font-size:3em;
        width:1000px;
        margin:0 auto;
}
    #miko_recruit h2 {
    font-size: 1.5em;
    }
    .tel-link{
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}
    

}