@charset "utf-8";

/* 全体 */

:root {
    --lavender: #FDB86D;
    --purple: #f08300;
    --base: rgba(240, 240, 240, 1);
    --gray: rgba(123, 123, 123, 1);
    --blue: #3F73BE;
}

*,
*b::before,
::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "游ゴシック体", "游ゴシック", "Yu Gothic", sans-serif;
    background-color: var(--base);
}

.right-wrapper {
    width: 100%;
}

.right-wrapper .flex-wrapper {
    display: block;
}

.sp-wrapper {
    display: flex;
    align-items: center;
    gap: 3%;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.main-container {
    width: 90%;
    margin: 0 auto;
}

.btn {
    border: none;
    font-weight: bold;
    padding: 6px 15px;
    white-space: nowrap;
}

.btn:active {
    margin-bottom: -3px;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active {
    background-color: var(--blue);
    border: none;
    box-shadow: 0.25rem 0.25rem 0.25rem rgb(0 0 0 / 8%);
    /* font-weight: bold; */
    /* padding: 6px 40px; */
    color: #fff;
    --bs-btn-bg: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-hover-bg: var(--blue);
    --bs-btn-hover-border-color: var(--blue);
    --bs-btn-active-bg: var(--blue);
    --bs-btn-active-border-color: var(--blue);
    --bs-btn-disabled-bg: var(--blue);
    --bs-btn-disabled-border-color: var(--blue);
}

.btn-link,
.btn-link:hover,
.btn.btn-link:active {
    background-color: var(--lavender);
    text-decoration: none;
    /* padding: 6px 40px; */
    color: #fff;
    box-shadow: 0.25rem 0.25rem 0.25rem rgb(0 0 0 / 8%);
    /* font-weight: bold; */
    --bs-btn-color: white;
}

.btn-success,
.btn-success:hover,
.btn-success:active {
    background-color: var(--purple);
    border: none;
    box-shadow: 0.25rem 0.25rem 0.25rem rgb(0 0 0 / 8%);
    /* font-weight: bold; */
    /* padding: 6px 40px; */
    --bs-btn-bg: var(--purple);
    --bs-btn-border-color: var(--purple);
    --bs-btn-hover-bg: var(--purple);
    --bs-btn-hover-border-color: var(--purple);
    --bs-btn-active-bg: var(--purple);
    --bs-btn-active-border-color: var(--purple);
    --bs-btn-disabled-bg: var(--purple);
    --bs-btn-disabled-border-color: var(--purple);
}

.btn.btn-gray,
.btn.btn-gray:hover,
.btn.btn-gray:active {
    background-color: #ccc;
    border: none;
    /* font-weight: bold; */
    color: #fff;
    /* padding: 6px 40px; */
    --bs-btn-color: white;
    --bs-btn-bg: #ccc;
    --bs-btn-border-color: #ccc;
    --bs-btn-hover-border-color: #ccc;
    cursor: default;
    margin: 0;
}

.btn.btn-gray2,
.btn.btn-gray2:hover,
.btn.btn-gray2:active {
    background-color: #ccc;
    border: none;
    /* font-weight: bold; */
    color: #fff;
    /* padding: 6px 40px; */
    --bs-btn-color: white;
    --bs-btn-bg: #ccc;
    --bs-btn-border-color: #ccc;
    --bs-btn-hover-border-color: #ccc;
    cursor: pointer;
    margin: 0;
    box-shadow: 0.25rem 0.25rem 0.25rem rgb(0 0 0 / 8%);
}

.nav-link.btn.btn-primary,
.nav-link.btn.btn-primary:hover {
    background-color: var(--blue);
}

.circle::after {
    content: "　●";
    color: red;
    vertical-align: middle;
    font-size: 0.4rem;
}

h2 {
    font-weight: bold;
    font-size: 1.3em;
    margin: 10px auto 20px;
}

.form-control {
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}

@media (min-width: 992px) {
    .btn {
        padding: 6px 40px;
    }

    .sp-wrapper {
        justify-content: flex-end;
        flex-wrap: nowrap;
    }
}

/* リッチテキストエディタ */

.trix-button-row {
    justify-content: start !important;
}

.trix-button--icon-link,
.trix-button--icon-attach,
.trix-button--icon-undo,
.trix-button--icon-redo,
.trix-button--icon-decrease-nesting-level,
.trix-button--icon-increase-nesting-level,
.trix-button-group--file-tools,
.trix-button-group--history-tools {
    display: none !important;
}

.trix-button:active {
    margin: 0 !important;
}

trix-editor {
    min-height: 140px !important;
    height: auto;
    max-height: 500px;
    overflow: auto;
}

@media (min-width: 992px) {
    .right-wrapper .flex-wrapper {
        display: flex;
        /* flex-wrap: wrap; */
        align-items: center;
        justify-content: flex-end;
    }

    .main-container {
        width: 50%;
        margin: 0 auto;
    }
}

/* header */

.bg-white {
    background-color: var(--lavender) !important;
}

.navbar {
    margin-bottom: 40px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    --bs-navbar-active-color: white;
    --bs-navbar-brand-color: white;
    --bs-navbar-brand-hover-color: white;
    --bs-navbar-color: white;
    --bs-navbar-hover-color: white;
    --bs-navbar-disabled-color: white;
}

h1 {
    padding: 0;
    font-size: 1.1rem;
}

.navbar-brand {
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1.2;
    text-shadow: 0.25rem 0.25rem 0.25rem rgb(0 0 0 / 8%);
    margin: 0;
    display: block;
}

.navbar-brand:hover {
    color: #fff;
}

.navbar-brand a {
    padding: 0;
}

.sub-title {
    font-size: 0.8rem;
    font-weight: normal;
    text-shadow: 0.25rem 0.25rem 0.25rem rgb(0 0 0 / 8%);
}

.btn.nav-link,
.btn.nav-link:hover,
.btn.nav-link:active {
    color: #fff;
    font-weight: bold;
    margin: 10px;
    background-color: var(--purple);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-bg: var(--purple);
    --bs-btn-border-color: var(--purple);
    --bs-btn-hover-border-color: var(--purple);
    border: none;
}

.error {
    color: red;
    font-weight: bold;
}

.navbar-nav.ms-auto {
    margin: 10px 0;
    width: 100%;
    display: contents;
}

/* #content::placeholder {
    color: var(--gray) !important;
} */

@media (min-width: 992px) {
    .navbar-nav.ms-auto {
        margin: 0;
    }
}

/* login */

.card {
    border: none;
    box-shadow: 0.25rem 0.25rem 0.25rem rgb(0 0 0 / 8%);
}

.card-header {
    background-color: #fff;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 16px 30px;
}

.col-form-label {
    font-weight: bold;
}

#navbarDropdown {
    border-radius: 5px;
    padding: 6px 30px;
    color: #fff;
    font-weight: bold;
    margin: 10px;
    background-color: var(--purple);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-bg: var(--purple);
    --bs-btn-border-color: var(--purple);
    --bs-btn-hover-border-color: var(--purple);
    border: none;
    margin: 0 !important;
}

.nav-item.dropdown {
    width: fit-content;
}

.row.justify-content-center {
    width: 100%;
    margin: 0;
}

/* index */

.container {
    justify-content: space-between !important;
}

/* search create-btn*/

.search-form>input {
    width: 260px;
}

.flex-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-form {
    display: flex;
}

.btn.btn-search,
.btn.btn-search:hover,
.btn.btn-search:active {
    background-color: #fff;
    color: var(--gray);
    border: none;
    margin-left: 20px;
    --bs-btn-color: var(--gray);
    --bs-btn-bg: white;
    --bs-btn-border-color: white;
    --bs-btn-hover-border-color: white;
    --bs-btn-disabled-opacity: 1;
    padding: 6px 20px;
}

.btn.btn-search:active {
    margin-top: 3px;
}

@media (min-width: 992px) {
    .flex-wrapper {
        gap: 4%;
    }
}

/* Q＆A */

.qa-wrapper {
    background-color: #fff;
    box-shadow: 0.25rem 0.25rem 0.25rem rgb(0 0 0 / 8%);
    border-radius: 5px;
    padding: 25px 60px;
    margin-bottom: 35px;
    position: relative;
}

@media (max-width: 992px) {
    .qa-wrapper {
        padding: 20px 25px;
    }
}

.pin {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.pin>i {
    line-height: 50px;
    width: 100%;
    display: block;
    font-size: 23px;
    text-align: center;
    color: var(--purple);
}

.tooltip {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    right: 0;
    top: 55px;
    font-size: .8rem;
    background-color: #bbb;
    color: white;
    letter-spacing: 1px;
    display: inline-block;
    white-space: nowrap;
    border-radius: 5px;
    padding: 7px;
    z-index: 10;
}

.bi-question-circle-fill {
    display: inline-block;
    font-size: .8rem;
    padding-right: 5px;
}

.tooltip:before {
    content: '';
    position: absolute;
    top: -12px;
    right: 16px;
    margin-left: -7px;
    border: 7px solid transparent;
    border-bottom: 7px solid #bbb;
}

.pin:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.detail-btn {
    color: #000;
    text-decoration: none;
    display: block;
}

.detail-btn:hover {
    color: #000;
    text-decoration: none;
    display: block;
}

.date {
    font-size: 0.8rem;
    margin: 0;
    color: var(--gray);
}

.title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.bi-paperclip {
    color: var(--gray);
}

.fa-tag,
.bi-sticky-fill {
    margin-right: 10px;
    color: var(--purple);
}

.tag {
    display: inline-block;
    color: var(--purple);
    font-size: .9rem;
    margin-bottom: 8px;
}

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

.between>a {
    display: none;
}

.comment-count,
.read-count {
    margin: 0;
    color: var(--gray);
    text-decoration: underline solid var(--gray) 1px;
    white-space: nowrap;
}

.fa-circle-user {
    color: var(--gray);
    font-size: 1.05rem;
    margin-right: 5px;
}

.penname {
    color: var(--gray);
    margin: 0;
}

.pagination {
    border: none;
    margin-bottom: 100px;
    justify-content: center;
    --bs-pagination-disabled-bg: var(--base);
}

.disable {
    display: none !important;
}

.page-item>* {
    background-color: none;
}

.page-link.active,
.active>.page-link {
    color: var(--purple);
    background-color: var(--base);
    text-decoration: solid var(--purple) 1px underline;
    font-weight: bold;
}

.page-link {
    color: var(--purple);
    background-color: var(--base);
    border: none;
}

/* detail */

.create {
    margin: 10px 0;
}

.qa-wrapper .genre {
    margin-top: 16px;
    color: var(--purple);
    font-size: .9rem;
}

.qa-wrapper .content {
    margin: 30px 0;
    overflow-wrap: break-word;
}

.qa-wrapper .img_path {
    height: auto;
    width: auto;
}

.qa-wrapper h5 {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 3rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--purple);
    padding-bottom: 2px;
}

.text {
    margin-bottom: 5px;
}

.qa-wrapper img {
    max-width: 90%;
    display: block;
    margin: 0 auto 30px;
}

.right-auto {
    gap: 0;
    margin-top: 50px;
    justify-content: flex-end;
}

.right-auto .penname {
    margin-right: auto;
}

.right-auto>a {
    color: var(--gray);
    padding: 6px;
}

.display-btn {
    color: var(--gray);
    padding: 6px !important;
}

.qa-wrapper>.flex-wrapper {
    display: flex;
    /* flex-wrap: wrap; */
}

.zoom-in {
    cursor: zoom-in;
}

.comment-btn {
    margin: 20px 0 20px 20px !important;
}

.comment-btn a:active {
    margin: 3px 0 -3px;
}

.comment-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 80px;
}

