@charset "UTF-8";
/*=======================================
login
=======================================*/
.login_body {
    --login-head-h: min(40vmax, 240px);

    width: 100vw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    .login_header {
        height: var(--login-head-h);
        background: var(--bg-color01);
        display: grid;
        place-items: center;
    }
    .login_main {
        height: calc(100dvh - var(--login-head-h));
        .login_inner {
            padding: min(15.38vw, 60px) var(--section-top);
        }
    }

    @media (width >= 992px) {
        flex-direction: row;
        justify-content: center;
        .login_header {
            width: 50vw;
            height: 100dvh;

            .title_group {
                width: min(100%, calc(var(--container-max) / 2));
                margin-left: auto;
            }
        }
        .login_main {
            width: 50vw;
            height: 100dvh;
            display: grid;
            place-items: center;
            .login_inner {
                width: min(100%, calc(var(--container-max) / 2));
                margin-right: auto;
                padding: 0 var(--section-top);
            }
        }
    }
}

/*logo --------------*/
.hedding {
    .logo_img {
        :is(img) {
            width: min(61.54vi, 320px);
            height: auto;
        }
    }
    .site_title {
        font-weight: 700;
        color: var(--base-tx-color);
        font-size: clamp(2rem, 24vw/9.92, 2.4rem);
        margin-top: 0.5lh;

        @media (width >= 992px) {
            margin-bottom: 6vh;
        }
    }
}

