/* スライダー
================================================== */
.sp-slide {
    text-align: center;
}
.sp-image {
    max-width: 1500px !important;
}



/* メイン
================================================== */
#tp_main_bg {
    padding: 25px 0 50px 0;
    background: url(../img/tp_main_bg.png) center 318px repeat-x;
}
#tp_main {
}
#tp_main h1 {
    text-align: center;
}
@media only screen and (max-width: 767px) {
    #tp_main_bg {
        padding: 20px 0 20px 0;
        background: none;
    }
}

.tp_sub {
    margin-top: 50px;
    padding: 30px;
    background: url(../img/tp_sub_bg.jpg) center center no-repeat;
    background-size: cover;
}
.tp_sub h2 {
    margin-bottom: 30px;
    text-align: center;
}
@media only screen and (max-width: 767px) {
    .tp_sub {
        margin-top: 30px;
        padding: 30px 10px;
    }
    .tp_sub h2 {
        margin-bottom: 10px;
    }
}


.tp_sub3 {
    margin-top: 50px;
    padding: 30px;
    background: url(../img/tp_sub3_bg.jpg) center center no-repeat;
    background-size: cover;
}
.tp_sub3 h2 {
	color:#051493;
	font-size:24px;
	font-weight:bold;
    margin-bottom: 30px;
    text-align: center;
}
@media only screen and (max-width: 767px) {
    .tp_sub3 {
        margin-top: 30px;
        padding: 30px 10px;
    }
    .tp_sub3 h2 {
        margin-bottom: 10px;
    }
}


/*神戸西事務所を開設しました*/
.tp_sub4 {
    margin-top: 50px;
    padding: 30px;
	color:#FFF;
    background-color:#051493;
    background-size: cover;
}
.tp_sub4 h2 {
	color:#FFF;
	font-size:24px;
	font-weight:bold;
    margin-bottom: 20px;
    text-align: center;
	line-height:1.4em;
}
@media only screen and (max-width: 767px) {
    .tp_sub4 {
        margin-top: 30px;
        padding: 30px 10px;
    }
    .tp_sub4 h2 {
        margin-bottom: 10px;
		font-size:18px;
    }
}

/*本社機能移行のお知らせ*/
.tp_sub5 {
	margin-top: 40px;
	padding: 30px;
	color: #FFF;
	background-color: #F00;
	background-size: cover;
}
.tp_sub5 h2 {
	color: #FFF;
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 0px;
	text-align: center;
	line-height: 1.4em;
}
@media only screen and (max-width: 767px) {
    .tp_sub5 {
        margin-top: 30px;
        padding: 30px 10px;
    }
    .tp_sub5 h2 {
        margin-bottom: 0px;
		font-size:18px;
    }
}
.tp_sub5_desc_wrap {
    margin-top: 30px;
    width: 102%;
    margin-left: -1%;
}
.tp_sub5_desc_wrap .box {
    float: left;
    padding: 20px;
    width: 48%;
    margin: 0 1% 20px 1%;
    border: 2px solid #051493;
    background: #fff;
    box-sizing: border-box;
}
.tp_sub5_desc_wrap .box h3 {
    padding-bottom: 4px;
    margin-bottom: 10px;
    color: #051493;
    font-size: 17px;
    font-weight: bold;
    border-bottom: 1px solid #051493;
}
.tp_sub5_desc_wrap .box h3 span.red {
    padding: 0px 4px;
    margin-bottom: 10px;
    color: #FFF;
	background:#F00;
    font-size: 14px;
    font-weight: bold;
}
.tp_sub5_desc_wrap .box p.address {
    font-size: 15px;
    line-height: 1.2em;
}
.tp_sub5_desc_wrap .box p.area {
    font-size: 11px;
    line-height: 1.5em;
	color:#FFF;
	background:#051493;
	width:9em;
	padding:4px 6px;
	margin:6px 0;
}
.tp_sub5_desc_wrap .box p.area_text {
    font-size: 12px;
    line-height: 1.3em;
}
@media only screen and (max-width: 767px) {
    .tp_sub5_desc_wrap {
        width: 100%;
        margin-left: 0;
    }
    .tp_sub5_desc_wrap .box {
        float: none;
        padding: 10px;
        width: 100%;
    }
}