.comment .penname {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.commentbtn-wrapper {
    margin-left: auto;
    text-align: right;
}

.commentbtn-wrapper a {
    color: var(--gray);
    padding: 6px;
}

#lightboxOverlay {
    background-color: rgba(0, 0, 0, 0.7);
}

.lb-container {
    background-color: var(--gray);
}

.bi-filetype {
    font-size: 1.4rem;
}

@media (min-width: 992px) {
    .comment-btn {
        margin: 0;
    }

    .create {
        margin: 15px 0;
    }
}

.attachment-img {
    display: inline-block;
}

@media (max-width: 992px) {
    .attachment-img {
        display: block;
    }

}

.attachment-img img {
    height: 180px;
    width: 180px;
    object-fit: contain;
}

/* createForm */

.create-container {
    background-color: #fff;
    box-shadow: 0.25rem 0.25rem 0.25rem rgb(0 0 0 / 8%);
    border-radius: 5px;
    padding: 25px 60px;
    margin-bottom: 35px;
}

.create-container input,
.create-container select,
.create-container textarea {
    display: block;
}

.create-container input[type="checkbox"] {
    display: inline-block;
}

.create-container label {
    font-weight: bold;
    margin: 30px 0 10px;
}

.create-container .check_label {
    font-weight: normal;
    margin: 0px 0 30px;

}

