@charset "utf-8";
@import "base.css";
@import "common.css";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');
/*#################### 基本設定 ####################*/

/*通常*/
#MainImg { margin-bottom: 5px; }

/*お正月
#MainImg {
	background:url(../../img/main_img_out_newyear.jpg) center no-repeat;
	height:500px;
	margin:20px 0 40px;
    overflow: hidden;
}
#MainImg .newyear {
	text-align: center;
	height: auto;
}
*/

#MainImg ul img.pc { width: auto;}
#MainImg ul img.sp { display: none;}
@media screen and (max-width: 1200px) {

}

#MainImg .wrap {
    position: relative;
    /*background: url(../../img/main_img_in_newyear2018.jpg) no-repeat;*/
    max-width: 1100px;
    width: 100%;
    background-size: cover;
    margin: 0 auto;
}
#MainImg p { position: absolute; display: none; }
#MainImg p a {
    display: block;
    background: url(../../img/btn-recruit.png) 245px 190px no-repeat;
    text-indent: -9999px;
}
#MainImg .object-fit-img {
  object-fit: cover;
  object-position: bottom;
  font-family: 'object-fit: cover; object-position: bottom';
}
#MainImg .bx-wrapper {
    max-width: 1440px !important;
    width: 100%;
    margin: 0 auto;
}
#MainImg .bx-viewport {
    background: transparent !important;
    border: 0;
    overflow: visible !important;
    z-index: 1;
}
#MainImg .bx-viewport li { margin: 0 30px 0 0;}

.bx-wrapper {
    box-shadow: none !important;
    border: none !important;
}
.bx-wrapper .bx-controls .bx-prev {background: url(../lib/bxslider/images/controls.png) no-repeat 0 -32px;}
.bx-wrapper .bx-controls .bx-next {background: url(../lib/bxslider/images/controls.png) no-repeat -43px -32px;}

.bx-wrapper:nth-child(2) .bx-controls { display: none;}

@media screen and (max-width: 1200px) {
    .bx-wrapper .bx-prev {
      left: 25px !important;
    }
    .bx-wrapper .bx-next {
      right: 25px !important;
    }
}
@media screen and (min-width: 1400px) {
    .bx-wrapper .bx-prev {
        left: -25px !important;
    }
    .bx-wrapper .bx-next {
        right: -25px !important;
    }
}
#ContentsList {
    max-width: 980px;
    width: 100%;
    /*margin: 0 auto 55px;*/
}
#ContentsList .sympathy {
    background: #fff;
    padding: 20px;
    margin-bottom: 15px;
    line-height: 200%;
}
#ContentsList .sympathy strong {
    font-family: "Roboto Slab", Garamond, "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-size: 18px;
    text-align: center;
}
#ContentsList .sympathy p {
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0.075em;
}

#ContentsList .sympathy.corona{
    padding: 25px 100px;
    border: 5px solid #EBEBEB;
}
#ContentsList .sympathy.corona p{
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}
#ContentsList .sympathy.corona .underLineTitle{
    margin-bottom: 1.5em;
    text-align: center;
}
#ContentsList .sympathy.corona .underLineTitle span{
    padding-bottom: 0.25em;
    display: inline-block;
    border-bottom: 1px solid #C60000;
    font-weight: bold;
    font-size: 21px;
     line-height: 1.25;
}
#ContentsList .sympathy.corona .leftLineTitle{
    text-align: left;
    margin: 0 0 0.5em;
    font-size: 15px;
    border-left: 3px solid #C90F0F;
    line-height: 1;
    padding-left: 0.5em;
    font-weight: bold;
}

 #ContentsList .sympathy.corona p{
}
#ContentsList .sympathy.corona p + p{margin-top: 1em;}
#ContentsList .sympathy.corona p + .leftLineTitle{margin-top: 1.75em;}
#ContentsList .sympathy.corona .underLineTitle + p{font-size: 15px;}

.bxslider { display: block;}
.bxslider2 { display: none;}

