/*
Theme Name: No.1_theme01
Description:株式会社No.1
Author: 株式会社No.1
Author URI: www.number-1.co.jp
Version: 3.0
*/

/* 記事内の画像 */
.aligncenter	{
        display: block;
	margin-left: auto;
	margin-right: auto;
}

div.post img	{
        border: none;
}

.alignleft	{
    float: left;
	margin: 5px 40px 0 8px;
}

.alignright	{
    float: right;
	margin: 5px 8px 0 40px;
}

.wp-caption	{
    border: none;
	text-align: center;
	padding-top: 5px;
}

.wp-caption-text { text-align:center; }

.detail_content h1 {
	display: block;
	font-size: 36px;
	font-weight: 500;
	letter-spacing: 2px;
	line-height: 1.4;
	margin-bottom: 30px;
	padding-left: 10px;
	border-left: 10px solid #549be0;
}
.detail_content h2 {
	display: flex;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: 1px;
	line-height: 1.4;
	margin-bottom: 30px;
}
.detail_content h2::before {
	content: '';
	transform: rotate(45deg);
	background: #71c249;
	max-width: 10px;
	width: 100%;
	height: 10px;
	margin-right: 10px;
	position: relative;
    top: 0.5em;
}
.detail_content h3 {
	display: flex;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 1px;
	line-height: 1.4;
	margin-bottom: 30px;
}
.detail_content h3::before {
	content: '';
	background: #549be0;
	max-width: 20px;
	width: 100%;
	height: 3px;
	margin-right: 10px;
	position: relative;
    top: 0.7em;
}
.detail_content h4 {
	display: flex;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
	margin-bottom: 10px;
}
.detail_content h4::before {
	content: '';
	background: #71c249;
	max-width: 8px;
	width: 100%;
	height: 8px;
	margin-right: 10px;
	position: relative;
    top: 0.55em;
}
.detail_content h5 {
	display: block;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	color: #549be0;
	margin-bottom: 10px;
}


.detail_content table {
	border-collapse: collapse;
	margin: 10px 0;
}
.detail_content tr {
	border: 1px solid #fff;
}
.detail_content td {
	background: #f0f0f0;
	padding: 15px 0 15px 10px;
}
.detail_content td:first-child {
    letter-spacing: 1px;
	color: #fff;
    background: #549be0;
}
.detail_content ul {
	width: 100%;
}
.detail_content ul li {
	position: relative;
	padding-left: 20px;
}
.detail_content ul li::before {
	content:'';
	display:block;
	position:absolute;
	top: 6px;
	left: 2px;
	height:0;
	width:0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 10px solid #549be0;
}
.detail_content ol {
	counter-reset:number;
	padding: 10px 0;
}
.detail_content ol li {
	position: relative;
	padding: 2px 0 2px 30px;
}
.detail_content ol li:before{
	position: absolute;
	counter-increment: number;
	content: counter(number);
	display:inline-block;
	background: #71c249;
	color: #fff;
	left: 0;
	width: 25px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	top: 50%;
	transform: translateY(-50%);
}

/* 767px以下から
------------------------------------------------------------*/
@media screen and (max-width:767px){
	.detail_content h1 {font-size: 25px;}
	.detail_content h2 {font-size: 20px;}
	.detail_content h3 {font-size: 18px;}
	.detail_content h4 {font-size: 16px;}
	.detail_content h5 {font-size: 14px;}
}
/*640px以下から
------------------------------------------------------------*/
@media screen and (max-width:640px){
	.alignleft, .alignright	{
		float: none;
		display: block;
		margin: 5px auto 20px;
	}
}