/*login --------------*/
.login_wrap {
    width: min(100%, 360px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;

    :where(form) {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
}
.login_title {
    font-weight: 700;
    color: var(--maincolor-dark);
    font-size: clamp(3rem, 36vw/9.92, 3.6rem);
    letter-spacing: 0.05em;
    line-height: 1;
}
.login_input {
    text-align: left;
    & > dt {
        font-weight: 700;
    }
    & > dd {
        & + dt {
            margin-top: 14px;
        }
    }
}
.login_btn {
    & > button {
        cursor: pointer;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 8px;
        background: var(--maincolor);
        color: var(--light-tx-color);
        box-shadow: 0 3px var(--maincolor-dark);
        font-size: 2rem;
        font-weight: 700;
        border-radius: var(--btn-radius);
        padding: calc(0.9em + 3px) 1em calc(0.9em - 3px);
        transition: 0.2s ease-in-out;

        :is(i) {
            font-weight: normal;
            font-size: 1.2em;
            vertical-align: middle;
        }

        &:hover {
            background: var(--maincolor-dark);
            transform: translateY(3px);
            box-shadow: 0 0 var(--maincolor-dark);
        }
    }
}
.forget_tx {
    display: flex;
    justify-content: center;
    gap: 6px;
    color: var(--error-color);
    font-size: var(--font-s);
    line-height: 1;
    transition: 0.2s;
    :is(a) {
        color: inherit;
        &:hover {
            opacity: 0.8;
        }
    }
    :is(i) {
        font-size: 1.4em;
    }
}

/*=======================================
header
=======================================*/
.header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    position: relative;
    z-index: var(--header-z);
    @media (width >= 768px) {
        box-shadow: 0 4px 6px color-mix(in srgb, var(--black), transparent 90%);
        position: fixed;
        width: 100%;
        inset: 0 0 auto;
    }
}

/*logout状態 -----------------------*/
.header.logout_head {
    border-bottom: 1px solid var(--light-gray);
    .toggle {
        visibility: hidden;
    }
}
/*logo ----------------*/
.logo_group {
    display: flex;
    flex-direction: column;
    gap: 0.4rlh 1.6rlh;
    text-align: left;
    padding-left: var(--container-pd);

    @media (width >= 992px) {
        flex-direction: row;
        align-items: center;
        text-align: center;
    }

    .logo_img {
        :is(img) {
            width: min(35.9vi, 170px);
            height: auto;
            transition: 0.2s;
            @media (width >= 1200px) {
                width: clamp(160px, 190vw/13.66, 190px);
            }
        }

        :is(a) {
            transition: 0.2s;
            &:hover {
                opacity: 0.8;
            }
        }
    }
    .site_title {
        font-weight: 700;
        color: var(--base-tx-color);
        font-size: clamp(1.4rem, 16vw/9.92, 1.6rem);
    }
}
/*toggle ----------------*/
.toggle {
    position: relative;
    width: var(--toggle-size);
    height: auto;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 0.2em;
    gap: 4px;
    cursor: pointer;

    transition: 0.2s;
    & > button {
        border: none;
    }

    &:hover {
        opacity: 0.8;
    }

    @media (width >= 768px) {
        order: 3;
    }
}
.hamburger {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    width: var(--toggle-w);
    height: var(--toggle-all-h);
    padding: 0;
    background-color: transparent;
    outline: none;
    cursor: pointer;

    &::before {
        display: block;
        border-radius: var(--toggle-radius);
        width: var(--toggle-w);
        height: var(--toggle-h);
        position: absolute;
        top: 0;
        left: 0;
        background-color: var(--maincolor);
        box-sizing: border-box;
        -webkit-animation: navToggleOuter_reverse 0.5s;
        animation: navToggleOuter_reverse 0.5s;
        content: "";
        transition-duration: 0.5s;
        transition-property: -webkit-transform;
        transition-property: transform;
        transition-property: transform, -webkit-transform;
    }

    &::after {
        display: block;
        position: absolute;
        border-radius: var(--toggle-radius);
        left: 0;
        bottom: 0;
        width: var(--toggle-w);
        height: var(--toggle-h);
        background-color: var(--maincolor);
        box-sizing: border-box;
        -webkit-animation: navToggleInner_reverse 0.5s;
        animation: navToggleInner_reverse 0.5s;
        content: "";
        transition-duration: 0.5s;
        transition-property: -webkit-transform;
        transition-property: transform;
        transition-property: transform, -webkit-transform;
    }

    & > span {
        display: block;
        border-radius: var(--toggle-radius);
        width: var(--toggle-w);
        height: var(--toggle-h);
        background-color: var(--maincolor);
        box-sizing: border-box;
        position: absolute;
        top: 50%;
        left: 0;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        transition-duration: 0.5s;
        transition-property: opacity;
    }

    /*open ---------*/
    &.hamburger_open {
        &::before {
            inset-block-start: 50%;
            -webkit-transform: rotate(24deg) translateY(-50%);
            transform: rotate(24deg) translateY(-50%);
        }

        &::after {
            width: var(--toggle-w);
            top: 50%;
            left: 1.5px;
            -webkit-transform: rotate(-24deg) translateY(-50%);
            transform: rotate(-24deg) translateY(-50%);
        }

        & > span {
            opacity: 0;
        }
    }
}
.menu_tx {
    color: var(--maincolor-dark);
    font-weight: 700;
    font-size: 1.2rem;
}

/*head_nav ----------------*/
.head_nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: var(--light-gray);
    @media (width >= 768px) {
        background: transparent;
        width: max-content;
        order: 2;
        margin-left: auto;
    }
}
.user_name {
    text-align: left;
    display: flex;
    flex-direction: column;
    padding: 0.4em 0 0.4em var(--container-pd);
    .greeting {
        font-size: 1.2rem;
    }
    .user {
        font-size: 1.2rem;
        white-space: nowrap;
        &::after {
            content: "さん";
            margin-left: 4px;
            vertical-align: text-bottom;
        }
        .name {
            display: inline-block;
            font-weight: 700;
            max-width: 12ic;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            line-height: 1;
        }
    }
    @media (width >= 768px) {
        height: var(--toggle-size);
        justify-content: center;
        padding: 0 clamp(24px, 32vw/13.66, 32px) 0 0;
        .greeting,
        .user {
            font-size: clamp(1.2rem, 14vw/13.66, 1.4rem);
            .name {
                font-size: 1.2em;
            }
        }
    }
}
.head_reserve {
    width: 35.9vw;
    & > a {
        text-decoration: none;
        font-weight: 700;
        color: var(--light-tx-color);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        height: 100%;
        background: var(--maincolor);
        font-size: 1.4rem;
        transition: 0.2s;
        :is(i) {
            font-weight: normal;
            font-size: 1.4em;
        }

        &:hover {
            background: var(--maincolor-dark);
        }
    }
    @media (width >= 768px) {
        width: min(17.6vw, 240px);
        & > a {
            height: 90px;
            font-size: clamp(1.4rem, 18vw/12, 1.8rem);
        }
    }
}
/*subnav ----------------*/
.subnav {
    display: none;
    width: 100%;
    padding: 24px;
    background: var(--bg-white);
    box-shadow: color-mix(in srgb, var(--black), transparent 90%) 0px 4px 12px;
    position: fixed;
    inset: var(--header-h) 0 auto auto;
    z-index: var(--nav-z);

    @media (width >= 768px) {
        border-top: 1px solid var(--light-gray);
        width: min(100%, 400px);
    }
}
.mypage_nav {
    text-align: left;
    & > dt {
        font-weight: 700;
        font-size: 1.4rem;
        color: var(--maincolor-dark);
        :is(i) {
            font-weight: normal;
            font-size: 1.4em;
            vertical-align: middle;
            margin-right: 0.3em;
        }
    }

    & > dd {
        border-top: 1px solid var(--border-color);

        :is(a) {
            text-decoration: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 8px;
            width: 100%;
            font-size: 1.6rem;

            line-height: 1;
            color: var(--base-tx-color);
            font-weight: 700;
            transition: 0.2s;

            &::after {
                font-family: "remixicon";
                content: "\ea6c";
                display: block;
                color: var(--maincolor);
                font-size: 1.4em;
                font-weight: normal;
            }

            &:hover {
                color: var(--maincolor-dark);
            }
        }

        &:last-of-type {
            border-bottom: 1px solid var(--border-color);
            color: var(--maincolor-dark);
        }

        /*active*/
        &.active {
            :is(a) {
                pointer-events: none;
                background: color-mix(in srgb, var(--maincolor), white 90%);
            }
        }
    }
}
.logout {
    margin-top: 24px;
    background: var(--light-gray);
    text-align: right;
    :is(a) {
        display: block;
        text-decoration: none;
        color: var(--base-tx-color);
        font-size: 1.4rem;
        transition: 0.2s;
        line-height: 1;
        padding: 8px 16px;
        :is(i) {
            color: var(--gray);
            font-size: 1.4em;
            margin-left: 6px;
        }

        &:hover {
            opacity: 0.8;
        }
    }
}