@media screen and (max-width: 768px) {
    #ContentsList .sympathy.corona{padding: 1.5em;}
    #ContentsList .sympathy.corona p{font-size: 15px; line-height: 1.5;}
    #ContentsList .sympathy.corona .underLineTitle{margin-bottom: 1em;}
    #ContentsList .sympathy.corona .underLineTitle span{padding-bottom: 0.5em; font-size: 17px;}

}
@media screen and (max-width: 768px) {
    .bxslider { display: none;}
    .bxslider2 { display: block;}
    .bx-wrapper .bx-prev {
      left: 0px !important;
    }
    .bx-wrapper .bx-next {
      right: 0px !important;
    }
    .bx-wrapper:nth-child(1) .bx-controls { display: none;}
    .bx-wrapper:nth-child(2) .bx-controls { display:inherit;}
    #MainImg .bx-viewport li { margin: 0;}
}

#ContentsList p img { max-width: 976px; }
#ContentsList ul {
    zoom: 1;
    position: relative;
    top: 0;
    left: 3px;
    margin: 0 auto;
    text-align: center;
}
#ContentsList ul:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}
#ContentsList li {
    display: inline-block;
    max-width: 149px;
}
#ContentsList li a {
    display: block;
    height: 147px;
    text-indent: -9999px;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size:149px 147px;
}
#ContentsList li.menu01 a { background-image: url(../../img/btn-contents01_off.png); }
#ContentsList li.menu01 a:hover { background-image: url(../../img/btn-contents01_on.png); }
#ContentsList li.menu02 a { background-image: url(../../img/btn-contents02_off.png); }
#ContentsList li.menu02 a:hover { background-image: url(../../img/btn-contents02_on.png); }
#ContentsList li.menu03 a { background-image: url(../../img/btn-contents03_off.png); }
#ContentsList li.menu03 a:hover { background-image: url(../../img/btn-contents03_on.png); }
#ContentsList li.menu04 a { background-image: url(../../img/btn-contents04_off.png); }
#ContentsList li.menu04 a:hover { background-image: url(../../img/btn-contents04_on.png); }
#ContentsList li.menu05 a { background-image: url(../../img/btn-contents05_off.png); }
#ContentsList li.menu05 a:hover { background-image: url(../../img/btn-contents05_on.png); }
#ContentsList li.menu06 a { background-image: url(../../img/btn-contents06_off.png); }
#ContentsList li.menu06 a:hover { background-image: url(../../img/btn-contents06_on.png); }
#Main { max-width: 640px; }
#Sub { max-width: 306px; }
#News .newsArea {
    height: 246px;
    overflow: auto;
}
#News h2 { margin-bottom: 20px; }
#News dl {
    zoom: 1;
    clear: both;
    margin: 0 0 10px 5px;
    line-height: 1.35;
    font-size: 90%;
    border-bottom: dotted 1px #ccc;
    padding-bottom: 5px;
}
#News dl:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}
#News dt {
    float: left;
    width: 150px;
}
#News dl.yamamotohd dt {
    max-width: 90px;
    width: 14.0625%;
    line-height: 185%;
}
#News dt span {
    display: block;
    float: right;
    width: 75px;
    height: 16px;
    margin: 0.17em 0 0 0;
    background-position: 0;
    background-repeat: no-repeat;
}
#News dl.yamamoto dt span { background-image: url(../../img/ico-yamamoto.gif); }
#News dl.mrc dt span { background-image: url(../../img/ico-mrc.gif); }
#News dl.kyotate dt span { background-image: url(../../img/ico-kyotate.gif); }
#News dl.ilink dt span { background-image: url(../../img/ico-ilink.gif); }
#News dd {
    float: right;
    width: 425px;
}
#News dl.yamamotohd dd {
    max-width: 525px;
    line-height: 185%;
}
.linkBox {
    background: url(../../img/wall-link_bottom.png) bottom no-repeat;
    padding-bottom: 6px;
}
.linkBox ul {
    background: url(../../img/wall-link_top.png) top no-repeat;
    padding: 17px 12px 1px;
}
.linkBox li {
    margin-bottom: 10px;
    font-size: 0;
}
.linkBox li a:hover img {
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;
}
@media screen and (min-width: 768px) {
    .linkBox { display: none;}
    .linkBoxBtm {
        margin-top: 30px;
    }
    .linkBoxBtm ul { text-align: center;}
    .linkBoxBtm li { display: inline-block; margin: 0 10px;}
}
@media screen and (max-width: 768px) {
    .linkBoxBtm { display: none;}
}

