@charset "UTF-8";

.Information_icon {
    display: none;
}

/* 上の帯(カテゴリーアイコンがあるところ)における、他のページとの違いをなくす */
.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;
}

body {
    font-family: 'arial', 'Hiragino Sans', 'Meiryo', sans-serif;
    font-size: 16px;
    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;
    display: block;
}

.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: -20%;
    transition: all 0.5s 0s ease;
}

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

a {
    color: #003366;
}

/**********************コメントのタイトルのデザイン***********************/
.commenthead {
    font-size: 24px;
    margin-bottom: 20px;
    color: #003366;
    display: flex;
    align-items: center;
}

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

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

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

aside a:hover {
    opacity: 0.6;
}

button:hover {
    opacity: 0.6;
}

/*********************************ブログの構成*****************************/
.flex {
    display: flex;
    justify-content: flex-start;
}

.blog {
    width: 1240px;
    margin: 100px auto 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

main {
    /* flex-basis: 920px; */
    width: 70%;
}

main h2 {
    width: 800px;
    margin: 0 auto 15px;
}

aside {
    /* flex-basis: 284px; */
    width: 30%;
}

/********************************プロフィール********************************/
.profile {
    position: relative;
}

.profile h2 {
    text-align: center;
}

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

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

/*****************************記事一覧***************************/
aside nav {
    width: 90%;
    margin-bottom: 20px;
}

aside nav h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #003366;
}

aside nav ul li {
    border-bottom: 1px solid #003366;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

aside nav ul li a {
    font-size: 13px;
    display: block;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}


article {
    width: 800px;
    padding-bottom: 20px;
    margin: 0 auto 20px;
}

/********************コメント表示***********************/
.commentRead {
    width: 800px;
    margin: 0 auto 30px;
    border-bottom: #003366;
}

.commentRead h2 {
    margin-bottom: 15px;
    font-size: 30px;
}

.commentWriter {
    margin-bottom: 5px;
    font-size: 14px;
}

.commentFlex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.commentContent {
    background-color: #e0edff;
    border-radius: 5px;
    padding: 4px 4px;
}

.commentDate {
    margin-right: 5px;
    font-size: 10px;
    font-weight: 400;
    padding-bottom: 0;
}

.commentImg {
    width: 50%;
    object-fit: cover;
    height: auto;
    margin: 7px 5px 5px;
}

.commentContent p {
    line-height: 1.7;
    margin: 0 5px 0;
    letter-spacing: 0.05em;
    font-size: 14px;
}

/*************************コメントを書く*************************/
.commentWirte {
    width: 800px;
    margin: 0 auto 10px;
}

.commentDelete {
    text-align: right;
    padding: 5px 3px;
    font-size: 1vw;
}

form p {
    margin-bottom: 20px;
    font-size: 16px;
}

.required {
    background: #ff704c;
    padding: 1px 4px;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
    margin-right: 10px;
    border-radius: 3px;
    vertical-align: middle;
}

input[type="text"],
button[type="submit"],
textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    margin-top: 5px;
    width: 100%;
    padding: 5px 5px;
}

textarea {
    resize: vertical;
}

#image_upload_button {
    display: none;
}

#filebutton {
    display: block;
    text-align: center;
    padding: 10px 10px;
    width: 200px;
    border-radius: 16px;
    background-color: #333333;
    color: #ffffff;
    font-size: 10px;
    margin-bottom: 10px;
}

#clearbutton {
    display: block;
    text-align: center;
    padding: 6px 6px;
    width: 50px;
    border-radius: 5px;
    background-color: #5d96ff;
    color: #ffffff;
    font-size: 10px;
    margin-left: 10px;
    margin-bottom: 18px;
}

#fileName {
    padding-left: 10px;
    font-size: 8px;
    margin-bottom: 10px;
}

#submitButton {
    font-size: 14px;
    display: block;
    text-align: center;
    padding: 10px 10px;
    width: 100px;
    margin-left: auto;
    background-color: #333333;
    color: #ffffff;
    opacity: 0.2;
}


/***************************ブロック全体*************************/
.block {
    resize: none;
    display: block;
    margin: 10px auto 0px;
    padding: 8px;
    color: #333;
    transition: background-color 0.5s 0.1s ease;
}

/************************カテゴリー******************************/
.course {
    background-color: #FF8562;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.textbook {
    background-color: #8AD8E6;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.event {
    background-color: #FFE067;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.club {
    background-color: #A3C1A7;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.lecture {
    background-color: #ef5285;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.job {
    background-color: #60c5ba;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.qualification {
    background-color: #feee7d;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.mechanic {
    background-color: #f9320c;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.electronic {
    background-color: #f9c00c;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.science {
    background-color: #7200da;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.datascience {
    background-color: #79bd9a;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.system {
    background-color: #a8dba8;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.design {
    background-color: #cff09e;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.architecture {
    background-color: #b84a39;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.civilengineering {
    background-color: #6f3826;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.other {
    background-color: #353866;
    margin: 0.3em 0.3em 0;
    padding: 0.1em 0.75em;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
}

.category a:hover {
    opacity: 0.6;
}

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

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

.answerCategory a:hover {
    opacity: 0.6;
}

#posttime {
    margin-left: 8px;
}

.profileIcon {
    margin-top: 5px;
    align-items: center;
}

.profileIcon img {
    width: 38px;
    border-radius: 10%;
}

.profileIcon p {
    margin-left: 8px;
    font-size: 12px;
    padding: 4px;
}

/*************************記事のブロック****************************/
.blogtitle {
    text-align: start;
    color: #003366;
    font-size: 36px;
    font-weight: 700;
}

/* 見出しブロック */
.heading2 {
    display: flex;
    align-items: center;
    width: 800px;
    height: 58px;
    padding: 8px 8px 8px 20px;
    margin: 20px auto;
    font-size: 28px;
    color: #fff;
    background-color: #003366;
}

/*段落ブロック*/
.paragraph {
    width: 800px;
    font-size: 18px;
    text-align: justify;
    line-height: 1.7;
}

.image {
    display: block;
    max-width: 65%;
    margin: 0 auto 30px;
}

/*********************************スマホ対応***************************/
@media screen and (max-width: 550px) {
    .openbtn1 {
        position: fixed;
        top: 30px;
        right: 30px;
        /*ボタン内側の基点となるためrelativeを指定*/
        background: #0b3366;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 5px;
        z-index: 1000;
        transition: all 0.5s 0s ease;
    }

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

    .blog {
        display: block;
        width: 85%;
        margin: 10% auto 0;
    }

    main,
    aside,
    article,
    aside nav {
        width: 100%;
    }

    main {
        margin-top: 60px;
        margin-bottom: 50px;
    }

    .commenthead,
    .commentRead,
    .commentWirte {
        width: 100%;
        font-size: 5vw;
    }

    .profile {
        display: none;
    }

    .blogtitle {
        width: 100%;
        text-align: start;
        color: #003366;
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 0px;
    }

    /* 見出しブロック */
    .heading2 {
        display: flex;
        align-items: center;
        width: 100%;
        height: 20%;
        padding: 6px;
        margin: 10px auto;
        font-size: 20px;
        color: #fff;
        background-color: #003366;
    }

    /*段落ブロック*/
    .paragraph {
        width: 100%;
        font-size: 15px;
        text-align: justify;
        line-height: 1.7;
    }

    .image {
        display: block;
        width: 60%;
        margin: 0 auto 30px;
    }

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