@charset "utf-8";

@media screen and (min-width: 769px) {

	/*main==================*/
	.cmn1200 {
		/*width: 1200px;*/
		margin: auto;
	}

	#atc_wrap {
		margin-top: 100px;
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		padding: 0 0 150px;
	}

	#atc {
		/*width: 900px;*/
		background: #fff;
		border-radius: 28px;
		padding: 80px 60px;
		overflow: hidden;
	}

	.atc_box {
		position: relative;
		margin-bottom: 25px;
		padding-bottom: 25px;
		border-bottom: 1px dotted #ccc;
	}

	.atc_box a {
		display: flex;
		justify-content: space-between;
	}

	.atc_box:last-child {
		margin-bottom: 0;
	}

	.atc_img {
		width: 300px;
		flex-shrink: 0;
	}

	.atc_img img {
		width: 280px;
		height: 180px;
		object-fit: cover;
	}

	.atc_rt {
		/*width: 590px;*/
		width: calc( 100% - 300px );
		margin-top: 10px;
		padding-right: 10px;
		box-sizing: border-box;
	}

	.atc_box .atc_day {
		color: #a0a0a0;
		font-size: 12px;
		margin-bottom: 5px;
	}

	.atc_ttl {
		color: #ff6c00;
		font-size: 18px;
		font-weight: bold;
		margin-bottom: 10px;
	}

	.atc_box:hover .atc_ttl {
		text-decoration: underline;
	}

	.atc_txt {
		color: #333;
		font-size: 16px;
		text-align: justify;
	}

	.page_btn {
		width: 100%;
		font-size: 14px;
		margin-top: 40px;
		text-align: center;
		padding-top: 10px;
		margin-top: 20px;
		border-top: 1px dotted #222;
	}

	.page_btn a {
		color: #222;
	}

	.page_btn .left a {
		float: left;
	}

	.page_btn .right a {
		float: right;
	}

	#pagerlist {
		clear: both;
		width: 100%;
		font-size: 14px;
		display: block;
		text-align: center;
		margin-top: 30px;
	}

	/*side==================*/
	#side {
		width: 240px;
	}

	.side_box {
		margin-bottom: 40px;
	}

	.side_box h3 {
		color: #fff;
		font-weight: bold;
		font-size: 17px;
		padding: 5px 10px;
		margin-bottom: 15px;
		background-color: #ff6c00;
	}

	.side_box li {
		position: relative;
		border-bottom: 1px dotted #bec3b9;
	}

	.side_box li::after {
		display: block;
		content: "";
		position: absolute;
		top: 45%;
		right: 5px;
		width: 6px;
		height: 6px;
		border-right: 1px solid #666;
		border-bottom: 1px solid #666;
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	.side_box li:first-child {
		padding-top: 0px;
	}

	#side_popular li,
	#side_new li a {
		display: block;
		padding: 15px 0;
	}

	#side_popular li:first-child,
	#side_new li:first-child a {
		padding-top: 0px;
	}

	.side_img,
	.side_subttl {
		display: table-cell !important;
		vertical-align: middle;
	}

	.side_img {
		width: 70px;
		height: 55px;
	}

	.side_img img {
		width: 100%;
		height: auto;
	}

	.side_subttl {
		color: #333;
		font-size: 14px;
		padding: 0px 20px 0px 10px;
	}

	.side_box li:hover .side_subttl {
		text-decoration: underline;
	}

	.side_subttl a {
		color: #333;
	}

	.not_post {
		padding: 15px 10px !important;
	}
}

/*スマホ=================================*/

