header {
    height: 100px;
    padding: 10px;
    border-bottom: 1px solid #d51318;
}

header > a {
    height: inherit;
    display: inline-block;
    color: transparent;
    letter-spacing: normal;
    white-space: normal;
    vertical-align: top
}

main {
    width: 95%;
    max-width: 768px;
    margin: 10px auto;
}

p {
    margin: 10px 0;
    font-size: x-large;
    font-weight: bold;
}


.btn-light {
    --bs-btn-bg: #c6c7c8;
    --bs-btn-border-color: #c6c7c8;
    --bs-btn-active-bg: #ffffff;
    --bs-btn-active-border-color: #ffffff;
}

.hamburger-menu {
    display: none;
}

.pc-menu {
    display: flex;
    align-items: center;
    width: 250px;
    justify-content: right;
}

.circle-list {
}

.logo {
    min-width: 520px;
    margin-right: auto
}

.list-comment {
    border-bottom: 1px solid #dddddd;
}

.icon {
    height: 100%;
}

.bIcon {
    height: 30px;
}

.category {
    margin: 10px auto;
    width: 200px;
}

.comments {
    display: block;
    text-align: center;
}

.default_comment {
    display: block;
}

ul {
    list-style-type: none;
}

.comment {
    border-bottom: 1px solid #ccc;
    position: relative;
}

.form-title {
    font-size: large;
    font-weight: bold;
    margin-bottom: 0;
}

.form-item {
    margin: 1.5rem 0;
}

.circles {
    border: 1px solid #ccc;
    margin: 10px 0;
    padding: 10px 20px;
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 5px;
}

.circle-title {
    text-align: left;
    font-size: larger;
}

.circle-title, .circle-categories {
    width: 90%;
}

.circle-categories {
    text-align: left;
    margin-left: 1rem;
}

.size-input {
    width: 80px;
    display: inline;
}

.arrow-right {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0 10px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 1rem;
}

.pc-about-message {
}

.sp-about-message {
    display: none;
}

table {
    margin: 20px auto;
}

table th {
    font-weight: normal;
}

table th, table td {
    padding: 15px 50px;
}

tbody {
    background-color: #fdd;
    padding: 20px;
}

.slide > img{
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.genre {
    width: 100%;
}

.genre > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 24%;
}

.genre > div >  button {
    border: none;
    background-color: transparent;
}

.genre > div > button > img {
    width: 100%;
}

.university {
    width: 100%;
}

.university > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 24%;
}

.university > div > button {
    border: none;
    background-color: transparent;
}

.university > div > button > img {
    width: 100%;
}

@media screen and (max-width: 768px) {
    header {
        height: 60px;
    }

    header > a {
        height: inherit;
        display: inline-block;
        color: transparent;
    }

    .logo {
        min-width: initial;
    }

    form {
        width: 100%;
        margin: 0 auto;
    }

    .hamburger-menu {
        display: inline-block;
        letter-spacing: normal;
        white-space: normal;
    }

    .pc-about-message {
        display: none;
    }

    .pc-menu {
        display: none;
    }

    .menu-btn {
        position: fixed;
        top: 10px;
        right: 10px;
        display: flex;
        height: 30px;
        width: 30px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        background-color: #f99;
    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #ffffff;
        position: absolute;

    }

    .menu-btn span:before {
        bottom: 8px;
    }

    .menu-btn span:after {
        top: 8px;
    }

    #menu-btn-check:checked ~ .menu-btn span {
        background-color: rgba(255, 255, 255, 0); /*メニューオープン時は真ん中の線を透明にする*/
    }

    #menu-btn-check:checked ~ .menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    #menu-btn-check:checked ~ .menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #menu-btn-check {
        display: none;
    }

    .menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 80;
        background-color: #f99;
    }

    .menu-content ul {
        padding: 70px 10px 0;
    }

    .menu-content ul li {
        border-bottom: solid 1px #ffffff;
        list-style: none;
    }

    .menu-content ul li a {
        display: block;
        width: 100%;
        font-size: 15px;
        box-sizing: border-box;
        color: #ffffff;
        text-decoration: none;
        padding: 9px 15px 10px 0;
        position: relative;
    }

    .menu-content ul li a::before {
        content: "";
        width: 7px;
        height: 7px;
        border-top: solid 2px #ffffff;
        border-right: solid 2px #ffffff;
        transform: rotate(45deg);
        position: absolute;
        right: 11px;
        top: 16px;
    }

    .menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%; /*leftの値を変更してメニューを画面外へ*/
        z-index: 80;
        background-color: #f99;
        transition: all 0.5s; /*アニメーション設定*/
    }


    #menu-btn-check:checked ~ .menu-content {
        left: 0; /*メニューを画面内へ*/
    }

    table th, table td {
        padding: 15px 10px;
    }

    .sp-about-message {
        display: block;
    }


    .slide > img{
        height: 90px;
    }

    .genre {
        width: 100%;
    }

    .genre > div {
        width: 48%;
    }

    .genre > div > button > img {
        width: 100%;
    }

    .university {
        width: 100%;
    }

    .university > div {
        width: 48%;
    }

    .university > div > button > img {
        width: 100%;
    }
}