/*=======================================
container
=======================================*/
.main {
    min-height: calc(100dvh - var(--header-h) - var(--footer-h));
    padding: 0 var(--container-pd);

    @media (width >= 768px) {
        margin-top: var(--header-h);
    }
}
@media (width >= 768px) {
    .main:not(:has(.step)) {
        .section_wrap {
            padding-top: var(--section-bottom);
        }
    }
}
.section_wrap {
    width: min(100%, var(--container-max));
    margin-left: auto;
    margin-right: auto;
    padding-top: var(--section-top);
    padding-bottom: var(--section-bottom);
}
.content_area {
    display: flex;
    flex-direction: column;
    gap: var(--spacer);
    width: min(100%, var(--inner-max));
    margin-left: auto;
    margin-right: auto;

    & > form {
        display: flex;
        flex-direction: column;
        gap: var(--spacer);
        width: min(100%, var(--inner-max));
    }
}

.section {
    & + * {
        margin-top: var(--spacer);
    }
}

/*=======================================
fotoer
=======================================*/
.footer {
    padding: clamp(24px, 32vw/13.66, 32px) var(--container-pd);
}
.copyright {
    color: var(--maincolor-dark);
    font-size: 1.2rem;
}

/*=======================================
parts
=======================================*/
/*------------------------------
step
------------------------------*/
.step {
    padding-top: 4.1vw;
    @media (width >= 768px) {
        padding-top: min(2.93vw, 40px);
    }
}
.step_list {
    --check-size: min(8.2vw, 44px);

    width: min(100%, 768px);
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: center;
    & > li {
        position: relative;
        z-index: 10;
        flex: 1;
        &:not(:first-of-type)::before {
            content: "";
            width: 100%;
            height: 4px;
            background: var(--light-gray);
            display: block;
            position: absolute;
            z-index: -9;
            top: calc(var(--check-size) / 2 - 2px);
            left: -50%;
        }

        &:nth-child(2) {
            z-index: 9;
        }
        &:nth-child(3) {
            z-index: 8;
        }
        &:nth-child(4) {
            z-index: 7;
        }
    }
    .check {
        background: var(--light-gray);
        border-radius: 100vmax;
        width: var(--check-size);
        height: auto;
        aspect-ratio: 1;
        display: grid;
        place-items: center;
        font-size: 1.4em;
        color: var(--light-gray);
        margin: 0 auto 8px;
        position: relative;
        z-index: 2;
        overflow: hidden;

        @media (width <= 360px) {
            font-size: 1.1em;
        }
    }
    .step_tx {
        color: var(--gray);
        font-weight: 700;
        font-size: 1.2rem;
        line-height: 1.3;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 3em;
    }
    @media (width >= 768px) {
        .check {
            margin-bottom: 0;
            border: 2px solid var(--white);
        }
        .step_tx {
            font-size: clamp(1.4rem, 14vw/9.92, 1.6rem);
            :is(br) {
                display: none;
            }
        }
    }
    /*active---------------------*/
    /*step01*/
    &.step01 {
        & > li {
            &:nth-child(1) {
                .check {
                    background: var(--maincolor);
                    color: var(--light-tx-color);
                }
                .step_tx {
                    color: var(--maincolor-dark);
                }
            }
        }
    }

    /*step02*/
    &.step02 {
        & > li {
            &:nth-child(1),
            &:nth-child(2) {
                .check {
                    background: var(--maincolor);
                    color: var(--light-tx-color);
                }
                .step_tx {
                    color: var(--maincolor-dark);
                }
                &::before {
                    background: var(--maincolor);
                }
            }
        }
    }

    /*step03*/
    &.step03 {
        & > li {
            &:nth-child(1),
            &:nth-child(2),
            &:nth-child(3) {
                .check {
                    background: var(--maincolor);
                    color: var(--light-tx-color);
                }
                .step_tx {
                    color: var(--maincolor-dark);
                }
                &::before {
                    background: var(--maincolor);
                }
            }
        }
    }

    /*step04*/
    &.step04 {
        & > li {
            &:nth-child(1),
            &:nth-child(2),
            &:nth-child(3),
            &:nth-child(4) {
                .check {
                    background: var(--maincolor);
                    color: var(--light-tx-color);
                }
                .step_tx {
                    color: var(--maincolor-dark);
                }
                &::before {
                    background: var(--maincolor);
                }
            }
        }
    }
}

