@charset 'UTF-8';
#undefined {
    position: fixed;
    width: 600px;
    top: 50%;
    left: 50%;
    margin: -220px 0 0 -300px; 
    -webkit-transition: all .75s cubic-bezier(.77, 0, .175, 1);
            transition: all .75s cubic-bezier(.77, 0, .175, 1);
}

#bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    float: right;
    margin: 0 auto;
    background: url(../../assets/img/top/01.jpg) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    zoom: 1;
    z-index: -1;
}

/* スマホ用の設定 */
#bg::before {
    background:url(../../assets/img/top/01.jpg) no-repeat center center;
    background-size: cover;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 108px;
    content: "";
    z-index: -1;
}

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

.name {
    position: fixed;
    width: 100%;
    top: 50%;
    text-align: center;
    color: #fff;

}

.name h1 {
    display: inline-block;
    margin-top: -0px;
    font-size: 2.7rem;
    font-weight: bold;
    letter-spacing: .1em;
    border-bottom: solid; 
    font-family: 'Lato', sans-serif;
    -webkit-transition: all .75s cubic-bezier(.77, 0, .175, 1);
            transition: all .75s cubic-bezier(.77, 0, .175, 1);
}

.name img {
    width: 100%;
}

.mouse_scroll {
    position: fixed;
    float: left;
    left: 50px;
    bottom: 35px;
    -webkit-transition: all .75s cubic-bezier(.77, 0, .175, 1);
            transition: all .75s cubic-bezier(.77, 0, .175, 1);
}

.mouse_line span {
    position: absolute;
    bottom: 24px;
    left: 30px;
    width: 20px;
    height: 30px;
    margin-left: -15px;
    border: 3px solid #fff;
    border-radius: 40px;
    box-sizing: border-box;
}
.mouse_line span::before {
    position: absolute;
    top: 50%;
    left: 50%;
    content: '';
    width: 5px;
    height: 5px;

    margin-left: -3px;
    background-color: #fff;
    border-radius: 100%;
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    box-sizing: border-box;
}
.mouse_line p {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: .15em;
    color: #fff;

}
@-webkit-keyframes sdb {
  0% {
    -webkit-transform: translate(0, -10px);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 3px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    transform: translate(0, -10px);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 3px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}


.content {
    position: relative;
    padding: 200px 0 0px;
    background-color: #fff;
    z-index: 100;
}

#main {
    position: relative;
    height: 1000px;
    margin: 0 auto;
}


.cbp-so-side .cbp-so-side-right a:hover {
    opacity: 0.5;
}

#about {
    position: relative;
    padding: 200px 0 0;
    font-size: 1.5rem;
    letter-spacing: .1em;
    line-height: 2em;
    text-align: justify;
}

.ab_box {
    width: 100%;
    padding: 0 22px 40px;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    float: left;
}

.ab_left {
    text-align: justify;
    float: left;
}

.ab_right {
    text-align: justify;
    float: right;
}

.about_title {
    position: relative;
    font-size: 1.5rem;
    letter-spacing: .05em;
    text-align: left;
    padding: 0 0 50px;
}

.about_box {
    font-size: 3rem;
    letter-spacing: .15em;
    line-height: 2em;
    text-align: justify;
    -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
    -moz-transition: -moz-transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s;
    opacity: 0;
}

.about_box a{
    text-decoration: underline;
}

.about_box a:hover{
    opacity: 0.4;
    text-decoration: none;
}

.cbp-so-init .about_box {
    -webkit-transform: translateY(150px);
    -moz-transform: translateY(150px);
    transform: translateY(150px);
}

.cbp-so-section.cbp-so-animate .about_box {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
}



#work.cbp-so-animate article {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
}

#work {
    padding: 120px 0 150px;
}

#work article {
    max-width: 1450px; 
    padding: 50px 40px;
    margin: 0 auto;
    -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
    -moz-transition: -moz-transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s;
    opacity: 0;

    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
}

#work article ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

#work article ul li {
    position: relative;
    width: 33.333%;
    padding: 0 0.4% 40px;
    overflow: hidden;
    list-style: none;
    box-sizing: border-box;    
}

#work article ul li p {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: underline;
}

#work article ul li p a:hover {
    opacity: 0.6;
}

#work article ul li img {
    width: 100%; 
}

.work_title {
    position: relative;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 2.5em;
    text-align: center;
}

.cbp-so-init .cv_box_left, .cbp-so-init .cv_box_right {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.cbp-so-init .cv_box_left {
    -webkit-transform: translateX(-80px);
    -moz-transform: translateX(-80px);
    transform: translateX(-80px);
}

.cbp-so-init .cv_box_right {
    -webkit-transform: translateX(80px);
    -moz-transform: translateX(80px);
    transform: translateX(80px);
}

.cbp-so-section.cbp-so-animate .cv_box_left,
.cbp-so-section.cbp-so-animate .cv_box_right {
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    transform: translateX(0px);
    opacity: 1;
}

.cv_title {
    display: inline-block;
    margin-bottom: 30px;
    font-size: 1.2rem;
    letter-spacing: 0.25em;
    line-height: 2.5em;
    text-align: left;
}

.cv_box {
    width: 100%;
    margin: 15px 0;
    padding: 5px 10px 10px;
    font-size: 1rem;
    letter-spacing: 0.25em;
    line-height: 3.0em;
    border-bottom: solid 2px;
    float: left;
}

.cv_left {
    text-align: justify;
    float: left;
}

.cv_right {
    text-align: justify;
    float: right;
}

.cv_left a:hover, .cv_right a:hover {
    opacity: 0.6;
}


#contact {
    width: 100%;
}

