@charset "utf-8";
/* CSS Document */
.content-container{
min-height: calc(100vh - 16em);
}
.site-footer-bottom-bar {
border-top:none;
	
}

footer ul{
	margin-left:0;
}
img{
	vertical-align:middle;
}
a>img{
	transition:0.3s;
	margin-bottom:0 !important;
}
a:hover>img{
	opacity:0.6;
}
input,textarea{
	max-width:100%;
}
html{
	font-size:14px;
}
.site-header.left-aligned .branding img{
	max-width:250px;
}
.site-container,.main-menu-container,.main-navigation,.header-image{
	max-width:1200px;
}
main .entry-header h1{
border-bottom: 2px solid #C30D23;
padding-left: 1.5em;
	font-weight:normal;
	color:#c30d23;
}
h1,h2,h3,h4{
	letter-spacing:0.15em;
}
h3{
	font-size:1.1em;
}
.ms-thumbs-cont{
	min-width:100%;
	left:0 !important;
}
.ms-thumb-frame{
	min-width:20%;
	margin-right:0 !important;
	text-align:center;
	min-height:10%;
	padding-left:0.2em;
	padding-right:0.2em;
	box-sizing:border-box;
}
.ms-thumb-list{
	height:auto !important;
}
.ms-thumb-frame{
	max-height:120px;
	height:auto !important;

max-width:50vw;
}

.ms-thumb-frame img{
margin-top:0 !important;	
margin-left:0 !important;
margin-right:0 !important;
height:auto !important
}
main .entry-header h1:before{
display: inline-block;
content: " ";
height: 42px;
width: 32px;


background-size: 100% auto;
background-image: url(/wp-content/uploads/2021/01/mini_log.png);
background-repeat: no-repeat;
margin-right: 0.5em;
line-height: 1em;
position: absolute;
left: 0.6em;
top: 0.2em;
	
}
.two_box,.three_box,.four_box,.five_box,.six_box,.seven_box{
	display:flex;
	flex-wrap:wrap;
	list-style:none;
	margin-left:0;
	margin-right:0;
}


