/* ----------------------------------------------------------------header*/
header {
    position: relative;
    text-align: left;
}

#header {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    height: auto;
    padding: 15px 60px 15px 15px;
    color: #fff;
    z-index: var(--header-z);
    transition: all 0.5s;

    & .header_logo {
        display: inline-block;
        line-height: 0;

        & a {
            display: inline-block;

            & img {
                width: auto;
                height: 38px;

                &.fix {
                    display: none;
                }
            }
        }
    }

    & .header_right {
        display: flex;
        gap: 10px;
        line-height: 1.1;

        & .upper {
            & a {
                display: block;
                width: 20px;
                height: 20px;
                line-height: 20px;
                text-align: center;
                text-decoration: none;
                color: #fff;
            }

            & .privacy {
                display: none;
            }

            & .tel {
                & p {
                    display: none;
                }
            }
        }
    }

    & .header_contact {
        & a {
            display: block;
            width: 22px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            text-decoration: none;
            color: #fff;

            & i {
                font-size: 22px;
            }

            & p {
                display: none;
            }
        }
    }
}

@media print,
screen and (min-width: 768px) {
    #header {
        min-width: 1366px;
        padding: 26px 40px 0 40px;

        & .header_logo {
            & a {
                & img {
                    width: auto;
                    height: auto;

                    &.fix {
                        display: none;
                    }
                }
            }
        }

        & .header_right {
            display: flex;
            flex-direction: column;
            gap: 10px;

            & .upper {
                display: flex;
                align-items: center;
                gap: 14px;

                & a {
                    width: auto;
                }

                & .privacy {
                    display: block;
                    padding-right: 14px;
                    border-right: solid 1px rgba(255, 255, 255, 0.5);

                    & a {
                        width: auto;
                        height: auto;
                        transition: 0.3s;

                        &:hover {
                           opacity: 0.6;
                        }
                    }
                }

                & .tel {
                    & i {
                        display: none;
                    }

                    & p {
                        display: block;
                        width: auto;
                        height: 23px;
                        line-height: 23px;
                        font-family: var(--font-en02);
                        font-size: 23px;
                        font-weight: 700;
                        white-space: nowrap;

                        & span {
                            font-size: 16px;
                        }
                    }
                }
            }
        }

        & .header_contact {
            text-align: right;

            & a {
                display: inline-block;
                width: 68px;
                height: 48px;
                padding-top: 4px;
                line-height: 1.1;
                text-align: center;
                text-decoration: none;
                color: #fff;
                border: solid 1px #fff;
                background: rgba(255, 255, 255, 0.2);
                transition: all 0.3s;

                & i {
                    font-size: 24px;
                }

                & p {
                    display: block;
                    line-height: 1.1;
                    font-family: var(--font-en02);
                    font-size: 12px;
                    font-weight: 700;
                }

                &:hover {
                    color: var(--accentcolor);
                    background: #fff;
                }
            }
        }
    }
}

/* ----------------------------------------------------------------header_fixed*/
/*-------------------------------------------header.fix*/
#header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: mnavslide linear .3s 1;
    -webkit-animation: mnavslide linear .3s 1;
    background: rgba(255 255 255 / 50%);
    backdrop-filter: blur(10px);

    & .header_logo {
        display: inline-block;

        & img {
            width: auto;
            height: 20px;

            &.top {
                display: none;
            }

            &.fix {
                display: inline;
            }
        }
    }

    & .header_right {
        & .upper {
            & a {
                color: var(--base-tx-color);
            }
        }
    }

    & .header_contact {
        & a {
            color: var(--base-tx-color);
        }
    }

}

@keyframes mnavslide {
    0% {
        top: -90px;
    }

    100% {
        top: 0;
    }
}

@-webkit-keyframes mnavslide {
    0% {
        top: -55px;
    }

    100% {
        top: 0;
    }
}

@media (width>=768px) {
    #header.fixed {
        padding: 10px 40px;
        z-index: 99;

        & .header_logo {
            display: inline-block;
            padding-top: 19px;

            & img {
                width: auto;
                height: auto;

                &.top {
                    display: none;
                }

                &.fix {
                    display: inline;
                }
            }
        }

        & .header_right {
            gap: 5px;

            & .upper {
                & a {
                    color: var(--base-tx-color);
                }

                & .privacy {
                    border-right: solid 1px rgba(10, 38, 86, 0.5);
                }

                & .tel {
                    color: var(--base-tx-color);
                }
            }
        }

        & .header_contact {
            & a {
                width: 46px;
                height: 39px;
                padding-top: 6px;
                color: var(--base-tx-color);
                border: solid 1px var(--base-tx-color);
                background: none;

                & p {
                    display: none;
                }

                &:hover {
                    color: var(--accentcolor);
                    border: solid 1px #fff;
                    background: #fff;
                }
            }
        }

    }
}

