/* pc版とスマホ版のcssは必要があるときに分けます */
@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c');
/* 全ページの基本レイアウト */
html,body{
    margin: 0px;
    padding: 0px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}
main{
    display: block;
    line-height: 35px;
}
header{
    display: block;
    margin: 0px;
    padding: 0px;
    height: 70px;
}

.text-danger{
    color:red;
}



/* 赤文字css */
.red{
    color: red;
}
.bold{
    font-weight: bold;
}
/* リンク関係 */
.link{
    color: black;
    text-decoration: none;
}
.link::after {
    display: inline-block;
    position: relative;
    top: -10px;
    left: 0;
    content: '';
    width: 100%;
    height: 4px;
    background: green;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: 300ms;
    border-radius: 100px;
  }
  .link:hover::after {
    transform: scale(1, 1);
  }
.link-blue{
    color: blue;
}
.link-blue:hover{
    color: red;
}

/* 画像サイズ調整*/
#campus-image-box{
    height: auto;
    width: 70%;
    max-width: 500px;
    margin: 0 auto;
}
#campus-image{
    width: 100%;
}
#access-image-box{
    height: auto;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
#access-image{
    width: 100%;
}
#exlogo-image-box{
    height: auto;
    width: 100%;
    min-width: 250px;
    max-width: 400px;
    margin: -40px auto;
}
#exlogo-image{
    width: 100%;
}
#voiceactorevent-image-box{
    height: auto;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
#voiceactorevent-image{
    width: 100%;
}
#voiceactor-image-box{
    max-height: 400px;
    max-width: 300px;
    margin: 0 auto;
}
#voiceactor-image{
    max-height: 400px;
    max-width: 300px;
    height: auto;
    width: 100%;
}
/*----------------------------------------------------------------------------------------------------------------------*/
/* ページのレイアウト */
@media screen and (min-width:500px){
.page-title{
    display: block;
    font-size: 32px;
    border-bottom: solid green 3px;
    margin: 30px auto;
    text-align: center;
    width: 50%;
}
.para-title::before{
    position: relative;
    right: 6px;
    top: 2px;
    display: inline-block;
    content:" ";
    background-color: green;
    width: 9px;
    height: 22px;
}
.big-para{
    display: block;
    width: 80%;
    margin: 30px auto;
    text-align: left;
    font-size: 18px;
}
.voiceactor-casts {
    display: flex;
}
.inline-block_test{
    display:  inline-block;     
    width: 40%;               
    padding:  10px;             
}
.content-title{
    display: inline-block;
    margin: 10px 0px;
    font-size: 22px;
  }
  .content-title::before{
    display: inline-block;
    content: '';
    margin: 0px;
    width: 0px;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 17px;
    border-color: transparent transparent transparent green;
    position: relative;
    left: -5px;
    top: 3px;
  }
  .para-content{
    width: 60%;
    position: relative;
    right: -60px;
  }
  .para-sentence{
    margin-top: 0px;
    margin-bottom: 15px;
    position: relative;
    right: -25px;
    font-size: 20px;
  }

}

@media screen and (max-width:499.9px){
    .page-title{
        display: block;
        font-size: 26px;
        border-bottom: solid green 3px;
        margin: 30px auto;
        text-align: center;
        width: 50%;
    }
    .para-title::before{
        position: relative;
        right: 6px;
        top: 2px;
        display: inline-block;
        content:" ";
        background-color: green;
        width: 9px;
        height: 22px;
    }
    .big-para{
        display: block;
        width: 80%;
        margin: 10px auto;
        text-align: left;
        font-size: 13px;
    }
    .content-title{
        display: inline-block;
        margin: 6px 0px;
        font-size: 16px;
      }
      .content-title::before{
        display: inline-block;
        content: '';
        margin: 0px;
        width: 0px;
        height: 0;
        border-style: solid;
        border-width: 10px 0 10px 17px;
        border-color: transparent transparent transparent green;
        position: relative;
        left: -5px;
        top: 3px;
      }
      .para-content{
        width: 80%;
        position: relative;
        right: -30px;
      }
      .para-sentence{
        margin-top: 0px;
        margin-bottom: 15px;
        position: relative;
        right: -10px;
        font-size: 15px;
      }
    }
