#pcmenu {
    background: transparent;
}

/***  BLOG ***/
#blog {
    padding: 0 0 2rem;
    background: #EEE;
}

#blog #blog-title {
    padding: 2rem 0 6rem;
    background: #DDD;
    position: relative;
}

#blog-title .title-bg {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 15vw;
    color: #EEE;
    z-index: 1;
    line-height: 1;
    width: 100%;
    text-align: center;
}

#blog #blog-title .container {
    position: relative;
    z-index: 2;
}

#blog h1 {
    margin: 0;
    text-align: center;
}

#blog h1 a {
    font-size: 2rem;
    color: #333;
}

#blog-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-top: 1em;
    overflow-x: scroll;
    overflow-y: auto;
    margin-top: -5rem;
    position: relative;
    z-index: 3;
}

#blog article {
    width: 60%;
    margin: 0 1rem 2rem;
    background-color: #FFF;
    white-space: normal;
    flex: 0 0 auto;
}

#blog article:first-child {
    margin-left: 5%;
}

#blog article a {
    color: #333;
}

#blog article figure {
    margin: 0;
}

#blog article a h2 {
    font-size: 1rem;
    margin: 0;
}

#blog article a h2 span {
    font-size: .9rem;
    display: block;
    color: #FF0000;
    margin-bottom: .25rem;
}

#blog article a .day {
    font-size: .8rem;
    margin-top: 1rem;
}

.blog-txt {
    padding: 1rem;
}

.blog-txt .cat {
    font-size: 0.8rem;
    margin-top: 1rem;
}

.blog-txt .cat span {
    display: block;
    color: #777;
}

.blog-txt .cat ul {
    list-style: none;
}

.blog-txt .cat ul li {
    display: inline-block;
    padding: 0.25em 1.5em;
    border-radius: 2em;
    background: #fef0f0;
    margin: 3px;
}

.nothum {
    width: 100%;
    padding-top: 100%;
    background: url(../img/noimg.jpg) no-repeat center center/cover;
}

.listall {
    margin: 0 0 1rem;
}

.listall a {
    display: inline-block;
    font-size: .85rem;
    padding: 0.5rem;
    position: relative;
    color: #333;
}

.listall a:after {
    content: ' ';
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    border-top: 1px solid #333;
    transition: all .25s;
}

.listall a:hover:after {
    width: 1.5rem;
    left: 1.5rem;
}

@media screen and (min-width:769px) {
    #blog article {
        width: 384px;
    }

    .blog-txt {
        padding: 1.5rem;
    }

    #blog-title .title-bg {
        font-size: 7vw;
        text-align: left;
    }

    #blog #blog-title .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .listall {
        margin: 0;
    }

    .listall a {
        padding: 0.5rem 0 0.5rem 3.5rem;
    }

    .listall a:after {
        width: 3rem;
        top: 50%;
        left: 0;
        border-top: 1px solid #333;
        transition: all .25s;
    }
}

/***  /BLOG ***/

/*** loading ***/
/* ローディング画面背景 */
.loader-bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    margin: 0 auto;
    text-indent: -9999em;
    width: 80%;
    height: 200px;
    background: url(../images/load.svg) no-repeat center center /contain;
    position: relative;
    overflow: hidden;
    max-width: 200px;
}

.loader:before {
    width: 100%;
    height: 100%;
    background: #FFF;
    position: absolute;
    top: 0;
    right: 0;
    content: ' ';
    animation: load 1s .5s forwards;
}

@keyframes load {
    0% {
        width: 100%;
    }

    100% {
        width: 0;
    }
}

/*** /load ***/
@keyframes fade {
    0% {
        opacity: 0;
        transform: translate(0, 3rem);
    }

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


main {
    padding-top: 0;
}


#mainvisual {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0 10rem;
}

#mainvisual-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url(../images/mainvisual.jpg) no-repeat center center/cover;
    z-index: -1;
    transition: all 1s;
    opacity: 1;
}

#mainvisual-inner {
    width: calc(100% - 440px);
    position: relative;
    z-index: 2;
    text-align: center;
}

