* {
    box-sizing: border-box;
}

/* 区切り線 */
.hr {
    margin: 10px;
}

@media screen and (min-width:768px) {
    .hr {
        margin: 20px;
    }
}

/* progressbar */
#progress-bar {
    height: 20px;
}

/* profile */
.profile__name {
    font-size: 22px;
    font-weight: bold;
    color: #141414;
    display: flex;
    justify-content: space-between;
    align-items: flex-end
}

.profile__text-small {
    font-size: 16px;
    font-weight: normal;
}

.profile__orgaanization {
    margin-top: 18px;
    color: #141414;
}

@media not screen and (min-width:768px) {
    .profile__orgaanization {
        display: none;
    }
}

/* 月例アンケートページでは1080px未満でプロフィール枠全体を非表示 */
@media not screen and (min-width: 1080px) {
    .monthly-research-view .profile-group {
        display: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1079px) {
    .profile__orgaanization {
        display: flex;
    }
    .profile__orgaanization-detail+.profile__orgaanization-detail {
        margin-left: 20px;
    }
}

.profile__orgaanization-detail {
    font-size: 16px;
}

.profile {
    background-color: #D4E9F7;
    border-radius: 4px;
    padding: 20px 40px;
}

.profile__edit-button {
    background-color: #626367;
    border-radius: 27px;
    padding: 10px 0px;
    color: #fff;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    transition: opacity 0.3s;
}

.profile__edit-button:hover {
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.profile__state {
    display: flex;
    align-items: baseline;
    font-weight: bold;
    color: #141414;
}

.profile__state-title {
    font-size: 12px;
}

.profile__state-percentage {
    font-size: 24px;
}

@media not screen and (min-width: 1080px) {

    .profile-group {
        padding: 0 20px;
    }

    .profile__state-percentage {
        margin-left: 15px;
    }

    .profile__edit-button {
        margin: 20px auto 0;
        width: 180px;
    }
}

@media screen and (min-width: 768px) {
    .profile__name {
        font-size: 20px;
        justify-content: flex-start;
    }

    .profile__text-small {
        font-size: 14px;
        font-weight: normal;
        margin-left: 20px;
    }

    .profile__orgaanization-detail {
        font-size: 14px;
    }

    .profile__state {
        justify-content: space-between;
    }

    .profile {
        background-color: #D4E9F7;
        border-radius: 4px;
    }

    .profile__edit-button {
        background-color: #626367;
        border-radius: 27px;
        padding: 14px 0;
        color: #fff;
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;

    }

    .profile__inner {
        max-width: 768px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 1080px) {
    .profile {
        padding: 20px 20px;
    }
    .profile-group {
        padding: 30px 32px;
    }
}

/* side-navigation */
.side-navigation {
    width: 100%;
    border-radius: 10px;
}

.side-navigation-text {
    font-size: 18px;
    text-decoration: none;
    color: #141414;
    display: block;
    white-space: nowrap;
    padding: 16px;
    border-radius: 4px;
    position: relative;
}

.side-navigation-text.new-menu {
    background-color: #FEFAEC;
}

.side-navigation-text.new-menu:hover {
    background-color: #FEFAEC;
}

.side-navigation-text:hover {
    text-decoration: none;
    color: #141414;
}

.side-navigation-symbol {
    width: 28px;
    height: 28px;
    vertical-align: bottom;
    margin-right: 10px;
}

.side-navigation-symbol.line {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    margin-left: -5px;
    vertical-align: middle;
}

@media not screen and (min-width: 1080px) {
    .side-navigation-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        padding: 12px 20px 58px;
        overflow-y: auto;
        overscroll-behavior-y: none;
        z-index: 130;
    }
    .side-navigation-menu-inner {
        border: 1px solid #30BBB2;
        padding: 62px 36px 58px;
        border-radius: 10px;
        position: relative;
    }
    .sidebar-visibility {
        display: none;
    }
    .close-button {
        position: absolute;
        top: 16px;
        right: 20px;
        width: 28px;
        cursor: pointer;
    }
}

@media screen and (min-width: 1080px) {
    .side-navigation-text:hover {
        text-decoration: none;
        color: #141414;
        background-color: rgba(0, 0, 0, 0.05);
    }

    .close-button {
        display: none;
    }

    .side-navigation {
        width: 290px;
        background-color: #fff;
        box-shadow: 0px 3px 12px -6px #707070;
    }

    .side-navigation-menu {
        background-color: #fff;
        padding: 0px 10px 58px;
    }

    .side-navigation-symbol {
        width: 16px;
        height: 16px;
        margin-right: 5px;
        vertical-align: text-top;
    }

    .side-navigation-symbol.line {
        width: 20px;
        height: 20px;
        margin-right: 3px;
        margin-left: -2px;
        vertical-align: bottom;
    }

    .side-navigation-text {
        font-size: 14px;
        padding: 8px 12px;
        width: 80%;
        margin: 0 auto;
    }

    .side-navigation {
        width: 290px;
        background-color: #fff;
    }
}

/* サイドバーの背景色 */
.activate-current-page-side-menu {
    background-color: rgba(0, 0, 0, 0.05);
}

/* スカウトバッジ */
.unread-badge {
    font-size: 12px;
    color: white;
    border-radius: 50%;
    background: #FF2E3B;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
}

/* 友人紹介セクション */
.invite-friends-link {
    cursor: pointer;
}
@media not screen and (min-width:1080px) {
    .invite-friends-bannar.pc {
        display: none;
    }
}
.invite-friends-bannar.pc {
    margin-top: 20px;
}
@media screen and (min-width:1080px) {
}
.invite-banner-container {
    padding: 0 20px 30px;
    width: 100%;
}
.invite-banner-title {
    font-size: 16px;
    letter-spacing: 0.04em;
    font-weight: bold;
    color: #141414;
    padding: 8px 0;
    border-top: 1px solid #354056;
    border-bottom: 1px solid #354056;
}
@media screen and (min-width: 1080px){
    .invite-banner-container {
        display: none;
    }
}

/* 未ログイン状態のサイドバー */

.guest-user-sidebar {
    padding: 30px 32px 30px;
}

@media screen and (min-width: 1080px) {
    .guest-user-register-contaienr {
        padding: 20px;
        background-color: #d3e9f7;
        border-radius: 5px;
    }
}

@media not screen and (min-width: 1080px) {
    .guest-user-sidebar {
        width: 100%;
        height: 100%;
        background-color: #fff;
        padding: 12px 20px 58px;
        overflow-y: auto;
        overscroll-behavior-y: none;
    }
    .guest-user-sidebar-inner {
        padding: 60px 20px 60px;
        border: 1px solid #141414;
        border-radius: 5px;
    }
}

.guest-user-register-contaienr>div+div {
    margin-top: 20px;
}

.guest-user-button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guest-user-login-button {
    height: 48px;
    border-radius: 50px;
    border: 2px solid #C8E8FF;
    font-size: 16px;
    font-weight: 700;
    color: #0082D8;
    background-color: #fff;
}

.guest-user-login-button:hover {
    background-color: #fff;
    opacity: 0.8;
}

.guest-user-register-button {
    height: 48px;
    border-radius: 50px;
    border: 2px solid transparent;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #2D96DC 0%, #0082D8 70%, #0082D8 100%);
    box-shadow: 2px 2px 8px 0px #387FE926;
}

.guest-user-register-button:hover {
    opacity: 0.8;
}

.p-hamburger__line {
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 18px;
    height: 2px;
    background-color: #000;
    -webkit-transition: inherit;
    transition: inherit;
}

.side-navigation-symbol.guest-user {
    width: 22px;
    height: 22px;
}