.create-genre,
.create-tag,
.create-img {
    width: 100%;
}

.create-tag,
.url {
    margin-bottom: 15px;
}

.flex-wrapper.start {
    display: block;
}

.create-img {
    margin-bottom: 10px;
}

.create-container button {
    margin: 50px auto 0;
    text-align: center;
    display: block;
}

.create-container button:active {
    margin: 53px auto -3px;
}

@media (min-width: 992px) {

    /* .create-genre,
    .create-tag,
    .create-img {
        width: 50%;
    } */

    /* .flex-wrapper.start {
        display: flex;
        justify-content: start;
        align-items: start;
        gap: 15px;
    } */
}


/* updateForm */

.btn-wrapper {
    justify-content: center;
    align-items: center;
    margin: 40px;
}

.btn-wrapper>* {
    margin: 0 !important;
}

.btn-wrapper button:active {
    margin: 3px 0 -3px !important;
}

/* （共通）ランキング（固定） */

.rank-container {
    display: none;
}

.rank-container p {
    font-weight: bold;
    margin-bottom: 20px;
}

.rank-container i {
    margin-right: 8px;
    font-size: 1.1rem;
    color: var(--purple);
    align-self: flex-start;
}

.rank-container i::before {
    display: block;
}

.rank-container a {
    text-decoration: none;
    color: #000;
    overflow-wrap: break-word;
    margin-bottom: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    border-bottom: 3px solid var(--lavender);
}

