@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;
    }

    &.top_nospace {
        padding-top: 0;
    }

    &.bottom_nospace {
        padding-bottom: 0;
    }

    &.nospase {
        padding-block: 0;
    }
}

/*=======================================
header
=======================================*/
/*header contact--------------*/
.header_contact_wrap {
    padding-inline: var(--container-pd);
    padding-top: 8px;
    background: var(--bg-white);
    height: var(--header-contact-h-sp);

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

    @media (width >=1366px) {
        height: var(--header-contact-h-pc);
    }
}

.h1_tx {
    font-size: 0.8rem;
    text-align: left;
    line-height: 1;
    color: var(--light-gray);

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

.header_contact {
    width: 100%;
    color: var(--light-tx-color);

    @media (width >=1366px) {
        display: flex;
        justify-content: space-between;
        color: var(--maincolor);
    }
}


.h_contact_pc {
    display: none;
}

.h_contact_sp {
    width: min(90%, 768px);
    margin-inline: auto;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px 16px;
}

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

        .h_contact_group {
            width: max-content;
        }

        :is(a) {
            text-decoration: none;
        }

        .tel_number {
            :is(a) {
                pointer-events: none;
            }
        }
    }
}

@media (width >=1366px) {
    .h_contact_sp {
        display: none;
    }

    .h_contact_pc {
        display: flex;
        gap: 40px;
        height: max-content;
    }
}

.tel_group {
    display: flex;
    align-items: center;
    gap: 0.5em;

    .tel_ti {
        border: 1px solid var(--white);
        color: var(--light-tx-color);
        border-radius: 100vmax;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.6rem;
        line-height: 1;
        padding: 0.3em 0.8em 0.4em;
        min-width: 140px;
    }

    .tel_number {
        text-align: left;
        line-height: 1;
        font-weight: 900;
    }

    @media (width >=768px) {
        .tel_ti {
            min-width: revert;
        }
    }

    @media (width <=1366px) {

        .tel_number {
            :is(a) {
                font-size: 2.4rem;
                color: var(--light-tx-color);
            }
        }

        .open_tx {
            color: var(--light-tx-color);
            font-size: 1.2rem;
            margin-top: 4px;
        }
    }

    @media (width >=1366px) {
        .tel_ti {
            border: 1px solid var(--maincolor);
            color: var(--maincolor)
        }

        .tel_number {
            :is(a) {
                display: inline-block;
                pointer-events: none;
                color: var(--maincolor);
                text-decoration: none;
                pointer-events: none;
                font-size: 3.2rem;
                margin-top: -5px;
            }

            .open_tx {
                font-size: 1.3rem;
                margin-top: 0.2em;
            }
        }
    }
}

.h_contact_group {
    display: flex;
    align-items: center;
    gap: 0.5em;

    @media (width <=1366px) {
        .h_contact_ti {
            display: none;
        }

        .h_contact_btn {
            width: 100%;
            margin-top: 10px;

            &>a {
                display: flex;
                justify-content: center;
                align-items: center;
                background: var(--subcolor);
                border-radius: var(--btn-radius);
                text-decoration: none;
                color: var(--maincolor);
                padding: 0.5em 1.5em;
                transition: 0.2s;
                font-weight: 700;

                &:hover {
                    opacity: 0.8;
                }
            }
        }
    }

    @media (width >=1366px) {
        .h_contact_ti {
            font-weight: 900;
            font-size: 1.7rem;
            line-height: 1;
        }

        .h_contact_btn a {
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--light-tx-color);
            background: var(--maincolor);
            width: 45px;
            min-height: 45px;
            text-decoration: none;
            border-radius: var(--btn-radius);
            transition: 0.2s;

            &:hover {
                background: color-mix(in srgb, var(--maincolor), var(--subcolor) 40%);
            }
        }
    }
}



/*header--------------*/
.header {
    position: fixed;
    width: 100%;
    padding-inline: var(--container-pd);
    top: 24px;
    transition: 0.2s;
    z-index: var(--header-z);

    @media (width >=768px) {
        top: 40px;

        &.fixed {
            top: 10px;
        }
    }

    @media (width >=1366px) {
        top: 65px;

        &.fixed {
            top: 10px;
        }
    }
}

.header_wrap {
    background: var(--maincolor);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 100vmax;
    padding-inline: var(--nav-inline-sp);
    height: var(--header-h-sp);

    @media (width >=768px) {
        height: var(--header-h-pc);
        padding-inline: var(--nav-inline-md);
    }
}

