/*
TAMAYA Style Sheet
*/

/* ----------- ROOT ------------ */
:root{
    --shadow: #B0B0B0;

    --font-semi-normal: clamp(0.72rem, 0.64rem + 0.24vw, 0.8rem);
    --font-normal:      clamp(0.9rem, 0.8rem + 0.3vw, 1rem);
    --font-semi-large:  clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
    --font-large:       clamp(1.1rem, 1rem + 0.7vw, 1.5rem);
    --font-semi-larger: clamp(1.2rem, 1.1rem + 0.9vw, 1.7rem);
    --font-larger:      clamp(1.4rem, 1.2rem + 1.1vw, 2rem);
    --font-ex-large:    clamp(1.8rem, 1.5rem + 1.6vw, 3rem);

    --deep-blue: #003682;
    --light-blue: #D4E6FF;

    --base-red: #D60F19;
    --light-red: #E84A51;
    --pale-red: #F29A9E;
    --ex-pale-red: #F9DCDD;

    --orange-red: #E65C22;

    --border-color: #bfbfbf;

    --white: #fdfdfd;
    --font-black: #222222;
}


/*-----------
全体デザイン
-----------*/
html[lang="ja"] {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

body{
    margin:0;
    padding:0;
    /*font-family: "メイリオ", Meiryo, sans-serif;*/
}

p{
    line-height:25px;
    margin:0;
}

a{
    text-decoration:none;
}

.indent{
    margin-left:1em;
}

section{
    padding:0;
}

main{
    padding-top: 90px;
}

@media screen and (max-width:767px){
    main{padding-top: 50px;}
    .job-description,
    .office-info,
    .how-to-application{
        width:90%;
        margin:6vw auto 6vw auto;
    }

    .top-imgs{
        width:100%;
        height:calc((650px - 30vw));
        margin:0vw auto 60px auto;
    }

    .company-info{
        padding-bottom:100px;
    }
}

@media screen and (max-width:480px){
    main{padding-top: 75px;}
}

@media screen and (min-width:768px) and (max-width:1023px){
    .top-imgs,
    .job-description,
    .office-info,
    .how-to-application{
        width:85%;
        margin:3vw auto 6vw auto;
    }   
}

@media screen and (min-width:1024px){
    .top-imgs,
    .job-description,
    .office-info,
    .how-to-application{
        width:80%;
        max-width:1540px;
        margin:3vw auto 6vw auto;
    }
}



.section-title{
    height:60px;
    display:flex;
    align-items:center;
    background-color:#144DA0;
    margin-bottom:30px;
}

.section-title h2{
    font-size:25px;
    color:white;
    margin-left:15px;
}

.section-sub-title h3{
    padding:0 0 5px 0.5em;
    border-bottom:1px solid #70ACCE;
    border-left:5px solid #70ACCE;
    margin-bottom:30px;
}

ul{
    padding:0;
}

li{
    list-style:none;
}


@media screen and (max-width:767px){
    .sp-hid{
        display:none;
    }
}

@media screen and (min-width:768px){
    .pc-hid{
        display:none;
    }
}


/*-----------
フォントサイズ
-----------*/

@media screen and (max-width:767px){
    /*------ 大（各ボタン、各拠点の見出し、企業情報） ------*/
    .font-size-L,.font-size-LL{    
        font-size:clamp(18px, 2vw, 24px);
        font-weight:bold;
        letter-spacing:0.2em;
    }

    /*------ 中（H3、メールでお問い合わせ、電話番号） ------*/
    .font-size-M{    
        font-size:clamp(16px, 1.8vw, 20px);
        font-weight:bold;
        letter-spacing:0.1em;
    }

    /*------ ちょい大きい（電話でお問い合わせ） ------*/
    .font-size-LM{
        font-size:clamp(14px, 0.9vw, 18px);
    }

    /*------ 各拠点のサブテキスト ------*/
    .font-size-BM{    
        font-size:clamp(12px, 1.6vw, 18px);
        letter-spacing:0.1em;
    }

    .job-description label.font-size-L{
        font-size:2.4vw;
    }
}



@media screen and (min-width:768px){
    /*------ 大（各ボタン、各拠点の見出し、企業情報） ------*/
    .font-size-LL{    
        font-size:clamp(24px, 2.6vw, 36px);
        font-weight:bold;
        letter-spacing:0.2em;
    }
    
    /*------ 大（各ボタン、各拠点の見出し、企業情報） ------*/
    .font-size-L{    
        font-size:clamp(20px, 2vw, 30px);
        font-weight:bold;
        letter-spacing:0.2em;
    }

    /*------ 中（H3、メールでお問い合わせ、電話番号） ------*/
    .font-size-M{    
        font-size:clamp(20px, 1.8vw, 24px);
        font-weight:bold;
        letter-spacing:0.1em;
    }

    /*------ ちょい大きい（電話でお問い合わせ） ------*/
    .font-size-LM{
        font-size:clamp(16px, 0.9vw, 20px);
    }

    /*------ 各拠点のサブテキスト ------*/
    .font-size-BM{    
        font-size:clamp(12px, 1.6vw, 20px);
        letter-spacing:0.1em;
    }
}

/*-----------
テーブルデザイン
-----------*/
table{
    width:100%;
    border: 1px solid #ddd;
    margin-bottom:90px;
}

table .axis{
    background-color:rgba(54, 59, 63, 0.08);
    font-weight:bold;
    vertical-align: center;
}

table th{
    background-color:rgba(54, 59, 63, 0.08);
    font-weight:bold;
    vertical-align: center;
    font-size:15px;
    color: #343434;
}

table, th, tr, td{
    border-collapse: collapse;border-bottom: 1px solid #ddd;
    border: 1px solid #ddd;
}


table td li{
    line-height:1.6em;
}


table td{
    font-size:15px;
    color: #343434;
    line-height:1.5em;
}


table.car-info-table td:nth-child(2),
table.car-info-table td:nth-child(3),
table.car-info-table td:nth-child(4),
table.car-info-table td:nth-child(5){
    text-align: center;
}

@media screen and (max-width:767px){
    .requirement-table tr,.requirement-table td,
    .company-info-table tr,.company-info-table td,
    .business-partner-table tr,.business-partner-table td{
        display:block;
        width:100%;
        border:none;
        
    }

    table td{
        box-sizing:border-box;
        padding:1em;
        border-bottom:1px solid #ddd;
    }

    .car-info-container{
        overflow-x:auto;
    }

    table.car-info-table th{
        padding:0.5em 1em;
    }

    table.car-info-table th,
    table.car-info-table td{
        white-space:nowrap;

    }
}

@media screen and (min-width:768px){
    table td{
        padding:1em 1.5em;
    }

    table .axis{
        width:30%;
    }

    table.car-info-table tr:nth-child(1) th{
        padding:0.5em 0;
    }
    
}

/*-----------
ヘッダー
-----------*/
.hero{
    width:100%;
    height:30vw;
    position:relative;
    
}

.hero:before{
    position:absolute;
    top:0;
    left:0;
    content:"";
    width:100%;
    height:100%;
    background-color:rgba(45, 85, 111, 0.7);
    z-index:5;
}

.hero img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:50% 5%;
}