.rank-container a>p {
    margin: 0;
    font-weight: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-container::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.rank-container::-webkit-scrollbar-track {
    background-color: #ccc;
    border-radius: 5px;
}

.rank-container::-webkit-scrollbar-thumb {
    background-color: var(--lavender);
    border-radius: 5px;
}

/* Firefox用 */

.rank-container {
    scrollbar-width: thin;
    scrollbar-color: var(--lavender) #ccc;
}

@media (min-width: 992px) {
    .rank-container {
        display: block;
        background-color: #fff;
        box-shadow: 0.25rem 0.25rem 0.25rem rgb(0 0 0 / 8%);
        border-radius: 5px;
        padding: 20px;
        width: 15%;
        position: fixed;
        top: 132px;
        left: 5.5vw;
        bottom: 132px;
        /* max-height: 60vh; */
        overflow: auto;
    }
}

/* （共通）タグ検索 */

.select-container {
    display: none;
}

.select-container label {
    font-weight: bold;
    margin-bottom: 15px;
}

.select-container select {
    display: block;
    margin-bottom: 30px;
}

.select-container button {
    margin: 50px auto 20px;
    display: block;
    width: 100%;
}

.select-container button:active {
    margin: 53px auto 17px;
}

@media (min-width: 992px) {
    .select-container {
        display: block;
        background-color: #fff;
        box-shadow: 0.25rem 0.25rem 0.25rem rgb(0 0 0 / 8%);
        border-radius: 5px;
        padding: 20px;
        margin-bottom: 20px;
        width: 15%;
        position: fixed;
        top: 132px;
        right: 5.5vw;
    }
}

/* ユーザー管理画面 */

.customer-list {
    margin: auto;
}

.customer-list__container {
    max-width: 1440px;
    width: 100%;
    margin: auto;
    padding: clamp(24px, 2.5vw, 40px) clamp(36px, 3.5vw, 60px);
}

.customer-list__container__head {
    width: 100%;
}

.customer-list__container__head h2 {
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: bold;
    margin-bottom: clamp(10px, 1.2vw, 16px);

    span {
        color: var(--purple);
    }
}

.customer-list__left-group {
    position: relative;
}

.customer-list__search {
    width: 100%;
}

.customer-list__search form {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 3%;
    /* width: 30%; */
    margin: 1.2rem;
}

.customer-list__search form .search {
    width: 260px;
    padding: 0.6rem;
    border-radius: 5px;
    line-height: 1;
    border: none;
}

.customer-list__search form button,
.customer-list__search form button:hover {
    transition: all 0.4s;
    display: inline-block;
    /* width: 30%; */
    background-color: var(--purple);
    /* font-size: clamp(10px, 1vw, 14px); */
    padding: 0.8rem 20px;
    color: #fff;
    font-weight: bold;
    word-break: keep-all;
    border-radius: 5px;
    line-height: 1;
    border: none;
}

.customer-list__search form button:active {
    margin-bottom: -3px;
}

.customer-list__container__table-bg {
    width: 100%;
    padding: clamp(14px, 1.2vw, 20px);
    background-color: #fff;
    border-radius: 10px;
    box-shadow: inset 0px 0px 7px rgba(#000, 0.25);
}

.customer-list__container__table-bg__customerTable {
    background-color: #fff;
    border-radius: 10px;
    height: clamp(300px, 54vh, 600px);
    overflow-y: auto;
    width: 100%;
}

table {
    width: 100%;
    font-size: clamp(12px, 1vw, 18px);
}

thead tr {
    background-color: #fff;
}

thead th {
    background-color: #a8a7af;
    position: sticky;
    top: 0;
}

thead h3 {
    line-height: 1;
    padding: 1rem .5rem;
    color: #fff;
    text-align: center;
    /* font-size: clamp(10px,1vw,14px); */
    font-size: 1rem;
    margin: 0;
    white-space: nowrap;
}

tbody td {
    border-bottom: 1px solid #a8a7af;
}

tbody tr td:first-child {
    padding-left: 15px;
}

tbody tr td:last-child {
    width: auto;
    text-align: start;
}

tbody p {
    padding: 0.5rem 0.7rem;
    text-align: center;
    font-size: 1rem;
    margin: 0;
    white-space: nowrap;
}

tbody button,
tbody a {
    margin: 5px auto !important;
    line-height: 1;
    font-size: 1rem !important;
    background-color: var(--purple);
    border-radius: 3px;
    padding: 0.4rem;
    color: #fff;
    font-weight: bold;
    box-shadow: 1px 2px 0 rgba(#000, 0.15);
    word-break: keep-all;
    display: block;
    width: fit-content;
}

tbody a:hover {
    background-color: darken(var(--purple), 10%);
}

.customer-list__wrapper-btn {
    display: flex;
    align-items: center;
}

.bulk-update-button {
    background: #3f73be !important;
}

.sortable-link {
    color: #fff;
    transition: .2s;
}

.sortable-link:hover {
    color: #333;
}

#user-table-body input[type="checkbox"] {
    width: 15px;
    height: 15px;
}

@media (min-width: 992px) {

    tbody tr td:last-child {
        width: 40%;
    }

    tbody tr td:last-child {
        width: auto;
        text-align: center;
    }

    thead h3 {
        padding: 1rem;
    }

    .customer-list__search form {
        gap: 15px;
    }
}

@media (max-width: 992px) {

    .customer-list__wrapper-btn {
        flex-wrap: wrap;
    }

    .customer-list__search form {
        margin-left: 0;
    }

}

/* ポータルサイトに戻るボタン */

.back-btn {
    width: 200px;
    margin-bottom: 20px;
    text-align: center;
}

.back-btn a {
    display: block;
    text-decoration: none;
    color: #80797d;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid #80797d;
    border-radius: 25px;
    padding: 5px;
    transition: .3s;
}

.back-btn i {
    margin-right: 5px;
}

.back-btn a:hover {
    color: #fff;
    background: #b3aaae;
    border: 1px solid #b3aaae;
    padding-left: 0;
}

/* ポータルサイト */

.header-nav {
    margin-bottom: 0 !important;
    width: 100%;
}

.bg_pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: -1;
}

.Polka {
    background-image: radial-gradient(#e8ded3 1.5px, #fff 1.5px);
    background-size: 15px 15px;
}

.dashboard__container {
    display: flex;
}

/* Sidebar */

#sidebar {
    position: relative;
    flex-basis: 20%;
    font-size: 0.9rem;
    padding-top: 2rem;
}

#sidebar::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 30px;
    width: 80px;
    height: 80px;
    background: rgba(220, 211, 178, 0.5);
    border-radius: 50%;
    z-index: -1;
}

