@charset "UTF-8";
/*--------------------------------
setting
----------------------------------*/
body {
    color: #281E18;
    font-family: "Lato","Zen Kaku Gothic Antique", sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1.875;
    background-image: url("../images/common/bg.png");
    background-size: 480px;
}
p,h1,h2,h3,h4,h5,h6{
    margin: 0;
}

a{
    text-decoration: none;
}
picture{
    display: block;
}
/* text */


/* laout */
:root{
    --content:min(1000px,calc(100vw - 10vw));
    --blank:calc(100vw - var(--content));
    --side:calc(var(--blank) / 2);

    --headerHeight:160px;
}
.aligndefa{
    width:var(--content);
    margin-left: var(--side) !important;
    margin-right: var(--side) !important;
}
.alignfull{
    width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* bg */
.bgdots {
  background-color: #cbeaf9;
  background-image: radial-gradient(circle, #abdcf5 1.5px, transparent 1.5px), radial-gradient(circle, #abdcf5 1.5px, transparent 1.5px);
  background-position: 0 0, 6.5px 13px;
  background-size: 13px 26px;
}
.kumo{
    position: absolute;
    z-index: -5;
    pointer-events: none;
    width: min(25vw,338px);
}

/*--------------------------------
load
----------------------------------*/
/*--------------------------------
header
----------------------------------*/
#header {
    display: flex;
    align-items: center;
    padding: 20px var(--side) 40px;
    gap: 50px;
    justify-content: space-between;
    position: relative;
    z-index: 50;
    height: var(--headerHeight);
    overflow: hidden;
}
#header .logo{
    width: 130px;
    height: 100%;
}
#header .menu{
    display: flex;
    gap: 1em;
    flex-grow: 1;
    justify-content: space-around;
}
#header .menu__item.current{
    color: #008ED3;
    position: relative;
}
#header .menu__item.current::after{
    content: "";
    display: block;
    background: currentColor;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}
#header .menu__item a:hover{
    color: #887c76;
}

#header .kumo {
    right: var(--side);
    bottom: 0;
    transform: translateX(60%);
}
/*--------------------------------
hum
----------------------------------*/
#header .hum__btn{
    width: 40px;
    height: 30px;
    position: relative;
    cursor: pointer;
}
#header .hum__btn span{
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 5px;
    background: #008acd;
    position: absolute;
    left: 0;
}
#header .hum__btn span:nth-of-type(1){
    top: 0;
}
#header .hum__btn span:nth-of-type(2){
    top: 50%;
    transform: translateY(-50%);
}
#header .hum__btn span:nth-of-type(3){
    bottom: 0;
}
#header.open .hum__btn span:nth-of-type(1){
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
#header.open .hum__btn span:nth-of-type(2){
    opacity: 0;
}
#header.open .hum__btn span:nth-of-type(3){
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    bottom: auto;
}

#header .hum__inner {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    padding: calc(var(--headerHeight) + 20px) var(--side) 30px;
    overflow-y: auto;
}
#header.open .hum__inner{
    opacity: 1;
    pointer-events: all;
}
body.humopen {
    overflow: hidden;
}

/* inner */
.hummenu {
    display: flex;
    flex-wrap: wrap;
    gap: 3vw;
}
.hummenu__item {
    width: calc((100% - 3vw) / 2);
}
.hummenu__item a{
    background: #fff;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    gap: 2vw;
}
.hummenu__item .img {
    width: min(100px, 40%);
    flex-shrink: 0;
}
.hummenu__item .txt {
    flex-grow: 1;
    line-height: 1.2;
}
/*--------------------------------
footer
----------------------------------*/
footer > .inner,footer > .bg{
    padding: 0 var(--side);
}
footer > .inner{
    padding-top: 40px;
}
footer > .bg{
    clip-path: url(#fclip);
    width: 100%;
    aspect-ratio: 1440 / 78;
}

.fbottom .inner {
    background: #039165;
    text-align: center;
    color: #fff;
    padding: 2em;
    font-size: var(--f14px);
}
#backtotop {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: var(--f14px);
    text-align: center;
    line-height: 1.2;
    gap: 10px;
    cursor: pointer;
    width: fit-content;
    margin: 0 0 0 auto;
}
#backtotop:hover .arrow{
    animation: slideup 0.5s infinite;
}
@keyframes slideup{
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-10px);
    }
    100%{
        transform: translateY(0);
    }
}

