@charset "UTF-8";

body {
    background: linear-gradient(180deg, var(--bg-color01) 0%, var(--bg-color01) 15%, var(--bg-white) 100%);
    position: relative;
    z-index: 2;
}

/*=======================================
container
=======================================*/
.container {
    width: 100%;

    @media (width >= 768px) {
        padding-right: var(--container-pd);
        padding-left: var(--container-pd);
    }
}
.container_inner {
    max-width: var(--container-max);
    margin-right: auto;
    margin-left: auto;
    background: var(--bg-white);
    border-radius: var(--base-radius);
    padding-right: var(--inner-pd);
    padding-left: var(--inner-pd);
    padding-top: var(--section-top);
    padding-bottom: var(--section-bottom);
    box-shadow: var(--box-shadow01);
    min-height: calc(100dvh - var(--header-h-total) - var(--footer-h));
    @media (width >= 768px) {
        min-height: calc(100dvh - var(--header-h-total) - var(--footer-h) + var(--section-top));
    }
}
.section {
    text-align: left;
    & + .section {
        padding-top: var(--section-top);
    }
}

/*=======================================
header
=======================================*/
.header_container {
    width: 100%;
}
.header {
    width: 100%;
    /* max-width: var(--container-max); */
    margin-right: auto;
    margin-left: auto;
    background: var(--bg-white);
    /* border-radius: 0 0 var(--base-radius) var(--base-radius); */
    padding: clamp(14px, 24vw/7.68, 24px) var(--inner-pd) clamp(10px, 20vw/7.68, 20px);
    box-shadow: var(--box-shadow01);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    position: relative;
    z-index: var(--toggle-z);

    &.fixed {
        width: 100%;
        max-width: none;
        position: fixed;
        inset: 0 0 auto;
        animation: header_anime 0.4s forwards;
        border-radius: 0;
    }

    &:has(:not(.mypage_nav)) {
        min-height: 68px;
        @media (width >= 768px) {
            min-height: 80px;
        }
    }
}

@keyframes header_anime {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        -webkit-font-smoothing: antialiased;
        will-change: transform;
        backface-visibility: hidden;
    }
}

.header_logo {
    width: clamp(240px, 269vw/13.66, 269px);
    position: relative;
    z-index: var(--header-parts-z);
    margin-right: 0.6em;
    :is(img) {
        width: 100%;
        height: auto;
    }

    @media (width <= 360px) {
        width: 200px;
    }
}

/*=======================================
nav
=======================================*/
.mypage_nav {
    width: 100%;
    position: relative;
    z-index: var(--header-parts-z);
    @media (width >= 768px) {
        width: max-content;
        margin-left: auto;
        order: 3;
    }
    /*非表示*/
    *.inactive {
        display: none;
    }

    /*btn*/
    [class$="_btn"] {
        :is(a) {
            height: var(--header-parts-h);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            width: max-content;
            padding: 0.4em 1em;
            text-decoration: none;
            font-size: var(--font-s);
            border-style: solid;
            border-width: 1px;
            border-radius: var(--btn-radius);
            transition: 0.2s;

            &::before {
                content: "";
                display: inline-block;
                width: 1.4em;
                height: auto;
                aspect-ratio: 1;
            }

            &:hover {
                transition: 0.2s;
            }
            &:active {
                transform: translateY(1px);
                border-top-width: 2px;
                border-bottom-width: 0;
            }
        }
    }
    /*nav*/
    [class$="_nav"] {
        display: flex;
        align-items: center;
        justify-content: space-between;

        @media (width >= 768px) {
            gap: 16px;
        }
    }
}