.two_box>*,.three_box>*,.four_box>*,.five_box>*,.six_box>*,.seven_box>*{
	flex:1;
	padding:0.5em;
	min-width:100%;
	max-width:100%;
	box-sizing:border-box;
	flex-wrap:wrap;
	
}
.three_box>*,.four_box>*,.five_box>*,.six_box>*,.seven_box>*{
	max-width:50%;
	min-width:50%;
}
span.postal:before{
	content:"〒";
}
span.address span.postal{
	width:100%;
}
footer ul.menu span{
	
	
}
footer ul.menu li{
	list-style:none;
	display:inline-block;
	padding-left:0.5em;
	padding-right:0.5em;
	
}
main  h2{
border-bottom: 2px solid #C30D23;
padding-left: 0.3em;
	font-weight:normal;
	color:#000000;
	font-size:1.3em;
	margin-bottom:2em;
}
main  h2:before{
	color:#C30D23;
content:"■";	
}
.header-image{
	  margin-left: auto;
    margin-right: auto
}
.main-navigation{
	background-color:#FFFFFF;
	border-top:1px solid #c30d23;
	border-bottom:1px solid #c30d23;
	max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.main-navigation.border-bottom{
	border-bottom:1px solid #c30d23;
	
	margin-bottom:1em;
}
.site-header.left-aligned .main-navigation.inline{
	text-align:right;
}

.home .site-header, .site-header.has-header-media{
	margin-bottom:1.5em;

}
li.search-button{
	display:none !important;
}
::selection{
background-color: highlight; 
color: highlighttext;	
	
}
::-moz-selection{
background-color: highlight; 
color: highlighttext;	
	
}
.main-navigation li:hover .indicator{
	background-color:#ea6868;
	
}

.main-navigation-inner{
	display:block;
}
.main-navigation-inner ul{
	display:flex;
}

.main-navigation-inner ul li{
	flex:1;
}

.main-navigation-inner   ul > li > a{
	font-size:1.6rem;
}
main{
	padding:1em;
	
}

div.formbody{
	    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

div.formbody div.name{
font-weight:bold;
}
div.formbody div.name p{
display:inline-block;
	margin:0;
}
div.formbody div.mandatory div.name:after,p.mandatory:before{
content:"＊";
	color:#ea6868;
}
div.formbody div.row>div{
	
	padding:0.5em;
}

 div.formfooter{
	display:block;
	width:100%;
	 text-align:center;
	 padding:0.5em;
}

body .main-navigation.left-aligned .header-menu-button{
text-align:right !important;
}
dl.hyolist>*{
	padding:0.5em;
		padding-bottom:2em;
}
ul.company_policy{
	list-style: none;
	margin-top:2em;
font-size: 1.2em;
font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
line-height: 1.9em;
margin-bottom:2em;
}
dl.president_policy{
	margin-bottom:2em;
	margin-top:2em;
}
dl.president_policy>*{
	
padding-left:1em;
	padding-right:1em;
}
dl.president_policy dt{
	
	text-align:center;
}
strong.slogan{
	display:block;
	
	font-size:1.4em;
	line-height:1.6em;
	padding-top:1em;
	padding-bottom:1em;
	letter-spacing:0.2em;
	padding-left:1.5em;
}
.mincho{
	font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}
strong.slogan.mincho{
font-weight:normal;
	
}
.footer_address {
	max-width:320px;
	margin-left:auto;
	margin-right:auto;
}

.footer_address>strong{
font-size:1.1em;	
	
}
.site-footer-bottom-bar-right .footer_address>strong a{
padding:0;	
}
.footer_address>*{
	padding-right:0.5em;
}
.footer_address span,.footer_address strong,.address_group span,.address_group strong{
	display:inline-block;
}
.address_group>*{
	width:100%;
}
ul.business_list>li{
	margin-bottom:2em;
}
ul.business_list>li{
	margin:0.3em;
	border:#CACACA 1px solid;
	
}
ul.business_list h3{
	color:#FFFFFF;

	color: #FFFFFF;
	padding: 0.2em;
	padding-left: 0.5em;
	padding-top: 0.4em;

}
ul.news_release{
	margin-left:auto;
	margin-right:auto;
	max-width:840px;
}
ul.news_release li{
border-bottom: 2px solid #c30d23;
padding-left: 0.5em;
padding-right: 0.5em;
margin-left: auto;
margin-right: auto;
list-style: none;
}


ul.news_release li span{
	vertical-align:top;
display:inline-block;	
}
ul.news_release li span.dates{
font-weight:bold;
	font-size:1.1em;
color:#c30d23;	
	width:9em;
}

ul.news_release li+li{
margin-top:1.3em;	
}
ul.news_release li a{
color:#000000;	
}

ul.news_release li a:hover,
ul.news_release li a:hover span.dates{
color:#0aa5f2;	
}
ul.news_release li span.listhead,
ul.news_release li span.tsuiki{
width:100%;	
}
ul.news_release li span.tsuiki p{
	margin-bottom:0.5em;
}
ul.news_release li span.tsuiki p:last-child{
margin-bottom:0;	
}
ul.news_release li span.tsuiki{
padding-left:1em;
	padding-right:1em;
}
ul.news_release li span.news_title_child{
  width:100%;
}

ul.news_release li .release_box{
	margin-bottom:1em;
}
ul.news_release li .release_box .reading{
	color:#707070;
}
ul.news_release li .release_box ul{
	opacity:0;
}
@media only screen and (min-width:600px) {
	
	.two_box>*{
	max-width:50%;
	min-width:50%;
	}
	ul.business_list.two_box{
	justify-content: space-between;
	}
	ul.business_list.two_box>*{
		max-width:calc(50% - 2.6em );
		min-width:calc(50% - 2.6em );
	}
.three_box>*,.six_box>*,.seven_box>*{
	width:calc(100%  / 3);
	max-width:calc(100%  / 3);
	min-width:calc(100% / 3);

}
	}

@media only screen and (min-width:800px) {
	.four_box>*{
		min-width:25%;
		max-width:25%;
		width:25%;
	}
	
	.five_box>*{
		min-width:20%;
		max-width:20%;
		width:20%;
	}
	
	ul.news_release li span.title{
		max-width:calc(100% - 10em);
		
	}
	.footer_address {
float:right;

}
}


@media only screen and (min-width: 1000px) {
	.six_box>*{
		min-width:16.6%;
		max-width:16.6%;
		min-width:calc(100% / 6);
		max-width:calc(100% / 6);
	}
	
	.seven_box>*{
		min-width:14.4%;
		max-width:14.4%;
		min-width:calc(100% / 7);
		max-width:calc(100% / 7);
	}
	
}
@media only screen and (min-width: 620px) {
	ul.company_policy{
	font-size: 1.5em;	
	}
	div.formbody{
		display:table;
	}
	.entry-content{
		max-width:860px;
		margin-left:auto;
		margin-right:auto;
	}
	.home.page-template-default .entry-content{
	margin-left:auto;
		max-width:100%;
	margin-right:auto;
}
div.formbody div.row{
display:table-row;
}

	div.formbody div.row>div{
display:table-cell;
}	
	
	dl.hyolist,dl.president_policy{
		display:flex;
		flex-wrap:wrap;
		max-width:550px;
		width:100%;
		margin-left:auto;
		margin-right:auto;
	}
	dl.president_policy{
	max-width:100%;	
	}
	dl.hyolist>*{
		font-weight:normal;
	}
dl.hyolist>*,dl.president_policy>*{
    flex: 1;
    width: 50%;
    display: block;
    min-width: 50%;
    max-width: 50%;
    box-sizing: border-box;
    margin: 0;
	}
	dl.hyolist>dt{
	border-right:2px solid #000000;
		width:40%;
		min-width:40%;
		max-width:40%;
	}
	dl.hyolist>dd{
		padding-left:1.5em;
		width:60%;
		min-width:60%;
		max-width:60%;
	}
}
@media only screen and (max-width: 600px) {

	.main-navigation #main-menu {
		background-color: #c30d23;
	}
	
	}