/* 北陸地方を強化中
================================================== */
#tp_area_bg {
	min-height: 800px;
	background: url(../img/tp_area_bg.png) center center no-repeat;
	background-size: cover;
}
#tp_area .tp_area_inner {
    margin-top: 50px;
    padding: 30px;
    background: #fff;
    box-sizing: border-box;
}
#tp_area .tp_area_inner h2 {
    text-align: left;
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    #tp_area_bg {
        min-height: 0;
        background: none;
    }
    #tp_area .tp_area_inner {
        margin-top: 0;
        padding: 20px 0 0px 0;
    }
    #tp_area .tp_area_inner h2 {
        text-align: center;
    }
}



/* 業務提携
================================================== */

#tp_partner_bg {
    padding: 50px 0;
    background: url(../img/tp_partner_bg.jpg) center center no-repeat;
    background-size: cover;
}
@media only screen and (max-width: 767px) {
    #tp_partner_bg {
        padding: 30px 0 130px 0;
        background: #e9f0fa url(../img/tp_partner_bg.jpg) center bottom no-repeat;
        background-size: 100%;
    }
}




/* クレーンオペレーター募集
================================================== */
.tp_recruit_en {
    margin: 50px 0 5px 0;
    text-align: center;
}
#tp_recruit_bg {
    padding: 50px 0;
    background: url(../img/tp_recruit_bg.jpg) center center no-repeat;
    background-size: cover;
}
@media only screen and (max-width: 767px) {
    .tp_recruit_en {
        margin: 0 5% 5px 5%;
    }
    #tp_recruit_bg {
        padding: 30px 0 130px 0;
        background: #c7e2f5 url(../img/tp_recruit_bg.jpg) center bottom no-repeat;
        background-size: 100%;
    }
}


/* レンタル事業
================================================== */
.tp_rental_en {
    margin: 50px 0 5px 0;
    text-align: center;
	
}
#tp_rental_bg {
	padding: 50px 0;
	background: url(../img/tp_rental_bg.jpg) center center no-repeat;
	background-size: cover;
	min-height: 460px;
	color: #FFF;
}
@media only screen and (max-width: 767px) {
    .tp_rental_en {
        margin: 0 5% 5px 5%;
    }
    #tp_rental_bg {
        padding: 30px 0 140px 0;
        background: #051493 url(../img/tp_rental_bg.jpg) center bottom no-repeat;
        background-size: 100%;
		min-height: 0px;
    }
}






/* 業務実績 企業情報
================================================== */
#tp_exsample_bg {
    padding: 50px 0;
}
@media only screen and (max-width: 767px) {
    #tp_exsample_bg {
        padding: 30px 0;
    }
}



/* 三矢マシナリーTOPICS
================================================== */
#tp_topics_bg {
    padding: 50px 0;
    background: #f0f0f0;
}
#tp_topics h2 {
    color: #051493;
    font-size: 23px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}
#tp_topics h2::before {
    content: url(../img/tp_h2_line_left.png);
    display: inline-block;
    vertical-align: middle;
    margin-right: 18px;
}
#tp_topics h2::after {
    content: url(../img/tp_h2_line_right.png);
    display: inline-block;
    vertical-align: middle;
    margin-left: 18px;
}
@media only screen and (max-width: 767px) {
    #tp_topics_bg {
        padding: 30px 0;
    }
    #tp_topics h2 {
        font-size: 21px;
        margin-bottom: 10px;
    }
    #tp_topics h2::before {
        content: none;
    }
    #tp_topics h2::after {
        content: none;
    }
}

#tp_topics h3 {
    margin-top: 10px;
    font-size: 16px;
}
#tp_topics p.date {
    color: #777;
    font-size: 11px;
}
#tp_topics p.text {
    font-size: 11px;
    line-height: 1.4em;
}
#tp_topics p.btn {
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid #aaa;
}
#tp_topics p.btn a {
    display: block;
    color: #051493;
    font-size: 11px;
    text-align: right;
}
#tp_topics p.btn a::before {
    content: url(../img/tp_arrow.png);
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
@media only screen and (max-width: 767px) {
    #tp_topics h3 {
        font-size: 15px;
    }
}