.sidebar__container {
    margin-left: 1.5rem;
}

.sidebar__nav ul {
    list-style: none;
}

.sidebar__nav ul li {
    height: 100%;
    width: 100%;
}

.sidebar__nav ul li i {
    margin: 0 1rem 0 0.5rem;
}

.sidebar__nav a {
    position: relative;
    color: #59422a;
    text-decoration: none;
    display: block;
    padding: 0.9rem 0;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.sidebar__nav a:hover {
    transform: translateX(10px);
    opacity: 0.8;
}

.sidebar__nav a::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #fdb86d;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;

}

.sidebar__nav a:hover::after,
.sidebar__nav a.active::after {
    transform: scale(1, 1);
}

.aligned-text {
    display: inline-block;
    line-height: 1.5;
}

.aligned-text span {
    display: inline-block;
    padding-left: 2.4rem;
}

.slack-list::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(/img/slack-new-logo.svg);
    margin: 0 1rem 0 0.5rem;
    vertical-align: middle;
}

/* Hamburger */

#sidebar__nav--toggle {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    height: auto;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
}

#sidebar__nav--toggle div {
    position: relative;
    height: 25px;
    width: 30px;
}

#overlay {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, .6);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

@media(max-width: 992px) {

    #sidebar {
        position: fixed;
        font-size: 14px;
        right: -300px;
        top: 0;
        height: 100%;
        width: 300px;
        background: #fff;
        transition: .40s ease-in-out;
        overflow-y: auto;
    }

    #sidebar::before {
        display: none;
    }

    #sidebar__nav--toggle {
        display: block;
    }

    /* Hamburger close */
    #sidebar__nav--toggle span {
        display: block;
        width: 100%;
        height: 2px;
        left: 0;
        background: rgba(109, 85, 61, 0.75);
        position: absolute;
        transition: .35s ease-in-out;
        border-radius: 3px;
    }

    #sidebar__nav--toggle span:nth-child(1) {
        top: 0px;
    }

    #sidebar__nav--toggle span:nth-child(2) {
        top: 11px;
    }

    #sidebar__nav--toggle span:nth-child(3) {
        top: 22px;
    }

    /* Hamburger open */
    .open {
        overflow: hidden;
    }

    .open #overlay {
        display: block;
    }

    .open #sidebar {
        transform: translate3d(-300px, 0, 0);
    }

    .open #sidebar__nav--toggle span:nth-child(1) {
        top: 11px;
        transform: rotate(45deg);
    }

    .open #sidebar__nav--toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open #sidebar__nav--toggle span:nth-child(3) {
        top: 11px;
        transform: rotate(-45deg);
    }

    /* z-index */

    #overlay {
        z-index: 200;
    }

    #sidebar {
        z-index: 300;
    }

    #sidebar__nav--toggle {
        z-index: 400;
    }
}

