@charset "UTF-8";

/*============================
	header
============================*/

.header {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    z-index: 999;
    background: #fcf9f4;
    transform: translate(-50%);
}

.header.active {
    box-shadow: 10px 10px 15px rgba(0, 0, 0, .1);

}

.hd__inner {
    margin: 0 auto;
    width: 100%;
    height: 52px;
    position: relative;
    transition: .3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2%;
}


.hd__flex {
    display: flex;
    align-items: center;
    width: 100%;
    transition: .3s ease-out;
}


.hd__left {
    width: 100%;
    flex: 0 1 auto;
    position: relative;
    transition: .3s ease-out;
}


.hd__right {
    width: fit-content;
    display: flex;
    justify-content: flex-end;
    transition: .3s ease-out;
}

.hd__logo {
    width: 100%;
    max-width: 70px;
    z-index: 999;
    position: relative;
}

/* g-nav 伸びるボーダー */

.g-nav__pc--ul li::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #378567;
    left: 50%;
    bottom: -1em;
    transition: .5s;
    transform: translate(-50%);
    z-index: -1;
}

.g-nav__pc--ul li:hover:before {
    width: 50%;
}

.g-nav__pc--ul li.active a::before {
    width: 100%
}

.g-nav__pc--ul .sub-triger:hover::before {
    display: none;
}

.g-nav__pc--ul .sub-nav__li:hover::before {
    display: none;
}

/***** g-nav ▲*****/
.hd__menu {
    pointer-events: none;
}



/***** ハンバーガー ▼*****/

.hd__menu {
    z-index: 999;
    width: 30px;
    height: 16px;
    transition: .5s;
    margin: 0 0 0 auto;
    cursor: pointer;
    position: relative;
    pointer-events: all;
}

/* .hd__menu.active {
    background: #00528d;
} */

.hd__hamburger {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hd__ham--line {
    background: #333;
    height: 1px;
}

.hd__menu.active .hd__ham--line {
    background: #333;
}


.hd__hamburger--top {
    width: 100%;
    top: 0;
    left: 50%;
    transition: .5s;
    transform: translate(-50%)
}

.hd__hamburger--middle {
    width: 100%;
    top: 50%;
    transition: .5s;
    transform: translate(0, -50%);
}

.hd__hamburger--bottom {
    width: 100%;
    bottom: 0;
    left: 50%;
    transition: .5s;
    transform: translate(-50%)
}

.hd__menu.active .hd__hamburger--top {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.hd__menu.active .hd__hamburger--middle {
    display: none;
}

.hd__menu.active .hd__hamburger--bottom {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    ;
}

.hd__menu--txt {
    position: absolute;
    top: 75%;
    left: 50%;
    color: #fff;
    width: 90%;
    font-size: 1.2rem;
    transform: translate(-50%, -50%);
    text-align: center;
}

/***** sp nav *****/
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(000, 000, 000, .5);
    opacity: 0;
    display: none;
    transition: .5s;

}

html.active body:before {
    opacity: 0;
    z-index: 999;
    display: block;
    animation-name: BgAppear;
    animation-duration: .5s;
    animation-fill-mode: forwards;
}

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

    100% {
        opacity: 1;
    }

}

@keyframes BgHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }

}

.g-nav__bg {
    position: fixed;
    top: 52px;
    right: -130%;
    height: 100vh;
    min-width: 100vw;
    transition: all .5s;
    background: #665241;
    overflow: auto;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 100px 10% 100px;
    z-index: 999;
}

.g-nav__bg--inner {
    width: fit-content;
    margin: 0 auto;
}

.g-nav__bg.active {
    right: 0;
}

.g-nav__sp-ul {
    width: fit-content;
    margin: 0 auto 40px;
}

.g-nav__bg .g-nav__li {
    border: none;
    padding: 0;
}

.g-nav__li a::before {
    display: none;
}

.g-nav__bg .g-nav__li a {
    font-size: 1.4rem;
    height: 100%;
    display: block;
    padding: 0;
    line-height: 1;
    margin-bottom: 1em;
    color: #fff;
    background: none;
    border: none;
    text-align: center;
}

.g-nav__bg .g-nav__li p,
.g-nav__bg .g-nav__li span {
    line-height: 1;
}

.g-nav__bg .g-nav__li i {
    display: inline-block;
    margin: 0 0 0 .5em;
}

.g-nav__bg .g-nav__li.sub a {
    font-size: 1.4rem;
    margin-bottom: 1em;
}

.g-nav__sp-ul .sub-triger a {
    margin-bottom: 1em;
}

