/* base.css */

@import url("tablet.css") screen and (max-width: 960px);
@import url("sm.css") screen and (max-width: 670px);

*{
	margin:0;
	padding:0;
	list-style-type:none;
	font-weight:normal;
	text-decoration:none;
	font-size:100%;
	font-style:normal;
	line-height:1.6;
	font-family: "Shippori Mincho", serif;
}


.shippori-mincho-regular {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
  }
  





img{
	border-style:none;
	vertical-align:bottom;
}

img.flex{
	width:100%;
	height:auto;
}

.centering{
    text-align: center;
}


.container:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.container {display: inline-table;}
/* Hides from IE-mac \*/
* html .container {height: 1%;}
*+html .container {min-height: 1%;}
.container {display: block;}
/* End hide from IE-mac */

:root{
    --white-color:#fff;
    --blue-color:#007BFF;
    --black-color:#000;
}


@media print,screen and (min-width: 960px){

body{
        font-size: 1.2rem;
        margin:0 auto;
        text-align:center;
        color:var(--black-color);
        background-color:var(--white-color);
    
}    


.pc{
    display:block;
}

.tablet{
    display:none;
}

.sm{
    display: none;
}

#submit{
    background-color: var(--blue-color);
    color: var(--white-color);
    padding: 0.3em 1.5em;
    border:none;
    border-radius: 5px;
    transition: opacity 0.3s;
}

#submit:hover{
    opacity: 0.8;
    cursor: pointer;
}

#backbtn{
    background-color: var(--blue-color);
    color: var(--white-color);
    padding: 0.3em 1.5em;
    border:none;
    border-radius: 5px;
    transition: opacity 0.3s;
}

#backbtn:hover{
    opacity: 0.8;
    cursor: pointer;
}

header {
   
}



header div.header {
    position: relative;
    height: 100px;
    background-color: rgba(255, 255, 255, 1.0); /* 背景のみ透過 */

}


header div.header h1{
    position:absolute;
    left:20px;
    top:1px;
    font-size: 0.7rem;
    color: var(--black-color);
}

header div.header .logo{
    position: absolute;
    left:15px;
    top: 25px;
    width: 180px;
    height: auto;
}

header div.header .tel{
    position: absolute;
    right:230px;
    top: 5px;
    font-size: 1.8rem;
}

header div.header ul.fmenu{
    position: absolute;
    right:230px;
    bottom: 5px;
    font-size: 1.2rem;
}

header div.header ul.fmenu li{
    display:inline-block;
    margin-left:2em;
    color: var(--black-color);
}

header div.header ul.fmenu li a{
    color: var(--black-color);
    transition: color 0.3s;
}

header div.header ul.fmenu li a:hover{
    
    color: #5F5F5F;
}

#menu{
    display: none;
}

.toggle{
    display: none;
}

#open{
    display: none;
}
ul.mainnemu{
    position: absolute;
    right: 0px;
    top: 0px;
    font-size: 0;
   
}

ul.mainnemu li{
    display: inline-block;
    margin-left: 1px;
    vertical-align: middle;
}

ul.mainnemu li a{
    display: block;
    color:var(--white-color);
    font-size: 1.0rem;
    width: 100px;
    height: 100px;
    text-align: center;
    line-height: 100px;
    background-color: var(--black-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}


ul.mainnemu li a::after {
    background: var(--white-color);
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

ul.mainnemu li a:hover {
    color: var(--black-color);
}
ul.mainnemu li a:hover::after {
    transform: scale(1, 1);
}




@keyframes catch_copy {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

main{
    padding:4% 10%;
    
}

#leftpane{
    width: 18%;
    float:left;
    text-align: left;
    
}

#leftpane ul {
    margin-bottom: 40px;
}

#leftpane ul li{
    padding:29px 5px;
    border-bottom: 1px solid var(--black-color);
    text-align: left;
    font-size: 1.0rem;
    
}

#leftpane ul li.top{
    text-align: center;
}

#leftpane ul li a{
    cursor: pointer;
    color: var(--black-color);
    transition: color 0.3s;
}

#leftpane ul li a:hover{
    color: #5F5F5F;
}

#leftpane ul li dt{
    margin-bottom: 0.5em;
    
}

#leftpane ul li dd{
    padding-left: 1em;
    font-size: 0.9rem;
}

#leftpane p {
    margin-bottom: 30px;
}
#leftpane p img{
    width:100%;
}

#leftpane address{
    font-size: 1.0rem;
}

#cnt{
    width:80%;
    float: right;
    text-align: left;
}

#cnt section{
    margin-bottom: 4em;
}

