/* ---- reset ---- */
@import url(https://fonts.googleapis.com/css?family=Rokkitt);

body {
    margin: 0;
    padding: 0;
    font-size: 1.2em;
    font-family: "Rokkitt", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

canvas {
    display: block;
    vertical-align: bottom;
    z-index: 10;
}

/* ---- particles.js container ---- */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}


body {
    width: 100%;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
p {
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    margin: -100px 0 0;
    z-index: 1000;
    position: fixed;
}

header h1 {
    padding-top: 5px;
    padding-right: 10px;
    text-align: right;
}

header h1 a {
    background: url(/common/img/logo_h.png) 98% 3px no-repeat;
    background-size: auto 42px;
    display: block;
    text-decoration: none;
    width: 200px;
    height: 48px;
    margin-left: auto;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

nav {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: -50px;
    opacity: 0;
    height: 100%;
    padding-top: 3%;
    padding-right: 5px;
    background: url(/common/img/nav_bg.png) 17px 0 repeat-y;
}

nav ul {
    height: 100%;
    margin: 0 0 0 20px;
}

nav li {
    height: 14%;
    position: relative;
    padding: 0;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #333;
}

nav h2 {
    font-weight: normal;
    font-size: 1em;
    display: none;
    clear: none;
    padding: 0 .5em;
    margin: -1.1em 0 0 1.6em;
    background: rgba(255, 255, 255, .7);
}

nav a:hover h2 {
    display: block;
}

nav span {
    padding: 0 .2em;
}

.innerShadow {
    -moz-box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, 0.4),
        inset 0 -10px 8px -8px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, 0.4),
        inset 0 -10px 8px -8px rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, 0.4),
        inset 0 -10px 8px -8px rgba(0, 0, 0, 0.4);
}

.outerShadow {
    -moz-box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.6);

}

.innerShadow_top {
    -moz-box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, 0.4);
}

.bgImage {
    display: table;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    /* 画像をウィンドウサイズにフィット */
}

.bgImage>* {
    display: table-cell;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

@media screen and (min-width: 768px) {
    .bgImage {
        background-attachment: fixed;
        /* 画像位置を固定 */
    }

}

.clr {
    clear: both;
}


#content .slant_box {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}


.slant_box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 130%;
    height: 100%;

    z-index: -1;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    /* 画像をウィンドウサイズにフィット */
}

.slant_L:before {
    margin: 3% -20% 0;
    -webkit-transform-origin: leftt center;
    -ms-transform-origin: leftt center;
    transform-origin: leftt center;
    -webkit-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    transform: rotate(3deg);
}

.slant_R:before {
    margin: 2% -10% 0;
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
}






#content {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 100;
    display: block;
    position: absolute;
}


#content section {
    display: block;
    min-height: 100%;
    width: 100%;
    padding-bottom: 140px;
}

#content .inner {
    width: 100%;
    display: block;
}


#content h2 {
    margin: 0;
    background: rgba(255, 255, 255, .8);
    text-align: center;
    font-size: 2em;
    padding: 20px 0;
    width: 100%;
}

/*------ intoro -----------*/

#d4 {
    padding: 0 0 60px;
    background: url(/common/img/logo.png) no-repeat;
    background-position: 50% 45%;
    background-attachment: fixed;
    background-size: 300px auto;
}


#scroll {
    width: 5em;
    text-align: center;
    padding-top: 50px;
    position: absolute;
    left: 50%;
    margin: 0 0 0 -2.5em;
    bottom: 10px;
    color: #333;
    text-decoration: none;
}

#scroll::after {
    content: "scroll down";
}

#scroll span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 46px;
    height: 46px;
    margin-left: -23px;
    border: 1px solid #333;
    border-radius: 100%;
    box-sizing: border-box;
}

#scroll span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    content: '';
    width: 16px;
    height: 16px;
    margin: -12px 0 0 -8px;
    border-left: 1px solid #333;
    border-bottom: 1px solid #333;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);

    -webkit-animation: sdb 2.0s infinite;
    animation: sdb 2.0s infinite;
    box-sizing: border-box;
}

@-webkit-keyframes sdb {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
    }

    20% {
        -webkit-transform: rotate(-45deg) translate(-5px, 5px);
    }

    40% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
    }
}