/*会員様の名前*/
.member_name {
    font-size: var(--font-s);
    white-space: nowrap;
    display: inline-flex;
    padding-top: 0.4em;
    &::after {
        content: "様";
        display: inline-block;
        margin-left: 0.2em;
        align-self: flex-end;
        font-size: 0.9em;
    }
    .name {
        display: inline-block;
        width: max-content;
        max-width: 16em;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}
/*ログイン*/
.login_btn {
    :is(a) {
        color: var(--light-tx-color);
        border-color: var(--maincolor);
        background: var(--maincolor);

        &:hover {
            background: color-mix(in srgb, var(--maincolor), var(--white) 20%);
            border-color: color-mix(in srgb, var(--maincolor), var(--white) 20%);
        }
        &:active {
            border-top-color: color-mix(in srgb, var(--maincolor), var(--black) 20%);
            background: var(--maincolor);
        }

        &::before {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M9.99945 11H2.04883C2.55055 5.94668 6.8141 2 11.9995 2C17.5223 2 21.9995 6.47715 21.9995 12C21.9995 17.5228 17.5223 22 11.9995 22C6.8141 22 2.55055 18.0533 2.04883 13H9.99945V16L14.9995 12L9.99945 8V11Z" /></svg>');
        }
    }
}
/*マイページ*/
.mypage_btn {
    :is(a) {
        color: var(--light-tx-color);
        border-color: var(--subcolor);
        background: var(--subcolor);
        &:hover {
            background: color-mix(in srgb, var(--subcolor), var(--white) 20%);
            border-color: color-mix(in srgb, var(--subcolor), var(--white) 20%);
        }
        &:active {
            border-top-color: color-mix(in srgb, var(--subcolor), var(--black) 20%);
            background: var(--subcolor);
        }

        &::before {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12C2 6.48 6.48 2 12 2ZM6.02332 15.4163C7.49083 17.6069 9.69511 19 12.1597 19C14.6243 19 16.8286 17.6069 18.2961 15.4163C16.6885 13.9172 14.5312 13 12.1597 13C9.78821 13 7.63095 13.9172 6.02332 15.4163ZM12 11C13.6569 11 15 9.65685 15 8C15 6.34315 13.6569 5 12 5C10.3431 5 9 6.34315 9 8C9 9.65685 10.3431 11 12 11Z" /></svg>');
        }
    }
}
/*新規会員登録*/
.register_link {
    :is(a) {
        display: flex;
        gap: 0.5em;
        text-decoration: none;
        color: var(--base-tx-color);
        white-space: nowrap;
        font-size: var(--font-s);
        transition: 0.2s;
        &:hover {
            opacity: 0.8;
        }
    }
    .icon {
        fill: var(--subcolor);
        width: 1.2em;
        height: auto;
        aspect-ratio: 1;
    }
}
/*------------------------------------
sub nav
--------------------------------------*/
.sub_nav {
    @media (width <= 768px) {
        display: none;
        position: absolute;
        inset: 0 0 auto;
        z-index: var(-nav-z);
        background: var(--bg-white);
        padding-top: var(--header-h);
        border-radius: 0 0 var(--base-radius) var(--base-radius);
        box-shadow: var(--box-shadow01);
    }
    @media (width >= 768px) {
        width: max-content;
    }
}

.sub_nav_list {
    display: flex;
    :is(a) {
        display: flex;
        text-decoration: none;
        color: var(--base-tx-color);
        transition: 0.2s;
        .icon {
            width: 1.4em;
            height: auto;
            aspect-ratio: 1;
        }
    }
    @media (width <= 768px) {
        flex-direction: column;
        text-align: left;
        padding: 16px var(--inner-pd);
        & > li {
            :is(a) {
                justify-content: space-between;
                padding: 0.8em 0;
                &:hover,
                &:active {
                    background: var(--bg-color01);
                }
            }
            border-top: 1px solid var(--border-color);
            &:last-child {
                border-bottom: 1px solid var(--border-color);
            }
            .icon {
                display: none;
            }
        }
    }
    @media (width >= 768px) {
        gap: 8px;
        & > li {
            :is(a) {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
                width: max-content;
                padding: 0.2em 1em;
                text-decoration: none;
                font-size: var(--font-ss);
                transition: 0.2s;
                background: var(--light-gray);

                &:hover {
                    background: color-mix(in srgb, var(--light-gray), white 20%);
                }
            }
            .icon {
                fill: var(--gray);
            }
        }
    }
}
/*------------------------------------
hamburger icon
--------------------------------------*/
.menu_btn {
    display: grid;
    place-items: center;
    width: var(--hamburger-w);
    height: auto;
    aspect-ratio: 1;
    border-radius: 100px;
    position: relative;
    z-index: var(--toggle-z);

    &:hover {
        cursor: pointer;
    }

    @media (width >= 768px) {
        width: var(--header-parts-h);
    }

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

        &:before {
            content: "";
            display: block;
            position: absolute;
            /* inset:6px auto auto; */
            inset: auto auto auto var(--hamburger-position);
            width: var(--hamburger-boder-size);
            border-radius: 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 auto 6px; */
            inset: auto var(--hamburger-position) auto auto;
            width: var(--hamburger-boder-size);
            border-radius: 100%;
            height: var(--hamburger-boder-size);
            background: var(--hamburger-color);
            transition-duration: var(--hamburger-duration);
            will-change: transform;
        }

        /*close　----------------*/
        &.hbg_close {
            background: transparent;
            width: var(--hamburger-open-size);
            height: var(--hamburger-open-boder-size);
            &:before {
                transform: rotate(-45deg);
                transform-origin: center;
                inset: auto;
                width: var(--hamburger-open-size);
                border-radius: 0;
                height: var(--hamburger-open-boder-size);
            }
            &:after {
                transform: rotate(45deg);
                transform-origin: center;
                inset: auto;
                width: var(--hamburger-open-size);
                border-radius: 0;
                height: var(--hamburger-open-boder-size);
            }
        }
    }

    @media (width >= 768px) {
        display: none;
    }
}