/*------------------------------
title
------------------------------*/
.pagetitle {
    color: var(--maincolor-dark);
    font-weight: 700;
    font-size: clamp(2.4rem, 36vw/9.92, 3.6rem);
    position: relative;
    padding: 0.5rlh 0 1rlh;
    margin-bottom: var(--spacer);

    &::before {
        content: "";
        display: block;
        width: 80px;
        height: 6px;
        background: var(--maincolor);
        border-radius: 100vmax;
        position: absolute;
        inset: auto auto 0 50%;
        transform: translateX(-50%);
    }
}
.title01 {
    font-weight: 700;
    text-align: left;
    border-left: 6px solid var(--maincolor);
    font-size: var(--font-ti01);
    padding: min(1.54vw, 6px) 0 min(1.54vw, 6px) min(4.1vw, 16px);
    margin-bottom: min(4.1vw, 16px);
    @media (width >= 768px) {
        padding: min(0.4vw, 4px) 0 min(0.4vw, 4px) min(1.6vw, 16px);
    }
}
.title02 {
    text-align: left;
    position: relative;
    width: 100%;
    font-weight: 700;
    font-size: var(--font-l);
    padding: 0.1em 0 0 1.6em;
    margin-bottom: min(6.15vw, 24px);
    color: var(--subcolor-dark);
    line-height: 1.2;
    &::before {
        content: "\eb82";
        font-family: remixicon !important;
        font-style: normal;
        display: block;
        color: var(--subcolor);
        position: absolute;
        inset: 0 auto auto 0;
        font-size: 1.2em;
    }
}

