/* ===================================================================
CSS information
 file name  :  common.css
 style info :  共通構造（common.css）
=================================================================== */

html {
    font-size: 62.5%
}


.sp_only {
    display: none;
}


@media only screen and (max-width: 900px) {

    .sp_br {
        content: "";
        display: block;
        margin-top: 1.4em;
    }

    .sp_only {
        display: block;
    }

    .pc_only,
    .slick-next,
    .slick-prev,
    .next-arrow,
    .prev-arrow {
        display: none !important;
    }
}



body {
    background-color: #FFFFFF;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    font-size: 1.6rem;
    /*font-feature-settings:"palt";字詰めしたら縦書きの左右がおかしくなるので削除*/
    color: #000;
    line-height: 1.8;
    background: url('../img/craft_bg.jpg') repeat;
}

img {
    flex-shrink: 0;
    /*flex使った場合IEだと画像が伸縮されるのを回避*/
    width: 100%;
}

a{
    color: #000;
    text-decoration: none;
}

#main_inner {
    height: 80vh;
    min-height: 550px;
}

#wrapper {
    width: 100%;
    margin: 0 auto;
}

main {
    width: 100%;
}

#contents {
    width: 100%;
}

h2 {
    font-size: 130%;
    line-height: 1.4;
    text-align: center;
    color: #E53817;
    font-weight: bold;
    margin-bottom: 1.4em;
}

@media only screen and (min-width: 900px) {
    h2 {
        font-size: 4.5rem;
    }
}

@media only screen and (max-width: 900px) {
    body {
        font-size: 1.6rem;
        line-height: 1.438;
    }
}


/*========================================
 フッター
========================================*/
footer{
    background: linear-gradient(0deg, rgba(244, 233, 219, 0) 50%, rgba(244, 233, 219, 1) 100%);
    text-align: center;
    padding: 40px 0 0;
}
footer div{
    width: 352px;
    margin: 0 auto 30px;
}
footer p{
    background: #fff;
    padding: 25px 0 20px;
}
footer p small{
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

@media only screen and (max-width: 900px){
    footer{
        background: linear-gradient(0deg, rgba(244, 233, 219, 0) 70%, rgba(244, 233, 219, 1) 100%);
        padding: 18px 0 0;
    }
    footer div{
        width: 200px;
        margin: 0 auto 10px;
    }
    footer p{
        padding: 10px 0 ;
    }
    footer p small{
        font-size: 12px;
    }
}

/*========================================
 アニメーション類
========================================*/
/* 波アニメ */
.wave {
    position: relative;
}

.wave canvas,
.wave_stop {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 30px;
    /*波の高さ変更*/
    z-index: 2;
}

@media (max-width: 768px) {
    .wave canvas {
        height: 20px;
    }

    .wave_stop {
        height: 8px;
    }
}



/* スクロールで表示されるアニメーション */
.fade-in {
    opacity: 0;
    transform: translate(0, 25px) scale(0, 0);
    transition: all 1500ms;
}

.photo_face {
    transform: translate(0, 25px) scale(0, 0);
    transition: all 1500ms cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: .1s;
}

.fade-in.scrollin {
    opacity: 1;
    transform: translate(0, 0);
}

/*スクロールなしでフェードイン
（主に汎用ページのファーストビューで使用）*/
.fadeIn-simple {
    animation-fill-mode: both;
    animation-duration: 3s;
    animation-name: fadeIn-simple;
    visibility: visible !important;
}

@keyframes fadeIn-simple {
    0% {
        transform: translate(0, 25px);
        opacity: 0;
    }

    99.9%,
    to {
        transform: translate(0, 0);
        opacity: 1;
    }
}


.txt00 {
    transition-delay: .1s;
}

.txt01 {
    transition-delay: 1s;
}

.txt02 {
    transition-delay: 2s;
}

.txt03 {
    transition-delay: 3s;
}

.txt04 {
    transition-delay: 4s;
}

.txt05 {
    transition-delay: 5s;
}

.txt06 {
    transition-delay: 6s;
}

.txt07 {
    transition-delay: 7s;
}

.txt08 {
    transition-delay: 8s;
}

.txt09 {
    transition-delay: 9s;
}

.txt10 {
    transition-delay: 10s;
}


.img01 {
    transition-delay: 1s;
}

.img02 {
    transition-delay: 2s;
}

.img03 {
    transition-delay: 3s;
}
