@charset "UTF-8";
/*
theme Name: coolspeedrunner
Author: systembrain
Description: original theme
version： 1.0.0
*/

/*--------------------------------------------------------------------*/

*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}

html,body{
padding:0;
margin:0;
}

body {
font-size:16px;
line-height: 20px;
font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'Noto Sans Japanese', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
color: #333;
}

body:before{
content:"";
display:block;
position:fixed;
top:0;
left:0;
z-index:-1;
width:100%;
height:100vh;
/*background:url(https://www.yayoi-seisakusho.com/yayoi/wp-content/uploads/2020/04/main-back2-min.jpg) center no-repeat;*/
background-size:cover;
}

p {
margin: 1rem 0;
}

img {
max-width: 100%;
height: auto;
}

h1, h2, h3, h4, h5, h6 {
font-family:"Roboto Slab",Garamond,"Times New Roman","游明朝","Yu Mincho","游明朝体","YuMincho","ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","HiraMinProN-W3","HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
font-weight: bold;
color:#000;
}

h1{font-size:1.8rem;}
h2{font-size:1.4rem;}
h3{font-size:1.1rem;}

.page_title{
font-weight: bold;
border-bottom: double 5px #000080;
margin-bottom:2.5rem;
}

h2.widget-title{
color:#fff;
background-color: #21006A;
padding:0.5rem;
margin-bottom:1.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea{
	max-width:100%;
}

.red{color:#ff0000;}
.white{color:#ffffff;}
.dodgerblue{color:#1e90ff;}
.cornflowerblue{color:#6495ed;}
.midnightblue{color:#191970;}
.mediumblue{color:#0000cd;}
.navy{color:#000080;}
.maroon{color:#800000;}
.darkred{color:#8b0000;}

.mincho{
font-family:"Roboto Slab",Garamond,"Times New Roman","游明朝","Yu Mincho","游明朝体","YuMincho","ヒラギノ明朝 Pro W3","Hiragino Mincho Pro","HiraMinProN-W3","HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
}
.gothic{
font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'Noto Sans Japanese', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

.fs-100rem{font-size:1.0rem;line-height: 1.5;}
.fs-125rem{font-size:1.25rem;line-height: 1.5;}
.fs-150rem{font-size:1.5rem;line-height: 1.5;}
.fs-175rem{font-size:1.75rem;line-height: 1.5;}
.fs-200rem{font-size:2.0rem;line-height: 1.5;}
.fs-225rem{font-size:2.25rem;line-height: 1.5;}
.fs-250rem{font-size:2.5rem;line-height: 1.5;}
.fs-275rem{font-size:2.75rem;line-height: 1.5;}
.fs-300rem{font-size:3.0rem;line-height: 1.5;}
.fw-bold{font-weight:bold;}

.aligncenter {
display: block;
margin: 0 auto;
}
.alignright { float: right; }
.alignleft { float: left; }

.clearfix:after {
content: "";
display: block;
clear: both;
}


img.fade_button{
	-webkit-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

img.fade_button:hover {
	opacity: 0.6;
	filter: alpha(opacity=60);
}
/*リンク先を少しずらすCSS*/
.link-t-a {
position: relative;
top: -12.0rem;
display: block;
}
/*------------------------*/

.notlink{
	pointer-events: none;
}

.top_margin{
	margin-top:6.0rem;
}
.top_margin_top{
	margin-top:4.5rem;
}
.slider{
	position:relative;
	width:100%;
	padding:0!important;
}

.bunner_box,
.bunner_box_footer{
	display:table;
	margin:0 auto;
}
.bunner_box div,
.bunner_box_footer div{
	display:table-cell;
	padding:8px;
}

#content{
	padding:16px;
}

#content-wrap{
	padding:32px 32px 5rem;
	/*background-color: rgba(255,255,255,0.8);*/
	/*background-image:url(https://www.yayoi-seisakusho.com/yayoi/wp-content/uploads/2020/04/main_back.png),url(https://www.yayoi-seisakusho.com/yayoi/wp-content/uploads/2020/04/main_back_top.png);*/
	background-repeat:no-repeat,no-repeat ;
	background-position:center bottom,center top;
	background-size:100% auto;
}

#thumb{
	text-align:center;
	margin-bottom:32px;
}

#sidebar{
	padding:16px;
}

footer{
	background-color: #187e9e;
}

footer p{
	padding:15px 0;
	margin:0;
	color: white;
}

#menu-top{
	background-color: rgba(255,255,255,1.0);
}

.navbar.isActive{
	background-color: rgba(255,255,255,0.9);
	transition: 0.5s;
}
.navbar.notActive{
	background-color: rgba(255,255,255,0);
	transition: 0.5s;
}

.navbar-light .navbar-toggler{
	background-color: rgba(220,220,220,1.0);
}
.nav-item{
	position:relative;
}
.nav-item:hover > .dropdown-menu{
	display: block;
}
.navbar-light .navbar-nav .nav-link{
	color: rgba(0,0,0,.9);
	padding:8px;
	border:#ccc 1px solid;
}
.navbar-light .navbar-nav .nav-link:hover{
	color: #fff;
	background-color:#21006A;
}
.navbar-light .navbar-nav > li{
	/*border-top:#ccc 1px dotted;*/
}

.dropdown-menu{
	top:90%;
	border:none;
	border-radius:0;
	padding:0;
	margin:0;
	background:#f5f5f5;
}
.dropdown:hover > .dropdown-menu{
  display: block;
}

img.president{
	max-width:120px;
	margin:8px;
}

.philosophy{
	font-weight;bold;
	font-size:1.2rem;
	line-height: 1.5;
	color:#000;
}

.circle{
	color: #fff;
	background-color:#1e90ff;
	padding: 0;
	margin: 0;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	display: inline-block;
	border-radius: 50%;
}

.topics li{
	list-style:none;
}

table.gai td,
table.enkaku td{
	display:inline-block;
	padding:4px;
	width:100%;
}
table.gai tr > td:first-child{
	border-bottom:#a9a9a9 1px solid;
	font-weight:bold;
}
table.enkaku tr > td:first-child{
	background:#fffafa;
	font-weight:bold;
}
table.gai tr > td:last-child,
table.enkaku tr > td:last-child{
	margin-bottom:16px;
}

/*------------------------------------*/
/*ページャー（ページ送り）*/
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 40px 0;
	position: relative;
	font-size: 13px;
}
.pagination ul{
	padding: 0px;
	margin: 0px;
} 
.pagination li{
	list-style:none;
	display:inline-block;
}
.pagination span, .pagination a {
	display: block;
	width: auto;
	margin: 4px;
	padding: 8px;
	border: 1px solid #000;
	background-color: #fff;
	text-decoration: none;
	text-align: center;
	line-height: 16px;
}


/* ホバー時 & 現在のページ */
.pagination a:hover,
.pagination .current,
.pagination .current span{
	font-weight:bold;
	color: #fff;
	border-color: #21006A;
	background-color: #21006A;
}

/* 前へ */
.pagination a.prev {
	margin-right: 16px;
}
/* 次へ */
.pagination a.next {
	margin-left: 16px;
}
/* 最初へ */
.pagination a.first {}
/* 最後へ */
.pagination a.last {}

/* Page x / y */
.pagination span.page_num {
	display: none;
}
/*------------------------------------*/


/*------------------------------------*/
/*ページャー（個別記事）*/
.pre-next{
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 40px 0;
	position: relative;
	font-size: 13px;
}
.pre-next ul{
	padding: 0px;
	margin: 0px;
	width: 100%;
}
.pre-next li{
	list-style:none;
	display:inline-block;
	width:50%;
}
.pre-next .next{
	text-align:right;
}

/*------------------------------------*/


/*------------------------------------*/
/*TOPへ戻る*/
#page_top {
	position: fixed;
	bottom: 30px;
	right: 20px;
}
#page_top a {
	background-color: #21006A;
	color: #fff;
	text-align: center;
	text-decoration: none;
	padding: 16px 16px;
}
#page_top a:hover {
	background-color: #4169e1;
	text-decoration: none;
}
/*------------------------------------*/

@media (min-width:768px) {

	h1{font-size:2.4rem;}
	h2{font-size:1.8rem;}
	h3{font-size:1.2rem;}

	#menu-top{
		background-color: rgba(255,255,255,0.7);
	}

	#content-wrap{
		padding:32px 32px 10rem;
	}
	.top_midashi{
		
	}
	img.president{
		max-width:100%;
	}

	.philosophy{
		font-size:1.5rem;
		line-height: 1.5;
	}

	.bunner_box{
		position:absolute;
		top:-80px;
		right:30px;
		display:table;
		margin:0;
	}

	table.gai{
		width:100%;
		border-top:#ccc 1px solid;
	}
	table.enkaku{
		width:100%;
		border-top:#ccc 1px solid;
	}
	table.gai td{
		display:table-cell;
		padding:1rem;
	}

	table.gai tr > td:first-child{
		border-bottom:none;
		width:20%;
		text-align:center;
		vertical-align:top;
		border-left:#ccc 1px solid;
		border-right:#ccc 1px solid;
		border-bottom:#ccc 1px solid;
	}
	table.gai tr > td:last-child{
		margin-bottom:0;
		border-right:#ccc 1px solid;
		border-bottom:#ccc 1px solid;
	}

	table.enkaku{
		width:100%;
		border-top:#fff 1px solid;
	}
	table.enkaku td{
		display:table-cell;
		padding:1rem;
	}
	table.enkaku tr > td:first-child{
		border-bottom:none;
		width:20%;
		text-align:center;
		vertical-align:top;
		background:#f0f8ff;
		border-left:#fff 1px solid;
		border-right:#fff 1px solid;
		border-bottom:#fff 1px solid;
	}
	table.enkaku tr > td:last-child{
		margin-bottom:0;
		border-right:#fff 1px solid;
		border-bottom:#fff 1px solid;
	}

	.nagare_box{
		position: relative;
		height:200px;
	}
	.nagare_box div{
		width:100%;
		position: absolute;
		top: 50%;
		-webkit-transform : translateY(-50%);
		transform : translateY(-50%);
	}

}

@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }
}


@media (min-width: 1200px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl {
    max-width: 1400px;
  }
}
