@charset "utf-8";

* {
    padding: 0;
    margin: 0;
    border: 0;
}

html {
    width: 100%;
    height: 100%;
}
body {
    width: 100%;
    height: 100%;
    color: #707070;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1.5px;
}
body p {
    font-size: 14px;
}
body a {
    text-decoration: none;
    color: #707070;
}
body a:visited {
    color: #707070;
}
body img {
    display: block;
}
body .sp {
    display: none;
}
@media screen and (max-width: 767px) {
    body .pc {
        display: none;
    }
    body .sp {
        display: block;
    }
}


/*all pages---------------------------------*/
/*header*/
header {
    width: 100%;
    height: 9.25%;
}
header .header-contents {
    width: 74.1%;
    margin: 0 auto;
    overflow: hidden;
}
header .header-left {
    float: left;
    margin-top: 3%;
}
header .header-left h1 {
    font-size: 22px;
    font-weight: 100;
    position: relative;
    z-index: 100;
}
header .header-right {
    float: right;
    margin-top: 3%;
}
/*hamburger*/
#nav_toggle{
    display: block;
    width: 25px;
    height: 25px;
    position: relative;
    top: 9px;
    right: 0;
    z-index: 100;
}
#nav_toggle:hover {
    cursor: pointer;
}
#nav_toggle div {
    position: relative;
}
#nav_toggle span{
    display: block;
    height: 1px;
    background: #707070;
    position:absolute;
    width: 100%;
    left: 0;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;	
}
#nav_toggle span:nth-child(1){
    top:0px;
}
#nav_toggle span:nth-child(2){
    top:10px;
}
#nav_toggle span:nth-child(3){
    top:20px;
}
/*開閉ボタンopen時*/
#nav_toggle.open span:nth-child(1) {
    top: 12px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
}
#nav_toggle.open span:nth-child(2) {
    width: 0;
    left: 50%;
}
#nav_toggle.open span:nth-child(3) {
    top: 12px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
/*---*/
/*gnav*/
nav{
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    text-align: center;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 50;
    opacity: 0;
    transition: all .7s;
}
nav ul {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
}
nav ul li {
    margin-bottom: 1.618em;
    list-style-type: none;
}
nav ul li a {
    font-size: 22px;
    font-weight: 100;
}
nav ul li a:hover {
    color: #ddd;
    transition: all .5s;
}
nav ul li:last-child a {
    line-height: 1em;
}
nav ul li:last-child a span{
    font-size: 14px;
}
nav ul li a i{
    font-size: 26px;
}
nav ul li:last-child a i{
    margin-right: .5em;
    font-size: 18px;
}
/*開閉ボタンopen時*/
nav.slide {
    position: fixed;
    top: 0;
    right: 0;
    opacity: 1;
    transition: all .7s;
}
/*---*/
@media screen and (max-width: 767px) {
    header {
        height: 11.99%;
    }
    header .header-contents {
        width: 83.46%;
    }
    header .header-left,
    header .header-right {
        margin-top: 8%;
    }
    header .header-left h1 {
        font-size: 14px;
    }
    #nav_toggle{
        top: 0;
    }
    nav ul li a {
        font-size: 22px;
    }
}


/*footer*/
footer {
    height: 9.25%;
}
footer .footer-contents {
    width: 74.1%;
    margin: 0 auto;
    font-weight: 100;
    text-align: right;
}
@media screen and (max-width: 767px) {
    footer {
        height: 11.99%;
    }
    footer .footer-contents {
        width: 83.46%;
        font-size: 10px;
    }
}

/*main*/
main {
    width: 74.1%;
    height: 81.5%;
    margin: 0 auto;
}
@media screen and (max-width: 767px) {
    main {
        width: 83.46%;
        height: 76.02%;
    }
}