@keyframes sdb {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }

    20% {
        transform: rotate(-45deg) translate(-5px, 5px);
    }

    40% {
        transform: rotate(-45deg) translate(0, 0);
    }
}

#scroll:hover {
    opacity: .5;
}


/* ---------------------------------------------------------------*/


#content #system,
#content #created,
#content #design,
#content #contact {
    padding-top: 100px;
}

#introduction .inner,
#created .inner,
#contact .inner,
#about .inner {
    width: 100%;
}

#system .inner {
    width: 48%;
}

.current p {
    margin: 50px 0;
}

#introduction {
    z-index: 99;
    min-height: 80%;
    background: url(/common/img/introduction_bg.png) right bottom no-repeat;
    background-size: auto 70%;
    background-attachment: fixed;
    text-align: center;
}

.introMsgs {
    margin: 80px auto 0;
    width: 70%;
    max-width: 1000px;
}

.popComm {
    display: flex;
    position: relative;
    margin-bottom: 70px;
    /* anim */
    margin-top:200px;
    opacity: 0;
}

.popComm:after {
    content: "";
    position: absolute;
    top: 17.5px;
    height: 10px;
    width: 10px;
    border-bottom: 1px solid #959595;
    border-left: 1px solid #959595;
    background: linear-gradient(45deg, #fafafa60 0%, #fafafa60 50%, #fafafa00 50%, #fafafa00 100%);
}

.popComm.commR {
    justify-content: right;
}
.popComm.commR:after {
    right: -6px;
    transform: rotate(225deg);
    background: linear-gradient(45deg, #dedede60 0%, #dedede60 50%, #fafafa00 50%, #fafafa00 100%);
}

.popComm.commL {
    justify-content: left;
}
.popComm.commL:after {
    left: -6px;
    transform: rotate(45deg);
}



.popComm p {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 7px 10px;
    min-width: 120px;
    max-width: 70%;
    min-height: 43px;
    color: #555;
    background: #fafafa60;
    border-radius: 15px;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
    text-align: left;
    border: solid 1px #959595;
    box-sizing: border-box;
}

.popComm.commR p {
    border-right: none;
    background: #dedede60;
}

.popComm.commL p {
    border-left: none;
}

.popComm p:before {
    content: "";
    position: absolute;
    top: 0;
    width: 15px;
    border: none;
    height: 15px;
}

.popComm.commR p:before {
    right: 0;
    border-right: 1px solid #959595;
    border-radius: 0 15px 0 0;
}

.popComm.commL p:before {
    left: 0;
    border-left: 1px solid #959595;
    border-radius: 15px 0 0 0;
}


.popComm p:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 15px;
    border: none;
    height: calc(100% - 29.5px);
}

.popComm.commR p:after {
    right: 0;
    border-right: 1px solid #959595;
    border-radius: 0 0 15px 0;
}

.popComm.commL p:after {
    left: 0;
    border-left: 1px solid #959595;
    border-radius: 0 0 0 15px;
}

#system h2 {
    text-align: left;
    padding-left: 70px;
}

#system p {
    padding-left: 70px;
}

#content #system {
    background-image: url(/common/img/system_bg.jpg);
}


#design .inner {
    padding: 120px 0;
}

#designTxt {
    width: 60%;
    float: right;
}

#design h2 {
    color: #000;
    text-align: left;
    padding: 0.5em 70px;
}

#design p {
    margin-left: 70px;
    margin-right: 70px;
    text-shadow: 0 0 20px #000, 0 0 5px #000;
}

.cf:after {
    content: "";
    clear: both;
    display: block;
}


#content #design {
    z-index: 106;
    color: #fff;
}

#design .slant_box:before {
    background-image: url(/common/img/gori0I9A3099072103255.jpg);
}

#content #contact {
    z-index: 107;
}

#contact .slant_box:before {
    background-image: url(https://farm9.staticflickr.com/8822/17797250049_fa4459a04b_o.jpg);
}



/* ----- created------------------------------------------- */

#created .inner {
    display: flex;
}

#creatTxt,
#packageImage {
    width: 50%;
}

#created #creatTxt {
    padding: 0 30px 0 70px;
}