.subti01 {
    font-size: var(--font-ti01);
    font-weight: 700;
    margin-bottom: 0.44rlh;
}

/*------------------------------
txt
------------------------------*/
.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: 0.8em;
    }
    /*center → left*/
    &.cent_l {
        text-align: center;
    }

    @media (width >= 992px) {
        /*left → center*/
        &.l_cent {
            text-align: center;
        }
        /*center → left*/
        &.cent_l {
            text-align: left;
        }
    }
}

/*decoration -------------*/
/*bold*/
.tx_bold {
    font-weight: 700;
}

/*color -------------*/
/*color red*/
.tx_red {
    color: var(--error-color);
}
/*color mian*/
.tx_main {
    color: var(--maincolor);
}
/*color gray*/
.tx_gray {
    color: var(--gray);
}

/*size -------------*/
/*s size*/
.s_tx {
    font-size: var(--font-s);
}
.s_em {
    font-size: 0.8em;
}
/*l size*/
.l_tx {
    font-size: var(--font-l);
}
.l_em {
    font-size: 1.2em;
}

/*english -------------*/
.en_tx {
    font-family: var(--font-en);
    font-weight: var(--font-en-weight);
}

/*レスポンシブblock/none============*/
@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;
    }
}

/*------------------------------
button
------------------------------*/
/*btn base　-------------------*/
[class^="button_"] {
    & > a,
    & > button,
    & > input {
        cursor: pointer;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: var(--btn-radius);
        font-size: min(4.62vw, 1.8rem);
        font-weight: 700;
        line-height: 1.2;
        white-space: nowrap;
        transition: 0.2s;
        padding: calc(0.9em + 3px) 1em calc(0.9em - 3px);
        transition: 0.2s ease-in-out;

        :is(i) {
            font-weight: normal;
            font-size: 1.2em;
            vertical-align: middle;
        }

        &:hover {
            transform: translateY(3px);
            box-shadow: 0 0 var(--maincolor-dark);
        }
    }
    & > a {
        text-decoration: none;
    }

    /*l size*/
    &.l_tx {
        & > a,
        & > button,
        & > input {
            font-size: min(5.13vw, 2rem);
        }
    }

    /*左右配置*/
    &.between {
        & > a,
        & > button,
        & > input {
            justify-content: space-between;
        }
    }
}

/*01 */
.button_primary {
    & > a,
    & > button,
    & > input {
        background: var(--maincolor);
        color: var(--light-tx-color);
        box-shadow: 0 3px var(--maincolor-dark);
        &:hover {
            background: var(--maincolor-dark);
        }
    }
}
/*02 */
.button_secondary {
    & > a,
    & > button,
    & > input {
        background: var(--gray);
        color: var(--light-tx-color);
        box-shadow: 0 3px var(--dark-gray);
        &:hover {
            background: var(--dark-gray);
        }
    }
}
/*03*/
/* .button_tertiary {
    & > a,
    & > button,
    & > input {
        color: var(--maincolor);
        background: var(--bg-white);
        border-color: var(--maincolor);
        &:hover {
            opacity: 1;
            background: var(--maincolor);
            color: var(--light-tx-color);
        }
    }
} */

/*btn用layout　-------------------*/
.ly_btn_box {
    display: flex;
    flex-direction: column;
    gap: 16px;

    @media (width >= 600px) {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;

        & > * {
            min-width: 320px;
        }

        /*左寄せ*/
        &.tx_left {
            justify-content: flex-start;
        }

        /*右寄せ*/
        &.tx_right {
            justify-content: flex-end;
        }

        /*入れ替え*/
        &.change {
            & > *:last-child {
                order: -1;
            }
        }
    }
}