/*=======================================
footer
=======================================*/
.footer {
    background: var(--maincolor);
    text-align: left;
    padding-top: var(--section-top);
    padding-bottom: var(--section-bottom);

    @media (width >= 768px) {
        padding-right: var(--container-pd);
        padding-left: var(--container-pd);

        padding-top: calc(var(--section-top) * 2);
        margin-top: calc(var(--section-top) * -1);
        position: relative;
        z-index: -1;
    }
}
.footer_inner {
    max-width: var(--container-max);
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 32px 40px;
    padding-right: var(--inner-pd);
    padding-left: var(--inner-pd);
    .footer_right {
        text-align: center;
    }
    @media (width >= 768px) {
        padding-right: 0;
        padding-left: 0;
        flex-direction: row;
        .footer_info {
            width: 60%;
        }
        .footer_right {
            text-align: right;
            width: calc(40% - 40px);
            align-self: flex-end;
        }
    }
}
.f_info_logo {
    width: clamp(150px, 240vw/13.66, 240px);
    margin-bottom: 0.8em;
    :is(img) {
        width: 100%;
        height: auto;
    }
}
.footer_info_list {
    line-height: 1.4;
    & dt {
        font-weight: 700;
    }
    & dd {
        margin-top: 0.4em;
        font-size: var(--font-s);
    }
}

.footer_link_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;

    :is(a) {
        transition: 0.2s;
        &:hover {
            opacity: 0.8;
        }
    }

    @media (width >= 768px) {
        justify-content: flex-end;
    }
}

/*copyright ------------------------*/
.copyright {
    font-size: var(--font-ss);
}
* + footer {
    margin-top: 16px;
}

/*=======================================
layout
=======================================*/
/*align------------------------*/
/*right*/
.tx_right {
    text-align: right;
}
/*left*/
.tx_left {
    text-align: left;
}
/*center*/
.tx_cent {
    text-align: center;
}
/*center　→　left*/
.cent_l {
    text-align: center;
    @media (width >= 768px) {
        text-align: left;
    }
}
/*left　→　center*/
.l_cent {
    text-align: left;
    @media (width >= 768px) {
        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;
    }
}

/*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;
}

/*float------------------------*/
/*left*/
.float_left {
    float: left;
}
/*right*/
.float_right {
    float: right;
}
/*clearfix*/
.clearfix {
    display: flow-root;
}

/*=============================*/
/* Margin */
/*=============================*/
/*MarginTop*/
.margin_t06 {
    margin-top: 6px;
}

.margin_t08 {
    margin-top: 8px;
}

.margin_t10 {
    margin-top: 10px;
}

.margin_t16 {
    margin-top: 16px;
}

.margin_t24 {
    margin-top: 24px;
}
.margin_t30 {
    margin-top: 30px;
}
.margin_t32 {
    margin-top: 32px;
}

.margin_t40 {
    margin-top: 40px;
}

.margin_t56 {
    margin-top: 56px;
}

/*MarginBottom*/
.margin_b06 {
    margin-bottom: 6px;
}

.margin_b08 {
    margin-bottom: 8px;
}