#created h2 {
    text-align: left;
}

#packageImage {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

#packageImage img {
    float: left;
    padding-right: 5px;
}



#packageImage .pi {
    width: 100%;
}

#packageImage .pi {
    display: block;
    padding: 5px 0;
    margin: 5px 0 0;
    border-bottom: 1px dashed #999;
    min-height: 250px;
    text-decoration: none;
    color: #330;
}

#packageImage p {
    margin: .8em 0;
    padding: 0 20px;
    font-size: .9em;
}

#packageImage span {
    display: block;
    font-weight: bold;
    font-size: 1.5em;
}

.pi ul {
    margin-left: 2em;
    list-style: outside;
    font-size: .9em;
}


/*----- contact---------------------------------------- */


#contact {
    padding-bottom: 100px;
}

#contactTxt,
#contactForm {
    display: block;
}

#contactTxt h2 {
    text-align: left;
}

#contactTxt {
    width: 40%;
    float: left;
    padding-left: 70px;
    box-sizing: border-box;
}

body#contact #contactForm {
    width: 80%;
    float: none;
    margin: 0 auto;
}

#contactForm {
    width: 58%;
    float: right;
}

#contactForm form {
    padding: 0 10px;
}

#contactForm dt,
#contactForm dd,
#about dt,
#about dd {
    padding: 15px;
}


#contactForm dt {
    width: 25%;
    clear: both;
    float: left;
    text-align: left;
}

#contactForm dd {
    text-align: left;
    border-bottom: 1px dashed #999;
    min-height: 2em;
    margin: 0;
    padding-left: 25%;
}

#contactForm input,
#contactForm select {
    margin: 0;
    padding: 0;
    width: 80%;
    font-size: 1.1em;
    background: none;
    border: 1px solid #999;
    font-size: .9em;
}

#contactForm textarea {
    width: 80%;
    height: 12em;
    max-height: 300px;
    background: rgba(255, 255, 255, .6);
    border: 1px solid #999;
    font-size: 1.1em;
}

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    background: rgba(255, 255, 255, 1);
}

#contactForm .txtRight {
    padding-right: 12.5%;
}


.txtRight {
    text-align: right;
}

#contactForm #subBtm {
    width: 150px;
    height: 60px;
    color: #333;
}

/*------------------------------sample---*/

#subBtm::before,
#subBtm::after {
    position: absolute;
    z-index: -1;
    display: block;
    content: '';
}

#subBtm,
#subBtm::before,
#subBtm::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
}

#contactForm #subBtm {
    background-color: #fff;
    color: #333;

}

#contactForm #subBtm:hover {
    background-color: #fabe00;
    border: 2px solid #999;

}

/*------------------------------------------*/

.error {
    background: #fabe00;
}

.required {
    font-weight: bold;
    color: #900;
    font-size: 14px;
    padding: 0 0 0 10px;
}



#insertBg {
    background: url(/common/img/insert_bg.jpg) no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 400px;
}


/*----- about-------------------------------- */


#about {
    font-size: .9em;
}

#aboutTxt {
    padding-left: 70px;
    float: left;
    width: 46%;
}

#about h2 {
    text-align: left;
}

#about dl {
    width: 100%;
    margin: 0;
}

#about dt {
    clear: left;
    float: left;
    width: 7em;
    font-weight: bold;
    padding-left: 0;
}

#about dd {
    margin: 0;
    padding-left: 8.5em;

}

#about dl {
    border-bottom: 1px dashed #999;
}

#about dt+dd {
    border-top: 1px dashed #999;
}

#about dt+dd:first-child {
    border: none;
}


#copy {
    text-align: center;
}


#map1 {
    display: block;
    float: right;
    width: 45%;
    height: 450px;
    margin: 0 0 0 0;
}


footer {
    clear: both;
}


/* --- curtain.css --- */
html {
    height: 100%;
    overflow-x: hidden;
}

.curtains {
    width: 100%;
    z-index: 1;
    position: relative;
}

.curtains>section {
    -webkit-transform: translateZ(0);
    background: white;
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    z-index: 1;
}

.curtains>section.hidden {
    display: none;
}

.curtains>section:first-child {
    z-index: 2;
}