.hero h2{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);

    font-size:6vw;
    color:white;
    letter-spacing:0.2em;
    z-index:10;
    margin:0;
}




/*-----------
カルーセルスライド
-----------*/
.swiper-container.slider {
    width: 100%; /* 親コンテナの幅を100%に */
    overflow: hidden; /* オーバーフローを隠す */
    position: relative; /* 相対位置に設定 */
}

.swiper-wrapper {
    display: flex; /* フレックスボックスで子要素を並べる */
}

.swiper-container .image-container img{
    height:100%;
    width:100%;
    object-fit:cover;
    object-position:50% 50%;
}

.swiper-container.slider .swiper-slide {
    width: 100%; /* 1枚のスライドを表示するために100%幅に設定 */
    height: 100%; /* 親コンテナの高さに合わせる */
    flex-shrink: 0; /* 子要素のサイズを縮小しない */
}

.swiper-slide img {
    width: 100%;
    aspect-ratio:4 / 3;
    object-fit: cover;
}

/* Prev/Nextボタンのスタイルを変更 */
.swiper-button-prev,
.swiper-button-next {
    color: black; /* ボタンの色を黒に設定 */
    position: absolute; /* 絶対位置に設定 */
    top: 50%; /* 縦中央に配置 */
    transform: translateY(-50%); /* 縦中央に配置するために変形 */
    z-index: 10; /* スライドの上に表示 */
}

