@import url(https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700);
@font-face {
    font-family: FontAwesome;
    src: url(../fonts/fontawesome-webfont.eot);
    src: url(../fonts/fontawesome-webfont.eot) format('embedded-opentype'), url(../fonts/fontawesome-webfont.woff2) format('woff2'), url(../fonts/fontawesome-webfont.woff) format('woff'), url(../fonts/fontawesome-webfont.ttf) format('truetype'), url(../fonts/fontawesome-webfont.svg) format('svg')
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}


/*ADD RESET-----------------------------------------------------------------------*/

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0
}

a {
    text-decoration: none;
}

ul,
li {
    list-style: none;
}

a,
button,
a:after,
input[type=submit] {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

a:focus:not(.btn),
a:hover:not(.btn),
a:visited:not(.btn),
a:active:not(.btn) {
    text-decoration: none;
}

body {
    background-color: #DA4646;
    position: relative;
    color: #fff;
    font-family: "TBUDGothic B";
}

header {
    background-color: rgba(255, 255, 255, 0.95);
    width: 100%;
    height: 62px;
    line-height: 62px;
    /*-webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    display: none;*/
    z-index: 1000;
    position: fixed;
    top: 0;
    /*display: none;*/
    opacity: 0;
    transform-origin: 50% 0 0;
    transform: perspective(800px);
}

header.open {
    position: fixed;
    top: 0;
    display: block;
}


/*header.open {
    top: 0;
}*/

header #header-logo {
    fill: #ff2e2e;
    position: relative;
    top: 2px;
}

header li a:focus,
header li a:visited,
header li a:active {
    color: #ff2e2e;
}

header li a:hover {
    color: #DB5959;
}

header li a {
    color: #ff2e2e;
    font-size: 14px;
    font-family: Roboto;
    letter-spacing: 0.05em;
    font-weight: 800;
}

header .container {
    position: relative;
}

header .primary {
    position: absolute;
    top: 0;
    left: 120px;
}

header .primary li {
    display: inline;
    margin-left: 40px;
}

header .secondary {
    position: absolute;
    top: 0;
    right: 0;
}

.site-content {
    /*padding-top: 60px;*/
    position: relative;
}

.visual {
    text-align: center;
    /*padding: 140px 0 0;*/
    position: relative;
}

.visual .container {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: auto;
}

#visual-logo {
    fill: #fff;
    width: 280px;
    height: auto;
    margin-bottom: 60px;
}

.visual h1 {
    font-family: "UD Reimin Bold";
    color: #fff;
    font-size: 130px;
    margin-bottom: 60px;
}

.visual h1 span:nth-child(1) {
    letter-spacing: -0.08em;
}

.visual h1 span:nth-child(2) {
    letter-spacing: -0.15em;
}

.visual h1 span:nth-child(3) {
    letter-spacing: -0.2em;
}

.visual h1 span:nth-child(4) {
    letter-spacing: -0.12em;
}

.visual h1 span:nth-child(5) {
    letter-spacing: -0.05em;
}

.visual h1 span:nth-child(6) {
    letter-spacing: -0.15em;
}

.visual h1 span:nth-child(7) {
    letter-spacing: -0.15em;
}

.visual h1 span:nth-child(8) {
    letter-spacing: -0.05em;
}

.visual p {
    color: #fff;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0.1em;
    text-align: center;
    margin: 0 100px;
}

.break {
    height: 1000px;
}

#service,
#works,
#about,
#recruit,
#bg1,
#bg2 {
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 30;
    position: relative;
}

#bg1 {
    z-index: 20;
    position: fixed;
    bottom: 0;
}

#bg2 {
    z-index: 10;
    position: fixed;
    bottom: 0;
}

#bg3 {
    z-index: 0;
    position: fixed;
    bottom: 0;
    opacity: 0;
}

#service ul {
    display: block;
}

#service li {
    text-align: center;
    margin-bottom: 100px;
    position: absolute;
    top: 50%;
    transform-origin: 50% 100% 0;
    transform: perspective(800px);
    backface-visibility: hidden;
}

#service li .title {
    font-size: 50px;
}

#service li .en {
    font-size: 140px;
    font-family: Roboto;
    font-weight: 800;
    line-height: 1em;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

