@charset "utf-8";
/* フォント登録 */
@font-face {
    font-family: 'はれのひ明朝';
    src: url('../font/Harenosora.otf');
}
@font-face {
    font-family: 'PublicSans';
    src: url('../font/PublicSans-Medium.otf'),
    url('../font/PublicSans-Medium.woff') format('woff'),
    url('../font/PublicSans-Medium.woff2') format('woff2'),
    url('../font/PublicSans-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'PublicSansBd';
    src: url('../font/PublicSans-Bold.otf'),
    url('../font/PublicSans-Bold.woff') format('woff'),
    url('../font/PublicSans-Bold.woff2') format('woff2'),
    url('../font/PublicSans-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'Futura light';
    src: url('../font/futura light bt.ttf') format('truetype');
}
@font-face {
    font-family: 'Futura Heavy';
    src: url('../font/Futura Heavy font.ttf') format('truetype');
}
@font-face {
    font-family: 'Futura medium';
    src: url('../font/futura medium bt.ttf') format('truetype');
}
/*初期化CSS*/
*{
   margin: 0;
   padding: 0;
   box-sizing:border-box;
}
body{
   font-family: " メイリオ ", Meiryo, " ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", 
   " ＭＳ Ｐゴシック ", "MS PGothic", serif;
   font-size: 18px;
   line-height: 1.5;
   overflow-x: hidden;
   color: #333333;
   margin: 0 auto;
   width: 100%;
   height: auto;
   background-color: #7d9297;
}
h1, h2, h3{
   font-size: 100%;
}
li{
   list-style-type: none; 
}
a{
   text-decoration: none;
}
img{
   display: block;
   border: none;
}

@media screen and (min-width: 900px){
    /* ヘッダーCSS */
    header{
        width:80%;
        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{
        width: 132px;
    }
    nav{
        margin-left: auto;
    }
    #gnavi ul{
        display: flex;
    }
    #gnavi ul li{
        margin-left: 45px;
    }
    #gnavi ul li a{
        font-size: 23px;
        color: #333333;
        font-weight: bold;
        font-family: "Futura medium";
        transition: .3s ease;
    }
    #gnavi ul li a:hover{
        font-size: 23px;
        color: #224148;
        font-weight: bold;
        font-family: "Futura medium";
        transition: .3s ease;
    }
    #mainvisual{
        width: 80%;
        margin: 320px auto 0; 
    }
    #mainh1{
        font-size: 4em;
        margin: 200px 20% 0 5%;
        font-family: "Futura Heavy";
        letter-spacing: 0.15em;
        color: #333;
    }
    #backimg{
        position: absolute;
        left: 40%;
        top: 160px;
        z-index: -1;
        opacity: .8;
    }
    #scroll{
        writing-mode: vertical-rl;
        margin: 120px 0 0 100px;
        position: relative;
        font-family: "Futura light";
        font-size: 27px;
        letter-spacing: 0.07em;
    }
    #scroll::before{
        content: '';
        position: absolute;
        bottom: -37px;
        left: 14px;
        transform: translateX(-50%);
        width: 2px;
        height: 30px;
        background-color: #333; /* 棒の色 */
    }
    #scroll::after{
        content: '';
        position: absolute;
        bottom: -33px;
        left: 13px;
        transform: translateX(-50%);
        width: 10px;
        height: 2px;
        background-color: #333;
        transform: rotate(-45deg); /* 矢印の中身を塗りつぶさない */
    }
    /* コンセプト部分 */
    #conceptSP{
        display: none;
    }
    #conceptPC{
        margin-top: 200px;
        height: 165vh;
        background-image: url(../images/background01.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    #conceptPC p{
        text-align: center;
        font-size: 2.3em;
        padding-top: 70vh;
        font-family: 'はれのひ明朝';
        /* font-weight: bold; */
    }
    .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: 80%;
        height:auto;
        margin: 0 auto;
        padding-top: 150px;
    }
    h2{
        font-size: 3.5em;
        font-family: "Futura Heavy";
        letter-spacing: 0.08em;
    }
    #univTitle{
        font-size: 1.6em;
        font-weight: 600;
        letter-spacing: .18em;
        margin-top: 60px;
        margin-left: 30px;
        position: relative;
    }
    #univTitle::before{
        display: block;
        content: "";
        width: 18px;
        height: 1.2em;
        background-color: #5ab1b4;
        position: absolute;
        top: 2px;
        left: -30px;
        margin: auto;
    }
    #univTitle p{
        font-size: 0.6em;
        letter-spacing: .15em;
        font-weight: 100;
        margin: 20px 0;
    }
    #restaurantTitle{
        font-size: 1.6em;
        font-weight: 600;
        letter-spacing: .18em;
        margin-top: 85px;
        margin-left: 30px;
        position: relative;
    }
    #restaurantTitle::before{
        display: block;
        content: "";
        width: 18px;
        height: 1.2em;
        background-color: #5a8d96;
        position: absolute;
        top: 2px;
        left: -30px;
        margin: auto;
    }
    #restaurantTitle p{
        font-size: 0.6em;
        letter-spacing: .15em;
        font-weight: 100;
        margin: 20px 0;
    }
    /* WORKS 大学部分 */
    #univ{
        width: 90%;
        height: 470px;
        margin: 0 auto;
        display: flex;
        position: relative;
        justify-content: space-between;
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid #333;
    }
    #univ #univPc{
        margin: auto 0;
        margin-left: 7%;
        width: 43%;
    }
    #univ #univLogo{
        width: 32%;
        margin-top: 170px;
        margin-right: 10%; 
    }
    #univ p{
        position: absolute;
        right: 80px;
        top: 250px;
        font-size: 0.8em;
        letter-spacing: 0.2em;
    }
    #univ ul{
        position: absolute;
        right: 10%;
        top: 388px;
        display: flex;
    }
    #univ li{
        display: flex;
        justify-content: space-between;
        margin-left:60px;
        border: solid 1px #fff;
        border-radius: 5px;
        padding:5px 25px 5px 10px;
        transition: 0.3s ease;
    }
    #univ li:hover{
        display: flex;
        justify-content: space-between;
        margin-left:60px;
        border: solid 1px #fff;
        border-radius: 5px;
        background-color: rgba(255, 255, 255, .3);
        padding:5px 25px 5px 10px;
        transition: 0.3s ease;
    }
    #univ a{
        display: inline-block;
        color: #fff;
        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: 120px;
        background-color: #5ab1b4;
        position: absolute;
        top: 349px;
        z-index: -1;
    }
    /* WORKS レストラン部分 */
    #restaurant{
        width: 90%;
        height: 470px;
        margin: 0 auto;
        display: flex;
        position: relative;
        justify-content: space-between;
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid #333;
    }
    #restaurant #restaurantPcSp{
        margin: 70px 0 auto;
        margin-left: 7%;
        width: 40%;
    }
    #restaurant #restaurantLogo{
        width: 20%;
        margin-top: 95px;
        margin-right: 15%; 
    }
    #restaurant p{
        position: absolute;
        right: 80px;
        top: 250px;
        font-size: 0.8em;
        letter-spacing: 0.2em;
    }
    #restaurant ul{
        position: absolute;
        right: 10%;
        top: 390px;
        display: flex;
    }
    #restaurant li{
        display: flex;
        justify-content: space-between;
        margin-left:60px;
        border: solid 1px #fff;
        border-radius: 5px;
        padding:5px 25px 5px 10px;
        transition: 0.3s ease;
    }
    #restaurant li:hover{
        display: flex;
        justify-content: space-between;
        margin-left:60px;
        border: solid 1px #fff;
        border-radius: 5px;
        background-color: rgba(255, 255, 255, .3);
        padding:5px 25px 5px 10px;
        transition: 0.3s ease;
    }
    #restaurant a{
        display: inline-block;
        color: #fff;
        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: 120px;
        background-color: #5a8d96;
        position: absolute;
        top: 349px;
        z-index: -1;
    }
    /* ABOUT部分のCSS */
    #about{
        width: 80%;
        margin: 0 auto;
        position: relative;
        padding-top: 150px;
        font-family: 'Futura heavy';
    }
    #about h2{
        text-align: right;
    }
    #name{
        margin-top: 50px;
    }
    #name p{
        padding-left: 92px;
        padding-top: 20px;
        width: 500px;
        font-family: 'Futura medium';
        font-size: 2.5em;
        letter-spacing: 0.13em;
        background-image: url(../images/nameapple.png);
        background-repeat: no-repeat;
        background-size: auto;
        background-position: 35px 4px;
    }
    #nameRubi p{
        padding-left: 160px;
        letter-spacing: 0.8em;
        font-weight: bold;
    }
    /* ABOUTの経歴CSS */
    #career{
        padding-left: 40px;
        padding-top: 80px;
    }
    #career h3{
        font-size: 1.5em;
        letter-spacing: 1em;
        position:relative;
    }
    #career h3::after{
        content: "";
        width: 125px;
        height: 24px;
        background-color: #a1afb3;
        position: absolute;
        top: 20px;
        left: 12px;
        margin: auto;
        z-index: -1;
    }
    #career p{
        font-size: 0.9em;
        padding: 10px 30px;
        letter-spacing: 0.1em;
        line-height: 2.5;
    }
    #picture{
        position: absolute;
        top: 340px;
        left: calc(50% + 100px);
        z-index: -1;
    }
    /* ABOUTのスキルCSS */
    #skill{
        margin-top: 50px;
        padding-left: 40px;
    }
    #skill h3{
        font-size: 1.5em;
        letter-spacing: 0.5em;
        position:relative;
    }
    #skill h3::after{
        content: "";
        width: 125px;
        height: 24px;
        background-color: #a1afb3;
        position: absolute;
        top: 20px;
        left: 12px;
        margin: auto;
        z-index: -1;
    }
    #flex_skills{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    #html_css{
        margin-top: 20px;
        padding-left: 60px;
        width: 45%;
    }
    #html_css h4{
        font-size: 1.1em;
        letter-spacing: 0.1em;
        position: relative;
        font-family: "PublicSans";
    }
    #html_css h4::before{
        content: "";
        width: 10px;
        height: 1.2em;
        background-color: #a1afb3;
        position: absolute;
        top: 3px;
        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: rgba(255,255,255,0.7);
    }
    #html_cssBox {
        width: 80%;
        height: 28px;
        background-color: #3c415a;
        border-radius: 14px;
    }
    .skills p{
        font-size: 0.9em;
        line-height: 2;
    }
    .box p{
        font-size: 0.9em;
        color: #fff;
        text-align: center;
    }
    #js{
        margin-top: 20px;
        padding-left: 60px;
        width: 45%;
    }
    #js h4{
        font-size: 1.1em;
        letter-spacing: 0.1em;
        position: relative;
        font-family: "PublicSans";
    }
    #js h4::before{
        content: "";
        width: 10px;
        height: 1.2em;
        background-color: #a1afb3;
        position: absolute;
        top: 3px;
        left: -20px;
        margin: auto;
        z-index: -1;
    }
    #js img{
        padding: 10px 34px;
    }
    #js_Box {
        width: 50%;
        height: 28px;
        background-color: #3c415a;
        border-radius: 14px;
    }
    #ps{
        margin-top: 20px;
        padding-left: 60px;
        width: 45%;
    }
    #ps h4{
        font-size: 1.1em;
        letter-spacing: 0.1em;
        position: relative;
        font-family: "PublicSans";
    }
    #ps h4::before{
        content: "";
        width: 10px;
        height: 1.2em;
        background-color: #a1afb3;
        position: absolute;
        top: 3px;
        left: -20px;
        margin: auto;
        z-index: -1;
    }
    #ps img{
        padding: 10px 34px;
    }
    #ps_Box {
        width: 70%;
        height: 28px;
        background-color: #3c415a;
        border-radius: 14px;
    }
    #ai{
        margin-top: 20px;
        padding-left: 60px;
        width: 45%;
    }
    #ai h4{
        font-size: 1.2em;
        letter-spacing: 0.1em;
        position: relative;
        font-family: "PublicSans";
    }
    #ai h4::before{
        content: "";
        width: 10px;
        height: 1.2em;
        background-color: #a1afb3;
        position: absolute;
        top: 3px;
        left: -20px;
        margin: auto;
        z-index: -1;
    }
    #ai img{
        padding: 10px 34px;
    }
    #ai_Box {
        width: 70%;
        height: 28px;
        background-color: #3c415a;
        border-radius: 14px;
    }
    /* ABOUTの資格取得CSS */
    #shikaku{
        margin-top: 50px;
        padding-left: 40px;
    }
    #shikaku h3{
        font-size: 1.5em;
        letter-spacing: 0.2em;
        position:relative
    }
    #shikaku h3::after{
        content: "";
        width: 125px;
        height: 24px;
        background-color: #a1afb3;
        position: absolute;
        top: 20px;
        left: 12px;
        margin: auto;
        z-index: -1;
    }
    #shikaku p{
        font-size: 0.9em;
        padding: 10px 30px;
        letter-spacing: 0.1em;
        line-height: 2.5;
    }
    /* ABOUTの趣味CSS */
    #hobby{
        margin-top: 50px;
        padding-left: 40px;
    }
    #hobby h3{
        font-size: 1.5em;
        letter-spacing: 0.2em;
        position:relative
    }
    #hobby h3::after{
        content: "";
        width: 125px;
        height: 24px;
        background-color: #a1afb3;
        position: absolute;
        top: 20px;
        left: 12px;
        margin: auto;
        z-index: -1;
    }
    #hobby p{
        font-size: 0.9em;
        padding: 10px 30px;
        letter-spacing: 0.1em;
        line-height: 2.5;
    }
    /* CONTACTのCSS */
    #contact{
        width: 80%;
        height: auto;
        margin: 100px auto 0;
    }
    #contact div{
        margin-top: 50px;
    }
    /* お問い合わせボタンCSS */
    /* 親要素を引き継ぐ */
    *:before,*:after {
        -webkit-box-sizing: inherit;
        box-sizing: inherit;
    }
    /* 中央寄せ */
    #contact a{
        margin: 0 auto;
    }
    /* 中央寄せ、動きスムーズ、positionの基準値 */
    .btn,a.btn{
        font-size: 1.3em;
        font-weight: 600;
        line-height: 1.5;
        position: relative;
        left: 50%;
        transform: translate(-50%,0);
        display: inline-block;
        /* padding: 1em 4em; */
        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) 3rem 1.5rem;
        background: #fff;
    }
    /* 擬似要素でhover前の枠線の位置を決めている。余白・枠線ちょいずらし。*/
    #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;
    }
    /* hoverしたら、上下余白がそろう */
    #contact a.btn-border-shadow:hover {
        padding: calc(1.5rem - 6px) 3rem;
    }
    /* hoverしたら、枠線の位置がそろう */
    #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.8em;
        font-family: "PublicSans";
    }

    /* WORKS詳細ページ */
    #univpage{
        background-color: #fff;
    }
    /* ヘッダー共通部分 */
    #maincontainer {
        width: 100%;
        margin: 200px auto;
    }
    #worksHead{
        margin-top: 50px;
        text-align: center;
        font-size: 2.9em;
        font-family: "PublicSansBd";
        letter-spacing: 0.08em;
    }    
    /* 大学サイト */
    /* PC画像部分 */
    #univtopImage #worksUnivPc{
        margin: 50px auto 0;
    }
    #univtopImage span{
        display: inline-block;
        width: 100%;
        height: 250px;
        background-color: #5ab1b4;
        position: absolute;
        top: 480px;
        z-index: -100;
    }
    #worksUniv{
        width: 80%;
        margin: 0 auto;
    }
    #worksUniv #worksUnivLogo{
        margin: 50px auto;
    }
    /* サイトへアクセスボタン */
    #worksUniv a{
        margin: 0 auto 20px;
    }
    .accessbtn,a.accessbtn{
        font-size: 1.3em;
        font-weight: 600;
        line-height: 1.5;
        position: relative;
        left: 50%;
        transform: translate(-50%,0);
        display: inline-block;
        /* padding: 1em 4em; */
        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;
    }   
    .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 #010107;
        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: 20%;
    }
    .univworksitem h3{
        font-size: 1.4em;
        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;
    }
    /* レストランサイト */
    #restpage{
        background-color: #fff;
    }
    /* PC画像部分 */
    #resttopImage #workrestPcSp{
        margin: 50px auto 0;
    }
    #resttopImage span{
        display: inline-block;
        width: 100%;
        height: 250px;
        background-color: #5a8d96;
        position: absolute;
        top: 480px;
        z-index: -100;
    }
    #worksRestaurant{
        width: 80%;
        margin: 0 auto;
    }
    #worksRestaurant #workrestLogo{
        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: 20%;
    }
    .restworksitem h3{
        font-size: 1.4em;
        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;
    }
}