@charset "utf-8";
/*------------------------------------------------------------
	トップページ
------------------------------------------------------------*/
.mainImg {
    padding: 122px 0 101px;
    background-image: url("../img/staff/main_img.jpg");
}
#main h3 {
    margin-bottom: 26px;
    text-align: center;
}
#main .content {
    width: 1100px;
}
#main .tabUl {
    border-bottom: 1px solid #CCCCCC;
}
#main .tabUl li {
    margin-right: 5px;
    width: 216px;
    float: left;
}
#main .tabUl li:last-child {
    margin-right: 0;
}
#main .tabUl li a {
    padding: 9px 9px 8px;
    display: block;
    font-size: 1.3rem;
    text-align: center;
    color: #fff;
    background-color: #000;
    border: 1px solid #000;
    border-top: 5px solid #000;
}
#main .tabUl .on a {
    color: #c69c6d;
    font-weight: bold;
    background-color: #fff;
    border-color: #ccc;
    position: relative;
    border-top-color: #c69c6d;
    border-bottom-color: #fff;
}
#main .tabUl .on a:after {
	width: 100%;  
	height: 1px;
    border-bottom: 1px solid #fff;
	position: absolute;  
	bottom: -2px;
	left: 0;  
	content: ""; 
    z-index: 10;
}
#main .tabBox {
    padding: 94px 0 98px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
}
#main .imgBox {
    margin: 0 95px 94px;
}
#main .imgBox .photoBox {
    float: right;
}
#main .imgBox .textBox {
    margin: 5px 0 0 3px;
    float: left;
    width: 400px;
}
#main .imgBox .textBox p {
    line-height: 2;
    text-align: justify;
}
#main .imgBox .textBox .ttl {
    margin-bottom: 18px;
    padding: 5px 10px 1px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #c69c6d;
    line-height: 1.75;
    background-color: #F3F1ED;
    border: 1px solid #C69C6D;
}
#main .imgBox .textBox .ttl02 {
    margin-bottom: 8px;
    padding-bottom: 6px;
    font-size: 2.5rem;
    color: #c69c6d;
    line-height: 1.5;
    border-bottom: 2px solid #C69C6D;
    font-family: "游明朝","YuMincho","Hiragino Mincho Pro","MS PMincho","ＭＳ Ｐ明朝","ヒラギノ明朝 Pro W6",serif;
}
#main .txt {
    margin-bottom: 20px;
    font-size: 1.75rem;
    text-align: center;
    letter-spacing: 3px;
    font-family: "游明朝","YuMincho","Hiragino Mincho Pro","MS PMincho","ＭＳ Ｐ明朝","ヒラギノ明朝 Pro W6",serif;
}
#main .h3Ttl {
    margin-bottom: 20px;
}
#main .listBox {
    margin-bottom: 100px;
    position: relative;
}
#main .listBox:after {
	width: 100%;  
	height: 100px;
    background-color: #F3F1ED;
	position: absolute;  
	top: 50%;
	left: 0;
    transform: translateY(-50%);
	content: ""; 
}
#main .list {
    position: relative;
    z-index: 10;
    text-align: center;
}
#main .list li {
    margin: 0 5px;
    width: 290px;
    display: inline-block;
    vertical-align: top;
    padding: 39px 40px 31px;
    box-sizing: border-box;
    position: relative;
    background: url("../img/staff/bg01.jpg") no-repeat left top;
    background-size: 100% 100%;
    box-shadow: 7px 7px 0 rgba(212,203,197,0.8);
}
#main .list li:after {
	width: 100%;  
	height: 6px;
    border-top: 6px solid rgba(255,255,255,0.5);
	position: absolute;  
	top: 0;
	left: 0;  
	content: ""; 
}
#main .list li p {
    line-height: 2;
    letter-spacing: -0.9px;
    text-align: justify;
}
#main .list li .ttl {
    margin-bottom: 5px;
    padding: 4px 2px 2px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    line-height: 1.5;
    text-align: center;
    background-color: #000;
}
#main .list li .ttl02 {
    margin-bottom: 5px;
    padding-bottom: 3px;
    font-size: 2rem;
    text-align: center;
    line-height: 1.6;
    border-bottom: 1px solid #000;
    font-family: "游明朝","YuMincho","Hiragino Mincho Pro","MS PMincho","ＭＳ Ｐ明朝","ヒラギノ明朝 Pro W6",serif;
}
#main .imgBox02 {
    margin-bottom: 0 !important;
}
#main .imgBox02 .photoBox {
    margin: 5px 0 0 4px;
    float: left;
}
#main .imgBox02 .textBox {
    float: right;
}
#main .imgBox02 .textBox .ttl02 {
    letter-spacing: -1.5px;
}

@media all and (min-width: 768px) and (max-width: 1024px) {
}

@media all and (max-width: 767px) {
    .mainImg {
        padding: 128px 0 126px;
        background-image: url("../img/staff/sp_main_img.jpg");
    }
    .mainImg h2 {
        margin: 0 0 -14px -34px;
    }
    #main h3 {
        margin: 0 auto 32px;
        width: 160px;
    }
    #main .tabUl {
        padding: 0 18px;
    }
    #main .tabUl li {
        margin-right: 0.6%;
        width: 19.5%;
    }
    #main .tabUl li a {
        padding: 14px 2px;
        line-height: 1.2;
        font-size: 1.25rem;
        display: table;
        width: 100%;
        box-sizing: border-box;
        border-top-width: 6px;
        border-radius: 3px 3px 0 0;
    }
    #main .tabUl li a span {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
    }
    #main .tabUl .on a:after {
        border-width: 2px;
        height: 2px;
    }
    #main .tabBox {
        padding: 55px 0 45px;
        border: none;
    }
    #main .imgBox {
        margin: 0 15px 110px;
    }
    #main .imgBox .textBox {
        float: none !important;
        width: auto;
    }
    #main .imgBox .textBox .ttl {
        margin-bottom: 16px;
        font-size: 1.1rem;
        padding: 3px 5px 2px;
    }
    #main .imgBox .textBox .ttl02 {
        margin-bottom: 25px;
        padding-bottom: 20px;
        font-size: 2.35rem;
        line-height: 1.4;
    }
    #main .imgBox .spPhoto {
        margin-bottom: 23px;
    }
    #main .imgBox .spPhoto img {
        width: 100%;
    }
    #main .imgBox .photoBox {
        display: none;
    }
    #main .h3Ttl {
        margin-bottom: 28px;
        width: 230px;
    }
    #main .h3Ttl img {
        width: 100%;
    }
    #main .txt {
        margin-bottom: 24px;
    }
    #main .listBox {
        margin: 0 20px 60px;
    }
    #main .list {
        display: block;
        width: auto;
    }
    #main .list li {
        margin: 0 0 40px;
        width: auto;
        display: block;
    }
    #main .list li .ttl02 {
        font-size: 1.8rem;
        line-height: 1.5;
    }
    #main .listBox::after {
        height: 100%;
        width: 90px;
        top: 0;
        transform: translate(-50%,0);
        left: 50%;
    }
    #main .list li:before {
        width: 6px;
        height: 100%;
        border-left: 6px solid rgba(255,255,255,0.5);
        position: absolute;
        top: 0;
        left: 0;
        content: "";
    }
    #main {
        margin-bottom: 0;
    }
}
@media all and (max-width: 374px) {
    #main .tabUl li a {
        font-size: 1.1rem;
    }
}