@media screen and (max-width: 768px) {

	/*main==================*/
	#atc_wrap {
		margin-top: 30px;
		margin-bottom: 60px;
		padding: 0 10px;
	}
	
	#atc {
		width: 90%;
		background: #fff;
		border-radius: 28px;
		padding: 30px 20px;
		overflow: hidden;
		margin: 0 auto;
		box-sizing: border-box;
	}

	.atc_list {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.atc_box {
		/*width: 90%;
		margin: auto;*/
		width: 100%;
		position: relative;
		margin-bottom: 40px;
	}

	.atc_img {
		margin-bottom: 10px;
	}

	.atc_img img {
		width: 100%;
		height: 220px;
		object-fit: cover;
	}

	.atc_box .atc_day {
		color: #a0a0a0;
		font-size: 12px;
		margin-bottom: 5px;
	}

	.atc_ttl {
		color: #ff6c00;
		font-size: 18px;
		font-weight: bold;
		margin-bottom: 3px;
	}

	.atc_txt {
		color: #333;
		font-size: 14px;
	}

	.atc_box:hover .atc_ttl {
		text-decoration: underline;
	}

	#atc_single {
		padding: 0 0;
	}

	.page_btn {
		width: 100%;
		font-size: 14px;
		margin-top: 40px;
		text-align: center;
		padding-top: 10px;
		margin-top: 20px;
		border-top: 1px dotted #222;
	}

	.page_btn a {
		color: #222;
	}

	.page_btn .left a {
		float: left;
	}

	.page_btn .right a {
		float: right;
	}

	#pagerlist {
		clear: both;
		width: 100%;
		font-size: 14px;
		display: block;
		text-align: center;
		margin-top: 30px;
	}


	#side {
		margin-top: 40px;
		padding: 0 0;
	}

	/*side==================*/
	.side_box h3 {
		color: #fff;
		font-weight: bold;
		font-size: 17px;
		padding: 5px 10px;
		margin-bottom: 15px;
		background-color: #ff6c00;
	}

	.side_box {
		margin-bottom: 40px;
	}

	.side_box li {
		border-bottom: 1px solid #c8c8c8;
		position: relative;
	}

	.side_box li::after {
		display: block;
		content: "";
		position: absolute;
		top: 45%;
		right: 10px;
		width: 6px;
		height: 6px;
		border-right: 1px solid #666;
		border-bottom: 1px solid #666;
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	.side_box li a {
		display: block;
	}

	#side_popular li,
	#side_new li a {
		padding: 15px 0;
	}

	#side_popular li:first-child,
	#side_new li:first-child a {
		padding-top: 0px;
	}

	.side_img,
	.side_subttl {
		display: table-cell !important;
		vertical-align: middle;
	}

	.side_img {
		width: 150px;
		height: 70px;
		object-fit: cover;
	}

	.side_img img {
		max-width: 100%;
		height: auto;
		object-fit: cover;
		float: none !important;
	}

	.side_subttl {
		width: 78%;
		font-size: 14px;
		padding: 0 8% 0 5%;
		box-sizing: border-box;
	}

	.side_box li:hover .side_subttl {
		text-decoration: underline;
	}

	.side_subttl a {
		color: #333;
	}
}

.side_month {
	margin-top: 15px;
}

.side_month select {
	width: 100%;
	padding: 5px;
	font-size: 16px;
	box-sizing: border-box;
}

#side_category li a {
	padding: 15px 0;
	display: block;
}

.wpp-no-data {
	margin-top: 10px;
}


/* works ====================================== */

.ctg_list {
	margin: 100px 0 0;
}

.ctg_list>ul {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.ctg_list>ul::before {
	content: '';
	display: block;
	width: calc((100% / 4) - (30px * 3 / 4));
	order: 1;
}

.ctg_list>ul::after {
	content: '';
	display: block;
	width: calc((100% / 4) - (30px * 3 / 4));
}

.ctg_list>ul>li {
	text-align: center;
	width: calc((100% / 4) - (30px * 3 / 4));
	position: relative;
}


.ctg_list>ul>li:nth-child(n+5) {
	margin-top: 10px;
}

.ctg_list>ul>li a {
	color: #fff;
	background-color: #787878;
	display: block;
	padding: 15px 10px;
}

.ctg_list ul li.current-cat>a,
.ctg_list ul li a:hover {
	background-color: #ff6c00;
}

@media screen and (min-width: 769px) {

	/* PCのみ */
	.ctg_list ul li.current-cat-parent>a {
		background-color: #ff6c00;
	}
}

.ctg_list>ul>li .children {
	width: 100%;
	opacity: 0;
	transition: all .5s;
	pointer-events: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10000;
}

.ctg_list>ul>li .children li {
	background-color: #787878;
}

.ctg_list>ul>li:hover .children {
	opacity: 1;
	pointer-events: all;
}


@media screen and (max-width: 768px) {
	.ctg_list>ul>li {
		width: 48%;
		margin: 5px 0;
	}

	.ctg_list>ul>li:first-child {
		width: 100%;
	}

	.ctg_list>ul>li a {
		padding: 10px;
	}

	.ctg_list>ul>li>a {
		font-weight: bold;
	}

	.ctg_list>ul>li .children {
		opacity: 1;
		pointer-events: all;
		position: static;
		margin: 10px 0 0;
	}

	.ctg_list>ul>li .children li+li {
		margin: 10px 0 0;
	}

}

.works_post .post .thumb {
	width: 100%;
}

.works_post .post .title {
	font-size: 1.5rem;
	margin: 10px 0 0;
}

.works_post .post .day_ctg {
	margin-top: 5px;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.works_post .post .day_ctg li {
	color: #888;
	font-size: 14px;
	margin: 0 8px 5px 0;
}

.works_post .post .btn2_line {
	text-align: right;
	margin-top: 10px;
}

.works_post .post .btn2_line span {
	display: inline-block;
	padding: 5px 10px;
	border: 1px solid #888;
}

.works_post .post:hover .thumb {
	opacity: .8;
	transition: 0.5s;
}

.works_post .post:hover .title {
	color: #ff6c00;
	transition: 0.5s;
}

.works_post .post:hover .btn2_line span {
	color: #ff6c00;
	transition: 0.5s;
	border-color: #ff6c00;
}


#a_works {
	width: 100%;
	margin: 80px 0 0;
	display: flex;
	flex-wrap: wrap;
}

#a_works .post {
	margin: 0 30px 60px 0;
	width: calc((100% / 3) - (35px * 2 / 3));
}