/*ブログとFacebook*/
.sns_blog {
	text-align: center;
	margin-bottom: 55px;
	margin-top: 55px;
}
.sns_blog h2 { margin-bottom: 50px; }
#facebookFeed {
	/*float: left;*/
	width: 100%;
	display: block;
	margin-bottom: 45px;
}

.buttonArea { clear: both; width: 980px; display: block;}
.sns_blog .button {
    border-radius: 2px;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    display:block;
    text-decoration: none;
    line-height:60px;
    vertical-align: middle;
    cursor: pointer;
}
.sns_blog .fb.button {
	width: 430px;
	padding: 0;
	height: 60px;
	margin: 25px auto 0;
	background:#3a5896;
	clear:both;
}
.sns_blog .fb.button a { color: #ffffff; text-decoration: none; font-weight:bold !important;}
#blogFeed {
	/*float: right;*/
	width: 100%;
	display: block;
}
.sns_blog .blog.button {
	width: 430px;
	padding: 0;
	height: 60px;
	margin: 25px auto 0;
	background: #fed93e;
	clear:both;
}
.sns_blog .blog.button a { color: #6d5417; text-decoration: none; font-weight:bold !important;}
.feed {
	width: 33.333333333%;
	float: left;
	padding-bottom: 20px;
}
.feed a { text-decoration: none;}
.feed a:hover { text-decoration:underline;}
.feed dl {
	/*width: 210px;*/
	padding: 0 15px;
	margin: 15px auto 0;
	text-align: left;
}
.feed dt { margin-bottom: 5px;}
.feed .message i { margin-left: 5px;}
.feed .picture {
	height: 227px;
	padding: 0;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: 305px;
	max-height: 227px;
}
.feed .picture img {
	/*width: 210px;
	height: 210px;
	object-fit: cover;
	border: solid 1px #d2d2d2;*/
	height: auto;
    margin: auto;
    text-align: center;
    max-height: 210px;
    max-width: 280px;
}
.feed .picture a:hover { opacity: 0.7;}

.top_kumamon {margin-top: 40px;}
.top_kumamon h2  a{
    background: #ffffff;
    border-top: solid 2px #cccccc;
    padding: 14px 0 12px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
    color: #FDD000;
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
}
@media screen and (max-width: 767px) {
    .top_kumamon h2  a{
        padding: 14px 10px 12px;
        font-size: 16px;
        line-height: 1.25;
    }
}

.top_kumamon ul {
    margin: 0 !important;
    position: inherit !important;
    top: 0 !important;
    text-align: inherit !important;
}
.top_kumamon li {
    display: inline-block;
    width: 48% !important;
    max-width: none !important;
    text-align: left;
    padding-right: 10px;
}
.top_kumamon li img { width: 100%; height: auto;}
.top_kumamon li:last-child {
    text-align: right !important;
    padding-left: 10px;
    padding-right: 0 !important;
}
.top_kumamon p.more {
    text-align: right;
    margin-top: 15px;
}
.top_kumamon li a {
    height: inherit !important;
    text-indent: inherit !important;
}
.top_kumamon li a:hover img { opacity: 0.7;}

/*外部リンク*/
#News dl.yamamotohd .externalLink{
}
#News dl.yamamotohd .externalLink:after {
    content:"";
	display:inline-block;
	background-image:url(../../img/linkBtn.gif);
	background-repeat:no-repeat;
	width:12px;
	height:12px;
}
#News dl.yamamotohd .externalLink:hover:after {
	opacity: 0.5 ;
}
@media screen and (min-width: 1200px) {
    .bx-wrapper { width: 100%;}
}
@media screen and (min-width: 813px) {
    #MainImg .object-fit-img {
        object-fit:none;
    }
}
@media screen and (min-width: 768px) and (max-width: 1399px) {
        #MainImg {
            /*height:calc(100vw / 1400 * 468);*/
            overflow:hidden;
        }

}