.header.fixed .header_wrap {
    @media (width >=768px) {
        height: var(--header-fixed);

        .header_logo {
            :is(img) {
                width: 170px;
                height: auto;
            }
        }

        .menu_btn {
            top: 28px;
        }
    }
}


.header_logo {
    :is(img) {
        width: 160px;
        height: auto;
    }

    @media (width >=768px) {
        :is(img) {
            width: 200px;
        }
    }

    @media (width >=1366px) {
        :is(img) {
            width: clamp(160px, 217vw/19.2, 217px);
        }
    }
}

/*=======================================
nav
=======================================*/
.mainnavi {
    display: block;
}

/*navi ------------------*/
.nav_container {

    /*sp ---------------------------*/
    @media (width<=1366px) {
        display: none;
        position: fixed;
        width: 100vw;
        height: 100dvh;
        inset: 0;
        background: var(--maincolor);
        z-index: var(--nav-z);
        overflow-y: auto;
        padding-block: clamp(24px, 60vw/12, 60px);
    }

    /*pc ---------------------------*/
    @media (width>=1366px) {
        display: contents;
    }
}

.m_menu {
    &>li {
        :is(a) {
            display: block;
            text-decoration: none;
            color: var(--light-tx-color);
            font-size: 1.6rem;
            white-space: nowrap;
        }

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

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

    /*sp ---------------------------*/
    @media (width<=1366px) {
        width: min(90%, 768px);
        margin-inline: auto;
        display: flex;
        flex-direction: column;

        &>li {
            text-align: left;
            border-bottom: 1px dotted var(--white);
            padding: 0.6em 0.2em;

            &>a {
                display: flex;
                align-items: center;
                transition: 0.2s;

                &::before {
                    content: "\e5df";
                    font-family: 'Material Symbols Outlined';
                    font-weight: normal;
                    font-style: normal;
                    display: inline-block;
                    font-size: 1.2em;
                }

                &:hover {
                    color: var(--subcolor);
                }
            }

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

            /*sub------------*/
            &.sub_dropdown {
                &>a {
                    pointer-events: none;
                }

                .sub_menu {
                    padding-left: 1em;

                    &>li {
                        display: inline-block;
                        width: max-content;
                        margin-right: 16px;

                        &.active {
                            :is(a) {
                                color: var(--subcolor);
                                pointer-events: none;
                            }
                        }
                    }

                    :is(a) {
                        font-size: 1.4rem;
                        display: flex;
                        align-items: center;
                        gap: 0.5em;
                        transition: 0.2s;

                        &::before {
                            content: "";
                            width: 0.8em;
                            height: 1px;
                            display: inline-block;
                            background: rgb(from var(--white) r g b / 0.5);
                        }

                        &:hover {
                            color: var(--subcolor);
                        }
                    }
                }
            }
        }
    }

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

        &>li {
            :is(a) {
                transition: 0.2s;
                font-size: clamp(1.2rem, 17vw/14.4, 1.7rem);
                letter-spacing: -0.02em;
                line-height: 1.9;

                &:hover {
                    color: var(--subcolor);
                }
            }

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

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

                &>a {
                    display: inline-flex;
                    align-items: center;
                    gap: 0.2em;
                    line-height: 1;

                    &::after {
                        content: "\e313";
                        font-family: 'Material Symbols Outlined';
                        font-weight: normal;
                        font-style: normal;
                        display: inline-block;
                        font-size: 1.2em;
                        line-height: 0.6;
                    }
                }

                .sub_menu {
                    display: none;
                    width: max-content;
                    left: 50%;
                    transform: translateX(-50%);
                    position: absolute;
                    background: var(--subcolor);
                    padding: 4px 16px;
                    border-radius: var(--inner-radius);

                    :is(a) {
                        color: var(--maincolor);
                        font-size: max(0.8em, 1.5rem);
                        display: block;
                        padding: 0.1em 0.5em;
                        border-radius: 100vmax;
                        transition: 0.2s;

                        &:hover {
                            background: #fff;
                        }
                    }

                    &>li {
                        padding-block: 0.4em;

                        &+li {
                            border-top: 1px dotted var(--maincolor);
                        }

                        &.active {
                            :is(a) {
                                background: #fff;
                                pointer-events: none;
                            }
                        }
                    }
                }
            }
        }
    }
}

