@charset "UTF-8";

:root{
    --maincolor:#1C4B76;
    --subcolor:#B0A972;
    --basecolor:#eeeef3;
    --palecolor:#88b8ff;
    --black:#222;
    --zoomvalue:1;
}

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    max-width: 100%;
}
html,body {
    font-size:100%;
    line-height:1.5;
	scroll-behavior: smooth;
}
a{ text-decoration:none;}
ul,ol{ list-style:none;}
img{ vertical-align:middle; padding: 0; margin: 0;line-height: 0; max-width: 100%;}
table { width:100%;border-collapse: collapse; border-spacing: 0;}


/* @link */
a {text-decoration: none; transition: 0.3s;color: var(--maincolor);}
a:hover,a:active{color: var(--maincolor); text-decoration: none;}
a img{border: none;}

a:hover img {
	opacity: 0.8;
}
a img {
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;}


/* @css base block */
.sp{ display:none;}
.tb{ display:none;}
.pc{ display:inline;}

.oh{overflow: hidden;}

.f-min{font-family:"ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;}
.f-yuji{font-family: "Yuji Syuku", serif;}

.cen{text-align: center;}
.left{text-align: left;}
.right{text-align: right;}

h1,h2,h3,h4,.bold{font-weight: bold;}

.color{color: var(--maincolor);}
.cen{text-align: center;}
.left{text-align: left;}
.right{text-align: right;}
.bold{font-weight: bold;}
.normal{font-weight: normal;}
.small{font-size: 0.9em;}
.big{font-size: 1.2em;line-height: 1.8;}


/*アニメーション設定関連*/
@keyframes fuwa-up-down{
    from{
        translate: 0 40px;
    }
    50%{
        translate: 0 0;
    }
    to{
        translate: 0 40px;
    }
}

@keyframes jiwa{
	0%{
		transform: scale(0.8);
		opacity: 0;
	}
	30%{
		transform: scale(0.9);
		opacity: 0;
	}
	100%{
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes slide-up{
    from{opacity: 0;translate:0 30%;}
    to{opacity: 1; translate:0 0;}
}
@keyframes slide-down{
    from{opacity: 0; translate:0 -30%;}
    to{opacity: 1;  translate:0 0;}
}
@keyframes slide-l{
    from{opacity: 0; translate:50%;}
    to{opacity: 1; translate:0;}
}

@keyframes show-to-right{
    from{clip-path: inset(0 100% 0 0);}
    to{clip-path: inset(0);}
}
@keyframes show-to-left{
    from{clip-path: inset(0 0 0 100%);}
    to{clip-path: inset(0);}
}
@keyframes show-to-bottom{
    from{clip-path: inset(0 0 100% 0);}
    to{clip-path: inset(0);}
}

#breadcrumb ul {
    display: flex;
	justify-content:flex-end;
    gap: 0.3em;
    margin: 50px 0;
	font-size:80%;
}
.post_box #breadcrumb ul{
	justify-content:flex-start;
}

/* ここから下　サイト個別の内容 */

/*全体の箱*/
html{
    font-size: 16px;
}
html.open{
    position: fixed;
    width: 100%;
    z-index: -1;
    overflow: hidden;
}

body { 
	margin: 0;
	padding: 0;
	color: #222;
	font-size: clamp(12px,calc(1.2rem * var(--zoomvalue)),3rem);
    line-height: 1.6;
}

main > section{
    width: 100%;
    margin: 0 auto;
    padding: 2em;
    position: relative;
}
.w980{max-width: 980px; width: 90%;}
.w1280{max-width: 1280px; width: 90%;}
.bg01{background: var(--basecolor);}
.bg01>.w980{margin: 1em auto 2em;}

main p{
    text-align: justify;
}
main p + p{
    margin-top: 1em;
}



/*header*/
header{
    --header-height:4rem;

    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    width: 100%;
    padding: 0 0 0 1.5em;
    background: rgba(255, 255, 255, 0.8);
    
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}
.site_title{
    height: 100%;
    padding: 0.1em 0;
    font-size: 1.8rem;
    a{
        display: flex;
        align-items: center;
        gap: 0.5em;
        height: 100%;
        font-weight: bold;
    }
    .logo{
        height: 100%;
        width: auto;
    }
}

/*メニュー*/
nav{height: 100%;width:70%; display: flex;}

.menu_list{
    display: flex;
    gap: 2px;
    height: 100%;
    width: 100%;
    li{
        width: calc((100% - 2px * 4 - 6em) / 4);
        a{
            display: flex;
            justify-content: center;
            align-items: center;

            height: 100%;
            width: 100%;
            font-weight: bold;
            padding: 0 1.2em;
            font-size: 110%;
            &.menu_color{
                background: var(--subcolor);
            }
            &:hover{
                background: var(--maincolor);
                color: #fff;
                border-bottom-width: 3px;
            }
        }
        &.color a{
            font-size: 1.1em;
            color: #e33;
            &:hover{
                background-color: #e33;
                color: #fff;
            }
        }
        &.sns_link{
            width: 6em;
            display: flex;
            a{
                width: calc(100% / 2);
                background: var(--maincolor);
                padding: 0.5em;
                border-bottom: none;
                &:hover{background: var(--subcolor);}
                &.tik{
                    background: #000;
                }
            }
        }
}
}

.menubtn{display: none;}

/*footer*/

footer{
    background: var(--maincolor);
    padding-top: 1em;

    .fot_block{
        display: flex;
        justify-content: center;
        gap: 2em;
        align-items: center;
        background: #fff;
        padding: 1em;
        width: 100%;
        color: var(--maincolor);
        margin: 0 auto;
    }

    .fot_logo{
        max-width: 120px;
        aspect-ratio: 1/1;
        border-radius: 50%;
    }
}

.copy{
    width: 100%;
	font-size: 0.75rem;
    padding: 1em 0;
    text-align: right;
    color: #fff;
    text-align: center;
}
.topbtn{
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--maincolor);
    border: 1px solid #fff;
    border-bottom: none;
    aspect-ratio: 1/1;
    height: 3em;
    padding: 0.5em;
    align-self: center;
    position: fixed;
    bottom:0;
    right: 1em;
    z-index: 10;
    color: #fff;
    &:hover{background: #fff; color: var(--maincolor);}
}


/*見出し*/
.section_title{
    font-size: 7vw;
    text-align: center;
    color: var(--black);
    letter-spacing: 0.1rem;
    span{
        font-size: 1.7rem;
        font-weight: normal;
        display: block;
    }

    &.left{text-align: left;}
    &.color{color: var(--maincolor);}
    &.white{color: #fff;}
}
.bg01 .section_title{
    color: var(--subcolor);
}
.page_title{
    text-align: center;
    background: url(images/company_back.jpg) no-repeat top center/cover;
    padding: 4em;
    h1{
        font-size: 4vw;
        text-shadow: 1px 1px 5px rgba(0,0,0,0.7),
        -1px 1px 5px rgba(0,0,0,0.7),
         1px -1px 5px rgba(0,0,0,0.7),
        -1px -1px 5px rgba(0,0,0,0.7);
        font-size: 3vw;
        color: #fff;
        letter-spacing: 0.1em;
        font-weight: normal;
    }
}

/*ボタン*/
/*linkbtnと色、形状、サイズをクラス名で指定可*/

.linkbtn{
    width: fit-content;
    margin: 1em auto 1.5em;
    padding: 1em 5em;
    background: var(--btn-back-color);
    color: var(--btn-text-color);
    border-width: 2px;
    border-style: solid;
    border-color: var(--btn-border-color);
    transition: 0.3s;
    display: block;
    position: relative;
}
.linkbtn:hover{
    background: var(--btn-text-color);
    color: var(--btn-back-color);
    border-color: var(--btn-border-color);
}
/*色*/
.btn_white{
    --btn-back-color:#fff;
    --btn-border-color:var(--maincolor);
    --btn-text-color:var(--maincolor);
}
.btn_color{
    --btn-back-color:var(--maincolor);
    --btn-border-color:var(--maincolor);
    --btn-text-color:#fff;
}

.btn_subcolor{
    --btn-back-color:#ee0;
    --btn-border-color:#e00;
    --btn-text-color:#e00;
    border-width: 2px;
}

.btn_othercolor{
    --btn-back-color:#fff;
    --btn-border-color:#e00;
    --btn-text-color:#e00;
}

/*形*/
.btn_max_round{
    border-radius: 3em;
}
.btn_min_round{
	border-radius:0.5em;
}
.btn_border_none{
    border: none;
}
/*サイズ*/
.btn_small{
    font-size: 80%;
    padding: 0.5em 1.5em;
}
.btn_big{
    font-size: 115%;
    padding: 0.5em 5em;
}
.btn_wide{
    width: 100%;
    text-align: center;
}
/*オプション*/
.arrow{
    margin: 2em 0 0;

    &::after{
    content: '';
    display: block;
    position: absolute;
    right: -2em;
    bottom: 0.5em;

    width: 40%;
    height: 0.7em;
    transform: skew(50deg);
    border-color: var(--subcolor);
    border-width: 3px;
    border-bottom-style: solid;
    border-right-style: solid;
    transition: 0.2s;
    }
    &:hover::after{
        right: -3em;
    }
}


/*リストの基本形*/
/*list_boxと任意のリスト名クラスを付与し、gapと横列数を指定*/

.list_box{
    display: flex;
    width: 80%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    gap:var(--gap);
}
.list_box > li{
    width: calc((100% - var(--gap) * calc(var(--listitem-length) - 1)) / var(--listitem-length));
}
.list_box.slideup li{
    opacity: 0;
}
.list_box.animation.slideup li{
    animation: slide-up 1.1s forwards;
}


/*点つきリスト*/
.dot-list{
	padding:0 1em;
}
.dot-list,
.dot-list li,
.point_list_box ul,
.point_list_box li{
	list-style:disc;
}
.dot-list li{
	margin-bottom: 0.5em;
}

/*マップ埋め込み用*/

.gmap{
    width: 100%;
    aspect-ratio: 16/9;
    margin: 2em 0;
}
.gmap iframe{
    width: 100%;
    height: 100%;
}

/*----------トップページ----------*/

main{
    margin-top: var(--header-height);
}

.para_box{
    position: relative;
    clip-path: inset(0 0 -1px 0);
    &::after{
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -1;
    }
}

.para_content{
    width: 50%;
    margin: 0;
    padding: 5em;
    z-index: 1;
    position: relative;
    p{
        font-size: 1.5rem;
        line-height: 1.8;
        max-width: 90%;
        color: #fff;
        &.big{font-size: 2rem;}
    }
}


/*works*/
#works{
    padding: 5em;
    height: 90vh;
    background-color: #222;

    .section_title{
        position: absolute;
        left: 0.3em;
        top: -0.3em;
        font-size: 10vw;
        z-index: 0;
        line-height: 1;
        color: #fff;
    }

&::after{
    width: 100%;
    background: url("images/works_back.jpg") no-repeat center / cover;
    opacity: 0.4;
}

.para_content{
    margin-left: auto;
    p{
        margin-left: auto;
    }
}
}


/*recruit*/
#recruit{
    margin: 0;
    height: 90vh;
        
    .section_title{
        position: absolute;
        right: 0.3em;
        top: -0.3em;
        font-size: 10vw;
        z-index: 0;
        line-height: 1;
        color: #fff;
    }

&::after{
    width: 100%;
    background: url("images/recruit_back.jpg") no-repeat center / cover;
    left: auto;
    right: 0;
    opacity: 0.9;
}

}

    .top_link_btn_field{
        display: flex;
        gap: 2em;
        max-width: 80%;
        margin: 0 auto;

        .linkbtn.arrow{
        width: calc((100% - 2em * 2) / 3);
        padding: 0.8em 2em;
        margin: 1em auto;
        letter-spacing: 0.1em;
        font-size: 150%;
        font-weight: bold;
        text-align: center;

        &::after{
            width: 20%;
            right: 1em;
            bottom: 50%;
            translate: 0 50%;
        }
    }
    }


