@charset "UTF-8";

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

	header

-----------------------------------*/
header {
    margin-bottom: 40px;
}
@media screen and (max-width: 640px) {
    header {
        margin-bottom: 30px;
    }
    }
/*-----------------------------------

	breadcrumb

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

#breadcrumb ul {
    font-size: 12px;
}
#breadcrumb ul li {
    display: inline;
}
#breadcrumb ul li:not(:last-child)::after {
    content: ">";
    color: #cbcbcb;
    margin: 0 5px;
}
#breadcrumb ul li a {
    color: #cbcbcb;
}
@media screen and (max-width: 640px) {
    #breadcrumb ul {
        font-size: 10px;
    }
}

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

	main

-----------------------------------*/
#contents {
    margin: 50px auto 100px;
}
@media screen and (max-width: 840px) {
    #contents {
        margin: 30px auto 50px;
    }
}

/*-- headline --*/
#main #headline {
    margin-bottom: 50px;
}
#main #headline h1 {
    text-align: center;
    font-size: 30px;
    line-height: 1;
}
#main #headline h1::before {
    content: "CAREGORY";
    font-family: 'Stick No Bills', sans-serif;
    font-size: 18px;
    display: block;
    margin-bottom: 15px;
}
@media screen and (max-width: 640px) {
    #main #headline h1 {
        font-size: 21px;
    }
    #main #headline h1::before {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
}
/*-- category_block --*/
#main .category_block .wrap {
    display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
    -ms-flex-wrap: wrap;
  	flex-wrap: wrap;
    gap: calc((100% - (31.5% * 3)) / 2);
}
#main .category_block .wrap article {
    width: 31.5%;
    margin-bottom: 40px;
}
#main .category_block .imageArea {
    width: 100%;
    height: 0;
    padding-top: 73.569%;
    position: relative;
    margin-bottom: 10px;
}
#main .category_block .imageArea img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 100%;
    object-fit: cover;
}
#main .category_block .imageArea .new {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: #e60011;
    display: block;
    z-index: 10;
}
#main .category_block .imageArea .new::after {
    content: "NEW";
    display: block;
    line-height: 40px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-family: 'Stick No Bills', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}
#main .category_block .imageArea .cat {
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-block;
    background: #000;
    color: #fff;
    height: 24px;
    line-height: 24px;
    padding: 0 5px;
    z-index: 30;
    font-size: 12px;
    letter-spacing: 0;
}
#main .category_block .imageArea .cat::before,
#main .category_block .imageArea .cat::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
}
#main .category_block .imageArea .cat::before {
    border-style: solid;
    border-width: 0 0 24px 12px;
    border-color: transparent transparent #000 transparent;
    left: -12px;
}
#main .category_block .imageArea .cat::after {
    border-style: solid;
    border-width: 24px 12px 0 0;
    border-color: #000 transparent transparent transparent;
    right: -12px;
}
#main .category_block .textArea .title {
    font-size: 14px;
    line-height: 1.85;
    height: 78px;
    overflow: hidden;
    word-break: break-all;
    text-align: justify;
}
#main .category_block .textArea .title::first-letter {
    color: #E60012;
}
#main .category_block .textArea .date {
    color: #A5A5A5;
    font-size: 10px;
}
@media screen and (max-width: 640px) {
    #main .category_block .wrap {
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: calc(100% - (48% * 2));
    }
    #main .category_block .wrap article {
        width: 48%;
        margin-bottom: 20px;
    }
    #main .category_block .imageArea {
        margin-bottom: 10px;
    }
    #main .category_block .imageArea .new {
        width: 25px;
        height: 25px;
    }
    #main .category_block .imageArea .new::after {
        line-height: 25px;
        font-size: 10px;
    }
    #main .category_block .imageArea .cat {
        font-size: 10px;
        height: 20px;
        line-height: 20px;
        letter-spacing: 0;
    }
    #main .category_block .imageArea .cat::before {
        border-width: 0 0 20px 10px;
        left: -10px;
    }
    #main .category_block .imageArea .cat::after {
        border-width: 20px 10px 0 0;
        right: -10px;
    }
    #main .category_block .textArea .title {
        font-size: 12px;
        height: 67px;
    }
    #main .category_block .textArea .date {
        font-size: 10px;
    }
}