/*------------------------------------
hamburger icon
--------------------------------------*/
:root {
    --hamburger-w: clamp(32px, 40vw/7.68, 40px);
    --hamburger-h: 24px;
    --hamburger-boder-size: 2px;
    --hamburger-duration: 0.3s;
    --hamburger-color: #fff;
}

.menu_btn {
    display: grid;
    place-items: center;
    width: var(--hamburger-w);
    height: var(--hamburger-h);
    position: fixed;
    inset: 40px calc(var(--container-pd) + var(--nav-inline-sp)) auto auto;
    z-index: var(--toggle-z);
    transition: 0.2s;

    @media (width >=768px) {
        inset: 68px calc(var(--container-pd) + var(--nav-inline-md)) auto auto;

        &:has(.hbg_close) {
            top: 28px;
        }
    }


    &:hover {
        cursor: pointer;
    }

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

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

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

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

            &:before {
                transform: rotate(-45deg);
                transform-origin: center;
                inset: auto;
            }

            &:after {
                transform: rotate(45deg);
                transform-origin: center;
                inset: auto;
            }
        }
    }

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


/*=======================================
footer
=======================================*/
.footer {
    text-align: left;
}

/*info ----------------------*/
.footer_info_wrap {
    width: 100%;
    padding-inline: var(--container-pd);

    background: url(../img/common_img/contact_bg.jpg) center center no-repeat;
    background-size: cover;
}

.footer_info_inner {
    padding-block: var(--section-top) var(--section-bottom);
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
}

.footer_info {
    background: var(--bg-white);
    border-radius: var(--base-radius);
    padding: 20px;
    width: min(100%, 800px);
    margin-right: auto;

    @media (width >=768px) {
        padding: clamp(24px, 40vw/14.4, 40px) clamp(32px, 50vw/14.4, 50px) clamp(32px, 50vw/14.4, 50px);
    }
}

.f_info_tx_ti {
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 0.5em;

    @media (width >=768px) {
        font-size: clamp(2.4rem, 30vw/13.66, 3rem);
    }
}

.f_info_logo {
    .f_info_logo_ti {
        :is(img) {
            width: 240px;
            height: auto;

            @media (width >=768px) {
                width: clamp(300px, 394vw/13.66, 394px);
            }
        }
    }

    .f_info_logo_tx {
        font-size: 1rem;

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

.f_tel {
    font-weight: 700;

    &>a {
        font-weight: 900;
        color: var(--maincolor);
        font-size: 3rem;
        margin-left: 0.2em;
    }

    @media (width >=768px) {
        &>a {
            font-size: 4.8rem;
            text-decoration: none;
            pointer-events: none;
        }
    }
}

.f_contact a {
    display: flex;
    gap: 0.4em;
    justify-content: center;
    align-items: center;
    width: min(100%, 411px);
    margin-right: auto;
    margin-top: 8px;
    border: 1px solid var(--maincolor);
    background: var(--bg-white);
    color: var(--maincolor);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--btn-radius);
    transition: 0.2s;
    padding-block: 0.8em;
    font-size: 1.4rem;

    &::after {
        content: "\e5e1";
        font-family: 'Material Symbols Outlined';
        font-weight: normal;
        font-style: normal;
        display: inline-block;
        margin-left: 0.4em;
    }

    &:hover {
        background: var(--maincolor);
        color: var(--light-tx-color);
    }

    @media (width >=768px) {
        font-size: clamp(1.6rem, 20vw/13.66, 2rem);
        margin-top: 0;
    }
}

.f_info_subti {
    margin-top: 16px;
    font-size: var(--font-s);
    font-weight: 700;

    &::after {
        content: "：";
    }
}

.f_info_service {
    @media (width >=768px) {
        &>div {
            display: flex;
        }
    }


}

.f_info_service_ti {
    font-size: var(--font-s);
    font-weight: 700;
}

.f_info_service_list {
    display: flex;
    flex-wrap: wrap;

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

        &::before {
            content: "「";
        }

        &::after {
            content: "」";
        }
    }
}

.f_info_group {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px 0;

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

        &>li {
            width: 50%;

            &:last-child {
                position: relative;

                &::before {
                    content: "";
                    width: 1px;
                    height: 100%;
                    display: block;
                    position: absolute;
                    left: -1em;
                    top: 0;
                    bottom: 0;
                    background: var(--light-gray);
                }
            }
        }
    }

    .cts_p,
    .note_list li {
        font-size: var(--font-s);
        letter-spacing: -0.03em;
    }

    .note_list li+li {
        margin-top: 0;
    }

}