/*philosophy*/
#philosophy{
    height: 80vh;
    
    .philo_img{
        max-width: 40vw;
        margin-left: auto;

    }
    #philo{
        display: none;
    }

    &::after{
        background: url(images/philo_back.jpg) no-repeat center/cover;
    }
}
    .philo_text{
        font-size: 1rem;
        line-height: 2;
        span{
            font-size: 135%;
            color: var(--maincolor);
        }
    }


/*サブページ*/
.section_title_small{
    margin: 2em 0 1em;
    padding-left: 0.5em;
    border-left: 5px solid var(--maincolor);
    color: var(--maincolor);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

/*company*/
.company_info{
    margin: 0 auto;
    caption{
        font-size: 1rem;
        text-align: left;
        margin-bottom: 2em;
    }
    font-size: 1rem;
    tr{
        border: 1px solid #ccc;
    }
    th,td{
        padding: 1em;
    }
    th{
        text-align: left;
        width: 25%;
        background: #eee;
    }
}
section.w980>p:not(.big){font-size: 95%;}
.flex{
    display: flex;
    justify-content: space-between;
    margin: 2em auto;
    &.jus_left{justify-content: flex-start;gap:2em;}
    &.jus_cen{justify-content: center;gap:2em;}

    >div{width: 50%;}
    .greeting_text{
        width: 60%;
        font-size: 120%;
        .name{font-size: 130%;}
    }
}
.photo{max-width: 450px;}


/*works*/
.work_slide{
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0;
    li {       
        position: relative;
        img{
            width: 100%;
            opacity: 0.5;
            transition: 0.2s;
        }
        &.is-active img{opacity: 1;}

        
 .place{
        width: fit-content;
        padding: 0.3em 0.5em;
        background: #fff;
        position: absolute;
        left: 20px;
        bottom: 20px;
        font-weight: bold;
        font-size: 90%;
    }
    }
}

.top_copy{
    font-size: 3rem;
    margin: 0.5em auto 2em;
    text-align: center;
    font-weight: normal;
    letter-spacing: 0.1em;
    color: var(--maincolor);
}

.works_list{
    display: flex;
    flex-wrap: wrap;
    gap:2em 1em;
    li{
        width: calc((100% - 1em * 3) / 4);
        p{
            font-size: 80%;
            padding: 0.5em;
        }
        figure{
            padding: 0.5em;
            background:#eee;
        }
    }
}


/*メールフォーム*/
.contact_form{
    width: 100%;
    margin: 3em auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1em 0;
    dt,dd{
        padding: 1em;
        &:not(:last-of-type){
        border-bottom: 1px solid var(--subcolor);}
    }
    dt{
        color: var(--maincolor);
        width: 30%;
    }
    dd{
        width: 70%;
    }
    input[type="text"],textarea{
        width: 100%;
        padding: 0.5em 0.8em;
    }
}
#submit{
    border: 2px solid var(--maincolor);
    background:var(--maincolor);
    padding: 0.8em 2.5em;
    font-size: 18px;
    color: #fff;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    letter-spacing: 0.1em;
    border-radius: 0.3em;
    transition: 0.3s;
    &:hover{
        background: #fff;
        color: var(--maincolor);
    }
}