#mainvisual-inner h1 {
    margin: 0 0 1rem;
    color: #333;
    font-size: 2.5rem;
    text-shadow: 0 0 10px #FFF;
}

#mainvisual-inner h1 span {
    position: relative;
    overflow: hidden;
}

#mainvisual-inner h1 span em {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    color: #F00;
    line-height: 1;
    font-style: normal;
    overflow: hidden;
}

#mainvisual-inner h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    text-shadow: 0 0 10px #FFF;
}

#mainvisual-inner h1,
#mainvisual-inner h2 {
    filter: blur(1rem);
    opacity: 0;
}

#mainvisual.load #mainvisual-inner h1 {
    animation: blur-anim 1s 1s linear forwards;
}

#mainvisual.load #mainvisual-inner h1 span span {
    animation: txt-anim1 0.5s 3.5s linear forwards;
}

#mainvisual.load #mainvisual-inner h1 span em {
    animation: txt-anim2 0.5s 3.5s linear forwards;
}

#mainvisual.load #mainvisual-inner h2 {
    animation: blur-anim 1s 1.5s linear forwards;
}

#mainvisual.load:not(.overflow) #mainvisual-bg {
    animation: bg-anim 2s 2s linear forwards;
}

#mainvisual.overflow #mainvisual-bg {
    opacity: 0;
}

@keyframes blur-anim {
    100% {
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes bg-anim {
    100% {
        filter: blur(1px);
        opacity: 0.7;
    }
}

@keyframes txt-anim1 {
    100% {
        opacity: 0;
    }
}

@keyframes txt-anim2 {

    100% {
        opacity: 1;
    }
}

@keyframes txt-anim3 {
    100% {
        width: 0;
    }
}

#mainvisual:after {
    content: ' ';
    width: 0;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
    background: #FFF;
    transition: all 0.5s;
}

body.scroll #mainvisual:after {
    width: 220px;
}

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

    #mainvisual h1 {
        font-size: 1.75rem;
    }

    #mainvisual h2 {
        font-size: 1rem;
    }
}

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

    #mainvisual:after {
        content: none;
    }

    #mainvisual-inner {
        width: 100%;
    }
}

#topevent {
    position: absolute;
    bottom: 0;
    right: 0;
}

#topevent article {
    background: rgba(255, 255, 255, 0.9);
}

#topevent article h2 {
    color: #F00;
    font-size: .9rem;
    font-weight: bold;
    margin: 0;
    padding: 0.5rem 1rem 0;
}

#topevent article a {
    display: block;
    padding: 0.5rem 1rem 1rem;
    color: #333;
    display: flex;
}

#topevent article a .thum {
    width: 90px;
    height: 90px;
    margin: 0 1rem 0 0;
    background: url(../img/noimg.jpg) no-repeat center center/cover;
}

#topevent article a .topevent-txt {
    flex: 1;
}

#topevent article a .topevent-txt h3 {
    font-size: 1rem;
    margin: 0;
}

#topevent article a .topevent-txt p {
    font-size: 0.8rem;
    margin: 0;
}

#topevent article a .topevent-txt p.day {
    font-size: 0.8rem;
    color: #777;
}

@media screen and (min-width:1024px) {
    #topevent article {
        width: 512px;
    }

    #topevent article a {
        align-items: center;
    }

}

#about h2 {
    color: #F00;
}

#about h2,
#about p {
    opacity: 0;
    transform: translate(0, 3rem);
    overflow: hidden;
}

#about.load h2 {
    animation: fade 0.5s forwards;
}

#about.load p {
    animation: fade 0.5s 0.5s forwards;
}

@media screen and (min-width:1024px) {
    #about h2 {
        color: #F00;
        font-size: 2rem;
    }
}

#office {
    padding: 3rem 0 0;
}

#office h2 {
    font-size: 2.25rem;
    margin-top: 0;
    line-height: 1.3;
}

#office h2 strong {
    display: block;
    color: #F00;
}

#office-bt {
    width: 100%;
    margin-top: 3rem;
    text-align: center;
    background: url(../images/showroom-info.jpg) no-repeat center center/cover;
}