/*=======================================
nav
=======================================*/
/*navi ------------------*/
.mainnavi {
    position: absolute;
    top: 0;
    left: 0;
    display: block;

    @media (width>=768px) {
        position: absolute;
        top: auto;
        left: auto;
        right: 138px;
        bottom: 0;
        display: block;
        width: auto;
    }
}

.m_menu {
    &>li {
        text-align: center;

        :is(a) {
            display: block;
            text-decoration: none;
            color: var(--base-tx-color);
        }

        &.active {
            &>a {
                pointer-events: none;
            }
        }

        &.sub_dropdown {
            &>a {
                cursor: pointer;
            }

            .sub_menu {
                display: none;
            }
        }
    }

    /*sp ---------------------------*/
    @media (width<=768px) {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        padding: 50px 15px 15px;
        background: #fff;
        z-index: var(--nav-z);

        & li {
            margin: 12px 0;

            /*active------------*/
            &.active {
                &>a {
                    color: var(--subcolor);
                }
            }
        }
    }

    /*pc ---------------------------*/
    @media (width>=768px) {
        display: flex;
        gap: 30px;
        width: 100%;

        &>li {
            :is(a) {
                position: relative;
                height: 48px;
                line-height: 47px;
                color: #fff;
                transition: 0.2s;

                &::after {
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    display: block;
                    width: 0;
                    height: 1px;
                    content: "";
                    background: none;
                    transition: all 0.3s;
                }

                &:hover {
                    &::after {
                        display: block;
                        width: 100%;
                        height: 1px;
                        content: "";
                        background: #fff;
                    }
                }
            }

            /*active------------*/
            &.active {
                &>a {
                    &::after {
                        position: absolute;
                        left: 0;
                        bottom: 0;
                        display: block;
                        width: 100%;
                        height: 1px;
                        content: "";
                        background: #fff;
                    }
                }
            }

            /*sub------------*/
            &.sub_dropdown {
                position: relative;

                .sub_menu {
                    width: 100%;
                    position: absolute;
                }
            }

            &:nth-last-child(-n+2) {
                display: none;
            }
        }
    }
}

@media (width>=768px) {
    #header.fixed {
        .mainnavi {
            right: 116px;
            bottom: 10px;
        }

        .m_menu {
            &>li {
                :is(a) {
                    height: 39px;
                    line-height: 38px;
                    color: var(--base-tx-color);

                    &:hover {
                        &::after {
                            background: var(--base-tx-color);
                        }
                    }
                }

                /*active------------*/
                &.active {
                    &>a {
                        &::after {
                            background: var(--base-tx-color);
                        }
                    }
                }

                /*sub------------*/
                &.sub_dropdown {
                    position: relative;

                    .sub_menu {
                        width: 100%;
                        position: absolute;
                    }
                }

                &:nth-last-child(-n+2) {
                    display: none;
                }
            }
        }
    }
}

/*------------------------------------
hamburger icon
--------------------------------------*/
:root {
    --hamburger-w: 32px;
    --hamburger-h: 20px;
    --hamburger-boder-size: 2px;
    --hamburger-duration: 0.3s;
    --hamburger-color: #fff;
}

.menu_btn {
    display: grid;
    place-items: center;
    width: var(--hamburger-w);
    height: var(--hamburger-h);
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: var(--toggle-z);
    transition: all 0.3s;

    &:hover {
        cursor: pointer;
    }

    /*hamburger -------------*/
    .hambgr {
        display: inline-block;
        width: 100%;
        height: var(--hamburger-boder-size);
        background: var(--hamburger-color);
        transition-duration: var(--hamburger-duration);

        &:before {
            content: "";
            display: block;
            position: absolute;
            inset: 0 0 auto;
            width: 100%;
            height: var(--hamburger-boder-size);
            background: var(--hamburger-color);
            transition-duration: var(--hamburger-duration);
            will-change: transform;
        }

        &:after {
            content: "";
            display: block;
            position: absolute;
            inset: auto 0 0;
            width: 100%;
            height: var(--hamburger-boder-size);
            background: var(--hamburger-color);
            transition-duration: var(--hamburger-duration);
            will-change: transform;
        }

        /*close　----------------*/
        &.hbg_close {
            background: transparent;

            &:before {
                transform: rotate(-45deg);
                transform-origin: center;
                inset: auto;
                background: var(--base-tx-color);
            }

            &:after {
                transform: rotate(45deg);
                transform-origin: center;
                inset: auto;
                background: var(--base-tx-color);
            }
        }
    }

    /*削除 -------------*/
    @media (width >=768px) {
        display: none;
    }
}