@media screen and (min-width: 768px) {
    #MainImg {
        /*height: 574px;*/
        /*background: url(../../img/main_img_out_newyear.jpg) center no-repeat;*/
    }
	/*#MainImg .newyear img.pc { display: block; width:100%; max-width: 1440px; margin: auto; }
	#MainImg .newyear img.sp { display: none;}*/
    #MainImg .wrap {
        /*min-height: 574px;*/
        height: auto;
        background-position: center center;
    }
    #MainImg p {
        top: 190px;
        left: 50%;
        width: 245px;
        height: 190px;
    }
    #MainImg p a { height: 190px; }
    #MainImg p a:hover { background-position: 0 0; }

    #ContentsList ul { margin: 40px -16px 0 0; }
    #ContentsList li { width: 15.20408163265306%; }
    #Container { margin-bottom: 45px; width: 100%; max-width: inherit; padding: 0; }
	#Container .contents { max-width: 980px; margin: auto;}
    #Main {
        /*float: left;
        width: 65.30612244897959%;
        margin-left: 5px;*/
    }
    #News .sp { display: none; }
    #News dl.yamamotohd dt { float: left; }
    #News dl.yamamotohd dd {
        float: right;
        width: 82.03125%;
    }
    .sns_blog .sp { display: none; }

    #Sub {
        float: right;
        width: 31.22448979591837%;
        margin-right: 5px;
    }
    #Sub .pc{display: none;}
}

@media screen and (max-width: 767px) {
    #SlideBase { }
    #MainImg {
        position:relative;
        overflow: hidden;
        padding-top: calc(100vw /375 * 170);
        height:0;
        margin-bottom: 0;
    }
    .bx-wrapper {
        position:absolute !important;
        top:0;
        left:0;
        width:100%;
        height:100%;

    }
	#MainImg .newyear img.pc { display: none;}
	#MainImg .newyear img.sp { display: block;}


    #MainImg .wrap {
        height: 195px;
        background-position: top center;
/*        max-height:350px;
        background-size:cover;*/
    }
    #MainImg p {
        top:70px;
        left: 50%;
        width: 90px;
        height: 90px;
    }
    #ContentsList p.topbanner { text-align:center;}
    #ContentsList .topbanner img{
        width:94% !important;
        text-align:center;
        max-width:auto;
    }
    #MainImg p a { height: 70px; }
	#Container { margin-bottom: 45px; width: 100%; max-width: inherit; padding: 0; }
    #ContentsList li {
        margin: 0 1.428571428571429% 0 0;
        width: 48.57142857142857%;
    }
    #ContentsBase {
        background: #f9f9f9;
        padding-top: 0;
    }
    #Main {
        margin: 0 auto;
        margin-bottom: 2em;
    }
    #News .pc { display: none; }
    #News h2.sp {
        padding: 0.5em;
        background: #fff;
        border-top: 2px solid #ddd;
    }
    #News h2.sp:before {
        content: "■";
        color: #36bfef;
        padding-right: 5px;
    }
    #News dl.yamamotohd dd { width: 100%; }
    #Sub {
        display: block;
        margin: 0 auto;
        margin-bottom: 2em;
    }
	/*ブログとFacebook*/
	.sns_blog h2.sp {
		padding: 0.5em 0.5em;
		background: #fff;
		border-top: 2px solid #FDD000;
		border-bottom: 1px dotted #aaa;
		font-size: 18px;
		color: #FDD000;
		line-height: 1.5;
		font-weight: bold;
		margin-bottom: 20px;
	}
	.sns_blog h2.pc { display: none;}
	#facebookFeed,
	#blogFeed{
		float: none;
		width: 100%;
	}
	.buttonArea { width: 100%; display: block;}
	.sns_blog .fb.button,
	.sns_blog .blog.button{width: 90%; margin:0 auto 50px; float: none;}
	#blogFeed {
		float: none;
		width: 100%;
	}
	.feed {
		width: 90%;
		float: none;
		margin-left: auto;
		margin-right: auto;
	}
	.feed .picture {
		max-width: 150px;
		height: auto;
		float: left;
		margin-right: 20px;
	}
	.feed dl {
		width: auto;
		text-align: left;
	}
	.feed .picture img {
		max-width: 150px;
		height: auto;
		object-fit: cover;
		border: solid 1px #d2d2d2;
	}
    .top_kumamon li {
        display:block;
        width:95% !important;
        max-width: none !important;
        text-align: center;
        padding: 0 !important;
        padding-bottom: 10px !important;
    }
    .top_kumamon p.more { padding-right: 5%;}

}