.margin_b10 {
    margin-bottom: 10px;
}

.margin_b16 {
    margin-bottom: 16px;
}
.margin_b20 {
    margin-bottom: 20px;
}
.margin_b24 {
    margin-bottom: 24px;
}

.margin_b32 {
    margin-bottom: 32px;
}

.margin_b40 {
    margin-bottom: 40px;
}

.margin_b56 {
    margin-bottom: 56px;
}

/*MarginRight*/
.margin_r06 {
    margin-right: 6px;
}

.margin_r10 {
    margin-right: 10px;
}

.margin_r16 {
    margin-right: 16px;
}

.margin_r24 {
    margin-right: 24px;
}

/*MarginLeft*/
.margin_l06 {
    margin-left: 6px;
}

.margin_l10 {
    margin-left: 10px;
}

.margin_l16 {
    margin-left: 16px;
}

.margin_l24 {
    margin-left: 24px;
}

/*------------------------------------
spacer
--------------------------------------*/
.spacer {
    margin-top: clamp(32px, 48vw/13.66, 48px);
}
.spacer_s {
    margin-top: clamp(24px, 32vw/13.66, 32px);
}
.spacer_ss {
    margin-top: clamp(16px, 24vw/13.66, 24px);
}
.spacer_l {
    margin-top: clamp(48px, 56vw/13.66, 56px);
}
/*bottom*/
.spacer_b {
    margin-bottom: clamp(32px, 48vw/13.66, 48px);
}
.spacer_b_s {
    margin-bottom: clamp(24px, 32vw/13.66, 32px);
}
.spacer_b_ss {
    margin-bottom: clamp(16px, 24vw/13.66, 24px);
}
.spacer_b_l {
    margin-bottom: clamp(48px, 56vw/13.66, 56px);
}

/*------------------------------------
card layout
--------------------------------------*/
/*card 変数*/
:root {
    --lay-gap-sp: 24px;
    --lay-gap-sp-s: 16px;
    --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-s);
    & > * {
        width: calc(50% - var(--lay-gap-sp-s) / 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));
        }
    }
}

/*half-----------------*/
.ly_half {
    display: flex;
    flex-direction: column;
    @media (width >= 768px) {
        flex-direction: row;
        & > * {
            width: 50%;
        }
    }
}

/* -----------
layout set
----------- */
/*上下真ん中よせ*/
.justify_cent {
    @media (width >= 768px) {
        justify-content: center;
    }
}
/*縦まんなかよせ*/
.align_cent {
    @media (width >= 768px) {
        align-items: center;
    }
}

/*=======================================
title
=======================================*/
.heading_wrap {
    padding-right: var(--container-pd);
    padding-left: var(--container-pd);

    &:has(:not(.pankuzu_area)) {
        padding-bottom: var(--pagetitle-bottom);
    }
}
/*pagetitle-----------------*/
.pagetitle_wrap {
    max-width: var(--container-max);
    margin-right: auto;
    margin-left: auto;
    padding-top: var(--pagetitle-top);
    padding-bottom: 24px;
}
.pagetitle {
    text-align: left;
    font-weight: 700;
    font-size: clamp(2.4rem, 40vw/13.66, 4rem);
    line-height: 1.2;

    &:first-letter {
        color: var(--maincolor-dark);
        font-size: 1.4em;
        display: inline-block;
        margin-right: 0.1em;
    }

    @media (width >= 768px) {
        padding-left: var(--inner-pd);
    }
}
/*title-----------------*/
.title01 {
    font-size: clamp(1.8rem, 24vw/13.66, 2.4rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.8em;
    border-left: 6px solid var(--maincolor);
    padding: 0.2em 0 0.2em 0.6em;
}
.title02 {
    background: var(--maincolor);
    font-size: var(--font-l);
    line-height: 1.2;
    font-weight: 700;
    padding: 0.7em 1em 0.6em 1em;
    margin-bottom: 0.8em;
    position: relative;
    &::before {
        content: "";
        display: inline-block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0.4em;
        border-color: var(--bg-white) color-mix(in srgb, var(--maincolor), var(--black) 20%) color-mix(in srgb, var(--maincolor), var(--black) 20%) var(--bg-white);
        position: absolute;
        inset: 0 auto auto 0;
    }
}
.title03 {
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: 0.6em;
    position: relative;
    padding-left: 1.5em;
    &::before {
        font-family: remixicon !important;
        content: "\eb54";
        color: var(--maincolor);
        position: absolute;
        inset: -0.1em auto auto 0;
        font-weight: normal;
        font-size: 1.2em;
    }
}
.title04 {
    font-weight: 700;
    margin-bottom: 0.5em;
    position: relative;
    padding-left: 1.2em;
    line-height: 1.4;
    color: var(--maincolor-dark);
    &::before {
        content: "";
        display: block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 8px 5px 0 5px;
        border-color: var(--maincolor) transparent transparent transparent;
        position: absolute;
        inset: 0.5em auto auto 0;
    }
}

/*subti*/
.sub_ti01 {
    font-size: 1.2em;
    font-weight: 700;

    :where(i),
    .em_tx {
        font-size: 1.2em;
        margin-right: 0.4em;
        color: var(--maincolor-dark);
        vertical-align: middle;
        line-height: 0.9;
    }
}
/*=======================================
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 >= 992px) {
        /*left → center*/
        &.l_cent {
            text-align: center;
        }
        /*center → left*/
        &.cent_l {
            text-align: left;
        }
    }

    :where(a[target="_blank"]) {
        display: inline-block;
        margin-left: 0.2em;
        margin-right: 0.2em;
        &::after {
            font-family: "remixicon" !important;
            content: "\f0f4";
            display: inline;
        }
    }
}

