@charset 'UTF-8';
/* ----------------------------------------------
　PC設定
------------------------------------------------*/
.c-category__list
{
    display: flex;

    flex-wrap: wrap;
    grid-gap: var(--m75) 5%;
}
.c-category__box
{
    position: relative;
    z-index: 1;

    width: 30%;
}
.c-category__box::before
{
    position: absolute;
    top: var(--m8);
    left: 50%;

    display: inline-block;

    width: calc(100% + var(--m16));
    height: 100%;

    content: '';
    transform: translateX(-50%);

    border-radius: var(--m8_12);
    background-color: var(--pink01);
}
.c-category__box-link
{
    position: relative;
    z-index: 1;

    display: block;
}
.c-category__box-image
{
    overflow: hidden;

    border-radius: var(--m8_12);

    aspect-ratio: 3/2;
}
.c-category__box-text
{
    font-size: var(--fs18_40);
    font-weight: 500;

    position: absolute;
    top: 50%;
    left: 0;

    width: 100%;
    padding: .25em;

    transform: translateY(-50%);
    text-align: center;

    color: var(--pink01);
    background-color: rgba(255, 255, 255, .8);
}
.c-category__box:nth-of-type(even)::before
{
    background-color: var(--blue01);
}
.c-category__box:nth-of-type(even) .c-category__box-text
{
    color: var(--blue01);
}
.c-category__title
{
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
}
.c-category__title::before
{
    position: relative;
    z-index: 1;

    display: inline-block;

    width: 100%;
    max-width: 150px;

    content: '';

    border-bottom: unset;
    border-top-left-radius: 100vw;
    border-top-right-radius: 100vw;
    background-color: var(--blue01);

    aspect-ratio: 1/.5;
}
.c-category__title-text
{
    font-size: var(--fs18_24);
    font-weight: 500;

    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    margin: -1em auto;
    padding: .15em 1em;

    text-align: center;

    color: var(--blue01);
    border-top: 4px solid var(--blue01);
    border-bottom: 4px solid var(--blue01);
    background-color: #fff;
}
.c-category__title-text::before
{
    position: absolute;
    top: 0;
    left: 50%;

    display: inline-block;

    width: var(--fs18_32);

    content: '';
    transform: translate(-50%, -150%);

    background-image: url(../images/common/icon_hat_w.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;

    aspect-ratio: 37/35;
}
.c-category .c-button
{
    max-width: 500px;
    margin: 0 auto;
}
.c-category .c-button__link
{
    padding-left: var(--m25);
}
.c-category .c-list-box
{
    width: 30%;
}

/* ----------------------------------------------
　PAD以下設定
------------------------------------------------*/
@media all and (max-width: 768px)
{
    .c-category__box
    {
        width: 47.5%;
    }
    .c-category .c-list-box
    {
        width: 47.5%;
    }
}
/* ----------------------------------------------
　SP調整
------------------------------------------------*/
@media all and (max-width: 620px)
{
    .c-category .c-list-box
    {
        width: 100%;
    }
    .c-category__title::before
    {
        max-width: 100px;
    }
    .c-category__title-text
    {
        border-width: 2px;
    }
}
