/* CSS Document */


/** -----------------------------
 ** CatchCopy
 ** ---------------------------*/
#copy{
    margin-top:40px;
    margin-bottom:40px;
    font-size: 26px;
    line-height: 180%;
}

#faKabutoyama .catchcopy{
    max-width: 860px;
    margin: 30px auto 50px;
    padding: 40px 48px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(14, 63, 114, 0.08);
}

#faKabutoyama .catchcopy p{
    line-height: 2;
    margin-bottom: 1.25em;
}

#faKabutoyama .catchcopy > p:last-child{
    margin-bottom: 0;
}

#faKabutoyama .nameChange .label{
    margin-bottom: 0.35em;
}

#faKabutoyama .nameChange{
    margin-bottom: 1.5em;
}

#faKabutoyama .nameChange .arrow{
    margin: 1.1em 0;
}

#faKabutoyama .nameChange .name{
    font-size: 1.15em;
    margin-bottom: 1.1em;
    line-height: 1.6;
}

#faKabutoyama .nameChange .newName .name{
    margin-bottom: 0;
}

@media screen and (max-width:575px){
    #faKabutoyama .catchcopy{
        margin-top:20px;
        margin-bottom:40px;
        padding: 24px 18px;
        font-size: 20px;
        line-height: 180%;
    }
}
/**
** TOP LAYOUT
**/

#lists .item{
    background-color: white;
    border:1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 1em;
    text-align: center;
    letter-spacing: 0.1em;
}
#lists .item a{
    padding:1em;
    display: block;
}
    .itemBox{
        margin-bottom: 30px;
    }

.itemBox h4{
    text-align: left;
    letter-spacing: 0.1em;
    font-size: 22px;
}

.itemBox .dataItem{
    display: flex;
}
.itemBox .dataItem .text{
    width: 50%;
}
.itemBox .text p{
    font-size: 16px;
}
.itemBox .text address{
    font-size: 14px;
	padding-bottom: 8px;
}

/**
**
**/

#faKani .pageHeader{ background:url("../images/kani/mainimage.jpg") no-repeat top center; }
#faKabutoyama .pageHeader{ background:url("../images/kabutoyama/mainimage.jpg") no-repeat top center; }
#faYamato .pageHeader{ background:url("../images/yamato/mainimage.jpg") no-repeat top center; }
#faDota .pageHeader{ background:url("../images/dota/mainimage.jpg") no-repeat top center; }
#faTanyou .pageHeader{ background:url("../images/tanyou/mainimage.jpg") no-repeat top center; }
.pageHeader{
    background-size: cover;
    height: 325px;
    position: relative;
    margin-bottom: 40px;
}

@media screen and (min-width:576px){
    
}
.pageHeader .label{
    position: absolute;
    top:0;
    right:0;
    max-width: 380px;
    width: 380px;
    background:url("../images/label_bg.png") no-repeat top left;
    background-size: cover;
    height: 79px;
}

.pageHeader .label h2{
    color: white;
    font-size: 25px;
    padding-top:  25px;
    padding-left: 25px;
}
.pageHeader .label h2 small{
    color: white;
    font-size: 10px;
    padding-left: 20px;
}
@media screen and (max-width:575px){
    .pageHeader .label{
        width: 260px;
    }
    .pageHeader .label h2{
        font-size: 18px;
    }
}

#cAbout .d-flex{
    background: #fff;
}
#cAbout .d-flex .left{
    width: 50%;
    padding: 40px;
}
#cAbout .d-flex .right{
    flex: 1;
}

#cAbout .left dl{
    display: flex;
    justify-content: flex-start;
}
#cAbout .left dl dt{
    width: 5em;
}
#cAbout .left dl dd{
    flex:1;
}

#cAbout .d-flex .right .photo{
    width: 100%;
    height:100%;
    min-height:350px;
    background-position: center center;
	
}

#faKani #cAbout .d-flex .right .photo{ background-image: url("../images/kani/photo_about.jpg") }
#faKabutoyama #cAbout .d-flex .right .photo{ background-image: url("../images/kabutoyama/photo_about2.jpg");background-size:cover;}
#faYamato #cAbout .d-flex .right .photo{ background-image: url("../images/yamato/photo_about.jpg") }
#faDota #cAbout .d-flex .right .photo{ background-image: url("../images/dota/photo_about2.jpg") }
#faTanyou #cAbout .d-flex .right .photo{ background-image: url("../images/tanyou/photo_about_v2.jpg") }

#faTanyou #cAbout .d-flex .right .photo{
	background-position: center center;
	background-size: contain;
}

@media screen and (max-width:991px){
    #cAbout .d-flex .right{
        display: none;
    }
    #cAbout .left{
        width: 100%!important;
    }
    #cAbout .left dl dt{
        width: 100%;
    }
    #cAbout .left dl dd{
        flex:auto;
        width: 100%;
    }
}


/**
 ** Gallery
 ** -------------------------------------------
 **/