#contact ul {
    max-width: 650px; 
    margin: 0 auto;
    text-align: center; 
    padding-bottom: 400px;
}

#contact ul li {
    width: 50%;
    display: inline-block; 
    padding: 0 20px;
    float: left;
}

.contact_box p {
    position: relative;
    top: 50px;
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    line-height: 2.5em;
}

.contact_box p:hover {
    opacity: 0.4;
}

.sns_box {
    width: 100%;  
    height: 40px;
    padding: 3px 10px 0px;
    margin: 17px auto 0;
    border: solid 2px;
    display: inline-block;
    float: left;
}

.sns_box a:hover {
    color: #ccc;
}

.sns_txt {
    padding: 7px 0 0;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    float: right;
}

.sns_icon {
    float: left;
}

.sns_icon img {
    padding-top: 5px;
    width: 20px;
}

.x_icon img {
    padding-top: 5px;
    width: 18px;
}



/* cbp */
.cbp-so-scroller {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.cbp-so-section {
    margin-bottom: 15em;
}

.cbp-so-section:before,
.cbp-so-section:after {
    content: " ";
    display: table;
}

.cbp-so-section:after {
    clear: both;
}

.cbp-so-section h2 {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 0.15em;
}

.cbp-so-section p {
    padding-top: 20px;
    font-size: 1.2em;
    letter-spacing: 0.1em;
    line-height: 2em;
}

.cbp-so-side {
    padding: 10px 20px;
    float: left;
    margin: 0;
    overflow: hidden;
    -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
    -moz-transition: -moz-transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s;
}

.cbp-so-side img {
    width: 200px;
}

.cbp-so-side-right a:hover {
    opacity: 0.5;
}

.cbp-so-side:before,
.cbp-so-side:after {
    content: " ";
    display: table;
}

.cbp-so-side:after {
    clear: both;
}


.cbp-so-side-right {
    width: 50%;
    text-align: left;
    cursor: pointer;
}

.cbp-so-side-left {
    width: 50%;
    text-align: right;
}

.cbp-so-side-right img {
    float: left;
}

.cbp-so-side-left img {
    float: right;
}

.cbp-so-init .cbp-so-side {
    opacity: 0;
}

.cbp-so-init .cbp-so-side-left {
    -webkit-transform: translateX(-80px);
    -moz-transform: translateX(-80px);
    transform: translateX(-80px);
}

.cbp-so-init .cbp-so-side-right {
    -webkit-transform: translateX(80px);
    -moz-transform: translateX(80px);
    transform: translateX(80px);
}

.cbp-so-section.cbp-so-animate .cbp-so-side-left,
.cbp-so-section.cbp-so-animate .cbp-so-side-right {
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    transform: translateX(0px);
    opacity: 1;
}


.cbp-so-side-right2 {
    width: 50%;
    text-align: left;
    cursor: pointer;
}

.cbp-so-side-left2 {
    width: 50%;
    text-align: right;
}

.cbp-so-side-right2 img {
    float: left;
}

.cbp-so-side-left2 img {
    float: right;
}

.cbp-so-init .cbp-so-side-left2 {
    -webkit-transform: translateX(-80px);
    -moz-transform: translateX(-80px);
    transform: translateX(-80px);
}

.cbp-so-init .cbp-so-side-right2 {
    -webkit-transform: translateX(80px);
    -moz-transform: translateX(80px);
    transform: translateX(80px);
}

.cbp-so-section.cbp-so-animate .cbp-so-side-left2,
.cbp-so-section.cbp-so-animate .cbp-so-side-right2 {
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    transform: translateX(0px);
    opacity: 1;
}


.cbp-so-side-right3 {
    width: 50%;
    text-align: left;
    cursor: pointer;
    display: none;
}

.cbp-so-init .cbp-so-side-right3 {
    -webkit-transform: translateX(80px);
    -moz-transform: translateX(80px);
    transform: translateX(80px);
}
.cbp-so-section.cbp-so-animate .cbp-so-side-left3,
.cbp-so-section.cbp-so-animate .cbp-so-side-right3 {
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    transform: translateX(0px);
    opacity: 1;
}
/* cbp */



@media screen and (max-width: 1280px) {
    #work article {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        max-width: 1600px; 
        padding: 20px 10px;
        margin: 0 auto;
        opacity: 1;
        
        -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
        -moz-transition: -moz-transform 0.5s, opacity 0.5s;
        transition: transform 0.5s, opacity 0.5s;
    }
    #work article ul li {
        position: relative;
        width: 50%;
        padding: 0.4% 0.4% 30px;
        overflow: hidden;
        list-style: none;
        box-sizing: border-box;    
    }
    #work article ul li p {
        font-size: 1.0rem;
        font-weight: bold;
        letter-spacing: 0.1em;
        text-decoration: underline;
        text-align: left;
    }
}