/* 新着情報
================================================== */
#tp_news_bg {
    padding: 50px 0 0 0;
}
#tp_news h2 {
    color: #051493;
    font-size: 23px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}
#tp_news h2::before {
    content: url(../img/tp_h2_line_left.png);
    display: inline-block;
    vertical-align: middle;
    margin-right: 100px;
}
#tp_news h2::after {
    content: url(../img/tp_h2_line_right.png);
    display: inline-block;
    vertical-align: middle;
    margin-left: 100px;
}
@media only screen and (max-width: 767px) {
    #tp_news_bg {
        padding: 30px 0;
    }
    #tp_news h2 {
        font-size: 21px;
        margin-bottom: 10px;
    }
    #tp_news h2::before {
        content: none;
    }
    #tp_news h2::after {
        content: none;
    }
}

#tp_news .inner {
    height: 550px;
    padding-top: 10px;
    overflow-y: scroll;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}
#tp_news .inner dl {
    display: block;
    padding: 0 20px 15px 0;
}
#tp_news .inner dl dt {
    clear: left;
    float: left;
    margin: 0 0 1em 0em;
    width: 9em;
    font-weight: normal;
    font-size: 12px;
    line-height: 14pt;
}
#tp_news .inner dl dd {
    margin-bottom: 2em;
    margin-left: 0em;
    padding-left: 9em;
    font-size: 12px;
    line-height: 14pt;
}
#tp_news .inner dl dd p {
    font-size: 12px;
    line-height: 14pt;
}
#tp_news .inner dl dd p.title {
    margin-bottom: 5px;
    color: #051493;
    font-size: 15px;
    font-weight: bold;
}
#tp_news .inner dl dd a {
    color: #c00;
}



@media only screen and (max-width: 767px) {
    #tp_news {
        padding: 10px;
    }
    #tp_news .inner {
        height: 400px;
    }
    #tp_news .inner dl dt {
        float: none;
        width: 100%;
        margin: 0 0 5px 0;
        font-size: 12px;
        line-height: 1.3em;
    }
    #tp_news .inner dl dd {
        padding-left: 0em;
        font-size: 12px;
        line-height: 1.3em;
    }
    #tp_news .inner dl dd p.title {
        font-size: 14px;
        line-height: 1.3em;

    }
    #tp_news .inner dl dd p {
        font-size: 12px;
        line-height: 1.3em;
    }
}


/*休暇テーブル*/

.news_table01 {
	margin-top: 6px;
	margin-bottom: 4px;
}
.news_table01 tr th {
	font-weight: normal;
	color: #333;
	text-align: left;
	border: 1px solid #CCC;
	padding: 3px;
}

.news_table01 tr td {
	border: 1px solid #CCC;
	text-align: center;
	padding: 3px;
}
.news_table01 tr .red {
	color: #C30;
	background-color:#FDD;
}
.news_table01 tr .blue {
	color:#03F;
}
.news_table01 tr .red_blue {
	color: #03F;
	background-color: #FFF8F8;
}
.news_table01 tr .white_red {
	color: #C30;
}


/*カレンダータイプテーブル*/


.news_table02 {
	margin-top: 6px;
	margin-bottom: 4px;
}
.news_table02 tr th {
	border: 1px solid #CCC;
	text-align: center;
	padding: 2px;
	line-height:1.5em;
	width:16%;
}

.news_table02 tr td {
	border: 1px solid #CCC;
	text-align: center;
	padding: 3px;
	line-height:1.3em;
	width:12%;
}
.news_table02 tr .red {
	color: #C30;
	background-color:#FDD;
}
.news_table02 tr .blue {
	color:#03F;
}
.news_table02 tr .red_blue {
	color: #03F;
	background-color: #FFF8F8;
}

/*スマホ対応サイト用*/
.across_month{
	width:45%;
	float:left;
}
@media only screen and (max-width: 767px) {
.across_month{
	width:95%;
	float:none;
}
}
