@charset "utf-8";

body, div, p, h1, h2, h3, h4, ul, figure {
    margin: 0;
    padding: 0;
}
body {
    background: url(images/02.jpg) left top / contain no-repeat;
    background-color: black;
}

@media screen and (min-width:768px) {
    body {
/*    background: url(images/01.gif) center center / cover no-repeat fixed;*/
    background: url(images/01.gif);
    background-position: center center;
    background-attachment: fixed;
    }
}

p {
    color: salmon;
    font-family: 'Futura',YuGothic,'Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    font-size: 14px;
    line-height: 1.8em;
}
h1 {
    color: salmon;
    font-size: 20px;
    font-family: 'Yu Mincho Light','YuMincho','Yu Mincho','游明朝体','ヒラギノ明朝 ProN','Hiragino Mincho ProN','Times New Roman',serif;
    font-weight: normal;
}

header {
}
main {
}

/*とっさん工房ロゴ*/
#box-a {
    height: 800px;
}
.logo {
    margin: 0 auto 0 80px;
}

@media screen and (min-width:768px) {
    #box-a {
        text-align: center;
    }
    .logo {
        margin: 0;
    }
}
.arrow {
    width: 39px;
    height: 82px;
    padding-top: 40px;
    position: relative;
    animation: anime 500ms infinite alternate;
}
@keyframes anime {
    0% {
        top: 0;
    }
    100% {
        top: 20px;
    }
}

.img-center {
    margin-top: 100px;
    text-align: center;
}
.img-center p {
    margin-top: 40px;
    font-family: serif;
}

@media screen and (min-width:768px) {
    #box-a {
    width: 600px;
    margin: 0 100px 0 auto; 
    }
}

/*小見出し*/
.title {
    text-align: center;
    width: auto;
    padding-bottom: 30px;
    margin: 0 10px;
}
.title h1 {
    color: white;
    padding: 100px 0 10px;
}

.title-border {
display: flex;
align-items: center;
}
.title-border:before,
.title-border:after {
border-top: 1px solid;
content: "";
flex-grow: 1;
}
.title-border:before {
margin-right: 1rem;
}
.title-border:after {
margin-left: 1rem;
}

.title p {
    padding-bottom: 40px;
}

@media screen and (min-width:768px) {
    .title {
    width: 600px;
    margin: 0 100px 30px auto;
    }
}

.btn {
    display: inline-block;
    padding: 0.3em 1.8em;
    text-decoration: none;
    color: cornsilk;
    border: solid 2px cornsilk;
    border-radius: 3px;
    transition: .4s;
    margin: 0 0 60px;
}

.btn:hover {
    background: cornsilk;
    color: darkgoldenrod;
    font-weight: bold;
}

/*基本コンテンツ*/
.box {
    width: auto;
    text-align: center;  
    min-height: 500px;
}
    .middle img {
        border: 1px solid #262626;
    }
    .middle h1 {
        margin-bottom: 10px;
    }
    .middle p {
        margin: 20px 0 60px;
    }
@media screen and (min-width:768px) {
    .box {
    width: 600px;
    margin: 0 100px 0 auto; 
    }


}


/*フェードイン*/
.fadein {
    opacity : 0;
    transform : translate(0, 50px);
    transition : all 800ms;
}
.fadein.scrollin {
    opacity : 1;
    transform : translate(0, 0);
}

/*背景が黒いスペース*/
.b-space {
    width: 100%;
    height: 800px;
    background-color: black;
}
.bspaceinner {
    text-align: center;
    padding: 160px 0 0;
    position: -webkit-sticky; /* safari対応 */
    position: sticky;
    top: 200px;　/* 上から200pxのところで固定 */
}
.bspaceinner h1 {
    font-size: 36px;
    padding-bottom: 30px;
}

/*フッター*/
footer {
    background-color: black;
    text-align: center;
}
footer p {
    color: silver;
    font-size: 0.8em;
    padding-bottom: 30px;
}