#cnt p.catch{
    text-align: center;
    font-size: calc(40vw/20);
    font-weight:400;
    margin-bottom: 1.5em;
    padding-bottom: 40px;
    background: url("../img/top/bar_back.png") no-repeat center bottom;
}

#cnt section p{
    margin-bottom: 1.2em;
}



footer{
    background-color: #B0B5B9;
    height: 210px;
}

#footernav{
    background-color: #EFEFEF;
    padding:20px 0 30px;
    
}

#footernav p.inq{
    text-align: center;
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--black-color);
    margin-bottom: 1.5em;
}

#footernav ul{
    display: flex;
    justify-content: space-between;
    flex: 1;
}

#footernav ul li{
    display: inline-block;
    width: 50%;
    text-align: center;
}

#footernav ul li dt{
    font-size: 1.0rem;
    margin-bottom: 10px;
}

#footernav ul li dd{
    font-size: 1.4rem;
    
}

#footernav ul li dd a{
    font-size: 1.2rem;
    background-color: #414141;
    color:var(--white-color);
    padding: 3px;
    width: 30%;
    align-items: center;
}

#footmain{
    padding: 1% 11%;
    text-align: left;
}

#footmain .footnav{
    display: inline-table;
    margin-right: 2em;
    text-align: left;
}

#footmain .footnav ul li a{
    font-size: 1.0rem;
    color: var(--white-color);

}

#footmain .footnav dd{
    text-indent: 1em;
}

.copyright{
    padding: 0% 11%;
    text-align: right;
    color: var(--white-color);
    margin-top:-5em;
}

.copyright p {
    font-size: 1.4rem;
    font-weight: 500;
}

.copyright p span{
    font-size: 1.2rem;
}

.copyright p span:after{
    content: "\00a0\00a0\00a0\00a0\00a0\00a0\00a0";
}

.copyright address{
    font-size: 1.0rem;
}


p.pankuzu{
    text-align: right;
    margin-bottom: 20px;
    & a{
    transition: opacity 0.3s;
    color: var(--black-color);
    }
   
    
}

p.pankuzu a:hover{
        opacity: 0.5;
}

#cnt.top #block1 div.txtbox1{
    background: url("../img/top/back_img01.png") no-repeat 95% 50px;
    background-position: right bottom;
    background-size: 55%;
    padding: 0 0 30px;
    
}

#cnt.top #block1 div.txtbox1 div.block2nd{
    width: 45%;
    padding: 20px;
    background-color: var(--white-color);
    border-left:1px solid #707070;
    border-bottom:3px solid #707070;
}


#cnt.top #block2 div.txtbox1{
    background: url("../img/top/back_img02.png") no-repeat 0 0;
    background-size: 55%;
    padding-top:100px; 
    margin-bottom: 2.0em;
}

#cnt.top #block2 div.txtbox1 div.block2nd{
    width: 45%;
    margin-left:50%;
    padding: 20px;
    background-color: var(--white-color);
    border-right:1px solid #707070;
    border-bottom:3px solid #707070;
}

#cnt.top #block2 div.txtbox1 div.block2nd h3{
    background-image: url("../img/top/h3_back01.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 20px;
}

#cnt.top #block2 h4{
    font-weight:500;
    font-size: 1.4rem;
    margin-bottom: 1.5em;
}

#cnt.top #block2 div.result{
    background: #EEEEEE;
    padding: 40px 0 10px;
}


#cnt.top #block2 div.result ul{
    display: flex;
    margin-bottom: 1.5em;
    & li{
        display: inline-block;
        width: 33%;
        & dt{
            margin-bottom: 0.5em;
            & a{
                transition: opacity 0.3s;
            }
        }
        & dd{
            font-size: 1.2rem;
            width: 93%;
            margin: 0 auto;
        }
    }
}

#cnt.top #block2 div.result ul li dt a:hover{
    opacity: 0.8;
}



#cnt.top p a.detailsbtn{
    display: block;
    background-color: #0478DC;
    padding: 10px;
    width: 50%;
    text-align: center;
    margin:0 auto;
    color: var(--white-color);
    transition: opacity 0.3s;
}

#cnt.top p a.detailsbtn:hover{
    opacity: 0.8;
}


#cnt.top h2.underline{
    padding-bottom: 15px;
    font-weight: bold;
    font-size: 1.6rem;
    position:relative;
    border-bottom: 4px solid var(--black-color);
    margin-bottom: 2em;
}

#cnt.top h2.underline::before{
    content:"";
    position:absolute;
    bottom:-4px;
    width:50%;
    height: 4px;
    background: #707070;
}