.swiper-button-prev {
    left: 10px; /* 左側に配置 */
}

.swiper-button-next {
    right: 10px; /* 右側に配置 */
}

.swiper-button-prev svg,
.swiper-button-next svg {
    display: none !important;
}

/* 2. ボタン共通の設定 */
.swiper-button-prev::after,
.swiper-button-next::after {
    font-family: swiper-icons; /* Swiper標準フォントを使用 */
    font-size: 24px;
    font-weight: bold;
}

/* 3. 左右それぞれの向きを指定 */
.swiper-button-prev::after {
    content: 'prev' !important; /* Swiperフォントで「左向き矢印」を表示 */
}

.swiper-button-next::after {
    content: 'next' !important; /* Swiperフォントで「右向き矢印」を表示 */
}



.swiper-container.thumbnail {
    width: 100%;
}

.swiper-container.thumbnail .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(10, 10%);
}

/* サムネイルのスタイル */
.thumbnail .swiper-slide {
    opacity: 0.5;
}

/* サムネイルのアクティブスタイル */
.thumbnail .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-slide .image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

@media screen and (max-width:767px){
    .swiper-container.slider {
        height:100%;
    }
}

@media screen and (min-width:768px){
    .swiper-container.slider {
        aspect-ratio:384 / 225;
    }
}

/*-----------
募集要項
-----------*/
.job-description .applications{
    display: flex;
    flex-wrap: wrap;
    gap: 0 1vw;
    width:100%;
}

.job-description .applications > label {
    flex: 1 1;
    order: -1;

    min-width: 70px;
    height:60px;
    padding: .6em 1em;
    border-radius: 5px;
    border:1px solid #144DA0;
    background-color: white;

    color: #144DA0;
    text-align:center;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor: pointer;

    margin-bottom:6.3vw;
}

.job-description .applications label:has(:checked) {
    background-color: #144DA0;
    color: white;

}

.job-description .applications input{
    display:none;
}

.job-description .applications .contents {
    display: none;
}

.job-description .applications > .contens {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #fff;
}

.job-description .applications label:has(:checked) + .contents {
    display: block;
    width:100%;
}

.job-description .applications .top-contents{
    margin-bottom:90px;
}

.job-description .applications .top-contents .top-contents-container,
.ikenbako-container,
.job-description .applications .process-contents-container .process{
    display:flex;
}

.ikenbako-container{margin-top: 90px;}

.job-description .applications .top-contents .img img,
.ikenbako-container .img img,
.job-description .applications .process-contents .img img{
    height:100%;
    width:100%;
    object-fit:cover;
}

.job-description .applications .process-contents .img.tmp{
    background-color:gray;
}

.job-description .applications .process-contents .process .step{
    margin-right:0.7em;
    height:fit-content;

    display:flex;
    align-items:baseline;
}

.job-description .applications .process-contents .process .process-txt-container .title{
    padding-bottom:5px;
    border-bottom:1px solid #ddd;
    margin-bottom:30px;

    display:flex;
    align-items:baseline;
}

.job-description .applications .top-contents h3,
.job-description .applications .process-contents h3,
.job-description .applications .application-point h3{
    margin-bottom:30px;
}

.job-description .applications h3{
    padding-left:0.5em;
    border-left:7px solid #70ACCE;
}

.job-description .applications .process-contents .down{
    display:flex;
    height:5vw;
    margin:30px 0;
}

.job-description .applications .image-container .img img{
    height:100%;
    width:100%;
    object-fit:cover;
}

.job-description .application-point .title .txt{
    margin-left:5em;
}

.job-description .application-point .title .point-container{
    position:absolute;
    bottom:0;
    transform:rotate(-30deg); 
}

.job-description .application-point .interview-container{
    display:flex;
    align-items:center;
    
    width:90%;
}

.job-description .application-point .interview-container .charactor{
    margin-right:5%;
    position:relative;
}