/*map ----------------------*/
.footer_map {
    vertical-align: bottom;

    &>iframe {
        vertical-align: bottom;
    }
}

/*footer nav ----------------------*/
.footer_nav_wrap {
    width: 100%;
    padding-inline: var(--container-pd);
    background: var(--bg-color01);
}

.footer_nav_inner {
    padding-block: var(--section-top) var(--section-bottom);
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
}

.f_nav_list {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    gap: 24px 0;

    &>li {
        width: 50%;
    }

    @media (width>=768px) {
        &>li {
            width: 25%;
        }
    }
}

.f_nav_ti {
    font-weight: 700;
    color: var(--maincolor);
    margin-bottom: 0.4em;
}

.f_nav {
    &>li {
        padding-left: 0.5em;

        :is(a) {
            display: flex;
            align-items: center;
            gap: 0.6em;
            color: var(--base-tx-color);
            text-decoration: none;
            transition: 0.2s;

            &::before {
                content: "";
                display: inline-block;
                width: 0.4em;
                height: 1px;
                background: var(--base-tx-color);
            }

            &:hover {
                opacity: 0.8;
            }
        }

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

.f_nav_em {
    &>li {
        :is(a) {
            text-decoration: none;
            font-weight: 700;
            color: var(--maincolor);
            transition: 0.2s;

            &:hover {
                opacity: 0.8;
            }
        }

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

/*copyright ------------------------*/
.copyright {
    font-size: var(--font-ss);
    background: var(--maincolor);
    color: var(--light-tx-color);
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;

    #year{
        display: inline-block;
        margin-right: 4px;
    }
}

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

.ly_gold_s.base_img {
    &>img {
        width: 100%;
        height: auto;
        border-radius: var(--base-radius);
    }
}


/*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;
    position: relative;

    &::before{
        content: "";
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        inset: 0;
        mix-blend-mode: soft-light;
        filter:sepia(30%);
        background: repeating-linear-gradient(45deg, rgba(180, 194, 181, 0.8), rgba(180, 194, 181, 0.8) 10px, rgba(217, 217, 217, 0.8) 0, rgba(217, 217, 217, 0.8) 20px);
    }

    .pagetitle {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        gap: 8px;
        color: var(--light-tx-color);
        text-shadow: 0px 2px 7px rgba(0, 0, 0, 0.8);
        font-size: 2.8rem;
        font-weight: 900;
        line-height: 1.2;

        .subti {
            font-size: var(--font-xl);
            background: var(--subcolor);
            color: var(--maincolor);
            font-weight: 700;
            line-height: 1;
            width: max-content;
            padding: 0.3em 1.5em;
            border-radius: 100vmax;
            text-shadow: none;
            margin-inline: auto;
        }
    }

    @media (width >=768px) {
        padding-top: calc(var(--header-contact-h-md) / 3);
        height: 280px;

        .pagetitle {
            font-size: 4rem;
        }
    }

    @media (width >=1366px) {
        padding-top: calc(var(--header-contact-h-pc) / 4);
        height: 320px;

        .pagetitle {
            font-size: 5.6rem;
        }
    }
}

/*title-----------------*/
.title01 {
    font-weight: 900;
    font-size: clamp(2.4rem, 48vw/13.66, 4.8rem);
    line-height: 1.2;
    margin-bottom: 0.8em;
}

.title02 {
    font-weight: 900;
    font-size: clamp(1.8rem, 24vw/13.66, 2.4rem);
    line-height: 1.4;
    margin-bottom: 0.66em;
}

.title03 {
    background: var(--subcolor);
    border-left: 6px solid var(--maincolor);
    color: var(--maincolor);
    text-align: left;
    font-weight: 700;
    font-size: var(--font-xl);
    padding: 0.5em 1em;
    line-height: 1.2;
    margin-bottom: 1em;

    .s_tx {
        font-size: var(--font-base);
        color: var(--base-tx-color);
    }
}

.title04 {
    display: flex;
    justify-content: center;
    gap: 0.4em;
    font-weight: 900;
    font-size: clamp(2.4rem, 30vw/13.66, 3rem);
    margin-bottom: 0.8em;

    &::before {
        content: "【";
        color: var(--maincolor);
    }

    &::after {
        content: "】";
        color: var(--maincolor);
    }
}

.title_group01 {
    display: flex;
    flex-direction: column;
    color: var(--maincolor);

    .ja_tx {
        order: 1;
        font-weight: 700;
        font-size: clamp(2.4rem, 48vw/13.66, 4.8rem);
        line-height: 1.4;
    }

    .en_tx {
        order: -1;
        font-size: clamp(1.4rem, 20vw/13.66, 2rem);
    }
}

.content_bg02 {
    .title_group01 {
        color: var(--light-tx-color);
    }
}

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

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

/*color -------------*/
/*color red*/
.tx_red {
    color: var(--error-color);
}

/*color mian*/
.tx_main {
    color: var(--maincolor);
}

/*color gray*/
.tx_gray {
    color: var(--gray);
}

/*color gray*/
.tx_white {
    color: var(--light-tx-color);
}

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


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

    .title01 {
        color: var(--light-tx-color);
    }
}

/*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
--------------------------------------*/
.section:has(.pankuzu_area) {
    padding-block: 0.5em 0;
}

.pankuzu_area {
    width: 100%;
    overflow-x: auto;

    .pankuzu {
        width: min(100%, var(--container-max));
        list-style: none;
        display: flex;
        gap: 1.5em;

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

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

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

            :is(a) {

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

/*------------------------------------
table
--------------------------------------*/
/*table 変数*/
:root {
    --table-padding: 0.8em 1em;
    --table-bg: #fff;
    --table-border-color: #6d6d6d;
    --th-bg: #eaf3ec;
}

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

    @media (width >=768px) {
        :where(th, td) {
            display: table-cell;
        }

        :where(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;

    :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;
}

/*remarks -------------*/
.remarks_box {
    border: 4px solid color-mix(in srgb, var(--maincolor), white 60%);
    border-radius: var(--inner-radius);
    text-align: left;
    padding: 18px;

    @media (width >=768px) {
        padding:24px 30px;
    }
}

/*------------------------------------
pagetop
--------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: var(--pagetop-z);

    :is(img) {
        width: clamp(50px, 61vw/7.68, 61px);
        height: auto;
    }
}

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

    /*その他　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: var(--maincolor);
    --pagenavi-span-tx: var(--light-tx-color);
    --pagenavi-span-bg:var(--maincolor);
    --pagenavi-a-border: var(--maincolor);
    --pagenavi-a-tx: var(--maincolor);
    --pagenavi-a-bg: #fff;
    --pagenavi-radius:100vmax;
}

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

    &>li {
        :is(span) {
            display: flex;
            justify-content: center;
            align-items: center;
            padding:0 0 0.15em;
            color: var(--pagenavi-span-tx);
            line-height: 1;
            border: 1px solid var(--pagenavi-span-border);
            background: var(--pagenavi-span-bg);
            border-radius: var(--pagenavi-radius);
            white-space: nowrap;
        }

        :is(a) {
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            line-height: 1;
            padding:0 0 0.15em;
            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;
            white-space: nowrap;
            &:hover {
                background: var(--maincolor);
                color: var(--light-tx-color);
            }
        }
    }

    :not(.prev):not(.back){
        :is(span),:is(a) {
            height: auto;
            width: 40px;
            aspect-ratio: 1;
        }
    }
}

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

.tel-link a:hover {
    opacity: 0.8;
}


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

/* ==============================
box
============================== */
.border_box01 {
    border: 4px solid var(--subcolor);
    background: var(--bg-white);
    border-radius: var(--inner-radius);
    padding: 20px;

    @media (width >=768px) {
        padding: 30px;
    }
}

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

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

        gap: 16px;
        border: 2px solid currentColor;
        border-radius: var(--btn-radius);
        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;
    }

}

/*01 */
.button_primary {

    &>a,
    &>button,
    &>input {
        color: var(--light-tx-color);
        background: var(--maincolor);
        border-color: var(--maincolor);
    }
}

/*02 */
.button_secondary {

    &>a,
    &>button,
    &>input {
        color: var(--maincolor);
        background: var(--subcolor);
        border-color: var(--maincolor);
    }
}

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

.arrow_btn {

    &>a,
    &>button {
        justify-content: space-between;

        &::after {
            font-family: 'Material Symbols Outlined';
            font-weight: normal;
            font-style: normal;
            line-height: 1;
            content: "\e5e1";
            display: inline-block;
        }
    }
}

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

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

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