.fmenu__item{
    margin: 40px 0;
}
.fmenu__item a {
    background: #fff;
    border-radius: 160px;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    gap: 20px;
}
.fmenu__item a:hover{
    color: #039165;
}
.fmenu__item a:hover .arrow{
    animation: slide 0.5s infinite;
}
@keyframes slide{
    0%{
        transform: translateX(0);
    }
    50%{
        transform: translateX(10px);
    }
    100%{
        transform: translateX(0);
    }
}
.fmenu__item .img {
    width: min(200px, 30%);
    flex-shrink: 0;
}
.fmenu__item .txt{
    flex-grow: 1;
    line-height: 1.3;
}
.fmenu__item .txt .ttl{
    font-size: var(--f26px);
    margin-bottom: 10px;
}
#fcontact {
    width: min(100%, 670px);
    margin: 0 auto;
}
#fcontact a{
    background: #17A7ED;
    border-radius: 20px;
    padding: 60px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: var(--f30px);
    gap: 50px;
}
#fcontact .img{
    width: min(140px,40%);
}
#fcontact .txt{
    display: flex;
    flex-direction: column;
    align-items: end;
    line-height: 1.3;
}
#fcontact a:hover{
    background: #1482b8;
}
#fcontact a:hover .arrow{
    animation: slide 0.5s infinite;
}
.fbottom .bg img{
    width: 100%;
    position: relative;
    top: 4px;
}



/*--------------------------------
animation
----------------------------------*/
.upTrigger{
    opacity: 0;
    filter: blur(6px);
}
.upTrigger.showin {
    animation-name: upAnime;
    animation-duration:0.6s;
    animation-fill-mode:forwards;
}
@keyframes upAnime{
    0% {
    opacity: 0;
    filter: blur(6px);
    transform: scale(0.7);
    }
    70% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1.1);
    }
    100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    }
}

.inTrigger{
    opacity: 0;
}
.inTrigger.showin {
    animation-name: inAnime;
    animation-duration:0.5s;
    animation-fill-mode:forwards;
}
@keyframes inAnime{
    0% {
    opacity: 0;
    transform: scale(0.7);
    }
    100% {
    opacity: 1;
    transform: scale(1);
    }
}

.fadeUpTrigger{
    opacity: 0;
    filter: blur(6px);
}
.fadeUpTrigger.showin {
    animation-name: fadeUpAnime;
    animation-duration:0.5s;
    animation-fill-mode:forwards;
}
@keyframes fadeUpAnime{
    0% {
    opacity: 0;
    transform: translateY(100px);
    filter: blur(6px);
    }
    100% {
    opacity: 1;
    transform: translateY(1);
    filter: blur(0);
    }
}

.slidetoRightTrigger{
    opacity: 0;
}
.slidetoRightTrigger.showin {
    animation-name: slidetoRight;
    animation-duration:0.5s;
    animation-fill-mode:forwards;
}
@keyframes slidetoRight{
    0% {
    opacity: 0;
    transform: translateX(-100px);
    }
    100% {
    opacity: 1;
    transform: translateX(0);
    }
}

.delay002{
    animation-delay: 0.2s;
}
.delay006{
    animation-delay: 0.6s;
}
.delay008{
    animation-delay: 0.8s;
}
.delay010{
    animation-delay: 1s;
}
.delay012{
    animation-delay: 1.2s;
}
.delay016{
    animation-delay: 1.6s;
}


/*--------------------------------
----------------------------------
breakpoint
----------------------------------
----------------------------------*/
@media(max-width:1024px){


}
@media(min-width:961px){
     #header .hum{
        display: none;
    }
}
@media(max-width:960px){
    #header .menu{
        display: none;
    }
}
@media(max-width:768px){
    .kumo {
        width: 30vw;
    }
    #header .logo {
        width: min(100px,30%);
    }
    #header .kumo {
        top: 0;
        transform: translateX(40%);
    }
    .fmenu__item .arrow {
        display: none;
    }
}
@media(max-width:540px){
    :root{
        --headerHeight:130px;
    }
    .hummenu__item {
        width: 100%;
    }
    .fmenu__item {
        margin: 20px 0;
    }
    .fmenu__item a {
        padding: 10px 30px;
    }
    .fmenu__item .txt .ttl {
        font-size: var(--f18px);
        margin: 0;
    }
    .fmenu__item .txt .ttl + p {
        display: none;
    }
    #fcontact a {
        font-size: var(--f20px);
        flex-direction: column-reverse;
        gap: 10px;
        padding: 30px 10px;
    }
    #fcontact .img {
        width: 30%;
    }
    #fcontact .txt {
        align-items: center;
        gap: 15px;
    }
    #fcontact .arrow {
        display: none;
    }
    #backtotop {
        font-size: var(--f12px);
    }
    #backtotop span.arrow {
        width: 25px;
    }



}