.telbox{
    margin: 2em auto;
.tel_num{
    font-size: 30px;
    color: var(--maincolor);
    font-weight: bold;
    letter-spacing: 0.1em;
}
}


/*採用情報ページ*/
.recruit_works.katawaku_description{
    padding: 2em 4em;
}

.recruit_slide{
    padding: 0;
    display: flex;
    gap:2em;
    .recruit_img{
        width: 40%;
        img{width: 100%;}
    }
    .recruit_copy{
        width: 60%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3em;
        padding-left: 4em;
        h2{
            width: 100%;
            margin: 0;
        }
        p{
            max-width: 150px;
        }
        .parag{
            width: fit-content;
        }
    }
}

.link_btn_field{
    padding: 2em;
    margin: 1em auto;
    position: relative;
    p{font-size: 120%;}

    &.tribox{
        padding: 5em;
    &::before,
    &::after{
        content: '';
        display: block;
        height: 70%;
        background: var(--maincolor);
        width: 20%;
        position: absolute;
        opacity: 0.8;
    }
    &::before{
        clip-path:polygon(0 0,100% 0,100% 100%);
        top: -1em;
        right: 0;
    }
    &::after{
        clip-path:polygon(0 0,0 100%,100% 100%);
        bottom: -1em;
        left: 0;
    }
}
}