/*---------------------------------------------------------------------------------------------------------------------- */

/* pc版 */
@media screen and (min-width:850px){
    #header-sp,
    #footer-sp{
        display: none;
    }

    /*header*/
    #header-pc{
        height: 70px;
        width: 100%;
        box-sizing: border-box;
        margin:0px;
        padding: 6px 3vw;
        position: fixed;
        display: flex;
        justify-content: space-between;
        border-bottom:solid green 3px;
        background-color: white;
        z-index: 99;
    }
    #icon-pc{
        height: 99%;
        text-decoration: none;
        color: black;
    }
    #icon-title-pc{
        font-size: 30px;
        font-weight: bold;
        position: relative;
        bottom: 27px;
    }
    #icon-pc:hover{
        cursor: pointer;
    }
    #icon-image-pc{
        height: 120%;
        width: auto;
        max-width: 80vw;
        position: relative;
        bottom: 7px;
    }
    .header-link-pc{
        display: inline-block;
        margin-top:15px;
        font-size: 18px;
        height: 26px;
    }
    /*工大祭開催に関する赤帯*/
    .RedBelt{
        font-size: 17px;
        text-decoration: none;
        width: 100%;
        height: auto;
        margin: 0px;
        background-color: rgb(255,70,70);
        font-weight: bold;
        color: rgb(0,0,0);
        text-align: center;
        position: -webkit-sticky;
        position: sticky;
        top: 70px;
        z-index: 999;
    }
    .belt-link{
        text-decoration: none;
        color: rgb(0,0,0);
    }
    /*footer*/
    footer{
        display: block;
        background-color:rgb(225,225,225);
        height: 269px;
        margin-top:100px;
        padding: 15px 0px 0px 0px;
        box-sizing: border-box;
    }
    #footer-link-1{
        width: 70%;
        margin: 30px auto;
        display:flex;
        justify-content: space-between;
    }
    #footer-link-2{
        width: 70%;
        margin: 30px auto;
        display:flex;
        justify-content: space-around;
    }
    #copyright{
        height:40px;
        display: block;
        margin: 5px auto;
        text-align: center;
    }
    #copyright-jizi{
        position: relative;
        bottom: 15px;
    }
    #copyright-image{
        height: 100%;
        width: auto;
    }
    /*content*/
    #picture_boss{
        height:auto;
        width: 300px;
        float: right;
    }
    .flex{
        display: flex;
        flex-direction: row-reverse;
    }
    .boss-greeting{
        margin: 0px auto;
        float: left;
        padding: 0px 20px;
    }
    .boss-greeting-sent{
        margin: .7em 25px;
        line-height: 1.5;
    }
    .contest-box{
        display: flex;
    }
    #mister-image, #miss-image, #muscle-image{
        padding: 0 50px;
        width:40%;
        margin: 0 0 auto;
    }    
}


/*---------------------------------------------------------------------------------------------------------------------- */

