@charset "utf-8";


/*グローバルナビゲーション
==================================================================================================================*/
/*ヘッダー*/
header {
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 999;
    background-color: #fff7c4;
    padding: 10px 2%;
}

.about_bear header {
    background-color: #ecf9fb;
}

.about_flower header {
    background-color: #FFF1F9;
}

.content {
    padding: 140px 0 0 0;
}

.header_innr {
    align-items: stretch;
}

#header a {
    display: block;
    font-size: clamp(1rem, 0.942rem + 0.29vw, 1.25rem);
    text-align: center;
    font-weight: bold;
}

.head_left,
#header .contact {
    width: 84%;
    background: #fff;
    border: 3px solid #707070;
    border-radius: 100px;
}

.head_left {
    width: 84%;
    padding: .75em 5rem;
}

#header .contact {
    width: 15%;
}

#header .contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #009D96;
    color: var(--c_bgrn);
    padding: .75em;
}

#header .sp_contact {
    display: none;
}

#header #hdr_logo {
    width: 18%;
}

#header #hdr_logo h1 {
    width: 100%;
    max-width: 240px;
}

#g-nav {
    width: calc(100% - 20%);
    display: flex;
    justify-content: center;
    position: relative;
}

#g-nav-list>ul>li {
    display: inline-block;
    padding: 0 1em;
}


#g-nav-list>ul>li:nth-of-type(1) a {
    color: var(--c_grn);
}

#g-nav-list>ul>li:nth-of-type(2) a {
    color: var(--c_mpink);
}

#g-nav-list>ul>li:nth-of-type(3) a {
    color: var(--c_org);
}

#g-nav-list>ul>li:nth-of-type(4) a {
    color: var(--c_bgrn);
}

#g-nav-list>ul>li:nth-of-type(5) a {
    color: var(--c_mpink02);
}

#g-nav-list>ul>li:nth-of-type(6) a {
    color: var(--c_blue);
}

#g-nav-list>ul>li:nth-of-type(7) a {
    color: var(--c_blue);
}


/*ベア・フラワー共通*/
.header_sub #hdr_logo p {
    width: 35%;
    font-size: clamp(1.125rem, 0.92rem + 1.02vw, 1.688rem);
    margin-bottom: 0;
    text-align: left;
}

.sub_logo a {
    justify-content: center;
}

.about_bear .header_sub #hdr_logo img {
    width: 63%;
    max-width: 661px;
}

.about_flower .header_sub #hdr_logo img {
    width: 63%;
    max-width: 842px;
}

.header_sub li {
    margin: .5em .75em;
}

.header_sub li a {
    display: block;
    background: #0166B4;
    color: #fff;
    text-align: center;
    padding: .25em 3em .25em 2em;
    border-radius: 50px;
    position: relative;
}

.about_bear .header_sub li a {
    background: var(--c_blue);
}

.about_flower .header_sub li a {
    background: var(--c_mpink);
}

.header_sub li a::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    border-width: 11px 5px 0px 5px;
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
}

.about_bear #hdr_logo p {
    width: fit-content;
    text-align: left;
    margin: 0 2em 0 0;
}


@media (min-width:800px) and (max-width:1699px) {


    #header a {
        font-size: clamp(0.875rem, 0.653rem + 0.44vw, 1.125rem);
    }

}





