﻿
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    /* 背景カラー */
    z-index: 9999;
    /* 一番手前に */
    pointer-events: none;
    /* 他の要素にアクセス可能にするためにポインターイベントは無効に */
    opacity: 0;
    /* 初期値 : 透過状態 */
    -webkit-transition: opacity .5s ease;
    /* アニメーション時間は 0.8秒 */
    transition: opacity .5s ease;
}

body.fadeout::after {
    opacity: 1;
}

body.fadeout article {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

#brand h2 {
    padding: 0;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 3%;
    margin-left: 5%;
}

#brand h3 {
    font-size: 9rem;
    font-weight: 800;
    color: #fbf0f1;
    line-height: 1.0;
    margin-top: 10%;
}

#store h3 {
    font-size: 4.0rem;
    font-weight: 300;
    margin: 5% 0 3%;
    text-align: center;
}

#brand p {
    font-size: 1.3rem;
    margin-left: 10px;
    text-align: justify;
}

#brand .contents,
#store .contents {
    margin-left: 3%;
}

.brand-exp {
    background: #fff;
    width: 90%;
    padding: 7%;
    z-index: 10;
    right: 0;
    bottom: 0;
    position: absolute;
    /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
}

.our-brand {
    position: relative;
    height: 630px;
}

.our-brand_img {
    width: 90vw;
    max-width: 470px;
    top: -8%;
}

#brand h4 {
    font-size: 2.0rem;
    padding-bottom: 10px;
}

.brand_box {
    background: #fff;
    padding: 30px 40px;
}

.brand_box img {
    padding-bottom: 20px;
}

.brand_box a {
    background: #111;
    color: #fff;
    padding: 6px;
    margin-top: 15px;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 1.3rem;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    outline: none;
}

.brand_box a::after {
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 5px);
    right: 20px;
    width: 20px;
    height: 5px;
    border: none;
    border-right: 2px solid #fff;
    border-bottom: 1px solid #fff;
    transform: skew(45deg);
    transition: .3s;
}

.brand_box a,
.brand_box a::before,
.brand_box a::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.brand_area {
    width: 90%;
    margin: 0 auto 5%;
}

.img-wrap {
    height: auto;
}

.store-inner {
    width: 90vw;
    margin: 0 auto;
}

.brand-contents {
    background: #f3e1e2;
    margin-top: 20%;
    padding-bottom: 1%;
}

.store-btn {
    display: block;
    background: none;
    width: 100%;
    padding: 5px 30px 5px 20px;
    margin-top: 8%;
    text-align: center;
    color: #111;
    border: 1px solid;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    outline: none;
    font-size: 1.6rem;
}

.store-btn::after {
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 5px);
    right: 20px;
    width: 20px;
    height: 5px;
    border: none;
    border-right: 2px solid #111;
    border-bottom: 1px solid #111;
    transform: skew(45deg);
    transition: .3s;
}

.store-btn:hover {
    background-color: #111;
    color: #fff;
    opacity: 0.9;
}

.store-btn:hover::after {
    border-right: 2px solid #fff;
    border-bottom: 1px solid #fff;
}

.store-btn,
.store-btn::before,
.store-btn::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.store-btn.official {
    padding: 15px 30px 15px 20px;
}

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

@media screen and (min-width: 960px) {
    /*--------------- brand area start ---------------*/
    #brand h3,
    #store h3 {
        margin: 10px 0;
    }
    #brand h4 {
        font-size: 2.0rem;
        padding-bottom: 10px;
    }
    #brand .contents {
        margin-left: 0;
    }
    .brand-contents {
        margin: 70px auto 0;
        padding-bottom: 1px;
    }
    .brand-exp {
        background: #fff;
        width: 640px;
        right: -30px;
        padding: 40px;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    }
    .our-brand {
        position: relative;
        height: 480px;
    }
    .our-brand_img {
        width: 70vw;
        max-width: 850px;
    }
    #brand h3 {
        text-align: right;
        padding-right: 80px;
        padding-top: 60px;
    }
    .brand_area {
        position: relative;
        height: 550px;
        margin-bottom: 100px;
    }
    .brand_box {
        background: #fff;
        max-width: 400px;
        width: 45%;
        padding: 30px 40px;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        z-index: 20;
    }
    .bambi {
        position: absolute;
        right: 0;
        bottom: 0;
    }
    .bambi-bh {
        position: absolute;
        left: 0;
        bottom: 0;
    }
    .bh_img {
        background: #ebdbd2;
    }
    .img-animation {
        left: -12vw;
        top: -30px;
    }
    .img-animation_m {
        right: -12vw;
        top: -30px;
    }
    .img-animation_top {
        top: -50px;
        left: 50px;
        width: 70vw;
        max-width: 850px;
    }
    .store-contents {
        width: 100%;
    }
    .brand-inner,
    .store-inner {
        max-width: 1200px;
        width: 90vw;
        margin: 0 auto;
    }
    .store-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .store-btn {
        max-width: 400px;
    }
    .store-btn.official {
        max-width: 830px;
        width: 100%;
        padding: 15px 0;
        margin: 0 auto 15px;
    }
    .store-btn {
        margin: 15px;
    }
}

.img-wrap,
.img-wrap_m,
.img-wrap_top {
    opacity: 0;
}

.img-animation {
    animation: img-opacity 1.5s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
    position: relative;
    opacity: 1;
}

.img-animation:before {
    animation: img-animation 1.5s cubic-bezier(.4, 0, .2, 1) forwards;
    background: #f3e1e2;
    bottom: 0;
    content: '';
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.img-animation_m {
    animation: img-opacity 1.5s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
    position: relative;
    opacity: 1;
}

.img-animation_m:before {
    animation: img-animation_m 1.5s cubic-bezier(.4, 0, .2, 1) forwards;
    background: #f3e1e2;
    bottom: 0;
    content: '';
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.img-animation_top {
    animation: img-opacity 2s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
    position: relative;
    opacity: 1;
    top: -8%;
}

.img-animation_top:before {
    animation: img-animation_top 2s cubic-bezier(.4, 0, .2, 1) forwards;
    background: #f3e1e2;
    bottom: 0;
    content: '';
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

@keyframes img-opacity {
    100% {
        opacity: 1;
    }
}

@keyframes img-animation {
    100% {
        transform: translateX(100%);
    }
}

@keyframes img-animation_m {
    100% {
        transform: translateX(-100%);
    }
}

@keyframes img-animation_top {
    100% {
        transform: translateY(100%);
    }
}