@charset "utf-8";
@media screen and (max-width: 899px){
    /* ヘッダーCSS */
    header{
        width:95%;
        margin: 0 auto;
    }
    #headerTop{
        display: flex;
        margin-top: 30px;
        align-items: center;
        position: fixed;
        top: 10px;
        left: 50%;
        transform: translate(-50%,0);
        z-index: 1000;
    }
    #logo img{
        width: 100%;
        /* width: 80px; */
        /* height: 80px; */
    }
    nav{
        margin-left: auto;
    }
    #gnavi ul{
        display: flex;
    }
    #gnavi ul li{
        margin-left: 20px;
    }
    #gnavi ul li a{
        font-size: 0.8em;
        color: #333333;
        font-weight: bold;
        font-family: 'Futura medium';
    }
    #mainvisual{
        width: 100%;
        /* margin: 320px auto 0;  */
        overflow: hidden;
    }
    #mainh1{
        font-size: 1.7em;
        margin: 210px 0 0 10%;
        font-family: 'Futura Heavy';
        letter-spacing: 0.08em;
    }
    #backimg{
        z-index: -1;
        width: 80%;
        position: absolute;
        left: 20%;
        top: 160px;
        opacity: .8;
        overflow: hidden;
    }
    #scroll{
        writing-mode: vertical-rl;
        margin: 120px 0 60px 30px;
        position: relative;
        font-family: 'Futura light';
        font-size: 1.2em;
        letter-spacing: 0.08em;
    }
    #scroll::before{
        content: '';
        position: absolute;
        bottom: -37px;
        left: 14px;
        transform: translateX(-50%);
        width: 2px;
        height: 30px;
        background-color: #333333; /* 棒の色 */
    }
    #scroll::after{
        content: '';
        position: absolute;
        bottom: -33px;
        left: 13px;
        transform: translateX(-50%);
        width: 10px;
        height: 2px;
        background-color: #333333;
        transform: rotate(-45deg); /* 矢印の中身を塗りつぶさない */
    }
    /* コンセプト部分 */
    #conceptPC{
        display: none;
    }
    #conceptSP{
        margin-top: 150px;
        width: 100%;
        height: 700px;
        background-image: url(../images/background01.png);
        background-repeat: no-repeat;
        background-size: 1000px 700px;
    }
    #conceptSP p{
        font-family: 'はれのひ明朝';
        /* font-weight: bold; */
        font-size: 1.6em;
    }
    #conceptmsg1{
        text-align: center;
        font-size: 1.3em;
        line-height: 1.7em;
        padding-top: 270px;
    }
    #conceptmsg2{
        text-align: center;
        font-size: 1.3em;
        line-height: 1.7em;
        padding-top: 10px;
    }
    .fadeUpTrigger{
        opacity: 0;
    }
    .fadeUp{
        animation-name: fadeUpAnime;
        animation-duration: 1.5s;
        animation-fill-mode: forwards;
    }
    @keyframes fadeUpAnime{
        from{
           opacity: 0;
           transform: translateY(100px);
        }
        to{
           opacity: 1;
           transform: translateY(0);
        }
    }
    /* WORKS部分CSS */
    #works{
        width: 100%;
        height:auto;
        margin: 0 auto;
        padding-top: 50px;
    }
    #works h2{
        font-size: 2.0em;
        margin-left: 20px;
        font-family: 'Futura heavy';
        letter-spacing: 0.08em;
    }
    #univTitle {
        font-size: 1em;
        font-weight: 600;
        letter-spacing: .1em;
        margin-top: 20px;
        margin-left: 35px;
        position: relative;
    }
    #univTitle::before{
        display: block;
        content: "";
        width: 10px;
        height: 1.2em;
        background-color: #5ab1b4;
        position: absolute;
        top: 2px;
        left: -17px;
        margin: auto;
    }
    #univTitle p{
        font-size: 0.6em;
        letter-spacing: .15em;
        font-weight: 100;
        margin-top: 5px;
    }
    #restaurantTitle{
        font-size: 1.0em;
        font-weight: 600;
        letter-spacing: .1em;
        margin-top: 50px;
        margin-left: 35px;
        position: relative;
    }
    #restaurantTitle::before{
        display: block;
        content: "";
        width: 10px;
        height: 1.2em;
        background-color: #5a8d96;
        position: absolute;
        top: 2px;
        left: -17px;
        margin: auto;
    }
    #restaurantTitle p{
        font-size: 0.6em;
        letter-spacing: .15em;
        font-weight: 100;
        margin-top: 5px;
    }
    /* WORKS 大学部分 */
    #univ{
        width: 90%;
        height: 446px;
        margin: 20px auto 0;
        position: relative;
        background: rgba(255,255,255,0.7);
        border: 1px solid #333;
    }
    #univ #univPc{
        margin: 42px auto;
        width: 320px;
    }
    #univ #univLogo{
        width: 320px;
        margin: 40px auto 0; 
    }
    #univ p{
        text-align: center;
        font-size: 0.6em;
        margin-top: 10px;
        letter-spacing: 0.2em;
    }
    #univ ul{
        margin: 60px auto;
        display: flex;
        justify-content: space-around;
    }
    #univ li{
        display: flex;
        border: solid 1px #fff;
        border-radius: 5px;
        padding:5px 25px 5px 10px;
    }
    #univ a{
        display: inline-block;
        color: #fff;
        font-size: 0.8em;
        position: relative;
    }
    #univ a::after{
        position: absolute;
        top: 0;
        bottom: 0;
        right: -15px;
        margin: auto;
        content: "";
        width: 0.4em;   /* arrow size */
        height: 0.4em;  /* arrow size */
        border-top: 1px solid #fff;  /* thickness, color */
        border-right: 1px solid #fff;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    #univ span{
        width: 100%;
        height: 90px;
        background-color: #5ab1b4;
        position: absolute;
        top: 354px;
        z-index: -1;
    }
    /* WORKS レストラン部分 */
    #restaurant{
        width: 90%;
        height: 528px;
        margin: 20px auto 0;
        position: relative;
        background: rgba(255,255,255,0.7);
        border: 1px solid #333;
    }
    #restaurant #restaurantPcSp{
        margin: 45px auto 0;
        width: 320px;
    }
    #restaurant #restaurantLogo{
        width: 190px;
        margin: 22px auto; 
    }
    #restaurant p{
        text-align: center;
        font-size: 0.6em;
        letter-spacing: 0.2em;
    }
    #restaurant ul{
        margin: 60px auto 0;
        display: flex;
        justify-content: space-around;
    }
    #restaurant li{
        display: flex;
        border: solid 1px #fff;
        border-radius: 5px;
        padding:5px 25px 5px 10px;
    }
    #restaurant a{
        display: inline-block;
        color: #fff;
        font-size: 0.8em;
        position: relative;
    }
    #restaurant a::after{
        position: absolute;
        top: 0;
        bottom: 0;
        right: -15px;
        margin: auto;
        content: "";
        width: 0.4em;   /* arrow size */
        height: 0.4em;  /* arrow size */
        border-top: 1px solid #fff;  /* thickness, color */
        border-right: 1px solid #fff;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    #restaurant span{
        width: 100%;
        height: 90px;
        background-color: #5a8d96;
        position: absolute;
        top: 436px;
        z-index: -1;
    }
    /* ABOUT部分のCSS */
    #about{
        width: 90%;
        margin: 0 auto;
        position: relative;
        padding-top: 70px;
        overflow: hidden;
    }
    #about h2{
        font-size: 2.0em;
        text-align: right;
        font-family: 'Futura heavy';
        letter-spacing: 0.08em;
    }
    #name{
        margin-top: 20px;
    }
    #name p{
        width: 500px;
        height: 45px;
        font-size: 1.2em;
        background-image: url(../images/nameapple.png);
        background-repeat: no-repeat;
        background-size: 180px;
        background-position: 0px 7px;
        font-family: 'Futura heavy';
        padding: 13px 0 0 28px;
        letter-spacing: 0.05em;
    }
    #nameRubi p{
        padding-left: 65px;
        letter-spacing: 0.3em;
        font-weight: bold;
        font-size: 0.6em;
    }
    /* ABOUTの経歴CSS */
    #career{
        margin-top: 50px;
    }
    #career h3{
        font-size: 1em;
        letter-spacing: 0.7em;
        position:relative
    }
    #career h3::after{
        content: "";
        width: 100px;
        height: 15px;
        background-color: #a1afb3;
        position: absolute;
        top: 15px;
        left: 7px;
        margin: auto;
        z-index: -1;
    }
    #career p{
        font-size: 0.7em;
        padding: 10px 5px;
        letter-spacing: 0.05em;
        line-height: 2.5;
    }
    #picture{
        height: 70px;
    }
    #picture img{
        position: relative;
        top: -65px;
        left: calc(50% - 30px);
        z-index: -100;
        width: 60%;
        opacity: .85;
    }
    /* ABOUTのスキルCSS */
    #skill{
        margin-top: 30px;
    }
    #skill h3{
        font-size: 1em;
        letter-spacing: 0.3em;
        position:relative
    }
    #skill h3::after{
        content: "";
        width: 100px;
        height: 15px;
        background-color: #a1afb3;
        position: absolute;
        top: 15px;
        left: 7px;
        margin: auto;
        z-index: -1;
    }
    #flex_skills{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    #html_css{
        margin-top: 20px;
        padding-left: 30px;
        width: 100%;
    }
    #html_css h4{
        font-size: 0.9em;
        letter-spacing: 0.1em;
        position: relative;
        font-family: 'PublicSans';
    }
    #html_css h4::before{
        content: "";
        width: 10px;
        height: 1.1em;
        background-color: #a1afb3;
        position: absolute;
        top: 2px;
        left: -20px;
        margin: auto;
        z-index: -1;
    }
    #html_css img{
        padding: 10px 20px;
    }
    .skillLevel{
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    .box{
        width: 100%;
        height: 30px;
        border: 1px solid #010107;
        border-radius: 15px;
        background-color: #fff;
    }
    #html_cssBox {
        width: 80%;
        height: 28px;
        background-color: #3c415a;
        border-radius: 14px;
    }
    .skills p{
        font-size: 0.7em;
        letter-spacing: 0.05em;
        line-height: 2;
    }
    .box p{
        font-size: 0.8em;
        color: #fff;
        text-align: center;
    }
    #js{
        margin-top: 20px;
        padding-left: 30px;
        width: 100%;
    }
    #js h4{
        font-size: 0.9em;
        letter-spacing: 0.1em;
        position: relative;
        font-family: 'PublicSans';
    }
    #js h4::before{
        content: "";
        width: 10px;
        height: 1.1em;
        background-color: #a1afb3;
        position: absolute;
        top: 2px;
        left: -20px;
        margin: auto;
        z-index: -1;
    }
    #js img{
        padding: 10px 32px;
    }
    #js_Box {
        width: 50%;
        height: 28px;
        background-color: #3c415a;
        border-radius: 14px;
    }
    #ps{
        margin-top: 20px;
        padding-left: 30px;
        width: 100%;
    }
    #ps h4{
        font-size: 0.9em;
        letter-spacing: 0.1em;
        position: relative;
        font-family: 'PublicSans';
    }
    #ps h4::before{
        content: "";
        width: 10px;
        height: 1.1em;
        background-color: #a1afb3;
        position: absolute;
        top: 2px;
        left: -20px;
        margin: auto;
        z-index: -1;
    }
    #ps img{
        padding: 10px 32px;
    }
    #ps_Box {
        width: 70%;
        height: 28px;
        background-color: #3c415a;
        border-radius: 14px;
    }
    #ai{
        margin-top: 20px;
        padding-left: 30px;
        width: 100%;
    }
    #ai h4{
        font-size: 0.9em;
        letter-spacing: 0.1em;
        position: relative;
        font-family: 'PublicSans';
    }
    #ai h4::before{
        content: "";
        width: 10px;
        height: 1.1em;
        background-color: #a1afb3;
        position: absolute;
        top: 2px;
        left: -20px;
        margin: auto;
        z-index: -1;
    }
    #ai img{
        padding: 10px 32px;
    }
    #ai_Box {
        width: 70%;
        height: 28px;
        background-color: #3c415a;
        border-radius: 14px;
    }
    /* ABOUTの資格取得CSS */
    #shikaku{
        margin-top: 30px;
    }
    #shikaku h3{
        font-size: 1em;
        letter-spacing: 0.15em;
        position:relative
    }
    #shikaku h3::after{
        content: "";
        width: 100px;
        height: 15px;
        background-color: #a1afb3;
        position: absolute;
        top: 15px;
        left: 7px;
        margin: auto;
        z-index: -1;
    }
    #shikaku p{
        font-size: 0.7em;
        letter-spacing: 0.1em;
        line-height: 2.5;
        padding: 10px 30px;
    }
    /* ABOUTの趣味CSS */
    #hobby{
        margin-top: 30px;
    }
    #hobby h3{
        font-size: 1em;
        letter-spacing: 0.3em;
        position:relative
    }
    #hobby h3::after{
        content: "";
        width: 100px;
        height: 15px;
        background-color: #a1afb3;
        position: absolute;
        top: 15px;
        left: 7px;
        margin: auto;
        z-index: -1;
    }
    #hobby p{
        font-size: 0.7em;
        letter-spacing: 0.1em;
        line-height: 2.5;
        padding: 10px 30px;
    }
    /* CONTACTのCSS */
    #contact{
        width: 90%;
        height: auto;
        margin: 100px auto 0;
    }
    #contact h2{
        font-size: 2.0em;
        font-family: 'Futura heavy';
        letter-spacing: 0.08em;
    }
    #contact div{
        margin-top: 50px;
    }
    /* お問い合わせボタンCSS */
    *:before,*:after {
        -webkit-box-sizing: inherit;
        box-sizing: inherit;
    }
    #contact a{
        margin: 0 auto;
    }
    .btn,a.btn{
        font-size: 1em;
        font-weight: 600;
        line-height: 1.5;
        position: relative;
        left: 50%;
        transform: translate(-50%,0);
        display: inline-block;
        /* padding: 1em 2em; */
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        text-align: center;
        vertical-align: middle;
        text-decoration: none;
        letter-spacing: 0.1em;
        color: #fff;
        text-shadow: 1px 1px 2px #010107;
        border-radius: 0.5rem;
    }   
    #contact .btn-border-shadow {
        padding: calc(1.5rem - 12px) 1.5rem 1.5rem;
        background: #fff;
    }
    #contact a.btn-border-shadow:before {
        position: absolute;
        top: -6px;
        left: -6px;
        width: 100%;
        height: 100%;
        content: "";
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        border: 2px solid #010107;
        border-radius: 0.5rem;
    }
    #contact a.btn-border-shadow:hover {
        padding: calc(1.5rem - 6px) 3rem;
    }

    #contact a.btn-border-shadow:hover:before {
        top: 0;
        left: 0;
    }
    #contact a.btn-border-shadow--color {
        border-radius: 0;
        background: #a1afb3;
    }
    #contact a.btn-border-shadow--color:before {
        border-radius: 0;
    }
    /* フッターCSS */
    footer{
        width: 100%;
        height: 138px;
        margin-top: 100px;
        background-image: url(../images/footer_background.png);
    }
    #copyright{
        text-align: center;
        padding-top: 65px;
        font-size: 0.6em;
    }

    /* WORKS詳細ページ */
    /* 共通部分 */
    main{
        width: 100%;
    }
    #worksHead{
        margin: 180px auto 50px;
        text-align: center;
        font-size: 1.7em;
    }
    /* 大学サイト */
    /* PC画像部分 */
    #univtopImage #worksUnivPc{
        width: 87%;
        margin: 50px auto 0;
    }
    #univtopImage span{
        display: inline-block;
        width: 100%;
        height: 110px;
        background-color: #5ab1b4;
        position: absolute;
        top: 320px;
        z-index: -100;
    }
    #worksUniv{
        width: 80%;
        margin: 0 auto;
    }
    #worksUniv #worksUnivLogo{
        width: 80%;
        margin: 50px auto;
    }
    /* サイトへアクセスボタン */
    #worksUniv a{
        margin: 0 auto 20px;
    }
    .accessbtn,a.accessbtn{
        font-size: 1em;
        font-weight: 600;
        line-height: 1.5;
        position: relative;
        left: 50%;
        transform: translate(-50%,0);
        display: inline-block;
        /* padding: 1em 2em; */
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        text-align: center;
        vertical-align: middle;
        text-decoration: none;
        letter-spacing: 0.1em;
        color: #fff;
        text-shadow: 1px 1px 2px #050701;
        border-radius: 0.5rem;
    }   
    .accessbtn-border-shadow {
        padding: calc(1.5rem - 12px) 3rem 1.5rem;
        background: #fff;
    }
    a.accessbtn-border-shadow:before {
        position: absolute;
        top: -6px;
        left: -6px;
        width: 100%;
        height: 100%;
        content: "";
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        border: 2px solid #050701;
        border-radius: 0.5rem;
    }
    a.accessbtn-border-shadow:hover {
        padding: calc(1.5rem - 6px) 3rem;
    }
    a.accessbtn-border-shadow:hover:before {
        top: 0;
        left: 0;
    }
    a.accessbtn-border-shadow-univ-color {
        border-radius: 0;
        background: #a2b8ba;
    }
    a.accessbtn-border-shadow-univ-color:before {
        border-radius: 0;
    }
    /* 説明部分 */
    .univworksitem{
        position: relative;
        left: 5%;
    }
    .univworksitem h3{
        font-size: 1.2em;
        letter-spacing: 0.2em;
        position:relative;
        margin-top: 30px;
    }
    .univworksitem h3::after{
        content: "";
        width: 10px;
        height: 1.1em;
        background-color: #1e707c;
        position: absolute;
        top: 2px;
        left: -20px;
        margin: auto;
        z-index: -1;
    }
    .univworksitem p{
        font-size: 0.8em;
        line-height: 1.5em;
    }
    /* レストランサイト */
    /* PC画像部分 */
    #resttopImage #workrestPcSp{
        width: 87%;
        margin: 50px auto 0;
    }
    #resttopImage span{
        display: inline-block;
        width: 100%;
        height: 110px;
        background-color: #5a8d96;
        position: absolute;
        top: 320px;
        z-index: -100;
    }
    #worksRestaurant{
        width: 80%;
        margin: 0 auto;
    }
    #worksRestaurant #workrestLogo{
        width: 60%;
        margin: 50px auto;
    }
    /* サイトへアクセスボタン */
    #worksRestaurant a{
        margin: 0 auto 20px;
    }
    a.accessbtn-border-shadow-rest-color {
        border-radius: 0;
        background: #8e9b9d;
    }
    a.accessbtn-border-shadow-rest-color:before {
        border-radius: 0;
    }
    /* 説明部分 */
    .restworksitem{
        position: relative;
        left: 5%;
    }
    .restworksitem h3{
        font-size: 1.2em;
        letter-spacing: 0.2em;
        position:relative;
        margin-top: 30px;
    }
    .restworksitem h3::after{
        content: "";
        width: 10px;
        height: 1.1em;
        background-color: #0e434e;
        position: absolute;
        top: 2px;
        left: -20px;
        margin: auto;
        z-index: -1;
    }
    .restworksitem p{
        font-size: 0.8em;
        line-height: 1.5em;
    }
}