#header.fixed {
    .menu_btn {

        /*hamburger -------------*/
        .hambgr {
            background: var(--base-tx-color);

            &:before {
                background: var(--base-tx-color);
            }

            &:after {
                background: var(--base-tx-color);
            }

            /*close　----------------*/
            &.hbg_close {
                background: transparent;

                &:before {
                    transform: rotate(-45deg);
                    transform-origin: center;
                    inset: auto;
                    background: var(--base-tx-color);
                }

                &:after {
                    transform: rotate(45deg);
                    transform-origin: center;
                    inset: auto;
                    background: var(--base-tx-color);
                }
            }
        }
    }
}


/*------------------------------------
main - 下層
--------------------------------------*/
.mian_body {
    width: 100%;
    padding-inline: var(--main-padding-inline);
    overflow-x: clip;
}

.content_wrap {
    padding-top: var(--content-padding-top);
    padding-bottom: var(--content-padding-bottom);

    &.bg_color01 {
        background: var(--bg-color01);
        box-shadow: 0 0 0 100vmax var(--bg-color01);
        clip-path: inset(0 -100vmax);
    }
}


/*------------------------------------------------------------pagetitle*/
.pagetitle_wrap {
    background: url(../img/common_img/bg_pagetitle.jpg) center center no-repeat;
    background-size: cover;
    height: 220px;
    padding-inline: var(--main-padding-inline);

    @media (width >=768px) {
        height: 400px;
    }
}

.pagetitle_group {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding-top: 48px;
    position: relative;
    z-index: 10;

    @media (width >=768px) {
        padding-top: 80px;
    }
}

.pagetitle {
    font-weight: 700;
    font-size: 28px;
    color: var(--light-tx-color);

    @media (width >=768px) {
        font-size:48px;
    }
}

.pagetitle_en {
    position: absolute;
    font-family: var(--font-en01);
    font-weight: var(--font-en01-weight);
    color: rgb(from var(--light-tx-color) r g b / 0.45);
    font-size: 32px;
    inset: auto;
    transform: translateY(-40%);
    z-index: -1;

    @media (width >=768px) {
        font-size: 58px;
        transform: translateY(-30%);
    }
}




/*------------------------------------
pankuzu
--------------------------------------*/
.pankuzu_area {
    width: 100%;
    overflow-x: auto;
    padding-top: 0.4em;

    .pankuzu {
        list-style: none;
        display: flex;
        gap: 1.5em;

        &>li {
            font-size: var(--font-s);

            &:not(:last-of-type) {
                position: relative;

                &::before {
                    content: "";
                    width: 1em;
                    height: 1em;
                    display: block;
                    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23333333" d="M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" /></svg>');
                    position: absolute;
                    inset: 52% -1.4em auto auto;
                    transform: translateY(-50%);
                    line-height: 1;
                }
            }

            :is(a) {

                &:link,
                &:visited,
                &:hover,
                &:active {
                    text-decoration: underline;
                }
            }
        }
    }
}

/*------------------------------------------------------------content*/
@media print,
screen and (min-width: 768px) {
    .container {
        width: 1366px;
        max-width: 1366px;
        padding-right: 0;
        padding-left: 0;
    }
}

.content_bg01 {
    text-align: left;
    background: #e0e0e0;
    padding-top: 10px;
}

.content_bg02 {
    text-align: left;
    padding-top: 10px;
}

.section {
    clear: both;
    padding-bottom: 10px;
}

@media print,
screen and (min-width: 768px) {
    .content_bg01 {
        padding-top: 30px;
    }

    .content_bg02 {
        padding-top: 30px;
    }

    .section {
        padding-bottom: 30px;
    }
}

