.swiper {
    width: 100%;
    height: calc(100% - 92px);
    background-color: #000;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.swiper-slide .description {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    position: absolute;
    bottom: 1.5rem;
    right: 0;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem 0 0 1.5rem;
    max-width: 70%;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .swiper {
        height: 480px;
    }

    .swiper-slide {
        background-size: contain;
    }
}

/*@media (min-width: 992px) {
    .swiper {
        height: 640px;
    }
}*/

/* main.view */
main.view {
    padding: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

main.view h1 {
    margin-top: 1rem;
    font-family: var(--font-title);
    font-weight: 700;
}

@media (min-width: 576px) {
    main.view {
        padding: 1.5rem 0;
    }
}

/*  heading-image */
figure.heading-image {
    text-align: center;
}

figure.heading-image img {
    max-width: 100%;
}

figure.video {
    max-width: 100%;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

figure.video,
figure.audio {
    text-align: center;
    font-family: var(--font-gothic);
    font-size: 0.8rem;
    font-weight: 300;
    margin-top: 1.5rem;
}

/* article */
main.view article h2, .toastui-editor-contents h2 {
    font-weight: 300;
}

.toastui-editor-contents h2 {
    font-size: 2rem;
    border-bottom: none;
}

main.view article h3, .toastui-editor-contents h3 {
    margin: 2rem 0;
    font-weight: 900;
}

main.view article h4, .toastui-editor-contents h4 {
    margin: 2rem 0;
    font-weight: 700;
    color: var(--bs-orange);
}
.toastui-editor-contents h4 {
    font-size: 1.5rem;
}

main.view article, .toastui-editor-contents {
    padding: 1rem 0;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 2 !important;
    word-break: keep-all;
}

.toastui-editor-contents p {
    margin-bottom: 1rem;
}

main.view article hr,
.toastui-editor-contents hr {
    width: 30px;
    margin: 2rem auto;
    background-color: var(--red-dark);
    color: var(--red-dark);
    opacity: 1;
}

article img {
    max-width: 100%;
}

article time {
    display: block;
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    color: var(--bs-orange);
    margin-top: 1.5rem;
}

article blockquote {
    border-left: 4px solid var(--bs-gray-400);
    color: var(--bs-teal);
    font-style: italic;
    margin: 14px 0;
    padding: 0 16px;
}

footer.bbs {
    position: static;
    margin-top: 2rem;
    padding-bottom: 5rem;
}

/*  nav.prev-next */
nav.prev-next {
    margin: 0;
    margin-top: 3rem;
    border-top: solid 2px var(--bs-gray-900);
}

nav.prev-next ul {
    list-style: none;
    position: relative;
    margin: 0;
    padding: 0.5rem 0;
    font-size: 1rem;
}

nav.prev-next li {
    display: flex;
    align-items: center;
    padding: .25rem 0 0 0;
    line-height: 1;
    word-break: break-all;
}

nav.prev-next li label {
    color: var(--red-dark);
}

nav.prev-next li:first-child {
    margin-right: 2.5rem;
}

nav.prev-next li:last-child {
    margin-left: 2.5rem;
    justify-content: flex-end;
}

nav.prev-next li:last-child label {
    order: 1;
}

nav.prev-next li a {
    color: var(--bs-black);
    font-family: var(--font-serif);
    font-weight: 600;
}

nav.prev-next li a:hover {
    transition: color .3s ease-out;
    color: var(--red-dark)
}

@media (min-width: 768px) {
    nav.prev-next ul {
        display: flex;
        justify-content: space-between;
    }
}

/* comment */
ul.comment {
    list-style: none;
    margin: 2rem 0 0 0;
    padding: 0;
    border-top: solid 1px var(--bs-gray-900);
}

ul.comment > li {
    padding: 1.5rem;
}

ul.comment > li:nth-child(odd) {
    background-color: var(--bs-gray-100);
}

ul.comment li {
    position: relative;
}

ul.comment ul.cmt-reply li::before {
    position: absolute;
    content: '';
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23fd7e14" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.5 1.5A.5.5 0 0 0 1 2v4.8a2.5 2.5 0 0 0 2.5 2.5h9.793l-3.347 3.346a.5.5 0 0 0 .708.708l4.2-4.2a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 8.3H3.5A1.5 1.5 0 0 1 2 6.8V2a.5.5 0 0 0-.5-.5"/></svg>');
    display: block;
    width: 16px;
    height: 16px;
    left: -24px;
    top: 5px;
}

ul.comment ul {
    margin-left: 1em;
}

ul.comment ul.cmt-reply {
    list-style: none;
}

ul.comment ul.cmt-reply li {
    margin-top: 1rem;
}

.comment-info {
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding-left: .1rem;
    padding-top: 1px;
    border-top: dashed 1px var(--bs-gray-400);
    line-height: 1;
}

.comment-info .name {
    font-weight: 600;
    white-space: nowrap;
}

.comment-info .date {
    font-family: var(--bs-font-monospace);
    color: var(--bs-gray-500);
    white-space: nowrap;
}

.comment-buttons {
    margin-left: .5rem;
}

.comment-buttons .btn {
    padding: 0 .25rem;
    font-size: 0.75rem;
    border: none;
}

.comment-buttons a:visited, .comment-buttons a:link {
    color: var(--bs-gray-900);
}
.comment-buttons a:hover {
    color: #fff;
}

h4.head {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 900;
    font-style: italic;
}
h4.head a.btn {
    color: #fff;
    vertical-align: 4px;
    padding: 0 0.25rem;
}
h4.head span {
    font-style: normal;
    font-family: var(--font-gothic);
    font-weight: 300;
    font-size: 0.8em;
}

.comment-form {
}
.comment-form textarea {
    border: solid 1px var(--bs-gray-300);
    width: 100%;
    display: block;
    padding: 1rem;
}
.comment-form textarea:active, .comment-form textarea:focus {
    outline: none;
}
.comment-form .bottom {
    border-style: solid;
    border-color: var(--bs-gray-300);
    border-width: 0 1px 1px 1px;
    background-color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comment-form .bottom input {
    padding: 0;
    border: none
}
.comment-form .bottom input:active, .comment-form .bottom input:focus {
    outline: none;
}

.comment-content {
    font-family: var(--font-serif);
    line-height: 1.75;
}

ul.index {
    margin-top: 3rem;
}

/* files */
ul.files {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

ul.files li {
    border: solid 1px var(--bs-gray-200);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin: 1px;
    border-radius: 0.5rem;
    background-color: var(--bs-gray-100);
    flex-wrap:wrap;
}

ul.files img {
    height: 30px;
    border-radius: 0.25rem;
    margin-right: .5rem;
}

ul.files .file-name {
    font-weight: 600;
    color: #000;
}

ul.files .file-description {
    color: var(--bs-gray-500);
    margin: .25rem 0;
}

ul.files li:hover {
    border-color: #000;
    background-color: transparent;
}

ul.files .file-size, 
ul.files .file-download {
    margin: 0 0.25rem;
    font-family: var(--bs-font-monospace);
}

ul.files .file-size {
    color: var(--bs-green);
}

ul.files .file-download {
    color: var(--bs-gray-800);
}

@media (min-width: 576px) {
    ul.files li {
        flex: 1 0 45%;
    }
}

main.view ul.list {
    margin-top: 4rem;
}