#service li .image {}

#works ul {
    display: block;
    position: absolute;
    height: 300px;
    top: 50%;
    margin-top: -200px;
    z-index: 5;
}

#works li {
    width: 400px;
    height: 300px;
    display: block;
    float: left;
}

#works li .thumbnail {
    width: 300px;
    height: 300px;
    background: #fff;
    display: block;
    border-radius: 50%;
    opacity: 0;
    position: absolute;
    border: solid 2px #fff;
}

#works li:nth-child(1) .thumbnail {
    background: #fff url(../img/works1.jpg) no-repeat center center;
}

#works li:nth-child(2) .thumbnail {
    background: #fff url(../img/works2.jpg) no-repeat center center;
}

#works li:nth-child(3) .thumbnail {
    background: #fff url(../img/works3.jpg) no-repeat center center;
}

#works li:nth-child(4) .thumbnail {
    background: #fff url(../img/works4.jpg) no-repeat center center;
}

#works li:nth-child(5) .thumbnail {
    background: #fff url(../img/works5.jpg) no-repeat center center;
}

#works li:nth-child(6) .thumbnail {
    background: #fff url(../img/works6.jpg) no-repeat center center;
}

#works li .thumbnail div {
    width: 80%;
    position: absolute;
    text-align: center;
    display: block;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    font-family: Roboto;
    line-height: 60px;
    font-size: 30px;
    font-weight: 800;
    border-radius: 6px;
    color: #fff;
}

#works li .thumbnail a {
    width: 80%;
    background: #DA4646;
    position: absolute;
    text-align: center;
    display: block;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    font-family: Roboto;
    line-height: 60px;
    font-size: 20px;
    font-weight: 800;
    border-radius: 6px;
    color: #fff;
}

#works .notice {
    font-family: Roboto;
    font-weight: 800;
    position: relative;
    top: 15%;
    font-size: 60px;
    display: block;
    width: 100%;
    text-align: center;
}

img.rocket {
    position: fixed;
    transform-origin: left top;
}

.town {
    background: url(../img/town.svg) center bottom no-repeat;
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 200px;
    width: 100%;
    opacity: 0;
    transform-origin: 50% 100% 0;
    transform: perspective(800px);
}

.cloud1 {
    position: absolute;
    bottom: 10px;
    right: -1000px;
    opacity: 0;
    transform-origin: 100% 100% 0;
    transform: perspective(800px);
}

.cloud2 {
    position: absolute;
    bottom: 80px;
    left: -1000px;
    opacity: 0;
    transform-origin: 0 100% 0;
    transform: perspective(800px);
}

.vertical {
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    -moz-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

.vertical span {
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    -moz-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    margin: -0.25em;
}

#about ul {
    display: block;
    width: 100%;
    -webkit-perspective: 400;
    -moz-perspective: 400;
    -ms-perspective: 400;
    -o-perspective: 400;
    perspective: 400;
}

#about li {
    font-size: 40px;
    display: block;
    position: absolute;
    left: -1000px; /* ピン演出開始までは画面外左に待機 */
    height: 600px;
    transform-origin: 100% 0 0;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

#about li h3 {
    font-size: 30px;
    /* margin: 0 30px 0 10px; */
    background: #fff;
    color: #BB5E5E;
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 4px;
}

#about li:nth-child(1) span:nth-child(3) {
    margin-top: 0em;
}

#about li:nth-child(1) span:nth-child(4) {
    margin-top: -0.4em;
}

#about li:nth-child(1) span:nth-child(5) {
    margin-top: -0.35em;
}

#about li:nth-child(1) span:nth-child(6) {
    margin-top: -0.15em;
}

#about li:nth-child(1) span:nth-child(7) {
    margin-top: -0.4em;
}

#about li:nth-child(1) span:nth-child(8) {
    margin-top: -0.2em;
}

#about li:nth-child(1) span:nth-child(9) {
    margin-top: -0.15em;
}

#about li:nth-child(1) span:nth-child(10) {
    margin-top: -0.4em;
}

#about li:nth-child(4) span:nth-child(3) {
    margin-top: 0em;
}

#about li:nth-child(4) span:nth-child(4) {
    margin-top: -0.4em;
}

#about li:nth-child(4) span:nth-child(5) {
    margin-top: -0.35em;
}