#office-bt a {
    padding: 15% 0;
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    color: #FFF;
    text-align: center;
}

#office-bt a:hover {
    background: rgba(0, 0, 0, 0.5);
}

#office-bt p {
    color: #FFF;
    font-size: 1.1rem;
    margin: 0 0 1rem;
}

#office-bt a span {
    padding: 0.5rem;
    border-bottom: 2px solid #FFF;
    font-size: 2rem;
}

#office-rows {
    display: flex;
}

#office-img2 {
    width: 50%;
    position: relative;
    z-index: 3;
    transform: translate(5%, -20%);
}

#office-img3 {
    width: 40%;
    position: relative;
    z-index: 3;
    transform: translate(15%, 10%);
}

#office-img1,
#office-img2,
#office-img3 {
    opacity: 0;
    transform: translate(0, 3rem);
    overflow: hidden;
}

#office.load #office-img1 {
    animation: fade 1s forwards;
}

#office.load #office-img2 {
    animation: fade-img2 1s 0.75s forwards;
}

#office.load #office-img3 {
    animation: fade-img3 1s 1.5s forwards;
}

#office-img1 {
    position: relative;
}

#office-img1 .office-img1-open {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 50%;
    opacity: 0;
}

#office.load #office-img1 .office-img1-open {
    animation: fade-imgopen 0.5s forwards;
}

@keyframes fade-img2 {
    0% {
        opacity: 0;
        transform: translate(5%, -10%);
    }

    100% {
        opacity: 1;
        transform: translate(5%, -25%);
    }
}

@keyframes fade-img3 {
    0% {
        opacity: 0;
        transform: translate(15%, 0);
    }

    100% {
        opacity: 1;
        transform: translate(15%, 10%);
    }
}

@keyframes fade-imgopen {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media screen and (max-width:768px) {
    #office-bt a p {
        font-size: 0.9rem;
    }
}

#infoblock {
    margin-bottom: 3rem;
}

#event {
    margin-bottom: 3rem;
}

#event h1 {
    color: #F00;
    line-height: 1.3;
    font-size: 2.5rem;
    text-align: center;
}

#event h1 span {
    display: block;
    font-size: .9rem;
    color: #777;
}

#snsbnr {
    width: 420px;
    max-width: 100%;
    margin: 0 auto;
}

#snsbnr a:after {
    content: none;
}

@media screen and (min-width:1280px) {
    #infoblock .container {
        display: flex;
    }

    #event {
        width: calc(100% - 470px);
        margin: 0;
    }

    #event h1 {
        text-align: left;
    }

    #snsbnr {
        margin-left: 50px;
        margin-top: 72px;
    }
}


#event article {
    border-bottom: 1px solid #DDD;
}

#event article a {
    padding: 1rem;
    font-size: 1rem;
    color: #333;
    display: block;
    margin: 0;
}

#event article a .day {
    font-size: 0.8rem;
}

#event article a .cat {
    font-size: 0.8rem;
    color: #777;
}

#event article a h2 {
    margin: 0;
    font-size: 1rem;
}

#event .listall a {
    display: inline-block;
    font-size: .85rem;
    text-align: center;
    padding: 0.5rem 2rem 0.5rem 0;
    position: relative;
    color: #333;
    margin-top: 1rem;
}

#event .listall a:before {
    content: ' ';
    width: 1.25rem;
    height: 1.25rem;
    position: absolute;
    top: calc(50% - 0.75rem);
    right: 0;
    background: url(../img/listall.svg) no-repeat center center/contain;
    transition: all .5s;
}

#event .listall a:after {
    content: none;
}


#topnews {
    background: #EEE;
}

#topnews a {
    display: block;
    color: #333;
    padding: 1.5rem 3rem 1.5rem 1.5rem;
    background: url(../img/right.svg) no-repeat center right 1rem/1.5rem 1.5rem;
}

#topnews h2 {
    margin: 0;
    font-size: 1rem;
}

#topnews .day {
    font-size: 0.8rem;
    display: block;
}

#topnews .day span {
    color: #F00;
}

.news-txt {
    display: block;
    margin-right: 0.5rem;
    border-right: 1px solid #CCC;
}