@charset "UTF-8";
/*=======================================
container
=======================================*/
.container {
    width: 100%;
    padding-right: var(--container-pd);
    padding-left: var(--container-pd);
}
.section {
    max-width: var(--container-max);
    margin-right: auto;
    margin-left: auto;
    padding-top: var(--section-top);
    padding-bottom: var(--section-bottom);
    /* display: flow-root; */

    & + .section {
        padding-top: 0;
    }

    &.section_s{
        max-width: var(--container-max-s);
    }
}

/*=======================================
header
=======================================*/
.header {
    width: calc(100% - calc(var(--header-pd) * 2));
    position: fixed;
    inset: 16px var(--header-pd) auto;
    background: var(--white);
    border-radius: var(--base-radius);
    display: flex;
    justify-content: space-between;
    z-index: var(--header-z);
    padding: 16px 8px;

    @media (width >= 768px) {
        padding: 8px;
    }
}
.mianlogo {
    text-align: left;
    padding: 0 0 0 clamp(8px, 28vw/13.66, 28px);
    display: flex;
    align-items: center;

    & img {
        width: clamp(160px, 365vw/13.66, 365px);
    }
    @media (width <= 375px) {
        & img {
            width: 32px;
        }
    }
    @media (width >= 768px) {
        padding: 3px 0 2px clamp(8px, 28vw/13.66, 28px);
    }
    @media (width >= 1200px) {
        flex-grow: 1;
    }
}

.h_contact_group {
    width: max-content;
    display: flex;
    margin-left: auto;
    gap: clamp(8px, 16vw/7.68, 16px);
    margin-right: calc(var(--toggle-w) + 48px);

    @media (width >= 768px) {
        margin-right: calc(var(--header-h) - 16px);
    }

    @media (width >= 1200px) {
        margin-right: 0;
        gap: 24px;
        flex-grow: 1;
        justify-content: flex-end;
    }
}
.h_tel {
    & > a {
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        background: var(--subcolor);
        text-decoration: none;
        border-radius: var(--inner-radius);
        height: 40px;
        width: 40px;
        aspect-ratio: 1;
        font-size: 1.2em;
        transition: 0.2s;
        .h_tel_tx {
            display: none;
        }
    }
    @media (width >= 768px) {
        & > a {
            height: 100%;
            width: revert;
            justify-content: flex-start;
            background: transparent;
            color: var(--subcolor);
            pointer-events: none;
            aspect-ratio: auto;
            text-align: left;
            & > i {
                display: none;
            }
            .h_tel_tx {
                display: block;
            }
            .h_tel_ti,
            .h_tel_num {
                display: block;
                white-space: nowrap;
                font-family: var(--font-en);
                font-weight: 700;
                display: block;
                line-height: 1;
            }
            .h_tel_num {
                font-size: 2.4rem;
            }
        }
    }
}
.h_mail {
    & > a {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        background: var(--subcolor);
        text-decoration: none;
        border-radius: var(--inner-radius);
        height: 100%;
        aspect-ratio: 1;
        font-size: 1.2em;
        transition: 0.2s;

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

        @media (width >= 768px) {
            font-size: 2em;
            width: calc(var(--header-h) - 16px);
        }
    }
}
/*=======================================
nav
=======================================*/
.toggle {
    position: fixed;
    z-index: var(--toggle-z);
    inset: 16px calc(var(--header-pd) + 8px) auto auto;
    height: var(--header-h);
    width: calc(var(--header-h) - 16px);
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: transparent;

    & > button {
        border: none;
    }
    /*hamburger -------------*/
    .hamburger {
        display: flex;
        justify-content: center;
        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(--subcolor);
            box-sizing: border-box;
            -webkit-animation: navToggleOuter_reverse 0.5s;
            animation: navToggleOuter_reverse 0.5s;
            content: "";
            transition-duration: var(--toggle-duration);
            transition-property: 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(--subcolor);
            box-sizing: border-box;
            animation: navToggleInner_reverse var(--toggle-duration);
            content: "";
            transition-duration: var(--toggle-duration);
            transition-property: transform;
        }

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

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

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

            & > span {
                opacity: 0;
            }
        }
    }
    /*削除 ---------*/
    @media (width >= 1200px) {
        display: none;
    }
}