#about li:nth-child(4) span:nth-child(6) {
    margin-top: -0.15em;
}

#recruit .recruitBox {
    display: block;
    height: 500px;
    width: 500px;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: #666;
    text-align: center;
    padding: 80px 30px;
    opacity: 0;
}

#recruit h2 {
    margin-bottom: 20px;
    font-family: Roboto;
    font-weight: 800;
}

#recruit table {
    margin: auto;
    width: 380px;
}

#recruit th,
#recruit td {
    padding: 6px 10px;
    text-align: left;
}

#recruit th {
    width: 25%;
}

#recruit td {
    width: 75%;
}

.contact-form {
    background-color: #736464;
    padding: 40px 0 25px;
    color: #864F4F;
    font-size: 16px;
    position: relative;
    z-index: 30;
}

.contact-form label {
    font-weight: normal;
    font-size: 14px;
}

.contact-form input[type=text],
.contact-form input[type=email] {
    height: 42px;
}

.contact-form input,
.contact-form textarea {
    background-color: #AF9B9B;
    border: none;
    color: #fff;
}

.contact-form input[type=submit] {
    font-family: FontAwesome;
    color: #E49292;
    background-color: #C84E4E;
    border: none;
    font-size: 30px;
    min-width: 90px;
    min-height: 90px;
    display: block;
    /*margin: 0 auto;*/
}

.contact-form input[type=submit]:hover {
    color: #CA9595;
    background-color: #AD3A3A;
}

.contact-form input[type=submit]:focus {
    color: #E49292;
    background-color: #C84E4E;
}

.contact-form input[type=submit]+img {
    margin: 10px 0!important;
}

.wpcf7-not-valid {
    background-color: #E8D18D!important;
}

.contact-form input::-webkit-input-placeholder {
    color: #927A7A!important;
}

.contact-form input:-ms-input-placeholder {
    color: #927A7A!important;
}

.contact-form input::-moz-placeholder {
    color: #927A7A!important;
}

.contact-form input:placeholder-shown {
    color: #927A7A!important;
}

.contact-form .wpcf7-not-valid::-webkit-input-placeholder {
    color: #7D7047!important;
}

.contact-form .wpcf7-not-valid:-ms-input-placeholder {
    color: #7D7047!important;
}

.contact-form .wpcf7-not-valid::-moz-placeholder {
    color: #7D7047!important;
}

.contact-form .wpcf7-not-valid:placeholder-shown {
    color: #7D7047!important;
}

span.wpcf7-not-valid-tip {
    color: #E8D18D!important;
}

.wpcf7-validation-errors {
    border: none!important;
    background-color: #D8AC49!important;
    padding: 1em!important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #DA4646!important;
}

.wpcf7-mail-sent-ok {
    border: none!important;
    background-color: #403D3D!important;
    padding: 1em!important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #FF2E2E!important;
}

footer {
    position: relative;
    background-color: #675D5D;
    padding: 25px 0 24px;
    text-align: center;
    z-index: 10;
}

footer #footer-logo {
    fill: #B79595;
    display: inline-block;
}

footer .copyright {
    color: #B79595;
    font-size: 12px;
    margin-left: 12px;
    display: inline-block;
}

@media (max-width: 992px) {
    .contact-form input[type=submit] {
        width: 100%;
        margin: 20px auto 0;
    }
    .contact-form input[type=submit]+img {
        position: absolute;
        bottom: 20px;
        right: 40px;
    }
}


/* -------------------------------------------------------------------------------------------------------- */


/* -------------------- スマホ画面 ---------------------------- */


/* -------------------------------------------------------------------------------------------------------- */

@media (max-width: 767px) {
    header {
        height: 52px;
        line-height: 52px;
    }
    #header-logo {
        margin: 16px auto 0;
        display: block;
    }
    header nav {
        display: none;
    }
    .visual {
        text-align: center;
        padding: 70px 30px 100px;
    }
    .visual h1 {
        font-size: 80px;
        margin-bottom: 60px;
    }
    .visual p {
        font-size: 12px;
        line-height: 26px;
        margin: 0;
    }
    #service li .en {
        font-size: 72px;
    }
    #service li .title {
        font-size: 26px;
    }
}