@charset "utf-8";
/* ローディング時の指示 */

.loading {
    width: 100vw;
    height: 100vh;
    transition: all 1s;
    background-color: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
}

.loading.is-active {
    opacity: 0;
    visibility: hidden;
}

.loading-animation {
    width: 100vw;
    height: 100vh;
    transition: all 1s;
    background-color: #fffbb1;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.loading-animation.is-active {
    opacity: 1;
    visibility: visible;
}

.loading-text{
    font-family: 'Cabin Sketch', sans-serif;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 20px;
    margin-right: 10px;
}

.loading-bird{
    width: 10%;
    animation-name: loading-bird;
    animation-duration: 0.8s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
}

.loading-bird img{
    text-align: center;
    width: 100%;
}

@keyframes loading-bird{
    0%{transform: rotate(10deg);}
    100%{transform: rotate(-10deg);}
}

/* メインビジュアルの指示 */
.bg-croud .mv{
    padding-top: 5%;
    padding-bottom: 2%;
    width: 90%;
}

.bg-croud .mv img{
    width: 100%;
}

/* トップ背景の雲の動き */

.bg-croud{
    background-image: 
    url(../images/top/top-yama-anime.png),
    url(../images/top/top-yama-a.png);
    background-repeat: no-repeat,repeat-x;
    background-size: 30%,1000px;
    animation-name: mountain-slide;
    animation-duration:10s;
    animation-delay: 0s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    background-position: 200% 0%,0 100%;

}

@keyframes mountain-slide{
    0%{
        background-position: 200% 0%,0 100%;
    }

    100%{
        background-position: -100% 0%,-1000px 100%;
    }
}

/* ご挨拶の指示 */

.tori-relative{
    position: relative;
    padding: 8% 0;
    margin: 0 10px;
    width: 100%;
}

.tori-right{
    position: absolute;
    bottom: 0;
    right: 5%;
    width: 15%;
    animation-name: patapata;
    animation-duration: 0.8s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
}

@keyframes patapata{
    0%{transform: rotate(10deg);}
    100%{transform: rotate(-10deg);}
}


.tori-right img{
    width: 100%;
}

.tori-left{
    position: absolute;
    top: 0;
    left: 0;
    width: 15%;
}

.tori-left img{
    width: 100%;
}


.intro{
    text-align: center;
    max-width: 100%;
}

.intro img{
    width: 90%;
}

/* ニュースの指示 */
.contents{
    text-align: center;
}

.news{
    display: inline-block;
    text-align: left;
    margin: 5% 0;
    padding: 0 10px;
}

.news dl{
    padding: 10px;
    line-height: 2;
    border-bottom: 1px solid #333333;
}

.news h2{
    border-bottom: 1px solid #333333;
    padding-left: 10px;
}

.news a{
    transition: all 0.2s;
}

.news a:hover{
    color: #2a7037;
}



/* ドローイングの指示 */


/* 見出しと鳥 */
.aki-drawing h2{
    font-family: 'Cabin Sketch', sans-serif;
    display: inline-block;
    font-size: 25px;
    padding: 1em 2em;
    background-image: url(../images/top/text-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    animation-name: huruhuru;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}

@keyframes huruhuru {
    0% {transform:translate(0, 0) rotate(0deg);}
    21% {transform:translate(0, 0) rotate(0deg);}
  
    22% {transform:translate(0, 0) rotate(-3deg);}
    24% {transform:translate(0, -1px) rotate(0deg);}
    26% {transform:translate(0, -1px) rotate(3deg);}
  
    28% {transform:translate(1px, 0) rotate(-2deg);}
    30% {transform:translate(0, 1px) rotate(0deg);}
    32% {transform:translate(0, 0) rotate(3deg);}
  
    34% {transform:translate(0, 0) rotate(0deg);}
    100% {transform:translate(0, 0) rotate(0deg);}
}


.aki-drawing .tori3 {
    width: 15%;
    margin-top: 5%;
    padding-left: 10px;
}

.aki-drawing .tori3 img{
    width: 100%;
}

/* スケッチ達 */

.sketch{
    padding-bottom: 10%;
}

.flex-content{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    margin: 8% 5%;
}

.waku{
    position: relative;
    width: 30%;
    background: rgba(255,255,255,0.5);
    margin: 2px;
}

.waku::before{
    content: "";
    display: block;
    padding-top: 100%;
}

.waku img{
    position: absolute;
    width: 95%;
    height: 95%;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    object-fit: contain;
}

/* スケッチの背景 */

.bg-yama{
    background-image: url(../images/top/top-yama.png),url(../images/top/top-tanbo.png),url(../images/top/top-wa.png);
    background-size: 60%,50%,20%;
    background-position: right top,left bottom,100% 50%;
    background-repeat: no-repeat;
}


/* ラインスタンプの指示 */
.line-stamp.flex{
    justify-content: flex-start;
    align-items: center;
    padding-left: 15px;
}

.line-stamp{
    width: 60%;
    opacity: 0;
}

.run-anime{
    opacity: 1;
    animation: runrun 5s linear 1 forwards;
}

@keyframes runrun {
    0%{
        transform: translateX(120%);
    }

    100%{
        transform: translateX(0);
    }
}



.line-stamp img{
    width: 100%;
}


.line-stamp a{
    transition: all 0.5s;
    transform: translateY(10px);
}

.line-stamp a:hover{
    transform: translateY(-10px);
}