.katawaku{
    counter-reset: data-num;
    display: flex;
    flex-wrap: wrap;
    margin: 2em auto 4em;
    gap: 3em 1em;
    
    &.animation li{animation: slide-up 2s forwards;}

    li{
        width: calc((100% - 1em * 2) / 3);
        counter-increment: data-num;
        position: relative;
        border-bottom: 1em solid var(--tag_color);
        border-radius: 0 0 0.5em 0.5em;
        opacity: 0;
    
        .katawaku_title{
            color: #fff;
            border-radius: 0.5em 0.5em 0 0;
            padding: 0.5em 1em;
            font-size: 130%;
            background: linear-gradient(to bottom,var(--tag_color),#e6ecff);
            letter-spacing: 0.1em;
            &::before{
                content: counter(data-num,decimal-leading-zero);
                margin-right: 1em;
            }
        }

        .flex{
            margin: 0;
            align-items: center;
            flex-wrap: wrap;
            .katawaku_img{
                width: 100%;
                background: #eee;
                img{width: 100%;}
            }
            .katawaku_text{
                width: 100%;
                padding: 1em;
                font-size: 100%;
            }
        }

    &:nth-child(1){--tag_color:hsl(204, 95%, 54%);}
    &:nth-child(2){--tag_color:hsl(205, 88.4%, 49%);}
    &:nth-child(3){--tag_color:hsl(206, 81.8%, 44%);}
    &:nth-child(4){--tag_color:hsl(207, 75.2%, 39%);}
    &:nth-child(5){--tag_color:hsl(208, 68.6%, 34%);}
    &:nth-child(6){
        --tag_color:hsl(209, 62%, 29%);
    }

    }
}

.merit_list{
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    width: 100%;
    margin: 2em auto;
    counter-reset: num;
    li{
        counter-increment: num;
        position: relative;

            &::before{
                content: '';
                background: var(--maincolor);
                position: absolute;
                width: 0;
                height: 100%;
                text-align: center;
                left: 0;
                bottom: 0;
                transition:0.5s;
                z-index: -1;
            }

            &:hover{
                &::before{width: 100%;}
                a{
                    color: #fff;
                    border-bottom-color: transparent;
                    span{background: #e00;}
                }
            }

        a{
            display: flex;
            justify-content: center;
            align-items: center;
            border-bottom: 3px solid var(--maincolor);
            text-align: center;
            padding: 1em;
            font-size: 150%;
            font-weight: bold;
            position: relative;
            overflow: hidden;
            transition:0.5s;
            color: var(--maincolor);
            
            span{
                background: #ff0;
                padding: 0 0.3em;
                margin: 0 0.3em;
                transition: inherit;
                border-radius: 0.2em;
            }
            
            &::before{
                content: counter(num,decimal-leading-zero);
                font-size: 150%;
                font-weight: bold;
                margin-right: auto;
            }
            &::after{
                content: '';
                height: 0.8em;
                width: 0.8em;
                border-right: 5px solid currentColor;
                border-bottom: 5px solid currentColor;
                rotate:-45deg;
                margin-left: auto;
            }
        }
    }
}


.voice_list{
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-bottom: 3em;
    li{
        position: relative;
        background: var(--basecolor);
        padding: 1em;

        .question{
            padding: 0.5em 1em;
            font-size: 120%;
            font-weight: bold;
            color: var(--maincolor);
            background: #fff;
            border-radius: 0.3em;
            box-shadow: 5px 5px 0 var(--maincolor);
            cursor: pointer;
            transition: 0.3s;
            position: relative;
            top: 0;
            left: 0;

            &:hover{
                box-shadow: 1px 1px 0 var(--maincolor);
                top: 3px;
                left: 3px;
            }
        }
        .voice_text{
            display: flex;
            gap: 2em 3em;
            flex-wrap: wrap;
            width: 100%;
            font-size: 90%;
            margin-top: 2em;

            &.animation .voice{
                animation: slide-up 1s forwards;
            }

            .voice{
                position: relative;
                opacity: 0;
                width: calc((100% - 3em) / 2);
                background: #fff;
                border-radius: 0.5em;
                padding: 1em 2em 2em;
                margin: 0;
                filter: drop-shadow(3px 3px 0 var(--maincolor));
                margin-bottom: 90px;
                font-weight: bold;
                
                figure{
                    display: block;
                    width: 30%;
                    max-width: 120px;
                    aspect-ratio: 1/1;
                    background: #fff;
                    border-radius: 50%;
                    position: absolute;
                    top: calc(100% - 20px);
                    right: 1em;
                    overflow: hidden;
                    border: 2px solid var(--maincolor);
                }

                &::after{
                    position: absolute;
                    content: '';
                    width: 2em;
                    height: 1.5em;
                    background: #fff;
                    top: calc(100% - 1px);
                    right: 50%;
                    clip-path: polygon(0% 0%,100% 0%,100% 100%);
                }
            }
        }
    }

}

.schedule{
    display: flex;
    flex-direction: column;
    margin: 1em auto;

    li{
        width: 100%;
        display: flex;
        align-items: center;
        gap: 1em;
            border-bottom: 3px solid var(--palecolor);
        .time,.sche{
            padding: 1em;
            font-size: 120%;
            margin: 0;
        }
        .time{
            width: 25%;
            text-align: left;
            font-weight: bold;
        }
        .sche{
            border-left: 1px solid var(--palecolor);
        }
}
}

/*社員寮*/
.pick_list{
    width: 10%;
    display: flex;
    flex-direction: column;
    gap: 0.5em;

    li{
        text-align: center;
        padding: 0.5em 0;
        border-radius: 0.3em;
        font-weight: bold;
        font-size: 110%;
        letter-spacing: 0.1em;
        color: #fff;
        transition: 0.2s;
        &:hover{translate:0 -0.5em;}
    }
}

.dormitory_flex_box{
    display: flex;
    gap: 2em;
    align-items: flex-start;
}

.slide_box{
    width: 60%;
    display: flex;
    align-items: center;
    margin-bottom: 2em;
    gap:1em;
    padding: 1em;

#main-carousel{
    border: 4px solid var(--basecolor);
    border-radius: 0.5em;
    width: calc(80% - 1em);
    .splide__slide{
        position: relative;
    }
    figcaption{
        width: 100%;
        padding: 0.8em 0 0.5em;
        background: linear-gradient(transparent,rgba(50,50,50,0.5) 50%,rgba(50,50,50,0.7) 90%);

        position: absolute;
        left: 0;
        bottom: 0;
        color: #fff;
        text-align: center;
    }
    img{
        width: 100%;
    }
}

#thumbnail-carousel{
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;

    .splide__track--slide{
        height: 75% !important;
    }

    .splide__slide{
        opacity: 0.4;
        transition: 0.3s;
        border: none;
        padding: 0.5em;
        &.is-active{
            opacity: 1;
        }
    }
}
}