/* ----------------------------------------------------------------footer*/
#footer_contact {
    padding: 40px 0;
    color: #fff;
    background: url("../img/common_img/footer_contact_bg.jpg") center center no-repeat;
    background-size: cover;

    & h2 {
        margin-bottom: 20px;
        line-height: 1.3;
        font-size: 19px;
        font-weight: 700;

        &>span {
            display: block;
            font-family: var(--font-en01);
            font-size: 32px;
            color: rgba(255, 255, 255, 0.63);
        }

        & strong {
            display: block;
            margin-top: -20px;

            & span {
                display: inline-block;
            }
        }
    }

    & .flex_box {
        display: flex;
        flex-direction: column;
        gap: 20px;

        & .detail {
            & ul {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-wrap: wrap;
                width: 250px;
                height: 250px;
                margin: 0 auto;

                & li {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 130px;
                    height: 130px;
                    line-height: 1.3;
                    font-weight: 700;
                    border: solid 1px #aedbd9;
                    border-radius: 50%;
                    background: rgba(120, 219, 214, 0.3);

                    &:nth-child(2n) {
                        margin-left: -10px;
                    }

                    &:nth-last-child(-n+2) {
                        margin-top: -10px;
                    }
                }
            }
        }

        & .contact {
            & h3 {
                font-size: 18px;
                font-weight: 700;
            }

            & ul {
                width: 300px;
                margin: 0 auto;

                & li {
                    height: 40px;
                    margin-top: 10px;
                    font-family: var(--font-en02);

                    &>div,
                    &>a {
                        height: 100%;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                    }

                    &.tel {
                        & a {
                            text-decoration: none;
                            color: #fff;
                        }

                        &>div {
                            border: solid 1px #fff;
                            font-weight: 900;
                            background: rgba(255, 255, 255, 0.25);

                            & span {
                                font-size: 24px;
                            }
                        }
                    }

                    &.mail {
                        &>a {
                            text-decoration: none;
                            font-size: 20px;
                            font-weight: 900;
                            color: var(--accentcolor);
                            background: #fff;
                            transition: all 0.3s;

                            & i {
                                font-size: 19px;
                            }
                        }
                    }
                }
            }
        }
    }
}