/*除菌・抗菌バナー*/
.contentsBox.covid19 { margin-bottom: 20px;}
.contentsBox.covid19 a:hover { opacity: 0.8;}
.contentsBox.covid19 img { width: 100%; height: auto;}
@media only screen and (min-width: 768px) {
    .contentsBox.covid19 img.sp { display: none;}
}
@media only screen and (max-width: 767px){
    .contentsBox.covid19 img.pc { display: none;}
    .contentsBox.covid19 img.sp { display: block; width: 94%; height: auto; margin: 15px auto;}
}


/*重要なお知らせ*/
.topNews .incident { margin-bottom: 3em; }
.topNews .incident p { text-align: center; font-size: 14px;}
.topNews .incident p a {
    font-size: 14px;
    color: #e62828;
    font-weight: bold;
}
.topNews .incident a:after{
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    margin-left: 0 !important;
}

h2.yellowUnderLineTitle {
	position: relative;
	text-align: center;
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 2em;
}

.yellowUnderLineTitle:before {
    content: "";
    width: 40px;
    height: 2px;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FDD000;
}

@media only screen and (max-width: 767px){
    .topNews .toptitle{font-size: 16px;}
    .topNews .incident p{font-size: 1.4rem;}
    .topNews .incident {margin-bottom: 1.5em;}

}