/* Dashboard*/

#dashboard {
    flex-basis: 80%;
    background: #F9F7F5;
    border-radius: 15px 0 0 0;
    margin: 0 0 0 20px;
    padding: 30px 0;
    box-shadow: 0 0 40px rgba(153, 136, 119, 0.5);
}

/* Dashboard grid*/

.dashboard__columns--container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 190px 60px repeat(6, 100px) 60px;
    gap: 30px 40px;
    margin: 10px 50px;
}

.post__list,
.dashboard__columns--top {
    grid-column: 1 / 3;
}

.dashboard__columns-webcreate {
    grid-column: 1 / 2;
    grid-row: 6 / 8;
}

.post__list--top a,
.dashboard__columns a {
    display: block;
    text-decoration: none;
    color: #59422a;
}

@media(max-width: 992px) {

    #dashboard {
        flex-basis: 100%;
        width: 100%;
        margin: 0;
        padding: 10px 0;
        border-radius: 0;
    }

    .dashboard__columns--container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 230px 50px repeat(5, 100px) 50px;
        gap: 15px;
        margin: 20px;
    }

    .post__list,
    .dashboard__columns--top {
        grid-column: 1 / 4;
    }

    .dashboard__columns-webcreate {
        grid-column: 1 / 3;
        grid-row: 5 / 7;
    }

    .dashboard__columns-rt-form,
    .dashboard__columns-slack {
        grid-column: 1 / 4;
    }

    .dashboard__columns--item:focus,
    .dashboard__columns--item:active {
        background: none !important;
        outline: none;
    }

    .dashboard__columns-slack--logo {
        justify-content: center;
    }

    .dashboard__columns-slack--logo img {
        margin: 0 auto;
        display: block;
    }

}

/* 新着投稿一覧 */

.post__list--top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #59422a;
    margin-bottom: 10px;
}

.post__list--top-ttl {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 5px 20px;
    background: #ede1d3;
    border-radius: 25px;
}

.post__list--top-ttl i {
    margin-right: 0.3rem;
}

.post__list--top-more {
    position: relative;
    font-size: 0.8rem;
    padding-right: 20px;
}

.post__list--top-more:hover {
    text-decoration: underline;
    opacity: 0.7;
}

.post__list--top-more::after {
    position: absolute;
    border-right: 1px solid #59422a;
    border-top: 1px solid #59422a;
    bottom: 0;
    content: "";
    height: 7px;
    width: 7px;
    margin: auto;
    right: 8px;
    top: 0;
    transform: rotate(45deg);
    transition: right .3s;
}

.post__list--top-more:hover::after {
    right: 3px;
    opacity: 0.7;
}

.post__list--table {
    overflow-y: scroll;
    height: 140px;
    background: #fff;
    border-radius: 15px 10px 10px 15px;
    box-shadow: 0 0 10px rgba(153, 136, 119, 0.3);
}

.post__list--table::-webkit-scrollbar {
    background: #eee;
    width: 5px;
    height: 5px;
    border-radius: 5px;
}

.post__list--table::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 5px;
}

.hover-row {
    cursor: pointer;
    border-bottom: 1px dashed #998877;
}

.hover-row:hover,
.hover-row:hover a {
    background: #DDD1C4;
    text-decoration: underline;
    transition: .3s;
    pointer-events: auto;
}

.hover-row th {
    font-weight: normal;
    padding: 15px 0 15px 25px;
}

.hover-row td {
    border: none;
    padding: 15px 0;
}

.hover-row a {
    display: block;
    width: 100%;
    background: #fff;
    padding: 0;
    color: #59422a;
    font-weight: bold;
    text-decoration: none;
    pointer-events: none;
}

.hover-row i {
    vertical-align: middle;
}

@media(max-width: 992px) {

    .post__list--table {
        height: 180px;
        padding: 5px;
    }

    .hover-row th {
        display: block;
        padding: 5px 0 5px 10px;
    }

    .hover-row td {
        display: block;
        padding: 0 0 5px 10px;
    }

    .hover-row a {
        font-weight: normal;
    }

    .hover-row i {
        font-size: 0.7rem;
    }

}

/* 各カラムボタン */

.dashboard__columns {
    position: relative;
    width: 100%;
    border-radius: 15px;
    background: linear-gradient(to right, #fff 50%, #cfbca7 50%);
    background-size: 200% auto;
    height: 100%;
    border: 2px solid #6D553D;
    box-shadow: 5px 5px 0 rgb(111, 75, 62, 0.4);
    transition: .3s;
}

.dashboard__columns::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: #7b5544;
    border-radius: 15px 0 0 15px;
}