/*wrap ---------*/
.mainnav {
    position: fixed;
    height: 100dvh;
    width: 100vw;
    inset: 0 auto auto 0;
    background: color-mix(in srgb, var(--maincolor), transparent 10%);

    display: none;
    opacity: 0;
    transform: translateY(-100%);
    transition-property: transform, opacity, display;
    transition-duration: 0.3s;
    /*transitionのあとに書く*/
    transition-behavior: allow-discrete;
    z-index: var(--nav-z);

    &.navopen {
        transform: translateY(0);
        display: block;
        opacity: 1;

        /*開始値を定義*/
        @starting-style {
            transform: translateY(-100%);
            opacity: 0;
        }
    }

    @media (width >= 1200px) {
        flex-grow: 2;
        transform: translateY(0);
        opacity: 1;
        display: block;
        position: static;
        height: auto;
        width: auto;
        background: transparent;
    }
}
.mainnav_wrap {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    @media (width >= 1200px) {
        display: contents;
    }
}
.nav_group {
    display: flex;
    flex-direction: column;
    :is(a) {
        text-decoration: none;
        display: block;
        transition: 0.2s;
    }
    @media (width <= 1200px) {
        gap: 1em;
        width: min(80%, 640px);

        :is(a) {
            color: var(--light-tx-color);
            font-size: 1.8rem;
            padding: 0.6em;
            &:hover {
                background: color-mix(in srgb, var(--light-tx-color), transparent 90%);
                border-radius: var(--base-radius);
            }
        }
        .active {
            :is(a) {
                pointer-events: none;
                background: var(--white);
                color: var(--maincolor);
                border-radius: var(--base-radius);
            }
        }
    }

    @media (width >= 1200px) {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 2ic;
        & > li {
            height: 100%;
        }
        :is(a) {
            font-size: 1.6rem;
            color: var(--base-tx-color);
            position: relative;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: 0.2s;
            &::before {
                content: "";
                display: block;
                width: 10%;
                height: 4px;
                background: transparent;
                position: absolute;
                inset: auto auto 0 50%;
                transform: translateX(-50%);
                transition: 0.2s;
            }

            &:hover {
                color: var(--maincolor);
                &::before {
                    content: "";
                    display: block;
                    width: 100%;
                    height: 4px;
                    background: var(--maincolor);
                }
            }
        }
        .active {
            :is(a) {
                pointer-events: none;
                &::before {
                    content: "";
                    display: block;
                    width: 100%;
                    height: 4px;
                    background: var(--maincolor);
                }
            }
        }
    }
}