.g-nav__bg .sub-nav__li a {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.g-nav__tel {
    width: 200px;
    margin: 0 auto 20px;
}

.g-nav__tel p {
    display: inline-block;
}

.g-nav__mail {
    width: 220px;
    margin: 0 auto 30px;
}

.g-nav__snswrap {
    display: flex;
    align-items: center;
}

.g-nav__sns {
    max-width: 40px;
    margin: 0 5px;
}

@media screen and (min-width:768px) {
    .header .sp {
        display: block;
    }

    .header {
        padding: 0;
        width: 100%;
    }

    .hd__inner {
        height: 62px;
        padding: 0 2%;
    }

    .hd__left {
        width: 45%;
    }

    .hd__right {
        width: auto;
    }

    .hd__logo {
        width: 100%;
        max-width: 80px;
    }

    /***** ハンバーガー ▼*****/

    .hd__menu {
        width: 40px;
        height: 22px;
    }


    .hd__hamburger {
        margin: 0 0 0 auto;
    }

    .hd__ham--line {
        height: 2px;
    }

    /***** sp nav *****/

    .g-nav__bg {
        top: 62px;
        right: -120%;
        height: 100vh;
        min-width: 50vw;
        padding: 120px 10% 100px;
    }

    .g-nav__bg--inner {
        width: fit-content;
        margin: 0 auto;
    }

    .g-nav__bg.active {
        right: 0;
    }

    .g-nav__sp-ul {
        width: fit-content;
        margin: 0 auto 40px;
    }

    .g-nav__bg .g-nav__li {
        border: none;
        padding: 0;
    }

    .g-nav__li a::before {
        display: none;
    }

    .g-nav__bg .g-nav__li,
    .g-nav__bg .g-nav__li a {
        font-size: 1.6rem;
        height: 100%;
        display: block;
        padding: 0;
        line-height: 1;
        margin-bottom: 1em;
        background: none;
        border: none;
        text-align: center;
    }


    .g-nav__bg .g-nav__li i {
        display: inline-block;
        margin: 0 0 0 .5em;
    }

    .g-nav__bg .g-nav__li.sub a {
        font-size: 1.4rem;
        margin-bottom: 1em;
    }

    .g-nav__sp-ul .sub-triger a {
        margin-bottom: 1em;
    }

    .g-nav__bg .sub-nav__li a {
        display: block;
        font-size: 1.4rem;
        margin-bottom: 15px;
        font-weight: 500;
    }

    .g-nav__tel {
        max-width: 200px;
        margin: 0 auto 30px;
    }

    .g-nav__mail {
        width: 240px;
        margin: 0 auto;
    }


}

@media screen and (min-width:1025px) {
    .header .pc {
        display: block;
    }

    .header .sp {
        display: none;
    }

    .header .flex {
        display: flex;
    }

    .header {
        padding: 0 1%;
        background: none;

    }

    .header.active {
        background: #fcf9f4;
        box-shadow: 10px 10px 15px rgba(0, 0, 0, .1);
    }

    .hd__inner {
        height: 100px;
        padding: 0;
    }


    .hd__left {
        width: 13.5%;
    }


    .hd__right {
        width: 85%;
    }

    .hd__logo {
        max-width: 258px;
        height: 100px;
        position: relative;
    }

    .hd__logo img {
        position: absolute;
        display: block;
        width: 100%;
        top: 30px;
        left: 0;
    }

    .hd__mail {
        max-width: 36px;
        min-width: 25px;
        margin-right: 10px;
    }

    .hd__tel {
        max-width: 258px;
        min-width: 160px;
    }

    .hd__snswrap {
        max-width: 80px;
        min-width: 60px;
        margin-right: 1.5%;
    }

    .hd__sns {
        width: 48%;
        max-width: 22px;
    }

    .hd__sns:nth-child(2) {
        max-width: 24px;
    }

    /***** g-nav  PC ▼*****/

    .g-nav__pc {
        text-align: center;
        width: 100%;
        flex: 1 1 auto;
        display: flex;
        justify-content: flex-end;
        max-width: 624px;
        align-items: center;
        margin: 0 2% 0 auto;
        transition: .3s ease-out;
    }

    .g-nav__pc--ul {
        width: 100%;
        margin: 0 0 0 auto;
        position: relative;
    }

    .g-nav__li {
        position: relative;
        z-index: 9;
        flex: 1 1 auto;
    }

    /*.g-nav__li a {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        transition: .3s ease-out;
        line-height: 1;
        text-align: center;
        padding: 0 5px 0;
        white-space: nowrap;
        border-right: solid 1px #666666;
}*/
    .g-nav__li a,
    .g-nav__li .txt {
      text-shadow: 3px 1px 2px rgb(255, 255, 255), 0 0 1em rgb(255, 255, 255), 0 0 0.2em rgb(255, 255, 255);
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        transition: .3s ease-out;
        line-height: 1;
        font-size: 1.6rem;
        font-weight: 500;
        text-align: center;
        padding: 0 5px 0;
        white-space: nowrap;
    }

    .g-nav__li .en {
        display: block;
        font-size: 1.7rem;
        line-height: 1;
        margin-top: .25em;
    }

    .g-nav__li:last-child a {
        border: none;
    }

    .g-nav__li a:hover {
        opacity: .8;
    }


    /* .g-nav__li .hv {
    opacity: 0;
}

.g-nav__li a:hover .hv {
    opacity: 1;
}

.g-nav__li a:hover .default {
    opacity: 0;
} */

    .g-nav__li .font-en {
        font-size: 1.2rem;
        display: block;
        letter-spacing: .1em;
        margin-top: 1em;
        line-height: 1;
        white-space: nowrap;
        position: relative;
    }


    .g-nav__li.sub-triger {
        position: relative;
    }

    .g-nav__li.sub-triger .arw {
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translate(-50%);
        width: 10px;
    }

    .g-nav__pc .sub-triger {
        padding-bottom: 50px;
        margin-bottom: -50px;
    }

    .sub-triger:hover .sub-nav {
        display: block;
        opacity: 1;
    }

    .sub-nav {
        position: absolute;
        width: fit-content;
        left: 50%;
        top: 60px;
        min-width: 120px;
        background: rgba(246, 234, 221, .6);
        -webkit-transform: translate(-50%);
        -ms-transform: translate(-50%);
        transform: translate(-50%);
        border-radius: 0 0 20px 20px;
        display: none;
        opacity: 0;
        transition: .5s;
        padding: 1.5em 1em;
        animation: sub-navAppear .5s forwards;
    }

    @keyframes sub-navAppear {
        0% {
            opacity: 0%;
        }

        100% {
            opacity: 1;
        }
    }

    .g-nav__pc--ul .sub-nav__li a {
        line-height: 1.2;
        white-space: nowrap;
        font-weight: 500;
        margin-bottom: 1em;
        padding: 0;
        border: none;
        text-align: center;
    }

    .g-nav__pc--ul .sub-nav__li:last-child a::before {
        display: none;
    }

    /* 
.g-nav__pc--ul .sub-nav__li a:hover {
    color: #fff;
} */

    .g-nav__pc--ul .sub-nav__li a::after {
        display: none;
    }

    .g-nav__pc--ul .sub-nav__li:last-child a {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    /* g-nav 伸びるボーダー */

    .g-nav__pc--ul .g-nav__li::before {
        content: "";
        position: absolute;
        width: 0;
        height: 1.5px;
        background: #665241;
        left: 50%;
        top: -.5em;
        transition: .5s;
        z-index: -1;
        opacity: 0;
        transform: translate(-50%);
    }

    .g-nav__pc--ul .g-nav__li:hover:before {
        opacity: 1;
        width: 50%;
    }

    .g-nav__pc--ul .g-nav__li.sub-triger::before {
        display: none;
    }

    .g-nav__pc--ul .g-nav__li.sub-triger::before {
        width: 100%
    }

    .g-nav__pc--ul .sub-nav__li::before {
        display: none;
    }


    /***** g-nav ▲*****/


    /***** ハンバーガー ▼*****/

    .hd__menu {
        width: 40px;
        height: 22px;
        transition: .5s;
        margin: 0 auto;
    }

    /* .hd__menu.active {
        background: #00528d;
    } */

    .hd__ham--line {
        background: #0b0b0b;
        height: 2px;
    }

    .hd__menu.active .hd__ham--line {
        background: #fff;
    }

    /***** sp nav *****/

    .g-nav__bg {
        top: 0;
        min-width: 100vw;
        padding: 120px 10% 100px;
    }

    .g-nav__sp-ul {
        width: fit-content;
        margin: 0 auto 40px;
    }

    .g-nav__bg .g-nav__li {
        border: none;
        padding: 0;
    }

    .g-nav__bg .g-nav__li,
    .g-nav__bg .g-nav__li a {
        font-size: 1.6rem;
        margin-bottom: 1em;
    }

    .g-nav__mail {
        margin: 0 auto;
    }


}



/*============================
	footer
============================*/
.footer {
    padding: 50px 0 30px;
}

.ft__nav {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ft-nav__li {
    width: 50%;
}

.ft-nav__li a {
    display: block;
    white-space: nowrap;
    line-height: 1;
    font-size: 1.2rem;
    margin: 0 auto 1.5em 0;
    width: fit-content;
    position: relative;
}

.ft-nav__li p,
.ft-nav__li span {
    line-height: 1;
    width: fit-content;
}

.ft__logo {
    max-width: 206px;
    max-width: 100px;
    margin: 0 auto 20px;
}

.ft__info {
    font-size: 1.2rem;
    margin-bottom: 30px;
}



.ft__copyright {
    text-align: center;
    font-size: 1rem;
}

@media screen and (min-width:768px) {
    .footer {
        padding: 50px 0 30px;
    }

    .ft__nav {
        margin-bottom: 30px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        padding-bottom: 1em;
        border-bottom: solid 1px #e2d6c3;
    }

    .ft-nav__li {
        width: auto;
    }

    .ft-nav__li a {
        font-size: 1.1rem;
        margin: 0 auto 1em 0;
        padding: 0 1em;
        border-right: solid 1px #665241;
    }

    .ft-nav__li:last-child a {
        border: none;
    }
    .ft__logo {
        max-width: 206px;
        max-width: 140px;
        margin: 0 auto 20px;
    }

    .ft__info {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }



    .ft__copyright {
        font-size: 1rem;
    }

}

@media screen and (min-width:1024px) {
    .footer {
        padding: 50px 0 60px;
    }

    .ft__nav {
        margin-bottom: 50px;
    }

    .ft-nav__li {
        width: auto;
    }

    .ft-nav__li a {
        font-size: 1.1rem;
        margin: 0 auto 1em ;
        padding: 0 1em;
        border-right: solid 1px #665241;
    }

    .ft-nav__li:last-child a {
        border: none;
    }
    .ft__logo {
        max-width: 206px;
        margin: 0 auto 20px;
    }

    .ft__info {
        font-size: 1.4rem;
        margin-bottom: 40px;
    }



    .ft__copyright {
        font-size: 1.2rem;
    }

}



/*============================
	page top /side btn
============================*/
.js-pagetop a {
    max-width: 28px;
    width: 20px;
    display: block;
    z-index: 99;
    opacity: 0;
    transition: .5s;
    position: fixed;
    bottom: 20px;
    right: 1%;
}

.js-pagetop.active a {
    opacity: 1;
    pointer-events: fill;
}

.side__btn {
    max-width: 236px;
    min-width: 60px;
    width: 12.29%;
    bottom: 30px;
    right: 1%;
    display: block;
    z-index: 99;
    transition: .5s;
    position: fixed;
}

.side__btn .ico {
    max-width: 114px;
    width: 48.3%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.side__btn .txt {
    display: block;
    animation: sideAnime 8s infinite linear;
}

@keyframes sideAnime {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (min-width:768px) {

    .js-pagetop a {
        max-width: 28px;
        width: 20px;
        bottom: 20px;
        right: 1%;
    }

    .side__btn {
        max-width: 236px;
        min-width: 60px;
        width: 12.29%;
        bottom: 30px;
        right: 1%;
    }

    .side__btn .ico {
        width: 48.3%;
    }

}

@media screen and (min-width:1025px) {

    .js-pagetop a {
        max-width: 28px;
        width: 28px;
        bottom: 30px;
        right: 4%;
    }

    .side__btn {
        max-width: 236px;
        min-width: 60px;
        width: 12.29%;
        bottom: 30px;
        right: 1%;
    }

    .side__btn .ico {
        width: 48.3%;
    }
}

  
/* sidebar*/
.sidebar{
  position: fixed;
  z-index: 100;
  top: 15%;
   right:0%;
}
.side__item_con{
  width: 65px;
  margin-right: 0;
 margin-left: auto;
}
.side__item_inst{
  width: 220px;
}
@media screen and (max-width: 1720px) {
.side__item_con{
  width: 50px
  margin-right: 0;
 margin-left: auto;
}
}
@media screen and (max-width: 1400px) {
.side__item_inst{
  width: 140px;
}
}
@media screen and (max-width: 1040px) {
.side__item_con{
  width: 44px;
  margin-right: 0;
 margin-left: auto;
}
.side__item_inst{
  width: 140px;
}
}
@media screen and (max-width: 414px) {
.side__item_inst{
  width: 128px;
          margin-right: -5px;
}
  @media screen and (min-width:767px) {
.side__item_inst{
  width: 128px;
          margin-right: -5px;
}
}
