@charset "UTF-8";

.Information_icon {
    display: none;
}

body {
    letter-spacing: 0.05em;
    overflow-x: hidden;
}

.over {
    overflow-x: hidden;
}

/***********************ナビゲーションのCSS*****************************/
header {
    box-sizing: border-box;
    top: -3%;
    right: 0%;
    width: 20%;
    height: 100%;
    overflow: auto;
    position: fixed;
    background: #ced5db;
    padding-top: 14%;
    padding-left: 1%;
    padding-right: 4%;
    z-index: 2;
}

.menu li {
    border-top: dotted 1px #aaa;
    padding: 8px 13px;
    font-size: small;
    cursor: pointer;
}

.menu li a {
    color: black;
}

.select {
    border-left: solid 6px #003366;
    /*左側の線*/
}

.top-space {
    display: block;
    padding-top: 100%;
    margin-top: -100%;
}

/************************ハンバーガーメニューのCSS**************************/
.openbtn1 {
    position: fixed;
    top: 9%;
    right: 4%;
    /*ボタン内側の基点となるためrelativeを指定*/
    background: #0b3366;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    z-index: 1000;
}

/*ボタン内側*/
.openbtn1 span {
    display: inline-block;
    transition: all 0.4s;
    /*アニメーションの設定*/
    position: absolute;
}

.openbtn1 span:nth-of-type(1),
.openbtn1 span:nth-of-type(3) {
    height: 2px;
    background: #fff;
    width: 62%;
    left: 10px;
}

.openbtn1 span:nth-of-type(1) {
    top: 13px;
}

.openbtn1 span:nth-of-type(2) {
    top: 19px;
    left: 11px;
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #fff;
}

.openbtn1 span:nth-of-type(3) {
    top: 36px;
}

/*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/
.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.blog_menu {
    position: fixed;
    right: -35%;
    transition: all 0.5s 0s ease;
}

.warning {
    margin-top: 8px;
    font-size: 12px;
}

main {
    margin-top: 100px;
    padding-bottom: 57px;
}

/********************プロフィールのCSS************************/
#profileName {
    font-size: 24px;
    text-align: center;
    padding: 10px 10px;
    font-weight: bold;
}

.profileImg img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 5px;
}

/***************タグの装飾*********************/
.headborder {
    color: #003366;
    display: flex;
    align-items: center;
}

.headborder:before,
.headborder:after {
    border-top: 3px solid #003366;
    content: "";
    flex-grow: 1;
}

.headborder:before {
    margin-right: 0.5em;
}

.headborder:after {
    margin-left: 0.5em;
}

/**********************記事一覧**********************/
.articleNav {
    width: 60%;
    margin: 0 auto 50px;
}

.articleNav h2 {
    font-size: 20px;
    text-align: center;
    margin: 10px 0 10px;
}

article {
    position: relative;
    display: flex;
    border-bottom: 1px solid #003366;
    margin: 0 auto 10px;
    padding-bottom: 10px;
}

article a::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background-color: transparent;
}

article a:hover {
    opacity: 0.6;
}

article figure {
    width: 120px;
    height: 120px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    text-align: center;
    align-items: center;
}

.articleImg {
    margin-left: 3%;
    margin-right: 3%;
}

.thumbnail {
    width: 120px;
    height: 120px;
}

.articleDate {
    padding: 3px 0 3px;
    font-size: 12px;
    margin-left: 0.3em;
}