/*text link -------------------*/
.txt_link {
    display: flex;
    flex-direction: column;

    @media (width >= 768px) {
        align-items: center;
    }

    & > li {
        line-height: 1.4;
        text-align: left;
        color: var(--error-color);
        padding-left: 1.6em;
        position: relative;

        & > a {
            color: inherit;
            transition: 0.2s;
            &:hover {
                opacity: 0.8;
            }
        }

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

        /*その他　file*/
        &::before {
            content: "";
            display: inline-block;
            width: 1.4em;
            height: auto;
            aspect-ratio: 1;
            position: absolute;
            inset: -0.1em 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>');
            }
        }
    }
}

/*------------------------------
layout
------------------------------*/
.ly_card_list {
    display: grid;
    gap: 4.1vw;
    grid-template-columns: repeat(auto-fit, minmax(298px, 1fr));

    @media (width >= 768px) {
        gap: min(3.3vw, 32px);
    }
}
/*------------------------------
box
------------------------------*/
/*room select*/
.room_box {
    border: 4px solid var(--maincolor-light);
    border-radius: var(--base-radius);
    padding: min(4.1vw, 16px) min(6.2vw, 24px);
    .room_ti {
        font-weight: 700;
        font-size: 3.6rem;
        margin-bottom: 0.5rlh;
    }

    /*利用中　----------------*/
    &.inactive {
        border: 4px solid var(--light-gray);
        .room_ti {
            color: var(--gray);
        }
        [class^="button_"] {
            display: none;
        }
        &::after {
            content: "利用中";
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: var(--btn-radius);
            font-size: min(5.13vw, 2rem);
            white-space: nowrap;
            font-weight: 700;
            line-height: 1.2;
            color: var(--error-color);
            font-weight: 700;
            padding: calc(0.9em + 3px) 1em calc(0.9em - 3px);
            background: var(--light-gray);
        }
    }

    @media (width >= 768px) {
        padding: min(4.1vw, 16px);
    }
}

/*reservation*/
.reservation_number {
    border: 4px solid var(--error-color);
    border-radius: var(--base-radius);
    padding: 6.2vw;

    .number {
        font-weight: 700;
        color: var(--error-color);
        font-size: clamp(3.2rem, 40vw/9.92, 4rem);
    }

    @media (width >= 768px) {
        padding: min(3.33vw, 32px) min(4.17vw, 40px);
    }
}

/*tx box*/
.tx_box01 {
    background: var(--bg-color02);
    border-radius: var(--base-radius);
    width: min(100%, var(--inner-max));
    margin-left: auto;
    margin-right: auto;
    padding: 6.2vw;
    & + * {
        margin-top: var(--spacer);
    }

    &.s_space {
        padding: 4.1vw;
    }

    .cts_p {
        & + .ly_btn_box {
            margin-top: var(--spacer);
        }
    }

    @media (width >= 768px) {
        padding: min(3.33vw, 32px) min(4.17vw, 40px);
        &.s_space {
            padding: min(1.1vw, 16px) min(1.6vw, 24px);
        }
    }
}