#cnt.top #block3 ul{
    display: flex;
    justify-content: space-between;
    flex: 1;
    & li{
       width: 48%;
        margin-right: 20px;
        & a{
            transition: opacity 0.3s;
            color: var(--black-color);
        }
    }
}


#cnt.top #block3 ul li a:hover{
    opacity: 0.8;
}

#cnt.top #block3 ul li:last-child{
   
    margin-right: 0px;
}

#cnt.top #block3 ul li dl dt{
    font-weight: bold;
    margin-bottom: 10px;
    & a{
        font-weight: bold;
    }
}


#cnt.top #block3 ul li dl dd{
    font-size: 1.1rem;
    margin-bottom: 1.5em;
}


#cnt.top #block3 ul li p a{
    color: var(--white-color);
}

#cnt.top #block5 ul{
    display: flex;
    justify-content: space-between;
    flex: 1;
}

#cnt.top #block5 ul li{
    display: inline-block;
    width: 48%;
    margin-right: 20px;
}

#cnt.top #block5 ul li:last-child{
    margin-right:0px;
}

#cnt.top #block5 ul li a{
    transition: opacity 0.3s;
}

#cnt.top #block5 ul li a:hover{
    opacity: 0.8;
}

#cnt.top #block6 dl.news1{
    display: flex;
    gap:10px;
    height: 200px;
}

#cnt.top #block6 dl.news1 dt{
   
    white-space: nowrap;
    align-items: center;
    text-align: center;
    line-height: 200px;
    background-color: var(--black-color);
    color: var(--white-color);
    width: 18%;
    padding: 0 5px;
}

#cnt.top #block6 dl.news1 dl.news2{
    display: flex;
    gap:2em;
}

#cnt.top #block6 dl.news1 dl.news2 dt{
    color: var(--black-color);
    background-color: var(--white-color);
    line-height: normal;
}

#cnt.top #block6 dl.news1 dl.news2 dd{
    width: 80%;
}


#cnt .fa-regular{
    color: #005CAC;
    padding-right: 10px;
    font-size: 2.2rem;
}

#cnt h2.h2title{
    font-size: 1.8rem;
    margin-bottom: 1.5em;
}


#cnt.company dl{
    display: flex;
    border-bottom: 1px solid #707070;
    & dt{
        width: 25%;
        text-align: center;
        margin: 15px 0;
    }
    & dd{
        margin: 15px 0;
    }
}


#cnt.company h3{
    font-size: 1.4rem;
    margin-bottom: 1.5em;
}

#cnt.company div.map{
    text-align: center;
}


#cnt.company div.map iframe{
    width: 70%;
}

#cnt.inquire p.tel{
    font-size: 1.8rem;
    margin:1em 0 1em 1em;
}

#cnt.inquire h3{
    font-size: 1.4rem;
    margin-bottom: 0.5em;
    font-weight: bold;
}

#cnt.inquire h3 em::before{
    content: "　";
}

#cnt.inquire h3 em{
    font-size: 1.0rem;
    color: #F81010;
}

#cnt.inquire #block2 ul{
    margin-left:1.0em;
    & li{
        margin-bottom: 0.3em;
    }
}


#cnt.inquire #block2 ul li label:hover{
    cursor: pointer;
}

#cnt.inquire #block3 textarea{
    margin-left: 1.0em;
    border-radius: 10px;
    border: 1px solid #ccc;
}

#cnt.inquire #block4 dl{
    margin-bottom: 1.0em;
    margin-left: 1.0em;
}

#cnt.inquire #block4 dl dt{
    margin-bottom: 0.3em;
}

#cnt.inquire #block4 dl dt em{
    color: #F81010;
    font-size: 0.8rem;
}

#cnt.inquire #block4 dl dt em::before{
    content: "　";
}

#cnt.inquire #block4 dl dd input.inputtext{
    width: 70%;
    border-radius: 5px;
    border:1px solid #ccc;
    
}

#cnt.inquire #block4 dl dd input.radius{
    border-radius: 5px;
    border:1px solid #ccc;
}

#cnt.inquire #block4 dl dd select#state{
    border-radius: 5px;
    border:1px solid #ccc;
}



#cnt.pride div.container div.leftbox{
        float: left;
        width: 60%;
}

#cnt.pride div.container div.rightbox{
        float: right;
        width: 38%;
}


#cnt.recruit #block2 dl{
    display: flex;
    border-bottom: 1px solid #707070;
    & dt{
        width: 25%;
        text-align: left;
        padding-left: 5px;
        margin: 15px 0;
    }
    & dd{
        margin: 15px 0;
    }
}

#cnt.area ul li{
    margin-left:2em;
    list-style-type: disc;
}

} /*mediascreen 960px end */