@charset "utf-8";

:root {
    --main: "LINE Seed JP", sans-serif;
    --eng: "Lexend", sans-serif;
}

.w1920 {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
}

.inner-4 {
    margin: 0 2%;
}

.inner-8 {
    margin: 0 4%;
}

.inner-12 {
    margin: 0 6%;
}

.inner-16 {
    margin: 0 8%;
}


.colorful span:nth-child(3n+1) {
    color: #D32E26;
}

.colorful span:nth-child(3n+2) {
    color: #F2E300;
}

.colorful span:nth-child(3n) {
    color: #489FE4;
}

.desc p {
    font-family: var(--main);
    font-weight: 400;
    font-size: 18px;
    font-size: clamp(1rem, 0.97rem + 0.13vw, 1.125rem);
    letter-spacing: 0.04em;
    line-height: 1.4;
    color: #000;
}



.morebtn .link-text {
    font-family: var(--main);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.04em;
    color: #000;
    position: absolute;
    left: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.morebtn .arrow {
    width: 56px;
    aspect-ratio: 1/1;
    background-color: #D32E26;
    border: 1px solid #D32E26;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s ease;
}

.morebtn .arrow::before {
    content: "";
    background: url(/system_panel/uploads/images/20260211044618651726.svg) no-repeat center/contain;
    width: 11px;
    height: 9px;
}

.morebtn .textwrap {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 22px;
    overflow: hidden;
}

.morebtn:hover .arrow,
.morebtn.green:hover .arrow {
    background-color: #FFF;
}

.morebtn .link-text {
    font-family: var(--main);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.04em;
    color: #000;
    position: absolute;
    left: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.morebtn .link-text:nth-child(1) {
    top: 0%;
    width: 100%;
}

.morebtn:hover .link-text:nth-child(1) {
    top: -200%;
    transition: all 0.3s;
}

.morebtn:hover .link-text:nth-child(2) {
    top: 0%;
    transition: all 0.3s;
}

.morebtn .link-text:nth-child(2) {
    top: 100%;
    width: 100%;
}

.morebtn .arrow {
    width: 56px;
    aspect-ratio: 1/1;
    background-color: #D32E26;
    border: 1px solid #D32E26;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s ease;
}

.morebtn:hover .arrow::before {
    content: "";
    background: url(/system_panel/uploads/images/20260211045916539537.svg) no-repeat center/contain;
    width: 11px;
    height: 9px;
}

.morebtn.red,
.morebtn.green {
    max-width: 320px;
    width: 100%;
    border-radius: 40px;
    background: #fff;
    border: 2px solid #d32e26;
    display: flex;
    align-items: center;
    height: 80px;
    transition: .4s ease;
}

.morebtn.red:hover {
    background-color: #D32E26;
}

.morebtn.green {
    max-width: 359px;
    padding-left: 32px;
    border: 2px solid #03C755;
}

.morebtn.green:hover {
    background-color: #03C755;
}

.morebtn.green .icon {
    width: 32px;
    height: auto;
    margin-right: 19px;
}

.morebtn.red .arrow,
.morebtn.green .arrow {
    position: relative;
    left: 2px;
    width: 80px;
    height: 80px;
    border: 2px solid #d32e26;
}



.morebtn.green .arrow {
    border: 2px solid #03C755;
    background-color: #03C755;
}

.morebtn.red .arrow::before,
.morebtn.green .arrow::before {
    width: 15px;
    height: 22px;
}

.morebtn.red .link-text {
    left: 36px;
    font-size: 18px;
    font-size: clamp(1rem, 0.97rem + 0.13vw, 1.125rem);
    transition: .4s ease;
}

.morebtn.red:hover .link-text,
.morebtn.green:hover .link-text {
    color: #FFF;
}

.morebtn.green:hover .arrow::before {
    background: url(/system_panel/uploads/images/20260212055945854298.svg) no-repeat center/contain;
}

.fixed-bnr {
    position: fixed;
    max-width: 394px;
    width: 50%;
    bottom: 5%;
    left: 40px;
    z-index: 30;
    transition: .4s ease;
    opacity: 0;
}

.fixed-bnr:hover {
    opacity: 50%;
}

@media (max-width: 960px) {

    .inner-4,
    .inner-8,
    .inner-12,
    .inner-16 {
        width: 90%;
        margin: 0 auto;
    }

    .fixed-bnr {
        max-width: 300px;
        width: 100%;
        bottom: 10%;
        left: 10px;
    }

    .morebtn.red,
    .morebtn.green {
        height: 60px;
    }

    .morebtn.red .arrow,
    .morebtn.green .arrow {
        width: 60px;
        height: 60px;
    }
}

@supports (word-break: auto-phrase) {
    .desc p {
        word-break: auto-phrase;
    }
}

/* 管理画面用 */
.gjs-dashed .morebtn .link-text {
    position: relative;
}

.gjs-dashed .morebtn .link-text:nth-child(2) {
    top: 0;
    width: 100%;
}

.gjs-dashed .morebtn:hover .link-text:nth-child(1) {
    top: 0;
}

.gjs-dashed .morebtn:hover .link-text:nth-child(2) {
    top: 0%;
    transition: all 0.3s;
}

.gjs-dashed .morebtn .textwrap {
    overflow: visible;
    height: auto;
}

.gjs-dashed .t_news .sec-body .morebtn .textwrap {
    height: auto;
}