.dashboard__columns:hover {
    box-shadow: unset;
    transform: translate(3px, 3px);
    background-position: -100% 0;
    border: none;
}

.dashboard__columns::after {
    position: absolute;
    border-right: 2px solid #6D553D;
    border-top: 2px solid #6D553D;
    bottom: 0;
    content: "";
    height: 8px;
    width: 8px;
    margin: auto;
    right: 30px;
    top: 0;
    transform: rotate(45deg);
    transition: right .3s;
}

.dashboard__columns:hover::after {
    right: 22px;
}

.dashboard__columns--item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.dashboard__columns-webcreate--item,
.dashboard__columns-udemy--item {
    flex-direction: column;
}

.dashboard__columns--ttl,
.dashboard__columns--top-item-ttl,
.dashboard__columns--rt-form-ttl {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    font-weight: bold;
    gap: 0.5rem;
}

.dashboard__columns--top-item-ttl {
    gap: 0;
}

.dashboard__columns--txt,
.dashboard__columns--top-item-txt {
    font-size: 0.8rem;
    font-weight: bold;
}

.dashboard__columns--icon {
    position: absolute;
    left: 12%;
    font-size: 1.7rem;
}

.dashboard__columns-webcreate--item {
    padding: 15px;
}

.dashboard__columns-webcreate--logo img {
    width: 80%;
}

.dashboard__columns-webcreate--img {
    background-image: url(/img/gollira.gif);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 180px;
}

.dashboard__columns-udemy--logo,
.dashboard__columns-slack--logo {
    height: 50%;
}

.dashboard__columns-udemy--logo img {
    height: 80%;
}

.dashboard__columns-slack--logo img {
    height: 100%;
}

.sp-dashboard__columns--ttl,
.sp-dashboard__columns--txt {
    display: none;
}

@media(max-width: 992px) {

    .dashboard__columns {
        position: static;
        border: 1px solid #6D553D;
    }

    .dashboard__columns::before {
        height: 0;
        width: 0;
        left: 0;
    }

    .dashboard__columns::after {
        border: none;
    }

    .dashboard__columns--icon {
        position: static;
        left: auto;
    }

    .dashboard__columns--item {
        flex-direction: column;
    }

    .dashboard__columns--ttl,
    .dashboard__columns--txt {
        display: none;
    }

    .sp-dashboard__columns--ttl,
    .sp-dashboard__columns--txt {
        display: block;
    }

    .sp-dashboard__columns--ttl {
        font-size: 0.8rem;
        font-weight: bold;
    }

    .dashboard__columns--top-item-txt,
    .sp-dashboard__columns--txt {
        font-size: 0.5rem;
        font-weight: bold;
    }

    .dashboard__columns-udemy--logo img {
        width: 65%;
        height: 100%;
    }

    .dashboard__columns--top,
    .dashboard__columns-rt-form,
    .dashboard__columns-slack {
        position: relative;
    }

    .dashboard__columns--top::after,
    .dashboard__columns-rt-form::after,
    .dashboard__columns-slack::after {
        position: absolute;
        font-family: 'bootstrap-icons';
        content: "\F141";
        font-size: 1rem;
        right: 5%;
        top: -40%;
    }

    .dashboard__columns-slack--logo {
        justify-content: center;
    }

    .dashboard__columns-slack--logo img {
        margin: 0 auto;
        display: block;
    }

}

.article__container,
.mailbox__container {
    flex-basis: 80%;
    margin: 0 0 0 20px;
    padding: 20px 0 40px 0;
    box-shadow: 0 0 40px rgba(153, 136, 119, 0.5);
    border-radius: 15px 0 0 0;
    background: #fff;
}

/* slack・Udemyページ共通 */

.article__heading {
    background: #4a154b;
    padding: 15px 20px;
    margin: 10px 0 20px 0;
}

.article__heading h1 {
    font-size: 1.7rem;
    color: #fff;
    margin: 0;
    font-weight: bold;
}

.article__content {
    width: 80%;
    margin: 20px auto;
}

.article__content--ttl {
    position: relative;
    padding: 10px 0;
    padding-left: 7%;
    font-size: 1.3rem;
    background: #f0f0f0;
    color: #4a154b;
    font-weight: bold;
}

.article__content--ttl::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    margin: auto;
    left: 5%;
    height: 25px;
    width: 5px;
    background: #4a154b;
}

.article__content--txt {
    font-weight: bold;
    padding: 20px 0 30px 0;
    font-size: 1rem;
}

.article__content--txt li {
    padding: 20px 0 10px 5px;
    font-size: 1rem;
    font-weight: bold;
}

.article__content--txt li:first-child {
    padding-top: 0;
}

.article__content--txt p:last-child {
    padding-bottom: 0;
}