@media screen and (max-width: 1024px) {
    #bg::before {
        display: block;
    }
    #undefined {
        position: fixed;
        width: 440px;
        top: 50%;
        left: 50%;
        margin: -170px 0 0 -220px; 
        -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
        -moz-transition: -moz-transform 0.5s, opacity 0.5s;
        transition: transform 0.5s, opacity 0.5s;
    }
    .mouse_scroll {
        position: fixed;
        float: left;
        left: 23px;
        bottom: 17px;
    }
    .name h1 {
        display: inline-block;
        margin-top: -50px;
        font-size: 2.0rem;
        font-weight: bold;
        letter-spacing: .1em;
        border-bottom: solid; 
        font-family: 'Lato', sans-serif;
        -webkit-transition: all .75s cubic-bezier(.77, 0, .175, 1);
                transition: all .75s cubic-bezier(.77, 0, .175, 1);
    }
    .content {
        position: relative;
        padding: 50px 0;
        background-color: #fff;
        z-index: 100;
    }
    #about {
        position: relative;
        padding: 50px 5px 0;
        font-size: 1.3rem;
        letter-spacing: 0.1em;
        line-height: 2;
        text-align: justify;
    }

    .ab_box {
        width: 100%;
        padding: 0 20px 10px;
        font-size: 1.2rem;
        letter-spacing: 0.05em;
        float: left;
        opacity: 1;
    }

    .about_box {
        font-size: 1.1rem;
        letter-spacing: .15em;
        line-height: 2em;
        text-align: justify;
        -webkit-transition: -webkit-transform 0.5s;
        -moz-transition: -moz-transform 0.5s;
        transition: transform 0.5s;
        opacity: 1;

    }
    #work {
        padding: 0;
    }

    #work article ul li {
        width: 50%;
        padding: 0 0.4% 20px;
        overflow: hidden;
        list-style: none;
        box-sizing: border-box;    
    }
    .cv_box {
        margin: 15px 0;
        width: 100%;
        padding: 5px 0px 10px;
        font-size: 8px;
        letter-spacing: 0.25em;
        line-height: 3.0em;
        border-bottom: solid 2px;
        float: left;
    }
    #contact ul li {
        width: 100%;
        display: inline-block; 
        padding: 0 20px;
        float: left;
    }
    .contact_box p {
        position: relative;
        margin-bottom: 96px;
        top: 50px;
        font-size: 1.3rem;
        letter-spacing: 0.2em;
        line-height: 2.5em;
    }
    .sns_txt {
        padding: 7px 0 0;
        font-size: 1.3rem;
        letter-spacing: 0.1em;
        float: right;
    }
}

@media screen and (max-width: 768px) {
    .ab_box {
        width: 100%;
        padding: 0 10px 10px;
        font-size: 1.2rem;
        letter-spacing: 0.05em;
        float: left;
        opacity: 1;
    }    
    .cv_title {
        display: inline-block;
        margin-bottom: 5px;
        font-size: 1.2rem;
        letter-spacing: 0.25em;
        line-height: 2.5em;
        text-align: left;
    }     
    /* cbp */
    .cbp-so-scroller {
        font-size: 65%;
    }

    .cbp-so-section h2 {
        font-size: 2rem;
        font-weight: bold;
        letter-spacing: 0.15em;
        margin: 0;
    }

    .cbp-so-section p {
        padding-top: 10px;
        font-size: 1.2em;
        letter-spacing: 0.1em;
        line-height: 2em;
    }

    .cbp-so-side {
        padding: 10px 15px;
        float: none;
        width: 100%;
    }

    .cbp-so-side img {
        width: 100%;
    }

    .cbp-so-side-left {
        width: 100%;
        text-align: left;
    }

    .cbp-so-side-right2 {
        width: 100%;
        text-align: left;
        cursor: pointer;
        display: none;
    }

    .cbp-so-side-right3 {
        width: 100%;
        text-align: left;
        cursor: pointer;
        display: block;
    }
}

@media screen and (max-width: 640px) {
    #undefined {
        position: fixed;
        width: 260px;
        top: 50%;
        left: 50%;
        margin: -100px 0 0 -130px; 
        -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
        -moz-transition: -moz-transform 0.5s, opacity 0.5s;
        transition: transform 0.5s, opacity 0.5s;
    }
    .name h1 {
        display: inline-block;
        margin-top: -50px;
        font-size: 1.3rem;
        font-weight: bold;
        letter-spacing: .1em;
        border-bottom: solid; 
        font-family: 'Lato', sans-serif;
        -webkit-transition: all .75s cubic-bezier(.77, 0, .175, 1);
                transition: all .75s cubic-bezier(.77, 0, .175, 1);
    }        
    #main {
        position: relative;
        height: 700px;
        margin: 0 auto;
    }

}