/*お知らせ*/
.news { background: #fff; padding: 80px;}
.news .newsBg {
	background: #f6f6f6; padding: 30px;margin-bottom: 1.5em;}

.news .newsBg dl dt,.news .newsBg dl dd { display:inline-block; padding: 10px 0;}
.news .newsBg dl dt { width: 11%;}
.news a.more {
	border: solid 1px #222222;
	border-radius: 3px;
	line-height: 45px;
	width: 30%;
	margin: auto;
	margin-top: 15px;
	display: block;
	text-decoration: none;
	text-align: center;
	font-size: 14px;
}
.news a.more:hover { background: #f5f5f5; border-color: #ccc; color: #222; transition: 0.5s;}

@media only screen and (max-width: 767px){
	.news { background: #fff; padding: 40px 20px;}
	.news .newsBg dl dt,.news .newsBg dl dd { display: block;}
	.news .newsBg dl dt { width: auto; padding-top: 0; padding-bottom: 0;}
	.news .newsBg dl dd { padding-top: 5px;}
	.news a.more { width: 100%;}


}

/*社内報*/
.newsletter {padding: 80px;background: #F6F6F6;}
.newsletter .newsletterBg { background: #fff; padding: 30px;margin-bottom: 1.5em;}
.newsletter .newsletterBg dl dt,.newsletter .newsletterBg dl dd { display:inline-block; padding: 10px 0;}
.newsletter .newsletterBg dl dt { width: 11%;}
.newsletter a.more {
	border: solid 1px #222222;
	border-radius: 3px;
	line-height: 45px;
	width: 30%;
	margin: auto;
	margin-top: 15px;
	display: block;
	text-decoration: none;
	text-align: center;
	font-size: 14px;
}
.newsletter a.more:hover { background: #fff; border-color: #ccc; color: #222; transition: 0.5s;}

/*外部リンク*/
.topNews a.externalLink,
.newsletter a.externalLink{
	position:relative;
}
.topNews a.externalLink:after,
.newsletter a.externalLink:after {
    content:"";
	background-image:url(../../img/linkBtn.gif);
	background-repeat:no-repeat;
	width:12px;
	height:12px;
    position: relative;
    display: inline-block;
    margin-left: 0.5em;
}
.topNews a.externalLink:hover:after,
.newsletter a.externalLink:hover:after {
	opacity: 0.5 ;
}

@media only screen and (max-width: 767px){
	.newsletter { padding: 40px 20px;}
	.newsletter .newsletterBg dl dt,.newsletter .newsletterBg dl dd { display: block;}
	.newsletter .newsletterBg dl dt { width: auto; padding-top: 0; padding-bottom: 0;}
	.newsletter .newsletterBg dl dd { padding-top: 5px;}
	.newsletter a.more { width: 100%;}
}

.bgfoot { background:url("../../img/bgfoot.png") 50% 50% no-repeat; padding: 80px;}
.bgfoot ul { display: flex; justify-content: space-between; max-width: 870px; margin: auto;}
.bgfoot li { width: 400px; }
.bgfoot a { background: #FDD000;
	color: #fff;
	text-decoration: none;
	text-align: center;
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-size: 30px;
	border: solid 1px #fff;
	padding: 50px;
	letter-spacing: 0.075em;
	transition : 0.5s;
}
.bgfoot a:hover { opacity: 0.8;}
.bgfoot a span { display: block; font-size: 16px; margin-top: 8px;}
.bgfoot a img { display: block; margin: 8px auto 0;}

@media only screen and (max-width: 767px){
	.bgfoot { padding: 40px 20px;}
	.bgfoot ul { display: block;}
	.bgfoot li { width: 100%; margin-bottom: 20px;}
	.bgfoot a { padding: 25px; font-size: 24px;}
	.bgfoot a img { width: 15%;}
	.bgfoot a span { font-size: 14px;}
}

.groupcompany { padding: 80px 0;}
.groupcompany ul { display: flex; justify-content: space-between; margin-bottom: 60px;}
.groupcompany ul li { width: 30%; text-align: center;}
.groupcompany ul li a { display: block; transition : 0.5s; text-decoration: none;}
.groupcompany ul li .logoimg {
	height: 180px;
	background: #F6F6F6;
	position:relative;
	width: 100%;
	margin-bottom: 15px;
}
.groupcompany ul li .logoimg img {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  height: 88px;
}
.groupcompany ul li a .logoimg:hover{ opacity: 0.5; transition: 0.5s;}
.groupcompany ul li a.more {
	border: solid 1px #222222;
	border-radius: 3px;
	line-height: 45px;
	width: 90%;
	margin: auto;
	margin-top: 15px;
}
.groupcompany ul li a.more:hover { background: #fff; border-color: #ccc; color: #222;}
.groupcompany ul li a.more:after {
	content: "";
	background: url("../../img/linkmore.png") no-repeat;
	width: 18px;
	height: 7px;
	display: inline-block;
	margin-left: 8px;
	vertical-align: middle;
}
@media only screen and (max-width: 767px){
	.groupcompany { padding: 40px 20px;}
	.groupcompany ul { display: block;}
	.groupcompany ul li { width: 100%; margin-bottom: 30px;}
	.groupcompany ul li .logoimg {  height: auto; padding:40px 20px; width: auto;}
	.groupcompany ul li .logoimg img {height: 90px; position:relative; top: inherit; left: inherit; margin: auto; transform: none;}
}


/*end*/