/* .article__content--txt ol li:nth-child(5) {
    list-style-type: none;
} */

.article__content--txt strong {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(255, 250, 125, 0.86) 50%);
}

.article__content--txt-slack,
.article__content--txt-udemy-login {
    padding: 1.2rem !important;
    background-image: repeating-linear-gradient(-45deg, #f2f3f7 0, #f2f3f7 3px, transparent 3px, transparent 6px);
    margin-top: 20px;
}

.article__content--img img {
    width: 40%;
    height: 100%;
}

.article__content--sub-ttl {
    position: relative;
    font-size: 1.2rem;
    font-weight: bold;
    background-image: linear-gradient(90deg, #ca39cc 0 10%, #ccc 10%);
    background-repeat: no-repeat;
    background-size: 100% 5%;
    background-position: bottom;
    margin-top: 40px;
}

/* ページトップへ戻るボタン */
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
    line-height: 1;
    z-index: 100;
}

#page-top a {
    background: #a52a2a;
    text-decoration: none;
    color: #fff;
    width: 60px;
    padding: 12px 5px 15px 5px;
    text-align: center;
    display: block;
    border-radius: 90px;
    opacity: 0.9;
    transition: .3s;
}

#page-top a:hover {
    text-decoration: none;
    opacity: .5;
}

#page-top i {
    font-size: 1.2rem;
}

@media(max-width: 992px) {

    .article__container,
    .mailbox__container {
        flex-basis: 100%;
        width: 100%;
        margin: 0;
        border-radius: 0px;
        padding: 0;
    }

    .article__heading {
        padding: 15px 10px;
    }

    .article__heading h1 {
        font-size: 1.5rem;
    }

    .article__content {
        margin: 10px auto;
    }

    .article__content--ttl {
        padding-left: 10%;
        font-size: 1.2rem;
    }

    .article__content--img {
        text-align: center;
        margin: 10px 0;
    }

    .article__content--img img {
        width: 80%;
    }

    .article__content--sub-ttl {
        font-size: 1.1rem;
    }

    .article__content--txt {
        padding: 15px 0;
    }
}

/* Udemyページ */

.article__heading-udemy {
    background: #a435f0;
}

.article__heading-udemy h1 {
    color: #fff;
}

.article__content-udemy {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 5%;
}

.article__content--img-udemy {
    flex-basis: 20%;
    width: 100%;
}

.article__content--img-udemy img {
    width: 100%;
}

.article__content--txt-udemy-login {
    margin-bottom: 0.5rem;
}

.article__content p {
    text-indent: 1em;
    margin-bottom: 0;
}

/* Slackページ */

.article__heading-slack h1::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(/img/slack-new-logo.svg);
    margin: 0 0.5rem;
    vertical-align: text-top;
}

@media(max-width: 992px) {

    .article__content-udemy {
        margin: 1rem 2rem;
    }

    .article__content--img-udemy {
        display: none;
    }

    .article__content--txt-udemy-login {
        margin-bottom: 1.5rem;
    }

    .article__content p {
        text-indent: -1em;
        padding-left: 1em;
        font-size: 0.8rem;
    }
}

/* 受信BOX(Udemy認証確認用) */

.mailbox__container {
    background: #F9F7F5;
    padding: 30px;
}

.mailbox__container h1 {
    color: #212529;
    padding-left: 10px;
    font-size: 1.3rem;
}

.mailbox__wrapper {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(153, 136, 119, 0.2);
    margin-top: 20px;
}

.mailbox a {
    display: block;
    width: 100%;
    color: #212529;
    background: #fff;
    padding: 0;
    font-size: 1rem;
    text-decoration: none;
}

.mailbox i {
    margin-right: 10px;
}

.mailbox tr:hover,
.mailbox tr:hover a {
    background: #f1f0f5;
    transition: .3s;
}

.mailbox thead th:first-child,
.mailbox tbody td:first-child {
    padding-left: 5px;
}

.mailbox tbody td {
    padding: 5px 0 5px 0;
}

.mailbox tbody td:last-child {
    text-align: start;
}

.read {
    background-color: #f1f0f5;
}

.read a {
    background-color: #f1f0f5;
    font-weight: normal;
}

.mailbox__back--btn {
    margin-top: 3rem;
}

@media(max-width: 992px) {

    .mailbox__container {
        padding: 20px;
    }

    .mailbox__container h1 {
        margin-top: 0.5rem;
    }

    .mailbox thead {
        display: none;
    }

    .mailbox tbody tr {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
        word-wrap: break-word;
        border-top: 1px solid #ddd;
        padding: 10px;
    }

    .mailbox td {
        border: none;
        width: 100%;
        padding: 5px 0;
        word-break: break-word;
    }

    .mailbox a {
        font-size: 0.95rem;
        white-space: normal;
        word-break: break-word;
    }
}
