:root {
    --color_main: #2753a4;
    --color_main2: #70c2ed;
    --color_main3: #a7deee;
}
* {
    flex-shrink: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
}

div.tab {
    position: relative;
    width: 100%;
    margin: 0 0;
    display: flex;
    flex-direction: row;
    overflow: scroll;
}

div.tab.photo-slide {
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

div.tab div.main {
    width: 860px;
    height: auto;
}

div.tab div.btns {
    width: 100px;
    height: 100vh;
    overflow: hidden;
    background-color: #fff;
}

textarea {
    width: 100%;
    border: 0px;
    height: auto;
    font-size: 16px;
}
textarea:focus {
    outline: none;
}
div.btn {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    color: var(--color_main);
    background-color: #fff;
    border: 2px solid var(--color_main);
    font-weight: bold;
    text-align: center;
}

input[type="file"] {
    display: none;
}

.file__label {
    display: block;
    font-size: 16px;
    border-radius: 40px;
    line-height: 1.5;
    text-align: center;
    width: min(100%, 800px);
    padding: 10px;
    margin-inline: auto;
    color: var(--color_main);
    background-color: #fff;
    border: 2px solid var(--color_main);
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.file__label:hover {
    opacity: 0.7;
}

input[type="file"] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;

    color: #fff;
    text-align: center;
}
div.message {
    color: var(--color_main);
    width: 100%;
    margin-top: 10px;
    text-align: center;
}

div.mob {
    margin-bottom: 80px;
}
div.new-btn-box-wrap {
    position: fixed;
    bottom: 70px;
    width: 100%;
    z-index: 2;
}
div.new-btn-box {
    margin: 0 auto;
    padding: 20px 20px;
    width: 300px;
}
div.delete-box {
    position: fixed;
    bottom: 50px;
    width: 100%;
    left: 0;
    padding: 20px;
}
div.delete-box.disabled {
    opacity: 0.6;
}
div.deleteIcon {
    position: absolute;
    top: 5px;
    right: 5px;
}
div.photo-list {
    width: 100%;
}
div.photo-list div.photo-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}
div.photo-list div.photo-wrap div.photo-item {
    width: calc(33.3vw - 1px);
    height: calc(33.3vw - 1px);
    overflow: hidden;
    position: relative;
    margin-left: 1px;
    margin-bottom: 1px;
    box-sizing: border-box;
}
div.photo-list.tab div.photo-wrap div.photo-item {
    width: 170px;
    height: 170px;
    box-sizing: border-box;
}
div.photo-list div.photo-wrap div.photo-item.delete img {
    opacity: 0.6;
}
div.photo-list div.photo-wrap div.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
div.photo-detail div.photo div.image,
div.photo-item.slide {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    background-color: #000;
}
div.photo-detail div.photo div.image img,
div.photo-item.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

div.photo-detail {
    width: 100%;
    display: flex;
    flex-direction: column;
}

div.tab div.photo-detail {
    width: 100%;
    /** height: 590px; **/
    overflow: scroll;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

div.photo-detail-wrap div.main {
    position: relative;
    flex-direction: column;
    width: calc(100vw - 100px);
    height: 100vh;
    overflow: hidden;
}
div.photo-detail-wrap.tab div.photo {
    position: relative;
    width: 100%;
}

div.photo-detail div.comment {
    margin-top: 20px;
    background-color: #fff;
    color: var(--color_main);
    width: 100%;
    padding: 6px;
    font-size: 1.8em;
    padding: 10px;
    border: 2px solid var(--color_main);
    border-radius: 5px;
}

div.photo-detail-wrap div.main div.left_btn,
div.photo-detail-wrap div.main div.right_btn {
    position: absolute;
    z-index: 2;
    top: calc(50vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 3em;

    opacity: 0.6;
}
div.photo-detail-wrap div.main i {
}
div.photo-detail-wrap div.main div.left_btn {
    left: 10px;
}
div.photo-detail-wrap div.main div.right_btn {
    right: 10px;
}

div.footer {
    position: fixed;
    width: 100%;
    background-color: #fff;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
}

div.mob div.footer {
    height: 58px;
}

div.footer div.footer-item {
    display: flex;
    flex-direction: column;
    margin: 0 5px;
    width: 80px;
    align-items: center;
    padding: 5px 0;
    justify-content: space-between;
    color: var(--color_main);
}
div.footer div.footer-item div.icon {
    color: var(--color_main);
    font-size: 1.6em;
}
div.footer div.footer-item div.label {
    font-size: 0.8em;
    margin-top: -5px;
}

div.btns-item {
    height: 60px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;

    background-color: var(--color_main);
}
div.btns-item div.label {
    font-size: 28px;
    color: #fff;
    letter-spacing: 4px;
    line-height: 42px;
    text-align: center;
}
div.btns div.comment-tategaki {
    display: flex;
    width: 110px;
    height: calc(100vh - 60px);

    justify-content: center;
}
div.btns div.comment-tategaki div.tate-inner {
    width: 1em;
    margin-top: 0.8em;
    font-size: 26px;
    font-weight: bold;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    letter-spacing: 0.2rem;
}

div.comment-tategaki.white {
    position: absolute;
    top: 60px;
    right: 0px;
    display: flex;
    width: 80px;
    align-items: center;
    justify-content: center;
}
div.comment-tategaki.white div.back {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 600px;
    background-color: #000;
    opacity: 0.5;
}

div.comment-tategaki.white div.tate-inner {
    width: 1em;
    margin-top: 0.8em;
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    z-index: 20;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;

    letter-spacing: 0.2rem;
}

div.tab.photo-slide div.slide-show-item {
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
}
div.tab.photo-slide div.slide-show-item.hide {
    animation: fade-out 0.6s ease-out 0s forwards;
}
div.tab.photo-slide div.slide-show-item.show {
    animation: fade-in 0.6s ease-out 0s forwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

div.hiddentext {
    z-index: -1;
    color: #fff;
    position: absolute;
}

div.error_message {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
    color: #f00;
    text-align: center;
    margin-bottom: 10px;
    font-size: 0.7em;
}

div.error_link {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--color_main);
    border-radius: 5px;
    background-color: #fff;
    color: var(--color_main);
    text-align: center;
    margin-bottom: 10px;
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 20px;
}

div.read {
    position: fixed;

    top: 10px;
    color: #ff0000;
    width: 58px;
    height: 58px;
    border-radius: 29px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9em;
}
.green {
    color: #03b800;
}
.white {
    color: #ffffff;
}
.font-size-14 {
    font-size: 26px;
}

div.read.detaile {
    right: 125px;
}

div.read.detaile-mob {
    right: 10px;
}

div.read.slide {
    right: 10px;
    top: 10px;
}

div.read.list {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    font-size: 1.5em;
}

div.read.mobile-list {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    font-size: 0.8em;
}

div.text-row-multi {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

div.text-row-multi div.tate-inner {
    margin: 0 5px;
}

.red {
    color: #f00 !important;
}

.boreder-top {
    border-top: 1px solid #fff;
}