/*Top------------------------------------*/
body#Top main .top {
    height: 100%;
    position: relative;
}
body#Top main .top .top-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body#Top main .top h2 {
    width: 61.8%;
    font-size: 59px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 3px;
    word-wrap: normal;
    position: absolute;
    bottom: 0.25em;
    right: 0;
}
@media screen and (max-width: 767px) {
    body#Top main {
        height: 76.01%;
    }
    body#Top main .top .top-img {
        width: 100%;
        height: auto;
    }
    body#Top main .top h2 {
        width: 100%;
        margin-top: 1em;
        font-size: 22px;
        font-weight: 700;
        line-height: 1.5;
        letter-spacing: 3px;
        word-wrap: normal;
        position: static;
    }
}




/*under pages------------------------------*/
body#Things .top h3,
body#About .top h3,
body#Contact .top h3 {
    padding: 3.5em 0;
    font-size: 36px;
    letter-spacing: 3px;
    position: relative;
}
body#Things .top h3:after,
body#About .top h3:after,
body#Contact .top h3:after {
    content: '';
    display: block;
    width: 1em;
    height: 1px;
    background: #707070;
    position: absolute;
    top: 5.5em;
    left: 0;
}
@media screen and (max-width: 767px) {
    body#Things .top h3,
    body#About .top h3,
    body#Contact .top h3 {
        padding: 3.5em 0;
        font-size: 22px;
    }
}

/*The things*/
body#Things main {
    height: auto;
    margin-bottom: 200px;
}
body#Things #scroll-btn {
    position: fixed;
    bottom: 18%;
    left: 50%;
    margin-left: -18px;
}
body#Things #scroll-btn {
    -webkit-animation: blink 1s ease-in-out infinite alternate;
    -moz-animation: blink 1s ease-in-out infinite alternate;
    animation: blink 1s ease-in-out infinite alternate;
}
@-webkit-keyframes blink {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@-moz-keyframes blink {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes blink {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
body#Things #scroll-btn p {
    width: 50px;
    height: 50px;
    font-size: 36px;
    color: #707070;
}
body#Things .contents section:hover {
    box-shadow: 3px 3px 20px #eee, -3px 3px 20px #eee, 3px -3px 20px #eee;
    transition: all .5s;
}
body#Things .contents section {
    width: 100%;
    height: 39.9%;
    margin: 5% 0;
    overflow: hidden;
    position: relative;
}
body#Things .contents section .image {
    float: left;
    width: 30.2%;
}
body#Things .contents section .image img{
    width: 100%;
    height: auto;
}
body#Things .contents section .text {
    float: right;
    width: 69.8%;
}
body#Things .contents section .text .text-box {
    width: 30.2%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
body#Things .contents section .text .text-box h4 {
    margin-bottom: 1em;
}
body#Things #totop-btn {
    position: fixed;
    bottom: 18%;
    right: 12.95%;
    opacity: 0;
}
body#Things #totop-btn a{
    display: block;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,.7);
    box-shadow: 3px 3px 20px #eee, -3px 3px 20px #eee, 3px -3px 20px #eee;
    border-radius: 50%;
    color: #707070;
    text-align: center;
    line-height: 50px;
}
@media screen and (max-width: 767px) {
    body#Things #scroll-btn {
        bottom: 23%;
    }
    body#Things .contents section {
        height: auto;
        margin: 40px 0;
    }
    body#Things .contents section .image,
    body#Things .contents section .text {
        float: none;
        width: 100%;
    }
    body#Things .contents section .text .text-box {
        width: 90%;
        padding: 40px 5%;
        position: static;
        -webkit-transform: translateY(0%);
        transform: translateY(0%);
    }
    body#Things #totop-btn {
        bottom: 23%;
        right: 8.27%;
    }
}

/*About*/
body#About main {
    height: 81.5%;
}
@media screen and (max-width: 767px) {
    body#About main {
        height: auto;
        margin-bottom: 2em;
    }
}


/*Contact*/
body#Contact main {
    height: 81.5%;
}
@media screen and (max-width: 767px) {
    body#Contact main {
        height: 76.01%;
    }
}



/*js--------------------------------------*/
/*fadein*/
.fadein {
    opacity : 0;
    transform : translate(0, -30px);
    transition:all 1s;
}
.fadein.scrollin {
    opacity : 1;
    transform : translate(0, 0);
}
/*------------------------*/