#a_works .post:nth-child(3n) {
	margin-right: 0;
}

#a_works .post:nth-child(-n + 3) {
	margin-top: 0;
}

#a_works .post .thumb {
	width: 100%;
	height: 240px;
}

#a_works .post .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 768px) {
	#a_works.works_post {
		justify-content: space-between;
	}

	#a_works .post {
		width: 48%;
		margin: 0 0 30px;
	}

	#a_works .post:nth-last-child(-n + 2) {
		margin-bottom: 0;
	}

	#a_works .post .thumb {
		height: 120px;
		margin-bottom: 15px;
	}

	#a_works .post .title {
		font-size: 1.2rem;
	}

	#a_works .post .btn2_line {
		margin-top: 12px;
	}
}

/* works single */

#s_works {}

#s_works .midashi_01 {
	margin: 100px 0 0;
}

@media screen and (max-width: 768px) {

	#s_works .midashi_01 {
		margin: 50px 0 0;
	}

}

/* signature */

.signature {
	margin: 60px 0 0;
	border: 1px solid #888;
	padding: 20px;
}

.signature .lead {
	margin: 0 0 1em;
}

@media screen and (max-width: 768px) {

	.signature {
		margin: 40px 0 0;
	}

}

/* .post_ttl
--------------------------------------------*/

.post_ttl {
	font-size: 36px;
	line-height: 1.5;
	margin-bottom: 40px;
}

@media screen and (max-width: 768px) {

	.post_ttl {
		font-size: 24px;
		margin-bottom: 30px;
	}

}

/* .post_body
--------------------------------------------*/

.post_body p {
	margin-bottom: 24px;
}

.post_body p img {
	max-width: 100%;
	margin-bottom: 32px;
}

.post_body h2 {
	font-size: 24px;
	font-weight: 600;
	margin: 32px 0 24px;
}

.post_body h3 {
	font-size: 20px;
	font-weight: 600;
	margin: 32px 0 24px;
}

@media screen and (max-width: 768px) {
	
	.post_body p {
		margin-bottom: 20px;
	}
	
	.post_body p img {
		margin-bottom: 10px;
	}
	
	.post_body h2 {
		font-size: 21px;
		margin: 24px 0 16px;
	}

	.post_body h3 {
		font-size: 18px;
		margin: 24px 0 16px;
	}
	
}

/* .pagerlist
--------------------------------------------*/

#pagerlist {
	clear: both;
	width: 100%;
	font-size: 14px;
	display: block;
	text-align: center;
	margin: 60px auto 0;
}

.wp-pagenavi span.current {
	background: #FD8102;
	color: #000;
}

.wp-pagenavi .page,
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink,
.wp-pagenavi .first,
.wp-pagenavi .extend,
.wp-pagenavi .last {
	background: #FCCB2B;
	position: relative;
}

.wp-pagenavi .previouspostslink::before,
.wp-pagenavi .nextpostslink::before {
	display: block;
	content: '';
	width: 0;
	height: 0;
	border-width: 5px 10px;
	border-style: solid;
	border-color: transparent;
	position: absolute;
	top: 13px;
}

.wp-pagenavi .previouspostslink::before {
	border-right-color: #000;
	left: 2px;
}

.wp-pagenavi .nextpostslink::before {
	border-left-color: #000;
	left: 13px;
}

.wp-pagenavi a:link,
.wp-pagenavi a:visited {
	color: #000;
}

.wp-pagenavi a:hover,
.wp-pagenavi a:active {
	color: #000;
	background: #FD8102;
	opacity: 01;
}

.wp-pagenavi {
	font-family: inherit;
	text-align: center;
	margin: 0 auto;
	display: flex;
	justify-content: center;
}

.wp-pagenavi a,
.wp-pagenavi span.current {
	display: block;
	text-decoration: none;
	color: #000;
}

.wp-pagenavi a,
.wp-pagenavi span.current {
	width: 36px;
	height: 36px;
	line-height: 36px;
	text-align: center;
	margin: 0 2px;
}

@media (max-width: 768px) {

	#pagerlist {
		clear: both;
		width: 100%;
		font-size: 14px;
		display: block;
		text-align: center;
		margin-top: 30px;
	}
	
	#atc_wrap #pagerlist {
		margin-top: 0;
	}

	.wp-pagenavi {
		padding: 10px 0;
	}

}