.em_txt {
    font-weight: 700;
    color: var(--maincolor-dark);
    font-size: clamp(2rem, 32vw/13.66, 3.2rem);
}
/*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);
}

/*marker -------------*/
.marker {
    background: linear-gradient(transparent 60%, var(--marker-color) 60%);
}
/*------------------------------------
attention
--------------------------------------*/
.attention {
    font-size: var(--font-s);
}

/*=======================================
img
=======================================*/
/*fluid */
.img_fluid {
    max-width: 100%;
    height: auto;
}
/*round*/
.img_round {
    border-radius: var(--base-radius);
}
/*hoverimg */
.hoverimg {
    transition: 0.2s;
    &:hover {
        opacity: 0.6;
    }
}

/*※画像の親要素に追加*/
.img_max {
    :is(img) {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}

/*=======================================
decoration
=======================================*/
/*background color -------------*/
.content_bg01 {
    background: var(--bg-color01);
}
.content_bg02 {
    background: var(--bg-color02);
}

/*Line -------------*/
hr.line_01 {
    height: 1px;
    clear: both;
    margin: 32px 0px;
    border: none;
    border-bottom: 1px dotted var(--border-color);
}

/*=======================================
parts
=======================================*/
/*------------------------------------
anchorlink
--------------------------------------*/
.anchor {
    scroll-margin-top: var(--header-h);
}

/*------------------------------------
pankuzu
--------------------------------------*/
.pankuzu_area {
    width: min(100%, var(--container-max));
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
    padding-bottom: var(--pagetitle-bottom);

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

        @media (width >= 768px) {
            padding-left: var(--inner-pd);
        }
        & > li {
            font-size: var(--font-ss);
            white-space: nowrap;
            &: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;
                }
            }
        }
    }
}

/*------------------------------------
table
--------------------------------------*/
/*table 変数*/
:root {
    --table-padding: 0.8em 1em;
    --table-bg: #fff;
    --table-border-color: #6d6d6d;
    --th-bg: #ececec;
}
/*sheet_basic -------------*/
.sheet_basic {
    width: 100%;
    border-collapse: collapse;
    background: var(--table-bg);
    border: 1px solid var(--table-border-color);
    border-bottom: none;

    & th,
    & td {
        padding: var(--table-padding);
        border-bottom: 1px solid var(--table-border-color);
        display: block;
    }

    & th {
        background: var(--th-bg);
    }

    @media (width >= 768px) {
        & th,
        & td {
            display: table-cell;
        }
        & th {
            border-right: 1px solid var(--table-border-color);
        }
    }
}
/*table_basic -------------*/
.table_basic {
    width: 100%;
    border-collapse: collapse;
    background: var(--table-bg);
    border: 1px solid var(--table-border-color);
    border-bottom: none;
    border-right: none;
    & th,
    & td {
        padding: var(--table-padding);
        border-bottom: 1px solid var(--table-border-color);
        border-right: 1px solid var(--table-border-color);
    }
    & th {
        background: var(--th-bg);
    }
}