.job-description .application-point .interview-container .charactor .img{
    width:100%;
    aspect-ratio: 1 / 1;
    margin:0 auto;
    border-radius:999px;
    border:1px solid lightgray;
    overflow:hidden;

    display:flex;
    align-items:center;
    justify-content:center;
}

.job-description .application-point .interview-container .charactor .img img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.job-description .application-point .interview-container .charactor .name{
    text-align:center;

    width:100%;

    position:absolute;
    top:100%;
    left:50%;
    transform:translate(-50%, 50%);
}

.job-description .application-point .interview-container .popup{
    position: relative;
    display: inline-block;
    margin: 1.5em 0 1.5em 15px;
    padding: 1.5em 2em;
    color: #555;
    font-size: 16px;
    background: #f5f5f5;
    /*border: solid 3px #555;*/
    box-sizing: border-box;
    border-radius:15px;

}

.job-description .application-point .interview-container .popup:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -24px;
    margin-top: -12px;
    border: 12px solid transparent;
    border-right: 12px solid #f5f5f5;
    z-index: 2;
}
  
.job-description .application-point .interview-container .popup:after {
    content: "";
    position: absolute;
    top: 50%;
    left: -30px;
    margin-top: -14px;
    border: 14px solid transparent;
    z-index: 1;
}
  
.job-description .application-point .interview-container .popup p {
    margin: 0;
    padding: 0;
}



.job-description .applications .top-banner{
    width:100%;
    background-color:#144DA0;
    padding:2em 0;
    margin-bottom:60px;
}

.job-description .applications .top-banner h3,
.job-description .applications .top-banner p{
    color:white;
    text-align:center;

}

.job-description .applications .top-banner h3{
    margin:0 0 10px 0;
    padding-left:0;
    border-left:none;
    line-height:1.8em;
}

.job-description .contact-mail{
    font-weight:bold;
}

.job-description .applications .top-banner h3,
.job-description .applications .top-banner p{
    width:90%;
    margin:1em auto;
}


@media screen and (max-width:767px){
    .job-description .applications{
        margin:0 auto 90px auto;
    }

    .job-description .applications .image-container{
        display:flex;
        flex-wrap: nowrap; 
        overflow-x:auto;
        margin:60px 0 90px 0;
        scroll-snap-type: x mandatory; /* スクロールスナップを有効化（任意） */
        -webkit-overflow-scrolling: touch; /* iOS対応 */
        width: 100%; /* 親要素に基づいた横幅を持たせる */
        box-sizing: border-box; /* パディングやボーダーのサイズも含める */
        
    }
    
    .job-description .applications .image-container .img{
        flex: none;
        width:80vw;
        height:53vw;
        margin-right:5vw;
        box-sizing: border-box;

    }
    
    .contact.pc-hid{
        position:fixed;
        padding:1em 0;

        width:100vw;
        z-index:999;

        bottom:0px;
        left:0;

        background-color:#144DA0;
        display:flex;
    }

    .contact.pc-hid .tel-container,
    .contact.pc-hid .contact-mail{
        width:calc((100% - 3px) / 2);
        aspect-ratio:4 / 1;
        margin:1em 0; 
        
        display:flex;
        justify-content:center;
        align-items:center;
        flex-direction:row;
        
        color:white;
    }

    .contact.pc-hid .tel-container{
        border-right:3px solid white;
    }

    .contact.pc-hid .contact-tel .txt{
        text-align:center;
    }

    .job-description .applications > label {
        margin-bottom:0;
        border-radius:0;
        border-bottom:none;

        border-top-left-radius:10px;
        border-top-right-radius:10px;
    }

    .job-description .applications .top-banner{
        width:100vw;
        position:relative;
        left: 50%;
        transform: translateX(-50vw);
        margin-bottom:60px;
    }

    .job-description .application-point{
        margin:90px 0 0 0;
    }

    .job-description .application-point .interview-container .charactor{
        width:20%;
    }

    .job-description .application-point .interview-container .popup{
        width:75%;
    }

    .job-description .application-point .interview-container{
        margin:6vw auto;
    }

    .job-description .application-point .interview-container .charactor .name{
        font-size:3vw;
    }

    .job-description .applications .top-contents .top-contents-container,
    .ikenbako-container,
    .job-description .applications .process-contents-container .process{
        flex-direction:column;
    }

    .ikenbako-container{
        flex-direction:column-reverse;
    }

    .job-description .applications .top-contents .img,
    .job-description .applications .process-contents .img{
        width:100%;
        height:60vw;
        margin-bottom:30px;
    }

    .ikenbako-container .img{
        width:100%;
        margin-bottom:30px;
    }

    .job-description .applications .top-contents .txt,
    .job-description .applications .process-contents .process .process-txt-container{
        width:100%;
    }

    .job-description .applications .process-contents .process .process-txt-container .title{
        margin-bottom:15px;
    }

    .job-description .applications .process-contents .down .tmp-container{
        width:100%;
        height:6 / 1;
        display:flex;
        justify-content:center;
        align-items:center;
    }

    .job-description .applications .process-contents .down .tmp-container .dli-caret-down {
        display: inline-block;
        vertical-align: middle;
        color: #333;
        line-height: 1em;
        width: 0;
        height: 0;
        border-style: solid;
        border-color: transparent;
        border-width: 3vw 4.8vw;
        border-top-color: currentColor;
        border-bottom: 0;
    }

}