.articleTitle {
    font-size: 21px;
    margin-left: 0.3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/******************カテゴリー(記事内)********************/
.categoryTag {
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.answerTag {
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 5px;
    color: #fff;
    font-size: 12px;
}

.category {
    margin-bottom: 6px;
}

.answerCategory {
    margin-bottom: 9px;
}

/*****************カテゴリー********************/
.categoryNav {
    margin: 0 auto;
    width: 60%;
}

.categoryNav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.categoryNav li {
    display: inline-block;
    margin: 0.3em 0.3em 0;
    padding: 0;
}

.categoryNav li a {
    position: relative;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    padding: 0 1em 0 .75em;
    background-color: #fff;
    border-radius: 30px;
    border: solid 1px #333;
    color: #333;
    font-size: 12px;
    text-decoration: none;
    -webkit-transition: .2s;
    transition: .2s;
}

/*****************回答カテゴリー*****************/
.answerNav {
    width: 60%;
    margin: 0 auto;
}

.answerNav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.answerNav li {
    display: inline-block;
    margin: 0.3em 0.3em 0;
    padding: 0;
}

.answerNav li a {
    position: relative;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    padding: 0 1em 0 .75em;
    background-color: #fff;
    border-radius: 5px;
    border: solid 1px #333;
    color: #333;
    font-size: 12px;
    text-decoration: none;
    -webkit-transition: .2s;
    transition: .2s;
}

/***************カテゴリー一覧(javascriptで色を切り替えるときに必要)*********************/
.categoryNav li .course {
    background-color: #FF8562;
    color: #fff;
    border: solid 1px #FF8562;
}

.categoryNav li .textbook {
    background-color: #8AD8E6;
    color: #fff;
    border: solid 1px #8AD8E6;
}

.categoryNav li .event {
    background-color: #FFE067;
    color: #fff;
    border: solid 1px #FFE067;
}

.categoryNav li .club {
    background-color: #A3C1A7;
    color: #fff;
    border: solid 1px #A3C1A7;
}

.categoryNav li .all {
    background-color: #333;
    color: #fff;
    border: solid 1px #333;
}

.categoryNav li .mechanic {
    background-color: #f9320c;
    color: #fff;
    border: solid 1px #f9320c;
}

.categoryNav li .electronic {
    background-color: #f9c00c;
    color: #fff;
    border: solid 1px #f9c00c;
}

.categoryNav li .science {
    background-color: #7200da;
    color: #fff;
    border: solid 1px #7200da;
}

.categoryNav li .datascience {
    background-color: #79bd9a;
    color: #fff;
    border: solid 1px #79bd9a;
}

.categoryNav li .system {
    background-color: #a8dba8;
    color: #fff;
    border: solid 1px #a8dba8;
}

.categoryNav li .design {
    background-color: #cff09e;
    color: #fff;
    border: solid 1px #cff09e;
}

.categoryNav li .architecture {
    background-color: #b84a39;
    color: #fff;
    border: solid 1px #b84a39;
}

.categoryNav li .civilengineering {
    background-color: #6f3826;
    color: #fff;
    border: solid 1px #6f3826;
}

.categoryNav li .lecture {
    background-color: #ef5285;
    color: #fff;
    border: solid 1px #ef5285;
}

.categoryNav li .job {
    background-color: #60c5ba;
    color: #fff;
    border: solid 1px #60c5ba;
}

.categoryNav li .qualification {
    background-color: #feee7d;
    color: #fff;
    border: solid 1px #feee7d;
}

.categoryNav li .other {
    background-color: #353866;
    color: #fff;
    border: solid 1px #353866;
}

.answerNav li .answer {
    background-color: #ff6464;
    color: #fff;
    border: solid 1px #ff6464;
}

.answerNav li .solved {
    background-color: #7ddc76;
    color: #fff;
    border: solid 1px #7ddc76;
}

/***************記事一覧内のカテゴリー色付け用****************/
.course {
    background-color: #FF8562;
}

.textbook {
    background-color: #8AD8E6;
}

.event {
    background-color: #FFE067;
}

.club {
    background-color: #A3C1A7;
}

.all {
    background-color: #333;
}

.mechanic {
    background-color: #f9320c;
}

.electronic {
    background-color: #f9c00c;
}

.science {
    background-color: #7200da;
}

.datascience {
    background-color: #79bd9a;
}

.system {
    background-color: #a8dba8;
}

.design {
    background-color: #cff09e;
}

.architecture {
    background-color: #b84a39;
}

.civilengineering {
    background-color: #6f3826;
}

.lecture {
    background-color: #ef5285;
}

.job {
    background-color: #60c5ba;
}

.qualification {
    background-color: #feee7d;
}

.other {
    background-color: #353866;
}

.answer {
    background-color: #ff6464;
}

.solved {
    background-color: #7ddc76;
}

/************カテゴリータブにカーソルを合わせたとき*************/
.alltab a:hover {
    background-color: #333;
    color: #fff;
    border: solid 1px #333;
}

.coursetab a:hover {
    background-color: #FF8562;
    color: #fff;
    border: solid 1px #FF8562;
}

.textbooktab a:hover {
    background-color: #8AD8E6;
    color: #fff;
    border: solid 1px #8AD8E6;
}

.eventtab a:hover {
    background-color: #FFE067;
    color: #fff;
    border: solid 1px #FFE067;
}

.clubtab a:hover {
    background-color: #A3C1A7;
    color: #fff;
    border: solid 1px #A3C1A7;
}

.mechanictab a:hover {
    background-color: #f9320c;
    color: #fff;
    border: solid 1px #f9320c;
}

.electronictab a:hover {
    background-color: #f9c00c;
    color: #fff;
    border: solid 1px #f9c00c;
}

.sciencetab a:hover {
    background-color: #7200da;
    color: #fff;
    border: solid 1px #7200da;
}

.datasciencetab a:hover {
    background-color: #79bd9a;
    color: #fff;
    border: solid 1px #79bd9a;
}

.systemtab a:hover {
    background-color: #a8dba8;
    color: #fff;
    border: solid 1px #a8dba8;
}

.designtab a:hover {
    background-color: #cff09e;
    color: #fff;
    border: solid 1px #cff09e;
}

.architecturetab a:hover {
    background-color: #b84a39;
    color: #fff;
    border: solid 1px #b84a39;
}

.civilengineeringtab a:hover {
    background-color: #6f3826;
    color: #fff;
    border: solid 1px #6f3826;
}

.lecturetab a:hover {
    background-color: #ef5285;
    color: #fff;
    border: solid 1px #ef5285;
}

.jobtab a:hover {
    background-color: #60c5ba;
    color: #fff;
    border: solid 1px #60c5ba;
}

.qualificationtab a:hover {
    background-color: #feee7d;
    color: #fff;
    border: solid 1px #feee7d;
}

.othertab a:hover {
    background-color: #353866;
    color: #fff;
    border: solid 1px #353866;
}

.answertab a:hover {
    background-color: #ff6464;
    color: #fff;
    border: solid 1px #ff6464;
}

.solvedtab a:hover {
    background-color: #7ddc76;
    color: #fff;
    border: solid 1px #7ddc76;
}

/***************記事がないとき***************/
.articleAlert {
    text-align: center;
    font-weight: bold;
    padding: 20px;
    font-size: 18px;
}




/***************スマホ対応*******************/
@media screen and (max-width: 550px) {
    .profileImg img {
        max-width: 130px;
        width: 130px;
        height: 130px;
    }

    main {
        margin-top: 10%;
        margin-bottom: -70px;
    }
    .main {
        padding-bottom: 0;
    }

    .categoryNav,
    .answerNav {
        width: 85%;
    }

    .categoryNav li a,
    .answerNav li a {
        font-size: 8px;
        height: 20px;
        line-height: 20px;
    }

    .articleNav {
        width: 85%;
    }

    .articleNav h2 {
        font-size: 18px;
    }

    .articleTitle {
        font-size: 12px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .categoryTag,
    .answerTag {
        font-size: 8px;
    }

    .articleImg figure {
        display: flex;
        text-align: center;
        align-items: center;
    }

    .thumbnail {
        max-width: 100%;
        height: 120px;
        margin: 0;
        padding: 0;
        position: relative;
    }

    header {
        box-sizing: border-box;
        top: 0;
        right: 0%;
        width: 35%;
        height: 100%;
        overflow: auto;
        position: fixed;
        background: #ced5db;
        padding-top: 30%;
    }

    .openbtn1 {
        top: 30px;
        right: 30px;
    }
}

/* 上の帯(カテゴリーアイコンがあるところ)における、他のページとの違いをなくす */
.move_category_icon_right_position,
.move_category_icon_left_position {
  top: 0;
}

.fukidashi_lower {
  top: 130%;
}

.fukidashi_lower_trigger {
  margin-top: 1px;
}

.copyright {
  bottom: 6px;
}