/*=======================================
footer
=======================================*/
/* --------------------------
footer contact
--------------------------*/
.f_contact_wrap {
    background: var(--bg-color02);
    padding-left: var(--container-pd);
    padding-right: var(--container-pd);
    padding-bottom: var(--section-bottom);
    position: relative;
    z-index: 1;
}
.f_contact_title {
    position: relative;
    border-radius: var(--base-radius);
    text-align: left;
    overflow: hidden;
    height: 240px;

    .title01 {
        position: absolute;
        inset: clamp(24px, 100vw/13.66, 100px) auto auto clamp(20px, 80vw/13.66, 80px);
        .ja_tx {
            color: var(--light-tx-color);
        }
    }
    .contact_ph {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    @media (width >= 992px) {
        height: revert;
    }
}
.f_contact_txt_box {
    padding-top: var(--section-top-ss);

    .cts_p {
        line-height: 2.4;
    }
}
.contact_btn {
    width: clamp(140px, 240vw/13.66, 240px);
    height: auto;
    aspect-ratio: 1;
    position: absolute;
    inset: 130px 32px auto auto;
    z-index: 2;

    & > a {
        width: 100%;
        height: 100%;
        border-radius: 100vmax;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--subcolor);
        color: var(--light-tx-color);
        text-decoration: none;
        transition: 0.2s;

        & > i {
            font-size: 2em;
        }
        .tx {
            font-weight: 700;
            line-height: 1;
            margin-bottom: clamp(12px, 24vw/12, 24px);
        }

        &::after {
            content: "";
            display: inline-block;
            width: 33px;
            height: auto;
            aspect-ratio: 33/12;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.8 11.4"><path fill="%23ffffff" d="m24.8 11.3-.6-.8 6.2-4.3H0v-1h30.4L24.2.8l.6-.8 8 5.7-8 5.6z" /></svg>');
            background-size: cover;
        }

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

    @media (width >= 768px) {
        inset: auto calc(var(--container-pd) + 36px) var(--section-bottom) auto;
    }
}
/* --------------------------
footer area
--------------------------*/
.footer_area {
    position: relative;
    z-index: 5;
    background: var(--bg-color02);
    overflow: hidden;
    padding: clamp(60px, 150vw/13.66, 150px) var(--container-pd) clamp(80px, 120vw/13.66, 120px);

    display: flex;
    flex-direction: column;
    gap: 40px 80px;

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

    &::before {
        content: "";
        display: block;
        width: 100vw;
        height: clamp(120px, 500vw/13.66, 500px);
        background: url(../img/common_img/footer_bg_shape.png) center top no-repeat;
        background-size: 100% auto;
        position: absolute;
        pointer-events: none;
        z-index: -2;
        inset: 0 0 auto;
    }
    &::after {
        content: "";
        display: block;
        background: var(--white);
        pointer-events: none;
        position: absolute;
        inset: auto 0 0;
        z-index: -3;
        height: calc(100% - clamp(120px, 500vw/13.66, 500px));
    }
    .footer_bg_logo {
        width: min(40%, 345px);
        pointer-events: none;
        height: auto;
        position: absolute;
        inset: auto 0 -2px auto;
        z-index: -1;
        & > img {
            width: 100%;
            height: auto;
        }
    }
}

.footer_info {
    text-align: left;
    @media (width >= 768px) {
        width: calc(50% - 80px);
    }
}
.f_logo {
    width: clamp(180px, 327vw/13.66, 327px);
    margin-bottom: 1.33em;
    :is(img) {
        max-width: 100%;
        height: auto;
    }
}
.map_btn {
    margin-top: 1em;

    & > a {
        background: var(--maincolor);
        color: var(--light-tx-color);
        text-decoration: none;
        border-radius: var(--btn-radius);
        font-family: var(--font-en);
        font-weight: 700;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 240px;
        font-size: var(--font-s);
        margin: 0 auto;
        padding: 0.6em;
        transition: 0.2s;

        :is(i) {
            font-weight: normal;
            font-size: var(--font-base);
        }

        &:hover {
            opacity: 0.8;
        }
    }

    @media (width >= 768px) {
        & > a {
            margin-left: 0;
        }
    }
}

.footer_right {
    @media (width >= 768px) {
        width: 50%;
        text-align: right;
        align-self: flex-end;
    }
}
.footer_nav {
    margin-bottom: 32px;
    & > ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2em;

        :is(a) {
            color: var(--base-tx-color);
            text-decoration: none;
            font-size: var(--font-m);
        }
    }

    @media (width >= 768px) {
        & > ul {
            gap: 0.8em;
            flex-direction: column;
        }
    }
    @media (width >= 1200px) {
        & > ul {
            justify-content: flex-end;
            gap: 1.2em;
            flex-direction: row;
        }
    }
}

/*copyright ------------------------*/
.copyright {
    font-size: var(--font-ss);
    font-family: var(--font-en);
    color: var(--maincolor);
}
/*=======================================
下層ページ
=======================================*/
.page_main{
    position: relative;
    z-index: 3;
    background: url(../img/common_img/dark_bg_shape.png) top var(--section-top) center no-repeat;
    background-size: 100% auto;
    &::before {
        content: "";
        display: block;
        background: url(../img/common_img/dark_bg.png);
        width: 100vw;
        height: calc(100% - clamp(200px, 500vw/19.2, 500px));
        position: absolute;
        inset: auto 0 0;
        z-index: -1;
        pointer-events: none;
    }
}