@media (max-width:899px) {

    header {
        background: #fff;
        width: 100%;
        height: 70px;
        padding: .5em 1em;
        position: fixed;
        top: 0;
        z-index: 99;
    }

    .content {
        padding: 90px 0 0 0;
    }

    .head_left {
        width: 100%;
        background: none;
        border: none;
        padding: 0;
        border-radius: 0;
    }

    #header .contact {
        display: none;
    }

    #header .sp_contact {
        display: block;
    }

    #header #hdr_logo {
        width: 30%;
    }

    #g-nav-list>ul {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #g-nav-list>ul>li {
        width: 100%;
        padding: 0;
    }


    #g-nav-list>ul>li:not(:last-child) {
        border-bottom: 1px solid #666;
    }


    #g-nav-list>ul>li a {
        display: block;
        padding: 1em;
        color: var(--c_brn);
    }

    #g-nav .inst {
        filter: brightness(0) saturate(100%) invert(14%) sepia(8%) saturate(718%) hue-rotate(339deg) brightness(99%) contrast(84%);
        top: .85em;
        right: calc(30px + 4em);
        transform: inherit;
    }

    #g-nav.panelactive {
        position: fixed;
        background: #fff;
        z-index: 999;
        top: 3px;
        width: 90%;
        height: fit-content;
        right: 3px;
        border: solid 5px #ffcaca;
        border-radius: 20px;
    }

    .circle-bg {
        position: fixed;
        z-index: 3;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: var(--c_crm);
        transform: scale(0);
        right: -50px;
        top: calc(50% - 50px);
        transition: all .5s;
    }

    .circle-bg.circleactive {
        transform: scale(50);
        width: 50%;
    }

    #g-nav-list {
        display: none;
        width: 80%;
        height: fit-content;
    }

    #g-nav.panelactive #g-nav-list {
        display: block;
    }

    #g-nav-list>ul {
        opacity: 0;

        width: 100%;
        padding: 2rem 0 0;
    }


    #g-nav.panelactive ul {
        opacity: 1;
    }

    #g-nav.panelactive ul li {
        animation-name: gnaviAnime;
        animation-duration: 1s;
        animation-delay: .2s;
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes gnaviAnime {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }



    .openbtn1 {
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 998;
        cursor: pointer;
        width: 40px;
        height: 40px;
    }

    .openbtn1 span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 0;
        height: 3px;
        border-radius: 4px;
        background-color: #707070;
        width: 40px;
    }

    .openbtn1 span:nth-of-type(1) {
        top: 0;
    }

    .openbtn1 span:nth-of-type(2) {
        top: 12px;
    }

    .openbtn1 span:nth-of-type(3) {
        top: 24px;
    }

    .openbtn1.active {
        z-index: 9999;
    }

    .openbtn1.active span {
        background-color: #707070;
    }

    .openbtn1.active span:nth-of-type(1) {
        top: 8px;
        left: 0;
        transform: translateY(6px) rotate(-45deg);
        width: 40px;
    }

    .openbtn1.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn1.active span:nth-of-type(3) {
        top: 20px;
        left: 0;
        transform: translateY(-6px) rotate(45deg);
        width: 40px;
    }



    .header_sub #hdr_logo p {
        width: 100%;
        margin-bottom: .5em;
        text-align: center;
    }

    .header_sub #hdr_logo img {
        width: 85%;
        margin: auto;
    }



}


@media (max-width:599px) {

    #header #hdr_logo {
        width: 40%;
    }

    .header_sub li {
        width: calc(100% / 2 - .5em);
        margin: .35em .25em;
    }

    .header_sub li a {
        padding: .5em 1em .5em .5em;
    }

    .header_sub li a::after {
        border-width: 8px 4px 0px 4px;
        right: .75em;
    }





}

@media (max-width:399px) {


    header {
        height: 50px;
    }

    .content {
        padding: 70px 0 0 0;
    }

    .openbtn1 {
        width: 30px;
        height: 30px;
    }

    .openbtn1 span {
        width: 30px;
    }

    .openbtn1 span:nth-of-type(1) {
        top: 0;
    }

    .openbtn1 span:nth-of-type(2) {
        top: 10px;
    }

    .openbtn1 span:nth-of-type(3) {
        top: 20px;
    }

    .openbtn1.active span:nth-of-type(1) {
        top: 6px;
        width: 30px;
    }

    .openbtn1.active span:nth-of-type(3) {
        top: 19px;
        width: 30px;
    }






}

/**********/
.navi_menu li.menu_single {}

.navi_menu li.menu_single ul.menu_second {}

.navi_menu li.menu_single ul.menu_second {}

.navi_menu li.menu_single ul.menu_second li {}

#g-nav-list .navi_menu li.menu_single ul.menu_second li a {
    padding: 3px 0;
}

/*900px以上*/
@media (min-width: 900px) {

    .navi_menu li.menu_single {
        position: relative;
    }

    .navi_menu li.menu_single ul.menu_second {
        opacity: 0;
        position: absolute;
        top: 40px;
        width: 100%;
        -webkit-transition: all .2s ease;
        transition: all .2s ease;
    }

    .navi_menu li.menu_single ul.menu_second {
        top: 1.6em;
        visibility: visible;
        width: max-content;
    }

    .navi_menu li.menu_single:hover ul.menu_second {
        opacity: 1;
    }

    .navi_menu li.menu_single ul.menu_second li {}

    #g-nav-list .navi_menu li.menu_single ul.menu_second li a {
        background-color: #fff;
        margin: 5px 0;
        padding: 3px 1em;
        border: solid 1px var(--c_blue);
        border-radius: 2em;
        padding: 3px 1em;
    }
}