/*inner form*/
.inner_form {
    width: min(100%, 560px);
    margin: var(--spacer) auto;
    text-align: left;

    display: flex;
    flex-direction: column;
    gap: 8px;

    :is(form) {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}
.form_dl {
    & dt {
        font-weight: 700;
    }
    & dd {
        & + dt {
            margin-top: min(6.2vw, 24px);
        }
    }
}
/*------------------------------
list
------------------------------*/
/*pdf -----*/
.pdf_link > li {
    line-height: 1.4;
    position: relative;
    padding-left: 1.4em;
    text-align: left;
}
.pdf_link > li + li {
    margin-top: 8px;
}
.pdf_link > li::before {
    font-family: remixicon !important;
    font-style: normal;
    content: "\eceb";
    display: block;
    position: absolute;
    inset: 0 auto auto 0;
    color: var(--error-color);
    font-size: 1.2em;
}

/*※ -----*/
.note_list {
    text-align: left;
}
.note_list > li {
    line-height: 1.4;
    position: relative;
    padding-left: 1.4em;
}
.note_list > li + li {
    margin-top: 8px;
}
.note_list > li::before {
    content: "※";
    position: absolute;
    inset: 0 auto auto 0;
}
.note_list.s_tx > li {
    font-size: var(--font-s);
}

/*※に番号リスト -----*/
ol.note_list {
    counter-reset: number;
}
ol.note_list > li {
    list-style: none;
    padding-left: 2.6em;
}
ol.note_list > li::before {
    counter-increment: number;
    content: "0" counter(number);
    position: absolute;
    inset: 0.4em auto auto 1.3em;
    font-size: 1.2rem;
}
ol.note_list > li::after {
    content: "※";
    position: absolute;
    inset: 0 auto auto 0;
}
ol.note_list > li:nth-child(n + 10)::before {
    content: counter(number);
}

/*番号リスト -----*/
.num_list {
    counter-reset: number;
    text-align: left;
    & > li {
        line-height: 1.4;
        position: relative;
        list-style: none;
        padding-left: 1.8em;

        &::before {
            counter-increment: number;
            content: "0" counter(number) ".";
            position: absolute;
            inset: 0 auto auto 0;
        }

        &:nth-child(n + 10)::before {
            content: counter(number) ".";
        }

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

/*basic list -----*/
.list_basic01 {
    text-align: left;
}
.list_basic01 > li {
    position: relative;
    padding-left: 0.8em;
}
.list_basic01 > li::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background: var(--maincolor);
    border-radius: 100px;
    position: absolute;
    inset: 0.6em 0 0 0;
}
.list_basic01 > li + li {
    margin-top: 0.4em;
}
.list_basic01.s_tx > li {
    font-size: var(--font-s);
}

/*------------------------------
dl
------------------------------*/
/*basic dl (div)-----*/
.dl_basic01 {
    & > div {
        text-align: left;
        display: flex;
        & > dt {
            white-space: nowrap;
            &::after {
                content: "：";
                display: inline-block;
                padding-left: 0.5em;
                padding-right: 0.5em;
            }
        }
    }
}
/*basic dl (column)-----*/
.dl_basic02 {
    text-align: left;
    & > dt {
        white-space: nowrap;
        &::after {
            content: "：";
            display: inline-block;
            padding-left: 0.2em;
        }
    }

    & > dd {
        & + dt {
            margin-top: 0.8em;
        }
    }
}

/*dl table (div)-----*/
.dl_table {
    display: table;
    text-align: left;
    & > div {
        display: table-row;

        & > dt,
        & > dd {
            display: table-cell;
        }
        & > dt {
            white-space: nowrap;
            position: relative;
            padding-right: 1.5em;
            &::after {
                content: "：";
                display: inline-block;
                padding-left: 0.2em;
                position: absolute;
                inset: 0 0.5em auto auto;
            }
        }
    }
}

/*------------------------------
mypage nav
------------------------------*/
.mypage_tab {
    display: flex;
    background: var(--light-gray);
    width: min(100%, 400px);
    margin-bottom: var(--spacer);
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--btn-radius);
    :is(a) {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--gray);
        font-weight: 700;
        height: 48px;
        transition: 0.2s;

        &:hover {
            color: var(--subcolor);
        }
    }
    & > li {
        flex: 1;
        text-align: center;

        &.active {
            :is(a) {
                pointer-events: none;
                background: var(--subcolor);
                color: var(--light-tx-color);
                border-radius: var(--btn-radius);
            }
        }
    }
}

