@charset "utf-8";

@media screen and (min-width: 769px) {
	/*main==================*/
	.cmn1200 {
		margin: auto;
	}

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

	#atc {
		width: 900px;
	}

	.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;
	}

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

	.atc_rt {
		width: 590px;
		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:  #144C84;
		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:  #144C84;
	}

	.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_list {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.atc_box {
		width: 90%;
		margin: auto;
		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: #144C84;
		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: #144C84;
	}

	.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: #144C84;
}

@media screen and (min-width: 769px) {
	/* PCのみ */
	.ctg_list ul li.current-cat-parent > a {
		background-color: #144C84;
	}
}

.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:  #144C84;
	transition: 0.5s;
}

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


#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: 100px 0 0;
	border: 1px solid #888;
	padding: 20px;
}

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

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

	.signature {
		margin: 50px 0 0;
	}

}