/*set -------------*/
.nowrap {
    white-space: nowrap;
}

tr.nowrap > th,
tr.nowrap > td {
    white-space: nowrap;
}

/*------------------------------------
pagetop
--------------------------------------*/
#pagetop {
    position: fixed;
    bottom: var(--inner-pd);
    right: var(--inner-pd);
    z-index: var(--pagetop-z);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;

    :is(a) {
        display: flex;
        justify-content: center;
        align-items: center;
        width: clamp(32px, 40vw/13.66, 40px);
        height: auto;
        aspect-ratio: 1;
        background: var(--bg-white);
        border-radius: 100%;
        box-shadow: var(--box-shadow01);

        .top {
            fill: var(--maincolor);
            width: 70%;
            height: auto;
            aspect-ratio: 1;
        }
    }

    &.show {
        opacity: 1;
        visibility: visible;
    }
}

/*------------------------------------
table_scroll
--------------------------------------*/
.table_scroll {
    width: 100%;
    overflow-x: auto;
    position: relative;
}
.scroll_hint {
    display: none;
    color: #fff;
    font-size: 1.8rem;
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    padding: 0.5em 1em;
    background: color-mix(in srgb, #000, transparent 30%);
    border-radius: var(--base-radius);
}
.scroll_hint_show {
    display: block;
}

/*------------------------------------
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>');
        }
    }
}

/*------------------------------------
pagenavi
--------------------------------------*/
:root {
    --pagenavi-span-border: #c0c0c0;
    --pagenavi-span-tx: #666;
    --pagenavi-span-bg: #d3dad3;
    --pagenavi-a-border: #c0c0c0;
    --pagenavi-a-tx: #666;
    --pagenavi-a-bg: #f2f2f2;
    --pagenavi-padding-block: 4px;
    --pagenavi-padding-inline: 12px;
    --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(--pagenavi-a-border);
                color: var(--light-tx-color);
            }
        }
    }
}

* + .pagenavi {
    margin-top: clamp(32px, 48vw/13.66, 48px);
}

/*------------------------------------
tel
--------------------------------------*/
.tel-link a {
    text-decoration: underline;
    color: inherit;
}
.tel-link a:hover {
    opacity: 0.8;
}

/*------------------------------------
list
--------------------------------------*/
/*basic -----*/
.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;
        }
    }

    /*small*/
    &.s_tx {
        & > li {
            font-size: var(--font-s);
        }
    }

    /*横並び*/
    &.row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.8em 1.5em;

        & > li {
            & + li {
                margin-top: 0;
            }
        }
    }

    :where(a[target="_blank"]) {
        display: inline-block;
        margin-left: 0.2em;
        margin-right: 0.2em;
        &::after {
            font-family: "remixicon" !important;
            content: "\f0f4";
            display: inline;
        }
    }
}
/*※ -----*/
.note_list {
    text-align: left;
    & > li {
        line-height: 1.4;
        position: relative;
        padding-left: 1.4em;

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

        &::before {
            content: "※";
            position: absolute;
            inset: 0 auto auto 0;
        }
    }
    /*small*/
    &.s_tx {
        & > li {
            font-size: var(--font-s);
        }
    }

    :where(a[target="_blank"]) {
        display: inline-block;
        margin-left: 0.2em;
        margin-right: 0.2em;
        &::after {
            font-family: "remixicon" !important;
            content: "\f0f4";
            display: inline;
        }
    }
}

/*-------------------------------------
dl
--------------------------------------*/
/*dl 01*/
.dl_basic01 {
    :where(dt) {
        background: color-mix(in srgb, var(--maincolor) 40%, white);
        font-weight: 700;
        line-height: 1.2;
        padding: 0.6em 1em;
        margin-bottom: 0.6em;
        position: relative;
        &::before {
            content: "";
            display: block;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 16px 16px 0 0;
            border-color: var(--maincolor) transparent transparent transparent;
            position: absolute;
            left: 0;
            top: 0;
        }
    }
    :where(dd) {
        & + dt {
            margin-top: 1em;
        }
    }
}