@media screen and (min-width:768px){
    .job-description .applications{
        margin:0 auto 9.4vw auto;
    }
    
    .job-description .applications .image-container{
        display:flex;
        justify-content:space-between;
        width:100%;
        margin:60px 0 90px 0;
    }
    
    .job-description .applications .image-container .img{
        width:23%;
        aspect-ratio:3 / 2;
    }

    .job-description .applications .contents .contact{
        width:100%;
        background-color:lightgray;
    }
    
    .job-description .applications .contents .contact .contact-container{
        width:70%;
        margin:0 auto 60px auto;
        padding:30px 0;
        height:fit-content;
    
        display:flex;
        justify-content:space-between;
        align-items:center;
    }
    
    .job-description .applications .contents .contact .contact-container .contact-tel,
    .job-description .applications .contents .contact .contact-container .contact-mail{
        width:48%;
        aspect-ratio:3 / 1;
        min-height:80px;
        border-radius:5px;
        background-color:#144DA0;
    
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
    
        color:white;
    
    }
    
    .job-description .applications .contents .contact .contact-container .contact-tel .tel-num,
    .job-description .applications .contents .contact .contact-container .contact-mail{
        line-height:1.8em;
    }

    .job-description .application-point{
        margin:9.4vw 0;
    }

    .job-description .application-point .interview-container .charactor{
        width:10%;
    }

    .job-description .application-point .interview-container .popup{
        width:70%;
    }

    .job-description .application-point .interview-container{
        margin:90px auto;
    }

    .job-description .applications .top-contents .img,
    .job-description .applications .process-contents .img{
        width:30%;
        height:auto;
        margin-right:60px;
        aspect-ratio:3/2;
    }

    .ikenbako-container .img{
        width:30%;
        height:auto;
        margin-right:60px;
    }

    .job-description .applications .top-contents .txt{
        width:calc(100% - 30% - 60px);
    }

    .job-description .applications .process-contents .process .process-txt-container{
        width:calc(100% - 30% - 10% - 1.5vw - 3vw);
    }

    .job-description .applications .process-contents .down .tmp-container{
        width:30%;
        height:6 / 1;
        display:flex;
        justify-content:center;
        align-items:center;
    }

    .job-description .applications .process-contents .down .tmp-container .dli-caret-down {
        display: inline-block;
        vertical-align: middle;
        color: #333;
        line-height: 1em;
        width: 0;
        height: 0;
        border-style: solid;
        border-color: transparent;
        border-width: 1.5vw 2.4vw;
        border-top-color: currentColor;
        border-bottom: 0;
    }
}

/*----------
企業情報
-----------*/
.company-info{
    width:100%;
    margin-top:120px;
}

.empty-enter{
    margin-bottom:1em;
}

/*-----------
 footer
-----------*/
footer{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;

    background-color:#144DA0;
}


.footer-txt{
    color:white;
    text-align:center;
}

@media screen and (min-width:768px){
    footer{
        height:90px;
    }

    .footer-txt{
        font-size:12px;
    }
}

@media screen and (max-width:767px){
    footer{
        height:60px;
    }

    .footer-txt{
        font-size:12px;
    }
}