#gSub img{
    cursor: pointer;
}
#gSub div{
    text-align: center;
    margin-bottom: 20px;
}
#gSub div div{
    position: relative;
    padding:0 10px;
}
#gSub div div::after{
    content:' ';
    display: block;
    position: absolute;
    bottom: 3px;
    right:  13px;
    width: 11px;
    height: 11px;
    background: url("../images/zoomicon.png") no-repeat;
}
#gSub div div img:hover{
    outline: 5px white;
}

@media screen and (max-width:575px){
    .main{
        margin-bottom: 50px;
    }
}

/* 組立加工品目 */
.products{
	margin-bottom: 50px;
}
.products h4{
    
}
.products h5{
    margin-bottom: 15px;
    padding-bottom: 8px;
    padding-left: 16px;
	border-left: 5px solid #ccc;
	
}
.products .row div div{
    text-align: center;
}

.products h4{
	margin-bottom: 0;
}

.products .photoFrame{
	padding: 15px;
	background-color: white;
	border:1px solid #ccc;
	margin-bottom: 30px;
}

/* 技術 */

.cTech dl{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.cTech dl dt{
    width: 30%;
    padding: 40px 0 40px 0;
    border-right: 1px solid #ccc;
    font-size: 20px;
    color: #0b487b;
    text-align: center;
    letter-spacing: 0.25em;
}
.cTech dl dd{
    flex:1;
    flex-grow: 1;
    padding: 40px 0 40px 80px;
}
.cTech .contentBox div{
    padding: 60px 0 0 0;
}

.cTech td{
    padding-left: 0;
    padding-right:2em;
}

@media screen and (max-width:575px){
    .cTech .contentBox div{
        padding:10px;
    }
    .cTech dl dt{
        width: 100%;
        padding:0;
    }
    .cTech dl dd{
        padding:10px;
        font-size: 12px;
    }
    .cTech .table tr td{
        font-size: 12px;
        padding: 5px;
    }
}

/* Map*/

.map iframe{
    width: 100%;
    margin-bottom: 60px;
}


/* Kabutoyama Hinmoku*/
#faKabutoyama #hinmoku h4{
    background: -webkit-linear-gradient(135deg, #006699, #0e3f72);
    background: -o-linear-gradient(135deg, #006699, #0e3f72);
    background: linear-gradient(135deg, #006699, #0e3f72);
    color:white;
    font-size: 18px;
    line-height: 28px;
    padding: 10px;
}
#faKabutoyama #hinmoku h4 span{
    font-size: 28px;
    padding-right:10px;
}
#faKabutoyama #hinmoku .left{
    min-width: 260px;
}

@media screen and (max-width:575px){
    
    #faKabutoyama #hinmoku h4{
        padding-left:60px;
    }
    #faKabutoyama #hinmoku h4 span{
        text-indent: -40px;
        margin-left: -22px;
        display: inline-block;
        padding-left: 12px;
    }
}

/* Button */
.foBtn{
	background: -webkit-linear-gradient(135deg, #006699, #0e3f72);
    background: -o-linear-gradient(135deg, #006699, #0e3f72);
    background: linear-gradient(135deg, #006699, #0e3f72);
	padding: 15px 15px;
	margin-top : 8px;
	border-radius: 5px;
	color: white;
}
.foBtn:hover{
	color: white!important;
}


/*カブトヤマ事務機のAboutレイアウト調整*/
.kabutoyama h4{
	border-top:1px solid #000;
	padding-top: 10px;
	margin-bottom: 24px;
}


/* Dota */
.eigyoHinmoku li{
	border-bottom: 1px dotted #ccc;
}
.eigyoHinmoku li strong{
	display: inline-block;
	width: 15em;
}

@media screen and (max-width:991px){
	.eigyoHinmoku li strong{
		display: block;
	}
}
.dotaTokuchou ul{
	padding-left: 0;
}
.dotaTokuchou>ul>li{
	list-style: none;
	text-indent: -1em;
	margin-left: 1em;
	margin-bottom: 1em;
	font-size: 18px;
	
}
.dotaTokuchou dl {
	margin-top: 15px;
	display: flex;
	justify-content:space-between;
	flex-wrap: wrap;
}
.dotaTokuchou dt{
	width: 12%;
	min-width:100px;
	text-indent: 0;
}
.dotaTokuchou dd{
	width: 88%;
	border-left: 2px solid #ccc;
	padding-right: 15px;
	font-size: 16px;
	text-indent: 0;
	padding-left: 1em;
}

@media screen and (max-width:991px){
	.dotaTokuchou dt{
		width: 20%;
	}
	.dotaTokuchou dd{
		width: 80%;
	}
}

@media screen and (max-width:767px){
	.dotaTokuchou dt{
		width: 30%;
	}
	.dotaTokuchou dd{
		width: 70%;
	}
}

@media screen and (max-width:575px){
	.dotaTokuchou dt{
		width: 100%;
		border-bottom: 1px dotted #ccc;
		padding-bottom: 8px;
	}
	.dotaTokuchou dd{
		width: 100%;
		border:none;
	}
}