/*sp版*/
@media screen and (max-width:849.9px){
    #header-pc,
    #footer-pc{
        display: none;
    }

    /*header*/
    #header-sp{
        height: 70px;
        width: 100%;
        box-sizing: border-box;
        margin:0px;
        padding: 6px 3vw;
        position: fixed;
        border-bottom:solid green 3px;
        background-color: white;
        z-index: 1000;
    }
    #icon-sp{
        text-decoration: none;
        color: black;
    }
    #header-icon-sp{
        height: 100%;
        width: auto;
    }
    #icon-title-sp{
        font-size: 18px;
        font-weight: bold;
        position: relative;
        top: -19px;
    }
    #menu-checkbox{
        display: none;
    }
    #menu-icon{
        display: inline-block;
        width: 40px;
        cursor: pointer;
        position: absolute;
        top: 10px;
        right: 10px;
    }
    #menu-line-top{
        display: block;
        height: 3px;
        width: 75%;
        margin: 5px auto;
        text-align: center;
        background-color: green;
        transition: all 0.3s linear 0s;
    }
    #menu-line-middle{
        display: block;
        height: 3px;
        width: 75%;
        margin: 5px auto;
        text-align: center;
        background-color: green;
        transition: all 0.3s linear 0s;
    }
    #menu-line-bottom{
        display: block;
        height: 3px;
        width: 75%;
        margin: 5px auto;
        text-align: center;
        background-color: green;
        transition: all 0.3s linear 0s;
    }
    #menu{
        display: block;
        width: 85%;
        color: green;
        text-align: center;
        margin: 0px auto;
        font-size: 12px;
        transition: all 0s linear 0s;
    }
    #menu-content{
        background-color:rgba(7, 73, 7, 0.9);
        box-sizing: border-box;
        height: 100%;
        padding: 15px 40px;
        position: fixed;
        right: -300px;
        top: 70px;
        transition: transform 0.3s linear 0s;
        width: 300px;
        z-index: 10;
        display: flex;
        flex-direction: column;
    }
    .menu-list{
        text-decoration: none;
        color: white;
        display: inline-block;
        margin: 20px auto;
        text-align: center;
    }
    .menu-list::after {
        display: inline-block;
        position: relative;
        top: -10px;
        left: 0;
        content: '';
        width: 100%;
        height: 4px;
        background: white;
        transform: scale(0, 1);
        transform-origin: left top;
        transition: 300ms;
        border-radius: 100px;
    }
    .menu-list:hover::after {
        transform: scale(1, 1);
    }
    #menu-checkbox:checked ~ #menu-content{
        transform: translate(-300px);
    }
    #menu-checkbox:checked + label #menu-line-top{
        transform: translateY(8px) rotate(-45deg);
    }
    #menu-checkbox:checked + label #menu-line-middle{
        background-color: white;
    }
    #menu-checkbox:checked + label #menu-line-bottom{
        transform: translateY(-8px) rotate(45deg);
    }
    #menu-checkbox:checked + label #menu{
        font-size: 0px;
    }
    #menu-checkbox:checked + label #menu{
        font-size: 0px;
    }
    #menu-checkbox:checked + label #menu::before{
        content: "CLOSE";
        font-size: 12px;
    }
    /*工大祭開催に関する赤帯*/
    .RedBelt{
        font-size: 14px;
        text-decoration: none;
        width: 100%;
        height: auto;
        margin: 0px;
        background-color: rgb(255,70,70);
        font-weight: bold;
        color: rgb(0,0,0);
        text-align: center;
        position: -webkit-sticky;
        position: sticky;
        top: 70px;
        z-index: 999;
    }
    .belt-link{
        text-decoration: none;
        color: rgb(0,0,0);
    }
    /*footer*/
    footer{
        display: block;
        background-color:rgb(225,225,225);
        height: 400px;
        margin-top:100px;
        padding: 15px 0px 0px 0px;
        box-sizing: border-box;
    }
    #footer-link-1{
        font-size: 2.8vw;
        width: 80%;
        margin: 30px auto;
        display:flex;
        justify-content: space-between;
    }
    #footer-link-2{
        font-size: 2.8vw;
        width: 80%;
        margin: 30px auto;
        display:flex;
        justify-content: space-around;
    }
    #footer-link-3{
        font-size: 2.8vw;
        width: 80%;
        margin: 30px auto;
        display:flex;
        justify-content: space-around;
    }
    #copyright{
        height:40px;
        display: block;
        margin: 5px auto;
        text-align: center;
    }
    #copyright-jizi{
        position: relative;
        bottom: 15px;
    }
    #copyright-image{
        height: 120%;
        width: auto;
    }
    /*content*/
    #picture_boss{
        display:block;
        height:auto;
        width: 80%;
        max-width: 300px;
        margin:10px auto;
    }
    .flex{
        display: block;
    }
    .boss-greeting{
        width: 100%;
    }
    .boss-greeting-sent{
        margin: .7em 25px ;
        line-height: 1.5;
    }
    .contest-box{
        display: block;
    }
    #mister-image, #miss-image, #muscle-image{
        display:block;
        height:auto;
        width: 80%;
        max-width: 300px;
        margin:10px auto;
    }
}