@media print,
screen and (min-width: 768px) {
    #footer_contact {
        padding: 80px 0;

        & h2 {
            margin-bottom: 40px;
            font-size: 32px;

            &>span {
                font-size: 58px;
            }

            & strong {
                margin-top: -40px;
            }
        }

        & .flex_box {
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: 100px;

            & .detail {
                & ul {
                    width: 387px;
                    height: 387px;
                    margin: 0 auto;

                    & li {
                        width: 205px;
                        height: 205px;
                        font-size: 21px;

                        &:nth-child(2n) {
                            margin-left: -23px;
                        }

                        &:nth-last-child(-n+2) {
                            margin-top: -23px;
                        }
                    }
                }
            }

            & .contact {
                & h3 {
                    font-size: 24px;
                }

                & ul {
                    width: 421px;
                    margin: 0 auto;

                    & li {
                        height: 82px;
                        margin-top: 20px;

                        &.tel {
                            &>div {
                                font-size: 21px;

                                & span {
                                    font-size: 42px;
                                }
                            }
                        }

                        &.mail {
                            &>a {
                                font-size: 32px;

                                & i {
                                    font-size: 27px;
                                }

                                &:hover {
                                    background: rgba(255, 255, 255, 0.25);
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

#footer {
    padding: 40px 0;
    text-align: left;
    color: #fff;
    background: var(--subcolor);

    & h2 {
        margin-bottom: 10px;

        & img {
            width: auto;
            height: 21px;
        }
    }

    & .info {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: solid 1px rgba(255, 255, 255, 0.5);

        & .btn_map {
            margin: 10px 0;

            & a {
                display: inline-block;
                padding: 7px 20px;
                line-height: 1.1;
                font-family: var(--font-en02);
                font-weight: 700;
                text-decoration: none;
                color: #fff;
                border: solid 1px #fff;
                transition: all 0.3s;
            }
        }

        & ul {
            display: flex;
            flex-direction: column;
            gap: 7px;

            & li {
                display: flex;
                align-items: center;
                gap: 0.25em;
                line-height: 1.1;
                font-family: var(--font-en02);

                & i {
                    text-align: center;
                    color: var(--subcolor);
                    border-radius: 2px;
                    background: #fff;
                }

                & a {
                    text-decoration: none;
                    color: #fff;
                }

                &:first-child {
                    font-size: 23px;

                    & i {
                        width: 20px;
                        height: 20px;
                        line-height: 20px;
                        font-size: 15px;
                    }
                }

                &:last-child {
                    font-size: 18px;

                    & i {
                        width: 16px;
                        height: 16px;
                        line-height: 16px;
                        font-size: 11px;
                    }
                }
            }
        }

        & .closed {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
            line-height: 1.1;

            & span {
                &:first-child {
                    padding: 1px 3px;
                    font-size: 14px;
                    border-radius: 2px;
                    color: var(--subcolor);
                    background: #fff;
                }
            }
        }
    }

    & nav {
        & ul {
            column-count: 2;
            & li {
                line-height: 2.0;
                & a {
                    text-decoration: none;
                    color: #fff;
                }
            }
        }
    }
}

@media print,
screen and (min-width: 768px) {
    #footer {
        padding: 70px 0 40px;

        & h2 {
            margin-bottom: 20px;

            & img {
                width: auto;
                height: auto;
            }
        }

        & .flex_box {
            display: flex;
            align-items: center;
        }

        & .info {
            margin-bottom: 0;
            padding-bottom: 0;
            margin-right: 70px;
            padding-right: 70px;
            border-right: solid 1px rgba(255, 255, 255, 0.5);
            border-bottom: none;

            & .btn_map {
                & a {
                    &:hover {
                        color: var(--accentcolor);
                        background: #fff;
                    }
                }
            }

            & ul {
                display: flex;
                flex-direction: row;
                align-items: center;
                gap: 12px;

                & li {
                    gap: 0.25em;

                    &:first-child {
                        font-size: 27px;

                        & i {
                            width: 20px;
                            height: 20px;
                            line-height: 20px;
                            font-size: 15px;
                        }
                    }
                }
            }
        }

        & nav {
            & ul {
                column-gap: 5em;

                & li {
                    line-height: 2.25;

                    & a {
                        &:hover {
                            text-decoration: underline;
                        }
                    }
                }
            }
        }
    }
}

.copyright {
    margin-top: 20px;
    padding-top: 20px;
    font-family: var(--font-en02);
    font-size: 11px;
    border-top: solid 1px rgba(255, 255, 255, 0.5);
}

@media print,
screen and (min-width: 768px) {
    .copyright {
        margin-top: 20px;
        padding-top: 0;
        text-align: right;
        font-size: 12px;
        border-top: none;
    }
}

/*------------------------------------------------------------table*/
.sheet_basic {
    width: 100%;
    border-collapse: collapse;
}

.sheet_basic tr th,
.sheet_basic tr td {
    border: 1px dotted #6d6d6d;
    padding: 10px;
    text-align: left;
    display: block;
}

@media print,
screen and (min-width: 768px) {

    .sheet_basic tr th,
    .sheet_basic tr td {
        display: table-cell;
    }
}
/*------------------------------------------------------------Text*/
/*title*/
.title01 {
    background: var(--subcolor);
    background: linear-gradient(90deg, var(--subcolor) 0%, rgb(from var(--subcolor) r g b / 0.5) 100%);
    color: var(--light-tx-color);
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    font-size: 18px;
    padding: 8px 12px;
    margin-bottom: 14px;

    @media (width >=768px) {
        font-size: 24px;
        padding: 10px 16px;
        margin-bottom: 24px;
    }
}

.title02 {
    text-align: left;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 14px;
    border-left: 5px solid var(--subcolor-light);
    padding: 2px 0 2px 10px;
    @media (width >=768px) {
        font-size: 18px;
        margin-bottom: 24px;
        padding:4px 0 4px 14px;
    }
}

/*group*/
.title_group01 {
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 8px;

    @media (width >=768px) {
        margin-bottom: 18px;
    }

    .ja_ti {
        order: 2;
        color: var(--maincolor);
        font-weight: 700;
        font-size: 24px;

        @media (width >=768px) {
            font-size: 45px;
        }
    }

    .en_ti {
        order: 1;
        font-family: var(--font-en01);
        font-weight: var(--font-en01-weight);
        color: var(--subcolor-light);
        position: relative;
        z-index: -1;
        font-size: 28px;
        line-height: 1;
        margin-bottom: -8px;

        @media (width >=768px) {
            font-size: 58px;
            margin-bottom: -24px;
        }
    }

    /*left*/
    &.tx_left {
        text-align: left;
        align-items: flex-start;

        .en_ti {
            transform: rotate(-10deg);
            margin-left: -8px;
            margin-bottom: -14px;

            @media (width >=768px) {
                margin-left: -16px;
                margin-bottom: -32px;
            }
        }
    }
}

/*------------------------------------
text
--------------------------------------*/
.cts_p {
    text-align: left;
    line-height: 1.6;

    /*center*/
    &.tx_cent {
        text-align: center;
    }

    /*right*/
    &.tx_right {
        text-align: right;
    }

    /*space*/
    &+.cts_p {
        margin-top: 1em;
    }

    /*center → left*/
    &.cent_l {
        text-align: center;
    }

    @media (width >=768px) {

        /*left → center*/
        &.l_cent {
            text-align: center;
        }

        /*center → left*/
        &.cent_l {
            text-align: left;
        }
    }
}

/*bold*/
.tx_bold {
    font-style: normal;
    font-weight: bold;
}

/*TextRed*/
.tx_red {
    color: #c33;
}

/*attention*/
.attention {
    font-size: 10px;
    line-height: 130%;
    margin: 5px 0;
}


/*img fluid */
.img_fluid {
    max-width: 100%;
    height: auto;
}
/*------------------------------------------------------------Margin*/
/*MarginTop*/
.margin_t05 {
    margin-top: 5px;
}

.margin_t10 {
    margin-top: 10px;
}

.margin_t20 {
    margin-top: 20px;
}

.margin_t30 {
    margin-top: 30px;
}

.margin_t40 {
    margin-top: 40px;
}

.margin_t50 {
    margin-top: 50px;
}

/*MarginBottom*/
.margin_b05 {
    margin-bottom: 5px;
}

.margin_b10 {
    margin-bottom: 10px;
}

.margin_b20 {
    margin-bottom: 20px;
}

.margin_b30 {
    margin-bottom: 30px;
}

.margin_b40 {
    margin-bottom: 40px;
}

.margin_b50 {
    margin-bottom: 50px;
}

/*MarginRight*/
.margin_r05 {
    margin-right: 5px;
}

.margin_r10 {
    margin-right: 10px;
}

.margin_r15 {
    margin-right: 15px;
}

.margin_r20 {
    margin-right: 20px;
}

/*MarginLeft*/
.margin_l05 {
    margin-left: 50px;
}

.margin_l10 {
    margin-left: 10px;
}

.margin_l15 {
    margin-left: 15px;
}

.margin_l20 {
    margin-left: 20px;
}

/*Margin_device*/
.margin-xs-b10 {
    margin-bottom: 10px;
}

@media print,
screen and (min-width: 768px) {
    .margin-xs-b10 {
        margin-bottom: 0px;
    }
}

/*------------------------------------------------------------ClearFix*/
.clearfix {
    zoom: 1;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

/*------------------------------------------------------------Hoverimg*/
a img.hoverimg {
    transition: all 0.3s;
}

a:hover img.hoverimg {
    opacity: 0.6;
    filter: alpha(opacity=60);
    -ms-filter: "alpha( opacity=60 )";
}

/*Pagetop*/
#pagetop {
    position: fixed;
    bottom: 0;
    right: 0;
}

/*------------------------------------
layout
--------------------------------------*/
/*TextRight*/
.tx_right {
    text-align: right;
}

/*TextLeft*/
.tx_left {
    text-align: left;
}

/*TextCenter*/
.tx_cent {
    text-align: center;
}

/*非表示　------------------------*/
@media print,
screen and (min-width: 768px) {
    .md_none {
        display: none;
    }
}

@media print,
screen and (min-width: 1200px) {
    .pc_none {
        display: none;
    }
}

.sp_none {
    display: none;

    @media (width >=768px) {
        display: inline-block;
    }
}

/*------------------------------------------------------------Float*/
/*FloatLeft*/
.float_left {
    float: left;
}

/*FloatRight*/
.float_right {
    float: right;
}

/*ClearBoth*/
.clearboth {
    clear: both;
}

/*phbox------------------------*/
:root {
    --phbox-space: 32px;
}

.phbox_right {
    text-align: center;

    & img {
        max-width: 100%;
        height: auto;
    }

    &>a {
        display: block;

        &+* {
            margin-top: 16px;
        }
    }

    @media (width >=768px) {
        float: right;
        margin-left: var(--phbox-space);
    }
}

.phbox_left {
    text-align: center;

    & img {
        max-width: 100%;
        height: auto;
    }

    &>a {
        display: block;

        &+* {
            margin-top: 16px;
        }
    }

    @media (width >=768px) {
        float: left;
        margin-right: var(--phbox-space);
    }
}

.ov_hidden {
    overflow: hidden;
}

/*------------------------------------
card layout
--------------------------------------*/
/*card 変数*/
:root {
    --lay_gap_sp: 24px;
    --lay_gap_md: 36px;
}

/*1 →　2*/
.row_col2 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: var(--lay_gap_sp);

    &>* {
        width: 100%;
    }

    @media (width >=768px) {
        flex-direction: row;
        gap: var(--lay_gap_md);

        &>* {
            width: calc(50% - var(--lay_gap_md) / 2);
        }
    }
}

/*1 →　3*/
.row_col3 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: var(--lay_gap_sp);

    &>* {
        width: 100%;
    }

    @media (width >=768px) {
        flex-direction: row;
        gap: var(--lay_gap_md);

        &>* {
            width: calc(100% / 3 - var(--lay_gap_md) * 2 / 3);
        }
    }
}

/*1 → 2 → 4*/
.row_col4 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: var(--lay_gap_sp);

    &>* {
        width: 100%;
    }

    @media (width >=768px) {
        flex-direction: row;
        gap: var(--lay_gap_md);

        &>* {
            width: calc(50% - var(--lay_gap_md) / 2);
        }
    }

    @media (width >=992px) {
        &>* {
            width: calc(25% - var(--lay_gap_md) * 3 / 4);
        }
    }
}

/*2*/
.row_sm2 {
    display: flex;
    flex-wrap: wrap;
    gap: var(--lay_gap_sp);

    &>* {
        width: calc(50% - var(--lay_gap_sp) / 2);
    }

    @media (width >=768px) {
        gap: var(--lay_gap_md);

        &>* {
            width: calc(50% - var(--lay_gap_md) / 2);
        }
    }
}

/*2→3*/
.row_sm2_lg3 {
    display: flex;
    flex-wrap: wrap;
    gap: var(--lay_gap_sp);

    &>* {
        width: calc(50% - var(--lay_gap_sp) / 2);
    }

    @media (width >=768px) {
        gap: var(--lay_gap_md);

        &>* {
            width: calc(50% - var(--lay_gap_md) / 2);
        }
    }

    @media (width >=992px) {
        gap: var(--lay_gap_md);

        &>* {
            width: calc(calc(100% / 3) - var(--lay_gap_md) * 2 / 3);
        }
    }
}

/*------------------------------------
img layout
--------------------------------------*/
:root {
    --gold_space_sp: 24px;
    --gold_space_pc: 40px;
}

.ly_gold {
    display: flex;
    flex-direction: column;
    gap: var(--gold_space_sp) var(--gold_space_pc);

    /*※　下記指定ないときは設置の通りの順序 */
    /*▽　sを上にしたい ------*/
    &.s_top {
        .ly_gold_s {
            order: -1;
        }
    }

    /*▽　bを上にしたい ------*/
    &.b_top {
        .ly_gold_b {
            order: -1;
        }
    }

    @media (width >=768px) {
        flex-direction: row;
        justify-content: space-between;

        .ly_gold_s {
            width: 50%;
            order: 0;
        }

        .ly_gold_b {
            width: calc(50% - var(--gold_space_pc));
            order: 0;
        }

        &.s_top {
            .ly_gold_s {
                order: 0;
            }
        }

        &.b_top {
            .ly_gold_b {
                order: 0;
            }
        }

        /*縦center*/
        &.align_cent {
            align-items: center;
        }
    }

    @media (width >=992px) {
        .ly_gold_s {
            width: 38%;
        }

        .ly_gold_b {
            width: calc(62% - var(--gold_space_pc));
        }
    }
}


/*------------------------------------------------------------other*/
/*------------------------------------
pagenavi
--------------------------------------*/
:root {
    --pagenavi-span-border: var(--subcolor-light);
    --pagenavi-span-tx: var(--subcolor-light);
    --pagenavi-span-bg: var(--white);
    --pagenavi-a-border: var(--subcolor);
    --pagenavi-a-tx: var(--light-tx-color);
    --pagenavi-a-bg:var(--subcolor);
    --pagenavi-padding-block: 3px;
    --pagenavi-padding-inline: 10px;
    --pagenavi-radius: var(--inner-radius);
}

.pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    &>li {
        :is(span) {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: var(--pagenavi-padding-block) var(--pagenavi-padding-inline);
            color: var(--pagenavi-span-tx);
            border: 1px solid var(--pagenavi-span-border);
            background: var(--pagenavi-span-bg);
            border-radius: var(--pagenavi-radius);
        }

        :is(a) {
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            padding: var(--pagenavi-padding-block) var(--pagenavi-padding-inline);
            color: var(--pagenavi-a-tx);
            border: 1px solid var(--pagenavi-a-border);
            background: var(--pagenavi-a-bg);
            border-radius: var(--pagenavi-radius);
            transition: 0.2s;

            &:hover {
               background:var(--subcolor-light);
            }
        }
    }
}

/*------------------------------------
pdf link（他ファイルも対応）
--------------------------------------*/
.pdf_link>li {
    line-height: 1.4;
    position: relative;
    padding-left: 1.6em;
    text-align: left;

    &+li {
        margin-top: 0.6em;
    }

    /*その他　file*/
    &::before {
        content: "";
        display: inline-block;
        width: 1.4em;
        height: auto;
        aspect-ratio: 1;
        position: absolute;
        inset: 0 auto auto 0;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23888" d="M21 8V20.9932C21 21.5501 20.5552 22 20.0066 22H3.9934C3.44495 22 3 21.556 3 21.0082V2.9918C3 2.45531 3.4487 2 4.00221 2H14.9968L21 8ZM19 9H14V4H5V20H19V9Z" /></svg>');
    }

    /*pdf*/
    &:has(a[href$=".pdf"]) {
        &::before {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23D35230" d="M5 4H15V8H19V20H5V4ZM3.9985 2C3.44749 2 3 2.44405 3 2.9918V21.0082C3 21.5447 3.44476 22 3.9934 22H20.0066C20.5551 22 21 21.5489 21 20.9925L20.9997 7L16 2H3.9985ZM10.4999 7.5C10.4999 9.07749 10.0442 10.9373 9.27493 12.6534C8.50287 14.3757 7.46143 15.8502 6.37524 16.7191L7.55464 18.3321C10.4821 16.3804 13.7233 15.0421 16.8585 15.49L17.3162 13.5513C14.6435 12.6604 12.4999 9.98994 12.4999 7.5H10.4999ZM11.0999 13.4716C11.3673 12.8752 11.6042 12.2563 11.8037 11.6285C12.2753 12.3531 12.8553 13.0182 13.5101 13.5953C12.5283 13.7711 11.5665 14.0596 10.6352 14.4276C10.7999 14.1143 10.9551 13.7948 11.0999 13.4716Z" /></svg>');
        }
    }

    /*word*/
    &:has(a[href$=".doc"]),
    &:has(a[href$=".docx"]),
    &:has(a[href$=".docm"]) {
        &::before {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23185ABD" d="M16 8V16H14L12 14L10 16H8V8H10V13L12 11L14 13V8H15V4H5V20H19V8H16ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918Z" /></svg>');
        }
    }

    /*excel*/
    &:has(a[href$=".xls"]),
    &:has(a[href$=".xlsx"]),
    &:has(a[href$=".xlsm"]) {
        &::before {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23107C41" d="M13.2 12L16 16H13.6L12 13.7143L10.4 16H8L10.8 12L8 8H10.4L12 10.2857L13.6 8H15V4H5V20H19V8H16L13.2 12ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918Z" /></svg>');
        }
    }

    /*power point*/
    &:has(a[href$=".pptx"]),
    &:has(a[href$=".pptm"]),
    &:has(a[href$=".potx"]),
    &:has(a[href$=".ppt"]) {
        &::before {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23D35230" d="M3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM5 4V20H19V8H16V14H10V16H8V8H15V4H5ZM10 10V12H14V10H10Z" /></svg>');
        }
    }
}
/*==============================
list
==============================*/
.list_basic01 {
    text-align: left;

    &>li {
        position: relative;
        padding-left: 0.8em;

        &+li {
            margin-top: 0.4em;
        }

        &::before {
            content: "";
            display: block;
            width: 6px;
            height: 6px;
            background: var(--maincolor);
            border-radius: 100px;
            position: absolute;
            inset: 0.6em 0 0 0;
        }
    }


}