/*-------------------------------------
box 
--------------------------------------*/
/*note box -----------*/
.note_box {
    background: var(--bg-color02);
    border-radius: var(--inner-radius);
    padding: 1em;
}
* + .note_box {
    margin-top: 24px;
}

/*inner_box -----------*/
.inner_box_basic {
    padding: var(--inner-pd);
    border: 4px solid color-mix(in srgb, var(--maincolor) 40%, white);
    border-radius: var(--inner-radius);

    &.s_box {
        padding: var(--inner-pd-s);
    }
}
.inner_box_red {
    padding: var(--inner-pd);
    border: 4px solid color-mix(in srgb, var(--error-color) 80%, white);
    border-radius: var(--inner-radius);

    &.s_box {
        padding: var(--inner-pd-s);
    }
}

/*iconと一緒に*/
.icon_box {
    .icon_box {
        font-size: 3em;
        line-height: 1;
        color: var(--error-color);
        text-align: center;
        margin-bottom: 16px;
    }

    & > * {
        overflow: hidden;
    }

    @media (width >= 768px) {
        display: flow-root;
        .icon_box {
            float: left;
            margin: 0 24px 0 0;
        }
    }
}

/*border box*/
.bd_box01 {
    border: 1px solid var(--border-color);
    border-radius: var(--base-radius);
    background: var(--bg-white);
    padding: var(--inner-pd-s);

    &:has(figure) {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}
/*-------------------------------------
btn
--------------------------------------*/
[class^="btn0"] {
    --btn-block: 0.8em;

    & > a,
    & > button,
    & > input {
        display: flex;
        justify-content: center;
        align-items: center;
        width: max-content;
        min-width: 80px;

        gap: 0.4em;
        border: 1px solid currentColor;
        border-radius: var(--btn-radius);
        font-family: var(--font-ja);
        font-size: var(--font-base);
        line-height: 1.2;
        white-space: nowrap;
        transition: 0.2s;
        padding: var(--btn-block) calc(var(--btn-block) * 2);

        &:hover {
            opacity: 0.8;
        }
    }
    & > a {
        text-decoration: none;
    }

    &.s_tx {
        & > a,
        & > button,
        & > input {
            font-size: var(--font-s);
        }
    }

    /*svg*/
    .icon {
        width: 1.4em;
        height: auto;
        aspect-ratio: 1;
    }
    :is(i) {
        font-size: 1.4em;
        line-height: 1;
        font-weight: normal;
    }
}
/*01 プライマリボタン */
.btn01 {
    & > a,
    & > button,
    & > input {
        color: var(--light-tx-color);
        background: var(--maincolor);
        border-color: var(--maincolor);
        &:hover {
            opacity: 1;
            background: color-mix(in srgb, var(--maincolor) 80%, white);
        }
    }
}
/*02 セカンダリボタン */
.btn02 {
    & > a,
    & > button,
    & > input {
        color: var(--light-tx-color);
        background: var(--gray);
        border-color: var(--gray);
        &:hover {
            opacity: 1;
            background: color-mix(in srgb, var(--gray) 80%, white);
        }
    }
}
/*icon btn ------------*/
.icon_btn {
    :is(a),
    :is(input),
    :is(button),
    input[type="submit"] {
        display: flex;
        justify-content: center;
        gap: 8px;
        border: none;
        line-height: 1;
        border-radius: var(--btn-radius);
        padding: 16px 1em;
        cursor: pointer;
        transition: 0.2s;
        font-size: var(--font-l);
        font-weight: 700;
        color: var(--light-tx-color);
        background-color: var(--maincolor);
        width: 100%;
        min-width: 240px;
        &:hover {
            opacity: 0.8;
        }
        & + .file_p {
            padding-top: 0.2em;
        }

        @media (width >= 576px) {
            width: max-content;
        }
    }
    :is(a) {
        text-decoration: none;
    }
    :is(i) {
        font-weight: normal;
    }
}
.file_p {
    text-align: center;
    @media (width >= 768px) {
        text-align: left;
    }
}
/*btn用layout　-------------------*/
.ly_btn_box {
    display: flex;
    flex-direction: column;
    gap: 14px 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;
        }
    }
}
