/* 上の方 */
.img-class img,
.b-item,
.b-item:hover,
.blog-item{
	box-shadow: 0 0 0 1px #bfbfbf;
}

.img-class img {
    width: 100%;
}

.blog-item a,
.a-tag a{
    color: #000 !important;
}

.blog-item a:hover,
.a-tag a:hover{
    color: #1e73be !important;
    text-decoration: underline;
}

.sc-item h3{
    margin-bottom: 5px;
}

.tcl {
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;
    margin: 3px 0;
}

.tcl .item-20 {
    width: 12%;
}

.tcl .item-80 {
    width: 88%;
}

.sc-item h3:nth-of-type(n+2) {
    margin-top: 20px;
}

@media screen and (min-width:641px){
.img-class:nth-child(n+2){
    margin: 5px 0 0;
}
.sc-item{
    width: 32%;
}
}

@media screen and (max-width:640px){
.img-class{
    margin: 0 10px 10px;
}
.inside-article .img-class:nth-child(n+3){
    margin: 10px 10px 0 10px;
}
.sc-item{
    width: 100%;
}
aside#custom_html-6 {
    display: none;
}
.a-tag {
    margin: 10px 5px;
}
}

.banner-top{
	margin: 10px;
}

.b-item{
    margin: 1% 0;
}

.b-item:hover{
    background: #f5f6f6;
}

.b-item img{
    width: auto;
    max-height: 85%;
    max-width: 80%;
}

.b-item a{
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: center;
}

.img-class:hover img,
.b-item:hover img,
.blog-item:hover img{
	-webkit-filter: brightness(95%);
  	filter:brightness(95%); 
}

.top-h2{
    font-size: 20px !important;
    font-weight: bold;
    color: #000;
}

@media screen and (min-width:641px){
.top-h2{
    border-bottom: solid 2px #000;
    padding-bottom: 5px;
    margin: 1em 0 10px;
}
}

@media screen and (max-width:640px){
.top-h2{
    background: #ddd;
    padding: 15px 10px;
    margin: 10px 0;
}
.b-container{
    margin: 5px;
}
.sc-item ul {
    margin-left: 25px;
}
.sc-item li{
    line-height: 30px;
}

}

.b-container{
	display: flex;
	flex-direction: row;
	flex-wrap:wrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
}

@media screen and (min-width:641px){
.tb-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.tbn-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.separate-containers .site-main{
    margin-top:20px !important;
    margin-bottom:20px !important;
}
}

@media screen and (max-width:640px){
.tb-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.tbn-container{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}
.separate-containers .site-main{
    margin-top:5px !important;
    margin-bottom:20px !important;
}
}

.lp-link{
	text-align: center;
	margin-bottom: 40px;
	margin-top: 15px;
}

.lp-link a,
.lp-link a:hover{
    padding: 13px;
    border-radius: 5px;
    box-shadow: 0 2px 0 0 rgba(0,0,0,0.1);
    font-weight: bold;
    color: #fff !important;
    display: inline-block;
}

.lp-link a{
    background-color: #ff730a !important;
}

.lp-link a:hover{
    background-color: #b75106 !important;
}

.blog-item{
    margin: 1% 0;
}

@media screen and (min-width:641px){
.lp-link a,
.lp-link a:hover{
    width: 250px;
}
}
.blog-item p{
	margin:0 15px;
	text-align: left;
}


@media screen and (max-width:640px){
.lp-link a,
.lp-link a:hover{
    width: 90%;
}
}
.blog-item img{
    width: 100% !important;
}

.inside-article{
    padding: 0px !important;
}

.c-list img {
    width: 10%;
}

.c-list span {
    width: 20%;
}