.splide__arrows{button{background: transparent;}}

.dormitory_merit_box{
    width: calc(30% - 2em);
    border: 2px solid var(--maincolor);
    padding: 1em;
    h3{border-bottom: 1px solid var(--maincolor);padding-bottom: 0.5em;}

    dl{
        display: flex;
        flex-direction: column;
        padding: 1em 0 0;
        flex-wrap: wrap;
        dt,dd{padding: 0 0.5em;}
        dt{font-weight: bold;border-left: 5px solid var(--maincolor);}
        dd{margin: 0.5em 0 1em;}
    }
}



.benefits_list{
    list-style: disc inside;
    font-size: 110%;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    li{
        background: var(--maincolor);
        padding: 1em;
        color: #fff;
        border-radius: 0.5em;
        font-weight: bold;
        margin-bottom: 0.5em;
        width: calc((100% - 1em) / 2);

        &:nth-child(n+3){width: calc((100% - 1em * 2) / 3);}
        &:hover{
            background:var(--subcolor);
        }
    }
}

.works_info{
    width: fit-content;
    margin: 0 auto 4em;
    position: relative;

    &::after{
        content: '';
        display: block;
        position: absolute;
        width:6em;
        max-width: 25%;
        height: 3em;
        clip-path: polygon(0% 0%,100% 0%,50% 100%);
        top: 100%;
        left: 50%;
        translate: -50% 0;
        background: var(--maincolor);
    }
    .company_info{
        border: 5px solid var(--maincolor);
    }

    th{background: #e1e7ff;}
    td{background: #fff;}
}
#miidas{
    margin-bottom: 0;
}



/*●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
	▼　タブレット用css　▼
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●*/

@media (max-width:1024px) {
    
    /*ヘッダー*/

    /*フッター*/


    /*見出し*/


    /*メインビュー*/
    

    /*リスト設定*/
    .list_box{
        flex-wrap: wrap;
        --listitem-length:2;
        --gap:2.5em;
    }

    .para_content{
        width: 80%;
    }



}

@media(max-width:900px){

    body{font-size: 12px;}

    header{
        --header-height: 70px;
    }
    #topimg{
        height: auto;
    }

    .menu{
        position: fixed;
        bottom: 0;
        right: -100%;
        width: 100%;
        height: calc(100% - var(--header-height));
        background: rgba(255,255,255,0.9);
        transition: 0.4s;
        overflow-y: scroll;
    }
    .menu.show{
        right: 0;
    }
    .menu_list{
        padding: 2em;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .menu_list > li{
        width: 100%;
        height: auto;
        padding: 1em;
        text-align: left;
        flex-direction: column;

        &:not(:last-child){
            border-bottom: 1px dashed var(--maincolor);
        }
        &.color{a{
            font-size: 1.3rem;
        }}
        a{
            background: none;
            border-bottom: none;
            font-size: 1.2rem;
        }
        &.sns_link{
            width: 100%;
            flex-direction: row;
            a{width: 50px;margin: 0 auto;border-radius: 50%;}
        }
    }

    /*ハンバーガーボタン*/
    .menubtn{
        position: absolute;
        top: 50%;
        right: 0.5em;
        translate: 0 -50%;
        width: 50px;
        height: 50px;
        text-align: center;
        z-index: 2;
        display: block;
        cursor: pointer;
    }
    .menubtn>div{
        height: 100%;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .menu_btn_item{
        position: relative;
        height: 2px;
        width: 80%;
        border: none;
        background: var(--maincolor);
        transition: 0.3s;
    }
    .menu_btn_item::before,
    .menu_btn_item::after{
        content: '';
        display: block;
        position: absolute;
        background: var(--maincolor);
        height: 100%;
        width: 100%;
        left: 50%;
        translate: -50%;
        transition: all 0.3s;
    }
    .menu_btn_item::before{
        top: -10px;
    }
    .menu_btn_item::after{
        top: 10px;
    }
    .show .menu_btn_item{
        background: transparent;
    }
    .show .menu_btn_item::before{
        top: 0;
        rotate: 35deg;
    }
    .show .menu_btn_item::after{
        top: 0;
        rotate: -35deg;
    }



    .para_box{
        width: 100%;
    &#works,&#recruit{
        .para_content{
            p{
                br{display: none;}
            }
            .linkbtn{
                font-size: 1.1rem;
                bottom: auto;
                top: calc(100% + 1em);
                right: auto;
                left: 1em;
            }
        }
    }
    }

    .top_link_btn_field{
        flex-direction: column;
        margin: 2em auto;
        .linkbtn.arrow{
            width: 100%;
            margin: 0;
        }
    }

    #philosophy{
        height: auto;
        padding: 0;
        position: relative;
        &::after{
            content: none;
        }
        .philo_img{
            position: absolute;
            top: 50%;
            right: 2em;
            translate:0 -50%;
            width: 35vw;
        }
        .philo_text{
            font-size: 1rem;
            flex-direction: column;
            p{max-width: 100%;}
            br{display: none;}
        }
    }


.top_copy{
    font-size: 2rem;
    margin: 1em auto;
    br{display: block;}
}
.works_list{
    gap: 1.5em;
    li{
        width: 100%;
    }
}


.luminous{
    max-width: 100%;
}
.lum-lightbox{
    .lum-lightbox-position-helper{
        padding: 1em;
    }
    .lum-open{
        z-index: 11;
    }
}
.modaal-content{
    .modaal-gallery-control{
        width: 30px;
        height: 30px;
        bottom: 10px;

        &::after{margin-top: 3px;}
        &::before{margin-top: -3px;}
        &::after,&::before{
            width: 3px;
            top: 9px;
            left: 14px;
            height: 10px;
        }
    }
    .modaal-gallery-prev{
        &::after{
            margin-top: -3px;
            left: 12px;
        }
        &::before{
            margin-top: 3px;
            left: 12px;
        }
    }

}


/*recruit*/
.recruit_slide{
    flex-wrap: wrap;
    .recruit_img{
        width: 100%;
    }
    .recruit_copy{
        width: 100%;
        padding-left: 0;
        gap: 0.5em;
        .top_copy{
            br{display: block;}
            text-align: center;
        }
        br{display: none;}
        p{
            max-width:100%;
            text-align:center;
            img{max-width: 100px;}
        }
    }
}

.link_btn_field{
    padding: 0 2em;
}

.recruit_works{
    .flex{
        gap:2em;
        .section_title_small{margin: 0 0 1em;}
        .w980{font-size: 100%;br{display: none;}}
    }
}

.recruit_works.katawaku_description{
    padding: 2em;
    .flex{margin: 0 auto;}
    #katawaku_slide{display: none;}
}

.katawaku{
    gap: 1.5em;
    margin-bottom: 0;
    li{
        width: 100%;
    .katawaku_title{background: var(--tag_color);font-size: 120%;}
    .flex{
        gap: 0;
        .katawaku_img{width: 100%;}
        .katawaku_text{width: 100%;padding: 1em;order: 1;}
    }
    &:not(:last-child)::after{
        content: '';
        display: block;
        position: absolute;
        top: calc(100% + 0.9em);
        left: 50%;
        translate: -50% 0;
        height: 1em;
        width: 2em;
        background: var(--tag_color);
        clip-path: polygon(0% 0%,100% 0%,50% 100%);
    }
    }
}

.merit_list{
    li{
        a{
            flex-wrap: wrap;
            justify-content: flex-start;
            text-align: left;
            padding: 0.5em;
            font-size: 130%;
            p{text-align: left;}
            span{margin: 0;}
            &::before{
                width: 100%;
            }
            &::after{
                position: absolute;
                top: 50%;
                right: 0.5em;
                translate: 0 -50%;
                height: 0.5em;
                width: 0.5em;
            }
        }
    }
}

.voice_field{padding: 0;}
.voice_list{
    margin: 2em 0 4em;
    gap: 1em;
    li{
        padding: 1em;
        .voice_text{
            padding: 1em;

            .voice{
                width: 100%;
                font-size: 130%;
                line-height: 1.6;
                margin-bottom: 50px;
                padding: 1em 1.5em;

                figure{width: 20%;}
                &::after{left: 50%;}
            }
        }
    }
}

#career,#dormitory,#benefits{padding: 0;}
.schedule.career{
    li{flex-direction: column;margin-bottom: 1em;gap: 0.5em;}
    .time{width: 100%;padding: 0;border: none;}
    .sche{width: 100%;padding: 0 1em 0.5em;border: none;}
}

.benefits_list{
    font-size: 100%;
}

#miidas{
    padding: 0 1em 1em;width: 100%;
    .works_info{td{font-size: 0.9rem;}}
}