/*------------------------------
table_scroll
------------------------------*/
/*table 01-----*/
.sheet_basic {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--tbl_bd_color);
    border-bottom: none;

    /*右寄せ*/
    &.tx_right {
        :is(th),
        :is(td) {
            text-align: right;
        }
    }

    /*左よせ*/
    &.tx_left {
        :is(th),
        :is(td) {
            text-align: left;
        }
    }

    :where(tr) {
        & > th,
        & > td {
            border-bottom: 1px solid var(--tbl_bd_color);
            padding: var(--tbl_pd_sp_b) var(--tbl_pd_sp_in);
            display: block;

            /*右寄せ*/
            &.tx_right {
                text-align: right;
            }
            /*左よせ*/
            &.tx_left {
                text-align: left;
            }

            /*金額*/
            &.price {
                text-align: right;
                &::after {
                    content: "円";
                }
            }
        }
        & > th {
            background: var(--tbl_th_color);
        }

        /*右寄せ*/
        &.tx_right {
            & > th,
            & > td {
                text-align: right;
            }
        }

        /*左よせ*/
        &.tx_left {
            & > th,
            & > td {
                text-align: left;
            }
        }
    }

    @media (width >= 768px) {
        :where(tr) {
            & > th,
            & > td {
                display: table-cell;
                padding-block: var(--tbl_pd_pc_b) var(--tbl_pd_pc_in);
            }
            & > th {
                border-right: 1px solid var(--tbl_bd_color);
                width: min(20vw, 240px);
            }
        }
    }
}

/*table 02-----*/
.table_basic {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--tbl_bd_color);
    border-bottom: none;

    /*右寄せ*/
    &.tx_right {
        :is(th),
        :is(td) {
            text-align: right;
        }
    }

    /*左よせ*/
    &.tx_left {
        :is(th),
        :is(td) {
            text-align: left;
        }
    }

    :where(tr) {
        & > th,
        & > td {
            border-bottom: 1px solid var(--tbl_bd_color);
            border-right: 1px solid var(--tbl_bd_color);
            padding: var(--tbl_pd_sp_b) var(--tbl_pd_sp_in);

            /*右寄せ*/
            &.tx_right {
                text-align: right;
            }
            /*左よせ*/
            &.tx_left {
                text-align: left;
            }
        }
        & > th {
            background: var(--tbl_th_color);
        }

        /*右寄せ*/
        &.tx_right {
            & > th,
            & > td {
                text-align: right;
            }
        }

        /*左よせ*/
        &.tx_left {
            & > th,
            & > td {
                text-align: left;
            }
        }
    }

    @media (width >= 768px) {
        :is(tr) {
            & > th,
            & > td {
                padding: var(--tbl_pd_pc_b) var(--tbl_pd_pc_in);
            }
        }
    }

    /*グレー*/
    :is(tr) {
        &.end {
            background: #ececec;
            :is(th),
            :is(td) {
                color: var(--gray);
            }
        }
    }
}

.nowrap {
    white-space: nowrap;
}

tr.nowrap > th,
tr.nowrap > td {
    white-space: nowrap;
}
/*table_scroll -------------------*/
.table_scroll {
    width: 100%;
    overflow-x: auto;
    position: relative;

    &.wide_size {
        margin-right: calc(var(--container-pd) * -1);
        width: calc(100% + var(--container-pd));
    }
}
.scroll_hint {
    display: none;
    color: var(--maincolor-dark);
    width: max-content;
    padding: 0.1em 1em;
    background: var(--bg-color02);
    margin-bottom: 1em;
}
.scroll_hint_show {
    display: block;
}

/*------------------------------------
pagenavi
--------------------------------------*/
:root {
    --pagenavi-span-border: var(--subcolor);
    --pagenavi-span-tx: var(--light-tx-color);
    --pagenavi-span-bg: var(--subcolor);
    --pagenavi-a-border: var(--subcolor);
    --pagenavi-a-tx: var(--subcolor-dark);
    --pagenavi-a-bg: color-mix(in srgb, var(--subcolor), white 80%);
    --pagenavi-padding-block: 3px;
    --pagenavi-padding-inline: 10px;
    --pagenavi-radius: var(--inner-radius);
}
.pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    & + * {
        margin-top: var(--spacer);
    }

    & > 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(--pagenavi-span-bg);
                color: var(--light-tx-color);
            }
        }
    }
}