/*=======================================
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------------------------*/
/*top*/
.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;
}
/*bottom*/
.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;
}
/*right*/
.margin_r05 {
    margin-right: 5px;
}
.margin_r10 {
    margin-right: 10px;
}
.margin_r15 {
    margin-right: 15px;
}
.margin_r20 {
    margin-right: 20px;
}
/*left*/
.margin_l05 {
    margin-left: 5px;
}
.margin_l10 {
    margin-left: 10px;
}
.margin_l15 {
    margin-left: 15px;
}
.margin_l20 {
    margin-left: 20px;
}

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

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

/*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
=======================================*/
/*pagetitle-----------------*/
.pagetitle_wrap {
    display: grid;
    place-items: center;
    height: 240px;
    background: #989898;
    padding-top: var(--header-h);

    .pagetitle {
        font-size: clamp(3.2rem, 60vw/13.66, 6rem);
        font-weight: 700;
        color: var(--subcolor);
        text-shadow: 0 0 8px #fff,0 0 8px #fff,0 0 10px #fff;
    }

    @media (width >= 768px) {
        height: calc(var(--header-h) + 280px);
    }
}
/*title-----------------*/
.title01 {
    margin-bottom: 2rlh;
    .en_tx {
        font-size: clamp(3.2rem, 48vw/13.66, 4.8rem);
        font-weight: 700;
        color: var(--maincolor);
        line-height: 1;
        display: block;

        & + .ja_tx {
            margin-top: clamp(14px, 20vw/13.66, 20px);
        }
    }
    .ja_tx {
        display: block;
        font-weight: 700;
        color: var(--subcolor);
        line-height: 1.44;
        font-size: clamp(1.8rem, 24vw/13.66, 2.4rem);
    }
}
.title02 {
    border-left: 8px solid var(--maincolor);
    text-align: left;
    font-size: clamp(2rem, 32vw/13.66, 3.2rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1em;
    padding: 0.2em 0 0.2em 0.5em;
}
.title03 {
    background: var(--subcolor);
    text-align: left;
    line-height: 1.2;
    font-weight: 700;
    color: var(--light-tx-color);
    font-size: var(--font-l);
    padding: 0.6em 1em;
    margin-bottom: 1.2em;

}
.title04{
    position: relative; 
    font-size: clamp(2rem, 32vw/13.66, 3.2rem);
    font-weight: 700;
    padding-bottom: 0.4em;
    margin-bottom: 0.6em;
    &::after{
        content: "";
        width: 80px;
        height: 4px;
        background: var(--maincolor);
        display: block;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}

.em_tx01{
    font-size: clamp(1.8rem, 24vw/13.66, 2.4rem);
    font-weight: 700;
    margin-bottom: 0.6em;
}

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

/*------------------------------------
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:clamp(32px, 48vw/13.66, 48px) 0px;
    border: none;
    border-bottom: 1px dotted var(--border-color);
}

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

/*------------------------------------
pankuzu
--------------------------------------*/
.pankuzu_area {
    position: absolute;
    inset: 8px var(--container-pd) auto;
    width: 100%;
    .pankuzu {
        list-style: none;
        display: flex;
        gap: 1.5em;
        & > li {
            font-size: var(--font-ss);
            &: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: color-mix(in srgb, var(--subcolor), white 80%);
}
/*sheet_basic -------------*/
.sheet_basic {
    width: 100%;
    border-collapse: collapse;
    background: var(--table-bg);
    border: 1px solid var(--table-border-color);
    border-bottom: none;

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

    :where(th) {
        background: var(--th-bg);
        color: var(--dark-subcolor);
    }

    @media (width >= 768px) {
        :where(th, td) {
            display: table-cell;
        }
        :where(th) {
            border-right: 1px solid var(--table-border-color);
            width: 20%;
        }
    }
}
/*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;
    :where(th, td) {
        padding: var(--table-padding);
        border-bottom: 1px solid var(--table-border-color);
        border-right: 1px solid var(--table-border-color);
    }
    :where(th) {
        background: var(--th-bg);
    }
}

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

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

/*------------------------------------
pagetop
--------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 24px;
    right: clamp(20px, 24vw/12, 24px);
    z-index: var(--pagetop-z);
    :is(img) {
        width: clamp(40px, 70vw/12, 70px);
        height: auto;
        transition: 0.2s;
        &:hover {
            opacity: 0.8;
        }
    }
}

/*------------------------------------
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;
    font-size: var(--font-m);
    
    & + 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: #516185;
    --pagenavi-span-tx: #fff;
    --pagenavi-span-bg: #516185;
    --pagenavi-a-border: #516185;
    --pagenavi-a-tx: #516185;
    --pagenavi-a-bg: #fff;
    --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);
            font-family: var(--font-en-ja);
        }
        :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;
            font-family: var(--font-en-ja);
            &:hover {
                background: var(--pagenavi-span-bg);
                color: var(--pagenavi-span-tx);
            }
        }
    }
}

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

/* ==============================
ベーシック　ボタン
============================== */
/*btn base　-------------------*/
[class^="button_"] {
    --btn-block: 1em;

    & > a,
    & > button,
    & > input {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
        width: 100%;

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

        &::after {
            content: "";
            display: inline-block;
            width: 33px;
            height: auto;
            aspect-ratio: 33/12;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.8 11.4"><path fill="%23ffffff" d="m24.8 11.3-.6-.8 6.2-4.3H0v-1h30.4L24.2.8l.6-.8 8 5.7-8 5.6z" /></svg>');
            background-size: cover;
        }
    }
    & > a {
        text-decoration: none;
    }
}

/*01 */
.button_primary {
    & > a,
    & > button,
    & > input {
        color: var(--light-tx-color);
        background: var(--subcolor);
        &:hover {
            background: var(--dark-subcolor);
        }
    }

    /*別カラー*/
    &.color02 {
        & > a,
        & > button,
        & > input {
            background: var(--white);
            color: var(--maincolor);
            &::after {
                background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.8 11.4"><path fill="%23d53e49" d="m24.8 11.3-.6-.8 6.2-4.3H0v-1h30.4L24.2.8l.6-.8 8 5.7-8 5.6z" /></svg>');
            }

            &:hover {
                background: var(--maincolor);
                color: var(--white);
                &::after {
                    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.8 11.4"><path fill="%23ffffff" d="m24.8 11.3-.6-.8 6.2-4.3H0v-1h30.4L24.2.8l.6-.8 8 5.7-8 5.6z" /></svg>');
                }
            }
        }
    }
    &.color03 {
        & > a,
        & > button,
        & > input {
            background: var(--bg-color03);
            color: var(--maincolor);
            &::after {
                background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.8 11.4"><path fill="%23d53e49" d="m24.8 11.3-.6-.8 6.2-4.3H0v-1h30.4L24.2.8l.6-.8 8 5.7-8 5.6z" /></svg>');
            }
        }
    }
}
/*02 */
/* .button_secondary {
    & > a,
    & > button,
    & > input {
        color: var(--light-tx-color);
        background: color-mix(in srgb, var(--gray) 50%, white);
    }
} */
/*03*/
/* .button_tertiary {
    & > a,
    & > button,
    & > input {
        color: var(--maincolor);
        background: var(--bg-white);
        &:hover {
            opacity: 1;
            background: var(--maincolor);
            color: var(--light-tx-color);
        }
    }
} */
/*btn用layout　-------------------*/
.ly_btn_box {
    display: flex;
    flex-direction: column;
    gap: 14px 16px;
    & > * {
        width: clamp(240px, 320vw/13.66, 320px);
        margin: 0 auto;
    }

    &.lsize {
        & > * {
            width: 100%;
        }
    }

    /*左寄せ*/
    &.tx_left > * {
        margin-left: 0;
    }

    /*右寄せ*/
    &.tx_right > * {
        margin-right: 0;
    }

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

        &.lsize {
            & > * {
                width: clamp(320px, 480vw/13.66, 480px);
            }
        }
    }
}