.link_btn_field{
    h2{text-align: left;br{display: none;}}
    &.tribox{
        padding: 1em;

        &::before{
            height: 20%;
            top: -0.5em;
        }
        &::after{
         height: 20%;
         bottom: -0.5em;
        }
    }
}


.section_title_small{
    font-size: 1.2rem;
    letter-spacing: 0;
}


/*社員寮*/
.dormitory_flex_box{
    max-width: 600px;
    margin: 2em auto;
    flex-wrap: wrap;
    flex-direction: column;

    .slide_box{
        width: 100%;
        margin: 0;
    }
    .dormitory_merit_box{
        width: 100%;
    }
}
.pick_list{
    gap: 0;
    width: 60%;
    justify-content: space-between;
    flex-direction: row;
    li{
        width: calc(100% / 3);
        margin: 0;
        padding: 0;
    }
}




}

/*●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
	▼　スマホ用css　▼
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●*/

@media (max-width: 600px) {

    :root{--header-height:60px;}
    
    .pc{display: none;}
    .sp{display: block;}
    
    /*全体*/
    body{font-size: 0.9rem;}
    main > section{padding: 1em;width: 90%;}
    .page_title{
        padding: 2em;
        background-size: cover;
        h1{font-size: 4vh;}
    }

    header{
        padding: 0 0 0 0.5em;
        .site_title{
            font-size: 1rem;
            .logo{height: 80%;}
        }
    }

    .list_box{
        width: 100%;
        --gap:1.5em;
    }


    .linkbtn{
        width: 100%;
        padding: 0.5em 1em;
        text-align: center;
    }
    main>.linkbtn.arrow{
        width: 90%;
        &::after{
            width: 20%;
        }
    }


    #works{
        background: #000;
    }
    .para_box{
    &#works,&#recruit{
        margin: 0;
        padding: 0;
        height: auto;
        clip-path: none;

        &::after{
            content: none;
        }

        .section_title{
            font-size: 10vh;
            color: var(--maincolor);
            position: static;
            margin-bottom: 0.5em;
        }

        .para_bg{
            opacity: 0.7;
        }
        .para_content{
            padding: 1em;
            margin: 0 auto;
            position: absolute;
            top: 0;
            width: 100%;
            p{
                width: 100%;
                max-width: 100%;
                margin: 0;
                font-size: 12px;
                text-shadow: 1px 1px 3px rgba(0,0,0,0.7),
                -1px 1px 3px rgba(0,0,0,0.7),
                1px -1px 3px rgba(0,0,0,0.7),
                -1px -1px 3px rgba(0,0,0,0.7);

                br{display: block;}
            }
            .big{font-size: 130%;}
            .arrow{
                position: relative;
                border: 1px solid var(--maincolor);
            }
        }
    }}

        .philo_text{
            line-height: 1.6;
            font-size: 0.8rem;
            span{font-size: 125%;}
        }
        #philosophy{
            h2{
                font-size: 1.1rem;
                margin-bottom: 1em;
            }
            .philo_text{
                margin-top: 0;
            p{
                font-size: 23px;
            }
        }

        .linkbtn{
            width: 70%;
        }

        }


    footer{
        margin-bottom: calc(16px * 2.5);
        .fot_block{
            gap:1em;
        }
        .fot_logo{
            margin: 0;
            max-width: 50px;
        }
        .com_info{h2{font-size: 1.2em;}}
        .copy{font-size: 10px;}
    }

    .fot_button{
        width: 100%;
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        background: rgba(255, 255, 255, 0.9);
        li{
            border-top: 2px solid var(--maincolor);
            width: 50%;
            &:first-child{
                border-right: 2px solid var(--maincolor);
                a{color: #e00;}
            }
            a{
                display: block;
                width: 100%;
                padding: 0.5em 1em;
                font-size: 16px;
                text-align: center;
                font-weight: bold;
                &:hover{
                    background: var(--maincolor);
                    color: #fff;
                }
            }
        }
    }
    /*サブページ用*/

.flex{
    flex-direction: column;
    >div{width: 100%;}
    .greeting_text{width: 100%;font-size: 110%;}
}


.company_info{
    caption{
        margin: 2em 0 1em;
    }
    tr{
        border: 1px solid #ccc;
        display: flex;
        flex-direction: column;
    }
    th,td{
        padding: 0.5em;
        width: 100%;
    }
}

.slide_box{
    flex-direction: column;

#main-carousel{
    width: 100%;
}
#thumbnail-carousel{
    width: 100%;
    padding: 0 1em;
    height: auto;
    .splide__slide{padding: 0;}
}
}

.dormitory_flex_box{
    flex-direction: column;
}
.slide_box{
    width: 100%;
}
.dormitory_merit_box{
    width: 100%;
    dl{
        dt,dd{font-size: 1rem;}
    }
}
.pick_list{width: 100%;}

.benefits_list{
    gap: 0;
    li:nth-child(1n){width: 100%;}
}

#miidas{padding-top: 0;}


.contact_form{
    dt,dd{
       width: 100%;
       padding: 0;
    }
    dt:nth-child(1n){
        border-bottom: none;
    }
    dd{
        padding-bottom: 1em;
    }
}

}


@media(max-width:450px){

}


/*●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
    ▲　スマホ用css　▲
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●*/

@media(min-width:2500px){
    :root{
        --header-height:2.5rem;
    }
    html{
        font-size: 2vh;
    }
    main>section{
        max-width: none;
        width: 80%;
    }
}
